|
|
@@ -902,6 +902,7 @@ export default {
|
|
|
try {
|
|
|
// 先检查状态
|
|
|
await this.getIsFinish()
|
|
|
+
|
|
|
// 更新主表
|
|
|
const updateParamsRecord = {
|
|
|
tableName: 't_fxpgjlb2',
|
|
|
@@ -914,6 +915,14 @@ export default {
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
+ updateParamsRecord.updList.forEach((item) => {
|
|
|
+ Object.keys(item.param).forEach((key) => {
|
|
|
+ if (key.endsWith('_label_value')) {
|
|
|
+ delete item.param[key]
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+ console.log('updateParamsRecord', updateParamsRecord)
|
|
|
await this.$common.request('update', updateParamsRecord)
|
|
|
|
|
|
// 当前人员数组
|
|
|
@@ -967,7 +976,9 @@ export default {
|
|
|
await this.goEdit(flag)
|
|
|
} else {
|
|
|
this.$confirm(
|
|
|
- `风险类型${this.onlyoneWay ? '' : '和风险系数计算公式'}保存后不可再修改,是否继续?`,
|
|
|
+ `风险类型${
|
|
|
+ this.onlyoneWay ? '' : '和风险系数计算公式'
|
|
|
+ }保存后不可再修改,是否继续?`,
|
|
|
'提示',
|
|
|
{
|
|
|
confirmButtonText: '继续',
|
|
|
@@ -1058,6 +1069,7 @@ export default {
|
|
|
this.isEdit = !!(this.params && this.params.id_)
|
|
|
if (this.isEdit) {
|
|
|
this.infoFxssbData = this.params
|
|
|
+ console.log('infoFxssbData', this.infoFxssbData)
|
|
|
this.preParams = JSON.parse(JSON.stringify(this.params))
|
|
|
this.isPingGuRen =
|
|
|
this.params.ping_gu_ren_yuan_.indexOf(this.userId) >= 0
|