Pārlūkot izejas kodu

Merge branch 'vue_statistics_branch' of http://git.shengws.com/csx/Vue_New into vue_statistics_branch

csx 4 gadus atpakaļ
vecāks
revīzija
a43ea1ffcd

+ 6 - 6
src/xt_pages/qcd/basicInformationAnalysis.vue Parādīt failu

@@ -283,7 +283,7 @@ export default {
283 283
           let threeMonths = new Date(new Date().setFullYear(new Date().getFullYear()-1)).getTime() - 24 * 3600 * 1000;
284 284
           return time.getTime() > Date.now() || time.getTime() < threeMonths;;
285 285
         }
286
-      }, 
286
+      },
287 287
       crumbs: [
288 288
         { path: false, name: "质控管理" },
289 289
         { path: false, name: "基本信息统计" }
@@ -480,8 +480,8 @@ export default {
480 480
         //统计透析年龄
481 481
         this.getTotalDialysisCount(startunitx,endunitx)
482 482
      }
483
-   
484
- 
483
+
484
+
485 485
 
486 486
     },
487 487
     getDialysisModeType(startDate,endDate){
@@ -548,10 +548,10 @@ export default {
548 548
              if(infectious.length == 0){
549 549
                 this.InfectiousList = arr
550 550
                 return false
551
-                
551
+
552 552
              }
553 553
              this.InfectiousList = infectious
554
-            
554
+
555 555
            }
556 556
        })
557 557
     },
@@ -595,7 +595,7 @@ export default {
595 595
       getTotalDialysisCount(timeStar,timeEnd).then(response=>{
596 596
          if(response.data.state == 1){
597 597
            var dataage =  response.data.data.dataage
598
-          //  console.log("dataage",dataage)
598
+           console.log("dataage",dataage)
599 599
            this.dialysisAge = dataage
600 600
 
601 601
          }

+ 3 - 2
src/xt_pages/qcd/officesControlAnalysis/project.vue Parādīt failu

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

+ 2 - 2
src/xt_pages/qcd/officesControlAnalysis/time.vue Parādīt failu

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

+ 3 - 2
src/xt_pages/qcd/treatmentControlAnalysis/components/CheckPersonal.vue Parādīt failu

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