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(); });