heyang преди 1 година
родител
ревизия
34e684dcdb
променени са 1 файла, в които са добавени 11 реда и са изтрити 1 реда
  1. 11 1
      pages/safetyExamineWorkbench.vue

+ 11 - 1
pages/safetyExamineWorkbench.vue

@@ -376,8 +376,18 @@ export default {
 	  //登录人员身份
 	  tabClickIdentity(item,index) {
 	  	this.curTabIdentity = index;
-		this.pageType=item.pageType;
+		  this.pageType=item.pageType;
       this.dataStatistics(this.pageType);
+      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();
+      }
 	  },
 	  //管理员
 	  tabClick(index) {