143b1c46 by zhangmeng

看板

1 parent 35b0694e
...@@ -154,4 +154,3 @@ if (process.env.NODE_ENV !== 'development') { ...@@ -154,4 +154,3 @@ if (process.env.NODE_ENV !== 'development') {
154 } 154 }
155 155
156 156
157 console.log(1234)
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -23,14 +23,16 @@ import {getYS000} from '@/api/server.js' ...@@ -23,14 +23,16 @@ import {getYS000} from '@/api/server.js'
23 import {ref, onMounted} from 'vue' 23 import {ref, onMounted} from 'vue'
24 24
25 const type = ref('否') 25 const type = ref('否')
26 26 const url = ref()
27 // url.value = window.location.href
28 const url = ref('http://192.168.1.152:8899/login/sid=5342b777-d86a-4967-a18b-7329a3fca56b#/')
29
30 const result = ref() 27 const result = ref()
28
29 // const url = ref('http://192.168.1.152:8899/login/sid=5342b777-d86a-4967-a18b-7329a3fca56b#/')
30 // const url = ref('http://192.168.1.152:8899/login/sid5342b777-d86a-4967-a18b-7329a3fca56b/')
31 url.value = window.location.href
31 result.value = url.value?.split('=')[1]?.split('#')[0]; 32 result.value = url.value?.split('=')[1]?.split('#')[0];
32 33
33 onMounted(() => { 34 onMounted(() => {
35 console.log(url.value)
34 console.log(result.value) 36 console.log(result.value)
35 if (result.value) handelGetYS000() 37 if (result.value) handelGetYS000()
36 }) 38 })
...@@ -39,8 +41,6 @@ onMounted(() => { ...@@ -39,8 +41,6 @@ onMounted(() => {
39 async function handelGetYS000() { 41 async function handelGetYS000() {
40 const res = await getYS000(result.value) 42 const res = await getYS000(result.value)
41 type.value = res.data?.IFBASE || '否' 43 type.value = res.data?.IFBASE || '否'
42
43
44 } 44 }
45 45
46 46
......
...@@ -94,7 +94,7 @@ import {autoToolTip} from "@/plugins/auto-toolTip"; ...@@ -94,7 +94,7 @@ import {autoToolTip} from "@/plugins/auto-toolTip";
94 import ScrollingData from './scrollingData.vue' 94 import ScrollingData from './scrollingData.vue'
95 import * as echarts from "echarts"; 95 import * as echarts from "echarts";
96 import * as api from "@/apiPc/common" 96 import * as api from "@/apiPc/common"
97 import {onMounted, ref, computed, onUnmounted} from 'vue' 97 import {onMounted, ref, computed, onUnmounted, watch} from 'vue'
98 import {dayjs} from 'element-plus' 98 import {dayjs} from 'element-plus'
99 import {getYS001, getYS002, getYS003, getYS004, getYS005} from '@/api/server.js' 99 import {getYS001, getYS002, getYS003, getYS004, getYS005} from '@/api/server.js'
100 100
...@@ -1148,7 +1148,6 @@ const handelZhu4 = (listX, dataList) => { ...@@ -1148,7 +1148,6 @@ const handelZhu4 = (listX, dataList) => {
1148 }, 1148 },
1149 // 过滤数据 1149 // 过滤数据
1150 formatter: (row) => { 1150 formatter: (row) => {
1151 console.log(row[0].data)
1152 return ` 1151 return `
1153 <div style="color: #fff;font-size: 12px;">${row[0].data.name}</div> 1152 <div style="color: #fff;font-size: 12px;">${row[0].data.name}</div>
1154 <div style="color: #fff;font-size: 12px;"> 1153 <div style="color: #fff;font-size: 12px;">
...@@ -1281,9 +1280,7 @@ const clear = () => { ...@@ -1281,9 +1280,7 @@ const clear = () => {
1281 } 1280 }
1282 1281
1283 onUnmounted(() => { 1282 onUnmounted(() => {
1284 if (intervalA) {
1285 clearInterval(intervalA); 1283 clearInterval(intervalA);
1286 }
1287 }) 1284 })
1288 </script> 1285 </script>
1289 1286
......
...@@ -788,9 +788,7 @@ function handleResize() { ...@@ -788,9 +788,7 @@ function handleResize() {
788 } 788 }
789 789
790 onUnmounted(() => { 790 onUnmounted(() => {
791 if (intervalA) {
792 clearInterval(intervalA); 791 clearInterval(intervalA);
793 }
794 }) 792 })
795 793
796 </script> 794 </script>
......
...@@ -983,9 +983,7 @@ function handleResize() { ...@@ -983,9 +983,7 @@ function handleResize() {
983 } 983 }
984 984
985 onUnmounted(() => { 985 onUnmounted(() => {
986 if (intervalA) {
987 clearInterval(intervalA); 986 clearInterval(intervalA);
988 }
989 }) 987 })
990 </script> 988 </script>
991 989
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!