From 9b94ddc4155ed7d2a472770273b9bdf936150f8c Mon Sep 17 00:00:00 2001 From: wxc <191104855@qq.com> Date: Sun, 26 Oct 2025 16:47:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E3=80=81=E5=8D=95=E4=BD=8D=E7=94=BB=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/negativeInfo/depart-dialog.vue | 167 ++++++++------- .../sensitivePerception/DepartNegative.vue | 23 ++- .../sensitivePerception/PoliceNegative.vue | 190 ++++++++---------- 3 files changed, 183 insertions(+), 197 deletions(-) diff --git a/src/components/negativeInfo/depart-dialog.vue b/src/components/negativeInfo/depart-dialog.vue index 421da06..cff893d 100644 --- a/src/components/negativeInfo/depart-dialog.vue +++ b/src/components/negativeInfo/depart-dialog.vue @@ -20,7 +20,7 @@
单位情况
-
+
@@ -45,13 +45,13 @@
- +
+ :src="`${BASE_PATH}/file/stream/${departInfo.departImg}`" + style="max-height: 96px" + v-if="departInfo.departImg1" + />
@@ -79,60 +79,52 @@
问题情况
-
-
- - -
-
-
{{ negativeInfo.size }}
-
问题总数
-
-
-
- - - - - - - - - - - - - -
+
+
+
+
+ {{ negativeInfo.size }} +
+
问题总数
+
+
+
+ +
+
+ +
+
+ +
+
问题累计分值
-
+
{{ score }} + >{{ score }}
@@ -191,25 +184,35 @@
个人问题排名
-
+
- +
问题涉及领导
-
+
- +
突出问题排名
-
+
问题清单 {{ negativeList.length }}
- + + - - - + + @@ -293,7 +284,7 @@ const props = defineProps({ }); const time = ref([ - moment().startOf('year').format("YYYY-MM-DD HH:mm:ss"), + moment().startOf("year").format("YYYY-MM-DD HH:mm:ss"), moment().format("YYYY-MM-DD HH:mm:ss"), ]); const colors = [ @@ -317,7 +308,7 @@ const negativeTotal = ref(0); const problemTypeBarList = ref([]); const score = ref(0); -const days = ref(0) +const days = ref(0); async function getProfileData() { loading.value = true; @@ -327,7 +318,7 @@ async function getProfileData() { endTime: time.value.length ? time.value[1] : "", }); score.value = Math.round(data.score); - days.value = data.days + days.value = data.days; negativeList.value = data.negatives; departInfo.value = data.departInfo; negativeInfo.value = data.negativeInfo; @@ -432,7 +423,7 @@ const problemTypePieOptions = ref({ }); const policeBarList = ref([]); -const policeLeadBarList = ref([]) +const policeLeadBarList = ref([]); function getType(val) { if (val < 60) { @@ -510,4 +501,10 @@ h5 { padding: 16px; min-height: 200px; } - +.h-220 { + height: 220px; +} +.h-300 { + height: 300px; +} + \ No newline at end of file diff --git a/src/views/sensitivePerception/DepartNegative.vue b/src/views/sensitivePerception/DepartNegative.vue index 491a8ed..a949090 100644 --- a/src/views/sensitivePerception/DepartNegative.vue +++ b/src/views/sensitivePerception/DepartNegative.vue @@ -3,6 +3,13 @@
+ + + + + @@ -34,14 +41,6 @@ - - - - - - - + + +