UPDATE: 优化
This commit is contained in:
@@ -336,6 +336,9 @@ const save = () => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!ptErrorTips && !ctErrorTips) {
|
||||||
|
sendParameter()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
@@ -352,7 +355,6 @@ const sendParameter = () => {
|
|||||||
}
|
}
|
||||||
// 打开弹窗,可能是新增,也可能是编辑
|
// 打开弹窗,可能是新增,也可能是编辑
|
||||||
const open = async (sign: string, data: Monitor.ResPqMon, device: Device.ResPqDev, table: any[], options: any) => {
|
const open = async (sign: string, data: Monitor.ResPqMon, device: Device.ResPqDev, table: any[], options: any) => {
|
||||||
|
|
||||||
selectOptions.value = options
|
selectOptions.value = options
|
||||||
titleType.value = sign
|
titleType.value = sign
|
||||||
dialogVisible.value = true
|
dialogVisible.value = true
|
||||||
@@ -397,7 +399,7 @@ const open = async (sign: string, data: Monitor.ResPqMon, device: Device.ResPqDe
|
|||||||
dialogFormRef.value?.resetFields()
|
dialogFormRef.value?.resetFields()
|
||||||
resetFormContent()
|
resetFormContent()
|
||||||
originalNum.value = null
|
originalNum.value = null
|
||||||
// 清空PT和CT的临时变量
|
// 清空PT和CT的临时变量
|
||||||
ptPrimary.value = ''
|
ptPrimary.value = ''
|
||||||
ptSecondary.value = ''
|
ptSecondary.value = ''
|
||||||
ctPrimary.value = ''
|
ctPrimary.value = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user