Browse Source

直接传参

jly/task002
tianq 3 years ago
parent
commit
cb9c91a826
  1. 19
      src/views/modules/census/census-accountList.vue

19
src/views/modules/census/census-accountList.vue

@ -376,7 +376,7 @@ export default {
endDate: this.formData.endDate,
isPage: true,
pageNo: this.pageNo,
pageSize: this.pageSize
pageSize: 10
};
this.tableLoading2 = true;
const { data, code, msg } = await requestPost(url, param);
@ -669,17 +669,18 @@ export default {
this.$refs.pieChart.setOption(this.pieOption);
},
handelClickMyPei(param) {
let orgType = '';
console.log('param', param);
if (param.data.level != 'community') {
if (param.data.level == 'district') {
orgType = 'street';
}
if (param.data.level == 'street') {
orgType = 'community';
}
// if (param.data.level == 'district') {
// orgType = 'street';
// }
// if (param.data.level == 'street') {
// orgType = 'community';
// }
this.pageNo = 1;
this.getPiesubData(param.data.id, orgType);
this.getPiesubData(param.data.id, param.data.level);
}
}
}

Loading…
Cancel
Save