微调
This commit is contained in:
@@ -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}`
|
//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, {
|
Object.assign(formContent, {
|
||||||
...resFormContent,
|
...resFormContent,
|
||||||
dataRule: dataRuleName,
|
|
||||||
chnNum: chnList.length > 0 ? chnList[0].value : '',
|
chnNum: chnList.length > 0 ? chnList[0].value : '',
|
||||||
})
|
})
|
||||||
originErrorSysId = formContent.errorSysId
|
originErrorSysId = formContent.errorSysId
|
||||||
|
|||||||
@@ -23,8 +23,8 @@
|
|||||||
inline-prompt
|
inline-prompt
|
||||||
:active-value="1"
|
:active-value="1"
|
||||||
:inactive-value="0"
|
:inactive-value="0"
|
||||||
active-text="启用"
|
active-text="禁用"
|
||||||
inactive-text="禁用"
|
inactive-text="启用"
|
||||||
@change="enableScript"
|
@change="enableScript"
|
||||||
size="large"
|
size="large"
|
||||||
width="80px"
|
width="80px"
|
||||||
|
|||||||
Reference in New Issue
Block a user