XMLWAN 4 år sedan
förälder
incheckning
c9fbfe6243

+ 3 - 2
src/xt_pages/qcd/officesControlAnalysis/project.vue Visa fil

562
           novStart:novStart,
562
           novStart:novStart,
563
           novEnd:novEnd,
563
           novEnd:novEnd,
564
           decStart:decStart,
564
           decStart:decStart,
565
-          decEnd:decEnd,    
565
+          decEnd:decEnd,
566
+          range_type:this.range_type,    
566
         }
567
         }
567
     
568
     
568
        getMonthProjectList(params).then(response=>{
569
        getMonthProjectList(params).then(response=>{
569
         if(response.data.state === 1){
570
         if(response.data.state === 1){
570
             var monthlist = response.data.data.monthlist
571
             var monthlist = response.data.data.monthlist
571
-     
572
+            console.log("monthlist",monthlist)
572
             var newArr = [
573
             var newArr = [
573
               {Total:"一月",Count:1,NoCount: 0},
574
               {Total:"一月",Count:1,NoCount: 0},
574
               {Total:"二月",Count:1,NoCount: 0},
575
               {Total:"二月",Count:1,NoCount: 0},

+ 2 - 2
src/xt_pages/qcd/officesControlAnalysis/time.vue Visa fil

478
       getNormData().then(response=>{
478
       getNormData().then(response=>{
479
          if(response.data.state === 1){
479
          if(response.data.state === 1){
480
            var normdata = response.data.data.normdata
480
            var normdata = response.data.data.normdata
481
-          //  console.log("指标正常范围",normdata)
481
+           console.log("指标正常范围",normdata)
482
            this.normData = normdata
482
            this.normData = normdata
483
            this.getlist()
483
            this.getlist()
484
          }
484
          }
591
       getFirstQuarter(params).then(response=>{
591
       getFirstQuarter(params).then(response=>{
592
          if(response.data.state === 1){
592
          if(response.data.state === 1){
593
             var count =  response.data.data.count
593
             var count =  response.data.data.count
594
-            // console.log("count",count) 
594
+           console.log("count",count) 
595
             var countwo = response.data.data.countwo 
595
             var countwo = response.data.data.countwo 
596
             // console.log("countwo",countwo)
596
             // console.log("countwo",countwo)
597
             countwo.map(item=>{
597
             countwo.map(item=>{

+ 3 - 2
src/xt_pages/qcd/treatmentControlAnalysis/components/CheckPersonal.vue Visa fil

216
     };
216
     };
217
   },
217
   },
218
   methods: {
218
   methods: {
219
-    changeTime() {
219
+    changeTime(val) {
220
         var time = this.getTimestamp(val) - this.getTimestamp(this.listQuery.end_time);
220
         var time = this.getTimestamp(val) - this.getTimestamp(this.listQuery.end_time);
221
       if (time > 0) {
221
       if (time > 0) {
222
         this.$message.error("结束时间不能小于开始时间");
222
         this.$message.error("结束时间不能小于开始时间");
223
         this.listQuery.start_time = "";
223
         this.listQuery.start_time = "";
224
       } else {
224
       } else {
225
-       
225
+         this.getInspectionTotalCount()
226
       }
226
       }
227
     },
227
     },
228
     changeEndTime(val) {
228
     changeEndTime(val) {
232
         this.$message.error("结束时间不能小于开始时间");
232
         this.$message.error("结束时间不能小于开始时间");
233
         this.listQuery.end_time = "";
233
         this.listQuery.end_time = "";
234
       } else {
234
       } else {
235
+          this.getInspectionTotalCount()
235
       }
236
       }
236
     },
237
     },
237
     getTimestamp(time) {
238
     getTimestamp(time) {