style: 已处理-UPF参数不统一

This commit is contained in:
TsMask
2023-10-19 17:41:28 +08:00
parent 154cd976c0
commit bb8bde9977
2 changed files with 72 additions and 72 deletions

View File

@@ -207,11 +207,11 @@ function listEditOk() {
[from['name']]: from['value'],
};
// UPF参数不统一
if (neTypeSelect.value[0] === 'UPF') {
data = {
[parseFirstUpper(from['name'])]: from['value'],
};
}
// if (neTypeSelect.value[0] === 'UPF') {
// data = {
// [parseFirstUpper(from['name'])]: from['value'],
// };
// }
updateParamConfigInfo(
'list',
@@ -291,11 +291,11 @@ function arrayEditOk() {
return;
}
// UPF参数不统一
if (neType === 'UPF') {
data[parseFirstUpper(key)] = from[key]['value'];
} else {
data[key] = from[key]['value'];
}
// if (neType === 'UPF') {
// data[parseFirstUpper(key)] = from[key]['value'];
// } else {
// data[key] = from[key]['value'];
// }
data[key] = from[key]['value'];
}
@@ -487,12 +487,12 @@ function arrayAddOk() {
return;
}
// UPF参数不统一
if (neType === 'UPF') {
data[parseFirstUpper(key)] = from[key]['value'];
} else {
data[key] = from[key]['value'];
}
// data[key] = from[key]['value'];
// if (neType === 'UPF') {
// data[parseFirstUpper(key)] = from[key]['value'];
// } else {
// data[key] = from[key]['value'];
// }
data[key] = from[key]['value'];
}
// 发送
@@ -593,12 +593,12 @@ function arrayChildExpand(key: Record<string, any>, row: Record<string, any>) {
// 设置展开key
tableState.arrayChildExpandKeys = [key];
// UPF参数不统一
if (neTypeSelect.value[0] === 'UPF') {
tableState.arrayChildLoc = `${loc}/${parseFirstUpper(from['name'])}`;
} else {
tableState.arrayChildLoc = `${loc}/${from['name']}`;
}
// tableState.arrayChildLoc = `${loc}/${from['name']}`;
// if (neTypeSelect.value[0] === 'UPF') {
// tableState.arrayChildLoc = `${loc}/${parseFirstUpper(from['name'])}`;
// } else {
// tableState.arrayChildLoc = `${loc}/${from['name']}`;
// }
tableState.arrayChildLoc = `${loc}/${from['name']}`;
tableState.arrayChildNewIndex = -1;
// 设置展开列表标题
tableState.arrayChildTitle = `${from['display']}`;
@@ -643,12 +643,12 @@ function arrayChildEditOk() {
return;
}
// UPF参数不统一
if (neType === 'UPF') {
data[parseFirstUpper(key)] = from[key]['value'];
} else {
data[key] = from[key]['value'];
}
// data[key] = from[key]['value'];
// if (neType === 'UPF') {
// data[parseFirstUpper(key)] = from[key]['value'];
// } else {
// data[key] = from[key]['value'];
// }
data[key] = from[key]['value'];
}
// 发送
@@ -832,12 +832,12 @@ function arrayChildAddOk() {
return;
}
// UPF参数不统一
if (neType === 'UPF') {
data[parseFirstUpper(key)] = from[key]['value'];
} else {
data[key] = from[key]['value'];
}
// data[key] = from[key]['value'];
// if (neType === 'UPF') {
// data[parseFirstUpper(key)] = from[key]['value'];
// } else {
// data[key] = from[key]['value'];
// }
data[key] = from[key]['value'];
}
// 发送