diff --git a/src/assets/images/shuju/overview/go-back.png b/src/assets/images/shuju/overview/go-back.png new file mode 100644 index 000000000..0815318c1 Binary files /dev/null and b/src/assets/images/shuju/overview/go-back.png differ diff --git a/src/assets/scss/dataBoard/overview/index.scss b/src/assets/scss/dataBoard/overview/index.scss index 69d4eda69..8d0150eaf 100644 --- a/src/assets/scss/dataBoard/overview/index.scss +++ b/src/assets/scss/dataBoard/overview/index.scss @@ -569,7 +569,6 @@ height: 40px; line-height: 40px; font-size: 14px; - font-family: PingFang SC; font-weight: 400; color: #A3B9DA; } @@ -583,11 +582,12 @@ height: 40px; line-height: 40px; width: 110px; - height: 14px; font-size: 14px; - font-family: PingFang SC; font-weight: 400; color: #FFFFFF; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .tdbg1 { diff --git a/src/router/index.js b/src/router/index.js index b6c827ce0..e17779b66 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -208,6 +208,16 @@ export const dataBoardRoutes = { isTab: false, }, }, + { + path: "renfang/resi-class-new", + props: true, + component: () => import("@/views/dataBoard/renfang/resi/classNew"), + name: "dataBoard-renfang-resi-class", + meta: { + title: "居民分类列表", + isTab: false, + }, + }, { path: "renfang/resi-analyze", props: true, diff --git a/src/utils/jwTool.js b/src/utils/jwTool.js index 5e797cf78..058e03e1f 100644 --- a/src/utils/jwTool.js +++ b/src/utils/jwTool.js @@ -3,7 +3,9 @@ import Vue from "vue"; const paramsFormat = function (params) { let strArray = [] for(let key in params) { - strArray.push(key+'='+params[key]) + if(params[key]) { + strArray.push(key+'='+params[key]) + } } return strArray.join('&') } diff --git a/src/views/dataBoard/cpts/personnel/modules/Family.vue b/src/views/dataBoard/cpts/personnel/modules/Family.vue index 6fda2fc8c..0d54a50f4 100644 --- a/src/views/dataBoard/cpts/personnel/modules/Family.vue +++ b/src/views/dataBoard/cpts/personnel/modules/Family.vue @@ -97,36 +97,41 @@ export default { padding: 18px 24px; box-sizing: border-box; position: absolute; - &:nth-of-type(1), - &:nth-of-type(2) { - background: url("@/assets/images/manyidu/gx_big.png") no-repeat center; - background-size: 100% 100%; - width: 180px; - min-height: 100px; - } - &:nth-of-type(3), - &:nth-of-type(4) { - background: url("@/assets/images/manyidu/gx_small.png") no-repeat center; - background-size: 100% 100%; - width: 180px; - min-height: 100px; - padding: 15px 24px; - } + background: url("@/assets/images/manyidu/gx_big.png") no-repeat center; + background-size: 100% 100%; + width: 180px; + min-height: 80px; &:nth-of-type(1) { - left: -98px; - top: 34px; + left: -24px; + top: -24px; } &:nth-of-type(2) { - right: -68px; - top: 34px; + right: -24px; + top: -24px; } &:nth-of-type(3) { - left: -91px; - bottom: 41px; + left: -24px; + bottom: -20px; } &:nth-of-type(4) { - right: -44px; - bottom: 41px; + right: -24px; + top: 274px; + } + &:nth-of-type(5) { + left: -94px; + top: 74px; + } + &:nth-of-type(6) { + right: -94px; + top: 74px; + } + &:nth-of-type(7) { + left: -124px; + top: 174px; + } + &:nth-of-type(8) { + right: -124px; + top: 174px; } } .user-name { diff --git a/src/views/dataBoard/overview/components/DynamicHumanRoomData.vue b/src/views/dataBoard/overview/components/DynamicHumanRoomData.vue index 00ff17177..66656817d 100644 --- a/src/views/dataBoard/overview/components/DynamicHumanRoomData.vue +++ b/src/views/dataBoard/overview/components/DynamicHumanRoomData.vue @@ -57,10 +57,10 @@ export default { \ No newline at end of file diff --git a/src/views/dataBoard/overview/components/GridUpdateRanking.vue b/src/views/dataBoard/overview/components/GridUpdateRanking.vue new file mode 100644 index 000000000..ee2d9b217 --- /dev/null +++ b/src/views/dataBoard/overview/components/GridUpdateRanking.vue @@ -0,0 +1,70 @@ + + + + diff --git a/src/views/dataBoard/overview/components/jdtphx.vue b/src/views/dataBoard/overview/components/jdtphx.vue index 9919368e0..dbe6b842e 100644 --- a/src/views/dataBoard/overview/components/jdtphx.vue +++ b/src/views/dataBoard/overview/components/jdtphx.vue @@ -29,7 +29,7 @@
{{item.name}}
-
{{item.num}}
+
{{item.ratio}}
@@ -105,7 +105,7 @@
{{item.riskName}}
-
{{item.riskNum}}人
+
{{item.riskNum}}
diff --git a/src/views/dataBoard/overview/index.vue b/src/views/dataBoard/overview/index.vue index a6b6eaa88..65727ce40 100644 --- a/src/views/dataBoard/overview/index.vue +++ b/src/views/dataBoard/overview/index.vue @@ -1,147 +1,178 @@ @@ -159,14 +190,15 @@ import sqrfph from "@/views/dataBoard/overview/components/sqrfph.vue"; import sq12345 from "@/views/dataBoard/overview/components/sq12345.vue"; import DynamicHumanRoomData from "@/views/dataBoard/overview/components/DynamicHumanRoomData.vue"; +import GridUpdateRanking from "@/views/dataBoard/overview/components/GridUpdateRanking.vue"; import CommunityResult from "@/views/dataBoard/overview/components/CommunityResult.vue"; import EventAndFollowUp from "@/views/dataBoard/overview/components/EventAndFollowUp.vue"; import RankingGridData from "@/views/dataBoard/overview/components/RankingGridData.vue"; +import FollowUp from "@/views/dataBoard/overview/components/FollowUp.vue"; +import Tabs from "@/views/dataBoard/satisfactionEval/components/Tabs/index.vue"; - -import {requestPostBi} from "@/js/dai/request-bipass"; -import {requestPost} from "@/js/dai/request"; -import getQueryPara from "dai-js/modules/getQueryPara"; +import { requestPostBi } from "@/js/dai/request-bipass"; +import { requestPost } from "@/js/dai/request"; export default { name: "renfang", @@ -186,17 +218,20 @@ export default { DynamicHumanRoomData, CommunityResult, EventAndFollowUp, - RankingGridData + RankingGridData, + GridUpdateRanking, + FollowUp, + Tabs }, data() { return { loading: false, - rfphDate: this.$moment().format('YYYY-MM'), - sq12345Date: this.$moment().format('YYYY-MM'), - sqzcDate: this.$moment().format('YYYY-MM'), - sjhfDate: this.$moment().format('YYYY-MM'), - sqwggxDate: this.$moment().format('YYYY-MM'), + rfphDate: this.$moment().format("YYYY-MM"), + sq12345Date: this.$moment().format("YYYY-MM"), + sqzcDate: this.$moment().format("YYYY-MM"), + sjhfDate: this.$moment().format("YYYY-MM"), + sqwggxDate: this.$moment().format("YYYY-MM"), orgData: { children: [], }, //当前组织对象 @@ -207,12 +242,30 @@ export default { { orgId: "", orgLevel: "", - meta: {title: "人房总览"}, + id: "", + level: "", + meta: { title: "人房总览" }, }, ], displayedResiId: "", displayedHouseId: "", + dynamicType: 1, + dynamicTypeList: [{ + value: 1, + label: '更新动态' + }, { + value: 2, + label: '网格更新排行' + }], + eventType: 1, + eventTypeList: [{ + value: 1, + label: '12345事件' + }, { + value: 2, + label: '事件回访' + }] }; }, @@ -220,20 +273,26 @@ export default { // const queryOrgId = getQueryPara("orgId"); // const queryOrgLevel = getQueryPara("orgLevel"); // this.init(queryOrgId, queryOrgLevel); - if(this.$store.state.chooseArea.chooseName.orgId) { - this.getMapData() + if (this.$store.state.chooseArea.chooseName.orgId) { + this.getMapData(); } }, watch: { - "$store.state.chooseArea.chooseName"(val){ - if(val.orgId) { - this.getMapData() + "$store.state.chooseArea.chooseName"(val) { + if (val.orgId) { + this.getMapData(); } - } + }, }, methods: { + dynamicTypeChange(val) { + this.dynamicType = val + }, + eventTypeChange(val) { + this.eventType = val + }, async init(queryOrgId, queryOrgLevel) { if (queryOrgId) { this.orgId = queryOrgId; @@ -261,7 +320,7 @@ export default { } }, - clickBreadItem({item}) { + clickBreadItem({ item }) { this.toBread(item); }, @@ -269,22 +328,24 @@ export default { this.toBread({ orgId: item.id, orgLevel: item.level, - meta: {title: item.name}, + meta: { title: item.name }, }); }, - + goBackMap() { + this.clickAgencyItem(this.breadList[this.breadList.length - 2]); + }, toBread(item) { - const {orgId} = item; - const {breadList} = this; + const { orgId } = item; + const { breadList } = this; let index = breadList.findIndex((val) => val.orgId === orgId); // return console.log(item, breadList, index); if (index >= 0) { this.breadList = breadList.slice(0, index + 1); } else { - breadList.push(item); + breadList.push({ ...item, id: item.orgId, level: item.orgLevel }); this.breadList = breadList; } - this.getMapData(item.orgId,item.orgLevel) + this.getMapData(item.orgId, item.orgLevel) }, // 点击搜索结果条目,在地图上显示点和详情弹窗 @@ -299,34 +360,36 @@ export default { }, //获取地图上显示的组织数据 - async getMapData(orgId=this.$store.state.chooseArea.chooseName.orgId,level=this.$store.state.chooseArea.chooseName.level) { + async getMapData(orgId = this.$store.state.chooseArea.chooseName.orgId, level = this.$store.state.chooseArea.chooseName.level) { const url = "org_map"; - this.$http.post(`/gov/org/agency/maporg`, {orgId, level}).then(({data: {data}}) => { - this.orgData = data; - this.orgId = this.orgData.org_id; - this.orgLevel = this.orgData.level; - this.currentLevel = this.orgData.agencyLevel; - }) + this.$http + .post(`/gov/org/agency/maporg`, { orgId, level }) + .then(({ data: { data } }) => { + this.orgData = data; + this.orgId = this.orgData.org_id; + this.orgLevel = this.orgData.level; + this.currentLevel = this.orgData.agencyLevel; + }); }, //获取地图上显示的组织数据 async getSubMapData() { const url = "sub_org_map"; - const {data, code, msg} = await requestPostBi( - url, - { - queryParam: { - org_id: this.orgId, - }, + const { data, code, msg } = await requestPostBi( + url, + { + queryParam: { + org_id: this.orgId, }, - { - // mockId: 61831860, - } + }, + { + // mockId: 61831860, + } ); if (code === 0) { - const {orgData} = this; + const { orgData } = this; orgData.children = data.map((item) => { return { ...item, @@ -337,7 +400,7 @@ export default { coordinates: item.coordinates || "", }; }); - this.orgData = {...orgData}; + this.orgData = { ...orgData }; } else { this.$message.error(msg); } @@ -351,7 +414,7 @@ export default { level: this.orgLevel, }; - const {data, code, msg} = await requestPost(url, params); + const { data, code, msg } = await requestPost(url, params); if (code === 0) { this.orgData = data; this.orgId = this.orgId; @@ -366,9 +429,30 @@ export default { }, }; - + + + diff --git a/src/views/dataBoard/renfang/resi/class.vue b/src/views/dataBoard/renfang/resi/class.vue index 2a8f4d827..015fa306e 100644 --- a/src/views/dataBoard/renfang/resi/class.vue +++ b/src/views/dataBoard/renfang/resi/class.vue @@ -1,746 +1,340 @@ diff --git a/src/views/dataBoard/renfang/resi/classNew.vue b/src/views/dataBoard/renfang/resi/classNew.vue new file mode 100644 index 000000000..2a8f4d827 --- /dev/null +++ b/src/views/dataBoard/renfang/resi/classNew.vue @@ -0,0 +1,747 @@ + + + + + diff --git a/src/views/dataBoard/renfang/resident/index.vue b/src/views/dataBoard/renfang/resident/index.vue index 3838d6e25..79fc61011 100644 --- a/src/views/dataBoard/renfang/resident/index.vue +++ b/src/views/dataBoard/renfang/resident/index.vue @@ -37,7 +37,7 @@ export default { }, }, { - path: "/dataBoard/renfang/resi-class", + path: "/dataBoard/renfang/resi-class-new", meta: { title: "居民列表", }, diff --git a/src/views/dataBoard/renfang/visualizing/components/dangyuan.vue b/src/views/dataBoard/renfang/visualizing/components/dangyuan.vue index 9e24764dd..a2075db31 100644 --- a/src/views/dataBoard/renfang/visualizing/components/dangyuan.vue +++ b/src/views/dataBoard/renfang/visualizing/components/dangyuan.vue @@ -157,7 +157,7 @@ export default { this.myChart1.setOption(option); this.myChart1.on("click", (a, b) => { this.$router.push({ - path: "/dataBoard/renfang/resi-class", + path: "/dataBoard/renfang/resi-class-new", query: { org_id: this.org_id, type_id: "aged", @@ -247,7 +247,7 @@ export default { }; this.myChart1.on("click", (a, b) => { this.$router.push({ - path: "/dataBoard/renfang/resi-class", + path: "/dataBoard/renfang/resi-class-new", query: { org_id: this.org_id, type_id: "aged", diff --git a/src/views/dataBoard/renfang/visualizing/components/dibaorenyuan.vue b/src/views/dataBoard/renfang/visualizing/components/dibaorenyuan.vue index ffb24a249..d52862e29 100644 --- a/src/views/dataBoard/renfang/visualizing/components/dibaorenyuan.vue +++ b/src/views/dataBoard/renfang/visualizing/components/dibaorenyuan.vue @@ -203,7 +203,7 @@ export default { this.myChart1.setOption(option); this.myChart1.on("click", (a, b) => { this.$router.push({ - path: "/dataBoard/renfang/resi-class", + path: "/dataBoard/renfang/resi-class-new", query: { org_id: this.org_id, type_id: "mlsp", @@ -306,7 +306,7 @@ export default { this.myChart2.setOption(option); this.myChart2.on("click", (a, b) => { this.$router.push({ - path: "/dataBoard/renfang/resi-class", + path: "/dataBoard/renfang/resi-class-new", query: { org_id: this.org_id, type_id: "mlsp", @@ -411,7 +411,7 @@ export default { this.myChart3.setOption(option); this.myChart3.on("click", (a, b) => { this.$router.push({ - path: "/dataBoard/renfang/resi-class", + path: "/dataBoard/renfang/resi-class-new", query: { org_id: this.org_id, type_id: "mlsp", @@ -515,7 +515,7 @@ export default { this.myChart4.setOption(option); this.myChart4.on("click", (a, b) => { this.$router.push({ - path: "/dataBoard/renfang/resi-class", + path: "/dataBoard/renfang/resi-class-new", query: { org_id: this.org_id, type_id: "mlsp", diff --git a/src/views/dataBoard/renfang/visualizing/components/laonianren.vue b/src/views/dataBoard/renfang/visualizing/components/laonianren.vue index 16f0d1540..b1a824e68 100644 --- a/src/views/dataBoard/renfang/visualizing/components/laonianren.vue +++ b/src/views/dataBoard/renfang/visualizing/components/laonianren.vue @@ -167,7 +167,7 @@ export default { this.myChart1.setOption(option); this.myChart1.on("click", (a, b) => { this.$router.push({ - path: "/dataBoard/renfang/resi-class", + path: "/dataBoard/renfang/resi-class-new", query: { org_id: this.org_id, type_id: "aged", @@ -259,7 +259,7 @@ export default { }; this.myChart2.on("click", (a, b) => { this.$router.push({ - path: "/dataBoard/renfang/resi-class", + path: "/dataBoard/renfang/resi-class-new", query: { org_id: this.org_id, type_id: "aged", diff --git a/src/views/dataBoard/renfang/visualizing/components/shiyerenyuan.vue b/src/views/dataBoard/renfang/visualizing/components/shiyerenyuan.vue index 9365f8f0a..5839174a6 100644 --- a/src/views/dataBoard/renfang/visualizing/components/shiyerenyuan.vue +++ b/src/views/dataBoard/renfang/visualizing/components/shiyerenyuan.vue @@ -221,7 +221,7 @@ export default { this.myChart1.setOption(option); this.myChart1.on("click", (a, b) => { this.$router.push({ - path: "/dataBoard/renfang/resi-class", + path: "/dataBoard/renfang/resi-class-new", query: { org_id: this.org_id, type_id: "aged", @@ -324,7 +324,7 @@ export default { this.myChart2.setOption(option); this.myChart2.on("click", (a, b) => { this.$router.push({ - path: "/dataBoard/renfang/resi-class", + path: "/dataBoard/renfang/resi-class-new", query: { org_id: this.org_id, type_id: "aged", @@ -429,7 +429,7 @@ export default { this.myChart3.setOption(option); this.myChart3.on("click", (a, b) => { this.$router.push({ - path: "/dataBoard/renfang/resi-class", + path: "/dataBoard/renfang/resi-class-new", query: { org_id: this.org_id, type_id: "aged", @@ -533,7 +533,7 @@ export default { this.myChart4.setOption(option); this.myChart4.on("click", (a, b) => { this.$router.push({ - path: "/dataBoard/renfang/resi-class", + path: "/dataBoard/renfang/resi-class-new", query: { org_id: this.org_id, type_id: "aged", @@ -637,7 +637,7 @@ export default { this.myChart5.setOption(option); this.myChart5.on("click", (a, b) => { this.$router.push({ - path: "/dataBoard/renfang/resi-class", + path: "/dataBoard/renfang/resi-class-new", query: { org_id: this.org_id, type_id: "aged", diff --git a/src/views/dataBoard/renfang/visualizing/components/zhiyuanzhe.vue b/src/views/dataBoard/renfang/visualizing/components/zhiyuanzhe.vue index 37d4751dc..8b8efd926 100644 --- a/src/views/dataBoard/renfang/visualizing/components/zhiyuanzhe.vue +++ b/src/views/dataBoard/renfang/visualizing/components/zhiyuanzhe.vue @@ -157,7 +157,7 @@ export default { this.myChart1.setOption(option); this.myChart1.on("click", (a, b) => { this.$router.push({ - path: "/dataBoard/renfang/resi-class", + path: "/dataBoard/renfang/resi-class-new", query: { org_id: this.org_id, type_id: "aged", @@ -249,7 +249,7 @@ export default { }; this.myChart2.on("click", (a, b) => { this.$router.push({ - path: "/dataBoard/renfang/resi-class", + path: "/dataBoard/renfang/resi-class-new", query: { org_id: this.org_id, type_id: "aged", diff --git a/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue b/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue index 6bd2b2eff..56e83fc80 100644 --- a/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue +++ b/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue @@ -15,15 +15,15 @@
事项详情

- 小区垃圾急需要处理,垃圾桶旁边垃圾堆积严重,现在已经影响居民的日常生活和出行,望有关部门能够重视。 + {{unsatisfiedMattersModel.reason}}

@@ -33,31 +33,31 @@
12345投诉
- 39 + {{unsatisfiedHisCount.satisfaction_12345}}
省满意度调查
- 102 + {{unsatisfiedHisCount.satisfaction_province}}
社区满意度自评
- 273 + {{unsatisfiedHisCount.satisfaction_community}}
回访记录
-
-
杨建国(网格长)
-
2023-08-17
-
上门回访
+
+
{{item.followUpUser}}({{item.roleName}})
+
{{item.followUpDate}}
+
{{item.followUpWay}}
@@ -75,15 +75,42 @@ export default { components: {Title}, data() { return { - dialogVisible: false + dialogVisible: false, + unsatisfiedMattersModel: '', + unsatisfiedHisCount: '', + followUpRecordDetails: '', + satisfactionSourceOptions: [{ + value: 'satisfaction_12345', + label: '12345投诉', + color: '#FFB73C', + }, { + value: 'satisfaction_province', + label: '省满意度调查', + color: '#64C1FF' + }, { + value: 'satisfaction_community', + label: '社区满意度自查', + color: '#08EBAE' + }] }; }, methods: { handleClose(done) { this.dialogVisible = false }, - open() { + open(id) { this.dialogVisible = true + this.getDetail(id) + }, + getDetail(id) { + this.$http.post('/governance/satisfactionDetailList/getUnsatisfiedMattersDetailInfo', id).then(({data: {data}}) => { + this.unsatisfiedMattersModel = data.unsatisfiedMattersModel + this.unsatisfiedHisCount = data.unsatisfiedHisCount + this.followUpRecordDetails = data.followUpRecordDetails + if(this.unsatisfiedMattersModel.satisfactionSource) { + this.unsatisfiedMattersModel.satisfactionSource = satisfactionSourceOptions.filter(item => item.value === this.unsatisfiedMattersModel.satisfactionSource)[0].label + } + }) } } } @@ -137,14 +164,17 @@ export default { line-height: 32px; margin: 0 0 10px; } + ul { margin: 0; padding: 0; list-style-type: none; } + li { color: #FFFFFF; line-height: 28px; + span { color: #9CB4D3 } @@ -156,16 +186,19 @@ export default { display: flex; justify-content: space-between; margin-bottom: 30px; + .text { font-size: 14px; font-weight: 400; color: #A3B9DA; margin-bottom: 17px; } + .num { font-size: 14px; font-weight: 400; color: #A3B9DA; + span { font-size: 32px; font-weight: bold; @@ -173,17 +206,22 @@ export default { } } } + .orange { color: #FFB73C; } + .green { color: #08EBAE; } + .light { color: #7FCEFF; } + .log { padding-left: 26px; + .log-item { display: flex; justify-content: space-between; @@ -191,6 +229,7 @@ export default { color: #fff; background: url("@/assets/images/manyidu/hf_line.png") bottom center no-repeat; padding: 9px 0; + .name { flex: 0 0 33.33333%; } diff --git a/src/views/dataBoard/satisfactionEval/dissatisfied/index.vue b/src/views/dataBoard/satisfactionEval/dissatisfied/index.vue index bb8e51eeb..3ecbdd4ce 100644 --- a/src/views/dataBoard/satisfactionEval/dissatisfied/index.vue +++ b/src/views/dataBoard/satisfactionEval/dissatisfied/index.vue @@ -3,45 +3,57 @@
+ + - + - + - + - - - - - - - 查询 + + 查询
@@ -53,71 +65,90 @@ width="80"/> - + - + + - + - + @@ -127,11 +158,11 @@ - +
@@ -146,15 +177,16 @@ export default { data() { return { queryParams: { - month: '', - org: '', - matterSource: '', - matterType: '', - name: '', - tel: '', - pageNum: 1, + month: this.$moment().format('YYYY-MM'), + agencyId: "", + satisfactionSource: "", + satisfactionCategory: "", + name: "", + mobile: "", + pageNo: 1, pageSize: 10, }, + id: {}, total: 0, breadcrumbList: [{ path: '/dataBoard/satisfactionEval/index', @@ -163,18 +195,80 @@ export default { path: '', name: '不满意事项列表' }], - monthOptions: new Array(12).fill(0).map((_, index) => { - return {label: (index - 0 + 1) + '月', value: (index - 0 + 1)} - }), - list: [{}, {}, {}] + orgOptions: [], + satisfactionCategoryOptions: [], + list: [], + satisfactionSourceOptions: [{ + value: 'satisfaction_12345', + label: '12345投诉', + color: '#FFB73C', + }, { + value: 'satisfaction_province', + label: '省满意度调查', + color: '#64C1FF' + }, { + value: 'satisfaction_community', + label: '社区满意度自查', + color: '#08EBAE' + }] } }, + mounted() { + this.getOrg() + }, methods: { + getSatisfactionCategoryOptions() { + this.queryParams.satisfactionCategory = '' + if(!this.queryParams.satisfactionSource) { + this.satisfactionCategoryOptions = [] + return + } + this.$http.get('/governance/satisfactionDetailList/getUnsatisfiedCategory?satisfactionSource=' + this.queryParams.satisfactionSource).then(({data: {data}}) => { + this.satisfactionCategoryOptions = data.map(item => { + return { + label: item.categoryName, + value: item.categoryCode + } + }) + }) + + }, + satisfactionSourceFormat(val) { + let satisfactionSource = this.satisfactionSourceOptions.filter(item => item.value === val)[0] + return satisfactionSource ? satisfactionSource : '' + }, + search() { + this.queryParams.pageNo = 1 + this.getList(); + }, getList() { + this.$http.get('/governance/satisfactionDetailList/getUnsatisfiedMattersList?' + this.$paramsFormat(this.queryParams)).then(({data: {data}}) => { + this.total = data.total + this.list = data.list + }) + }, + getOrg() { + let params = { + orgId: this.$store.state.chooseArea.chooseName.orgId, + level: this.$store.state.chooseArea.chooseName.level + } + this.$http.post(`/gov/org/agency/maporg`, params).then(async ({data: {data}}) => { + this.queryParams.agencyId = this.$store.state.chooseArea.chooseName.orgId + let parent = {value: data.id, label: data.name} + this.orgOptions = [parent, ...data.children.map(item => { + return { + value: item.id, + label: item.name + } + })] + this.getList() + }) }, - handleView() { - this.$refs.detail.open() + handleView(id) { + console.log(id) + this.id = id + this.$refs.detail.open(id) } } } @@ -204,18 +298,23 @@ export default { height: 32px; } } + .orange { color: #FFB73C; } + .blue { color: #64C1FF; } + .green { color: #08EBAE; } + .light { color: #3CF5FF; } + .red { color: #F95619; } diff --git a/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/detail.vue b/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/detail.vue index bee4c3220..0b3447516 100644 --- a/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/detail.vue +++ b/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/detail.vue @@ -3,50 +3,18 @@ - - -
事项详情
- - -
家庭关系
- -
- -
居民各项业务记录
- - - -
享受服务次数统计
- -
- -
积分记录
- -
-
-
-
- + - - \ No newline at end of file diff --git a/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/modules/EnjoyService.vue b/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/modules/EnjoyService.vue deleted file mode 100644 index 0e8ecee58..000000000 --- a/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/modules/EnjoyService.vue +++ /dev/null @@ -1,188 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/modules/Family.vue b/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/modules/Family.vue deleted file mode 100644 index 52af91e1a..000000000 --- a/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/modules/Family.vue +++ /dev/null @@ -1,76 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/modules/MatterDetails.vue b/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/modules/MatterDetails.vue deleted file mode 100644 index b965bc1e4..000000000 --- a/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/modules/MatterDetails.vue +++ /dev/null @@ -1,93 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/modules/PointsRecord.vue b/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/modules/PointsRecord.vue deleted file mode 100644 index 75f41e47a..000000000 --- a/src/views/dataBoard/satisfactionEval/dissatisfiedPersonnel/modules/PointsRecord.vue +++ /dev/null @@ -1,51 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/dataBoard/satisfactionEval/modules/EventSituation/index.vue b/src/views/dataBoard/satisfactionEval/modules/EventSituation/index.vue index e904dd399..060c19ec1 100644 --- a/src/views/dataBoard/satisfactionEval/modules/EventSituation/index.vue +++ b/src/views/dataBoard/satisfactionEval/modules/EventSituation/index.vue @@ -113,7 +113,6 @@ export default { .cur-month-item { margin-left: 71px; - .txt { font-size: 16px; font-weight: 400; @@ -150,7 +149,8 @@ export default { .his-month-item { flex: 1; position: relative; - padding-left: 25px; + //padding-left: 25px; + text-align: center; &:after { content: ''; diff --git a/src/views/dataBoard/satisfactionEval/modules/PersonnelPortrait/index.vue b/src/views/dataBoard/satisfactionEval/modules/PersonnelPortrait/index.vue index 6ffd06d18..07f184d0e 100644 --- a/src/views/dataBoard/satisfactionEval/modules/PersonnelPortrait/index.vue +++ b/src/views/dataBoard/satisfactionEval/modules/PersonnelPortrait/index.vue @@ -3,42 +3,42 @@
不满意人员画像
- - - - +
-
+
{{ gridName }}
-
+
{{ ageClassification }}
-
+
{{ residentTagName }}
-
+
{{ monthIncomeLevel }}
-
+
{{ cultureLevel }}
-
+
{{ marriageName }}
-
-
{{ gender==='1'?'男':gender==='2'?'女':gender==='0'?'未知':'' }}
+
+
{{ gender === '1' ? '男' : gender === '2' ? '女' : gender === '0' ? '未知' : '' }}
-
-
按画像匹配到同类: {{matchPeopleNum?matchPeopleNum:0}}
+
+
按画像匹配到同类: {{ matchPeopleNum ? matchPeopleNum : 0 }}
@@ -61,7 +61,7 @@ export default { label: '按12345热线投诉结果', value: '12345' }], - typeCondition: 1, + typeCondition: '', typeConditionList: [], gender: "", marriageName: "", @@ -70,19 +70,22 @@ export default { gridName: "", monthIncomeLevel: "", residentTagName: "", - matchPeopleNum: 0 + matchPeopleNum: 0, + searchParams: '' } }, watch: { "$store.state.chooseArea.chooseName"(val) { if (val.orgId) { - this.getDisKey() + // this.getDisKey() + this.getData(); } } }, mounted() { if (this.$store.state.chooseArea.chooseName.orgId) { - this.getDisKey() + // this.getDisKey() + this.getData(); } }, methods: { @@ -90,11 +93,13 @@ export default { this.resultType = val this.getData() }, + gotopage() { + 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.getData(); }) }, getData() { @@ -113,6 +118,8 @@ export default { this.monthIncomeLevel = data.monthIncomeLevel; this.residentTagName = data.residentTagName; this.matchPeopleNum = data.matchPeopleNum; + + this.searchParams = JSON.stringify({...data, ...params}) }) } } diff --git a/src/views/dataBoard/satisfactionEval/modules/PotentialPeople/index.vue b/src/views/dataBoard/satisfactionEval/modules/PotentialPeople/index.vue index abe79d71c..4223950e9 100644 --- a/src/views/dataBoard/satisfactionEval/modules/PotentialPeople/index.vue +++ b/src/views/dataBoard/satisfactionEval/modules/PotentialPeople/index.vue @@ -1,6 +1,6 @@