Procházet zdrojové kódy

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

huangyw před 2 roky
rodič
revize
ed2d639a28

+ 8 - 0
src/api/advice.js Zobrazit soubor

@@ -519,3 +519,11 @@ export function GetOrderDoctorAdvice(params) {
519 519
     params: params
520 520
   })
521 521
 }
522
+
523
+export function getPatientSchedule(params) {
524
+  return request({
525
+    url: '/api/schedule/getpatientshedule',
526
+    method: 'get',
527
+    params: params
528
+  })
529
+}

+ 3 - 2
src/api/dialysis_record.js Zobrazit soubor

@@ -47,7 +47,7 @@ export function editMonitor(patient_id, schedule_date, data, mode) {
47 47
   })
48 48
 }
49 49
 
50
-export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_drawing, puncture_nurse_id, start_time, schedual_type, mode, washpipe_nurse, change_nurse, difficult_puncture_nurse, new_fistula_nurse, blood_drawing, quality_nurse, puncture_needle, puncture_way, dialysis_dialyszers, dialysis_irrigation, blood_access_id) {
50
+export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_drawing, puncture_nurse_id, start_time, schedual_type, mode, washpipe_nurse, change_nurse, difficult_puncture_nurse, new_fistula_nurse, blood_drawing, quality_nurse, puncture_needle, puncture_way, dialysis_dialyszers, dialysis_irrigation, blood_access_id, nuclein_date) {
51 51
   var params = {
52 52
     patient_id: patient_id,
53 53
     date: schedule_date,
@@ -68,7 +68,8 @@ export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_
68 68
     puncture_way: puncture_way,
69 69
     dialysis_dialyszers: dialysis_dialyszers,
70 70
     dialysis_irrigation: dialysis_irrigation,
71
-    blood_access_id: blood_access_id
71
+    blood_access_id: blood_access_id,
72
+    nuclein_date: nuclein_date
72 73
   }
73 74
   console.log('params', params)
74 75
   return request({

+ 71 - 59
src/xt_pages/dialysis/PatientBox.vue Zobrazit soubor

@@ -93,67 +93,70 @@
93 93
       </div>
94 94
       <div class="dislysisInfo">
95 95
         <p>
96
-          体重(前/后kg):
97
-          {{
98
-            schedule.assessment_before_dislysis
99
-              ? schedule.assessment_before_dislysis.weight_before
100
-              : ""
101
-          }}
102
-          <span
103
-            v-if="
104
-              schedule.assessment_after_dislysis &&
105
-              schedule.assessment_after_dislysis.weight_after > 0
106
-            "
107
-            >/{{
108
-              schedule.assessment_after_dislysis
109
-                ? schedule.assessment_after_dislysis.weight_after
110
-                : ""
111
-            }}</span
112
-          >
96
+          <span  v-if="$store.getters.xt_user.org.id!=9671 && $store.getters.xt_user.org.id!=9675 && $store.getters.xt_user.org.id!=10340 ">
97
+            体重(前/后kg):
98
+            {{schedule.assessment_before_dislysis? schedule.assessment_before_dislysis.weight_before: ""}}
99
+            <span v-if="schedule.assessment_after_dislysis &&schedule.assessment_after_dislysis.weight_after > 0">/{{schedule.assessment_after_dislysis? schedule.assessment_after_dislysis.weight_after: ""}}</span>
100
+          </span>
101
+          <span v-if="$store.getters.xt_user.org.id==9671 || $store.getters.xt_user.org.id==9675 || $store.getters.xt_user.org.id==10340">
102
+            核酸检测日期:<span v-if="schedule.dialysis_order!=null">{{getTimeOne(schedule.dialysis_order.nuclein_date)}}</span>
103
+          </span>
113 104
         </p>
114 105
         <p>
115
-          目标超滤量:
116
-          <span
117
-            v-if="
118
-              schedule.prescription &&
119
-              schedule.prescription.target_ultrafiltration > 0
120
-            "
121
-            >{{
122
-              schedule.prescription
123
-                ? schedule.prescription.target_ultrafiltration
124
-                : ""
125
-            }}</span
126
-          >
106
+          <span  v-if="$store.getters.xt_user.org.id!=9671 && $store.getters.xt_user.org.id!=9675 && $store.getters.xt_user.org.id!=10340 ">
107
+              目标超滤量:
108
+            <span v-if=" schedule.prescription && schedule.prescription.target_ultrafiltration > 0">
109
+               {{schedule.prescription? schedule.prescription.target_ultrafiltration: ""}}
110
+            </span>
111
+          </span>
112
+
113
+          <span  v-if="$store.getters.xt_user.org.id==9671 || $store.getters.xt_user.org.id==9675 || $store.getters.xt_user.org.id==10340">
114
+             抗凝剂:
115
+             <span v-if="schedule.prescription!=null">
116
+                <span v-if="schedule.prescription.anticoagulant == 1">无肝素</span>
117
+                <span v-if="schedule.prescription.anticoagulant == 2">普通肝素</span>
118
+                <span v-if="schedule.prescription.anticoagulant == 3">低分子肝素</span>
119
+                <span v-if="schedule.prescription.anticoagulant == 4">阿加曲班</span>
120
+                <span v-if="schedule.prescription.anticoagulant == 5">枸橼酸钠</span>
121
+                <span v-if="schedule.prescription.anticoagulant == 6">低分子肝素钙</span>
122
+                <span v-if="schedule.prescription.anticoagulant == 7">低分子肝素钠</span>
123
+                <span v-if="schedule.prescription.anticoagulant == 8">依诺肝素</span>
124
+                <span v-if="schedule.prescription.anticoagulant == 9">达肝素</span>
125
+                <span v-if="schedule.prescription.anticoagulant == 10">体外抗凝</span>
126
+                <span v-if="schedule.prescription.anticoagulant == 11">那屈肝素</span>
127
+                <span v-if="schedule.prescription.anticoagulant == 12">无抗凝剂</span>
128
+                <span v-if="schedule.prescription.anticoagulant == 13">那屈肝素钙</span>
129
+             </span>
130
+          </span>
127 131
         </p>
128
-        <p
129
-          :title="
130
-            schedule.prescription
131
-              ? schedule.prescription.dialyzer_perfusion_apparatus
132
-              : ''
133
-          "
134
-        >
135
-          透析器/灌流器:{{
136
-            schedule.prescription
137
-              ? schedule.prescription.dialyzer_perfusion_apparatus
138
-              : ""
139
-          }}
140
-          <span v-if="schedule.prescription != null">{{
141
-            schedule.prescription
142
-              ? schedule.prescription.dialysis_dialyszers
143
-              : ""
144
-          }}</span>
145
-          <span
146
-            v-if="
147
-              schedule.prescription != null &&
148
-              schedule.prescription.dialysis_irrigation != ''
149
-            "
150
-            >/</span
151
-          >
152
-          <span v-if="schedule.prescription != null">{{
153
-            schedule.prescription
154
-              ? schedule.prescription.dialysis_irrigation
155
-              : ""
156
-          }}</span>
132
+        <p  v-if="$store.getters.xt_user.org.id==9671 || $store.getters.xt_user.org.id==9675 || $store.getters.xt_user.org.id==10340">
133
+           总量:
134
+              <span v-if="schedule.prescription!=null">
135
+              <span v-if="schedule.prescription.anticoagulant == 1">{{schedule.prescription.anticoagulant_zongliang}}mg</span>
136
+              <span v-if="schedule.prescription.anticoagulant == 2">{{schedule.prescription.anticoagulant_zongliang}}mg</span>
137
+              <span v-if="schedule.prescription.anticoagulant == 3">{{schedule.prescription.anticoagulant_zongliang}}iu</span>
138
+              <span v-if="schedule.prescription.anticoagulant == 4">{{schedule.prescription.anticoagulant_zongliang}}mg</span>
139
+              <span v-if="schedule.prescription.anticoagulant == 5">{{schedule.prescription.anticoagulant_zongliang}}mg</span>
140
+              <span v-if="schedule.prescription.anticoagulant == 6">{{schedule.prescription.anticoagulant_zongliang}}iu</span>
141
+              <span v-if="schedule.prescription.anticoagulant == 7">{{schedule.prescription.anticoagulant_zongliang}}iu</span>
142
+              <span v-if="schedule.prescription.anticoagulant == 8">{{schedule.prescription.anticoagulant_zongliang}}iu</span>
143
+              <span v-if="schedule.prescription.anticoagulant == 9">{{schedule.prescription.anticoagulant_zongliang}}iu</span>
144
+              <span v-if="schedule.prescription.anticoagulant == 10">{{schedule.prescription.anticoagulant_zongliang}}iu</span>
145
+              <span v-if="schedule.prescription.anticoagulant == 11">{{schedule.prescription.anticoagulant_zongliang}}mg</span>
146
+              <span v-if="schedule.prescription.anticoagulant == 12">{{schedule.prescription.anticoagulant_zongliang}}iu</span>
147
+              <span v-if="schedule.prescription.anticoagulant == 13">{{schedule.prescription.anticoagulant_zongliang}}mg</span>
148
+             </span>
149
+        </p>
150
+
151
+
152
+        <p :title="schedule.prescription? schedule.prescription.dialyzer_perfusion_apparatus: ''">
153
+          透析器/灌流器:{{schedule.prescription? schedule.prescription.dialyzer_perfusion_apparatus: ""}}
154
+          <span v-if="schedule.prescription != null">{{schedule.prescription? schedule.prescription.dialysis_dialyszers: ""}}</span>
155
+          <span v-if="schedule.prescription != null &&schedule.prescription.dialysis_irrigation != ''">/</span>
156
+          <span v-if="schedule.prescription != null">{{schedule.prescription? schedule.prescription.dialysis_irrigation: ""}}</span>
157
+        </p>
158
+        <p v-if="$store.getters.xt_user.org.id==9671 || $store.getters.xt_user.org.id==9675 || $store.getters.xt_user.org.id==10340">
159
+           备注:{{schedule.patient.sch_remark}}
157 160
         </p>
158 161
       </div>
159 162
       <div
@@ -234,6 +237,7 @@
234 237
 </template>
235 238
 
236 239
 <script>
240
+import { uParseTime } from '@/utils/tools'
237 241
 import { parseTime } from "@/utils";
238 242
 import { jsGetAge } from "@/utils/tools";
239 243
 import dialysisPrescriptionDialog from "../dialysis/details/dialog/dialysisPrescriptionDialog";
@@ -344,6 +348,13 @@ export default {
344 348
   },
345 349
 
346 350
   methods: {
351
+    getTimeOne(val) {
352
+      if(val == ""){
353
+      return ""
354
+      }else {
355
+      return uParseTime(val, '{y}-{m}-{d}')
356
+      }
357
+    },
347 358
     stateColor: function (schedual) {
348 359
       var state = this.computeState(schedual);
349 360
       if (state == 1) {
@@ -718,7 +729,7 @@ export default {
718 729
       this.$emit("advice");
719 730
     },
720 731
     open(schedual) {
721
-      console.log("处方23332233232",this.admin_users)
732
+    
722 733
       this.date = schedual.schedule_date;
723 734
       this.patient_id = schedual.patient_id;
724 735
       this.modedata = 1;
@@ -759,6 +770,7 @@ export default {
759 770
         return "modePurple";
760 771
       }
761 772
     },
773
+    
762 774
   },
763 775
 };
764 776
 </script>

+ 80 - 13
src/xt_pages/dialysis/details/DialysisPrescription.vue Zobrazit soubor

@@ -60,17 +60,48 @@
60 60
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
61 61
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13 &&  this.$store.getters.xt_user.template_info.template_id != 23 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 10234">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
62 62
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && (this.$store.getters.xt_user.template_info.template_id == 13 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 10234 )">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
63
-            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3" >{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
63
+            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3" >
64
+            
65
+              <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675">
66
+                  {{ anticoagulant_zongliang != "0" ? "mg" : "" }}
67
+              </span>
68
+              <span v-else>
69
+                {{ anticoagulant_zongliang != "0" ? "iu" : "" }}
70
+              </span>
71
+            </span>
64 72
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
73
+             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">
74
+               <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675">
75
+                  {{ anticoagulant_zongliang != "0" ? "mg" : "" }}
76
+              </span>
77
+              <span v-else>
78
+                {{ anticoagulant_zongliang != "0" ? "iu" : "" }}
79
+              </span>
80
+            </span>
65 81
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
66 82
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 5">{{ anticoagulant_zongliang != "0" ? "ml" : "" }}</span>
67
-            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 6">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
68
-            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 7">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
83
+            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 6">
84
+               <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675">
85
+                  {{ anticoagulant_zongliang != "0" ? "mg" : "" }}
86
+              </span>
87
+              <span v-else>
88
+                {{ anticoagulant_zongliang != "0" ? "iu" : "" }}
89
+              </span>
90
+            </span>
91
+            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 7">
92
+              <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675">
93
+                  {{ anticoagulant_zongliang != "0" ? "mg" : "" }}
94
+              </span>
95
+              <span v-else>
96
+                {{ anticoagulant_zongliang != "0" ? "iu" : "" }}
97
+              </span>
98
+            </span>
69 99
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
70 100
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
71 101
           </span>
72 102
           <span v-else>
73
-            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
103
+            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2">
104
+              {{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
74 105
             <span class="unit" v-else>{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
75 106
           </span>
76 107
         </li>
@@ -111,8 +142,8 @@
111 142
           <label>目标超滤量 : </label>
112 143
           <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
113 144
           
114
-          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && 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 != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45  && this.$store.getters.xt_user.template_info.template_id != 46  && this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10345  && this.$store.getters.xt_user.template_info.org_id != 10346  && this.$store.getters.xt_user.template_info.org_id != 10395  && this.$store.getters.xt_user.template_info.template_id!=60  && this.$store.getters.xt_user.template_info.org_id != 10340"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
115
-          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || 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 == 38 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 45 || this.$store.getters.xt_user.template_info.template_id == 46  || this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345  || this.$store.getters.xt_user.template_info.org_id == 10346  || this.$store.getters.xt_user.template_info.org_id == 10395 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
145
+          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && 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 != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45  && this.$store.getters.xt_user.template_info.template_id != 46  && this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10345  && this.$store.getters.xt_user.template_info.org_id != 10346  && this.$store.getters.xt_user.template_info.org_id != 10395  && this.$store.getters.xt_user.template_info.template_id!=60  && this.$store.getters.xt_user.template_info.org_id != 10340  && this.$store.getters.xt_user.template_info.org_id != 10430"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
146
+          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || 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 == 38 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 45 || this.$store.getters.xt_user.template_info.template_id == 46  || this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345  || this.$store.getters.xt_user.template_info.org_id == 10346  || this.$store.getters.xt_user.template_info.org_id == 10395 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10430" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
116 147
         </li>
117 148
 
118 149
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">
@@ -149,12 +180,27 @@
149 180
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
150 181
             <span class="unit"  v-if="getValueStr('anticoagulant', 'anticoagulant') == 2  && this.$store.getters.xt_user.template_info.template_id != 13  && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 38 ">{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
151 182
             <span class="unit"  v-if="getValueStr('anticoagulant', 'anticoagulant') == 2  && (this.$store.getters.xt_user.template_info.template_id == 13 ||  this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38)" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
152
-            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
183
+            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">
184
+              <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671">
185
+                 {{ anticoagulant_shouji != "0" ? "mg" : "" }}
186
+              </span>
187
+              <span v-else> {{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
188
+            </span>
153 189
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
154 190
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span >
155 191
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 5" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
156
-            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 6" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span >
157
-            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 7" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
192
+            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 6" >
193
+             <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671">
194
+                 {{ anticoagulant_shouji != "0" ? "mg" : "" }}
195
+              </span>
196
+              <span v-else> {{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
197
+            </span >
198
+            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 7" >
199
+              <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671">
200
+                 {{ anticoagulant_shouji != "0" ? "mg" : "" }}
201
+              </span>
202
+              <span v-else> {{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
203
+            </span>
158 204
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
159 205
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
160 206
           </span>
@@ -245,12 +291,27 @@
245 291
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1"></span>
246 292
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 38 ">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
247 293
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && (this.$store.getters.xt_user.template_info.template_id == 13 ||  this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38)">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
248
-            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
294
+            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">
295
+              <span v-if="this.$store.getters.xt_user.template_info.org_id ==9671">
296
+              {{ anticoagulant_weichi != "0" ? "mg/h" : "" }}
297
+              </span> 
298
+              <span v-else>{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
299
+            </span>
249 300
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
250 301
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
251 302
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 5">{{ anticoagulant_weichi != "0" ? "ml/h" : "" }}</span>
252
-            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 6">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
253
-            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 7">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
303
+            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 6">
304
+             <span v-if="this.$store.getters.xt_user.template_info.org_id ==9671">
305
+              {{ anticoagulant_weichi != "0" ? "mg/h" : "" }}
306
+              </span> 
307
+              <span v-else>{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
308
+            </span>
309
+            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 7">
310
+             <span v-if="this.$store.getters.xt_user.template_info.org_id ==9671">
311
+              {{ anticoagulant_weichi != "0" ? "mg/h" : "" }}
312
+              </span> 
313
+              <span v-else>{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
314
+            </span>
254 315
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
255 316
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
256 317
           </span>
@@ -352,7 +413,7 @@
352 413
         </li>
353 414
 
354 415
         <li v-if="isShow('单超脱水')">
355
-          <label>单超脱水(L): </label>
416
+          <label>单超脱水(ml): </label>
356 417
           <span class="content">{{this.prescription.single_water}}</span>
357 418
         </li>
358 419
 
@@ -400,6 +461,12 @@
400 461
             <span>{{this.prescription.max_ultrafiltration_rate}}</span>
401 462
            </span>
402 463
         </li>
464
+
465
+    
466
+        <li v-if="isShow('曲线脱水')">
467
+          <label>曲线脱水(ml): </label>
468
+          <span class="content">{{this.prescription.drhy_water}}</span>
469
+        </li>
403 470
        
404 471
       </ul>
405 472
     </div>

+ 12 - 1
src/xt_pages/dialysis/details/NavIgation.vue Zobrazit soubor

@@ -91,6 +91,7 @@
91 91
       :stockType="stockType"
92 92
       :lastAssessment="lastAssessment"
93 93
       :mode_id="mode_id"
94
+    
94 95
     ></dialysis-prescription-dialog>
95 96
 
96 97
     <double-check-dialog
@@ -152,6 +153,7 @@
152 153
       :special_premission="special_premission"
153 154
       :patient="patient"
154 155
       :stockType="stockType"
156
+      :lastOrder="lastOrder"
155 157
     ></computer-dialog>
156 158
 
157 159
     <monitor-dialog
@@ -179,6 +181,8 @@
179 181
       ref="assessment_after_dislysis"
180 182
       :assessment_after_dislysis="assessment_after_dislysis"
181 183
       :patient="patient"
184
+      :prescription="prescription"
185
+      :predialysis_evaluation="predialysis_evaluation"
182 186
       :dialysis_order="dialysis_order"
183 187
     ></assessment-after-dislysis>
184 188
   </div>
@@ -553,6 +557,13 @@ export default {
553 557
         return 0;
554 558
       }
555 559
     },
560
+   lastOrder: {
561
+      // 患者排班信息
562
+      type: Object,
563
+      default: () => {
564
+        return { id: 0 };
565
+      }
566
+    },
556 567
   },
557 568
   methods: {
558 569
     getUnReadNum: function() {
@@ -645,7 +656,7 @@ export default {
645 656
       this.$refs.doctor_advice.show(this.his_is_open,this.is_advice_open);
646 657
     },
647 658
     showComputerDialog: function() {
648
-      this.$refs.computer_dialog.show(this.dialysis_order);
659
+      this.$refs.computer_dialog.show(this.dialysis_order,this.lastOrder);
649 660
     },
650 661
     showFinishDialog: function() {
651 662
       this.$refs.finish_dialog.show(this.dialysis_order);

+ 2 - 2
src/xt_pages/dialysis/details/assessmentAfter.vue Zobrazit soubor

@@ -17,8 +17,8 @@
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.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10340) " >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.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10340" >L</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) " >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"  >L</span>
22 22
         </li>
23 23
         <li v-if="isShow('导管')">
24 24
           <label>导管 : </label>

+ 10 - 5
src/xt_pages/dialysis/details/consumable/dialysisGood.vue Zobrazit soubor

@@ -541,11 +541,14 @@
541 541
                 }
542 542
               
543 543
                  for(let i=0;i<list.length;i++){
544
-                   for(let j=0;j<list[i].his_prescription_template.his_prescription_info.length;j++){
544
+                   if(list[i].his_prescription_template.his_prescription_info!=null && list[i].his_prescription_template.his_prescription_info.length >0){
545
+                    for(let j=0;j<list[i].his_prescription_template.his_prescription_info.length;j++){
545 546
                      for(let z=0;z<list[i].his_prescription_template.his_prescription_info[j].project.length;z++){
546 547
                         list[i].projectList.push(list[i].his_prescription_template.his_prescription_info[j].project[z])
547 548
                      }
548 549
                    }
550
+                   }
551
+                   
549 552
                  }
550 553
                 console.log("list列表",list)
551 554
                  this.list = list 
@@ -793,10 +796,12 @@
793 796
             this.startHisDialogVisible = true
794 797
              var projectList = []
795 798
              for(let i=0;i<list.length;i++){
796
-                for(let j=0;j<list[i].his_prescription_template.his_prescription_info.length;j++){
797
-                  for(let z=0;z<list[i].his_prescription_template.his_prescription_info[j].project.length;z++){
798
-                    projectList.push(list[i].his_prescription_template.his_prescription_info[j].project[z])
799
-                  }
799
+                if(list[i].his_prescription_template.his_prescription_info!=null && list[i].his_prescription_template.his_prescription_info.length>0){
800
+                    for(let j=0;j<list[i].his_prescription_template.his_prescription_info.length;j++){
801
+                      for(let z=0;z<list[i].his_prescription_template.his_prescription_info[j].project.length;z++){
802
+                        projectList.push(list[i].his_prescription_template.his_prescription_info[j].project[z])
803
+                      }
804
+                     }
800 805
                 }
801 806
              }
802 807
              console.log("projectList",projectList)

+ 35 - 3
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Zobrazit soubor

@@ -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.$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 "  >
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"  >
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>
@@ -682,7 +682,21 @@ export default {
682 682
       default: () => {
683 683
         return { id: 0 }
684 684
       }
685
-    }
685
+    },
686
+     prescription: {
687
+      // 透析记录
688
+      type: Object,
689
+      default: () => {
690
+        return { id: 0 }
691
+      }
692
+    },
693
+    predialysis_evaluation: {
694
+      // 透析记录
695
+      type: Object,
696
+      default: () => {
697
+        return { id: 0 }
698
+      }
699
+    },
686 700
   },
687 701
   data() {
688 702
     return {
@@ -1179,7 +1193,7 @@ export default {
1179 1193
 
1180 1194
     // 数据开始
1181 1195
     show(predialysis,last_after) {
1182
-      console.log("predialysis",predialysis)
1196
+      console.log("透后体重2332233223wo",predialysis)
1183 1197
       this.isVisibility = true
1184 1198
       this.predialysis = predialysis
1185 1199
       this.form.observation_content = predialysis.observation_content
@@ -1197,6 +1211,17 @@ export default {
1197 1211
       if(predialysis.id > 0){
1198 1212
         this.form.hypopiesia = predialysis.hypopiesia.toString()
1199 1213
       }
1214
+     
1215
+      //针对长沙南雅 ,透后体重 - 目标超滤量
1216
+      // if(predialysis.id > 0){
1217
+      //  if(this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675 || this.$store.getters.xt_user.template_info.org_id == 10340){
1218
+      //    if(predialysis.weight_after == 0){
1219
+      //      if(this.predialysis_evaluation!=null && this.prescription.target_ultrafiltration!=null){
1220
+      //        this.form.weight_after = this.predialysis_evaluation.weight_before - (this.prescription.target_ultrafiltration/1000)
1221
+      //      }  
1222
+      //    }
1223
+      //  }
1224
+      // }
1200 1225
 
1201 1226
 
1202 1227
 
@@ -1223,6 +1248,13 @@ export default {
1223 1248
         if(last_after.id > 0){
1224 1249
           this.form.hypopiesia = last_after.hypopiesia.toString()
1225 1250
         }
1251
+        //针对长沙南雅 ,透后体重 - 目标超滤量
1252
+        // if(this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675 || this.$store.getters.xt_user.template_info.org_id == 10340){
1253
+        //    if(this.prescription!=null && this.predialysis_evaluation!=null){
1254
+        //     this.form.weight_after = this.predialysis_evaluation.weight_before - (this.prescription.target_ultrafiltration/1000)
1255
+        //    }
1256
+          
1257
+        // }
1226 1258
       }
1227 1259
 
1228 1260
 

+ 18 - 1
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue Zobrazit soubor

@@ -591,6 +591,7 @@
591 591
       :patientID="patient.id"
592 592
       :adviceTableData="doctor_advices"
593 593
       :recordDate="record_date"
594
+      :schedulePatient="schedulePatient"
594 595
       ref="addGroupForm"
595 596
     ></add-group-advice>
596 597
 
@@ -623,7 +624,8 @@
623 624
     EditDoctorAdvice,
624 625
     ExecDoctorAdvice,
625 626
     getAdviceConfig,
626
-    GetLastOrNextDoctorAdvice
627
+    GetLastOrNextDoctorAdvice,
628
+    getPatientSchedule
627 629
   } from '@/api/advice'
628 630
   import { getDataConfig } from '@/utils/data'
629 631
 
@@ -780,6 +782,7 @@
780 782
         drug_id: 0,
781 783
         src_type:"",
782 784
         org_id:0,
785
+        schedulePatient:{},
783 786
       }
784 787
     },
785 788
     watch: {
@@ -2559,6 +2562,19 @@
2559 2562
        console.log("this.form.drug_id",this.form.drug_id)
2560 2563
 
2561 2564
        // this.form.id = tmp.id
2565
+     },
2566
+     getPatientSchedule(){
2567
+        var params = {
2568
+          patient_id:this.$route.query.patient_id,
2569
+          schedule_date:this.$route.query.date,
2570
+        }
2571
+       getPatientSchedule(params).then(response=>{
2572
+           if(response.data.state == 1){
2573
+              var schedulePatient = response.data.data.schedulePatient
2574
+              console.log("schedulePatient23332322323wo",schedulePatient)
2575
+              this.schedulePatient = schedulePatient
2576
+           }
2577
+       })
2562 2578
      }
2563 2579
     },
2564 2580
     created() {
@@ -2576,6 +2592,7 @@
2576 2592
       // this.getDialysisScheduleDetail()
2577 2593
        //获取自备药
2578 2594
       this.getSelfMedicalList()
2595
+      this.getPatientSchedule()
2579 2596
     },
2580 2597
     components: {
2581 2598
       AddGroupAdvice,

+ 37 - 1
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue Zobrazit soubor

@@ -706,7 +706,12 @@ export default {
706 706
         return { id: 0 }
707 707
       }
708 708
     },
709
-
709
+    schedulePatient:{
710
+      type: Object,
711
+      default: () => {
712
+        return { id: 0 }
713
+      }
714
+    }
710 715
   },
711 716
   methods: {
712 717
     lili(val){
@@ -1551,6 +1556,37 @@ export default {
1551 1556
           this.groupForm.start_time = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
1552 1557
         }
1553 1558
       }
1559
+      
1560
+      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){
1561
+         var date = new Date()
1562
+          var year = date.getFullYear()
1563
+          var month = date.getMonth() + 1
1564
+          var day = date.getDate()
1565
+
1566
+          var hours = date.getHours()
1567
+          var minites = date.getMinutes()
1568
+
1569
+          if (month < 10) {
1570
+            month = '0' + month
1571
+          }
1572
+          if (day < 10) {
1573
+            day = '0' + day
1574
+          }
1575
+          if (hours < 10) {
1576
+            hours = '0' + hours
1577
+          }
1578
+          if (minites < 10) {
1579
+            minites = '0' + minites
1580
+          }
1581
+          if (this.schedulePatient.schedule_type == 1) {
1582
+            this.groupForm.start_time = year + '-' + month + '-' + day + ' ' + '07:00'
1583
+          } else if (this.schedulePatient.schedule_type == 2) {
1584
+            this.groupForm.start_time= year + '-' + month + '-' + day + ' ' + '11:00'
1585
+          } else if (this.schedulePatient.schedule_type == 3) {
1586
+           this.groupForm.start_time = year + '-' + month + '-' + day + ' ' + '18:00'
1587
+          }
1588
+      }
1589
+
1554 1590
     },
1555 1591
     selectAllTemplateAdvice(selection) {
1556 1592
       console.log("params",selection)

+ 35 - 6
src/xt_pages/dialysis/details/dialog/computer_dialog.vue Zobrazit soubor

@@ -117,6 +117,18 @@
117 117
             </el-select>
118 118
        </el-form-item>
119 119
 
120
+       <el-form-item label="核酸检测日期:" style="width:300px"  v-if="isShowFiled('核酸检测日期')">
121
+          <el-date-picker
122
+            type="date"
123
+            format="yyyy-MM-dd"
124
+            value-format="yyyy-MM-dd"
125
+            placeholder="选择时间"
126
+            v-model="form.nuclein_date"
127
+            style="width:100%;"
128
+          ></el-date-picker>
129
+        </el-form-item>
130
+
131
+
120 132
         <el-form-item label="上机时间 :" style="width:300px"  v-if="isShowFiled('上机时间')">
121 133
           <el-date-picker
122 134
             type="datetime"
@@ -146,12 +158,13 @@
146 158
 <script>
147 159
   import axios from 'axios'
148 160
   import { GetSchedualNumber, PostModifyStartDialysis, startDialysis } from '@/api/dialysis_record'
161
+  import { uParseTime } from '@/utils/tools'
149 162
   import { getDataConfig } from '@/utils/data'
150 163
   import { parseTime } from '@/utils'
151 164
   import store from '@/store'
152 165
   import multiSelectBox from './MultiSelectBox'
153 166
   import request from '@/utils/request'
154
-
167
+  const moment = require('moment')
155 168
   export default {
156 169
     name: 'ComputerDialog',
157 170
     components: {
@@ -185,6 +198,7 @@
185 198
           dialysis_dialyszers:"",
186 199
           dialysis_irrigation:"",
187 200
           blood_access_id:"",
201
+          nuclein_date:moment(new Date()).add('year',0).format("YYYY-MM-DD"),
188 202
         },
189 203
         blood_access_option:[],
190 204
         schedual_type: 0,
@@ -235,6 +249,9 @@
235 249
           return []
236 250
         }
237 251
       },
252
+      lastOrder:{
253
+        type: Object
254
+      },
238 255
     }, mounted() {
239 256
 
240 257
     },
@@ -303,6 +320,7 @@
303 320
         this.form.dialysis_dialyszers = this.dialysis_order.dialysis_dialyszers
304 321
         this.form.dialysis_irrigation = this.dialysis_order.dialysis_irrigation
305 322
         this.form.blood_access_id = this.dialysis_order.blood_access_id
323
+        this.form.nuclein_date = this.dialysis_order.id == 0?this.getTimeOne(this.lastOrder.nuclein_date): this.getTimeOne(this.dialysis_order.nuclein_date)
306 324
         var nowDate = new Date()
307 325
         var nowYear = nowDate.getFullYear()
308 326
         var nowMonth = nowDate.getMonth() + 1
@@ -442,9 +460,16 @@
442 460
         }
443 461
         return ''
444 462
       },
445
-      show: function(dialysis) {
463
+      getTimeOne(val) {
464
+      if(val == ""){
465
+      return ""
466
+      }else {
467
+      return uParseTime(val, '{y}-{m}-{d}')
468
+      }
469
+    },
470
+      show: function(dialysis,lastOrder) {
446 471
         this.record = dialysis
447
-        console.log("上机",dialysis)
472
+     
448 473
         this.getPermission()
449 474
         this.visible = true
450 475
 
@@ -455,7 +480,7 @@
455 480
         var nowHours = nowDate.getHours()
456 481
         var nowMinutes = nowDate.getMinutes()
457 482
         var nowSeconds = nowDate.getSeconds()
458
-
483
+        this.form.nuclein_date = this.dialysis_order.id == 0?this.getTimeOne(lastOrder.nuclein_date): this.getTimeOne(this.dialysis_order.nuclein_date)
459 484
         if (this.dialysis_order.id != 0) {
460 485
           this.form.start_time = this.getTime(this.dialysis_order.start_time, '{y}-{m}-{d} {h}:{i}')
461 486
         } else {
@@ -480,6 +505,7 @@
480 505
           } else if (hour >= 18) {
481 506
             this.schedual_type = 3
482 507
           }
508
+         
483 509
         } else {
484 510
 
485 511
           this.schedual_type = this.dialysis_order.schedual_type
@@ -509,7 +535,9 @@
509 535
         let mode = '1'
510 536
         var blood_drawing =  this.form.blood_drawing.toString()
511 537
         console.log("质控护士",this.form.quality_nurse_id)
512
-        startDialysis(this.patient_id, this.schedule_date ? parseTime(this.schedule_date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}'), this.form.nurse_id, this.form.bed_id, this.form.lood_drawing, this.form.puncture_nurse_id, this.form.start_time, this.schedual_type, mode,this.form.washpipe_nurse,this.form.change_nurse,this.form.difficult_puncture_nurse,this.form.new_fistula_nurse,blood_drawing,this.form.quality_nurse_id,this.form.puncture_needle,this.form.puncture_way,this.form.dialysis_dialyszers,this.form.dialysis_irrigation,this.form.blood_access_id).then(rs => {
538
+        console.log("this.form.nuclein_date",this.form.nuclein_date)
539
+       
540
+        startDialysis(this.patient_id, this.schedule_date ? parseTime(this.schedule_date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}'), this.form.nurse_id, this.form.bed_id, this.form.lood_drawing, this.form.puncture_nurse_id, this.form.start_time, this.schedual_type, mode,this.form.washpipe_nurse,this.form.change_nurse,this.form.difficult_puncture_nurse,this.form.new_fistula_nurse,blood_drawing,this.form.quality_nurse_id,this.form.puncture_needle,this.form.puncture_way,this.form.dialysis_dialyszers,this.form.dialysis_irrigation,this.form.blood_access_id,this.form.nuclein_date).then(rs => {
513 541
           this.loading = false
514 542
           var resp = rs.data
515 543
           if (resp.state == 1) {
@@ -550,6 +578,7 @@
550 578
         ParamsQuery["dialysis_dialyszers"] = this.form.dialysis_dialyszers
551 579
         ParamsQuery["dialysis_irrigation"] = this.form.dialysis_irrigation
552 580
         ParamsQuery["blood_access_id"] = this.form.blood_access_id
581
+        ParamsQuery["nuclein_date"] = this.form.nuclein_date
553 582
         ParamsQuery['mode'] = "2"
554 583
         if (this.dialysis_order.creator != this.$store.getters.xt_user.user.id) {
555 584
           ParamsQuery['mode'] = "3"
@@ -558,7 +587,7 @@
558 587
           var resp = rs.data
559 588
           if (resp.state == 1) {
560 589
             this.$message.success('修改成功')
561
-
590
+            this.hide()
562 591
             var resp_dialysis_order = resp.data.dialysis_order
563 592
             var this_order = this.dialysis_order
564 593
             for (const key in resp_dialysis_order) {

+ 51 - 12
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Zobrazit soubor

@@ -82,7 +82,7 @@
82 82
                     </el-col>
83 83
 
84 84
                     <el-col :span="8"
85
-                            v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || 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 == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 ||  this.$store.getters.xt_user.template_info.template_id == 43 ||  this.$store.getters.xt_user.template_info.template_id == 45  ||  this.$store.getters.xt_user.template_info.template_id == 46 ||  this.$store.getters.xt_user.template_info.template_id == 48 ||  this.$store.getters.xt_user.template_info.template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10249 || this.$store.getters.xt_user.template_info.org_id == 10395 ||this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340)">
85
+                            v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || 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 == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 ||  this.$store.getters.xt_user.template_info.template_id == 43 ||  this.$store.getters.xt_user.template_info.template_id == 45  ||  this.$store.getters.xt_user.template_info.template_id == 46 ||  this.$store.getters.xt_user.template_info.template_id == 48 ||  this.$store.getters.xt_user.template_info.template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10249 || this.$store.getters.xt_user.template_info.org_id == 10395 ||this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10430)">
86 86
                         <el-form-item label="目标超滤量(ml):">
87 87
                             <el-input
88 88
                                     type="number"
@@ -93,7 +93,7 @@
93 93
 
94 94
 
95 95
                     <el-col :span="8"
96
-                            v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && 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 != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 43 &&  this.$store.getters.xt_user.template_info.template_id != 45 &&  this.$store.getters.xt_user.template_info.template_id != 46  &&  this.$store.getters.xt_user.template_info.template_id != 48 &&  this.$store.getters.xt_user.template_info.template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10345 &&  this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10249 &&  this.$store.getters.xt_user.template_info.org_id != 10395 &&  this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 10340">
96
+                            v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && 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 != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 43 &&  this.$store.getters.xt_user.template_info.template_id != 45 &&  this.$store.getters.xt_user.template_info.template_id != 46  &&  this.$store.getters.xt_user.template_info.template_id != 48 &&  this.$store.getters.xt_user.template_info.template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10345 &&  this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10249 &&  this.$store.getters.xt_user.template_info.org_id != 10395 &&  this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10430">
97 97
                         <el-form-item label="目标超滤量(L):">
98 98
                             <el-input
99 99
                                     type="number"
@@ -101,20 +101,45 @@
101 101
                             ></el-input>
102 102
                         </el-form-item>
103 103
                     </el-col>
104
+                   
105
+                    <el-col :span="8" v-if="isShows('是否单超脱水')">
106
+                        <el-form-item label="是否单超脱水:">
107
+                           <el-select v-model="dialysisPrescription.is_water">
108
+                                <el-option
109
+                                        v-for="(item, index) in waterList"
110
+                                        :label="item.name"
111
+                                        :value="item.id"
112
+                                        :key="index + 'q'"
113
+                                ></el-option>
114
+                            </el-select>
115
+                        </el-form-item>
116
+                    </el-col>
104 117
 
105
-
106
-                    <el-col :span="8" v-if="isShows('单超时长')">
118
+                    <el-col :span="8" v-if="isShows('单超时长') && dialysisPrescription.is_water == 1">
107 119
                         <el-form-item label="单超时长(h):">
108 120
                             <el-input v-model="dialysisPrescription.single_time"></el-input>
109 121
                         </el-form-item>
110 122
                     </el-col>
111 123
 
112
-                    <el-col :span="8" v-if="isShows('单超脱水')">
113
-                        <el-form-item label="单超脱水(L):">
124
+                    <el-col :span="8" v-if="isShows('单超脱水') && dialysisPrescription.is_water == 1">
125
+                        <el-form-item label="单超脱水(ml):">
114 126
                             <el-input v-model="dialysisPrescription.single_water"></el-input>
115 127
                         </el-form-item>
116 128
                     </el-col>
117 129
 
130
+                  
131
+                    <el-col :span="8" v-if="isShows('曲线脱水')">
132
+                        <el-form-item label="曲线脱水(ml):">
133
+                            <el-input v-model="dialysisPrescription.drhy_water"></el-input>
134
+                        </el-form-item>
135
+                    </el-col>
136
+
137
+                    <el-col :span="8" v-if="isShows('曲线脱水时长')">
138
+                        <el-form-item label="曲线脱水时长(h):">
139
+                            <el-input v-model="dialysisPrescription.dry_water_hour"></el-input>
140
+                        </el-form-item>
141
+                    </el-col>
142
+
118 143
                     <el-col :span="8" v-if="isShows('透析液配方')">
119 144
                         <el-form-item label="透析液配方:">
120 145
                             <!-- <el-input type="number" v-model="dialysisPrescription.dialysate_formulation"></el-input> -->
@@ -195,7 +220,7 @@
195 220
                     </el-col>
196 221
 
197 222
                     <el-col :span="8" v-if="anticoagulant.shouji != -1 && isShows('首剂')">
198
-                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.template_id!=54">
223
+                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.template_id!=54 && this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 10340">
199 224
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387">
200 225
                             <el-form-item
201 226
                                     v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.org_id!=9990'
@@ -266,14 +291,15 @@
266 291
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
267 292
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
268 293
                             </el-form-item>
269
-
294
+                           
295
+                           
270 296
                         </div>
271 297
 
272 298
                     </el-col>
273 299
 
274 300
 
275 301
                     <el-col :span="8" v-if="anticoagulant.weichi != -1 && isShows('维持')">
276
-                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157  && this.$store.getters.xt_user.template_info.org_id == 9990">
302
+                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157  && this.$store.getters.xt_user.template_info.org_id != 9990 && this.$store.getters.xt_user.template_info.org_id != 9671  && this.$store.getters.xt_user.template_info.org_id != 10340">
277 303
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 ">
278 304
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
279 305
                                           v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9987  && this.$store.getters.xt_user.template_info.org_id != 54 && this.$store.getters.xt_user.template_info.org_id != 9990">
@@ -335,7 +361,7 @@
335 361
                     </el-col>
336 362
 
337 363
                     <el-col :span="8" v-if="anticoagulant.zongliang != -1 && isShows('总量')">
338
-                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157">
364
+                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 9675 && this.$store.getters.xt_user.template_info.org_id != 10340">
339 365
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387">
340 366
                             <el-form-item
341 367
                                     v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38  && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 9990'
@@ -1388,6 +1414,9 @@
1388 1414
           epoOptions: [],
1389 1415
           impulse:0,
1390 1416
           admin_user_id:"",
1417
+          drhy_water:"",
1418
+          is_water:0,
1419
+          dry_water_hour:"",
1391 1420
         },
1392 1421
 
1393 1422
         anticoagulant: {
@@ -1423,6 +1452,11 @@
1423 1452
         epoOptions: [],
1424 1453
         isLoading: false,
1425 1454
         adminRoles:[{id:0,name:"请选择"}],
1455
+        waterList:[
1456
+          {id:0,name:"请选择"},
1457
+          {id:1,name:"是"},
1458
+          {id:2,name:"否"}
1459
+        ]
1426 1460
       }
1427 1461
     },
1428 1462
     methods: {
@@ -2183,7 +2217,12 @@
2183 2217
         } else {
2184 2218
           last_weight_after = this.last_record.weight_after
2185 2219
         }
2186
-        console.log("last2323232323232332",last)
2220
+        console.log("last2323232323232332wode",this.predialysis)
2221
+        if(this.dialysisPrescription!=null && this.dialysisPrescription.id == 0){
2222
+            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 ){
2223
+              this.dialysisPrescription.sodium = 138
2224
+            }
2225
+        }
2187 2226
         if (this.predialysis == null || this.predialysis.id == 0) {
2188 2227
           if (last != null) {
2189 2228
 
@@ -2201,7 +2240,7 @@
2201 2240
             this.dialysisPrescription.tubing_hemodialysis = last.tubing_hemodialysis
2202 2241
             this.dialysisPrescription.package = last.package
2203 2242
             this.dialysisPrescription.a_liquid = last.a_liquid
2204
-
2243
+          
2205 2244
             weight_before = 0
2206 2245
 
2207 2246
           }

+ 14 - 4
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Zobrazit soubor

@@ -1861,9 +1861,12 @@ export default {
1861 1861
         }
1862 1862
 
1863 1863
         this.form.venous_pressure_type = resp.monitor.venous_pressure_type? resp.monitor.venous_pressure_type: 1;
1864
-        this.form.arterial_pressure = resp.monitor.arterial_pressure
1865
-          ? resp.monitor.arterial_pressure
1866
-          : ""; // this.last_monitor_record.arterial_pressure;
1864
+        if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340){
1865
+           this.form.arterial_pressure = resp.monitor.arterial_pressure? resp.monitor.arterial_pressure: "-100"; // this.last_monitor_record.arterial_pressure;
1866
+        }else{
1867
+           this.form.arterial_pressure = resp.monitor.arterial_pressure? resp.monitor.arterial_pressure: ""
1868
+        }
1869
+
1867 1870
         this.form.arterial_pressure_type = resp.monitor.arterial_pressure_type
1868 1871
           ? resp.monitor.arterial_pressure_type
1869 1872
           : 1;
@@ -2076,9 +2079,16 @@ export default {
2076 2079
         this.form.ultrafiltration_rate = monitor.ultrafiltration_rate
2077 2080
           ? monitor.ultrafiltration_rate
2078 2081
           : "";
2079
-        this.form.arterial_pressure = monitor.arterial_pressure
2082
+        if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340){
2083
+          this.form.arterial_pressure = monitor.arterial_pressure
2084
+          ? monitor.arterial_pressure
2085
+          : "-100";
2086
+        }else{
2087
+         this.form.arterial_pressure = monitor.arterial_pressure
2080 2088
           ? monitor.arterial_pressure
2081 2089
           : "";
2090
+        }
2091
+       
2082 2092
         this.form.arterial_pressure_type = monitor.arterial_pressure_type
2083 2093
           ? monitor.arterial_pressure_type
2084 2094
           : "";

+ 15 - 1
src/xt_pages/dialysis/details/dialysisComputer.vue Zobrazit soubor

@@ -68,6 +68,12 @@
68 68
           <span class="content">{{ stage }}</span>
69 69
         </li>
70 70
       </ul>
71
+      <ul>
72
+        <li v-if="isShow('核酸检测日期')">
73
+          <label>核酸检测日期 : </label>
74
+          <span class="content">{{getTimeOne(this.record.nuclein_date)}}</span>
75
+        </li>
76
+      </ul>
71 77
       <ul>
72 78
         <li v-if="isShow('上机时间')">
73 79
           <label>上机时间 : </label>
@@ -80,6 +86,7 @@
80 86
 </template>
81 87
 
82 88
 <script>
89
+  import { uParseTime } from '@/utils/tools'
83 90
   import { parseTime } from '@/utils'
84 91
   import store from '@/store'
85 92
   import { getDataConfig } from '@/utils/data'
@@ -221,7 +228,14 @@
221 228
           }
222 229
         }
223 230
         return false
224
-      }
231
+      },
232
+      getTimeOne(val) {
233
+        if(val == ""){
234
+        return ""
235
+        }else {
236
+        return uParseTime(val, '{y}-{m}-{d}')
237
+        }
238
+       },
225 239
 
226 240
     }
227 241
   }

+ 10 - 8
src/xt_pages/dialysis/details/index.vue Zobrazit soubor

@@ -334,7 +334,7 @@
334 334
                 </div>
335 335
                 <div class="printCell" style="display:flex;justify-content: space-around;">
336 336
                   <span style="display: block;width: 50%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}
337
-                    <span v-if="$store.getters.xt_user.org.id == 10278">ml</span> 
337
+                    <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10138">ml</span> 
338 338
                     <span v-else>L</span>
339 339
                   </span>
340 340
                   <span style="display: block;width: 50%;">
@@ -446,6 +446,7 @@
446 446
         :lastAssessment="lastAssessment"
447 447
         :stockType="stockType"
448 448
         :his_doctor_advices="his_doctor_advices"
449
+        :lastOrder="lastOrder"
449 450
       >
450 451
       </nav-igation>
451 452
 
@@ -870,6 +871,7 @@ export default {
870 871
       anticoagulants_confit:null,
871 872
       printDate:'',
872 873
       assessmentAfterDislysis:{},
874
+      lastOrder:{},
873 875
     }
874 876
   },
875 877
   created() {
@@ -980,9 +982,8 @@ export default {
980 982
 
981 983
       steps[0].finish = this.prescription.id && this.prescription.creater > 0
982 984
       steps[1].finish = this.receiver_treatment_access.id > 0
983
-      steps[2].finish =
984
-        this.predialysis_evaluation.id > 0 &&
985
-        this.predialysis_evaluation.creater > 0
985
+      // steps[2].finish =this.predialysis_evaluation.id > 0 && this.predialysis_evaluation.creater > 0
986
+      steps[2].finish =this.predialysis_evaluation.id > 0
986 987
       steps[3].finish = this.doctor_advices.length > 0
987 988
       steps[5].finish = this.dialysis_order.id > 0
988 989
       steps[7].finish =
@@ -993,9 +994,8 @@ export default {
993 994
         this.double_check.creater > 0 &&
994 995
         this.double_check.modifier > 0
995 996
       steps[6].finish = this.monitor_records.length > 0
996
-      steps[8].finish =
997
-        this.assessment_after_dislysis.id > 0 &&
998
-        this.assessment_after_dislysis.creater > 0
997
+      // steps[8].finish = this.assessment_after_dislysis.id > 0 && this.assessment_after_dislysis.creater > 0
998
+      steps[8].finish = this.assessment_after_dislysis.id > 0
999 999
       steps[9].finish = this.treatment_summary.id > 0
1000 1000
 
1001 1001
       return steps
@@ -1245,7 +1245,9 @@ export default {
1245 1245
           var system_prescribe = resp.data.system_prescribe
1246 1246
 
1247 1247
           var lastAssessment =  resp.data.lastAssessment
1248
-
1248
+          
1249
+          var lastOrder = resp.data.lastOrder
1250
+          this.lastOrder = lastOrder
1249 1251
           this.$refs.nav.setLastRecord(
1250 1252
             lastPredialysisEvaluation,
1251 1253
             lastMonitorRecord,

+ 0 - 10
src/xt_pages/stock/drugs/components/drugQuery.vue Zobrazit soubor

@@ -904,14 +904,6 @@ export default {
904 904
           manufacturer_name = this.manufacturerList[i].manufacturer_name;
905 905
         }
906 906
       }
907
-      var unit =
908
-        val.dose +
909
-        val.dose_unit +
910
-        "*" +
911
-        val.min_number +
912
-        val.min_unit +
913
-        "/" +
914
-        val.max_unit;
915 907
       var over_plus = this.getOverFlushInfo(
916 908
         val.drug_warehouse_info,
917 909
         val.max_unit,
@@ -924,8 +916,6 @@ export default {
924 916
           val.id +
925 917
           "&manufacturer=" +
926 918
           manufacturer_name +
927
-          "&unit=" +
928
-          unit +
929 919
           "&min_number=" +
930 920
           val.min_number +
931 921
           "&max_unit=" +

+ 1 - 2
src/xt_pages/stock/drugs/drugStockFlow.vue Zobrazit soubor

@@ -7,9 +7,8 @@
7 7
       <div class="cell clearfix">
8 8
        药品名称:<span>{{getName(this.$route.query.drug_id)}}</span>&nbsp;
9 9
        库存: {{this.$route.query.over_plus}}
10
-       规格:<span>{{this.$route.query.unit}}</span>&nbsp;
10
+       规格:<span>{{drug.dose}}{{drug.dose_unit}}*{{drug.min_number}}{{drug.min_unit}}/{{drug.max_unit}}</span>&nbsp;
11 11
        厂家:<span>{{this.$route.query.manufacturer}}</span>&nbsp;
12
-
13 12
       </div>
14 13
       <div class="cell clearfix">
15 14
         <span>日期查询:</span>

+ 2 - 1
src/xt_pages/workforce/remind_print_setting.vue Zobrazit soubor

@@ -80,6 +80,7 @@
80 80
                 <div>用法:静脉注射</div>
81 81
                 <div>打印时间:{{currentDate}}</div>
82 82
               </div>
83
+
83 84
               <div class="signPrint" style="font-size:16px;" v-else>
84 85
                 <div style="margin-left:50px;">姓名:
85 86
                   <span v-if="type ==1 && printObj.name == 1">{{main_collection.patient.name}} </span>
@@ -173,7 +174,7 @@
173 174
               
174 175
                 </div>
175 176
                 <div class="printCell">
176
-                  <span>处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}L</span>
177
+                  <span>处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}ml</span>
177 178
                   总量:{{main_collection.dialysissolution.anticoagulant_zongliang}}
178 179
                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">
179 180
                     mg