From e51077ac922f805ee747051429f4d2a4c3ee05e8 Mon Sep 17 00:00:00 2001 From: Vce Date: Tue, 4 Jun 2024 00:21:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B4=A3=E4=BB=BB=E5=8D=95?= =?UTF-8?q?=E4=BD=8D=E9=9A=90=E6=82=A3=E6=95=B4=E6=94=B9=E7=8E=87=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../commandScreen/components/leftBottom.vue | 54 ++++++++++++++++--- 1 file changed, 48 insertions(+), 6 deletions(-) diff --git a/src/views/commandScreen/components/leftBottom.vue b/src/views/commandScreen/components/leftBottom.vue index e1d25e1..03f35f3 100644 --- a/src/views/commandScreen/components/leftBottom.vue +++ b/src/views/commandScreen/components/leftBottom.vue @@ -27,7 +27,7 @@ -
+ +
+
排名
+
姓名
+
分包单位
+
整改数量
+
发起隐患数
+
整改率
+
及时整改率
+
+
+ +
+
{{ index + 1 }}
+
{{ item.workerName }}
+
{{ item.enterpriseName }}
+
{{ item.createDangerNum || item.rectifiedNum}}
+
{{ item.rectifiedNum }}
+
{{ item.rectifiedNumRatio }}
+
{{ item.rectifiedNumRatioTimely }}
+
+
+
+ +

暂无数据

+
@@ -214,14 +240,29 @@ const handleClick = (tab: TabsPaneContext, event: Event) => { activeIndex.value = tab.index; console.log(tab); if (tab.index == "0") { - getMemberJobStatusFn(); - } else if (tab.index == "1") { - getInspectManStatusFn(); - } else if (tab.index == "2") { getEnterpriseStatusFn(); + // getMemberJobStatusFn(); + } else if (tab.index == "1") { + getMemberJobStatusFn(); + // getInspectManStatusFn(); + } else if (tab.index == "2") { + getInspectManStatusFn(); + // getEnterpriseStatusFn(); } console.log("activeIndex", activeIndex.value); }; +// const handleClick = (tab: TabsPaneContext, event: Event) => { +// activeIndex.value = tab.index; +// console.log(tab); +// if (tab.index == "0") { +// getMemberJobStatusFn(); +// } else if (tab.index == "1") { +// getInspectManStatusFn(); +// } else if (tab.index == "2") { +// getEnterpriseStatusFn(); +// } +// console.log("activeIndex", activeIndex.value); +// }; function Pie() { let dataArr = []; for (var i = 0; i < 150; i++) { @@ -499,7 +540,8 @@ function drawEchart2() { // }) } onMounted(async () => { - getMemberJobStatusFn(); + getEnterpriseStatusFn(); + // getMemberJobStatusFn(); getPersonList(); });