+ class="list_item_col"
+ @click="handleTo(colItem)">
@@ -310,7 +311,7 @@ const vueGis = {
},
methods: {
- handleTo(item) {
+ handleTo (item) {
this.$router.push({
path: `/main-shuju/visual-basicinfo-people-list`,
query: {
@@ -526,8 +527,18 @@ const vueGis = {
//返回所选组织
handleClickAgency (index) {
+ //如果是从小区返回,清空一下小区的人员显示列表
+ if (this.orgLevel === 'neighborHood') {
+
+ this.$nextTick(() => {
+ // 小区id,小区名称
+ this.$refs.ref_community.handleCloseAllUser();
+ });
+
+ }
const cutNum = this.runAgencyArray.length - index//要减去的长度
this.runNum = this.runNum - cutNum
+
this.orgData = this.runAgencyArray[index]
for (let i = 0; i < cutNum; i++) {