From 23b099a17b385a2ddd2a5a228572268f78106328 Mon Sep 17 00:00:00 2001 From: Vce Date: Mon, 13 May 2024 11:58:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8C=87=E6=8C=A5=E9=83=A8?= =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E5=AE=89=E5=85=A8=E6=95=99=E8=82=B2=E6=99=BA?= =?UTF-8?q?=E8=83=BD=E5=88=86=E6=9E=90=E6=9C=89=E6=95=B0=E6=8D=AE=E4=BD=86?= =?UTF-8?q?=E4=B8=8D=E6=98=BE=E7=A4=BA=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../commandScreen/commandCenter/leftBottom.vue | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/views/commandScreen/commandCenter/leftBottom.vue b/src/views/commandScreen/commandCenter/leftBottom.vue index 223542c..2fcfd96 100644 --- a/src/views/commandScreen/commandCenter/leftBottom.vue +++ b/src/views/commandScreen/commandCenter/leftBottom.vue @@ -91,7 +91,6 @@ let listData = ref([ { header: "特种作业人员教育", type: 2, content: "1#塔吊报警频次较上周增长60%,塔吊间各个设备之间的衔接进行全面检查,以防止" } ]); -let questionTotal = ref(0 as any); let dataList2 = ref([ { value: 0, @@ -157,6 +156,7 @@ const getPersonList = async () => { dataList2.value[1].value = res.result.personType.toaltPerson.totalPerson; dataList2.value[2].value = res.result.personType.toaltPerson.totalPerson; console.log("安全教育智能分析666", res); + drawEchart2(); } }; // 获取人员履职情况分析数据--整改人 @@ -267,7 +267,6 @@ function drawEchart2() { trigger: "item" }, title: { - // text: questionTotal.value, text: "100%", subtext: "入场三级教育\n完成率", x: "24%", @@ -505,21 +504,7 @@ function drawEchart2() { // echartsTest.resize(); // }) } -//获取质量管理 -// const safeData = ref(null as any); -const qualityInfo = async () => { - const res: any = await selectQualityStatisticsApi({ projectSn: store.sn }); - // dataList2.value[0].value = res.result.total.rectificationNum; - // dataList2.value[1].value = res.result.total.totalNum - res.result.total.rectificationNum; - questionTotal.value = res.result.total.totalNum; - drawEchart2(); -}; -//将方法暴露给父组件 -defineExpose({ - qualityInfo -}); onMounted(async () => { - qualityInfo(); getMemberJobStatusFn(); getPersonList(); });