Pārlūkot izejas kodu

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

see999 4 gadus atpakaļ
vecāks
revīzija
f80e48c037
1 mainītis faili ar 20 papildinājumiem un 20 dzēšanām
  1. 20 20
      src/xt_pages/qcd/patientComplianceDetails.vue

+ 20 - 20
src/xt_pages/qcd/patientComplianceDetails.vue Parādīt failu

@@ -103,7 +103,7 @@
103 103
                 >
104 104
                   <p>{{ item.item_name }}</p>
105 105
                    <span v-if="item.range_type == 1 && getvlist(item.inspection_minor)!=0"><span v-if="parseInt(item.min_range)<=getvlist(item.inspection_minor) && getvlist(item.inspection_minor)<=parseInt(item.large_range) "><i class="iconfont icon-gou gou"></i></span></span>
106
-                   <span v-if="item.range_type == 1 && getvlist(item.inspection_minor)!=0"><span v-if="parseInt(item.min_range)>getvlist(item.inspection_minor) || getvlist(item.inspection_minor)>parseInt(item.large_range)"><i class="iconfont icon-gantanhao gth"></i></span></span> 
106
+                   <span v-if="item.range_type == 1 && getvlist(item.inspection_minor)!=0"><span v-if="parseInt(item.min_range)>getvlist(item.inspection_minor) || getvlist(item.inspection_minor)>parseInt(item.large_range)"><i class="iconfont icon-gantanhao gth"></i></span></span>
107 107
                    <span v-if="item.range_type == 1 && getvlist(item.inspection_minor)==0"></span>
108 108
                    <span v-if="item.range_type == 2 && getvlistwo(item.inspection_minor)!=''"><span v-if="getvlistwo(item.inspection_minor)==item.range_value"><i class="iconfont icon-gou gou"></i></span></span>
109 109
                    <span v-if="item.range_type == 2 && getvlistwo(item.inspection_minor)!=''"><span v-if="getvlistwo(item.inspection_minor)!=item.range_value"><i class="iconfont icon-gantanhao gth"></i></span></span>
@@ -386,9 +386,9 @@ export default {
386 386
                     { offset: 1, color: colorList[index][1] }
387 387
                   ]);
388 388
                 },
389
-                lineStyle:{ 
389
+                lineStyle:{
390 390
                   color:'#409eff' //改变折线颜色
391
-                }, 
391
+                },
392 392
                 barBorderRadius: [5, 5, 0, 0] //柱状角成椭圆形
393 393
               },
394 394
 
@@ -456,17 +456,17 @@ export default {
456 456
          this.listQuery.end_time =""
457 457
          this.monthActive = 1
458 458
         const startDate = moment().subtract('month', 3).format('YYYY-MM-DD')
459
-    
459
+
460 460
         this.startime = Date.parse(startDate)/1000
461
-       
461
+
462 462
         const endDate = moment(new Date()).format('YYYY-MM-DD')
463
-      
463
+
464 464
         this.endtime = Date.parse(endDate)/1000
465
-    
465
+
466 466
         this.getlistDetail()
467 467
          this.getIdSlist()
468 468
       }
469
-    
469
+
470 470
 
471 471
        //近半年
472 472
       if(month == 2){
@@ -474,7 +474,7 @@ export default {
474 474
         this.listQuery.end_time =""
475 475
         this.monthActive = 2
476 476
         const startDate = moment().subtract('month', 6).format('YYYY-MM-DD')
477
-        
477
+
478 478
         this.startime = Date.parse(startDate)/1000
479 479
         const endDate = moment(new Date()).format('YYYY-MM-DD')
480 480
         this.endtime = Date.parse(endDate)/1000
@@ -507,7 +507,7 @@ export default {
507 507
            }
508 508
            if(this.normData[i].range_type == 2){
509 509
              itemName = this.normData[i].item_name
510
-           } 
510
+           }
511 511
          }
512 512
       }
513 513
       this.itemName = itemName
@@ -620,12 +620,12 @@ export default {
620 620
             // console.log("list是什么",list)
621 621
             for(let i=0;i<list.length;i++){
622 622
               if(parseInt(list[i].inspect_value)>= parseInt(list[i].range_min) && parseInt(list[i].inspect_value)<= parseInt(list[i].range_max)){
623
-                    this.isTrue = 1  
623
+                    this.isTrue = 1
624 624
                }
625 625
                if(parseInt(list[i].inspect_value)< parseInt(list[i].range_min) || parseInt(list[i].inspect_value) > parseInt(list[i].range_max)){
626 626
                     this.isTrue =0
627 627
                }
628
-               
628
+
629 629
               if(list[i].range_type == 1){
630 630
                     this.rangetype = 1
631 631
                     this.modesData.xAxis.push(this.getTime(list[i].inspect_date));
@@ -647,7 +647,7 @@ export default {
647 647
               }else{
648 648
                 this.getArrLength(this.char2.xAxis.data,2)
649 649
               }
650
-       
650
+
651 651
           }
652 652
 
653 653
        })
@@ -672,7 +672,7 @@ export default {
672 672
           var monthEndDate = moment().endOf('month').format('YYYY-MM-DD HH:mm:ss');
673 673
           this.endtime =Date.parse(monthEndDate)/1000-1;//s
674 674
         }
675
-     
675
+
676 676
           const params = {
677 677
             patientid:this.patientid,
678 678
             startime:this.startime,
@@ -685,7 +685,7 @@ export default {
685 685
               var list =  response.data.data.list
686 686
               for(let i=0;i<list.length;i++){
687 687
                 if(parseInt(list[i].inspect_value)>= parseInt(list[i].range_min) && parseInt(list[i].inspect_value)<= parseInt(list[i].range_max)){
688
-                      this.isTrue = 1  
688
+                      this.isTrue = 1
689 689
                 }
690 690
                 if(parseInt(list[i].inspect_value)< parseInt(list[i].range_min) || parseInt(list[i].inspect_value) > parseInt(list[i].range_max)){
691 691
                       this.isTrue =0
@@ -704,9 +704,9 @@ export default {
704 704
                   this.char2.xAxis.data.push(this.getTime(list[i].inspect_date))
705 705
                   this.char2.series[0].name = list[i].range_value
706 706
                 }
707
-                
708 707
 
709
-            
708
+
709
+
710 710
             }
711 711
               this.chart.series[0].data = this.modesData.series
712 712
               this.chart.xAxis.data = this.modesData.xAxis
@@ -787,7 +787,7 @@ export default {
787 787
              }else{
788 788
                itemvalue = 0
789 789
              }
790
-             
790
+
791 791
           }
792 792
         }
793 793
         return itemvalue
@@ -801,7 +801,7 @@ export default {
801 801
               }else{
802 802
                 itemvalue = ''
803 803
               }
804
-              
804
+
805 805
             }
806 806
         }
807 807
         return itemvalue
@@ -810,7 +810,7 @@ export default {
810 810
 
811 811
    created(){
812 812
      this.patientid =  this.$route.query.patientid
813
-    
813
+
814 814
      this.inspect_date = this.$route.query.date
815 815
      //获取指标项
816 816
       this.getNormData()