Browse Source

人房页面修改

V1.0
张若晨 2 years ago
parent
commit
1337b85b15
  1. 14
      src/views/dataBoard/overview/components/jdwgy.vue
  2. 5
      src/views/dataBoard/overview/components/map-top.vue
  3. 2
      src/views/dataBoard/renfang/index.vue

14
src/views/dataBoard/overview/components/jdwgy.vue

@ -5,6 +5,7 @@
:data="list" :data="list"
v-if="currentLevelData.orgLevel != 'grid'" v-if="currentLevelData.orgLevel != 'grid'"
v-loading="loading" v-loading="loading"
element-loading-background="rgba(0, 0, 0, 0.3)"
max-height="190px" max-height="190px"
height="190px" height="190px"
> >
@ -95,7 +96,15 @@ export default {
} }
}, },
}, },
mounted() {}, mounted() {
if (this.currentLevelData.orgId) {
this.getData(
this.peopleType,
this.currentLevelData.orgLevel,
this.currentLevelData.orgId
);
}
},
methods: { methods: {
getData(peopleType, level = "", orgId = "") { getData(peopleType, level = "", orgId = "") {
this.loading = true; this.loading = true;
@ -128,13 +137,14 @@ export default {
} }
}, },
handleClick(item) { handleClick(item) {
console.log("handleClick::", item); if (item.id) {
this.$router.push({ this.$router.push({
path: "/dataBoard/overview/resident", path: "/dataBoard/overview/resident",
query: { query: {
user_id: item.id, user_id: item.id,
}, },
}); });
}
}, },
}, },
}; };

5
src/views/dataBoard/overview/components/map-top.vue

@ -89,6 +89,11 @@ export default {
} }
}, },
}, },
mounted() {
if (this.currentLevelData.orgId) {
this.getData(this.currentLevelData);
}
},
methods: { methods: {
selectIcon(num, type) { selectIcon(num, type) {
this.selectIndex = num; this.selectIndex = num;

2
src/views/dataBoard/renfang/index.vue

@ -549,7 +549,7 @@ export default {
}, },
toResiClassPage(pageType, type_id = "", type_name) { toResiClassPage(pageType, type_id = "", type_name) {
this.$router.push({ this.$router.push({
path: "/dataBoard/renfang/resi-class-new", path: "/dataBoard/renfang/resi-class",
query: { query: {
org_id: this.orgId, org_id: this.orgId,
type_id, type_id,

Loading…
Cancel
Save