ソースを参照

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 6 ヶ月 前
コミット
ff22cfe646

+ 110 - 89
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue ファイルの表示

@@ -55,14 +55,14 @@
55 55
         <el-button size="small" icon="el-icon-printer" @click="toDialog" type="primary">设置</el-button>
56 56
         <el-button size="small" icon="el-icon-printer" @click="toSign" type="primary">标签打印</el-button>
57 57
         <el-button size="small" icon="el-icon-printer" @click="printAction" type="primary">标签打印设置</el-button>
58
-        
58
+
59 59
         <el-button size="small"  @click="exportList" type="primary">导出</el-button>
60 60
         <el-button size="small"  @click="toPrint" icon="el-icon-printer" type="primary">打印</el-button>
61 61
         <el-button size="small" type="primary" @click="statistics">统计表</el-button>
62
-        
62
+
63 63
       </div>
64 64
     </div>
65
-  
65
+
66 66
     <div>
67 67
       <el-table
68 68
         :data="list"
@@ -156,7 +156,7 @@
156 156
          <el-table-column align="center" label="透前血压"  v-if="dialysisSett.blood_pressure==1">
157 157
            <template slot-scope="scope">
158 158
             <span v-if="scope.row.assessment_befor_dislysis.systolic_blood_pressure>0">{{scope.row.assessment_befor_dislysis.systolic_blood_pressure}}</span>
159
-            <span v-if="scope.row.assessment_befor_dislysis.diastolic_blood_pressure>0">/{{scope.row.assessment_befor_dislysis.diastolic_blood_pressure}}</span> 
159
+            <span v-if="scope.row.assessment_befor_dislysis.diastolic_blood_pressure>0">/{{scope.row.assessment_befor_dislysis.diastolic_blood_pressure}}</span>
160 160
            </template>
161 161
         </el-table-column>
162 162
          <el-table-column align="center" label="目标脱水量"  v-if="dialysisSett.ultrafiltration_volume==1">
@@ -178,7 +178,7 @@
178 178
              <span v-if="scope.row.dialysis_prescription.anticoagulant_weichi > 0">({{scope.row.dialysis_prescription.anticoagulant_weichi}})</span>
179 179
 
180 180
              <span v-if="scope.row.dialysis_prescription.anticoagulant_zongliang == 0">({{scope.row.dialysis_solution.anticoagulant_zongliang}})</span>
181
-             
181
+
182 182
              <span v-if="scope.row.dialysis_prescription.anticoagulant_zongliang > 0">({{scope.row.dialysis_prescription.anticoagulant_zongliang}})</span>
183 183
            </template>
184 184
         </el-table-column>
@@ -219,14 +219,14 @@
219 219
            </template>
220 220
         </el-table-column>
221 221
 
222
-        <el-table-column align="center" label="滤过器"  v-if="dialysisSett.dialysis_irrigation ==1">
222
+        <el-table-column align="center" label="滤过器"  v-if="dialysisSett.dialysis_strainer_set ==1">
223 223
            <template slot-scope="scope">
224 224
              <span v-if="scope.row.dialysis_prescription.dialysis_strainer!=''">{{scope.row.dialysis_prescription.dialysis_strainer}}</span>
225 225
              <span v-if="scope.row.dialysis_prescription.dialysis_strainer==''">{{scope.row.dialysis_solution.dialysis_strainer}}</span>
226 226
            </template>
227 227
         </el-table-column>
228
-        
229
-        
228
+
229
+
230 230
         <el-table-column align="center" label="置换液" v-if="dialysisSett.displace_liqui_part==1">
231 231
            <template slot-scope="scope">
232 232
              <span>{{getDisplaceLiquiPart(scope.row.dialysis_solution.displace_liqui_part)}}</span>
@@ -238,7 +238,7 @@
238 238
              <span v-if="scope.row.dialysis_solution.displace_liqui_value>0">{{scope.row.dialysis_solution.displace_liqui_value}}</span>
239 239
            </template>
240 240
         </el-table-column>
241
-       
241
+
242 242
 
243 243
         <el-table-column align="center" label="钾"  v-if="dialysisSett.kalium==1">
244 244
            <template slot-scope="scope">
@@ -314,16 +314,16 @@
314 314
               {{ scope.row.advice_spc_five }}
315 315
            </template>
316 316
         </el-table-column>
317
-      
317
+
318 318
         <el-table-column align="center" label="葡萄糖"  v-if="dialysisSett.glucose==1">
319 319
            <template slot-scope="scope">
320
-             <span>{{scope.row.dialysis_solution.amylaceum?scope.row.dialysis_solution.amylaceum:""}} </span> 
320
+             <span>{{scope.row.dialysis_solution.amylaceum?scope.row.dialysis_solution.amylaceum:""}} </span>
321 321
            </template>
322 322
         </el-table-column>
323 323
 
324 324
        <el-table-column align="center" label="血流量"  v-if="dialysisSett.blood_flow_volume==1">
325 325
            <template slot-scope="scope">
326
-             <span>{{scope.row.dialysis_solution.blood_flow_volume?scope.row.dialysis_solution.blood_flow_volume:""}} </span> 
326
+             <span>{{scope.row.dialysis_solution.blood_flow_volume?scope.row.dialysis_solution.blood_flow_volume:""}} </span>
327 327
            </template>
328 328
         </el-table-column>
329 329
       </el-table>
@@ -348,9 +348,10 @@
348 348
            <el-checkbox v-model="sealing_fluid_dispose" label="封管液"></el-checkbox>
349 349
            <el-checkbox v-model="mode_id" label="透析模式"></el-checkbox>
350 350
            <el-checkbox v-model="dialysis_time" label="透析时长"></el-checkbox>
351
-         
351
+
352 352
            <el-checkbox v-model="dialysis_dialyszers" label="透析器"></el-checkbox>
353 353
            <el-checkbox v-model="dialysis_irrigation" label="灌流器"></el-checkbox>
354
+             <el-checkbox v-model="dialysis_strainer" label="滤过器"></el-checkbox>
354 355
            <el-checkbox v-model="kalium" label="钾"></el-checkbox>
355 356
            <el-checkbox v-model="displace_liqui_value" label="置换液总量"></el-checkbox>
356 357
            <el-checkbox v-model="bicarbonate" label="碳酸氢根"></el-checkbox>
@@ -470,7 +471,7 @@
470 471
            </el-select>
471 472
            <el-button size="small" @click="toPrintOne" icon="el-icon-printer" type="primary">打印</el-button>
472 473
            <el-button size="small"  @click="exportListOne" type="primary">导出</el-button>
473
-        </div> 
474
+        </div>
474 475
        <el-table
475 476
         :data="tableList"
476 477
         border
@@ -495,14 +496,14 @@
495 496
              {{scope.row.specification_name}}
496 497
            </template>
497 498
         </el-table-column>
498
-       
499
+
499 500
         <el-table-column  align="center"   label="数量">
500 501
            <template slot-scope="scope">
501 502
             {{scope.row.count}}
502 503
            </template>
503 504
         </el-table-column>
504
-        
505
-     
505
+
506
+
506 507
 
507 508
       </el-table>
508 509
       </span>
@@ -525,7 +526,7 @@ import dialysis from '../../../../router/modules/dialysis';
525 526
   const moment = require('moment')
526 527
   export default {
527 528
     components: {
528
-      
529
+
529 530
     },
530 531
     data() {
531 532
       return {
@@ -630,6 +631,7 @@ import dialysis from '../../../../router/modules/dialysis';
630 631
         gansuna:false,
631 632
         zhetangtie:false,
632 633
         niaojimei:false,
634
+        dialysis_strainer:false,
633 635
         displace_liqui_part_option:[],
634 636
         ids:"",
635 637
         form: {
@@ -656,17 +658,17 @@ import dialysis from '../../../../router/modules/dialysis';
656 658
         partition_id:0,
657 659
         zoneList:[],
658 660
         org_id:0,
659
-       
661
+
660 662
       }
661 663
     },
662 664
     open(){
663
-     
665
+
664 666
     },
665 667
     created() {
666 668
       this.org_id = this.$store.getters.xt_user.org.id
667 669
        this.blood_access_option  = getDataConfig('hemodialysis', 'vascular_access_desc')
668 670
        this.displace_liqui_part_option = this.$store.getters.displace_liqui
669
-    
671
+
670 672
        var filedList = store.getters.xt_user.fileds
671 673
        var newArr = [
672 674
         {value:999999,filed_name_cn:"姓名"},
@@ -696,14 +698,14 @@ import dialysis from '../../../../router/modules/dialysis';
696 698
       this.query.partition_id = 0
697 699
       this.query.page = 1
698 700
       this.getAllZone()
699
-     
700
-     
701
-     
701
+
702
+
703
+
702 704
     },
703 705
     methods: {
704 706
       getlist(){
705
-      
706
-        
707
+
708
+
707 709
         var str = ""
708 710
          if(this.partition_id==0){
709 711
             str = this.zoneList.join(",")
@@ -713,21 +715,21 @@ import dialysis from '../../../../router/modules/dialysis';
713 715
            str = this.partition_id.join(",")
714 716
          }
715 717
          this.query.partition_id = ""
716
-         this.query.partition_id = str 
717
-      
718
+         this.query.partition_id = str
719
+
718 720
         getDialysisParameter(this.query).then(response=>{
719 721
             if(response.data.state == 1){
720 722
               var list = response.data.data.list
721
-              
723
+
722 724
               if(list!=null &&list.length>0){
723 725
                 for(let i=0;i<list.length;i++){
724 726
                   list[i].sort = 0
725 727
                   list[i].sort = list[i].device_number.sort
726 728
                 }
727
-      
729
+
728 730
               }
729 731
               list.sort(this.compare('sort'))
730
-            
732
+
731 733
 
732 734
               for(let i=0;i<list.length;i++){
733 735
                 list[i].advice_spc =""
@@ -758,7 +760,7 @@ import dialysis from '../../../../router/modules/dialysis';
758 760
                         list[i].advice_spc_five+= (list[i].advice[j].single_dose + "iu"+"/"+ list[i].advice[j].prescribing_number_unit)+","
759 761
                      }
760 762
                  }
761
-                
763
+
762 764
               }
763 765
               console.log("listwowowowowowo日本",this.list)
764 766
               this.list = list
@@ -766,7 +768,7 @@ import dialysis from '../../../../router/modules/dialysis';
766 768
               this.dialysisSett = response.data.data.dialysisSett
767 769
               // console.log("设置",this.dialysisSett)
768 770
             }
769
-        }) 
771
+        })
770 772
       },
771 773
       compare(p) { //这是比较函数
772 774
         return function (m, n) {
@@ -822,7 +824,7 @@ import dialysis from '../../../../router/modules/dialysis';
822 824
         //   return ""
823 825
         // }
824 826
       },
825
-   
827
+
826 828
       selectSchedulType(scheduleType) {
827 829
         this.schedulType = scheduleType
828 830
         this.query.schedule_type = scheduleType
@@ -849,48 +851,48 @@ import dialysis from '../../../../router/modules/dialysis';
849 851
             this.$message.error(response.data.msg)
850 852
             return false
851 853
           } else {
852
-           
854
+
853 855
 
854 856
             for(let i=0;i<response.data.data.zone.length;i++){
855 857
                this.partitionArrOne.push(response.data.data.zone[i])
856 858
                this.zoneList.push(response.data.data.zone[i].id)
857 859
             }
858 860
             this.partitionArr = response.data.data.zone
859
-           
861
+
860 862
             console.log("全部中",this.partitionArrOne)
861 863
             this.partitionArr.unshift({ id: 0, name: '全部' })
862 864
             this.getlist()
863
-            
865
+
864 866
           }
865 867
         })
866 868
       },
867 869
       statistics() {
868 870
          this.tableList = []
869
-       
871
+
870 872
          var params = {
871 873
           schedule_type:this.schedule_type,
872 874
           partion_type:this.partitionType,
873 875
           selected_date:this.query.schedule_date,
874 876
         }
875
-    
877
+
876 878
         var timeStamp = Date.parse(this.query.schedule_date)
877
-       
879
+
878 880
         var arrDateOne = (timeStamp/1000) -28800
879
-        console.log("时间搓",arrDateOne) 
881
+        console.log("时间搓",arrDateOne)
880 882
         let dateone =  moment().format('YYYY-MM-DD')//获取标准时间 //Tue Aug 16 2022 15:06:24 GMT+0800 (中国标准时间)
881 883
         //方式一
882 884
         let timeStampOne = Date.parse(dateone)
883
-        
885
+
884 886
         var arrDateTwo = (timeStampOne/1000)-28800
885 887
 
886 888
         console.log("时间搓2222",arrDateTwo)
887
-     
889
+
888 890
         getDialysisParameterGoodList(params).then(response=>{
889 891
            if(response.data.state == 1){
890 892
             this.startdialogVisible = true
891 893
             var list = response.data.data.list
892 894
             var anticoagulantList = []
893
-            
895
+
894 896
             if(arrDateOne > arrDateTwo){
895 897
               console.log("简单阿凡达2332322332")
896 898
               if(list!=null && list.length>0){
@@ -912,7 +914,7 @@ import dialysis from '../../../../router/modules/dialysis';
912 914
                         list[i].dialysis_strainer_arr = list[i].dialysis_solution.dialysis_strainer.split(",")
913 915
                     }
914 916
 
915
-                    
917
+
916 918
                     if(list[i].dialysis_solution.anticoagulant == 1){
917 919
                         anticoagulantList.push(list[i].dialysis_solution)
918 920
                     }
@@ -979,7 +981,7 @@ import dialysis from '../../../../router/modules/dialysis';
979 981
                         list[i].dialysis_strainer_arr = list[i].dialysis_prescription.dialysis_strainer.split(",")
980 982
                     }
981 983
 
982
-                    
984
+
983 985
                     if(list[i].dialysis_prescription.anticoagulant == 1){
984 986
                         anticoagulantList.push(list[i].dialysis_prescription)
985 987
                     }
@@ -1026,12 +1028,12 @@ import dialysis from '../../../../router/modules/dialysis';
1026 1028
             // var NewAllList=[]
1027 1029
             // for(let i=0;i<list.length;i++){
1028 1030
             //    if(list[i].dialysis_machine_name =="OCI150"){
1029
-            //         NewAllList.push(list[i]) 
1031
+            //         NewAllList.push(list[i])
1030 1032
             //    }
1031 1033
             // }
1032 1034
             // console.log("NewAllList",NewAllList)
1033
-          
1034
-         
1035
+
1036
+
1035 1037
            this.tableList = []
1036 1038
            if(anticoagulantList!=null && anticoagulantList.length > 0){
1037 1039
                 let dataInfoOne = {}
@@ -1071,7 +1073,7 @@ import dialysis from '../../../../router/modules/dialysis';
1071 1073
             var dialysisStrainerArr = []
1072 1074
             for(let i=0;i<list.length;i++){
1073 1075
              for(let j=0;j<list[i].dialysis_dialyszers_arr.length;j++){
1074
-               dialysisDialyszersArr.push(list[i].dialysis_dialyszers_arr[j])  
1076
+               dialysisDialyszersArr.push(list[i].dialysis_dialyszers_arr[j])
1075 1077
              }
1076 1078
              for(let z=0;z<list[i].dialyzer_perfusion_apparatus_arr.length;z++){
1077 1079
               dialyzerPerfusionApparaArr.push(list[i].dialyzer_perfusion_apparatus_arr[z])
@@ -1104,15 +1106,15 @@ import dialysis from '../../../../router/modules/dialysis';
1104 1106
               a.specification_name = i
1105 1107
               Arr.push(a);
1106 1108
             }
1107
-          
1109
+
1108 1110
            for(let i=0;i<dialyzerPerfusionApparaArr.length;i++){
1109 1111
             if(objOne[dialyzerPerfusionApparaArr[i]]){
1110 1112
                 objOne[dialyzerPerfusionApparaArr[i]] +=1
1111 1113
              }else{
1112 1114
               objOne[dialyzerPerfusionApparaArr[i]] = 1
1113
-             }   
1115
+             }
1114 1116
            }
1115
-           
1117
+
1116 1118
            for (let i in objOne) {
1117 1119
               let a = {};
1118 1120
               a[i] = objOne[i];
@@ -1122,14 +1124,14 @@ import dialysis from '../../../../router/modules/dialysis';
1122 1124
               Arr.push(a);
1123 1125
             }
1124 1126
 
1125
-         
1127
+
1126 1128
 
1127 1129
            for(let i=0;i<dialysisIrrigationArr.length;i++){
1128 1130
             if(objTwo[dialysisIrrigationArr[i]]){
1129 1131
               objTwo[dialysisIrrigationArr[i]] +=1
1130 1132
              }else{
1131 1133
               objTwo[dialysisIrrigationArr[i]] = 1
1132
-             }   
1134
+             }
1133 1135
            }
1134 1136
 
1135 1137
            for (let i in objTwo) {
@@ -1156,7 +1158,7 @@ import dialysis from '../../../../router/modules/dialysis';
1156 1158
               objThree[dialysisStrainerArr[i]] +=1
1157 1159
              }else{
1158 1160
               objThree[dialysisStrainerArr[i]] = 1
1159
-             }   
1161
+             }
1160 1162
            }
1161 1163
 
1162 1164
            for (let i in objThree) {
@@ -1178,7 +1180,7 @@ import dialysis from '../../../../router/modules/dialysis';
1178 1180
         })
1179 1181
       },
1180 1182
 
1181
-    
1183
+
1182 1184
       getModeName(id){
1183 1185
          var mode_name =""
1184 1186
          if(id == 1){
@@ -1257,7 +1259,7 @@ import dialysis from '../../../../router/modules/dialysis';
1257 1259
          if(id ==42){
1258 1260
            mode_name ="HD."
1259 1261
          }
1260
-        
1262
+
1261 1263
          return mode_name
1262 1264
       },
1263 1265
       getAnticoagulantName(id){
@@ -1291,7 +1293,7 @@ import dialysis from '../../../../router/modules/dialysis';
1291 1293
 
1292 1294
        exportList(){
1293 1295
          import('@/vendor/Export2Excel').then(excel => {
1294
-      
1296
+
1295 1297
          if(this.list!=null && this.list.length > 0){
1296 1298
             console.log("hhhahhah",this.list)
1297 1299
             for(let i=0;i<this.list.length;i++){
@@ -1308,8 +1310,8 @@ import dialysis from '../../../../router/modules/dialysis';
1308 1310
                 this.list[i].blood_pressure = ""
1309 1311
               }
1310 1312
               this.list[i].ultrafiltration_volume = this.list[i].dialysis_solution.target_ultrafiltration?this.list[i].dialysis_solution.target_ultrafiltration:""
1311
-             
1312
-              
1313
+
1314
+
1313 1315
               this.list[i].anticoagulant_one=""
1314 1316
               if(this.list[i].dialysis_prescription.anticoagulant == ''){
1315 1317
                 this.list[i].anticoagulant_one = (this.getAnticoagualnt(this.list[i].dialysis_solution.anticoagulant)) + "(" + (this.list[i].dialysis_solution.anticoagulant_shouji) +")" + "("+(this.list[i].dialysis_solution.anticoagulant_weichi) +")"+"("+(this.list[i].dialysis_solution.anticoagulant_zongliang)+")"
@@ -1318,8 +1320,8 @@ import dialysis from '../../../../router/modules/dialysis';
1318 1320
               if(this.list[i].dialysis_prescription.anticoagulant != ''){
1319 1321
                 this.list[i].anticoagulant_one = (this.getAnticoagualnt(this.list[i].dialysis_prescription.anticoagulant)) + "(" + (this.list[i].dialysis_prescription.anticoagulant_shouji) +")" + "("+(this.list[i].dialysis_prescription.anticoagulant_weichi) +")"+"("+(this.list[i].dialysis_prescription.anticoagulant_zongliang)+")"
1320 1322
               }
1321
-             
1322
-             
1323
+
1324
+
1323 1325
               this.list[i].dialysis_time = this.list[i].dialysis_solution.dialysis_duration_hour?this.list[i].dialysis_solution.dialysis_duration_hour:"" + "时"+ this.list[i].dialysis_solution.dialysis_duration_minute?this.list[i].dialysis_solution.dialysis_duration_minute:"" + "分"
1324 1326
               if(this.list[i].dialysis_time == 0){
1325 1327
                this.list[i].dialysis_time = ""
@@ -1340,7 +1342,7 @@ import dialysis from '../../../../router/modules/dialysis';
1340 1342
               if(this.list[i].dialysis_prescription.dialysis_irrigation != ""){
1341 1343
                 this.list[i].dialysis_irrigation = this.list[i].dialysis_prescription.dialysis_irrigation
1342 1344
               }
1343
-             
1345
+
1344 1346
               if(this.list[i].dialysis_prescription.displace_liqui_part==""){
1345 1347
                 this.list[i].displace_liqui_part = this.getDisplaceLiquiPart(this.list[i].dialysis_solution.displace_liqui_part)
1346 1348
               }
@@ -1348,8 +1350,8 @@ import dialysis from '../../../../router/modules/dialysis';
1348 1350
               if(this.list[i].dialysis_prescription.displace_liqui_part!=""){
1349 1351
                 this.list[i].displace_liqui_part = this.getDisplaceLiquiPart(this.list[i].dialysis_prescription.displace_liqui_part)
1350 1352
               }
1351
-            
1352
-           
1353
+
1354
+
1353 1355
               this.list[i].displace_liqui_value = this.list[i].dialysis_solution.displace_liqui_value? this.list[i].dialysis_solution.displace_liqui_value:""
1354 1356
               this.list[i].kalium = this.list[i].dialysis_solution.kalium?this.list[i].dialysis_solution.kalium:""
1355 1357
               this.list[i].sodium = this.list[i].dialysis_solution.sodium?this.list[i].dialysis_solution.sodium:""
@@ -1367,7 +1369,7 @@ import dialysis from '../../../../router/modules/dialysis';
1367 1369
          }
1368 1370
 
1369 1371
          console.log("list23323232322323wode",this.list)
1370
-         
1372
+
1371 1373
          var arr= []
1372 1374
          var arrTwo = []
1373 1375
          arr.push('序号')
@@ -1417,7 +1419,7 @@ import dialysis from '../../../../router/modules/dialysis';
1417 1419
          if(this.dialysisSett.device_type == 1){
1418 1420
            arr.push("设备型号")
1419 1421
            arrTwo.push("device_type")
1420
-         } 
1422
+         }
1421 1423
          if(this.dialysisSett.dialyzer_perfusion_apparatus == 1){
1422 1424
             arr.push("透析器/灌流器")
1423 1425
             arrTwo.push("dialyzer_perfusion_apparatus")
@@ -1472,19 +1474,19 @@ import dialysis from '../../../../router/modules/dialysis';
1472 1474
            arr.push("血流量")
1473 1475
            arrTwo.push("blood_flow_volume")
1474 1476
         }
1475
-         
1477
+
1476 1478
         arr.push("封管液")
1477 1479
         arrTwo.push("count")
1478 1480
 
1479 1481
         arr.push("促红")
1480 1482
         arrTwo.push("advice_spc")
1481
-       
1483
+
1482 1484
         const tHeader = arr
1483 1485
         const filterVal = arrTwo
1484
-        
1486
+
1485 1487
         const data = this.formatJson(filterVal, this.list)
1486 1488
         console.log("DATWOWOWOWO",data)
1487
-       
1489
+
1488 1490
          excel.export_json_to_excel({
1489 1491
            header: tHeader,
1490 1492
            data,
@@ -1497,7 +1499,7 @@ import dialysis from '../../../../router/modules/dialysis';
1497 1499
         return jsonData.map(v => filterVal.map(j => v[j]));
1498 1500
       },
1499 1501
       exportListOne(){
1500
-        import('@/vendor/Export2Excel').then(excel => { 
1502
+        import('@/vendor/Export2Excel').then(excel => {
1501 1503
         if(this.tableList!=null && this.tableList.length > 0){
1502 1504
            for(let i=0;i<this.tableList.length;i++){
1503 1505
              this.tableList[i].index = i+1
@@ -1513,7 +1515,7 @@ import dialysis from '../../../../router/modules/dialysis';
1513 1515
            filename: '透析参数统计'
1514 1516
          })
1515 1517
           this.downloadLoading = false
1516
-        })  
1518
+        })
1517 1519
       },
1518 1520
      toDialog(){
1519 1521
       getDialysisSetting().then(response=>{
@@ -1608,6 +1610,13 @@ import dialysis from '../../../../router/modules/dialysis';
1608 1610
               this.dialysis_irrigation = false
1609 1611
             }
1610 1612
 
1613
+            if(dialysisSett.dialysis_strainer_set == 1){
1614
+               this.dialysis_strainer_set = true
1615
+            } 
1616
+            if(dialysisSett.dialysis_strainer_set == 2){
1617
+               this.dialysis_strainer_set = false
1618
+            } 
1619
+
1611 1620
             if(dialysisSett.gaijiliang ==1){
1612 1621
               this.gaijiliang =true
1613 1622
             }else{
@@ -1697,13 +1706,13 @@ import dialysis from '../../../../router/modules/dialysis';
1697 1706
 
1698 1707
 
1699 1708
           }
1700
-     
1709
+
1701 1710
         }
1702 1711
       })
1703
-      
1712
+
1704 1713
      },
1705 1714
      saveDialysisSetting(){
1706
-       var device_number_set = 0 
1715
+       var device_number_set = 0
1707 1716
        var device_type_set = 0
1708 1717
        var name_set = 0
1709 1718
        var admission_number_set = 0
@@ -1720,6 +1729,7 @@ import dialysis from '../../../../router/modules/dialysis';
1720 1729
        var dialysis_time_set =0
1721 1730
        var dialysis_dialyszers_set =0
1722 1731
        var dialysis_irrigation_set =0
1732
+       var dialysis_strainer_set = 0
1723 1733
        var gaijiliang_set = 0
1724 1734
        var kalium_set = 0
1725 1735
        var displace_liqui_value_set =0
@@ -1730,7 +1740,7 @@ import dialysis from '../../../../router/modules/dialysis';
1730 1740
        var blood_access_set =0
1731 1741
        var dialyzer_perfusion_apparatus_set =0
1732 1742
        var displace_liqui_part_set =0
1733
-        
1743
+
1734 1744
        var cuhong_set = 0
1735 1745
        var zuoka_set =0
1736 1746
        var difenzi_set =0
@@ -1755,7 +1765,7 @@ import dialysis from '../../../../router/modules/dialysis';
1755 1765
        if(this.difenzi == false){
1756 1766
           difenzi_set = 2
1757 1767
        }
1758
-       
1768
+
1759 1769
        if(this.difenzi == true){
1760 1770
           difenzi_set = 1
1761 1771
        }
@@ -1780,7 +1790,7 @@ import dialysis from '../../../../router/modules/dialysis';
1780 1790
        if(this.niaojimei == true){
1781 1791
           niaojimei_set = 1
1782 1792
        }
1783
-      
1793
+
1784 1794
        if(this.sodium == false){
1785 1795
          sodium_set = 2
1786 1796
        }
@@ -1812,11 +1822,11 @@ import dialysis from '../../../../router/modules/dialysis';
1812 1822
        if(this.displace_liqui_part == false){
1813 1823
           displace_liqui_part_set = 2
1814 1824
        }
1815
-       
1825
+
1816 1826
        if(this.displace_liqui_part == true){
1817 1827
           displace_liqui_part_set = 1
1818 1828
        }
1819
-    
1829
+
1820 1830
 
1821 1831
        if(this.device_number == false){
1822 1832
           device_number_set = 2
@@ -1850,7 +1860,7 @@ import dialysis from '../../../../router/modules/dialysis';
1850 1860
         }
1851 1861
         if(this.weight_befor == false){
1852 1862
            weight_befor_set = 2
1853
-        } 
1863
+        }
1854 1864
         if(this.weight_befor == true){
1855 1865
            weight_befor_set = 1
1856 1866
         }
@@ -1859,7 +1869,7 @@ import dialysis from '../../../../router/modules/dialysis';
1859 1869
         }
1860 1870
         if(this.dry_weight == true){
1861 1871
            dry_weight_set = 1
1862
-        }   
1872
+        }
1863 1873
         if(this.blood_pressure == false){
1864 1874
           blood_pressure_set = 2
1865 1875
         }
@@ -1920,6 +1930,16 @@ import dialysis from '../../../../router/modules/dialysis';
1920 1930
         if(this.dialysis_irrigation == true){
1921 1931
            dialysis_irrigation_set = 1
1922 1932
         }
1933
+
1934
+        if(this.dialysis_strainer == false){
1935
+          dialysis_strainer_set = 2
1936
+        }
1937
+
1938
+        if(this.dialysis_strainer == true){
1939
+          dialysis_strainer_set = 1
1940
+        }
1941
+
1942
+
1923 1943
         if(this.gaijiliang == false){
1924 1944
           this.gaijiliang = 2
1925 1945
         }
@@ -1984,8 +2004,9 @@ import dialysis from '../../../../router/modules/dialysis';
1984 2004
           gansuna_set:gansuna_set,
1985 2005
           zhetangtie_set:zhetangtie_set,
1986 2006
           niaojimei_set:niaojimei_set,
2007
+          dialysis_strainer_set:dialysis_strainer_set,
1987 2008
         }
1988
-       
2009
+
1989 2010
        saveDialysisSetting(params).then(response=>{
1990 2011
          if(response.data.state == 1){
1991 2012
            var dialysisSetting = response.data.data.dialysisSetting
@@ -2137,9 +2158,9 @@ import dialysis from '../../../../router/modules/dialysis';
2137 2158
           }
2138 2159
         })
2139 2160
       },
2140
-    
2161
+
2141 2162
       saveRemindPrint() {
2142
-       
2163
+
2143 2164
 
2144 2165
         if (this.perfusion_apparatus == true) {
2145 2166
           // console.log('3333')
@@ -2248,13 +2269,13 @@ import dialysis from '../../../../router/modules/dialysis';
2248 2269
         this.$router.push({path:"/dialysis/consumable/dialysis/count/print?schedule_type="+this.schedule_type+"&partion_type="+this.partion_type+"&schedule_date="+this.query.schedule_date})
2249 2270
       },
2250 2271
       handleSelectionChange(val){
2251
-        
2272
+
2252 2273
         var arr = []
2253 2274
         for(let i=0;i<val.length;i++){
2254 2275
           arr.push(val[i].id)
2255 2276
         }
2256 2277
         this.ids = arr.join(",")
2257
-     }, 
2278
+     },
2258 2279
      changeScheduleType(){
2259 2280
       this.tableList = []
2260 2281
       this.statistics()

+ 1 - 1
src/xt_pages/dialysis/details/consumable/dialysisParameterPrint.vue ファイルの表示

@@ -41,7 +41,7 @@
41 41
                 <td width="100" v-if="dialysisSett.dialyzer_perfusion_apparatus == 1">透析器/灌流器</td>
42 42
                 <td width="100"  v-if="dialysisSett.dialysis_dialyszers == 1">透析器</td>
43 43
                 <td width="100" v-if="dialysisSett.dialysis_irrigation ==1">灌流器</td>
44
-                <td width="100" v-if="dialysisSett.dialysis_irrigation ==1">滤过器</td>
44
+                <td width="100" v-if="dialysisSett.dialysis_strainer_set ==1">滤过器</td>
45 45
                  <td width="100" v-if="dialysisSett.displace_liqui_part==1">置换液</td>
46 46
                 <td width="100"  v-if="dialysisSett.displace_liqui_value==1">置换液总量</td>
47 47
                 <td width="100" v-if="dialysisSett.kalium==1">钾</td>

+ 2 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue ファイルの表示

@@ -953,7 +953,7 @@
953 953
                     </el-col>
954 954
 
955 955
                     <el-col :span="8"
956
-                            v-if="isShows('置换液总量') && (((this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id ==24 || this.$store.getters.xt_user.template_info.template_id ==53 || this.$store.getters.xt_user.template_info.org_id == 10206) && this.$store.getters.xt_user.template_info.org_id != 10249) && this.$store.getters.xt_user.template_info.org_id != 10441)"
956
+                            v-if="isShows('置换液总量') && (((this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id ==24 || this.$store.getters.xt_user.template_info.template_id ==53 || this.$store.getters.xt_user.template_info.org_id == 10206) && this.$store.getters.xt_user.template_info.org_id != 10249) && this.$store.getters.xt_user.template_info.org_id != 10441 && this.$store.getters.xt_user.template_info.org_id != 10721)"
957 957
                             v-show="totalShow">
958 958
                         <el-form-item label="置换液总量(ml)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')" v-if="dialysisPrescription.mode_id!=26">
959 959
                             <el-input v-model="dialysisPrescription.displace_liqui_value"></el-input>
@@ -964,7 +964,7 @@
964 964
                         </el-form-item>
965 965
                     </el-col>
966 966
                     <el-col :span="8"
967
-                            v-if="isShows('置换液总量') && (this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id !=24 && this.$store.getters.xt_user.template_info.template_id !=53 && this.$store.getters.xt_user.template_info.org_id != 10206) || this.$store.getters.xt_user.template_info.org_id  == 10249 || this.$store.getters.xt_user.template_info.org_id == 10441 "
967
+                            v-if="isShows('置换液总量') && (this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id !=24 && this.$store.getters.xt_user.template_info.template_id !=53 && this.$store.getters.xt_user.template_info.org_id != 10206) || this.$store.getters.xt_user.template_info.org_id  == 10249 || this.$store.getters.xt_user.template_info.org_id == 10441 ||  this.$store.getters.xt_user.template_info.org_id == 10721"
968 968
                             v-show="totalShow">
969 969
                         <el-form-item label="置换液总量(L)" prop="displace_liqui_value" :rules="isCheckmust('置换液总量')"  v-if="dialysisPrescription.mode_id!=26"
970 970
                             <el-input  v-model="dialysisPrescription.displace_liqui_value"></el-input>

+ 3 - 3
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue ファイルの表示

@@ -392,14 +392,14 @@
392 392
             "
393 393
           >
394 394
             <template slot-scope="scope">
395
-             <span v-if="org_id == 10440 || org_id == 9671 || org_id ==10206 || org_id ==10612 || org_id ==10617 || org_id ==10702">
395
+             <span v-if="org_id == 10440 || org_id == 9671 || org_id ==10206 || org_id ==10612 || org_id ==10617 || org_id ==10702 || org_id == 10644">
396 396
               {{
397 397
                 scope.row.ultrafiltration_volume
398 398
                   ? scope.row.ultrafiltration_volume
399 399
                   : "0"
400 400
               }}
401 401
               </span>
402
-               <span v-if="org_id != 10440 && org_id!=9671 && org_id!=10206 && org_id!=10612 && org_id!=10617 && org_id!=10702">
402
+               <span v-if="org_id != 10440 && org_id!=9671 && org_id!=10206 && org_id!=10612 && org_id!=10617 && org_id!=10702 && org_id!=10644">
403 403
               {{
404 404
                 scope.row.ultrafiltration_volume
405 405
                   ? scope.row.ultrafiltration_volume
@@ -763,7 +763,7 @@
763 763
               {{
764 764
                 scope.row.displacement_quantity
765 765
                   ? scope.row.displacement_quantity
766
-                  : ""
766
+                  : "0"
767 767
               }}
768 768
             </template>
769 769
           </el-table-column>

+ 2 - 2
src/xt_pages/dialysis/details/dialysisMonitoring.vue ファイルの表示

@@ -94,8 +94,8 @@
94 94
           <td v-if="isShow('跨膜压')"> {{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }} </td>
95 95
           <td v-if="isShow('跨膜压1')"> {{ monitor.transmembrane_pressure_one ? monitor.transmembrane_pressure_one : "/" }} </td>
96 96
           <td v-if="isShow('超滤量')"> 
97
-            <span v-if="org_id!=9671 && org_id!=10440 && org_id!=10702">{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}  </span> 
98
-            <span v-if="org_id ==9671 || org_id==10440 || org_id == 10702">{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "0" }}  </span> 
97
+            <span v-if="org_id!=9671 && org_id!=10440 && org_id!=10702 && org_id!=10644">{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}  </span> 
98
+            <span v-if="org_id ==9671 || org_id==10440 || org_id == 10702 || org_id == 10644">{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "0" }}  </span> 
99 99
           </td>
100 100
           <td v-if="isShow('超滤量1')"> 
101 101
             {{ monitor.ultrafiltration_volume_one ? monitor.ultrafiltration_volume_one : "/" }}

+ 6 - 0
src/xt_pages/dialysis/doctorAdvicePrintOne.vue ファイルの表示

@@ -206,6 +206,8 @@ export default {
206 206
             showOne:false,
207 207
             delivery_way:"",
208 208
             org_id:0,
209
+            schedule_type:0,
210
+            partition_type:0
209 211
         }
210 212
     },
211 213
     methods:{
@@ -245,6 +247,8 @@ export default {
245 247
             patient_type: 0,
246 248
             advice_type: 2,
247 249
             delivery_way:this.delivery_way,
250
+            schedule_type:this.schedule_type,
251
+            partition_type:this.partition_type,
248 252
             }).then(rs => {
249 253
                 var resp = rs.data
250 254
                 if (resp.state == 1) {
@@ -742,6 +746,8 @@ export default {
742 746
       var time = this.$route.query.time
743 747
       var delivery_way = this.$route.query.delivery_way
744 748
       this.delivery_way = delivery_way
749
+      this.schedule_type = this.$route.query.schedulType
750
+      this.partition_type = this.$route.query.partitionType
745 751
       this.time = moment(time).format('YYYY-MM-DD')
746 752
       console.log(11,this.$route.query)
747 753
       this.requestSchedualDoctors(time)

+ 7 - 1
src/xt_pages/dialysis/doctorAdvicePrintTwo.vue ファイルの表示

@@ -82,7 +82,9 @@ export default {
82 82
             showOne:false,
83 83
             delivery_way:"",
84 84
             org_id:0,
85
-            drugList:[]
85
+            drugList:[],
86
+            schedule_type:0,
87
+            partition_type:0,
86 88
         }
87 89
     },
88 90
     methods:{
@@ -122,6 +124,8 @@ export default {
122 124
             patient_type: 0,
123 125
             advice_type: 2,
124 126
             delivery_way:this.delivery_way,
127
+            schedule_type:this.schedule_type,
128
+            partition_type:this.partition_type,
125 129
             }).then(rs => {
126 130
                 var resp = rs.data
127 131
                 if (resp.state == 1) {
@@ -299,6 +303,8 @@ export default {
299 303
       var time = this.$route.query.time
300 304
       var delivery_way = this.$route.query.delivery_way
301 305
       this.delivery_way = delivery_way
306
+      this.schedule_type = this.$route.query.schedulType
307
+      this.partition_type = this.$route.query.partitionType
302 308
       this.time = moment(time).format('YYYY-MM-DD')
303 309
       console.log(11,this.$route.query)
304 310
       this.requestSchedualDoctors(time)

+ 30 - 30
src/xt_pages/dialysis/newDoctorAdvice.vue ファイルの表示

@@ -41,7 +41,7 @@
41 41
             </template>
42 42
             </el-autocomplete>
43 43
             <el-button type="primary" @click="toSeach">搜索</el-button>
44
-            
44
+
45 45
             <el-input style="width:200px" placeholder="请输入药品名称" v-model="keyword"></el-input>
46 46
             <el-button type="primary" @click="toSeachOne">搜索</el-button>
47 47
           </div>
@@ -56,7 +56,7 @@
56 56
             <el-button type="primary" size="small" @click="toStaticFour">耗材月统计</el-button>
57 57
           </div>
58 58
         </div>
59
-        
59
+
60 60
       </div>
61 61
       <!-- <div class="filter-container">
62 62
         <el-input style="width:200px" placeholder="请输入药品名称" v-model="keyword"></el-input>
@@ -528,7 +528,7 @@
528 528
         <div class="eldialog" style="margin-bottom:10px">
529 529
           <div>
530 530
             <label class="title"> <span class="name">排班班次</span> : </label>
531
-            <el-select v-model="schedule_type" placeholder="请选择" 
531
+            <el-select v-model="schedule_type" placeholder="请选择"
532 532
               @change="changeScheduleType"  style="width: 120px;">
533 533
               <el-option
534 534
                 v-for="item in schedulArr"
@@ -538,7 +538,7 @@
538 538
               </el-option>
539 539
             </el-select>
540 540
             <label class="title"> <span class="name">病区选择</span> : </label>
541
-            <el-select v-model="partion_type" placeholder="请选择" 
541
+            <el-select v-model="partion_type" placeholder="请选择"
542 542
                   @change="changePartionType" multiple  style="width: 120px;"
543 543
               >
544 544
               <el-option
@@ -586,7 +586,7 @@
586 586
              <span v-if="config.is_open ==1">{{getHisCount(scope.row.child,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
587 587
            </template>
588 588
         </el-table-column>
589
-      
589
+
590 590
         <el-table-column align="center" label="厂家">
591 591
            <template slot-scope="scope">
592 592
              {{scope.row.manufacturer_name}}
@@ -622,7 +622,7 @@
622 622
               </el-option>
623 623
             </el-select>
624 624
             <label class="title"> <span class="name">病区选择</span> : </label>
625
-            <el-select v-model="partion_type" placeholder="请选择" 
625
+            <el-select v-model="partion_type" placeholder="请选择"
626 626
               @change="changePartionTypeOne" multiple style="width: 120px;">
627 627
               <el-option
628 628
                 v-for="item in partitionArr"
@@ -748,7 +748,7 @@
748 748
         <div class="eldialog" style="margin-bottom:10px">
749 749
           <div>
750 750
             <label class="title"> <span class="name">排班班次</span> : </label>
751
-            <el-select v-model="schedule_type" placeholder="请选择" 
751
+            <el-select v-model="schedule_type" placeholder="请选择"
752 752
               @change="changeScheduleTypeTwo" style="width: 120px;">
753 753
               <el-option
754 754
                 v-for="item in schedulArr"
@@ -758,7 +758,7 @@
758 758
               </el-option>
759 759
             </el-select>
760 760
             <label class="title"> <span class="name">病区选择</span> : </label>
761
-            <el-select v-model="partion_type" placeholder="请选择" 
761
+            <el-select v-model="partion_type" placeholder="请选择"
762 762
               @change="changePartionTypeTwo" multiple  style="width: 120px;">
763 763
               <el-option
764 764
                 v-for="item in partitionArr"
@@ -820,7 +820,7 @@
820 820
         <div class="eldialog" style="margin-bottom:10px">
821 821
           <div>
822 822
             <label class="title"> <span class="name">日期查询</span> : </label>
823
-            
823
+
824 824
               <el-date-picker
825 825
                 v-model="start_time"
826 826
                 prefix-icon="el-icon-date"
@@ -831,7 +831,7 @@
831 831
                 align="right"
832 832
                 format="yyyy-MM-dd"
833 833
                 value-format="yyyy-MM-dd"
834
-              
834
+
835 835
             ></el-date-picker>
836 836
               <span>-</span>
837 837
               <el-date-picker
@@ -844,7 +844,7 @@
844 844
                 align="right"
845 845
                 format="yyyy-MM-dd"
846 846
                 value-format="yyyy-MM-dd"
847
-              
847
+
848 848
             ></el-date-picker>
849 849
           </div>
850 850
           <div>
@@ -852,10 +852,10 @@
852 852
             <el-button size="small" icon="el-icon-printer"  @click="toPrintTen" type="primary">打印</el-button>
853 853
             <el-button size="small"  @click="toExportListThree" type="primary">导出</el-button>
854 854
           </div>
855
-          
856
-           
855
+
856
+
857 857
         </div>
858
-     
858
+
859 859
         <el-table
860 860
           :data="tableMonthList"
861 861
           border
@@ -887,7 +887,7 @@
887 887
               <span v-if="config.is_open ==1">{{getHisCount(scope.row.child,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
888 888
             </template>
889 889
           </el-table-column>
890
-        
890
+
891 891
           <el-table-column align="center" label="厂家">
892 892
             <template slot-scope="scope">
893 893
               {{scope.row.manufacturer_name}}
@@ -921,7 +921,7 @@
921 921
                 align="right"
922 922
                 format="yyyy-MM-dd"
923 923
                 value-format="yyyy-MM-dd"
924
-              
924
+
925 925
             ></el-date-picker>
926 926
               <span>-</span>
927 927
               <el-date-picker
@@ -934,7 +934,7 @@
934 934
                 align="right"
935 935
                 format="yyyy-MM-dd"
936 936
                 value-format="yyyy-MM-dd"
937
-              
937
+
938 938
             ></el-date-picker>
939 939
           </div>
940 940
 
@@ -1547,14 +1547,14 @@ export default {
1547 1547
        }
1548 1548
 
1549 1549
        if(this.org_id == 9671 || this.org_id == 10340){
1550
-        this.$router.push({ path: "/dialysis/doctorAdvicePrint/one",query:{time: new Date(this.time).getTime(),delivery_way:name,excution_way:this.excution_way} });
1550
+        this.$router.push({ path: "/dialysis/doctorAdvicePrint/one",query:{time: new Date(this.time).getTime(),delivery_way:name,excution_way:this.excution_way,schedulType:this.schedulType,partitionType:this.partitionType} });
1551 1551
        }
1552 1552
 
1553 1553
        if(this.org_id == 0 || this.org_id == 10721){
1554
-         this.$router.push({ path: "/dialysis/doctorAdvicePrint/two",query:{time: new Date(this.time).getTime(),delivery_way:name,excution_way:this.excution_way} });
1554
+         this.$router.push({ path: "/dialysis/doctorAdvicePrint/two",query:{time: new Date(this.time).getTime(),delivery_way:name,excution_way:this.excution_way,schedulType:this.schedulType,partitionType:this.partitionType} });
1555 1555
        }
1556 1556
 
1557
-       if(this.org_id != 9671 && this.org_id != 10340 && this.org_id!=0){
1557
+       if(this.org_id != 9671 && this.org_id != 10340 && this.org_id!=0 && this.org_id!=10721){
1558 1558
         this.$router.push({ path: "/dialysis/doctorAdvicePrint",query:{time: new Date(this.time).getTime(),delivery_way:name,excution_way:this.excution_way} });
1559 1559
        }
1560 1560
 
@@ -2162,8 +2162,8 @@ export default {
2162 2162
                 this.tableList = []
2163 2163
                 this.tableList = hisarr
2164 2164
               }
2165
-                
2166
-               
2165
+
2166
+
2167 2167
               }
2168 2168
 
2169 2169
 
@@ -2384,7 +2384,7 @@ export default {
2384 2384
             this.manufacturerList = manufacturerList
2385 2385
             var adviceMonthList = response.data.data.adviceList
2386 2386
             var hisAdviceMonthList = response.data.data.hisAdviceList
2387
-        
2387
+
2388 2388
             for(let i=0;i<hisAdviceMonthList.length;i++){
2389 2389
                 hisAdviceMonthList[i].count_one = 0
2390 2390
                if(hisAdviceMonthList[i].prescribing_number_unit == hisAdviceMonthList[i].drug.max_unit){
@@ -2393,11 +2393,11 @@ export default {
2393 2393
                }
2394 2394
             }
2395 2395
 
2396
-  
2396
+
2397 2397
             if(config.is_open == 1){
2398 2398
 
2399 2399
 
2400
-               
2400
+
2401 2401
               if(hisAdviceMonthList!=null && hisAdviceMonthList.length>0){
2402 2402
                 let dataInfo = {}
2403 2403
                 hisAdviceMonthList.forEach((item, index) => {
@@ -2433,9 +2433,9 @@ export default {
2433 2433
             }
2434 2434
 
2435 2435
             if(config.is_open == 2 || config.is_open ==0){
2436
-             
2436
+
2437 2437
               if(adviceMonthList!=null && adviceMonthList.length>0){
2438
-                 
2438
+
2439 2439
                 if(adviceMonthList!=null && adviceMonthList.length > 0){
2440 2440
                   let dataInfo = {}
2441 2441
                   adviceMonthList.forEach((item, index) => {
@@ -2483,7 +2483,7 @@ export default {
2483 2483
             console.log("projectMonthList",projectMonthList)
2484 2484
 
2485 2485
             if(projectMonthList!=null && projectMonthList.length>0){
2486
-              
2486
+
2487 2487
               let dataInfo = {}
2488 2488
               projectMonthList.forEach((item, index) => {
2489 2489
               let { project_id } = item
@@ -3077,7 +3077,7 @@ export default {
3077 3077
         return manufacturer_name
3078 3078
     },
3079 3079
     getDrugName(drug_id,drugs){
3080
-      
3080
+
3081 3081
       var drug_name = ""
3082 3082
       for(let i=0;i<drugs.length;i++){
3083 3083
          if(drug_id == drugs[i].id){
@@ -3093,7 +3093,7 @@ export default {
3093 3093
           manufacturer = drugs[i].manufacturer
3094 3094
          }
3095 3095
       }
3096
-   
3096
+
3097 3097
       var  manufacturer_name = ""
3098 3098
         for(let i=0;i<manufacturerList.length;i++){
3099 3099
             if(manufacturer== manufacturerList[i].id){

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue ファイルの表示

@@ -2011,7 +2011,7 @@
2011 2011
                             {{
2012 2012
                               monitor.displacement_quantity
2013 2013
                                 ? monitor.displacement_quantity
2014
-                                : ""
2014
+                                : "0"
2015 2015
                             }}
2016 2016
                             </span>
2017 2017
                             <span v-if="org_id == 10683">

+ 24 - 9
src/xt_pages/dialysis/template/DialysisPrintOrdereightyone.vue ファイルの表示

@@ -641,10 +641,22 @@
641 641
                       <tr v-for="(monitor, monindex) in monitors" :key="monindex" style="">
642 642
                         <td height="40px">{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
643 643
                         <td >{{monitor.blood_flow_volume? monitor.blood_flow_volume: ""}}</td>
644
-                        <td >{{monitor.replacement_rate ? monitor.replacement_rate : '/'}}</td>
645
-                        <td >{{monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : '/' }}</td>
646
-                        <td >{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</td>
647
-                        <td >{{ monitor.venous_pressure ? monitor.venous_pressure : "/"}}</td>
644
+                        <td>
645
+                          <span v-if="monitor.systolic_blood_pressure>0">{{monitor.replacement_rate ? monitor.replacement_rate : '/'}}</span> 
646
+                          <span v-if="monitor.systolic_blood_pressure == 0">{{monitor.replacement_rate ? monitor.replacement_rate : ''}}</span> 
647
+                        </td>
648
+                        <td >
649
+                         <span v-if="monitor.systolic_blood_pressure>0">{{monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : '/' }}</span> 
650
+                         <span v-if="monitor.systolic_blood_pressure ==0">{{monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : '' }}</span>
651
+                        </td>
652
+                        <td >
653
+                          <span v-if="monitor.systolic_blood_pressure>0"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
654
+                          <span v-if="monitor.systolic_blood_pressure==0"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
655
+                        </td>
656
+                        <td >
657
+                          <span v-if="monitor.systolic_blood_pressure>0"> {{ monitor.venous_pressure ? monitor.venous_pressure : "/"}}</span>
658
+                          <span v-if="monitor.systolic_blood_pressure==0"> {{ monitor.venous_pressure ? monitor.venous_pressure : ""}}</span>
659
+                        </td>
648 660
                         <td>{{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : ""}}</td>
649 661
                         <td>{{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</td>
650 662
                         <!-- 温度 -->
@@ -1832,7 +1844,8 @@ export default {
1832 1844
             }
1833 1845
           }
1834 1846
         })
1835
-      } if(this.monitors.length >0){
1847
+      } 
1848
+      if(this.monitors.length >0){
1836 1849
         for(let i in this.monitors){
1837 1850
           if(this.monitors[i].blood_flow_volume ==0){
1838 1851
             const obj55 = '监测第'+((i*1)+1)+'行血流量'
@@ -1879,6 +1892,8 @@ export default {
1879 1892
 
1880 1893
         }
1881 1894
       }
1895
+      
1896
+
1882 1897
       if(monearr.length>0){
1883 1898
        checkDate =checkDate.concat(monearr)
1884 1899
         console.log('1111',checkDate.concat(monearr));
@@ -2184,16 +2199,16 @@ export default {
2184 2199
         this.summary = response.data.data.summary;
2185 2200
         this.org_template_info = response.data.data.org_template_info;
2186 2201
 
2187
-        if (this.monitors.length <= 3) {
2188
-          var nl = 3;
2189
-          this.print_length = 3;
2202
+        if (this.monitors.length <= 7) {
2203
+          var nl = 7;
2204
+          this.print_length = 7;
2190 2205
 
2191 2206
           for (let index = 0; index < nl; index++) {
2192 2207
             if (
2193 2208
               this.monitors[index] == undefined ||
2194 2209
               this.monitors[index].length <= 0
2195 2210
             ) {
2196
-              this.monitors2.push([]);
2211
+              this.monitors.push([]);
2197 2212
             } else {
2198 2213
               continue;
2199 2214
             }

+ 5 - 5
src/xt_pages/role/admin.vue ファイルの表示

@@ -32,7 +32,7 @@
32 32
           style="float:left"
33 33
           @click="toJiaBan">首拼</el-button>  -->
34 34
 
35
-          
35
+
36 36
 
37 37
 
38 38
           <!-- <el-button
@@ -227,12 +227,12 @@
227 227
           @click="toAutoDrug">自动生成</el-button> -->
228 228
 
229 229
 
230
-         <!-- <el-button
230
+        <el-button
231 231
           type="primary"
232 232
           size="small"
233 233
           icon="el-icon-circle-plus-outline"
234 234
           style="float:left"
235
-          @click="toAutoDiagnose">自动脚本</el-button> -->
235
+          @click="toAutoDiagnose">自动脚本</el-button>
236 236
 
237 237
         <!-- <el-button
238 238
           type="primary"
@@ -250,7 +250,7 @@
250 250
           @click="toCheckQuery">库存检验脚本</el-button> -->
251 251
 
252 252
 
253
-        
253
+
254 254
      </div>
255 255
 
256 256
 
@@ -1222,7 +1222,7 @@ export default {
1222 1222
     },
1223 1223
     toAutoDiagnose(){
1224 1224
       toAutoDiagnose().then(response=>{
1225
-        
1225
+
1226 1226
       })
1227 1227
     },
1228 1228
     toJiaoYou(){

+ 25 - 0
src/xt_pages/user/patients.vue ファイルの表示

@@ -253,6 +253,22 @@
253 253
           </ul>
254 254
         </div>
255 255
       </div>
256
+
257
+      <div class="cell clearfix">
258
+        <label class="title"><span class="name">患者类型</span> : </label>
259
+        <div class="time ">
260
+          <ul class="">
261
+            <li
262
+              :class="item.value == patientType ? 'active' : ''"
263
+              @click="selectPatientType(item.value)"
264
+              v-for="item in patienttypeList"
265
+              :key="item.value"
266
+            >
267
+              {{ item.label }}
268
+            </li>
269
+          </ul>
270
+        </div>
271
+      </div>
256 272
       <!-- <div class="cell clearfix">
257 273
         <label class="title"><span class="name">患者去向</span> : </label>
258 274
         <div class="time ">
@@ -825,6 +841,7 @@
825 841
           { value: 2, label: '未绑定' }
826 842
         ],
827 843
         sourceType: 0,
844
+        patientType:0,
828 845
         patientSoureType:0,
829 846
         sourceID: 0,
830 847
         lapsetoType: 1,
@@ -836,6 +853,7 @@
836 853
           { value: 2, label: '住院', source: 2, lapseto: 1 },
837 854
           { value: 3, label: '门特', source: 3, lapseto: 1 }
838 855
         ],
856
+        patienttypeList: [{value:0,label:"全部"},{ value: 1, label: "血透患者" }, { value: 2, label: "慢病患者" }, { value: 3, label: "会员患者" },{ value: 4, label: "腹透患者" },{ value: 5, label: "CKD患者" },{ value: 6, label: "其他患者" }],
839 857
         patientSourceList:[
840 858
           {value:0,label:"全部",source:0,lapeseto:0},
841 859
           {value:1,label:"门诊",source:1,lapeseto:1},
@@ -900,6 +918,7 @@
900 918
           isprescription: '',
901 919
           patientSoureType:'',
902 920
           nurse:0,
921
+          patient_type:"",
903 922
         },
904 923
         multipleSelection: [],
905 924
         bindWechatDialog: false,
@@ -1573,6 +1592,12 @@
1573 1592
         this.getList()
1574 1593
         this.getExportList()
1575 1594
       },
1595
+      selectPatientType(patient_type){
1596
+        this.patientType = patient_type
1597
+        this.listQuery.patient_type = patient_type
1598
+        this.getList()
1599
+        this.getExportList()
1600
+      },
1576 1601
       selectPatientSource(source){
1577 1602
         this.patientSoureType = source
1578 1603
         this.listQuery.patientSoureType = source

+ 13 - 13
src/xt_permission.js ファイルの表示

@@ -12,19 +12,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
12 12
 
13 13
 router.beforeEach((to, from, next) => {
14 14
   // 线上注释
15
-  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-  //   store.dispatch('VerifyConfigList', []).then(() => {
17
-  //     next()
18
-  //   })
19
-  // }
20
-  // if (store.getters.permission_routers === undefined) {
21
-  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-  //     next()
23
-  //   })
24
-  // } else {
25
-  //   next()
26
-  // }
27
-  // return
15
+  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+    store.dispatch('VerifyConfigList', []).then(() => {
17
+      next()
18
+    })
19
+  }
20
+  if (store.getters.permission_routers === undefined) {
21
+    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+      next()
23
+    })
24
+  } else {
25
+    next()
26
+  }
27
+  return
28 28
   // 线上注释
29 29
   NProgress.start()
30 30
   // console.log(store.getters.current_role_urls.indexOf(to.path))