|
|
|
@ -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); |
|
|
|
|