Browse Source

人房页面修改

V1.0
张若晨 2 years ago
parent
commit
1337b85b15
  1. 26
      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

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

@ -5,6 +5,7 @@
:data="list"
v-if="currentLevelData.orgLevel != 'grid'"
v-loading="loading"
element-loading-background="rgba(0, 0, 0, 0.3)"
max-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: {
getData(peopleType, level = "", orgId = "") {
this.loading = true;
@ -128,13 +137,14 @@ export default {
}
},
handleClick(item) {
console.log("handleClick::", item);
this.$router.push({
path: "/dataBoard/overview/resident",
query: {
user_id: item.id,
},
});
if (item.id) {
this.$router.push({
path: "/dataBoard/overview/resident",
query: {
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: {
selectIcon(num, type) {
this.selectIndex = num;

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

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

Loading…
Cancel
Save