Browse Source

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

huangyw 2 years ago
parent
commit
ed2d639a28

+ 8 - 0
src/api/advice.js View File

519
     params: params
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 View File

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
   var params = {
51
   var params = {
52
     patient_id: patient_id,
52
     patient_id: patient_id,
53
     date: schedule_date,
53
     date: schedule_date,
68
     puncture_way: puncture_way,
68
     puncture_way: puncture_way,
69
     dialysis_dialyszers: dialysis_dialyszers,
69
     dialysis_dialyszers: dialysis_dialyszers,
70
     dialysis_irrigation: dialysis_irrigation,
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
   console.log('params', params)
74
   console.log('params', params)
74
   return request({
75
   return request({

+ 71 - 59
src/xt_pages/dialysis/PatientBox.vue View File

93
       </div>
93
       </div>
94
       <div class="dislysisInfo">
94
       <div class="dislysisInfo">
95
         <p>
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
         </p>
104
         </p>
114
         <p>
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
         </p>
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
         </p>
160
         </p>
158
       </div>
161
       </div>
159
       <div
162
       <div
234
 </template>
237
 </template>
235
 
238
 
236
 <script>
239
 <script>
240
+import { uParseTime } from '@/utils/tools'
237
 import { parseTime } from "@/utils";
241
 import { parseTime } from "@/utils";
238
 import { jsGetAge } from "@/utils/tools";
242
 import { jsGetAge } from "@/utils/tools";
239
 import dialysisPrescriptionDialog from "../dialysis/details/dialog/dialysisPrescriptionDialog";
243
 import dialysisPrescriptionDialog from "../dialysis/details/dialog/dialysisPrescriptionDialog";
344
   },
348
   },
345
 
349
 
346
   methods: {
350
   methods: {
351
+    getTimeOne(val) {
352
+      if(val == ""){
353
+      return ""
354
+      }else {
355
+      return uParseTime(val, '{y}-{m}-{d}')
356
+      }
357
+    },
347
     stateColor: function (schedual) {
358
     stateColor: function (schedual) {
348
       var state = this.computeState(schedual);
359
       var state = this.computeState(schedual);
349
       if (state == 1) {
360
       if (state == 1) {
718
       this.$emit("advice");
729
       this.$emit("advice");
719
     },
730
     },
720
     open(schedual) {
731
     open(schedual) {
721
-      console.log("处方23332233232",this.admin_users)
732
+    
722
       this.date = schedual.schedule_date;
733
       this.date = schedual.schedule_date;
723
       this.patient_id = schedual.patient_id;
734
       this.patient_id = schedual.patient_id;
724
       this.modedata = 1;
735
       this.modedata = 1;
759
         return "modePurple";
770
         return "modePurple";
760
       }
771
       }
761
     },
772
     },
773
+    
762
   },
774
   },
763
 };
775
 };
764
 </script>
776
 </script>

+ 80 - 13
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

60
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
60
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
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>
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
             <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>
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
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
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
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
81
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
66
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 5">{{ anticoagulant_zongliang != "0" ? "ml" : "" }}</span>
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
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
99
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
70
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
100
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
71
           </span>
101
           </span>
72
           <span v-else>
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
             <span class="unit" v-else>{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
105
             <span class="unit" v-else>{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
75
           </span>
106
           </span>
76
         </li>
107
         </li>
111
           <label>目标超滤量 : </label>
142
           <label>目标超滤量 : </label>
112
           <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
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
         </li>
147
         </li>
117
 
148
 
118
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">
149
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">
149
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
180
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
150
             <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>
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
             <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>
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
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
189
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
154
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span >
190
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span >
155
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 5" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
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
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
204
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
159
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
205
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9" >{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
160
           </span>
206
           </span>
245
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1"></span>
291
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1"></span>
246
             <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>
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
             <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>
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
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
300
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
250
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
301
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
251
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 5">{{ anticoagulant_weichi != "0" ? "ml/h" : "" }}</span>
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
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
315
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 8">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
255
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
316
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 9">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
256
           </span>
317
           </span>
352
         </li>
413
         </li>
353
 
414
 
354
         <li v-if="isShow('单超脱水')">
415
         <li v-if="isShow('单超脱水')">
355
-          <label>单超脱水(L): </label>
416
+          <label>单超脱水(ml): </label>
356
           <span class="content">{{this.prescription.single_water}}</span>
417
           <span class="content">{{this.prescription.single_water}}</span>
357
         </li>
418
         </li>
358
 
419
 
400
             <span>{{this.prescription.max_ultrafiltration_rate}}</span>
461
             <span>{{this.prescription.max_ultrafiltration_rate}}</span>
401
            </span>
462
            </span>
402
         </li>
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
       </ul>
471
       </ul>
405
     </div>
472
     </div>

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

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

+ 2 - 2
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.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
         </li>
22
         </li>
23
         <li v-if="isShow('导管')">
23
         <li v-if="isShow('导管')">
24
           <label>导管 : </label>
24
           <label>导管 : </label>

+ 10 - 5
src/xt_pages/dialysis/details/consumable/dialysisGood.vue View File

541
                 }
541
                 }
542
               
542
               
543
                  for(let i=0;i<list.length;i++){
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
                      for(let z=0;z<list[i].his_prescription_template.his_prescription_info[j].project.length;z++){
546
                      for(let z=0;z<list[i].his_prescription_template.his_prescription_info[j].project.length;z++){
546
                         list[i].projectList.push(list[i].his_prescription_template.his_prescription_info[j].project[z])
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
                 console.log("list列表",list)
553
                 console.log("list列表",list)
551
                  this.list = list 
554
                  this.list = list 
793
             this.startHisDialogVisible = true
796
             this.startHisDialogVisible = true
794
              var projectList = []
797
              var projectList = []
795
              for(let i=0;i<list.length;i++){
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
              console.log("projectList",projectList)
807
              console.log("projectList",projectList)

+ 35 - 3
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.$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
               <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>
682
       default: () => {
682
       default: () => {
683
         return { id: 0 }
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
   data() {
701
   data() {
688
     return {
702
     return {
1179
 
1193
 
1180
     // 数据开始
1194
     // 数据开始
1181
     show(predialysis,last_after) {
1195
     show(predialysis,last_after) {
1182
-      console.log("predialysis",predialysis)
1196
+      console.log("透后体重2332233223wo",predialysis)
1183
       this.isVisibility = true
1197
       this.isVisibility = true
1184
       this.predialysis = predialysis
1198
       this.predialysis = predialysis
1185
       this.form.observation_content = predialysis.observation_content
1199
       this.form.observation_content = predialysis.observation_content
1197
       if(predialysis.id > 0){
1211
       if(predialysis.id > 0){
1198
         this.form.hypopiesia = predialysis.hypopiesia.toString()
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
         if(last_after.id > 0){
1248
         if(last_after.id > 0){
1224
           this.form.hypopiesia = last_after.hypopiesia.toString()
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 View File

591
       :patientID="patient.id"
591
       :patientID="patient.id"
592
       :adviceTableData="doctor_advices"
592
       :adviceTableData="doctor_advices"
593
       :recordDate="record_date"
593
       :recordDate="record_date"
594
+      :schedulePatient="schedulePatient"
594
       ref="addGroupForm"
595
       ref="addGroupForm"
595
     ></add-group-advice>
596
     ></add-group-advice>
596
 
597
 
623
     EditDoctorAdvice,
624
     EditDoctorAdvice,
624
     ExecDoctorAdvice,
625
     ExecDoctorAdvice,
625
     getAdviceConfig,
626
     getAdviceConfig,
626
-    GetLastOrNextDoctorAdvice
627
+    GetLastOrNextDoctorAdvice,
628
+    getPatientSchedule
627
   } from '@/api/advice'
629
   } from '@/api/advice'
628
   import { getDataConfig } from '@/utils/data'
630
   import { getDataConfig } from '@/utils/data'
629
 
631
 
780
         drug_id: 0,
782
         drug_id: 0,
781
         src_type:"",
783
         src_type:"",
782
         org_id:0,
784
         org_id:0,
785
+        schedulePatient:{},
783
       }
786
       }
784
     },
787
     },
785
     watch: {
788
     watch: {
2559
        console.log("this.form.drug_id",this.form.drug_id)
2562
        console.log("this.form.drug_id",this.form.drug_id)
2560
 
2563
 
2561
        // this.form.id = tmp.id
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
     created() {
2580
     created() {
2576
       // this.getDialysisScheduleDetail()
2592
       // this.getDialysisScheduleDetail()
2577
        //获取自备药
2593
        //获取自备药
2578
       this.getSelfMedicalList()
2594
       this.getSelfMedicalList()
2595
+      this.getPatientSchedule()
2579
     },
2596
     },
2580
     components: {
2597
     components: {
2581
       AddGroupAdvice,
2598
       AddGroupAdvice,

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

706
         return { id: 0 }
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
   methods: {
716
   methods: {
712
     lili(val){
717
     lili(val){
1551
           this.groupForm.start_time = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
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
     selectAllTemplateAdvice(selection) {
1591
     selectAllTemplateAdvice(selection) {
1556
       console.log("params",selection)
1592
       console.log("params",selection)

+ 35 - 6
src/xt_pages/dialysis/details/dialog/computer_dialog.vue View File

117
             </el-select>
117
             </el-select>
118
        </el-form-item>
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
         <el-form-item label="上机时间 :" style="width:300px"  v-if="isShowFiled('上机时间')">
132
         <el-form-item label="上机时间 :" style="width:300px"  v-if="isShowFiled('上机时间')">
121
           <el-date-picker
133
           <el-date-picker
122
             type="datetime"
134
             type="datetime"
146
 <script>
158
 <script>
147
   import axios from 'axios'
159
   import axios from 'axios'
148
   import { GetSchedualNumber, PostModifyStartDialysis, startDialysis } from '@/api/dialysis_record'
160
   import { GetSchedualNumber, PostModifyStartDialysis, startDialysis } from '@/api/dialysis_record'
161
+  import { uParseTime } from '@/utils/tools'
149
   import { getDataConfig } from '@/utils/data'
162
   import { getDataConfig } from '@/utils/data'
150
   import { parseTime } from '@/utils'
163
   import { parseTime } from '@/utils'
151
   import store from '@/store'
164
   import store from '@/store'
152
   import multiSelectBox from './MultiSelectBox'
165
   import multiSelectBox from './MultiSelectBox'
153
   import request from '@/utils/request'
166
   import request from '@/utils/request'
154
-
167
+  const moment = require('moment')
155
   export default {
168
   export default {
156
     name: 'ComputerDialog',
169
     name: 'ComputerDialog',
157
     components: {
170
     components: {
185
           dialysis_dialyszers:"",
198
           dialysis_dialyszers:"",
186
           dialysis_irrigation:"",
199
           dialysis_irrigation:"",
187
           blood_access_id:"",
200
           blood_access_id:"",
201
+          nuclein_date:moment(new Date()).add('year',0).format("YYYY-MM-DD"),
188
         },
202
         },
189
         blood_access_option:[],
203
         blood_access_option:[],
190
         schedual_type: 0,
204
         schedual_type: 0,
235
           return []
249
           return []
236
         }
250
         }
237
       },
251
       },
252
+      lastOrder:{
253
+        type: Object
254
+      },
238
     }, mounted() {
255
     }, mounted() {
239
 
256
 
240
     },
257
     },
303
         this.form.dialysis_dialyszers = this.dialysis_order.dialysis_dialyszers
320
         this.form.dialysis_dialyszers = this.dialysis_order.dialysis_dialyszers
304
         this.form.dialysis_irrigation = this.dialysis_order.dialysis_irrigation
321
         this.form.dialysis_irrigation = this.dialysis_order.dialysis_irrigation
305
         this.form.blood_access_id = this.dialysis_order.blood_access_id
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
         var nowDate = new Date()
324
         var nowDate = new Date()
307
         var nowYear = nowDate.getFullYear()
325
         var nowYear = nowDate.getFullYear()
308
         var nowMonth = nowDate.getMonth() + 1
326
         var nowMonth = nowDate.getMonth() + 1
442
         }
460
         }
443
         return ''
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
         this.record = dialysis
471
         this.record = dialysis
447
-        console.log("上机",dialysis)
472
+     
448
         this.getPermission()
473
         this.getPermission()
449
         this.visible = true
474
         this.visible = true
450
 
475
 
455
         var nowHours = nowDate.getHours()
480
         var nowHours = nowDate.getHours()
456
         var nowMinutes = nowDate.getMinutes()
481
         var nowMinutes = nowDate.getMinutes()
457
         var nowSeconds = nowDate.getSeconds()
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
         if (this.dialysis_order.id != 0) {
484
         if (this.dialysis_order.id != 0) {
460
           this.form.start_time = this.getTime(this.dialysis_order.start_time, '{y}-{m}-{d} {h}:{i}')
485
           this.form.start_time = this.getTime(this.dialysis_order.start_time, '{y}-{m}-{d} {h}:{i}')
461
         } else {
486
         } else {
480
           } else if (hour >= 18) {
505
           } else if (hour >= 18) {
481
             this.schedual_type = 3
506
             this.schedual_type = 3
482
           }
507
           }
508
+         
483
         } else {
509
         } else {
484
 
510
 
485
           this.schedual_type = this.dialysis_order.schedual_type
511
           this.schedual_type = this.dialysis_order.schedual_type
509
         let mode = '1'
535
         let mode = '1'
510
         var blood_drawing =  this.form.blood_drawing.toString()
536
         var blood_drawing =  this.form.blood_drawing.toString()
511
         console.log("质控护士",this.form.quality_nurse_id)
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
           this.loading = false
541
           this.loading = false
514
           var resp = rs.data
542
           var resp = rs.data
515
           if (resp.state == 1) {
543
           if (resp.state == 1) {
550
         ParamsQuery["dialysis_dialyszers"] = this.form.dialysis_dialyszers
578
         ParamsQuery["dialysis_dialyszers"] = this.form.dialysis_dialyszers
551
         ParamsQuery["dialysis_irrigation"] = this.form.dialysis_irrigation
579
         ParamsQuery["dialysis_irrigation"] = this.form.dialysis_irrigation
552
         ParamsQuery["blood_access_id"] = this.form.blood_access_id
580
         ParamsQuery["blood_access_id"] = this.form.blood_access_id
581
+        ParamsQuery["nuclein_date"] = this.form.nuclein_date
553
         ParamsQuery['mode'] = "2"
582
         ParamsQuery['mode'] = "2"
554
         if (this.dialysis_order.creator != this.$store.getters.xt_user.user.id) {
583
         if (this.dialysis_order.creator != this.$store.getters.xt_user.user.id) {
555
           ParamsQuery['mode'] = "3"
584
           ParamsQuery['mode'] = "3"
558
           var resp = rs.data
587
           var resp = rs.data
559
           if (resp.state == 1) {
588
           if (resp.state == 1) {
560
             this.$message.success('修改成功')
589
             this.$message.success('修改成功')
561
-
590
+            this.hide()
562
             var resp_dialysis_order = resp.data.dialysis_order
591
             var resp_dialysis_order = resp.data.dialysis_order
563
             var this_order = this.dialysis_order
592
             var this_order = this.dialysis_order
564
             for (const key in resp_dialysis_order) {
593
             for (const key in resp_dialysis_order) {

+ 51 - 12
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

82
                     </el-col>
82
                     </el-col>
83
 
83
 
84
                     <el-col :span="8"
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
                         <el-form-item label="目标超滤量(ml):">
86
                         <el-form-item label="目标超滤量(ml):">
87
                             <el-input
87
                             <el-input
88
                                     type="number"
88
                                     type="number"
93
 
93
 
94
 
94
 
95
                     <el-col :span="8"
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
                         <el-form-item label="目标超滤量(L):">
97
                         <el-form-item label="目标超滤量(L):">
98
                             <el-input
98
                             <el-input
99
                                     type="number"
99
                                     type="number"
101
                             ></el-input>
101
                             ></el-input>
102
                         </el-form-item>
102
                         </el-form-item>
103
                     </el-col>
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
                         <el-form-item label="单超时长(h):">
119
                         <el-form-item label="单超时长(h):">
108
                             <el-input v-model="dialysisPrescription.single_time"></el-input>
120
                             <el-input v-model="dialysisPrescription.single_time"></el-input>
109
                         </el-form-item>
121
                         </el-form-item>
110
                     </el-col>
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
                             <el-input v-model="dialysisPrescription.single_water"></el-input>
126
                             <el-input v-model="dialysisPrescription.single_water"></el-input>
115
                         </el-form-item>
127
                         </el-form-item>
116
                     </el-col>
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
                     <el-col :span="8" v-if="isShows('透析液配方')">
143
                     <el-col :span="8" v-if="isShows('透析液配方')">
119
                         <el-form-item label="透析液配方:">
144
                         <el-form-item label="透析液配方:">
120
                             <!-- <el-input type="number" v-model="dialysisPrescription.dialysate_formulation"></el-input> -->
145
                             <!-- <el-input type="number" v-model="dialysisPrescription.dialysate_formulation"></el-input> -->
195
                     </el-col>
220
                     </el-col>
196
 
221
 
197
                     <el-col :span="8" v-if="anticoagulant.shouji != -1 && isShows('首剂')">
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
                           <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">
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
                             <el-form-item
225
                             <el-form-item
201
                                     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'
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
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
291
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
267
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
292
                                           v-model="dialysisPrescription.no_anticoagulant_shouji"></el-input>
268
                             </el-form-item>
293
                             </el-form-item>
269
-
294
+                           
295
+                           
270
                         </div>
296
                         </div>
271
 
297
 
272
                     </el-col>
298
                     </el-col>
273
 
299
 
274
 
300
 
275
                     <el-col :span="8" v-if="anticoagulant.weichi != -1 && isShows('维持')">
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
                           <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 ">
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
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
304
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
279
                                           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">
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
                     </el-col>
361
                     </el-col>
336
 
362
 
337
                     <el-col :span="8" v-if="anticoagulant.zongliang != -1 && isShows('总量')">
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
                           <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">
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
                             <el-form-item
366
                             <el-form-item
341
                                     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'
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
           epoOptions: [],
1414
           epoOptions: [],
1389
           impulse:0,
1415
           impulse:0,
1390
           admin_user_id:"",
1416
           admin_user_id:"",
1417
+          drhy_water:"",
1418
+          is_water:0,
1419
+          dry_water_hour:"",
1391
         },
1420
         },
1392
 
1421
 
1393
         anticoagulant: {
1422
         anticoagulant: {
1423
         epoOptions: [],
1452
         epoOptions: [],
1424
         isLoading: false,
1453
         isLoading: false,
1425
         adminRoles:[{id:0,name:"请选择"}],
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
     methods: {
1462
     methods: {
2183
         } else {
2217
         } else {
2184
           last_weight_after = this.last_record.weight_after
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
         if (this.predialysis == null || this.predialysis.id == 0) {
2226
         if (this.predialysis == null || this.predialysis.id == 0) {
2188
           if (last != null) {
2227
           if (last != null) {
2189
 
2228
 
2201
             this.dialysisPrescription.tubing_hemodialysis = last.tubing_hemodialysis
2240
             this.dialysisPrescription.tubing_hemodialysis = last.tubing_hemodialysis
2202
             this.dialysisPrescription.package = last.package
2241
             this.dialysisPrescription.package = last.package
2203
             this.dialysisPrescription.a_liquid = last.a_liquid
2242
             this.dialysisPrescription.a_liquid = last.a_liquid
2204
-
2243
+          
2205
             weight_before = 0
2244
             weight_before = 0
2206
 
2245
 
2207
           }
2246
           }

+ 14 - 4
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

1861
         }
1861
         }
1862
 
1862
 
1863
         this.form.venous_pressure_type = resp.monitor.venous_pressure_type? resp.monitor.venous_pressure_type: 1;
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
         this.form.arterial_pressure_type = resp.monitor.arterial_pressure_type
1870
         this.form.arterial_pressure_type = resp.monitor.arterial_pressure_type
1868
           ? resp.monitor.arterial_pressure_type
1871
           ? resp.monitor.arterial_pressure_type
1869
           : 1;
1872
           : 1;
2076
         this.form.ultrafiltration_rate = monitor.ultrafiltration_rate
2079
         this.form.ultrafiltration_rate = monitor.ultrafiltration_rate
2077
           ? monitor.ultrafiltration_rate
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
           ? monitor.arterial_pressure
2088
           ? monitor.arterial_pressure
2081
           : "";
2089
           : "";
2090
+        }
2091
+       
2082
         this.form.arterial_pressure_type = monitor.arterial_pressure_type
2092
         this.form.arterial_pressure_type = monitor.arterial_pressure_type
2083
           ? monitor.arterial_pressure_type
2093
           ? monitor.arterial_pressure_type
2084
           : "";
2094
           : "";

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

68
           <span class="content">{{ stage }}</span>
68
           <span class="content">{{ stage }}</span>
69
         </li>
69
         </li>
70
       </ul>
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
       <ul>
77
       <ul>
72
         <li v-if="isShow('上机时间')">
78
         <li v-if="isShow('上机时间')">
73
           <label>上机时间 : </label>
79
           <label>上机时间 : </label>
80
 </template>
86
 </template>
81
 
87
 
82
 <script>
88
 <script>
89
+  import { uParseTime } from '@/utils/tools'
83
   import { parseTime } from '@/utils'
90
   import { parseTime } from '@/utils'
84
   import store from '@/store'
91
   import store from '@/store'
85
   import { getDataConfig } from '@/utils/data'
92
   import { getDataConfig } from '@/utils/data'
221
           }
228
           }
222
         }
229
         }
223
         return false
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 View File

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

+ 0 - 10
src/xt_pages/stock/drugs/components/drugQuery.vue View File

904
           manufacturer_name = this.manufacturerList[i].manufacturer_name;
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
       var over_plus = this.getOverFlushInfo(
907
       var over_plus = this.getOverFlushInfo(
916
         val.drug_warehouse_info,
908
         val.drug_warehouse_info,
917
         val.max_unit,
909
         val.max_unit,
924
           val.id +
916
           val.id +
925
           "&manufacturer=" +
917
           "&manufacturer=" +
926
           manufacturer_name +
918
           manufacturer_name +
927
-          "&unit=" +
928
-          unit +
929
           "&min_number=" +
919
           "&min_number=" +
930
           val.min_number +
920
           val.min_number +
931
           "&max_unit=" +
921
           "&max_unit=" +

+ 1 - 2
src/xt_pages/stock/drugs/drugStockFlow.vue View File

7
       <div class="cell clearfix">
7
       <div class="cell clearfix">
8
        药品名称:<span>{{getName(this.$route.query.drug_id)}}</span>&nbsp;
8
        药品名称:<span>{{getName(this.$route.query.drug_id)}}</span>&nbsp;
9
        库存: {{this.$route.query.over_plus}}
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
        厂家:<span>{{this.$route.query.manufacturer}}</span>&nbsp;
11
        厂家:<span>{{this.$route.query.manufacturer}}</span>&nbsp;
12
-
13
       </div>
12
       </div>
14
       <div class="cell clearfix">
13
       <div class="cell clearfix">
15
         <span>日期查询:</span>
14
         <span>日期查询:</span>

+ 2 - 1
src/xt_pages/workforce/remind_print_setting.vue View File

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