|
@@ -312,7 +312,7 @@ export default {
|
|
|
|
|
|
this.getCheckStatusCount();
|
|
|
//this.getManageStatusCount();
|
|
|
- this.dataStatistics();
|
|
|
+ this.dataStatistics(this.pageType);
|
|
|
this.checkClapListAllNum();//随手拍待整改总数
|
|
|
|
|
|
|
|
@@ -377,6 +377,7 @@ export default {
|
|
|
tabClickIdentity(item,index) {
|
|
|
this.curTabIdentity = index;
|
|
|
this.pageType=item.pageType;
|
|
|
+ this.dataStatistics(this.pageType);
|
|
|
},
|
|
|
//管理员
|
|
|
tabClick(index) {
|
|
@@ -613,9 +614,9 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
//数据统计
|
|
|
- async dataStatistics(){
|
|
|
+ async dataStatistics(flg){
|
|
|
let self = this;
|
|
|
- const {data} = await dataStatistics();
|
|
|
+ const {data} = await dataStatistics({flg:flg});
|
|
|
if(data.code==200){
|
|
|
if(data.data.userType==1 || data.data.userType==2){//管理员和检查者
|
|
|
this.statisticsList=[
|