From b1d6942ae41814db6e9dc93bb3bb757687259209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E7=88=B1=E5=AD=A6=E4=B9=A0=E7=9A=84=E7=9F=B3?= =?UTF-8?q?=E5=90=8C=E5=AD=A6?= <2936013465@qq.com> Date: Thu, 12 Dec 2024 09:05:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E5=8A=A0=E4=B8=8A=E8=BE=B9?= =?UTF-8?q?=E6=A1=86=EF=BC=8C=E6=B0=91=E6=84=8F=E6=84=9F=E7=9F=A5=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/datav/AuditSuper.vue | 3 +- src/views/datav/CaseVerif.vue | 2 ++ src/views/datav/Gobal.vue | 3 +- src/views/datav/Jwpy.vue | 60 ++++++++++++++++--------------- src/views/datav/MailVisits.vue | 13 +++---- src/views/datav/RightsComfort.vue | 3 +- src/views/datav/SceneInsp.vue | 3 +- src/views/datav/VideoInsp.vue | 6 ++-- 8 files changed, 53 insertions(+), 40 deletions(-) diff --git a/src/views/datav/AuditSuper.vue b/src/views/datav/AuditSuper.vue index 87dc55d..4018f86 100644 --- a/src/views/datav/AuditSuper.vue +++ b/src/views/datav/AuditSuper.vue @@ -328,7 +328,8 @@ const option = ref({ itemStyle: { normal: { areaColor: "#02215E", - borderColor: "#1773c3", + borderColor: "#24D2EE", + borderWidth: 1 // 高亮时边框宽度 }, }, emphasis: { diff --git a/src/views/datav/CaseVerif.vue b/src/views/datav/CaseVerif.vue index 3377f37..8eaae5d 100644 --- a/src/views/datav/CaseVerif.vue +++ b/src/views/datav/CaseVerif.vue @@ -430,6 +430,8 @@ const option = ref({ }, itemStyle: { areaColor: "#02215E", // 这里将地图区域的颜色修改为红色 + borderColor: "#24D2EE", + borderWidth: 1 // 高亮时边框宽度 }, data: [], }, diff --git a/src/views/datav/Gobal.vue b/src/views/datav/Gobal.vue index 7cccd0a..bfa3f17 100644 --- a/src/views/datav/Gobal.vue +++ b/src/views/datav/Gobal.vue @@ -312,7 +312,8 @@ const option = ref({ itemStyle: { normal: { areaColor: "#02215E", - borderColor: "#1773c3", + borderColor: "#24D2EE", + borderWidth: 1 // 高亮时边框宽度 }, }, emphasis: { diff --git a/src/views/datav/Jwpy.vue b/src/views/datav/Jwpy.vue index ced90d7..3d8c205 100644 --- a/src/views/datav/Jwpy.vue +++ b/src/views/datav/Jwpy.vue @@ -6,7 +6,7 @@ - +
@@ -58,39 +58,42 @@
+ -
- - - -
-
- {{ dcmyd.length > 0 && dcmyd[1] && dcmyd[1].FinalRP !== undefined ? dcmyd[1].FinalRP : '0' }} + + + + +
+
+ {{ + dcmyd.length > 0 && dcmyd[1] && dcmyd[1].FinalRP !== undefined ? dcmyd[1].FinalRP : '0' + }}
上期满意度
+
+
- {{ dcmyd.length > 0 && dcmyd[0] && dcmyd[0].FinalRP !== undefined ? dcmyd[0].FinalRP : '0' }} + {{ + dcmyd.length > 0 && dcmyd[0] && dcmyd[0].FinalRP !== undefined ? dcmyd[0].FinalRP : '0' + }}
当前调查满意度
- - - - - -
-
+ + + + + +

业务满意率

@@ -386,7 +389,7 @@ const handleOrgChange = async (checkedOrg) => { const chart = echarts.getInstanceByDom(document.querySelector('.map-option')); if (chart) { chart.dispatchAction({type: 'highlight', name: targetName,}); - }else { + } else { alert("没有找到") } console.log("年份" + selectYear.value + " 月份" + selectMonth.value + " 单位" + selectOrg.value + " task" + task.value) @@ -474,9 +477,9 @@ const option1 = ref({ xAxis: { type: "category", boundaryGap: true, - data: [], + data: ['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月',], axisLabel: { - interval: 0, // 隔一个显示一个标签 + interval: 0, }, axisTick: { show: false // 隐藏x轴的刻度 @@ -493,7 +496,6 @@ const option1 = ref({ axisLabel: { margin: 20, }, - }, tooltip: { trigger: 'axis', @@ -527,19 +529,22 @@ const option1 = ref({ }, ]), }, - data: [], + data: [1,1,1,1,1,1,1,1,1,1,1,1], // 直接添加数据 }, ], - grid: {left: '5%', right: '5%', top: '10%', bottom: '20%', containLabel: true}, + grid: {left: '0%', right: '0%', top: '5%', bottom: '0%', containLabel: true}, }) const option2 = ref({ xAxis: { type: "category", boundaryGap: true, - data: [], + data: ['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月',], axisTick: { show: false // 隐藏x轴的刻度 }, + axisLabel: { + interval: 0, + }, }, yAxis: { type: "value", @@ -580,8 +585,7 @@ const option2 = ref({ color: 'rgba(109, 221, 159, 0.47)' }, {offset: 1, color: 'rgba(109, 221, 159, 0)'}]) }, - - data: [], + data: [1,1,1,1,1,1,1,1,1,1,1,1], // 直接添加数据 }, ], grid: {left: '5%', right: '5%', top: '10%', bottom: '20%', containLabel: true}, diff --git a/src/views/datav/MailVisits.vue b/src/views/datav/MailVisits.vue index b2d817e..4ee1078 100644 --- a/src/views/datav/MailVisits.vue +++ b/src/views/datav/MailVisits.vue @@ -452,11 +452,11 @@ const getEntangleMassRank = async (timeValue = time.value) => { bwzdEntanglementMailList.value = res.bwzdEntanglementList; bwzdMassMailList.value = res.bwzdMassList; } -const getData = async () => { - await getFirstAndRepeatMailRank(); - await getOverview(); - await getTrend(); - await getEntangleMassRank(); +const getData = () => { + getFirstAndRepeatMailRank(); + getOverview(); + getTrend(); + getEntangleMassRank(); } // endregion @@ -595,7 +595,8 @@ const option = ref({ itemStyle: { normal: { areaColor: "#02215E", - borderColor: "#1773c3", + borderColor: "#24D2EE", + borderWidth: 1 // 高亮时边框宽度 }, }, emphasis: { diff --git a/src/views/datav/RightsComfort.vue b/src/views/datav/RightsComfort.vue index c890005..816669b 100644 --- a/src/views/datav/RightsComfort.vue +++ b/src/views/datav/RightsComfort.vue @@ -657,7 +657,8 @@ const option = ref({ itemStyle: { normal: { areaColor: "#02215E", - borderColor: "#1773c3", + borderColor: "#24D2EE", + borderWidth: 1 // 高亮时边框宽度 }, }, emphasis: { diff --git a/src/views/datav/SceneInsp.vue b/src/views/datav/SceneInsp.vue index e8ac085..91ce826 100644 --- a/src/views/datav/SceneInsp.vue +++ b/src/views/datav/SceneInsp.vue @@ -1011,7 +1011,8 @@ const option = ref({ itemStyle: { normal: { areaColor: "#02215E", - borderColor: "#1773c3", + borderColor: "#24D2EE", + borderWidth: 1 // 高亮时边框宽度 }, }, emphasis: { diff --git a/src/views/datav/VideoInsp.vue b/src/views/datav/VideoInsp.vue index 74434b3..939b8c6 100644 --- a/src/views/datav/VideoInsp.vue +++ b/src/views/datav/VideoInsp.vue @@ -465,7 +465,8 @@ const option = ref({ itemStyle: { normal: { areaColor: "#02215E", - borderColor: "#1773c3", + borderColor: "#24D2EE", + borderWidth: 1 // 高亮时边框宽度 }, }, emphasis: { @@ -473,7 +474,8 @@ const option = ref({ borderColor: "#FF0000", // 高亮时边框颜色 borderWidth: 4 // 高亮时边框宽度 }, - data: mapIconList + data: mapIconList, + } ], })