diff --git a/src/views/dataBoard/cpts/map/index.vue b/src/views/dataBoard/cpts/map/index.vue index 359b4af96..500d36d69 100644 --- a/src/views/dataBoard/cpts/map/index.vue +++ b/src/views/dataBoard/cpts/map/index.vue @@ -527,12 +527,12 @@ export default { }) .active(true); scene.addLayer(textLayer); - + let popup; polygonLayer.on("mousemove", (e) => { if (this.level === "grid") { return; } - const popup = new Popup({ + popup = new Popup({ offsets: [60, 60], closeButton: false, maxWidth: 400, @@ -551,6 +551,9 @@ export default { `); scene.addPopup(popup); }); + polygonLayer.on("mouseout", (e) => { + popup.remove(); + }); polygonLayer.on("click", (e) => { console.log(this.level); if (this.level === "grid") { @@ -990,12 +993,12 @@ export default { //box-shadow: 0 0 20px 3px inset rgba(#22f, 0.1); width: 416px; padding: 0 20px !important; - background: url('@/assets/images/overview/dia_con.png'); + background: url("@/assets/images/overview/dia_con.png"); &:before { - content: ''; + content: ""; display: block; - background: url('@/assets/images/overview/dia_head.png'); + background: url("@/assets/images/overview/dia_head.png"); height: 29px; width: 100%; position: absolute; @@ -1004,9 +1007,9 @@ export default { } &:after { - content: ''; + content: ""; display: block; - background: url('@/assets/images/overview/dia_foot.png'); + background: url("@/assets/images/overview/dia_foot.png"); height: 26px; width: 100%; left: 0; @@ -1141,7 +1144,7 @@ export default { & > div { flex: 0 0 33%; - width: 33%; + width: 33%; height: 14px; font-size: 14px; font-weight: 400; diff --git a/src/views/dataBoard/satisfactionEval/modules/PersonnelPortrait/index.vue b/src/views/dataBoard/satisfactionEval/modules/PersonnelPortrait/index.vue index 72d5ab367..5d3d4b3ab 100644 --- a/src/views/dataBoard/satisfactionEval/modules/PersonnelPortrait/index.vue +++ b/src/views/dataBoard/satisfactionEval/modules/PersonnelPortrait/index.vue @@ -1,78 +1,48 @@ @@ -130,18 +100,13 @@ export default { this.getData(); }, gotopage() { - this.$router.push( - "/dataBoard/satisfactionEval/dissatisfiedPersonnel?searchParams=" + - this.searchParams - ); + this.$router.push("/dataBoard/satisfactionEval/dissatisfiedPersonnel?searchParams=" + this.searchParams); }, getDisKey() { - this.$http - .post("/sys/dict/data/dictlist", { dictType: "satisfaction_category" }) - .then(({ data: { data } }) => { - this.typeCondition = data[0].value; - this.typeConditionList = data; - }); + this.$http.post("/sys/dict/data/dictlist", { dictType: "satisfaction_category" }).then(({ data: { data } }) => { + this.typeCondition = data[0].value; + this.typeConditionList = data; + }); }, getData() { this.loading = true; @@ -151,23 +116,18 @@ export default { queryType: this.resultType, category: this.resultType == "provinceAndSelf" ? this.typeCondition : null, }; - this.$http - .get( - "/governance/satisfactionOverview/satisfactionCrowdPortrait?" + - this.$paramsFormat(params) - ) - .then(({ data: { data } }) => { - this.gender = data.gender; - this.marriageName = data.marriageName; - this.ageClassification = data.ageClassification; - this.cultureName = data.cultureName; - this.gridName = data.gridName; - this.monthIncomeLevel = data.monthIncomeLevel; - this.residentTagName = data.residentTagName; - this.matchPeopleNum = data.matchPeopleNum; - this.loading = false; - this.searchParams = JSON.stringify({ ...data, ...params }); - }); + this.$http.get("/governance/satisfactionOverview/satisfactionCrowdPortrait?" + this.$paramsFormat(params)).then(({ data: { data } }) => { + this.gender = data.gender; + this.marriageName = data.marriageName; + this.ageClassification = data.ageClassification; + this.cultureName = data.cultureName; + this.gridName = data.gridName; + this.monthIncomeLevel = data.monthIncomeLevel; + this.residentTagName = data.residentTagName; + this.matchPeopleNum = data.matchPeopleNum; + this.loading = false; + this.searchParams = JSON.stringify({ ...data, ...params }); + }); }, }, }; @@ -239,6 +199,10 @@ $purple: #6642fd; align-items: center; justify-content: center; border-radius: 50%; + text-align: center; + } + .smallSize { + font-size: 10px; } &:after { @@ -359,7 +323,7 @@ $purple: #6642fd; } .btn { - width: 240px; + min-width: 240px; height: 46px; border: 1px solid #125aaa; border-radius: 23px; @@ -367,7 +331,7 @@ $purple: #6642fd; font-weight: 400; color: #ffffff; line-height: 46px; - display: flex; + display: inline-flex; align-items: center; justify-content: space-between; padding: 0 20px; diff --git a/src/views/dataBoard/satisfactionEval/modules/PotentialPeople/index.vue b/src/views/dataBoard/satisfactionEval/modules/PotentialPeople/index.vue index d7a77b9d2..fcd2f8c99 100644 --- a/src/views/dataBoard/satisfactionEval/modules/PotentialPeople/index.vue +++ b/src/views/dataBoard/satisfactionEval/modules/PotentialPeople/index.vue @@ -26,10 +26,7 @@ 事件未解决
上报人数 -
- {{ unSolvedNum ? unSolvedNum : 0 }}人 -
+
{{ unSolvedNum ? unSolvedNum : 0 }}
人数
-
- {{ unFinishNum ? unFinishNum : 0 }}人 -
+
{{ unFinishNum ? unFinishNum : 0 }}
服务人数
-
- {{ noServiceNum ? noServiceNum : 0 }}人 -
+
{{ noServiceNum ? noServiceNum : 0 }}
diff --git a/src/views/dataBoard/satisfactionEval/modules/SelfTrend/index.vue b/src/views/dataBoard/satisfactionEval/modules/SelfTrend/index.vue index 914b4a282..f64c3bd87 100644 --- a/src/views/dataBoard/satisfactionEval/modules/SelfTrend/index.vue +++ b/src/views/dataBoard/satisfactionEval/modules/SelfTrend/index.vue @@ -122,7 +122,7 @@ export default { }, tooltip: { trigger: 'axis', - backgroundColor: 'rgba(13,33,71,0.5)', + backgroundColor: 'rgba(13,33,71,0.8)', borderColor: 'rgba(143,174,252,0.6)', padding: 8, textStyle: { diff --git a/src/views/dataBoard/satisfactionEval/modules/TypesOfDissatisfaction/index.vue b/src/views/dataBoard/satisfactionEval/modules/TypesOfDissatisfaction/index.vue index 8aa971e01..d9a674a3d 100644 --- a/src/views/dataBoard/satisfactionEval/modules/TypesOfDissatisfaction/index.vue +++ b/src/views/dataBoard/satisfactionEval/modules/TypesOfDissatisfaction/index.vue @@ -1,31 +1,9 @@