Browse Source

长沙南雅打印单问题修改

28169 1 year ago
parent
commit
357ed7776e

+ 13 - 4
src/xt_pages/dialysis/bloodPresssWatch.vue View File

1428
       var date = new Date(nowDate + " 00:00:00");
1428
       var date = new Date(nowDate + " 00:00:00");
1429
       this.listQuery.schedul_time = date.getTime();
1429
       this.listQuery.schedul_time = date.getTime();
1430
       var start_month = moment().startOf('month').format('YYYY-MM-DD')
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
       var end_month = moment(new Date()).add('year',0).format("YYYY-MM-DD")
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
       this.getAllZone();
1440
       this.getAllZone();
1437
       this.getSchedualPatientList();
1441
       this.getSchedualPatientList();
1438
       this.getTemplateInfo();
1442
       this.getTemplateInfo();
1488
 
1492
 
1489
     changeTime() {
1493
     changeTime() {
1490
       this.listQuery.schedul_time = this.time;
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
       this.getSchedualPatientList();
1500
       this.getSchedualPatientList();
1492
     },
1501
     },
1493
     changeStartTime(){
1502
     changeStartTime(){

+ 1 - 1
src/xt_pages/dialysis/details/assessmentAfter.vue View File

17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
18
             actual_ultrafiltration
18
             actual_ultrafiltration
19
           }}</span>
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
           <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>
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
         </li>
22
         </li>
23
         <li v-if="isShow('导管')">
23
         <li v-if="isShow('导管')">

+ 1 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

28
           <el-col :span="8" v-if="isShow('实际超滤量')">
28
           <el-col :span="8" v-if="isShow('实际超滤量')">
29
             <el-form-item
29
             <el-form-item
30
               label="实际超滤量(ml): "
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
               <el-input v-model="form.actual_ultrafiltration"></el-input>
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33
             </el-form-item>
33
             </el-form-item>
34
             <el-form-item label="实际超滤量(L): " v-else>
34
             <el-form-item label="实际超滤量(L): " v-else>

+ 1 - 1
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue View File

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
          var date = new Date()
1564
          var date = new Date()
1565
           var year = date.getFullYear()
1565
           var year = date.getFullYear()
1566
           var month = date.getMonth() + 1
1566
           var month = date.getMonth() + 1

+ 8 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

2252
             } else if (schedual.schedule_type == 3) {
2252
             } else if (schedual.schedule_type == 3) {
2253
               this.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
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
            } else {
2263
            } else {
2256
             if (schedual.schedule_type == 1) {
2264
             if (schedual.schedule_type == 1) {
2257
               this.start_time = year + '-' + month + '-' + day + ' ' + '07:00'
2265
               this.start_time = year + '-' + month + '-' + day + ' ' + '07:00'

+ 11 - 3
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

1917
           this.form.breathing_rated = "20"
1917
           this.form.breathing_rated = "20"
1918
         }else if(this.org_id == 10340){
1918
         }else if(this.org_id == 10340){
1919
          this.form.breathing_rated = "20"
1919
          this.form.breathing_rated = "20"
1920
+        }else if(this.org_id == 10447){
1921
+          this.form.breathing_rated = "20"
1920
         } else {
1922
         } else {
1921
           this.form.breathing_rated = "";
1923
           this.form.breathing_rated = "";
1922
         }
1924
         }
1962
         this.form.symptom = resp.monitor.symptom ? resp.monitor.symptom : ""; // this.last_monitor_record.symptom;
1964
         this.form.symptom = resp.monitor.symptom ? resp.monitor.symptom : ""; // this.last_monitor_record.symptom;
1963
        // this.form.dispose = resp.monitor.dispose ? resp.monitor.dispose : ""; // this.last_monitor_record.dispose;
1965
        // this.form.dispose = resp.monitor.dispose ? resp.monitor.dispose : ""; // this.last_monitor_record.dispose;
1964
         this.form.result = resp.monitor.result ? resp.monitor.result : ""; // this.last_monitor_record.result;
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
        if(this.org_id == 9671 || this.org_id == 10340 || this.org_id == 9675){
1975
        if(this.org_id == 9671 || this.org_id == 10340 || this.org_id == 9675){
1968
           this.form.blood_oxygen_saturation = "/"
1976
           this.form.blood_oxygen_saturation = "/"
1974
         this.form.sodium_concentration = resp.monitor.sodium_concentration
1982
         this.form.sodium_concentration = resp.monitor.sodium_concentration
1975
           ? resp.monitor.sodium_concentration
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
           this.form.conductivity = 14
1986
           this.form.conductivity = 14
1979
         }else{
1987
         }else{
1980
            this.form.conductivity = resp.monitor.conductivity? resp.monitor.conductivity: "";
1988
            this.form.conductivity = resp.monitor.conductivity? resp.monitor.conductivity: "";
2009
         this.form.heparin_amount = resp.monitor.heparin_amount
2017
         this.form.heparin_amount = resp.monitor.heparin_amount
2010
           ? resp.monitor.heparin_amount
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
             this.form.dialysate_temperature = 36.5
2021
             this.form.dialysate_temperature = 36.5
2014
             
2022
             
2015
          }
2023
          }

+ 73 - 17
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

59
           <div class="inline_block">
59
           <div class="inline_block">
60
             病区:
60
             病区:
61
             <div class="under_line" style="width: 50px; text-align: center">
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
                 patientInfo.DialysisSchedule.device_zone.name
63
                 patientInfo.DialysisSchedule.device_zone.name
64
                   ? patientInfo.DialysisSchedule.device_zone.name
64
                   ? patientInfo.DialysisSchedule.device_zone.name
65
                   : ""
65
                   : ""
70
           <div class="inline_block">
70
           <div class="inline_block">
71
             床号:
71
             床号:
72
             <div class="under_line" style="width: 50px; text-align: center">
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
                 dialysisOrder &&
74
                 dialysisOrder &&
75
                 dialysisOrder.DeviceNumber &&
75
                 dialysisOrder.DeviceNumber &&
76
                 dialysisOrder.DeviceNumber.number.length > 0
76
                 dialysisOrder.DeviceNumber.number.length > 0
86
               {{ patientInfo.dialysis_no }}
86
               {{ patientInfo.dialysis_no }}
87
             </div>
87
             </div>
88
           </div>
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
             <div class="under_line" style="width: 70px;text-align: left" v-if="receiverTreatmentAccess.admission_number">
91
             <div class="under_line" style="width: 70px;text-align: left" v-if="receiverTreatmentAccess.admission_number">
92
               {{ receiverTreatmentAccess.admission_number }}
92
               {{ receiverTreatmentAccess.admission_number }}
369
                         {{ predialysis.blood_access_part_opera_name }}
369
                         {{ predialysis.blood_access_part_opera_name }}
370
                       </div>
370
                       </div>
371
                     </div>
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
                       <div
374
                       <div
375
                         class="under_line"
375
                         class="under_line"
390
                     <div
390
                     <div
391
                       class="inline_block"
391
                       class="inline_block"
392
                       style="margin-left: 10px; flex: 1.4"
392
                       style="margin-left: 10px; flex: 1.4"
393
+                      v-if="org_id!=9675 && org_id!=10447"
393
                     >
394
                     >
394
                       导管:
395
                       导管:
395
                       <div
396
                       <div
1039
                             : "/"
1040
                             : "/"
1040
                         }}
1041
                         }}
1041
                       </div>
1042
                       </div>
1043
+                     
1044
+                     <span v-if="org_id!=9675 && org_id!=10447">
1042
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1045
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1043
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1046
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1044
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1047
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1045
                       <span v-if="prescription.anticoagulant == 1">mg</span>
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
                     </div>
1065
                     </div>
1047
                     <div class="inline_block" style="margin-left: 20px">
1066
                     <div class="inline_block" style="margin-left: 20px">
1048
                       维持:
1067
                       维持:
1068
                             : "0"
1087
                             : "0"
1069
                         }}
1088
                         }}
1070
                       </div>
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
                     </div>
1111
                     </div>
1077
                     <div
1112
                     <div
1078
                       class="inline_block"
1113
                       class="inline_block"
1125
                             : "/"
1160
                             : "/"
1126
                         }}
1161
                         }}
1127
                       </div>
1162
                       </div>
1163
+                      <span v-if="org_id!=9675 && org_id!=10447">
1128
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1164
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1129
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1165
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1130
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1166
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1131
                       <span v-if="prescription.anticoagulant == 1">mg</span>
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
                     </div>
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
                       <div
1185
                       <div
1136
                         class="under_line"
1186
                         class="under_line"
1154
                     <div
1204
                     <div
1155
                       class="inline_block"
1205
                       class="inline_block"
1156
                       style="flex: 1; display: inline-block"
1206
                       style="flex: 1; display: inline-block"
1207
+                      v-if="org_id!=9675 && org_id!=10447"
1157
                     >
1208
                     >
1158
                       备注:
1209
                       备注:
1159
                       <div
1210
                       <div
1645
             <div class="inline_block">
1696
             <div class="inline_block">
1646
               病区:
1697
               病区:
1647
               <div class="under_line" style="width: 50px; text-align: center">
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
                 patientInfo.DialysisSchedule.device_zone.name
1700
                 patientInfo.DialysisSchedule.device_zone.name
1650
                   ? patientInfo.DialysisSchedule.device_zone.name
1701
                   ? patientInfo.DialysisSchedule.device_zone.name
1651
                   : ""
1702
                   : ""
1656
             <div class="inline_block">
1707
             <div class="inline_block">
1657
               床号:
1708
               床号:
1658
               <div class="under_line" style="width: 50px; text-align: center">
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
                 dialysisOrder &&
1711
                 dialysisOrder &&
1661
                 dialysisOrder.DeviceNumber &&
1712
                 dialysisOrder.DeviceNumber &&
1662
                 dialysisOrder.DeviceNumber.number.length > 0
1713
                 dialysisOrder.DeviceNumber.number.length > 0
1672
                 {{ patientInfo.dialysis_no }}
1723
                 {{ patientInfo.dialysis_no }}
1673
               </div>
1724
               </div>
1674
             </div>
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
             <div
1729
             <div
1678
               class="under_line"
1730
               class="under_line"
2066
                         {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
2118
                         {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
2067
                       </div>
2119
                       </div>
2068
                     </div>
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
                       <div
2124
                       <div
2072
                         class="under_line"
2125
                         class="under_line"
2083
                         }}
2136
                         }}
2084
                       </div>
2137
                       </div>
2085
                     </div>
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
                       <div
2142
                       <div
2089
                         class="under_line"
2143
                         class="under_line"
2164
                             : "/"
2218
                             : "/"
2165
                         }}
2219
                         }}
2166
                       </div>
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
                     </div>
2223
                     </div>
2169
                   </div>
2224
                   </div>
2170
                   <div
2225
                   <div
2308
                     <div
2363
                     <div
2309
                       class="inline_block"
2364
                       class="inline_block"
2310
                       style="flex: 1; display: inline-block"
2365
                       style="flex: 1; display: inline-block"
2366
+                      v-if="org_id!=9675 && org_id!=10447"
2311
                     >
2367
                     >
2312
                       备注:
2368
                       备注:
2313
                       <div
2369
                       <div
3594
       "vascular_access_desc"
3650
       "vascular_access_desc"
3595
     );
3651
     );
3596
     this.org_id = this.$store.getters.xt_user.org.id;
3652
     this.org_id = this.$store.getters.xt_user.org.id;
3597
-
3653
+    console.log("org_id-----------------------------------------",this.org_id)
3598
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
3654
     // this.bloodAccessParOpera = getDataConfig('hemodialysis', 'vascular_access_desc')
3599
 
3655
 
3600
     var bloodAccessParOpera = getDataConfig(
3656
     var bloodAccessParOpera = getDataConfig(

+ 6 - 0
src/xt_pages/stock/stockFlow.vue View File

131
              <span > {{getManufacturer(scope.row.manufacturer)}}</span>
131
              <span > {{getManufacturer(scope.row.manufacturer)}}</span>
132
            </template>
132
            </template>
133
         </el-table-column>
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
        </el-table>
140
        </el-table>
135
        
141
        
136
       <el-pagination
142
       <el-pagination

+ 17 - 7
src/xt_pages/user/courseOfDisease.vue View File

57
                 <el-table-column label="记录时间" align="center">
57
                 <el-table-column label="记录时间" align="center">
58
                   <template slot-scope="scope">
58
                   <template slot-scope="scope">
59
                     {{ recordTime(scope.row.record_time) }}
59
                     {{ recordTime(scope.row.record_time) }}
60
+                   
60
                   </template>
61
                   </template>
61
                 </el-table-column>
62
                 </el-table-column>
62
                 <el-table-column label="记录医生" align="center">
63
                 <el-table-column label="记录医生" align="center">
86
               <label class="title"><span class="name">病程日期</span> : </label>
87
               <label class="title"><span class="name">病程日期</span> : </label>
87
               <el-date-picker v-model="course_of_disease_time" prefix-icon="el-icon-date" :editable="false"
88
               <el-date-picker v-model="course_of_disease_time" prefix-icon="el-icon-date" :editable="false"
88
                               style="width: 200px;"
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
               <label class="title"><span class="name">日常病程</span> : </label>
93
               <label class="title"><span class="name">日常病程</span> : </label>
93
               <el-select v-model="select_template" placeholder="可选择病程模板" @change="didSelectTemplate">
94
               <el-select v-model="select_template" placeholder="可选择病程模板" @change="didSelectTemplate">
132
               <el-date-picker v-model="edit_course_of_disease_time" prefix-icon="el-icon-date" :editable="false"
133
               <el-date-picker v-model="edit_course_of_disease_time" prefix-icon="el-icon-date" :editable="false"
133
                               style="width: 200px;"
134
                               style="width: 200px;"
134
                               type="datetime"
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
               <label class="title"><span class="name">日常病程</span> : </label>
139
               <label class="title"><span class="name">日常病程</span> : </label>
139
               <el-select v-model="select_template" placeholder="可选择病程模板" @change="didEditSelectTemplate">
140
               <el-select v-model="select_template" placeholder="可选择病程模板" @change="didEditSelectTemplate">
185
     modifyCourseOfDiseaseRecord,
186
     modifyCourseOfDiseaseRecord,
186
     GetCoursePrintData
187
     GetCoursePrintData
187
   } from '@/api/patient'
188
   } from '@/api/patient'
188
-  import { parseTime } from '@/utils'
189
+  import { parseTime, } from '@/utils'
190
+  import { uParseTime } from '@/utils/tools'
191
+
189
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
192
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
190
 
193
 
191
   export default {
194
   export default {
285
         this.current_select_record = record
288
         this.current_select_record = record
286
       },
289
       },
287
       recordTime: function(timestamp) {
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
       doctorName: function(doctor_id) {
301
       doctorName: function(doctor_id) {
292
         for (let index = 0; index < this.doctors.length; index++) {
302
         for (let index = 0; index < this.doctors.length; index++) {

+ 2 - 10
src/xt_pages/workforce/components/tableWeeks.vue View File

221
             </el-table-column>
221
             </el-table-column>
222
             <el-table-column label="透析器/灌流器" min-width="100" align="center">
222
             <el-table-column label="透析器/灌流器" min-width="100" align="center">
223
                 <template slot-scope="scope">
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
                     <span v-if="scope.row.prescription.dialysis_dialyszers =='' ">
225
                     <span v-if="scope.row.prescription.dialysis_dialyszers =='' ">
236
                        {{scope.row.dialysissolution.dialysis_dialyszers}}
226
                        {{scope.row.dialysissolution.dialysis_dialyszers}}
237
                     </span>
227
                     </span>
238
                     <span v-if="scope.row.prescription.dialysis_dialyszers !=''">{{scope.row.prescription.dialysis_dialyszers}}</span>
228
                     <span v-if="scope.row.prescription.dialysis_dialyszers !=''">{{scope.row.prescription.dialysis_dialyszers}}</span>
229
+
239
                     <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus =='' ">
230
                     <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus =='' ">
240
                        {{scope.row.dialysissolution.dialyzer_perfusion_apparatus}}
231
                        {{scope.row.dialysissolution.dialyzer_perfusion_apparatus}}
241
                     </span>
232
                     </span>
233
+
242
                     <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus !=''">{{scope.row.prescription.dialyzer_perfusion_apparatus}}</span>
234
                     <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus !=''">{{scope.row.prescription.dialyzer_perfusion_apparatus}}</span>
243
   
235
   
244
                     <span v-if="scope.row.prescription.dialysis_irrigation==''">/{{scope.row.dialysissolution.dialysis_irrigation}}</span>
236
                     <span v-if="scope.row.prescription.dialysis_irrigation==''">/{{scope.row.dialysissolution.dialysis_irrigation}}</span>