原始数据导出按钮、返回左侧树形列表接口调整

This commit is contained in:
caozehui
2025-01-13 14:22:54 +08:00
parent 17fe29cb1b
commit 7556f0e5bc
3 changed files with 5 additions and 6 deletions

View File

@@ -202,7 +202,7 @@ watch(() => formContent.chnNum, async (newVal, oldVal) => {
scriptId: checkStore.scriptId,
devId: deviceId,
devNum: formContent.chnNum + '',
scriptType: scriptType,
scriptType,
code: parseInt(checkStore.planCode)
})
updateTreeFly(resTreeDataTemp, 2)
@@ -267,7 +267,7 @@ const defaultOperate = () => {
defaultExpandedKeys = [node.index]
treeRef.value?.setCurrentKey(node.index);
scriptType = node.scriptType
} else {
currentScriptTypeName.value = ''
currentDesc.value = ''
@@ -357,7 +357,6 @@ const updateTableData = async () => {
}
const open = async (_deviceId: string, chnNum: string, _scriptType: string | null) => {
// console.log(checkStore.scriptId, _deviceId, chnNum, _scriptType);
deviceId = _deviceId
scriptType = _scriptType