tianq 3 years ago
parent
commit
62f8d9e466
  1. 15
      src/views/modules/census/census-accountList.vue

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

@ -140,7 +140,6 @@
<el-table-column prop="districtName" label="区县名称" align="center" :show-overflow-tooltip="true"></el-table-column> <el-table-column prop="districtName" label="区县名称" align="center" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="count" align="center" width="110" label="登录次数" :show-overflow-tooltip="true"></el-table-column> <el-table-column prop="count" align="center" width="110" label="登录次数" :show-overflow-tooltip="true"></el-table-column>
</template> </template>
</el-table> </el-table>
<el-pagination <el-pagination
@ -285,9 +284,6 @@ export default {
case 3: case 3:
this.orgType = 'community'; this.orgType = 'community';
break; break;
case 4:
this.orgType = 'sub';
break;
} }
this.orgId = this.formData.orgId; this.orgId = this.formData.orgId;
this.pageNo = 1; this.pageNo = 1;
@ -511,9 +507,14 @@ export default {
this.$refs.pieChart.setOption(this.pieOption); this.$refs.pieChart.setOption(this.pieOption);
}, },
handelClickMyPei(param) { handelClickMyPei(param) {
if (this.formData.level != 'community') { if (param.data.level != 'community') {
console.log(param); if (param.data.level == 'district') {
this.orgType = param.data.level; this.orgType = 'street';
}
if (param.data.level == 'street') {
this.orgType = 'community';
}
this.orgId = param.data.id; this.orgId = param.data.id;
this.orgName = param.data.name; this.orgName = param.data.name;
this.pageNo = 1; this.pageNo = 1;

Loading…
Cancel
Save