dedsudiyu 1 рік тому
батько
коміт
f45a5770e3

+ 5 - 3
src/views/safetyCheck/laboratorySelfTest/selfInspectionManagement/index.vue

@@ -194,11 +194,13 @@
           pageNum:1,
           pageSize:20,
           checkType:2,
-          manageStatus:'-1',
           checkTimeSort:0,
-          searchValue:"",
-          deptId:"",
           myRelated:1,
+          manageStatus:this.queryParams.manageStatus,
+          searchValue:this.queryParams.searchValue,
+          deptId:this.queryParams.deptId,
+          startTime:this.dateRange[0]?this.dateRange[0]:'',
+          endTime:this.dateRange[1]?this.dateRange[1]:'',
         }).then(response => {
           this.$set(this,'correlationNum',response.data.total>999?' 999+':(response.data.total<1?'':' '+response.data.total));
         });

+ 4 - 2
src/views/safetyCheck/laboratorySelfTest/selfInspectionTask/index.vue

@@ -172,11 +172,13 @@
         checkPlanList({
           pageNum:1,
           pageSize:20,
-          checkStatus:0,
           createTimeSort:0,
-          searchValue:"",
           checkType:2,
           myRelated:1,
+          checkStatus:this.queryParams.checkStatus,
+          searchValue:this.queryParams.searchValue,
+          cycleStartTime:this.dateRange[0]?this.dateRange[0]:'',
+          cycleEndTime:this.dateRange[1]?this.dateRange[1]:'',
         }).then(response => {
           this.$set(this,'correlationNum',response.data.total>999?' 999+':(response.data.total<1?'':' '+response.data.total));
         });

+ 4 - 2
src/views/safetyCheck/rectificationReport/index.vue

@@ -144,9 +144,11 @@
         checkRectifyList({
           pageNum:1,
           pageSize:20,
-          deptId:'',
-          searchValue:'',
           myRelated:1,
+          deptId:this.queryParams.deptId,
+          searchValue:this.queryParams.searchValue,
+          beginTime:this.dateRange[0]?this.dateRange[0]:'',
+          endTime:this.dateRange[1]?this.dateRange[1]:'',
         }).then(response => {
           this.$set(this,'correlationNum',response.data.total>999?' 999+':(response.data.total<1?'':' '+response.data.total));
         });

+ 4 - 2
src/views/safetyCheck/safetyHazard/cannotListPage.vue

@@ -124,10 +124,12 @@
           pageNum:1,
           pageSize:20,
           rectifyStatus:4,
-          hazardType:1,
-          searchValue:"",
           checkTimeOrder:"",
           myRelated:1,
+          hazardType:this.queryParams.hazardType,
+          searchValue:this.queryParams.searchValue,
+          beginTime:this.dateRange[0]?this.dateRange[0]:'',
+          endTime:this.dateRange[1]?this.dateRange[1]:'',
         }).then(response => {
           this.$set(this,'correlationNum',response.data.total>999?' 999+':(response.data.total<1?'':' '+response.data.total));
         });

+ 5 - 3
src/views/safetyCheck/safetyHazard/departmentListPage.vue

@@ -175,13 +175,15 @@
           pageNum:1,
           pageSize:20,
           hazardType:2,
-          rectifyStatus:"2",
-          examineResult:"",
-          searchValue:"",
           checkTimeOrder:"",
           zgTimeOrder:"",
           zgTermOrder:"",
           myRelated:1,
+          rectifyStatus:this.queryParams.rectifyStatus,
+          examineResult:this.queryParams.examineResult,
+          searchValue:this.queryParams.searchValue,
+          beginTime:this.dateRange[0]?this.dateRange[0]:'',
+          endTime:this.dateRange[1]?this.dateRange[1]:'',
         }).then(response => {
           this.$set(this,'correlationNum',response.data.total>999?' 999+':(response.data.total<1?'':' '+response.data.total));
         });

+ 5 - 3
src/views/safetyCheck/safetyHazard/schoolListPage.vue

@@ -175,13 +175,15 @@
           pageNum:1,
           pageSize:20,
           hazardType:1,
-          rectifyStatus:"2",
-          examineResult:"",
-          searchValue:"",
           checkTimeOrder:"",
           zgTimeOrder:"",
           zgTermOrder:"",
           myRelated:1,
+          rectifyStatus:this.queryParams.rectifyStatus,
+          examineResult:this.queryParams.examineResult,
+          searchValue:this.queryParams.searchValue,
+          beginTime:this.dateRange[0]?this.dateRange[0]:'',
+          endTime:this.dateRange[1]?this.dateRange[1]:'',
         }).then(response => {
           this.$set(this,'correlationNum',response.data.total>999?' 999+':(response.data.total<1?'':' '+response.data.total));
         });

+ 5 - 3
src/views/safetyCheck/schoolInspection/inspectionManagement/index.vue

@@ -192,11 +192,13 @@
           pageNum:1,
           pageSize:20,
           checkType:1,
-          manageStatus:'-1',
           checkTimeSort:0,
-          searchValue:"",
-          deptId:"",
           myRelated:1,
+          manageStatus:this.queryParams.manageStatus,
+          searchValue:this.queryParams.searchValue,
+          deptId:this.queryParams.deptId,
+          startTime:this.dateRange[0]?this.dateRange[0]:'',
+          endTime:this.dateRange[1]?this.dateRange[1]:'',
         }).then(response => {
           this.$set(this,'correlationNum',response.data.total>999?' 999+':(response.data.total<1?'':' '+response.data.total));
         });

+ 4 - 2
src/views/safetyCheck/schoolInspection/inspectionPlan/index.vue

@@ -172,11 +172,13 @@
         checkPlanList({
           pageNum:1,
           pageSize:20,
-          checkStatus:0,
           createTimeSort:0,
-          searchValue:"",
           checkType:1,
           myRelated:1,
+          checkStatus:this.queryParams.checkStatus,
+          searchValue:this.queryParams.searchValue,
+          cycleStartTime:this.dateRange[0]?this.dateRange[0]:'',
+          cycleEndTime:this.dateRange[1]?this.dateRange[1]:'',
         }).then(response => {
           this.$set(this,'correlationNum',response.data.total>999?' 999+':(response.data.total<1?'':' '+response.data.total));
         });

+ 5 - 3
src/views/safetyCheck/snapshotManagement/index.vue

@@ -280,12 +280,14 @@
         securityCheckClapList({
           pageNum:1,
           pageSize:20,
-          deptId:'',
-          searchValue:'',
-          rectifyStatus:'',
           upTimeOrder:"",
           zgTimeOrder:"",
           myRelated:1,
+          deptId:this.queryParams.deptId,
+          searchValue:this.queryParams.searchValue,
+          rectifyStatus:this.queryParams.rectifyStatus,
+          beginTime:this.dateRange[0]?this.dateRange[0]:'',
+          endTime:this.dateRange[1]?this.dateRange[1]:'',
         }).then(response => {
           this.$set(this,'correlationNum',response.data.total>999?' 999+':(response.data.total<1?'':' '+response.data.total));
         });