From ff44d7e775d7abf09bef9ff5dcec3baea3b11382 Mon Sep 17 00:00:00 2001 From: pengwei Date: Wed, 18 Jun 2025 17:24:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=8C=BA=E5=8E=BF=E5=A4=A7=E5=B1=8F?= =?UTF-8?q?=E3=80=81=E5=B8=82=E5=B1=80=E5=A4=A7=E5=B1=8F=E5=AE=8C=E5=96=84?= =?UTF-8?q?=EF=BC=9B=E7=BB=B4=E6=9D=83=E7=9D=A3=E5=8A=9E=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/api/rightsComfort/supervision.ts | 17 + src/components/datav/chart-bar-new.vue | 1 + src/components/datav/chart-bar.vue | 62 ++- src/views/datav/Jwpy.vue | 2 +- src/views/datav/SceneInsp.vue | 4 +- src/views/datav/VideoInsp.vue | 3 + src/views/rightsComfort/Supervision.vue | 669 ++++++++++++++---------- src/views/work/Confinement.vue | 1 - 9 files changed, 467 insertions(+), 294 deletions(-) diff --git a/package.json b/package.json index d4dec2f..c4bae0c 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "type": "module", "scripts": { "dev": "vite", - "build": "vite build --mode dev", + "build": "vite build --mode prod", "build:prod": "vite build --mode prod && WinRAR a -r v2.zip ./v2/", "preview": "vite preview" }, diff --git a/src/api/rightsComfort/supervision.ts b/src/api/rightsComfort/supervision.ts index d9d074c..072fdeb 100644 --- a/src/api/rightsComfort/supervision.ts +++ b/src/api/rightsComfort/supervision.ts @@ -14,3 +14,20 @@ export function getDetail(id){ url:`/rights/supervise/${id}` }) } + +//上报数据 +export function reportedData(body){ + return request.post({ + url:`/rights/supervise/reportedData`, + body + }) +} + + +//无效维权 +export function upDataTrue(body){ + return request.put({ + url:`/rights/supervise`, + body + }) +} diff --git a/src/components/datav/chart-bar-new.vue b/src/components/datav/chart-bar-new.vue index 9dea2ed..ee26c2d 100644 --- a/src/components/datav/chart-bar-new.vue +++ b/src/components/datav/chart-bar-new.vue @@ -180,6 +180,7 @@ function getColor(val) { height: 9px; background: linear-gradient(270deg, #63e700 0%, #19674c 100%); transition: width 0.3s; + } } diff --git a/src/components/datav/chart-bar.vue b/src/components/datav/chart-bar.vue index 5fb264d..215e79d 100644 --- a/src/components/datav/chart-bar.vue +++ b/src/components/datav/chart-bar.vue @@ -14,7 +14,7 @@ {{ item.label }} -
+
+
+ +
+

市局下发问题数:{{item.cityNumber}}

+

二级机构下发问题数:{{item.countyNumber}}

+
+ +
+ +
{{ item.value + props.unit }} .bar-title { font-size: 19px; + } .bar-sub-title { @@ -136,6 +174,7 @@ function getColor(val) { .bar-item_content { .bar-item_content-bar { height: 13px; + } } } @@ -193,6 +232,16 @@ function getColor(val) { height: 9px; background: linear-gradient(270deg, #63e700 0%, #19674c 100%); transition: width 0.3s; + + } + .bar_item_comtent_div{ + display: flex; + height: 100%; + } + .bar-item_content-bar-item{ + height: 18px; + transition: width 0.3s; + background: linear-gradient(270deg, #63e700 0%, #19674c 100%); } } @@ -213,6 +262,17 @@ function getColor(val) { width: 70%; } +.popover_content{ + font-size: 15px; +} + +.popover_border{ + display: inline-block; + height: 12px; + width: 12px; + border-radius: 50%; + margin-right: 5px; +} diff --git a/src/views/datav/Jwpy.vue b/src/views/datav/Jwpy.vue index f0c727a..bbdf9fc 100644 --- a/src/views/datav/Jwpy.vue +++ b/src/views/datav/Jwpy.vue @@ -332,7 +332,7 @@ const getDistributionFun = async()=>{ console.log('---------') const res = await selectDistribution(time.value); option4.value.series[0].data=res.total; - option4.value.series[1].data=res.processing; + option4.value.series[1].data=res.checkStatus; // option4.value.series[2].data=res.checkStatus; option4.value.yAxis.data=res.name; console.log('option4',option4.value) diff --git a/src/views/datav/SceneInsp.vue b/src/views/datav/SceneInsp.vue index 001c70e..170e116 100644 --- a/src/views/datav/SceneInsp.vue +++ b/src/views/datav/SceneInsp.vue @@ -85,6 +85,7 @@ title="办结率排名" sub-title="已办结/问题数" unit="%" + :isgroupby="true" :color="dayTimeColors" /> @@ -163,6 +164,7 @@ title="办结率排名" sub-title="已办结/问题数" unit="%" + :isgroupby="true" :color="dayTimeColors" /> @@ -953,7 +955,7 @@ const sceneInspZxdxRankAnimation = () => { }; onMounted(() => { - // sceneInspZxdxIntervalId = setInterval(sceneInspZxdxRankAnimation, 5000); + sceneInspZxdxIntervalId = setInterval(sceneInspZxdxRankAnimation, 5000); }); // 工作动态动画 diff --git a/src/views/datav/VideoInsp.vue b/src/views/datav/VideoInsp.vue index fe813ba..c50ef50 100644 --- a/src/views/datav/VideoInsp.vue +++ b/src/views/datav/VideoInsp.vue @@ -63,6 +63,7 @@ :data="fxsjRankList" size="large" :color="colors" + :isgroupby="true" /> @@ -72,6 +73,7 @@ :data="jsdwRankList" size="large" :color="colors" + :isgroupby="true" /> @@ -463,6 +465,7 @@ const titleClickFun =()=>{ const getVideoSuperviseProblemRankData = async (timeValue) => { const res = await getVideoSuperviseProblemRank(timeValue); fxsjRankList.value = res.fxsjVideoSuperviseProblemRankList; + jsdwRankList.value = res.jsdwVideoSuperviseProblemRankList; }; const getAllVideoSuperviseCountData = async (timeValue) => { diff --git a/src/views/rightsComfort/Supervision.vue b/src/views/rightsComfort/Supervision.vue index 2832d56..02a7dca 100644 --- a/src/views/rightsComfort/Supervision.vue +++ b/src/views/rightsComfort/Supervision.vue @@ -1,8 +1,10 @@ diff --git a/src/views/work/Confinement.vue b/src/views/work/Confinement.vue index 0906941..5ea92bf 100644 --- a/src/views/work/Confinement.vue +++ b/src/views/work/Confinement.vue @@ -354,7 +354,6 @@ onMounted(() => { :label="item.dictLabel" > -