143b1c46 by zhangmeng

看板

1 parent 35b0694e
......@@ -154,4 +154,3 @@ if (process.env.NODE_ENV !== 'development') {
}
console.log(1234)
\ No newline at end of file
......
......@@ -23,14 +23,16 @@ import {getYS000} from '@/api/server.js'
import {ref, onMounted} from 'vue'
const type = ref('否')
// url.value = window.location.href
const url = ref('http://192.168.1.152:8899/login/sid=5342b777-d86a-4967-a18b-7329a3fca56b#/')
const url = ref()
const result = ref()
// const url = ref('http://192.168.1.152:8899/login/sid=5342b777-d86a-4967-a18b-7329a3fca56b#/')
// const url = ref('http://192.168.1.152:8899/login/sid5342b777-d86a-4967-a18b-7329a3fca56b/')
url.value = window.location.href
result.value = url.value?.split('=')[1]?.split('#')[0];
onMounted(() => {
console.log(url.value)
console.log(result.value)
if (result.value) handelGetYS000()
})
......@@ -39,8 +41,6 @@ onMounted(() => {
async function handelGetYS000() {
const res = await getYS000(result.value)
type.value = res.data?.IFBASE || '否'
}
......
......@@ -94,7 +94,7 @@ import {autoToolTip} from "@/plugins/auto-toolTip";
import ScrollingData from './scrollingData.vue'
import * as echarts from "echarts";
import * as api from "@/apiPc/common"
import {onMounted, ref, computed, onUnmounted} from 'vue'
import {onMounted, ref, computed, onUnmounted, watch} from 'vue'
import {dayjs} from 'element-plus'
import {getYS001, getYS002, getYS003, getYS004, getYS005} from '@/api/server.js'
......@@ -1148,7 +1148,6 @@ const handelZhu4 = (listX, dataList) => {
},
// 过滤数据
formatter: (row) => {
console.log(row[0].data)
return `
<div style="color: #fff;font-size: 12px;">${row[0].data.name}</div>
<div style="color: #fff;font-size: 12px;">
......@@ -1281,9 +1280,7 @@ const clear = () => {
}
onUnmounted(() => {
if (intervalA) {
clearInterval(intervalA);
}
clearInterval(intervalA);
})
</script>
......
......@@ -788,9 +788,7 @@ function handleResize() {
}
onUnmounted(() => {
if (intervalA) {
clearInterval(intervalA);
}
clearInterval(intervalA);
})
</script>
......
......@@ -983,9 +983,7 @@ function handleResize() {
}
onUnmounted(() => {
if (intervalA) {
clearInterval(intervalA);
}
clearInterval(intervalA);
})
</script>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!