|
@@ -300,14 +300,18 @@ export default {
|
|
|
this.currentDate=this.getNowFormatDate()
|
|
|
|
|
|
this.getCheckStatusCount();
|
|
|
- this.getManageStatusCount();
|
|
|
+ //this.getManageStatusCount();
|
|
|
this.dataStatistics();
|
|
|
this.checkClapListAllNum();//随手拍待整改总数
|
|
|
|
|
|
+
|
|
|
if(this.pageType==1){//管理员
|
|
|
this.getList();
|
|
|
}else if(this.pageType==2){//检查者
|
|
|
this.getList2();
|
|
|
+ this.checkManageListAllNum();//检查者-待检查总数
|
|
|
+ this.checkManageListAllNum2();//检查者-待整改总数
|
|
|
+ this.checkHazardAppListAllNum();//检查者-待复核-总数
|
|
|
}else if(this.pageType==3){//整改者
|
|
|
this.checkHazardAppList();
|
|
|
}
|
|
@@ -705,6 +709,7 @@ export default {
|
|
|
self.dataList2=[...self.dataList2,...data.data.records]
|
|
|
self.total2=data.data.total;
|
|
|
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
//待复核列表
|
|
@@ -754,7 +759,7 @@ export default {
|
|
|
this.total3=data.data.total;
|
|
|
}
|
|
|
},
|
|
|
- //随手拍待整改总数
|
|
|
+ //整改者-随手拍待整改总数
|
|
|
async checkClapListAllNum(){
|
|
|
let self = this;
|
|
|
let obj={
|
|
@@ -767,6 +772,50 @@ export default {
|
|
|
this.tabTextThree[1].num=data.data.total;
|
|
|
}
|
|
|
},
|
|
|
+ //检查者 总数---------------------------------
|
|
|
+ //待检查
|
|
|
+ async checkManageListAllNum(){
|
|
|
+ let self = this;
|
|
|
+ let obj={
|
|
|
+ pageNum:this.getData2.pageNum,
|
|
|
+ pageSize:this.getData2.pageSize,
|
|
|
+ manageStatus:0,
|
|
|
+ checkType:'',
|
|
|
+ };
|
|
|
+ const {data} = await checkManageList(obj);
|
|
|
+ if(data.code==200){
|
|
|
+ this.tabTextTow[0].num=data.data.total;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //待检查
|
|
|
+ async checkManageListAllNum2(){
|
|
|
+ let self = this;
|
|
|
+ let obj={
|
|
|
+ pageNum:this.getData2.pageNum,
|
|
|
+ pageSize:this.getData2.pageSize,
|
|
|
+ manageStatus:0,
|
|
|
+ checkType:'',
|
|
|
+ };
|
|
|
+ const {data} = await checkManageList(obj);
|
|
|
+ if(data.code==200){
|
|
|
+ this.tabTextTow[1].num=data.data.total;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //待复核
|
|
|
+ async checkHazardAppListAllNum(){
|
|
|
+ let self = this;
|
|
|
+ let obj={
|
|
|
+ pageNum:this.getData2.pageNum,
|
|
|
+ pageSize:this.getData2.pageSize,
|
|
|
+ rectifyStatus:3,
|
|
|
+ hazardType:'',
|
|
|
+ };
|
|
|
+ const {data} = await checkHazardAppList(obj);
|
|
|
+ if(data.code==200){
|
|
|
+ this.tabTextTow[2].num=data.data.total;
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
|
|
|
}
|
|
|
}
|