修改bug
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user