This commit is contained in:
caozehui
2025-05-27 09:07:59 +08:00
parent 6ef2a6049b
commit c1f53cdc69
2 changed files with 2 additions and 5 deletions

View File

@@ -426,11 +426,8 @@ const open = async (_deviceId: string, chnNum: string, _scriptType: string | nul
//label: item.label == '1' ? `${item.value}` : item.label == '2' ? `${item.value}(不符合)` : `${item.value}`
}))
let dataRuleName = dictStore.getDictData('Data_Rule').find(item => item.id == resFormContent.dataRule)?.name
Object.assign(formContent, {
...resFormContent,
dataRule: dataRuleName,
chnNum: chnList.length > 0 ? chnList[0].value : '',
})
originErrorSysId = formContent.errorSysId

View File

@@ -23,8 +23,8 @@
inline-prompt
:active-value="1"
:inactive-value="0"
active-text=""
inactive-text=""
active-text=""
inactive-text=""
@change="enableScript"
size="large"
width="80px"