diff --git a/src/assets/scss/dataBoard/overview/index.scss b/src/assets/scss/dataBoard/overview/index.scss index a82c0ec4e..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,10 +582,10 @@ height: 40px; line-height: 40px; width: 110px; - overflow: hidden; font-size: 14px; font-weight: 400; color: #FFFFFF; + overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } diff --git a/src/components/JwTree/nodeWrap.vue b/src/components/JwTree/nodeWrap.vue index 335bb9119..e6adc84e2 100644 --- a/src/components/JwTree/nodeWrap.vue +++ b/src/components/JwTree/nodeWrap.vue @@ -5,7 +5,7 @@
{{ spliceNameFun(nodeConfig.organizationName, 8) }}
-
{{ spliceNameFun(nodeConfig.name, 12) }}
+
{{ spliceNameFun(nodeConfig.name, 12) }}
@@ -20,17 +20,17 @@
{{ spliceNameFun(item.organizationName, 8) }}
-
{{ spliceNameFun(item.name, 12) }}
+
{{ spliceNameFun(item.name, 12) }}
{{ spliceNameFun(item.organizationName, 8) }}
-
{{ spliceNameFun(item.name, 12) }}
+
{{ spliceNameFun(item.name, 12) }}
-
+
{{ spliceNameFun(item.name, 3) }}
@@ -79,8 +79,15 @@ export default { return this.sixLevelArr.includes(item.level); }, - gotoPersonnel() { - this.$router.push("/organizational/orgPersonnel"); + gotoPersonnel(id) { + if (id) { + this.$router.push("/organizational/orgPersonnel"); + } else { + this.$message({ + message: "无法跳转", + type: "error", + }); + } }, }, }; diff --git a/src/components/Tree/nodeWrap.vue b/src/components/Tree/nodeWrap.vue index 680c93c18..cf20c7ace 100644 --- a/src/components/Tree/nodeWrap.vue +++ b/src/components/Tree/nodeWrap.vue @@ -6,7 +6,7 @@
{{ spliceNameFun(nodeConfig.partyOrgName, 8) }}
-
{{ spliceNameFun(nodeConfig.principalName, 12) }}
+
{{ spliceNameFun(nodeConfig.principalName, 12) }}
@@ -21,19 +21,19 @@
{{ spliceNameFun(item.partyOrgName, 8) }}
-
{{ spliceNameFun(item.principalName, 12) }}
+
{{ spliceNameFun(item.principalName, 12) }}
{{ spliceNameFun(item.partyOrgName, 8) }}
-
{{ spliceNameFun(item.principalName, 12) }}
+
{{ spliceNameFun(item.principalName, 12) }}
-
{{ spliceNameFun(item.principalName, 3) }}
+
{{ spliceNameFun(item.principalName, 3) }}
@@ -53,7 +53,7 @@ 空巢老人
--> -
+
{{ spliceNameFun(item.principalName, 3) }}
@@ -145,8 +145,12 @@ export default { }); }, - gotoPersonnel() { - this.$router.push("/organizational/orgPersonnel"); + gotoPersonnel(id) { + if (id) { + this.$router.push({ path: "/organizational/orgPersonnel", query: { user_id: id } }); + } else { + this.$message.error("无法跳转!"); + } }, }, }; 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/organizational/dangTree/index.vue b/src/views/dataBoard/organizational/dangTree/index.vue index 43bd9a2c2..ff6b5273c 100644 --- a/src/views/dataBoard/organizational/dangTree/index.vue +++ b/src/views/dataBoard/organizational/dangTree/index.vue @@ -46,7 +46,6 @@ export default { if (orgId) { this.getTreeData(); } - this.getTextMap(); }, methods: { getLevelArrNum(myArray) { diff --git a/src/views/dataBoard/organizational/microgrid/components/popDetails.vue b/src/views/dataBoard/organizational/microgrid/components/popDetails.vue index 0fc402117..f2c8c0670 100644 --- a/src/views/dataBoard/organizational/microgrid/components/popDetails.vue +++ b/src/views/dataBoard/organizational/microgrid/components/popDetails.vue @@ -707,12 +707,13 @@ export default { } }, - async getInfo() { + async getInfo(val) { const url = "resident_info"; this.loading = true; const { data, code, msg } = await requestPostBi(url, { queryParam: { - resident_id: 1001001, + resident_id: val, + // 1001001 }, }); if (code === 0) { @@ -809,7 +810,6 @@ export default { { type: "operate", list: ["查看"] }, ]; }); - } else { this.$message.error(msg); } diff --git a/src/views/dataBoard/organizational/microgrid/components/reportAnEvent.vue b/src/views/dataBoard/organizational/microgrid/components/reportAnEvent.vue index 31f1fddfc..d75c3476f 100644 --- a/src/views/dataBoard/organizational/microgrid/components/reportAnEvent.vue +++ b/src/views/dataBoard/organizational/microgrid/components/reportAnEvent.vue @@ -1,9 +1,9 @@ - - \ 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 @@