feat: 新增参数配置Tree/调整参数配置Form
This commit is contained in:
@@ -57,6 +57,7 @@ async function getParamConfigInfo(
|
||||
params: {
|
||||
SQL: `SELECT param_json FROM param_config WHERE ne_type = '${neType}' AND top_tag='${topTag}'`,
|
||||
},
|
||||
timeout: 1_000,
|
||||
}),
|
||||
// 获取对应信息
|
||||
request({
|
||||
@@ -65,6 +66,7 @@ async function getParamConfigInfo(
|
||||
params: {
|
||||
ne_id: neId,
|
||||
},
|
||||
timeout: 1_000,
|
||||
}),
|
||||
]).then(resArr => {
|
||||
let wrRule: Record<string, any> = {};
|
||||
@@ -333,7 +335,7 @@ export async function getParamConfigInfoForm(
|
||||
result.data.data = dataArray;
|
||||
|
||||
// 无数据时,用于新增
|
||||
result.data.dataRule = { title: `Index-0`, key: 0, record : [ruleArr]} ;
|
||||
result.data.dataRule = { title: `Index-0`, key: 0, record : ruleArr} ;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user