Browse Source

修复党群bug

shibei_master
dai 4 years ago
parent
commit
9aa3b18d50
  1. 12
      src/views/modules/communityService/dqfwzx/index.vue

12
src/views/modules/communityService/dqfwzx/index.vue

@ -191,9 +191,7 @@ export default {
},
async mounted() {
await this.loadAgency();
await this.getTableData();
this.initMap();
this.setMap();
// await this.getTableData();
},
methods: {
// init
@ -324,6 +322,7 @@ export default {
},
async getTableData() {
const oldLen = this.tableData.length;
const url = "/gov/org/icpartyservicecenter/partyservicecenterlist";
const { data, code, msg } = await requestPost(url, {
orgId: this.agencyId,
@ -333,7 +332,12 @@ export default {
console.log("列表请求成功!!!!!!!!!!!!!!");
this.tableData = data;
} else {
if (data.length > 0 && oldLen == 0) {
await nextTick(100);
this.initMap();
this.setMap();
}
}
},

Loading…
Cancel
Save