From be9e8fd4c2b92cfcb8f021ff78b34b8802976474 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=98=E7=AB=8B=E6=A0=87?= <2658037827@qq.com> Date: Fri, 8 Dec 2023 16:38:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B9=A6=E8=AE=B0=E7=9C=8B?= =?UTF-8?q?=E6=9D=BF=E9=AB=98=E5=BA=A6=EF=BC=8C=E6=9B=BF=E6=8D=A2=E5=85=B1?= =?UTF-8?q?=E6=80=A7=E9=9C=80=E6=B1=82=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/scss/dataBoard/overview/index.scss | 22 ++++++++-------- .../overview/components/DemandCharts.vue | 2 +- .../overview/components/DemandCharts2.vue | 2 +- .../overview/components/RequirementList.vue | 11 +++++--- .../dataBoard/overview/components/jdjs.vue | 12 +++++---- .../dataBoard/overview/components/wtqd.vue | 26 +++++++++++++------ src/views/dataBoard/overview/index.vue | 2 +- .../modules/eventAnalysis/index.vue | 14 ++++++---- 8 files changed, 55 insertions(+), 36 deletions(-) diff --git a/src/assets/scss/dataBoard/overview/index.scss b/src/assets/scss/dataBoard/overview/index.scss index 7ba10c566..5bde41dc0 100644 --- a/src/assets/scss/dataBoard/overview/index.scss +++ b/src/assets/scss/dataBoard/overview/index.scss @@ -219,8 +219,8 @@ } .m-jdjs { - height: 548px; - padding: 0 16px; + //height: 548px; + padding: 0 16px 10px; &-js { margin: 20px 0; @@ -228,27 +228,27 @@ justify-content: space-between; &-img { - width: 200px; - height: 140px; + width: 180px; + height: 110px; background: #00ACF7; border-radius: 6px; overflow: hidden; img { - width: 200px; - height: 140px; + width: 180px; + height: 110px; } } &-txt { - width: 213px; + width: calc(100% - 180px); font-size: 14px; font-family: PingFang SC; - font-weight: bold; - color: #FFFFFF; - line-height: 24px; margin-left: 16px; - // padding-top: 14px; + font-weight: 400; + color: #FFFFFF; + line-height: 22px; + text-indent: 2em; } } diff --git a/src/views/dataBoard/overview/components/DemandCharts.vue b/src/views/dataBoard/overview/components/DemandCharts.vue index 5c30a5199..033e6ad83 100644 --- a/src/views/dataBoard/overview/components/DemandCharts.vue +++ b/src/views/dataBoard/overview/components/DemandCharts.vue @@ -163,7 +163,7 @@ export default { #DemandCharts { flex: calc(100% - 100px); width: calc(100% - 100px); - height: 150px; + height: 126px; } } \ No newline at end of file diff --git a/src/views/dataBoard/overview/components/DemandCharts2.vue b/src/views/dataBoard/overview/components/DemandCharts2.vue index 84adcef77..456f2b4fe 100644 --- a/src/views/dataBoard/overview/components/DemandCharts2.vue +++ b/src/views/dataBoard/overview/components/DemandCharts2.vue @@ -163,7 +163,7 @@ export default { #DemandCharts2 { flex: calc(100% - 100px); width: calc(100% - 100px); - height: 150px; + height: 126px; } } \ No newline at end of file diff --git a/src/views/dataBoard/overview/components/RequirementList.vue b/src/views/dataBoard/overview/components/RequirementList.vue index 6a72e0938..7ec8bc2e5 100644 --- a/src/views/dataBoard/overview/components/RequirementList.vue +++ b/src/views/dataBoard/overview/components/RequirementList.vue @@ -16,7 +16,7 @@ @@ -82,8 +82,8 @@ export default { showDetail({demandRecId}) { this.$refs.ServiceDetails.open(demandRecId); }, - showDetail2() { - this.$refs.Bmysxxq.open(); + showDetail2({id}) { + this.$refs.Bmysxxq.open(id); }, getUserDemandList() { this.$http.post('/governance/userdemand/pagelist', {status: "pending", pageSize: 20}).then(({data: {data}}) => { @@ -92,7 +92,10 @@ export default { }) }, getCommonDemandList() { - this.$http.get('/governance/commonDemand/list?assignFlag=0&pageSize=20').then(({data: {data}}) => { + this.$http.post('/governance/commonDemand/list',{ + assignFlag:0, + pageSize: 20 + }).then(({data: {data}}) => { this.commonDemandList = data ? data.list : [] }) }, diff --git a/src/views/dataBoard/overview/components/jdjs.vue b/src/views/dataBoard/overview/components/jdjs.vue index e0a093f8d..4fbfcecba 100644 --- a/src/views/dataBoard/overview/components/jdjs.vue +++ b/src/views/dataBoard/overview/components/jdjs.vue @@ -16,7 +16,7 @@ element-loading-text="加载中..." element-loading-spinner="el-icon-loading" element-loading-background="rgba(0,0,0,0.5)" - style="height: 170px" + style="height: 130px" /> @@ -184,11 +184,11 @@ export default { show: false, text: '', x: 'center', - top: '15px', + top: '18px', textStyle: { color: '#333333', fontWeight: 500, - fontSize: 18, + fontSize: 12, }, }, tooltip: { @@ -276,14 +276,16 @@ export default { textStyle: { fontSize: 12 }, - align: 'center' + align: 'right', + padding: [6, 5, 5, 5], }, axisLabel: { show: true, color: '#A3B9DA', textStyle: { fontSize: 12 - } + }, + }, axisTick: { show: false diff --git a/src/views/dataBoard/overview/components/wtqd.vue b/src/views/dataBoard/overview/components/wtqd.vue index 39d405af7..6e9f92727 100644 --- a/src/views/dataBoard/overview/components/wtqd.vue +++ b/src/views/dataBoard/overview/components/wtqd.vue @@ -20,9 +20,10 @@ -
暂无数据 + element-loading-spinner="el-icon-loading" element-loading-text="加载中"> +
@@ -44,9 +45,11 @@ -
暂无数据 + element-loading-text="加载中"> + +
@@ -70,7 +73,9 @@
暂无数据 + element-loading-text="加载中"> + +
@@ -94,7 +99,9 @@
暂无数据 + element-loading-text="加载中"> + +
@@ -148,6 +155,7 @@ import "swiper/dist/css/swiper.css"; import {swiper, swiperSlide} from "vue-awesome-swiper"; import {requestPost} from "@/js/dai/request"; import EventDetails from "@/views/dataBoard/overview/components/EventDetail.vue"; +import NoData from "@/views/dataBoard/cpts/NoData"; export default { name: "wtqd", @@ -156,6 +164,7 @@ export default { swiper, swiperSlide, EventDetails, + NoData }, props: { currentLevelData: { @@ -351,7 +360,7 @@ export default { .swiper-container { width: 100%; - height: 200px; + height: 150px; } .swiper-containers { @@ -401,7 +410,8 @@ export default { } .white { - height: 100px; + padding: 18px 0; + //height: 100px; } \ No newline at end of file diff --git a/src/views/dataBoard/overview/index.vue b/src/views/dataBoard/overview/index.vue index ea09c02a3..a80ef659e 100644 --- a/src/views/dataBoard/overview/index.vue +++ b/src/views/dataBoard/overview/index.vue @@ -721,6 +721,6 @@ export default { } .m-map { - height: 1050px; + height: 970px; } diff --git a/src/views/dataBoard/satisfactionEval/modules/eventAnalysis/index.vue b/src/views/dataBoard/satisfactionEval/modules/eventAnalysis/index.vue index b98c59947..1792e8f4d 100644 --- a/src/views/dataBoard/satisfactionEval/modules/eventAnalysis/index.vue +++ b/src/views/dataBoard/satisfactionEval/modules/eventAnalysis/index.vue @@ -19,9 +19,9 @@
类型
投诉次数
-
- +
{{ item.categoryName }}
{{ item.amount }}
+
@@ -59,11 +60,13 @@ :key="index" class="item f-flex bto-border" @click="goTryDetail(item)" + v-if="list2.length > 0" >
{{ index - 0 + 1 }}
{{ item.mobile }}
{{ item.amount }}
+ @@ -206,9 +209,10 @@ export default { "queryDateStart": this.startTime, "queryDateEnd": this.endTime }).then(({data: {data}}) => { - this.list = data.addressMobileEvents - this.list2 = data.mobileEvent - this.data = data.addressEvent + console.log(data) + this.list = data?data.addressMobileEvents: [] || [] + this.list2 = data?data.mobileEvent: [] || [] + this.data = data?data.addressEvent: [] || [] }) },