diff --git a/src/components/tree/govern/pointTree.vue b/src/components/tree/govern/pointTree.vue index 1f86e27..74e1fc7 100644 --- a/src/components/tree/govern/pointTree.vue +++ b/src/components/tree/govern/pointTree.vue @@ -1,5 +1,5 @@ - + diff --git a/src/views/govern/device/control/index.vue b/src/views/govern/device/control/index.vue index 1134248..0c84e6c 100644 --- a/src/views/govern/device/control/index.vue +++ b/src/views/govern/device/control/index.vue @@ -5,40 +5,20 @@ v-loading="loading" style="position: relative" > - +
@@ -100,7 +80,16 @@ 查询 -
+
{ loading.value = false } } +//治理设备和便携式设备切换判断 +const deviceType = ref('0') +const pointTypeChange = (val: any, obj: any) => { + deviceType.value = val + nodeClick(obj) +} const realTimeRef: any = ref() const intRealTime = async (val: any) => { await getTabsDataByType(val).then(res => { diff --git a/src/views/govern/device/control/tabs/realtime.vue b/src/views/govern/device/control/tabs/realtime.vue index 96bdba6..a9b53fc 100644 --- a/src/views/govern/device/control/tabs/realtime.vue +++ b/src/views/govern/device/control/tabs/realtime.vue @@ -20,7 +20,7 @@
-
+
@@ -75,10 +75,10 @@
{{ - tableData.find(item => { + tableData.find((item: any) => { return item.anotherName == vv.showName && item.phase == vv.phase })?.statisticalData - ? tableData.find(item => { + ? tableData.find((item: any) => { return item.anotherName == vv.showName && item.phase == vv.phase })?.statisticalData : '/' @@ -317,7 +317,7 @@ const initRadioCharts = () => { } }, { - value:70, + value: 70, name: 'B相', itemStyle: { color: '#DAA521' @@ -448,7 +448,7 @@ const getTableData = (list: any) => { })?.statisticalData }) if (index < 4) { - columnsDataTop.value.push(item) + columnsDataTop.value.push(item) } if (index >= 4) { columnsDataBot.value.push(item) @@ -582,8 +582,8 @@ onMounted(() => { height: auto; display: flex; justify-content: space-between; - border: 1px solid #eee; - padding: 10px; + //border: 1px solid #eee; + // padding: 10px; .view_top_left, .view_top_right { width: 30%; @@ -650,7 +650,7 @@ onMounted(() => { .table_info { width: 100%; height: 120px; - border: 1px solid #eee; + // border: 1px solid #eee; border-bottom: 2px solid #eee; margin-bottom: 20px; display: flex;