From b8aaa8a9d5b3a7294ec6767b0aebe64f00ad0b36 Mon Sep 17 00:00:00 2001 From: sjh Date: Sun, 17 Nov 2024 23:22:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=81=B5=E6=95=8F=E6=84=9F?= =?UTF-8?q?=E7=9F=A5=E5=A4=A7=E5=B1=8F3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/datav/Lmgz.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/datav/Lmgz.vue b/src/views/datav/Lmgz.vue index f009c57..a6a064e 100644 --- a/src/views/datav/Lmgz.vue +++ b/src/views/datav/Lmgz.vue @@ -366,8 +366,8 @@ watch([time, selectedMetric, selectedMetricPCS, selectedMetricJJDD, selectedMetr getLeaderRiskData(selectedMetricLD.value);// 【领导 问题涉及人数】 getPoliceANegativeData(selectedMetricMJ.value);// 【民警 问题数】 getPoliceARiskData(selectedMetricMJ.value);// 【民警 问题发生率】 - // getPoliceBNegativeData(selectedMetricXFJ.value);//【辅警/协警 问题数】 - // getPoliceBRiskData(selectedMetricXFJ.value);//【辅警/协警 问题发生率】 + getPoliceBNegativeData(selectedMetricXFJ.value);//【辅警/协警 问题数】 + getPoliceBRiskData(selectedMetricXFJ.value);//【辅警/协警 问题发生率】 }); onMounted(() => { @@ -385,8 +385,8 @@ onMounted(() => { getLeaderRiskData(selectedMetricLD.value);// 【领导 问题涉及人数】 getPoliceANegativeData(selectedMetricMJ.value);// 【民警 问题数】 getPoliceARiskData(selectedMetricMJ.value);// 【民警 问题发生率】 - // getPoliceBNegativeData(selectedMetricXFJ.value);//【辅警/协警 问题数】 - // getPoliceBRiskData(selectedMetricXFJ.value);//【辅警/协警 问题发生率】 + getPoliceBNegativeData(selectedMetricXFJ.value);//【辅警/协警 问题数】 + getPoliceBRiskData(selectedMetricXFJ.value);//【辅警/协警 问题发生率】 }); const getTotalData = () => { @@ -493,7 +493,7 @@ const eachData = (data) => { let arr = []; data.forEach(item => { arr.push({ - label: item.name, + label: item.label, value: item['score'] != null ? Number(item.score) : Number(item.value) }); });