|
|
@ -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); |
|
|
|
if (item.id) { |
|
|
|
this.$router.push({ |
|
|
|
path: "/dataBoard/overview/resident", |
|
|
|
query: { |
|
|
|
user_id: item.id, |
|
|
|
}, |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|