Browse Source

参数

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

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

@ -159,6 +159,7 @@
:total="total"
></el-pagination>
</el-dialog>
</div>
</template>
@ -498,7 +499,7 @@ export default {
},
async getPiesubData(orgId, orgType) {
// staffLoginLog/streetTotal
this.orgType = orgType;
console.log(orgType);
let url = '';
if (orgType == 'street') {
@ -513,7 +514,7 @@ export default {
console.log('orgType', orgType);
// district street community
// 1 2 3 4
switch (orgType) {
switch (this.orgType) {
case 'district':
this.title = '区县级账号登录情况';
// url = '/gov/org/staffLoginLog/district-count';
@ -672,12 +673,12 @@ export default {
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') {
this.orgType = 'street';
}
if (param.data.level == 'street') {
this.orgType = 'community';
}
this.pageNo = 1;
this.getPiesubData(param.data.id, param.data.level);

Loading…
Cancel
Save