@@ -104,6 +107,7 @@ export default {
homeMsg: {},
list: [],
homeText: "",
+ buildingList: [],
houseMountArr: [],
};
},
@@ -150,36 +154,50 @@ export default {
getList() {
this.loading = true;
const homeType = this.$route.query.type;
- // if (homeType === "building") {
- // this.$http.get(`/actual/base/streetOverview/getUnitHouseOverviewList?unitId=` + this.$route.query.id).then((res) => {
- // console.log(res);
- // });
- // } else {
- this.$http.get(`/actual/base/streetOverview/getUnitHouseList?unitId=` + this.$route.query.id).then((res) => {
- const {
- code,
- data: { houseList, unitInfo },
- } = res.data;
- if (code === 0) {
- let unitInfos = unitInfo || {};
- this.list = houseList;
- this.homeMsg = unitInfos;
- this.homeText = (unitInfos.quartersName ? unitInfos.quartersName : "") + (unitInfos.buildingName ? unitInfos.buildingName : "") + (unitInfos.unitNum ? unitInfos.unitNum + "单元" : "");
- console.log(this.homeText, " this.homeText");
- this.houseMountArr = this.getDoorNameList(this.list);
- // this.houseMountArr = [
- // [{ doorName: 101 }, { doorName: 102 }, { doorName: 103 }, { doorName: 104 }, { doorName: 105 }, { doorName: 106 }, { doorName: 107 }, { doorName: 108 }, { doorName: 109 }],
- // [{ doorName: 201 }, { doorName: 202 }, { doorName: 203 }, { doorName: 204 }, { doorName: 205 }, { doorName: 206 }, { doorName: 207 }, { doorName: 208 }, { doorName: 209 }],
- // ];
- if (this.houseMountArr.length > 0) {
- this.flexWidth = this.houseMountArr[0].length * 58;
+ if (homeType === "building") {
+ this.$http.get(`/actual/base/streetOverview/getUnitListByBuilding?buildingId=` + "1514914015259979777").then((res) => {
+ const { code, data } = res.data;
+ if (code === 0) {
+ this.buildingList = data;
+ this.homeText = this.buildingList[0].buildingName + this.buildingList[0].unitName;
+ this.buildingList.forEach((item, i) => {
+ if (i === 0) {
+ item.ifActive = true;
+ } else {
+ item.ifActive = false;
+ }
+ });
+ this.loading = false;
+ } else {
+ this.loading = false;
}
- this.loading = false;
- } else {
- this.loading = false;
- }
- });
- // }
+ });
+ } else {
+ this.$http.get(`/actual/base/streetOverview/getUnitHouseList?unitId=` + this.$route.query.id).then((res) => {
+ const {
+ code,
+ data: { houseList, unitInfo },
+ } = res.data;
+ if (code === 0) {
+ let unitInfos = unitInfo || {};
+ this.list = houseList;
+ this.homeMsg = unitInfos;
+ this.homeText = (unitInfos.quartersName ? unitInfos.quartersName : "") + (unitInfos.buildingName ? unitInfos.buildingName : "") + (unitInfos.unitNum ? unitInfos.unitNum + "单元" : "");
+ console.log(this.homeText, " this.homeText");
+ this.houseMountArr = this.getDoorNameList(this.list);
+ // this.houseMountArr = [
+ // [{ doorName: 101 }, { doorName: 102 }, { doorName: 103 }, { doorName: 104 }, { doorName: 105 }, { doorName: 106 }, { doorName: 107 }, { doorName: 108 }, { doorName: 109 }],
+ // [{ doorName: 201 }, { doorName: 202 }, { doorName: 203 }, { doorName: 204 }, { doorName: 205 }, { doorName: 206 }, { doorName: 207 }, { doorName: 208 }, { doorName: 209 }],
+ // ];
+ if (this.houseMountArr.length > 0) {
+ this.flexWidth = this.houseMountArr[0].length * 58;
+ }
+ this.loading = false;
+ } else {
+ this.loading = false;
+ }
+ });
+ }
},
getRentFlag(type) {
@@ -200,6 +218,19 @@ export default {
]);
return houseTypeMap.get(type);
},
+
+ chooseNav(item) {
+ let buildList = [...this.buildingList];
+ this.homeText = item.buildingName + item.unitName;
+ buildList.forEach((d) => {
+ if (item.id === d.id) {
+ d.ifActive = true;
+ } else {
+ d.ifActive = false;
+ }
+ });
+ this.buildingList = buildList;
+ },
},
};
@@ -221,9 +252,36 @@ export default {
font-weight: 500;
}
+@mixin navListCommon {
+ min-width: 120px;
+ height: 36px;
+ font-size: 14px;
+ font-family: PingFang SC;
+ font-weight: 500;
+ margin-right: 4px;
+ text-align: center;
+ line-height: 36px;
+ cursor: pointer;
+}
+
+.top-nav-list {
+ display: flex;
+ margin-bottom: 16px;
+ .top-nav-item {
+ @include navListCommon;
+ background-image: url("~@/assets/images/home/noChooseMain.png");
+ color: #96b1ce;
+ }
+ .top-nav-itemAC {
+ @include navListCommon;
+ background-image: url("~@/assets/images/home/chooseMain.png");
+ color: #fff;
+ }
+}
+
.homeWrap {
.bread {
- margin-bottom: 25px;
+ margin-bottom: 16px;
}
.apar_top {
From 154a3f025bdc4cd725c0e46538ec11fd8d6fb2a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=88=98=E7=AB=8B=E6=A0=87?= <2658037827@qq.com>
Date: Tue, 10 Oct 2023 10:45:35 +0800
Subject: [PATCH 2/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A6=96=E9=A1=B5?=
=?UTF-8?q?=E4=B8=8D=E6=BB=A1=E6=84=8F=E4=BA=8B=E9=A1=B9=E6=9C=88=E5=BA=A6?=
=?UTF-8?q?=E8=B6=8B=E5=8A=BF=E5=88=86=E6=9E=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/home/index.vue | 57 +++++++++++++++-----------------
1 file changed, 27 insertions(+), 30 deletions(-)
diff --git a/src/views/modules/home/index.vue b/src/views/modules/home/index.vue
index 796364687..540d4a93e 100644
--- a/src/views/modules/home/index.vue
+++ b/src/views/modules/home/index.vue
@@ -278,7 +278,7 @@ export default {
}
},
computed: {
- maxTableHeight () {
+ maxTableHeight() {
// return this.clientHeight - 450;
return 420;
},
@@ -314,14 +314,11 @@ export default {
initChart() {
this.$http.get('/governance/satisfactionOverview/notSatisfactionTrend').then(({data: {data}}) => {
this.myChart = echarts.init(document.getElementById('my_chart'));
- let series = []
- console.log(data,'datadatadata')
- data.series.forEach(item => {
- series.push({
+ let series = data.series.map((item, index) => {
+ return {
...item,
type: 'line',
- stack: 'Total',
- })
+ }
})
let option = {
tooltip: {
@@ -361,15 +358,15 @@ export default {
})
},
- handleWindowResize () {
+ handleWindowResize() {
if (this.myChart) {
this.myChart.resize();
}
},
- searchDataTab (str) {
+ searchDataTab(str) {
this.searchData.type = str;
},
- handleClickCategory (item) {
+ handleClickCategory(item) {
this.$router.push({
name: "base-resi",
params: {
@@ -378,18 +375,18 @@ export default {
});
},
- async readClearOne (item) {
+ async readClearOne(item) {
console.log("item", item)
const url = `/message/intelligentMessage/msg/clearOne/?msgId=${item.id}`
- const { data, code, msg } = await requestPost(url)
+ const {data, code, msg} = await requestPost(url)
if (code == 0) {
this.getNoticeData()
} else if (code >= 8000) {
this.$message.error(msg)
}
},
- handleClickNotice (item) {
- const { msgType, targetId } = item;
+ handleClickNotice(item) {
+ const {msgType, targetId} = item;
this.readClearOne(item)
if (msgType == "community_house") {
this.$refs.fastcall.showHouseInfo(targetId);
@@ -398,13 +395,13 @@ export default {
}
},
- toNoticePage () {
+ toNoticePage() {
this.$router.push({
path: "/main/home-notice",
});
},
- toSearchPage (type, searchKey) {
+ toSearchPage(type, searchKey) {
this.$router.push({
path: "/main/shequ-chaxun"
});
@@ -412,9 +409,9 @@ export default {
localStorage.setItem('homeSearchKey', searchKey)
},
- handleClickSearchBtn (str) {
+ handleClickSearchBtn(str) {
const {
- searchData: { type, searchKey },
+ searchData: {type, searchKey},
} = this;
if (str) {
this.toSearchPage(type, searchKey);
@@ -424,7 +421,7 @@ export default {
this.toSearchPage(type, searchKey);
},
- async getApiData () {
+ async getApiData() {
await this.getOrgData();
this.getWarningList();
this.getZnycList();
@@ -433,14 +430,14 @@ export default {
},
//加载组织数据
- async getOrgData () {
+ async getOrgData() {
const url = "/gov/org/agency/maporg";
let params = {
orgId: "",
level: "",
};
- const { data, code, msg } = await requestPost(url, params);
+ const {data, code, msg} = await requestPost(url, params);
if (code === 0) {
this.orgData = data;
@@ -450,14 +447,14 @@ export default {
},
//加载组织数据
- async getPandectData () {
+ async getPandectData() {
const url = "/actual/base/residentHouseMerge/communityOverview";
let params = {
// orgId: "",
// level: "",
};
- const { data, code, msg } = await requestGet(url, params);
+ const {data, code, msg} = await requestGet(url, params);
if (code === 0) {
if (data) {
@@ -469,13 +466,13 @@ export default {
},
//加载组织数据
- async getNoticeData () {
+ async getNoticeData() {
const url = "/message/intelligentMessage/list";
let params = {
last: "10",
};
- const { data, code, msg } = await requestGet(url, params);
+ const {data, code, msg} = await requestGet(url, params);
if (code === 0) {
if (data) {
@@ -487,7 +484,7 @@ export default {
},
//加载组织数据
- async getWarningList () {
+ async getWarningList() {
const url = "/actual/base/resiCategory/categoryCountList";
let params = {
// id: this.orgData.id,
@@ -495,7 +492,7 @@ export default {
};
this.resiCategory.loading = true;
- const { data, code, msg } = await requestGet(url, params);
+ const {data, code, msg} = await requestGet(url, params);
this.resiCategory.loading = false;
if (code === 0) {
@@ -507,7 +504,7 @@ export default {
name: resiCategoryMap[item.categoryName] || "",
count: item.categoryCount,
per: parseInt(
- (100 * item.categoryCount) / data.resiCount
+ (100 * item.categoryCount) / data.resiCount
),
const: "const",
};
@@ -518,7 +515,7 @@ export default {
}
},
//加载智能预测数据
- async getZnycList () {
+ async getZnycList() {
const url = "/actual/base/resiCategory/intelligentPredictioncategoryCountList";
// const url = "/actual/base/resiCategory/categoryCountList";
let params = {
@@ -527,7 +524,7 @@ export default {
};
this.znycCategory.loading = true;
- const { data, code, msg } = await requestGet(url, params);
+ const {data, code, msg} = await requestGet(url, params);
this.znycCategory.loading = false;
if (code === 0) {
From f0081f892ed51395239a490e35b6c07cc0725138 Mon Sep 17 00:00:00 2001
From: SongZhen <>
Date: Tue, 10 Oct 2023 15:00:00 +0800
Subject: [PATCH 3/5] =?UTF-8?q?=E6=A5=BC=E6=A0=8B+=E5=8D=95=E5=85=83?=
=?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/router/index.js | 6 +-
src/views/components/fixed1920.vue | 2 +-
.../cpts/family/modules/BusinessRecords.vue | 47 ++------
.../cpts/family/modules/EnjoyService.vue | 35 +++---
.../dataBoard/cpts/homeDetails/index.vue | 113 +++++++++++-------
src/views/dataBoard/cpts/map/index.vue | 2 +-
.../overview/familyPortrait/index.vue | 70 ++++++-----
src/views/dataBoardMain/main-content.vue | 2 +-
8 files changed, 143 insertions(+), 134 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index a6090f905..6f93f324e 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -258,7 +258,8 @@ export const dataBoardRoutes = {
title: "居民画像",
isTab: false,
},
- },,
+ },
+ ,
{
path: "overview/familyPortrait",
props: true,
@@ -455,10 +456,11 @@ export const dataBoardRoutes = {
path: "/homeDetails/index",
props: true,
component: () => import("@/views/dataBoard/cpts/homeDetails/index"),
- name: "homeDetails",
+ name: "HomeDetails",
meta: {
title: "单元",
isTab: false,
+ keepAlive: false,
},
},
{
diff --git a/src/views/components/fixed1920.vue b/src/views/components/fixed1920.vue
index 46341a169..0fc13df29 100644
--- a/src/views/components/fixed1920.vue
+++ b/src/views/components/fixed1920.vue
@@ -18,7 +18,7 @@ export default {
computed: {
bdStyle() {
const { clientHeight, clientWidth } = this;
- console.log("clientHeight", clientHeight);
+ // console.log("clientHeight", clientHeight);
const scale = clientWidth / 1920;
const height = clientHeight / scale;
const top = (clientHeight - height) / 2;
diff --git a/src/views/dataBoard/cpts/family/modules/BusinessRecords.vue b/src/views/dataBoard/cpts/family/modules/BusinessRecords.vue
index eb9028f0d..b9a6e0240 100644
--- a/src/views/dataBoard/cpts/family/modules/BusinessRecords.vue
+++ b/src/views/dataBoard/cpts/family/modules/BusinessRecords.vue
@@ -1,36 +1,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -123,9 +99,7 @@ export default {
this.type = e;
},
changeTotal(item) {
- this.typeList[item.name].label = item.total
- ? `${this.typeLists[item.name].label}(${item.total})`
- : this.typeLists[item.name].label;
+ this.typeList[item.name].label = item.total ? `${this.typeLists[item.name].label}(${item.total})` : this.typeLists[item.name].label;
},
},
};
@@ -138,15 +112,14 @@ export default {
}
.table {
/deep/ .el-table td,
- /deep/ .el-table th,
/deep/ .el-table tr {
- padding: 14px !important;
+ padding: 3px 14px !important;
border: none !important;
- min-height: 52px;
}
- /deep/ .el-table td,
/deep/ .el-table th {
background: none !important;
+ padding: 6px 14px !important;
+ border: none !important;
}
/deep/ .el-table td {
font-size: 14px;
diff --git a/src/views/dataBoard/cpts/family/modules/EnjoyService.vue b/src/views/dataBoard/cpts/family/modules/EnjoyService.vue
index 7f028803a..06868b2fa 100644
--- a/src/views/dataBoard/cpts/family/modules/EnjoyService.vue
+++ b/src/views/dataBoard/cpts/family/modules/EnjoyService.vue
@@ -1,6 +1,6 @@
-
+
@@ -9,8 +9,13 @@
+
+
+

+
暂无数据
+
-
+
\ No newline at end of file
+
diff --git a/src/views/dataBoardMain/main-content.vue b/src/views/dataBoardMain/main-content.vue
index 9724dbc5e..9c734e908 100644
--- a/src/views/dataBoardMain/main-content.vue
+++ b/src/views/dataBoardMain/main-content.vue
@@ -5,7 +5,7 @@
-
+
From 26d67d7a00b8104a542b8b6c3dbbcdcb33d998b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E8=8B=A5=E6=99=A8?= <974220104@qq.com>
Date: Tue, 10 Oct 2023 15:29:52 +0800
Subject: [PATCH 4/5] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/images/shuju/main/back1.png | Bin 0 -> 1062 bytes
src/assets/scss/dataBoardMain.scss | 34 ++--
.../components/EventList/index.vue | 136 ++++++++--------
.../satisfactionEval/dissatisfied/detail.vue | 6 +-
.../modules/RiskStatistics/index.vue | 143 ++++++++++-------
src/views/dataBoardMain/main-navbar.vue | 146 ++++++++++++------
6 files changed, 266 insertions(+), 199 deletions(-)
create mode 100644 src/assets/images/shuju/main/back1.png
diff --git a/src/assets/images/shuju/main/back1.png b/src/assets/images/shuju/main/back1.png
new file mode 100644
index 0000000000000000000000000000000000000000..289a41f728d2d77fc33fcff74574bc841ed023a2
GIT binary patch
literal 1062
zcmV+>1ljwEP)Px&;7LS5R9Hvtm|bWbRTRg6XEvL}NYzxUsECb=AK9A(id2O@DfU4TedvP)sSgrq
zE6L2Jl7RN5FA9a|CKC`Uh#&YM`r-#ggo=V9wFJZ_vqtOZiyxq^rc$fT&XL*dmhEIe
zCc7JU0==*=d+#~-chCIqIcG*#XG7K*FBgH=`iZqH!qc8UB+8HWfPA@@&`krop5CD_
z0qn5g{!t_E#}e4}bPGyGg-1((me1DFL79yeaCT1nEsLjsU12bVyD~;Tj|K4ao|+D2
zqCBFp1TIE&6xdrYa&48w%!2m$dB&rF77wBcp>HHDKh--}GxIC5MD{D)Z25&-KMW*S
z;oMjFz=B1EL65OE+
z#tIF)Io+#DkQMqH*#8WWuVWYJyC&DXZOYncB=EpsuU7RD3N(Q*G8c?&PIh)gKE#)w|wbd?)81{9vhU8n*~0gYW3#$
zJ@8rbrQl|aI86bUoVh1-lm5qqz`M4QPnrb|?590_E!4t(=oq=TCBUr!Tp^2`W>m?Z
z|6lmbNz1nQ00VmBNo)2}7M;s&DV;SM8dEF{PxBwN}&3FQP`l-OSP^H^$r{zfOfL%|YQFuC(mrv&}
zc;`6gTD65iPZ1Ql_yK)gY
gYNQ%nx9%eRKhO(JJTkwW8UO$Q07*qoM6N<$f=O8SeE
-
-
+
-
+
-
+
-
+
-
+
-
+ prop="eventContent"
+ width="200"
+ show-overflow-tooltip
+ label="事项描述"
+ />
+
-
+
- 查看
+ 查看
-
-
-
+
\ No newline at end of file
+
diff --git a/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue b/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue
index 9e7acf232..cc1ab501b 100644
--- a/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue
+++ b/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue
@@ -16,7 +16,7 @@
{{unsatisfiedMattersModel.reason}}
-
a
+
- 事项来源:{{satisfactionSourceOptions[unsatisfiedMattersModel.satisfactionSource]}}
- 事项类型:{{unsatisfiedMattersModel.satisfactionCategoryName}}
@@ -145,7 +145,7 @@ export default {
color: #FFFFFF;
line-height: 22px;
padding-left: 26px;
- margin-bottom: 20px;
+ margin-bottom: 15px;
}
.detail {
@@ -165,7 +165,7 @@ export default {
li {
color: #FFFFFF;
- line-height: 28px;
+ line-height: 32px;
span {
color: #9CB4D3
diff --git a/src/views/dataBoard/satisfactionEval/modules/RiskStatistics/index.vue b/src/views/dataBoard/satisfactionEval/modules/RiskStatistics/index.vue
index 84d3b464e..f9e02f85f 100755
--- a/src/views/dataBoard/satisfactionEval/modules/RiskStatistics/index.vue
+++ b/src/views/dataBoard/satisfactionEval/modules/RiskStatistics/index.vue
@@ -1,79 +1,101 @@
-
+
-

+
- 12345热线
+ 12345热线
投诉人数
-
{{ event12345Num ? event12345Num : 0 }} 人
+
+ {{ event12345Num ? event12345Num : 0 }} 人
+
-
-

+
- 省满意度调查
+ 省满意度调查
不满意人数
-
{{ provinceSatisfactionNum ? provinceSatisfactionNum : 0 }} 人
+
+ {{
+ provinceSatisfactionNum ? provinceSatisfactionNum : 0
+ }}
+ 人
+
-
-

+
- 社区满意度自评
+ 社区满意度自评
不满意人数
-
{{ selfInspectNum ? selfInspectNum : 0 }} 人
+
+ {{ selfInspectNum ? selfInspectNum : 0 }} 人
+
- 本月回访
+ 本月回访
次数
-
{{ followMonthNum ? followMonthNum : 0 }} 人
+
+ {{ followMonthNum ? followMonthNum : 0 }} 人
+
- 本月回访消除
+ 本月回访消除
风险人员数
-
{{ followMonthNotRiskyNum ? followMonthNotRiskyNum : 0 }} 人
+
+ {{
+ followMonthNotRiskyNum ? followMonthNotRiskyNum : 0
+ }}
+ 人
+
- 累计回访
+ 累计回访
次数
-
{{ followSumNum ? followSumNum : 0 }} 人
+
+ {{ followSumNum ? followSumNum : 0 }} 人
+
- 累计回访消除
+ 累计回访消除
风险人员数
-
{{ followNotRiskyNum ? followNotRiskyNum : 0 }} 人
+
+ {{
+ followNotRiskyNum ? followNotRiskyNum : 0
+ }}
+ 人
+
-
@@ -89,15 +111,14 @@ export default {
followSumNum: 0,
provinceSatisfactionNum: 0,
selfInspectNum: 0,
- loading: true
- }
+ loading: true,
+ };
},
props: {
date: {
type: Object,
- default: () => {
- }
- }
+ default: () => {},
+ },
},
watch: {
"$store.state.chooseArea.chooseName"(val) {
@@ -107,7 +128,7 @@ export default {
},
date() {
this.getData();
- }
+ },
},
mounted() {
if (this.$store.state.chooseArea.chooseName.orgId) {
@@ -116,25 +137,30 @@ export default {
},
methods: {
getData() {
- this.loading = true
+ this.loading = true;
let params = {
level: this.$store.state.chooseArea.chooseName.level,
orgId: this.$store.state.chooseArea.chooseName.orgId,
- ...this.date
- }
- this.$http.get('/governance/satisfactionOverview/satisfactionFollowGroup?' + this.$paramsFormat(params)).then(({data: {data}}) => {
- this.event12345Num = data.event12345Num;
- this.followMonthNotRiskyNum = data.followMonthNotRiskyNum;
- this.followMonthNum = data.followMonthNum;
- this.followNotRiskyNum = data.followNotRiskyNum;
- this.followSumNum = data.followSumNum;
- this.provinceSatisfactionNum = data.provinceSatisfactionNum;
- this.selfInspectNum = data.selfInspectNum;
- this.loading = false
- })
- }
- }
-}
+ ...this.date,
+ };
+ this.$http
+ .get(
+ "/governance/satisfactionOverview/satisfactionFollowGroup?" +
+ this.$paramsFormat(params)
+ )
+ .then(({ data: { data } }) => {
+ this.event12345Num = data.event12345Num;
+ this.followMonthNotRiskyNum = data.followMonthNotRiskyNum;
+ this.followMonthNum = data.followMonthNum;
+ this.followNotRiskyNum = data.followNotRiskyNum;
+ this.followSumNum = data.followSumNum;
+ this.provinceSatisfactionNum = data.provinceSatisfactionNum;
+ this.selfInspectNum = data.selfInspectNum;
+ this.loading = false;
+ });
+ },
+ },
+};
\ No newline at end of file
+
diff --git a/src/views/dataBoardMain/main-navbar.vue b/src/views/dataBoardMain/main-navbar.vue
index 02889d62d..de96637eb 100644
--- a/src/views/dataBoardMain/main-navbar.vue
+++ b/src/views/dataBoardMain/main-navbar.vue
@@ -1,13 +1,33 @@
-

+
-
{{ customerName }}数据智能分析平台
-
-
-
-
+
+
{{ customerName }}数据智能分析平台
+
+
+
+
+
-
+
概览
-
+
组织架构
-
+
人房数据
-
@@ -184,10 +220,15 @@ export default {
const customerId = localStorage.getItem("customerId");
let siteconfigElement = window.SITE_CONFIG["menuShujuList"];
//暂时 亿联街道和 微笑崂山显示 社区治理-》多元化菜单
- if ("04c0d396e298f13e57aa5904a657eaa6" != customerId && "3fdd0380deff5b30f45376cdf995d1c1" != customerId) {
+ if (
+ "04c0d396e298f13e57aa5904a657eaa6" != customerId &&
+ "3fdd0380deff5b30f45376cdf995d1c1" != customerId
+ ) {
for (let index in siteconfigElement) {
if (siteconfigElement[index].id == "6") {
- let newMenuArr = siteconfigElement[index].children.filter((item) => item.id !== "duoyuanfuwufenxi");
+ let newMenuArr = siteconfigElement[index].children.filter(
+ (item) => item.id !== "duoyuanfuwufenxi"
+ );
siteconfigElement[index].children = newMenuArr;
}
}
@@ -217,46 +258,51 @@ export default {
params = { orgId: this.value, level: this.getChooseLabel(this.value) };
}
console.log(params);
- this.$http.post(`/gov/org/agency/maporg`, params).then(async ({ data: { data } }) => {
- console.log(data);
- this.value = data.id;
- this.$store.dispatch("chooseArea/chooseName", {
- orgId: data.id,
- level: data.level,
+ this.$http
+ .post(`/gov/org/agency/maporg`, params)
+ .then(async ({ data: { data } }) => {
+ console.log(data);
+ this.value = data.id;
+ this.$store.dispatch("chooseArea/chooseName", {
+ orgId: data.id,
+ level: data.level,
+ });
+ let children = await this.dealTreeData(data.children);
+ if (data.parentId) {
+ this.options = [
+ {
+ ...data,
+ value: data.parentId,
+ label: data.parentName,
+ },
+ {
+ ...data,
+ value: data.id,
+ label: data.name,
+ },
+ ...children,
+ ];
+ } else {
+ this.options = [
+ {
+ ...data,
+ value: data.id,
+ label: data.name,
+ },
+ ...children,
+ ];
+ }
});
- let children = await this.dealTreeData(data.children);
- if (data.parentId) {
- this.options = [
- {
- ...data,
- value: data.parentId,
- label: data.parentName,
- },
- {
- ...data,
- value: data.id,
- label: data.name,
- },
- ...children,
- ];
- } else {
- this.options = [
- {
- ...data,
- value: data.id,
- label: data.name,
- },
- ...children,
- ];
- }
- });
},
dealTreeData(treeData, level = 0) {
const data = treeData.map((item) => ({
...item,
value: item.id,
label: item.name,
- children: item.children && item.children.length ? this.dealTreeData(item.children, level++) : null,
+ children:
+ item.children && item.children.length
+ ? this.dealTreeData(item.children, level++)
+ : null,
}));
return data;
},
@@ -290,7 +336,9 @@ export default {
},
// 通过menuId与动态(菜单)路由进行匹配跳转至指定路由
gotoRouteHandle(menuId, idx) {
- var route = window.SITE_CONFIG["dynamicMenuRoutesShuju"].filter((item) => item.meta.menuId === menuId)[0];
+ var route = window.SITE_CONFIG["dynamicMenuRoutesShuju"].filter(
+ (item) => item.meta.menuId === menuId
+ )[0];
if (route) {
this.$router.push({
name: route.name,
@@ -299,10 +347,12 @@ export default {
}
},
changeCustomerName() {
- this.customerName = localStorage.getItem("customerNameDataBoard") || "数据分析可视化平台";
+ this.customerName =
+ localStorage.getItem("customerNameDataBoard") || "数据分析可视化平台";
},
async getWeatherData() {
- const url = "https://restapi.amap.com/v3/weather/weatherInfo?key=8c87678f34ce9e8e23245c5161991c4e";
+ const url =
+ "https://restapi.amap.com/v3/weather/weatherInfo?key=8c87678f34ce9e8e23245c5161991c4e";
const { data, code, msg } = await requestGet(url, {
city: this.$store.state.user.areaCode,
});
From 6efe6c3040869dde720feb5acef94248cabddf4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E8=8B=A5=E6=99=A8?= <974220104@qq.com>
Date: Tue, 10 Oct 2023 15:54:22 +0800
Subject: [PATCH 5/5] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../satisfactionEval/dissatisfied/detail.vue | 161 +++++++++++-------
1 file changed, 103 insertions(+), 58 deletions(-)
diff --git a/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue b/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue
index cc1ab501b..574d0e72c 100644
--- a/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue
+++ b/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue
@@ -1,29 +1,49 @@
+ class="dissatisfied-detail"
+ title=""
+ :modal="true"
+ :visible.sync="dialogVisible"
+ width="1118px"
+ :modal-append-to-body="false"
+ :before-close="handleClose"
+ >
-
+
事项详情
- {{unsatisfiedMattersModel.reason}}
+ {{ unsatisfiedMattersModel.reason }}
- - 事项来源:{{satisfactionSourceOptions[unsatisfiedMattersModel.satisfactionSource]}}
- - 事项类型:{{unsatisfiedMattersModel.satisfactionCategoryName}}
- - 所属月份:{{unsatisfiedMattersModel.satisfactionCategoryName}}
- - 所属社区:{{unsatisfiedMattersModel.organizationName}}
- - 提交人:{{unsatisfiedMattersModel.name}}
- - 提交人电话:{{unsatisfiedMattersModel.mobile}}
+ -
+ 事项来源:{{
+ satisfactionSourceOptions[
+ unsatisfiedMattersModel.satisfactionSource
+ ]
+ }}
+
+ -
+ 事项类型:{{ unsatisfiedMattersModel.satisfactionCategoryName }}
+
+ -
+ 所属月份:{{ unsatisfiedMattersModel.satisfactionCategoryName }}
+
+ -
+ 所属社区:{{ unsatisfiedMattersModel.organizationName }}
+
+ - 提交人:{{ unsatisfiedMattersModel.name }}
+ -
+ 提交人电话:{{ unsatisfiedMattersModel.mobile }}
+
@@ -33,34 +53,46 @@
12345投诉
- {{unsatisfiedHisCount.satisfaction_12345}}
+ {{
+ unsatisfiedHisCount.satisfaction_12345
+ }}
人
省满意度调查
- {{unsatisfiedHisCount.satisfaction_province}}
+ {{
+ unsatisfiedHisCount.satisfaction_province
+ }}
人
社区满意度自评
- {{unsatisfiedHisCount.satisfaction_community}}
+ {{
+ unsatisfiedHisCount.satisfaction_community
+ }}
人
回访记录
-
-
{{item.followUpUser}}({{item.roleName}})
-
{{item.followUpDate}}
-
{{item.followUpWay}}
+
+
+ {{ item.followUpUser }}({{ item.roleName }})
+
+
{{ item.followUpDate }}
+
+ {{ item.followUpWay }}
+
-
@@ -68,44 +100,53 @@
\ No newline at end of file
+