修改bug

This commit is contained in:
zhujiyan
2024-10-30 15:02:25 +08:00
parent 038b5275ea
commit 45942b3205
15 changed files with 57 additions and 483 deletions

View File

@@ -80,7 +80,7 @@ import { queryByCode, queryByid, queryCsDictTree } from '@/api/system-boot/dictT
import { getDeviceData } from '@/api/cs-device-boot/EquipmentDelivery'
import { getTargetById } from '@/api/cs-device-boot/csDataArray'
import { getGroup } from '@/api/cs-device-boot/csGroup'
import { ref, reactive } from 'vue'
import { ref } from 'vue'
import { ElMessage } from 'element-plus'
import { defaultAttribute } from '@/components/table/defaultAttribute'
const pageHeight = mainHeight(20)
@@ -107,8 +107,6 @@ const nodeClick = (e: anyObj) => {
loading.value = false
return
}
console.log(deviceType.value,"++++++++++11111");
// console.log(e.level,e.id);
if (e.level == 2) {
loading.value = true
getDeviceData(e.id, 'rt','').then((res: any) => {

View File

@@ -81,7 +81,6 @@ const submit = () => {
})
}
const deleteGroup = (node: any) => {
console.log(node)
if (node.data.children && node.data.children.length > 0) {
ElMessage.error('该分组下有指标,不能删除')
return