调整优先级

This commit is contained in:
caozehui
2025-01-10 10:47:08 +08:00
parent ead1feb379
commit 5ebb8549bf
3 changed files with 10 additions and 9 deletions

View File

@@ -205,8 +205,8 @@ watch(() => formContent.chnNum, async (newVal, oldVal) => {
scriptType: scriptType,
code: parseInt(checkStore.planCode)
})
updateTreeFly(resTreeDataTemp, 4)
updateTreeFly(resTreeDataTemp, 2)
updateTreeFly(resTreeDataTemp, 4)
Object.assign(treeDataAll, resTreeDataTemp)
@@ -368,7 +368,8 @@ const open = async (_deviceId: string, chnNum: string, _scriptType: string | nul
chnList = resFormContent.chnList.map((item: { value: string, label: string }) => ({
value: item.value,
label: item.label == '1' ? `${item.value}` : `${item.value}(不符合)`
label: item.value
// label: item.label == '1' ? `${item.value}` : `${item.value}(不符合)`
}))
let dataRuleName = dictStore.getDictData('Data_Rule').find(item => item.id == resFormContent.dataRule)?.name