35b0694e by zhangmeng

看板

1 parent 81d2b140
......@@ -39,6 +39,8 @@ 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} from 'vue'
import {onMounted, ref, computed, onUnmounted} from 'vue'
import {dayjs} from 'element-plus'
import {getYS001, getYS002, getYS003, getYS004, getYS005} from '@/api/server.js'
......@@ -1279,6 +1279,12 @@ const clear = () => {
clearTimeout(autoToolTip);
}
}
onUnmounted(() => {
if (intervalA) {
clearInterval(intervalA);
}
})
</script>
<style lang="scss" scoped>
......
......@@ -178,7 +178,7 @@ async function handelGetYS006() {
// arr3.value.push(val.TOTAL)
// arr4.value.push(val.LASTTOTAL)
//
// h1.value.push(val.YSDSK)//应收款
// h1.value.push(val.YSDSK)//应收款
// h2.value.push(val.SFDDQ)//收费单待签
// h3.value.push(val.HTDQ)//合同待签
//
......@@ -233,7 +233,7 @@ function handelSelect3() {
h2.value = []
h3.value = []
if (type3.value == '0') {
// h1.value.push(val.YSDSK)//应收款
// h1.value.push(val.YSDSK)//应收款
// h2.value.push(val.SFDDQ)//收费单待签
// h3.value.push(val.HTDQ)//合同待签
h1.value = new Array(12).fill(0); // 初始化 12 个月,默认值 0
......@@ -253,7 +253,7 @@ function handelSelect3() {
// 找到对应的数据
let obj = list.value.find(item => item.BASEJC === type3.value)
for (const val of obj.list) {
h1.value.push(val.YSDSK)//应收款
h1.value.push(val.YSDSK)//应收款
h2.value.push(val.SFDDQ)//收费单待签
h3.value.push(val.HTDQ)//合同待签
}
......@@ -689,7 +689,7 @@ const setC = (h1, h2, h3) => {
],
series: [
{
name: '收款',
name: '收款',
type: 'bar',
stack: 'Ad',
emphasis: {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!