This commit is contained in:
sjl
2024-12-26 09:28:19 +08:00
parent 2e17531c52
commit 6ce58e86ad
12 changed files with 414 additions and 48 deletions

View File

@@ -11,6 +11,7 @@
:key="tableKey"
@selection-change='handleSelectionChange'
:request-api='getTableList'
:toolButton = 'false'
>
<!-- :height="tableHeight" -->
<!-- 表格 header 按钮 -->
@@ -566,9 +567,17 @@ const handleSelectionChange = (selection: any[]) => {
chnNum: item.devChns,
}
});
checkStore.clearDevices()
checkStore.addDevices(devices)
checkStore.setPlanId(selection[0].planId)
if(selection.length > 0){
checkStore.clearDevices()
checkStore.addDevices(devices)
checkStore.setPlanId(selection[0].planId)
}else{
checkStore.clearDevices()
checkStore.setPlanId('')
}
}
//查询