Bladeren bron

长沙南雅打印单问题修改

28169 1 jaar geleden
bovenliggende
commit
357ed7776e

+ 13 - 4
src/xt_pages/dialysis/bloodPresssWatch.vue Bestand weergeven

@@ -1428,11 +1428,15 @@ export default {
1428 1428
       var date = new Date(nowDate + " 00:00:00");
1429 1429
       this.listQuery.schedul_time = date.getTime();
1430 1430
       var start_month = moment().startOf('month').format('YYYY-MM-DD')
1431
-      var start_time = this.getTimestamp(start_month)
1432
-      this.listQuery.start_time = start_time
1431
+      var start_time = this.getTimestamp(start_month)/1000 - 28800
1432
+
1433
+      console.log("开始时间---------------------",start_time)
1434
+      this.listQuery.start_time = start_time*1000
1433 1435
       var end_month = moment(new Date()).add('year',0).format("YYYY-MM-DD")
1434
-      var end_time = this.getTimestamp(end_month)
1435
-      this.listQuery.end_time = end_time
1436
+      var end_time = this.getTimestamp(end_month)/1000-28800
1437
+
1438
+      console.log("结束时间----------------------------------------",end_time)
1439
+      this.listQuery.end_time = end_time*1000
1436 1440
       this.getAllZone();
1437 1441
       this.getSchedualPatientList();
1438 1442
       this.getTemplateInfo();
@@ -1488,6 +1492,11 @@ export default {
1488 1492
 
1489 1493
     changeTime() {
1490 1494
       this.listQuery.schedul_time = this.time;
1495
+      this.listQuery.start_time = ""
1496
+      this.listQuery.start_time = this.getTimestamp(this.time)
1497
+      this.listQuery.end_time = ""
1498
+      this.listQuery.end_time = this.getTimestamp(this.time)
1499
+      console.log("----------------------wo",this.listQuery.end_time)
1491 1500
       this.getSchedualPatientList();
1492 1501
     },
1493 1502
     changeStartTime(){

+ 1 - 1
src/xt_pages/dialysis/details/assessmentAfter.vue Bestand weergeven

@@ -17,7 +17,7 @@
17 17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
18 18
             actual_ultrafiltration
19 19
           }}</span>
20
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 44 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10340 ||  this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10430 ||  this.$store.getters.xt_user.template_info.org_id == 10432 ||  this.$store.getters.xt_user.template_info.org_id == 10441 ||  this.$store.getters.xt_user.template_info.org_id == 10445  ) " >ml</span>
20
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && ((this.$store.getters.xt_user.template_info.template_id == 6 &&this.$store.getters.xt_user.template_info.org_id != 10447) || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 44 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10340 ||  this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10430 ||  this.$store.getters.xt_user.template_info.org_id == 10432 ||  this.$store.getters.xt_user.template_info.org_id == 10441 ||  this.$store.getters.xt_user.template_info.org_id == 10445  ) " >ml</span>
21 21
           <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 44 && this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10340 &&  this.$store.getters.xt_user.template_info.org_id!= 10387 &&  this.$store.getters.xt_user.template_info.org_id!= 10430 &&  this.$store.getters.xt_user.template_info.org_id!= 10432 &&  this.$store.getters.xt_user.template_info.org_id!= 10441 &&  this.$store.getters.xt_user.template_info.org_id!= 10445"  >L</span>
22 22
         </li>
23 23
         <li v-if="isShow('导管')">

+ 1 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Bestand weergeven

@@ -28,7 +28,7 @@
28 28
           <el-col :span="8" v-if="isShow('实际超滤量')">
29 29
             <el-form-item
30 30
               label="实际超滤量(ml): "
31
-              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445"  >
31
+              v-if=" (this.template_id == 6 && this.$store.getters.xt_user.template_info.org_id != 10447) || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445"  >
32 32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33 33
             </el-form-item>
34 34
             <el-form-item label="实际超滤量(L): " v-else>

+ 1 - 1
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue Bestand weergeven

@@ -1560,7 +1560,7 @@ export default {
1560 1560
         }
1561 1561
       }
1562 1562
       
1563
-      if(this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 9675 || this.$store.getters.xt_user.org.id == 10340){
1563
+      if( this.$store.getters.xt_user.org.id == 0 || this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 9675 || this.$store.getters.xt_user.org.id == 10340 || this.$store.getters.xt_user.org.id == 10447){
1564 1564
          var date = new Date()
1565 1565
           var year = date.getFullYear()
1566 1566
           var month = date.getMonth() + 1

+ 8 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Bestand weergeven

@@ -2252,6 +2252,14 @@
2252 2252
             } else if (schedual.schedule_type == 3) {
2253 2253
               this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
2254 2254
             }
2255
+           }else if(this.$store.getters.xt_user.org.id == 10447){
2256
+              if (schedual.schedule_type == 1) {
2257
+              this.start_time = year + '-' + month + '-' + day + ' ' + '7:00'
2258
+            } else if (schedual.schedule_type == 2) {
2259
+              this.start_time = year + '-' + month + '-' + day + ' ' + '11:00'
2260
+            } else if (schedual.schedule_type == 3) {
2261
+              this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
2262
+            }
2255 2263
            } else {
2256 2264
             if (schedual.schedule_type == 1) {
2257 2265
               this.start_time = year + '-' + month + '-' + day + ' ' + '07:00'

+ 11 - 3
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Bestand weergeven

@@ -1917,6 +1917,8 @@ export default {
1917 1917
           this.form.breathing_rated = "20"
1918 1918
         }else if(this.org_id == 10340){
1919 1919
          this.form.breathing_rated = "20"
1920
+        }else if(this.org_id == 10447){
1921
+          this.form.breathing_rated = "20"
1920 1922
         } else {
1921 1923
           this.form.breathing_rated = "";
1922 1924
         }
@@ -1962,7 +1964,13 @@ export default {
1962 1964
         this.form.symptom = resp.monitor.symptom ? resp.monitor.symptom : ""; // this.last_monitor_record.symptom;
1963 1965
        // this.form.dispose = resp.monitor.dispose ? resp.monitor.dispose : ""; // this.last_monitor_record.dispose;
1964 1966
         this.form.result = resp.monitor.result ? resp.monitor.result : ""; // this.last_monitor_record.result;
1965
-        this.form.blood_oxygen_saturation = resp.monitor.blood_oxygen_saturation? resp.monitor.blood_oxygen_saturation: "";
1967
+        //电导度
1968
+        if(this.org_id == 9671 || this.org_id == 10447){
1969
+           this.form.blood_oxygen_saturation = "99"
1970
+        }else{
1971
+           this.form.blood_oxygen_saturation = resp.monitor.blood_oxygen_saturation? resp.monitor.blood_oxygen_saturation: "";
1972
+        }
1973
+       
1966 1974
        //针对长沙南雅医院
1967 1975
        if(this.org_id == 9671 || this.org_id == 10340 || this.org_id == 9675){
1968 1976
           this.form.blood_oxygen_saturation = "/"
@@ -1974,7 +1982,7 @@ export default {
1974 1982
         this.form.sodium_concentration = resp.monitor.sodium_concentration
1975 1983
           ? resp.monitor.sodium_concentration
1976 1984
           : "";
1977
-        if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340){
1985
+        if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id == 10447){
1978 1986
           this.form.conductivity = 14
1979 1987
         }else{
1980 1988
            this.form.conductivity = resp.monitor.conductivity? resp.monitor.conductivity: "";
@@ -2009,7 +2017,7 @@ export default {
2009 2017
         this.form.heparin_amount = resp.monitor.heparin_amount
2010 2018
           ? resp.monitor.heparin_amount
2011 2019
           : "";
2012
-         if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340){
2020
+         if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id == 10447){
2013 2021
             this.form.dialysate_temperature = 36.5
2014 2022
             
2015 2023
          }

+ 73 - 17
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Bestand weergeven

@@ -59,7 +59,7 @@
59 59
           <div class="inline_block">
60 60
             病区:
61 61
             <div class="under_line" style="width: 50px; text-align: center">
62
-              <span v-if="org_id == 10121||org_id == 10138||org_id == 10414">{{
62
+              <span v-if="org_id == 10121||org_id == 10138||org_id == 10414 ||org_id == 10447">{{
63 63
                 patientInfo.DialysisSchedule.device_zone.name
64 64
                   ? patientInfo.DialysisSchedule.device_zone.name
65 65
                   : ""
@@ -70,7 +70,7 @@
70 70
           <div class="inline_block">
71 71
             床号:
72 72
             <div class="under_line" style="width: 50px; text-align: center">
73
-              <span v-if="org_id == 10121||org_id == 10414">{{
73
+              <span v-if="org_id == 10121||org_id == 10414 || org_id == 10447 || org_id == 9675">{{
74 74
                 dialysisOrder &&
75 75
                 dialysisOrder.DeviceNumber &&
76 76
                 dialysisOrder.DeviceNumber.number.length > 0
@@ -86,7 +86,7 @@
86 86
               {{ patientInfo.dialysis_no }}
87 87
             </div>
88 88
           </div>
89
-          <div class="inline_block" style="margin-left: 5px;">
89
+          <div class="inline_block" style="margin-left: 5px;" v-if="org_id!=9675 && org_id!=10447">
90 90
             住院号/门诊号:
91 91
             <div class="under_line" style="width: 70px;text-align: left" v-if="receiverTreatmentAccess.admission_number">
92 92
               {{ receiverTreatmentAccess.admission_number }}
@@ -369,7 +369,7 @@
369 369
                         {{ predialysis.blood_access_part_opera_name }}
370 370
                       </div>
371 371
                     </div>
372
-                    <div class="inline_block" style="margin-left: 10px">
372
+                    <div class="inline_block" style="margin-left: 10px" v-if="org_id!=9675 && org_id!=10447">
373 373
                       内瘘:
374 374
                       <div
375 375
                         class="under_line"
@@ -390,6 +390,7 @@
390 390
                     <div
391 391
                       class="inline_block"
392 392
                       style="margin-left: 10px; flex: 1.4"
393
+                      v-if="org_id!=9675 && org_id!=10447"
393 394
                     >
394 395
                       导管:
395 396
                       <div
@@ -1039,10 +1040,28 @@
1039 1040
                             : "/"
1040 1041
                         }}
1041 1042
                       </div>
1043
+                     
1044
+                     <span v-if="org_id!=9675 && org_id!=10447">
1042 1045
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1043 1046
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1044 1047
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1045 1048
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1049
+                    </span>
1050
+
1051
+                    <span v-if="org_id==9675 || org_id==10447">
1052
+                      <span v-if="prescription.anticoagulant == 4">iu</span>
1053
+                      <span v-if="prescription.anticoagulant == 3">iu</span>
1054
+                      <span v-if="prescription.anticoagulant == 2">mg</span>
1055
+                      <span v-if="prescription.anticoagulant == 5">ml</span>
1056
+                      <span v-if="prescription.anticoagulant == 6">iu</span>
1057
+                     <span v-if="prescription.anticoagulant == 7">iu</span>
1058
+                     <span v-if="prescription.anticoagulant == 8">iu</span>
1059
+                     <span v-if="prescription.anticoagulant == 9">iu</span>
1060
+                     <span v-if="prescription.anticoagulant == 10">iu</span>
1061
+                     <span v-if="prescription.anticoagulant == 11">iu</span>
1062
+                     <span v-if="prescription.anticoagulant == 13">iu</span>
1063
+                    
1064
+                    </span>
1046 1065
                     </div>
1047 1066
                     <div class="inline_block" style="margin-left: 20px">
1048 1067
                       维持:
@@ -1068,11 +1087,27 @@
1068 1087
                             : "0"
1069 1088
                         }}
1070 1089
                       </div>
1071
-                      <span v-if="prescription.anticoagulant == 5">ml/h</span>
1072
-                      <span v-if="prescription.anticoagulant == 4">mg/h</span>
1073
-                      <span v-if="prescription.anticoagulant == 3">iu/h</span>
1074
-                      <span v-if="prescription.anticoagulant == 2">iu/h</span>
1075
-                      <span v-if="prescription.anticoagulant == 1">mg/h</span>
1090
+                      <span v-if="org_id!=9675 && org_id!=10447">
1091
+
1092
+                        <span v-if="prescription.anticoagulant == 5">ml/h</span>
1093
+                          <span v-if="prescription.anticoagulant == 4">mg/h</span>
1094
+                          <span v-if="prescription.anticoagulant == 3">iu/h</span>
1095
+                          <span v-if="prescription.anticoagulant == 2">iu/h</span>
1096
+                          <span v-if="prescription.anticoagulant == 1">mg/h</span>
1097
+                      </span>
1098
+                      <span v-if="org_id==9675 || org_id==10447">
1099
+                        <span v-if="prescription.anticoagulant == 2">mg/h</span>
1100
+                          <span v-if="prescription.anticoagulant == 3">iu/h</span>
1101
+                          <span v-if="prescription.anticoagulant == 4">ml</span>
1102
+                          <span v-if="prescription.anticoagulant == 5">ml/h</span>
1103
+                          <span v-if="prescription.anticoagulant == 6">iu/h</span>
1104
+                          <span v-if="prescription.anticoagulant == 7">iu/h</span>
1105
+                          <span v-if="prescription.anticoagulant == 8">iu/h</span>
1106
+                          <span v-if="prescription.anticoagulant == 9">iu/h</span>
1107
+                          <span v-if="prescription.anticoagulant == 10">iu/h</span>
1108
+                          <span v-if="prescription.anticoagulant == 11">iu/h</span>
1109
+                          <span v-if="prescription.anticoagulant == 13">iu/h</span>
1110
+                      </span>
1076 1111
                     </div>
1077 1112
                     <div
1078 1113
                       class="inline_block"
@@ -1125,12 +1160,27 @@
1125 1160
                             : "/"
1126 1161
                         }}
1127 1162
                       </div>
1163
+                      <span v-if="org_id!=9675 && org_id!=10447">
1128 1164
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1129 1165
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1130 1166
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1131 1167
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1168
+                     </span>
1169
+                    <span v-if="org_id==9675 || org_id==10447">
1170
+                       <span v-if="prescription.anticoagulant == 2">mg</span>
1171
+                       <span v-if="prescription.anticoagulant == 3">iu</span>
1172
+                       <span v-if="prescription.anticoagulant == 4">ml</span>
1173
+                       <span v-if="prescription.anticoagulant == 5">ml</span>
1174
+                       <span v-if="prescription.anticoagulant == 6">iu</span>
1175
+                       <span v-if="prescription.anticoagulant == 7">iu</span>
1176
+                       <span v-if="prescription.anticoagulant == 8">iu</span>
1177
+                       <span v-if="prescription.anticoagulant == 9">iu</span>
1178
+                       <span v-if="prescription.anticoagulant == 10">iu</span>
1179
+                      <span v-if="prescription.anticoagulant == 11">iu</span>
1180
+                      <span v-if="prescription.anticoagulant == 13">iu</span>
1181
+                    </span>
1132 1182
                     </div>
1133
-                    <div class="inline_block" style="margin-left: 20px">
1183
+                    <div class="inline_block" style="margin-left: 20px" v-if="org_id!=9675 && org_id!=10447">
1134 1184
                       透析机号:
1135 1185
                       <div
1136 1186
                         class="under_line"
@@ -1154,6 +1204,7 @@
1154 1204
                     <div
1155 1205
                       class="inline_block"
1156 1206
                       style="flex: 1; display: inline-block"
1207
+                      v-if="org_id!=9675 && org_id!=10447"
1157 1208
                     >
1158 1209
                       备注:
1159 1210
                       <div
@@ -1645,7 +1696,7 @@
1645 1696
             <div class="inline_block">
1646 1697
               病区:
1647 1698
               <div class="under_line" style="width: 50px; text-align: center">
1648
-              <span v-if="org_id == 10121||org_id == 10138">{{
1699
+              <span v-if="org_id == 10121||org_id == 10138 || org_id == 9675 || org_id == 10447">{{
1649 1700
                 patientInfo.DialysisSchedule.device_zone.name
1650 1701
                   ? patientInfo.DialysisSchedule.device_zone.name
1651 1702
                   : ""
@@ -1656,7 +1707,7 @@
1656 1707
             <div class="inline_block">
1657 1708
               床号:
1658 1709
               <div class="under_line" style="width: 50px; text-align: center">
1659
-              <span v-if="org_id == 10121">{{
1710
+              <span v-if="org_id == 10121 || org_id == 9675 || org_id == 10447">{{
1660 1711
                 dialysisOrder &&
1661 1712
                 dialysisOrder.DeviceNumber &&
1662 1713
                 dialysisOrder.DeviceNumber.number.length > 0
@@ -1672,7 +1723,8 @@
1672 1723
                 {{ patientInfo.dialysis_no }}
1673 1724
               </div>
1674 1725
             </div>
1675
-            <div class="inline_block" style="margin-left: 5px">
1726
+            <div class="inline_block" style="margin-left: 5px"
1727
+            v-if="org_id!=9675 && org_id!=10447">
1676 1728
             住院号/门诊号:
1677 1729
             <div
1678 1730
               class="under_line"
@@ -2066,7 +2118,8 @@
2066 2118
                         {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
2067 2119
                       </div>
2068 2120
                     </div>
2069
-                    <div class="inline_block" style="flex: 2">
2121
+                    <div class="inline_block" style="flex: 2"
2122
+                    v-if="org_id!=9675 && org_id!=10447">
2070 2123
                       内瘘:
2071 2124
                       <div
2072 2125
                         class="under_line"
@@ -2083,7 +2136,8 @@
2083 2136
                         }}
2084 2137
                       </div>
2085 2138
                     </div>
2086
-                    <div class="inline_block" style="flex: 4">
2139
+                    <div class="inline_block" style="flex: 4"
2140
+                    v-if="org_id!=9675 && org_id!=10447">
2087 2141
                       导管:
2088 2142
                       <div
2089 2143
                         class="under_line"
@@ -2164,7 +2218,8 @@
2164 2218
                             : "/"
2165 2219
                         }}
2166 2220
                       </div>
2167
-                      ml
2221
+                      <span v-if="org_id!=9675&&org_id!=10447"> ml</span>
2222
+                      <span v-if="org_id ==9675||org_id==10447">L</span>
2168 2223
                     </div>
2169 2224
                   </div>
2170 2225
                   <div
@@ -2308,6 +2363,7 @@
2308 2363
                     <div
2309 2364
                       class="inline_block"
2310 2365
                       style="flex: 1; display: inline-block"
2366
+                      v-if="org_id!=9675 && org_id!=10447"
2311 2367
                     >
2312 2368
                       备注:
2313 2369
                       <div
@@ -3594,7 +3650,7 @@ export default {
3594 3650
       "vascular_access_desc"
3595 3651
     );
3596 3652
     this.org_id = this.$store.getters.xt_user.org.id;
3597
-
3653
+    console.log("org_id-----------------------------------------",this.org_id)
3598 3654
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
3599 3655
 
3600 3656
     var bloodAccessParOpera = getDataConfig(

+ 6 - 0
src/xt_pages/stock/stockFlow.vue Bestand weergeven

@@ -131,6 +131,12 @@
131 131
              <span > {{getManufacturer(scope.row.manufacturer)}}</span>
132 132
            </template>
133 133
         </el-table-column>
134
+
135
+        <el-table-column prop="drug_name" label="剩余库存" align="center">
136
+           <template slot-scope="scope">
137
+             <span > {{scope.row.over_count}}</span>
138
+           </template>
139
+        </el-table-column>
134 140
        </el-table>
135 141
        
136 142
       <el-pagination

+ 17 - 7
src/xt_pages/user/courseOfDisease.vue Bestand weergeven

@@ -57,6 +57,7 @@
57 57
                 <el-table-column label="记录时间" align="center">
58 58
                   <template slot-scope="scope">
59 59
                     {{ recordTime(scope.row.record_time) }}
60
+                   
60 61
                   </template>
61 62
                 </el-table-column>
62 63
                 <el-table-column label="记录医生" align="center">
@@ -86,8 +87,8 @@
86 87
               <label class="title"><span class="name">病程日期</span> : </label>
87 88
               <el-date-picker v-model="course_of_disease_time" prefix-icon="el-icon-date" :editable="false"
88 89
                               style="width: 200px;"
89
-                              type="datetime" placeholder="选择日期时间" align="right" format="yyyy-MM-dd HH:mm"
90
-                              value-format="yyyy-MM-dd HH:mm"></el-date-picker>
90
+                              type="datetime" placeholder="选择日期时间" align="right" format="yyyy-MM-dd HH:mm:ss"
91
+                              value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
91 92
 
92 93
               <label class="title"><span class="name">日常病程</span> : </label>
93 94
               <el-select v-model="select_template" placeholder="可选择病程模板" @change="didSelectTemplate">
@@ -132,8 +133,8 @@
132 133
               <el-date-picker v-model="edit_course_of_disease_time" prefix-icon="el-icon-date" :editable="false"
133 134
                               style="width: 200px;"
134 135
                               type="datetime"
135
-                              placeholder="选择日期时间" align="right" format="yyyy-MM-dd HH:mm"
136
-                              value-format="yyyy-MM-dd HH:mm"></el-date-picker>
136
+                              placeholder="选择日期时间" align="right" format="yyyy-MM-dd HH:mm:ss"
137
+                              value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
137 138
 
138 139
               <label class="title"><span class="name">日常病程</span> : </label>
139 140
               <el-select v-model="select_template" placeholder="可选择病程模板" @change="didEditSelectTemplate">
@@ -185,7 +186,9 @@
185 186
     modifyCourseOfDiseaseRecord,
186 187
     GetCoursePrintData
187 188
   } from '@/api/patient'
188
-  import { parseTime } from '@/utils'
189
+  import { parseTime, } from '@/utils'
190
+  import { uParseTime } from '@/utils/tools'
191
+
189 192
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
190 193
 
191 194
   export default {
@@ -285,8 +288,15 @@
285 288
         this.current_select_record = record
286 289
       },
287 290
       recordTime: function(timestamp) {
288
-        var time = new Date(timestamp * 1000)
289
-        return parseTime(time, '{y}-{m}-{d} {h}:{m}')
291
+       
292
+        if(timestamp < 0){
293
+           return ""
294
+         }
295
+         if(timestamp == ""){
296
+          return ""
297
+         }else {
298
+          return uParseTime(timestamp, '{y}-{m}-{d} {h}:{i}:{s}')
299
+         }
290 300
       },
291 301
       doctorName: function(doctor_id) {
292 302
         for (let index = 0; index < this.doctors.length; index++) {

+ 2 - 10
src/xt_pages/workforce/components/tableWeeks.vue Bestand weergeven

@@ -221,24 +221,16 @@
221 221
             </el-table-column>
222 222
             <el-table-column label="透析器/灌流器" min-width="100" align="center">
223 223
                 <template slot-scope="scope">
224
-                    <!-- <span v-if="org_id!=9987&&org_id!=10131&&org_id!=10215 &&org_id!=10233 && org_id!=10290">
225
-                      <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus!=''">
226
-                        <span>{{ scope.row.prescription.dialyzer_perfusion_apparatus }}</span>
227
-                      </span>
228
-
229
-                      <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus==''&& scope.row.dialysissolution.id > 0 && scope.row.prescription.dialysis_dialyszers == ''">{{scope.row.dialysissolution.dialysis_dialyszers}}</span>
230
-                    </span> -->
231
-
232
-                    <!-- <span v-if="org_id==10131 || org_id == 10215 || org_id == 10233">{{scope.row.dialysissolution.dialyzer_perfusion_apparatus}}</span> -->
233 224
                     
234
-                      <!-- {{scope.row.prescription.dialysis_dialyszers}} -->
235 225
                     <span v-if="scope.row.prescription.dialysis_dialyszers =='' ">
236 226
                        {{scope.row.dialysissolution.dialysis_dialyszers}}
237 227
                     </span>
238 228
                     <span v-if="scope.row.prescription.dialysis_dialyszers !=''">{{scope.row.prescription.dialysis_dialyszers}}</span>
229
+
239 230
                     <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus =='' ">
240 231
                        {{scope.row.dialysissolution.dialyzer_perfusion_apparatus}}
241 232
                     </span>
233
+
242 234
                     <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus !=''">{{scope.row.prescription.dialyzer_perfusion_apparatus}}</span>
243 235
   
244 236
                     <span v-if="scope.row.prescription.dialysis_irrigation==''">/{{scope.row.dialysissolution.dialysis_irrigation}}</span>