-
-
+
+
-
-
-
+
+
-
-
+
+
-
+
-
+
-
+ v-model="sq12345Date"
+ format="yyyy-MM"
+ value-format="yyyy-MM"
+ type="month"
+ :clearable="false"
+ placeholder="选择月"
+ />
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -93,8 +157,15 @@ import jdwgy from "@/views/dataBoard/overview/components/jdwgy.vue";
import rfsjtj from "@/views/dataBoard/overview/components/rfsjtj.vue";
import sqrfph from "@/views/dataBoard/overview/components/sqrfph.vue";
import sq12345 from "@/views/dataBoard/overview/components/sq12345.vue";
-import { requestPostBi } from "@/js/dai/request-bipass";
-import { requestPost } from "@/js/dai/request";
+
+import DynamicHumanRoomData from "@/views/dataBoard/overview/components/DynamicHumanRoomData.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 {requestPostBi} from "@/js/dai/request-bipass";
+import {requestPost} from "@/js/dai/request";
import getQueryPara from "dai-js/modules/getQueryPara";
export default {
@@ -112,22 +183,31 @@ export default {
rfsjtj,
sqrfph,
sq12345,
+ DynamicHumanRoomData,
+ CommunityResult,
+ EventAndFollowUp,
+ RankingGridData
},
data() {
return {
loading: false,
- rfphDate: "2023-03",
+ 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: [],
}, //当前组织对象
orgId: "",
orgLevel: "",
+ currentLevel: "",
breadList: [
{
orgId: "",
orgLevel: "",
- meta: { title: "人房总览" },
+ meta: {title: "人房总览"},
},
],
@@ -137,12 +217,19 @@ export default {
},
mounted() {
- const queryOrgId = getQueryPara("orgId");
- const queryOrgLevel = getQueryPara("orgLevel");
- this.init(queryOrgId, queryOrgLevel);
+ // const queryOrgId = getQueryPara("orgId");
+ // const queryOrgLevel = getQueryPara("orgLevel");
+ // this.init(queryOrgId, queryOrgLevel);
+ if(this.$store.state.chooseArea.chooseName.orgId) {
+ this.getMapData()
+ }
},
- watch: {},
+ watch: {
+ "$store.state.chooseArea.chooseName"(val){
+ this.getMapData()
+ }
+ },
methods: {
async init(queryOrgId, queryOrgLevel) {
@@ -157,12 +244,12 @@ export default {
//加载组织数据
this.loading = false;
await this.getMapData();
- await this.getSubMapData();
+ // await this.getSubMapData();
this.loading = true;
},
- changeDate(e){
- this.rfphDate=e;
+ changeDate(e) {
+ this.rfphDate = e;
},
handleClickDotBtn(type, info) {
console.log("handleClickDotBtn", type, info);
@@ -173,21 +260,23 @@ export default {
}
},
- clickBreadItem({ item }) {
+ clickBreadItem({item}) {
this.toBread(item);
},
clickAgencyItem(item) {
+ console.log(item, 'item')
this.toBread({
orgId: item.id,
orgLevel: item.level,
- meta: { title: item.name },
+ meta: {title: item.name},
});
+ this.getMapData(item.id,item.level)
},
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) {
@@ -212,39 +301,17 @@ export default {
},
//获取地图上显示的组织数据
- async getMapData() {
+ async getMapData(orgId=this.$store.state.chooseArea.chooseName.orgId,level=this.$store.state.chooseArea.chooseName.level) {
console.log("=========================getMapData");
const url = "org_map";
-
- const { data, code, msg } = await requestPostBi(
- url,
- {
- queryParam: {
- org_id: this.orgId,
- },
- },
- {
- // mockId: 60810589,
- }
- );
-
- if (code === 0) {
- console.log("data::", data);
- let info = data[0];
- this.orgData = {
- ...info,
- id: info.org_id,
- name: info.org_name,
- latitude: parseFloat(info.latitude),
- longitude: parseFloat(info.longitude),
- coordinates: info.coordinates || "",
- children: [],
- };
+ this.$http.post(`/gov/org/agency/maporg`, {orgId, level}).then(({data: {data}}) => {
+ console.log(data,'datadatadata')
+ this.orgData = data;
this.orgId = this.orgData.org_id;
this.orgLevel = this.orgData.level;
- } else {
- this.$message.error(msg);
- }
+ this.currentLevel = this.orgData.agencyLevel;
+ console.log(this.orgData, 'orgData')
+ })
},
//获取地图上显示的组织数据
@@ -252,20 +319,20 @@ export default {
console.log("=========================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,
@@ -276,10 +343,10 @@ export default {
coordinates: item.coordinates || "",
};
});
- this.orgData = { ...orgData };
+ this.orgData = {...orgData};
console.log(
- "==========================getSubMapData:result",
- this.orgData
+ "==========================getSubMapData:result",
+ this.orgData
);
} else {
this.$message.error(msg);
@@ -294,7 +361,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;
@@ -311,7 +378,7 @@ export default {
diff --git a/src/views/dataBoard/satisfactionEval/components/Tabs/index.vue b/src/views/dataBoard/satisfactionEval/components/Tabs/index.vue
index 70597d2a8..93d9bfb22 100644
--- a/src/views/dataBoard/satisfactionEval/components/Tabs/index.vue
+++ b/src/views/dataBoard/satisfactionEval/components/Tabs/index.vue
@@ -1,6 +1,7 @@
-
@@ -30,7 +31,7 @@ export default {
methods: {
tabClick(index) {
this.value2 = this.list[index].value
- this.$emit('changeVal',this.value)
+ this.$emit('changeVal',this.value2)
this.$emit('changeLabel',this.list[index].label)
}
}
diff --git a/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue b/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue
index 18658c207..6bd2b2eff 100644
--- a/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue
+++ b/src/views/dataBoard/satisfactionEval/dissatisfied/detail.vue
@@ -1,8 +1,8 @@
From 7c1af12fa34fbcc1748e77bbff8715418ed75939 Mon Sep 17 00:00:00 2001
From: SongZhen <>
Date: Thu, 21 Sep 2023 09:22:07 +0800
Subject: [PATCH 04/11] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E4=BF=A1=E6=81=AF?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/dataBoard/cpts/map/index.vue | 162 +++------
yarn.lock | 468 +++++++++++++++++++++++--
2 files changed, 491 insertions(+), 139 deletions(-)
diff --git a/src/views/dataBoard/cpts/map/index.vue b/src/views/dataBoard/cpts/map/index.vue
index b96ad5d1a..398546696 100644
--- a/src/views/dataBoard/cpts/map/index.vue
+++ b/src/views/dataBoard/cpts/map/index.vue
@@ -1,38 +1,17 @@
-
- 切换深色模式
-
-
- 切换浅色模式
-
-
-
+
切换深色模式
+
切换浅色模式
+
+
diff --git a/src/views/dataBoard/organizational/personnel/modules/EnjoyService.vue b/src/views/dataBoard/organizational/personnel/modules/EnjoyService.vue
index 0e8ecee58..8d20d9699 100644
--- a/src/views/dataBoard/organizational/personnel/modules/EnjoyService.vue
+++ b/src/views/dataBoard/organizational/personnel/modules/EnjoyService.vue
@@ -1,71 +1,95 @@
\ No newline at end of file
+
diff --git a/src/views/dataBoard/organizational/personnel/modules/Family.vue b/src/views/dataBoard/organizational/personnel/modules/Family.vue
index 52af91e1a..57886409d 100644
--- a/src/views/dataBoard/organizational/personnel/modules/Family.vue
+++ b/src/views/dataBoard/organizational/personnel/modules/Family.vue
@@ -1,44 +1,79 @@
-
-
张三(户主)
-
入户状态:入户一致
-
居民分类:老年人
-
-
-
张三(户主)
-
入户状态:入户一致
-
居民分类:老年人
-
-
-
-
张三(户主)
-
入户状态:入户一致
+
+
+ {{ item.name }}
+ ({{ item.houseHolderRel == "本人" ? "户主" : item.houseHolderRel }})
+
+
+
+ 入户状态:{{ item.householdSituation }}
+
+
居民分类:{{ getType(item.classificationOfInhabitantsList) }}
\ No newline at end of file
+
diff --git a/src/views/dataBoard/organizational/personnel/modules/MatterDetails.vue b/src/views/dataBoard/organizational/personnel/modules/MatterDetails.vue
index b965bc1e4..a8563dc3e 100644
--- a/src/views/dataBoard/organizational/personnel/modules/MatterDetails.vue
+++ b/src/views/dataBoard/organizational/personnel/modules/MatterDetails.vue
@@ -1,23 +1,60 @@
-

+
\ No newline at end of file
+
diff --git a/src/views/dataBoard/organizational/personnel/modules/PointsRecord.vue b/src/views/dataBoard/organizational/personnel/modules/PointsRecord.vue
index 75f41e47a..e64cade4f 100644
--- a/src/views/dataBoard/organizational/personnel/modules/PointsRecord.vue
+++ b/src/views/dataBoard/organizational/personnel/modules/PointsRecord.vue
@@ -1,11 +1,11 @@
-
-
+10
+
+
+{{ item.classificationNum }}
-
便民服务-配餐服务
-
2023-07-15 15:30:30
+
{{ item.classification }}
+
{{ item.recordTime }}
@@ -14,21 +14,37 @@
\ No newline at end of file
+
diff --git a/src/views/dataBoard/organizational/personnel/modules/businessTables/community.vue b/src/views/dataBoard/organizational/personnel/modules/businessTables/community.vue
new file mode 100644
index 000000000..36809e81c
--- /dev/null
+++ b/src/views/dataBoard/organizational/personnel/modules/businessTables/community.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dataBoard/organizational/personnel/modules/businessTables/complaint.vue b/src/views/dataBoard/organizational/personnel/modules/businessTables/complaint.vue
new file mode 100644
index 000000000..24cceda2e
--- /dev/null
+++ b/src/views/dataBoard/organizational/personnel/modules/businessTables/complaint.vue
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dataBoard/organizational/personnel/modules/businessTables/economize.vue b/src/views/dataBoard/organizational/personnel/modules/businessTables/economize.vue
new file mode 100644
index 000000000..ac6e41dbd
--- /dev/null
+++ b/src/views/dataBoard/organizational/personnel/modules/businessTables/economize.vue
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dataBoard/organizational/personnel/modules/businessTables/give-service.vue b/src/views/dataBoard/organizational/personnel/modules/businessTables/give-service.vue
new file mode 100644
index 000000000..dd261f80f
--- /dev/null
+++ b/src/views/dataBoard/organizational/personnel/modules/businessTables/give-service.vue
@@ -0,0 +1,109 @@
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dataBoard/organizational/personnel/modules/businessTables/reporting-events.vue b/src/views/dataBoard/organizational/personnel/modules/businessTables/reporting-events.vue
new file mode 100644
index 000000000..bcd3acff6
--- /dev/null
+++ b/src/views/dataBoard/organizational/personnel/modules/businessTables/reporting-events.vue
@@ -0,0 +1,125 @@
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dataBoard/organizational/personnel/modules/businessTables/resident.vue b/src/views/dataBoard/organizational/personnel/modules/businessTables/resident.vue
new file mode 100644
index 000000000..35ca6b7ac
--- /dev/null
+++ b/src/views/dataBoard/organizational/personnel/modules/businessTables/resident.vue
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dataBoard/overview/index.vue b/src/views/dataBoard/overview/index.vue
index a2fceff2b..27e2c99dd 100644
--- a/src/views/dataBoard/overview/index.vue
+++ b/src/views/dataBoard/overview/index.vue
@@ -12,7 +12,7 @@
-
vervie
+
diff --git a/src/views/dataBoard/satisfactionEval/components/Tabs/index.vue b/src/views/dataBoard/satisfactionEval/components/Tabs/index.vue
index 70597d2a8..d56f4af8c 100644
--- a/src/views/dataBoard/satisfactionEval/components/Tabs/index.vue
+++ b/src/views/dataBoard/satisfactionEval/components/Tabs/index.vue
@@ -1,7 +1,13 @@
-
- {{item.label}}
+
+ {{ item.label }}
@@ -10,31 +16,32 @@
export default {
name: "Tabs",
props: {
- list:{
+ list: {
type: Array,
- default: () => []
+ default: () => [],
+ },
+ value: {
+ type: [String, Number],
+ default: "",
},
- value:{
- type: [String,Number],
- default: ''
- }
},
data() {
return {
value2: this.value,
- }
+ };
},
mounted() {
- this.value2 = this.value
+ this.value2 = this.value;
},
methods: {
tabClick(index) {
- this.value2 = this.list[index].value
- this.$emit('changeVal',this.value)
- this.$emit('changeLabel',this.list[index].label)
- }
- }
-}
+ const val = this.list[index].value
+ this.value2 = val;
+ this.$emit("changeVal", val);
+ this.$emit("changeLabel", this.list[index].label);
+ },
+ },
+};
\ No newline at end of file
+
From 95e3f3ebb60f1b161d0fc2439eb5f48949a89b79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E8=8B=A5=E6=99=A8?= <974220104@qq.com>
Date: Thu, 21 Sep 2023 11:05:50 +0800
Subject: [PATCH 08/11] =?UTF-8?q?=E5=B1=85=E6=B0=91=E7=94=BB=E5=83=8F?=
=?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../dataBoard/organizational/personnel/index.vue | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/src/views/dataBoard/organizational/personnel/index.vue b/src/views/dataBoard/organizational/personnel/index.vue
index e0a5a8eca..504e80b74 100644
--- a/src/views/dataBoard/organizational/personnel/index.vue
+++ b/src/views/dataBoard/organizational/personnel/index.vue
@@ -46,23 +46,9 @@ export default {
},
data() {
return {
- breadcrumbList: [
- {
- path: "/organizational/dangTree",
- name: "党组织架构",
- },
- {
- path: "",
- name: "居民画像",
- },
- ],
};
},
mounted() {
- // console.log(this.breadcrumbList, this.$route);
-
- this.$set(this.breadcrumbList[2], "name", this.$route.query.name);
- this.breadcrumbList[2].name = this.$route.query.name;
},
};
From 290cb675fe03ba6a7052e453098cf91bcfb0f405 Mon Sep 17 00:00:00 2001
From: SongZhen <>
Date: Thu, 21 Sep 2023 11:12:41 +0800
Subject: [PATCH 09/11] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BE=AE=E7=BD=91?=
=?UTF-8?q?=E6=A0=BC=E9=9D=A2=E5=8C=85=E5=B1=91=E3=80=81=E5=B1=85=E6=B0=91?=
=?UTF-8?q?=E7=94=BB=E5=83=8F=E7=BB=84=E4=BB=B6=E4=BD=8D=E7=BD=AE=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/GridTree/nodeWrap.vue | 3 +-
src/router/index.js | 6 +-
.../personnel/components/Breadcrumb/index.vue | 0
.../personnel/components/Pagination/index.vue | 0
.../personnel/components/Tabs/index.vue | 0
.../personnel/components/Title/index.vue | 0
.../personnel/index.vue | 0
.../personnel/modules/BusinessRecords.vue | 0
.../personnel/modules/EnjoyService.vue | 0
.../personnel/modules/Family.vue | 0
.../personnel/modules/MatterDetails.vue | 0
.../personnel/modules/PointsRecord.vue | 0
.../organizational/microgrid/index.vue | 79 +++++++++++--------
13 files changed, 51 insertions(+), 37 deletions(-)
rename src/views/dataBoard/{organizational => cpts}/personnel/components/Breadcrumb/index.vue (100%)
rename src/views/dataBoard/{organizational => cpts}/personnel/components/Pagination/index.vue (100%)
rename src/views/dataBoard/{organizational => cpts}/personnel/components/Tabs/index.vue (100%)
rename src/views/dataBoard/{organizational => cpts}/personnel/components/Title/index.vue (100%)
rename src/views/dataBoard/{organizational => cpts}/personnel/index.vue (100%)
rename src/views/dataBoard/{organizational => cpts}/personnel/modules/BusinessRecords.vue (100%)
rename src/views/dataBoard/{organizational => cpts}/personnel/modules/EnjoyService.vue (100%)
rename src/views/dataBoard/{organizational => cpts}/personnel/modules/Family.vue (100%)
rename src/views/dataBoard/{organizational => cpts}/personnel/modules/MatterDetails.vue (100%)
rename src/views/dataBoard/{organizational => cpts}/personnel/modules/PointsRecord.vue (100%)
diff --git a/src/components/GridTree/nodeWrap.vue b/src/components/GridTree/nodeWrap.vue
index c22d450d1..0f046637d 100644
--- a/src/components/GridTree/nodeWrap.vue
+++ b/src/components/GridTree/nodeWrap.vue
@@ -96,7 +96,8 @@ export default {
},
gotoPersonnel(item) {
const grandPid = this.findParentParentId(this.nodeConfig, item.pid);
- this.$router.push(`/organizational/microgrid/${item.id}/${grandPid}`);
+ const name = item.name ? item.name : "恭喜发财";
+ this.$router.push(`/organizational/microgrid/${item.id}/${grandPid}/${name}`);
},
},
};
diff --git a/src/router/index.js b/src/router/index.js
index adf278a25..858bb677a 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -236,7 +236,7 @@ export const dataBoardRoutes = {
meta: {
title: "可视化数据",
isTab: false,
- keepAlive:false
+ keepAlive: false,
},
},
{
@@ -414,7 +414,7 @@ export const dataBoardRoutes = {
{
path: "/organizational/orgPersonnel",
props: true,
- component: () => import("@/views/dataBoard/organizational/personnel/index"),
+ component: () => import("@/views/dataBoard/cpts/personnel/index"),
name: "OrgPersonnel",
meta: {
title: "居民画像",
@@ -422,7 +422,7 @@ export const dataBoardRoutes = {
},
},
{
- path: "/organizational/microgrid/:id/:pid",
+ path: "/organizational/microgrid/:id/:pid/:name",
props: true,
component: () => import("@/views/dataBoard/organizational/microgrid/index"),
name: "Microgrid",
diff --git a/src/views/dataBoard/organizational/personnel/components/Breadcrumb/index.vue b/src/views/dataBoard/cpts/personnel/components/Breadcrumb/index.vue
similarity index 100%
rename from src/views/dataBoard/organizational/personnel/components/Breadcrumb/index.vue
rename to src/views/dataBoard/cpts/personnel/components/Breadcrumb/index.vue
diff --git a/src/views/dataBoard/organizational/personnel/components/Pagination/index.vue b/src/views/dataBoard/cpts/personnel/components/Pagination/index.vue
similarity index 100%
rename from src/views/dataBoard/organizational/personnel/components/Pagination/index.vue
rename to src/views/dataBoard/cpts/personnel/components/Pagination/index.vue
diff --git a/src/views/dataBoard/organizational/personnel/components/Tabs/index.vue b/src/views/dataBoard/cpts/personnel/components/Tabs/index.vue
similarity index 100%
rename from src/views/dataBoard/organizational/personnel/components/Tabs/index.vue
rename to src/views/dataBoard/cpts/personnel/components/Tabs/index.vue
diff --git a/src/views/dataBoard/organizational/personnel/components/Title/index.vue b/src/views/dataBoard/cpts/personnel/components/Title/index.vue
similarity index 100%
rename from src/views/dataBoard/organizational/personnel/components/Title/index.vue
rename to src/views/dataBoard/cpts/personnel/components/Title/index.vue
diff --git a/src/views/dataBoard/organizational/personnel/index.vue b/src/views/dataBoard/cpts/personnel/index.vue
similarity index 100%
rename from src/views/dataBoard/organizational/personnel/index.vue
rename to src/views/dataBoard/cpts/personnel/index.vue
diff --git a/src/views/dataBoard/organizational/personnel/modules/BusinessRecords.vue b/src/views/dataBoard/cpts/personnel/modules/BusinessRecords.vue
similarity index 100%
rename from src/views/dataBoard/organizational/personnel/modules/BusinessRecords.vue
rename to src/views/dataBoard/cpts/personnel/modules/BusinessRecords.vue
diff --git a/src/views/dataBoard/organizational/personnel/modules/EnjoyService.vue b/src/views/dataBoard/cpts/personnel/modules/EnjoyService.vue
similarity index 100%
rename from src/views/dataBoard/organizational/personnel/modules/EnjoyService.vue
rename to src/views/dataBoard/cpts/personnel/modules/EnjoyService.vue
diff --git a/src/views/dataBoard/organizational/personnel/modules/Family.vue b/src/views/dataBoard/cpts/personnel/modules/Family.vue
similarity index 100%
rename from src/views/dataBoard/organizational/personnel/modules/Family.vue
rename to src/views/dataBoard/cpts/personnel/modules/Family.vue
diff --git a/src/views/dataBoard/organizational/personnel/modules/MatterDetails.vue b/src/views/dataBoard/cpts/personnel/modules/MatterDetails.vue
similarity index 100%
rename from src/views/dataBoard/organizational/personnel/modules/MatterDetails.vue
rename to src/views/dataBoard/cpts/personnel/modules/MatterDetails.vue
diff --git a/src/views/dataBoard/organizational/personnel/modules/PointsRecord.vue b/src/views/dataBoard/cpts/personnel/modules/PointsRecord.vue
similarity index 100%
rename from src/views/dataBoard/organizational/personnel/modules/PointsRecord.vue
rename to src/views/dataBoard/cpts/personnel/modules/PointsRecord.vue
diff --git a/src/views/dataBoard/organizational/microgrid/index.vue b/src/views/dataBoard/organizational/microgrid/index.vue
index 0f8f8a1f0..300df0841 100644
--- a/src/views/dataBoard/organizational/microgrid/index.vue
+++ b/src/views/dataBoard/organizational/microgrid/index.vue
@@ -12,42 +12,41 @@
-
-
-
-
-
-
-
+
+
+
+
+ {{ getStatusMap(scope.row.status) }}
+
+
+
-
-
-
-
-
-
+
+
+
+
+ {{ getStatusMap(scope.row.status) }}
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
查看
@@ -74,6 +73,7 @@ import Pagination from "@/views/dataBoard/satisfactionEval/components/Pagination
import SameDialog from "./components/popDetails.vue";
import ReportAnEvent from "./components/reportAnEvent.vue";
import Safetyhazard from "./components/safetyhazard.vue";
+import { get } from "sortablejs";
export default {
name: "Microgrid",
components: { Breadcrumb, Pagination, SameDialog, ReportAnEvent, Safetyhazard },
@@ -140,6 +140,7 @@ export default {
},
mounted() {
this.getList();
+ this.breadcrumbList[1].name = this.paramsData.name + "(" + "微网格" + ")";
},
methods: {
getList() {
@@ -166,6 +167,7 @@ export default {
},
chooseNav(item) {
+ this.list = [];
this.itemNav = item.key;
this.otherTabel = item.key === 1 ? "sbsj" : item.key === 2 ? "jmxq" : item.key === 3 ? "tzrq" : "aqyh";
this.navList.forEach((d) => {
@@ -200,6 +202,17 @@ export default {
this.showDialogSaft = true;
}
},
+
+ getStatusMap(s) {
+ const statusMap = new Map([
+ ["pending", "待处理"],
+ ["canceled", "已取消"],
+ ["assigned", "已派单"],
+ ["have_order", "已接单"],
+ ["finished", "已完成"],
+ ]);
+ return statusMap.get(s);
+ },
},
};
From 07ddba8fa71a6fcc0dacb1b18253e95a43f81b7c Mon Sep 17 00:00:00 2001
From: SongZhen <>
Date: Thu, 21 Sep 2023 13:37:16 +0800
Subject: [PATCH 10/11] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BB=84=E4=BB=B6?=
=?UTF-8?q?=E8=B7=AF=E5=BE=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../cpts/personnel/modules/BusinessRecords.vue | 12 ++++++------
.../personnel/modules/businessTables/community.vue | 0
.../personnel/modules/businessTables/complaint.vue | 0
.../personnel/modules/businessTables/economize.vue | 0
.../modules/businessTables/give-service.vue | 0
.../modules/businessTables/reporting-events.vue | 0
.../personnel/modules/businessTables/resident.vue | 0
.../dataBoard/organizational/personalPage/index.vue | 0
8 files changed, 6 insertions(+), 6 deletions(-)
rename src/views/dataBoard/{organizational => cpts}/personnel/modules/businessTables/community.vue (100%)
rename src/views/dataBoard/{organizational => cpts}/personnel/modules/businessTables/complaint.vue (100%)
rename src/views/dataBoard/{organizational => cpts}/personnel/modules/businessTables/economize.vue (100%)
rename src/views/dataBoard/{organizational => cpts}/personnel/modules/businessTables/give-service.vue (100%)
rename src/views/dataBoard/{organizational => cpts}/personnel/modules/businessTables/reporting-events.vue (100%)
rename src/views/dataBoard/{organizational => cpts}/personnel/modules/businessTables/resident.vue (100%)
create mode 100644 src/views/dataBoard/organizational/personalPage/index.vue
diff --git a/src/views/dataBoard/cpts/personnel/modules/BusinessRecords.vue b/src/views/dataBoard/cpts/personnel/modules/BusinessRecords.vue
index 04846c5fc..38c6201bf 100644
--- a/src/views/dataBoard/cpts/personnel/modules/BusinessRecords.vue
+++ b/src/views/dataBoard/cpts/personnel/modules/BusinessRecords.vue
@@ -12,12 +12,12 @@
@@ -66,4 +80,7 @@ export default {
.breadcrumb {
margin-bottom: 25px;
}
+a:hover {
+ cursor: pointer;
+}
diff --git a/src/views/dataBoard/cpts/personnel/modules/BusinessRecords.vue b/src/views/dataBoard/cpts/personnel/modules/BusinessRecords.vue
index 38c6201bf..92eb8db3b 100644
--- a/src/views/dataBoard/cpts/personnel/modules/BusinessRecords.vue
+++ b/src/views/dataBoard/cpts/personnel/modules/BusinessRecords.vue
@@ -104,6 +104,7 @@ export default {
diff --git a/src/views/dataBoard/cpts/personnel/modules/PointsRecord.vue b/src/views/dataBoard/cpts/personnel/modules/PointsRecord.vue
index e64cade4f..c671a394a 100644
--- a/src/views/dataBoard/cpts/personnel/modules/PointsRecord.vue
+++ b/src/views/dataBoard/cpts/personnel/modules/PointsRecord.vue
@@ -38,6 +38,7 @@ export default {
diff --git a/src/views/dataBoard/renfang/visualizing/components/dataTitle.vue b/src/views/dataBoard/renfang/visualizing/components/dataTitle.vue
index 8201a13ba..a11809a02 100644
--- a/src/views/dataBoard/renfang/visualizing/components/dataTitle.vue
+++ b/src/views/dataBoard/renfang/visualizing/components/dataTitle.vue
@@ -3,6 +3,7 @@
{{ title }}
+