35b0694e by zhangmeng

看板

1 parent 81d2b140
...@@ -39,6 +39,8 @@ onMounted(() => { ...@@ -39,6 +39,8 @@ onMounted(() => {
39 async function handelGetYS000() { 39 async function handelGetYS000() {
40 const res = await getYS000(result.value) 40 const res = await getYS000(result.value)
41 type.value = res.data?.IFBASE || '否' 41 type.value = res.data?.IFBASE || '否'
42
43
42 } 44 }
43 45
44 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} from 'vue' 97 import {onMounted, ref, computed, onUnmounted} 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
...@@ -1279,6 +1279,12 @@ const clear = () => { ...@@ -1279,6 +1279,12 @@ const clear = () => {
1279 clearTimeout(autoToolTip); 1279 clearTimeout(autoToolTip);
1280 } 1280 }
1281 } 1281 }
1282
1283 onUnmounted(() => {
1284 if (intervalA) {
1285 clearInterval(intervalA);
1286 }
1287 })
1282 </script> 1288 </script>
1283 1289
1284 <style lang="scss" scoped> 1290 <style lang="scss" scoped>
......
...@@ -178,7 +178,7 @@ async function handelGetYS006() { ...@@ -178,7 +178,7 @@ async function handelGetYS006() {
178 // arr3.value.push(val.TOTAL) 178 // arr3.value.push(val.TOTAL)
179 // arr4.value.push(val.LASTTOTAL) 179 // arr4.value.push(val.LASTTOTAL)
180 // 180 //
181 // h1.value.push(val.YSDSK)//应收款 181 // h1.value.push(val.YSDSK)//应收款
182 // h2.value.push(val.SFDDQ)//收费单待签 182 // h2.value.push(val.SFDDQ)//收费单待签
183 // h3.value.push(val.HTDQ)//合同待签 183 // h3.value.push(val.HTDQ)//合同待签
184 // 184 //
...@@ -233,7 +233,7 @@ function handelSelect3() { ...@@ -233,7 +233,7 @@ function handelSelect3() {
233 h2.value = [] 233 h2.value = []
234 h3.value = [] 234 h3.value = []
235 if (type3.value == '0') { 235 if (type3.value == '0') {
236 // h1.value.push(val.YSDSK)//应收款 236 // h1.value.push(val.YSDSK)//应收款
237 // h2.value.push(val.SFDDQ)//收费单待签 237 // h2.value.push(val.SFDDQ)//收费单待签
238 // h3.value.push(val.HTDQ)//合同待签 238 // h3.value.push(val.HTDQ)//合同待签
239 h1.value = new Array(12).fill(0); // 初始化 12 个月,默认值 0 239 h1.value = new Array(12).fill(0); // 初始化 12 个月,默认值 0
...@@ -253,7 +253,7 @@ function handelSelect3() { ...@@ -253,7 +253,7 @@ function handelSelect3() {
253 // 找到对应的数据 253 // 找到对应的数据
254 let obj = list.value.find(item => item.BASEJC === type3.value) 254 let obj = list.value.find(item => item.BASEJC === type3.value)
255 for (const val of obj.list) { 255 for (const val of obj.list) {
256 h1.value.push(val.YSDSK)//应收款 256 h1.value.push(val.YSDSK)//应收款
257 h2.value.push(val.SFDDQ)//收费单待签 257 h2.value.push(val.SFDDQ)//收费单待签
258 h3.value.push(val.HTDQ)//合同待签 258 h3.value.push(val.HTDQ)//合同待签
259 } 259 }
...@@ -689,7 +689,7 @@ const setC = (h1, h2, h3) => { ...@@ -689,7 +689,7 @@ const setC = (h1, h2, h3) => {
689 ], 689 ],
690 series: [ 690 series: [
691 { 691 {
692 name: '收款', 692 name: '收款',
693 type: 'bar', 693 type: 'bar',
694 stack: 'Ad', 694 stack: 'Ad',
695 emphasis: { 695 emphasis: {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!