Browse Source

4月28日杨青

杨青 1 year ago
parent
commit
cf50e5c468

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

11
       <el-form ref="form" :model="form" label-width="160px">
11
       <el-form ref="form" :model="form" label-width="160px">
12
         <el-row :gutter="20">
12
         <el-row :gutter="20">
13
           <el-col :span="8" v-if="isShow('实际治疗时长')">
13
           <el-col :span="8" v-if="isShow('实际治疗时长')">
14
-            <el-form-item label="实际治疗时长(时):">
14
+            <el-form-item label="实际治疗时长(时):" :prop="isName('实际治疗时长')" :rules="isCheckmust('实际治疗时长')">
15
               <!-- <el-input v-model="form.actual_treatment_hour"></el-input> -->
15
               <!-- <el-input v-model="form.actual_treatment_hour"></el-input> -->
16
               <el-time-picker
16
               <el-time-picker
17
                 v-model="actualTreatmentHourShow"
17
                 v-model="actualTreatmentHourShow"
27
 
27
 
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): " :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')"
31
               v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410"  >
31
               v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410"  >
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 :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')">
35
               <el-input v-model="form.actual_ultrafiltration"></el-input>
35
               <el-input v-model="form.actual_ultrafiltration"></el-input>
36
             </el-form-item>
36
             </el-form-item>
37
           </el-col>
37
           </el-col>
38
 
38
 
39
           <el-col :span="8" v-if="isShow('透后称重')">
39
           <el-col :span="8" v-if="isShow('透后称重')">
40
-            <el-form-item label="透后称重(kg): ">
40
+            <el-form-item label="透后称重(kg): " :prop="isName('透后称重')" :rules="isCheckmust('透后称重')">
41
               <el-input v-model="form.weight_after"></el-input>
41
               <el-input v-model="form.weight_after"></el-input>
42
             </el-form-item>
42
             </el-form-item>
43
           </el-col>
43
           </el-col>
44
 
44
 
45
           <el-col :span="8" v-if="isShow('衣物重')">
45
           <el-col :span="8" v-if="isShow('衣物重')">
46
-            <el-form-item label="衣物重(kg): ">
46
+            <el-form-item label="衣物重(kg): " :prop="isName('衣物重')" :rules="isCheckmust('衣物重')">
47
               <el-input v-model="form.additional_weight"></el-input>
47
               <el-input v-model="form.additional_weight"></el-input>
48
             </el-form-item>
48
             </el-form-item>
49
           </el-col>
49
           </el-col>
51
 
51
 
52
         <el-row :gutter="20">
52
         <el-row :gutter="20">
53
           <el-col :span="8" v-if="isShow('体重减少')">
53
           <el-col :span="8" v-if="isShow('体重减少')">
54
-            <el-form-item label="体重减少(kg): ">
54
+            <el-form-item label="体重减少(kg): " :prop="isName('体重减少')" :rules="isCheckmust('体重减少')">
55
               <el-input v-model="form.weight_loss"></el-input>
55
               <el-input v-model="form.weight_loss"></el-input>
56
             </el-form-item>
56
             </el-form-item>
57
           </el-col>
57
           </el-col>
58
 
58
 
59
           <el-col :span="8" v-if="isShow('穿刺处血肿')">
59
           <el-col :span="8" v-if="isShow('穿刺处血肿')">
60
-            <el-form-item label="穿刺处血肿: ">
60
+            <el-form-item label="穿刺处血肿: " :prop="isName('穿刺处血肿')" :rules="isCheckmust('穿刺处血肿')">
61
               <el-radio-group v-model="form.puncture_point_haematoma">
61
               <el-radio-group v-model="form.puncture_point_haematoma">
62
                 <el-radio :label="1">有</el-radio>
62
                 <el-radio :label="1">有</el-radio>
63
                 <el-radio :label="2">无</el-radio>
63
                 <el-radio :label="2">无</el-radio>
66
           </el-col>
66
           </el-col>
67
 
67
 
68
           <el-col :span="8" v-if="isShow('并发症')">
68
           <el-col :span="8" v-if="isShow('并发症')">
69
-            <el-form-item label="并发症: ">
69
+            <el-form-item label="并发症: " :prop="isName('并发症')" :rules="isCheckmust('并发症')">
70
               <el-input
70
               <el-input
71
                 v-model="form.complication"
71
                 v-model="form.complication"
72
                 readonly
72
                 readonly
78
 
78
 
79
         <el-row :gutter="20">
79
         <el-row :gutter="20">
80
           <el-col :span="8" v-if="isShow('内瘘')">
80
           <el-col :span="8" v-if="isShow('内瘘')">
81
-            <el-form-item label="内瘘: ">
81
+            <el-form-item label="内瘘: " :prop="isName('内瘘')" :rules="isCheckmust('内瘘')">
82
               <el-input
82
               <el-input
83
                 v-model="form.internal_fistula"
83
                 v-model="form.internal_fistula"
84
                 readonly
84
                 readonly
88
           </el-col>
88
           </el-col>
89
 
89
 
90
           <el-col :span="8" v-if="isShow('导管')">
90
           <el-col :span="8" v-if="isShow('导管')">
91
-            <el-form-item label="导管: ">
91
+            <el-form-item label="导管: " :prop="isName('导管')" :rules="isCheckmust('导管')">
92
               <el-input
92
               <el-input
93
                 v-model="form.catheter"
93
                 v-model="form.catheter"
94
                 readonly
94
                 readonly
98
           </el-col>
98
           </el-col>
99
 
99
 
100
           <el-col :span="8" v-if="isShow('透析过程')">
100
           <el-col :span="8" v-if="isShow('透析过程')">
101
-            <el-form-item label="透析过程: ">
101
+            <el-form-item label="透析过程: " :prop="isName('透析过程')" :rules="isCheckmust('透析过程')">
102
               <el-select v-model="form.dialysis_process">
102
               <el-select v-model="form.dialysis_process">
103
                 <el-option :key="0" label="请选择" :value="0"></el-option>
103
                 <el-option :key="0" label="请选择" :value="0"></el-option>
104
 
104
 
113
           </el-col>
113
           </el-col>
114
 
114
 
115
           <el-col :span="8" v-if="isShow('透析过程提前时间')">
115
           <el-col :span="8" v-if="isShow('透析过程提前时间')">
116
-            <el-form-item label="透析过程提前时间(min): ">
116
+            <el-form-item label="透析过程提前时间(min): " :prop="isName('透析过程提前时间')" :rules="isCheckmust('透析过程提前时间')">
117
               <el-input v-model="form.in_advance_minute"></el-input>
117
               <el-input v-model="form.in_advance_minute"></el-input>
118
             </el-form-item>
118
             </el-form-item>
119
           </el-col>
119
           </el-col>
120
 
120
 
121
           <el-col :span="8" v-if="isShow('透析过程提前原因')">
121
           <el-col :span="8" v-if="isShow('透析过程提前原因')">
122
-            <el-form-item label="透析过程提前原因: ">
122
+            <el-form-item label="透析过程提前原因: " :prop="isName('透析过程提前原因')" :rules="isCheckmust('透析过程提前原因')">
123
               <el-input
123
               <el-input
124
                 v-model="form.in_advance_reason"
124
                 v-model="form.in_advance_reason"
125
                 readonly
125
                 readonly
129
           </el-col>
129
           </el-col>
130
 
130
 
131
           <el-col :span="8" v-if="isShow('透析过程提前其他原因')">
131
           <el-col :span="8" v-if="isShow('透析过程提前其他原因')">
132
-            <el-form-item label="透析过程提前其他原因: ">
132
+            <el-form-item label="透析过程提前其他原因: " :prop="isName('透析过程提前其他原因')" :rules="isCheckmust('透析过程提前其他原因')">
133
               <el-input
133
               <el-input
134
                 v-model="form.in_advance_reason_other"
134
                 v-model="form.in_advance_reason_other"
135
                 :rows="2"
135
                 :rows="2"
140
 
140
 
141
         <el-row :gutter="20">
141
         <el-row :gutter="20">
142
           <el-col :span="8" v-if="isShow('内瘘管拔针后压迫止血时间')">
142
           <el-col :span="8" v-if="isShow('内瘘管拔针后压迫止血时间')">
143
-            <el-form-item label="内瘘管拔针后压迫止血时间(min): ">
143
+            <el-form-item label="内瘘管拔针后压迫止血时间(min): " :prop="isName('内瘘管拔针后压迫止血时间')" :rules="isCheckmust('内瘘管拔针后压迫止血时间')">
144
               <el-input v-model="form.hemostasis_minute" :rows="5"></el-input>
144
               <el-input v-model="form.hemostasis_minute" :rows="5"></el-input>
145
             </el-form-item>
145
             </el-form-item>
146
           </el-col>
146
           </el-col>
147
 
147
 
148
           <el-col :span="8" v-if="isShow('内瘘管拔针后压迫止血操作')">
148
           <el-col :span="8" v-if="isShow('内瘘管拔针后压迫止血操作')">
149
-            <el-form-item label="内瘘管拔针后压迫止血操作: ">
149
+            <el-form-item label="内瘘管拔针后压迫止血操作: " :prop="isName('内瘘管拔针后压迫止血操作')" :rules="isCheckmust('内瘘管拔针后压迫止血操作')">
150
               <el-select v-model="form.hemostasis_opera">
150
               <el-select v-model="form.hemostasis_opera">
151
                 <el-option :key="0" label="请选择" :value="0"></el-option>
151
                 <el-option :key="0" label="请选择" :value="0"></el-option>
152
 
152
 
161
           </el-col>
161
           </el-col>
162
 
162
 
163
           <el-col :span="8" v-if="isShow('动脉管道')">
163
           <el-col :span="8" v-if="isShow('动脉管道')">
164
-            <el-form-item label="动脉管道: ">
164
+            <el-form-item label="动脉管道: " :prop="isName('动脉管道')" :rules="isCheckmust('动脉管道')">
165
               <el-select v-model="form.arterial_tube">
165
               <el-select v-model="form.arterial_tube">
166
                 <el-option :key="0" label="请选择" :value="0"></el-option>
166
                 <el-option :key="0" label="请选择" :value="0"></el-option>
167
 
167
 
177
         </el-row>
177
         </el-row>
178
         <el-row :gutter="20">
178
         <el-row :gutter="20">
179
           <el-col :span="8" v-if="isShow('静脉管道')">
179
           <el-col :span="8" v-if="isShow('静脉管道')">
180
-            <el-form-item label="静脉管道: ">
180
+            <el-form-item label="静脉管道: " :prop="isName('静脉管道')" :rules="isCheckmust('静脉管道')">
181
               <el-select v-model="form.intravenous_tube">
181
               <el-select v-model="form.intravenous_tube">
182
                 <el-option :key="0" label="请选择" :value="0"></el-option>
182
                 <el-option :key="0" label="请选择" :value="0"></el-option>
183
 
183
 
192
           </el-col>
192
           </el-col>
193
 
193
 
194
           <el-col :span="8" v-if="isShow('透析器凝血')">
194
           <el-col :span="8" v-if="isShow('透析器凝血')">
195
-            <el-form-item label="透析器凝血: ">
195
+            <el-form-item label="透析器凝血: " :prop="isName('透析器凝血')" :rules="isCheckmust('透析器凝血')">
196
               <el-input
196
               <el-input
197
                 v-model="form.cruor"
197
                 v-model="form.cruor"
198
                 readonly
198
                 readonly
202
           </el-col>
202
           </el-col>
203
 
203
 
204
           <el-col :span="8" v-if="isShow('管路凝血')">
204
           <el-col :span="8" v-if="isShow('管路凝血')">
205
-            <el-form-item label="管路凝血: ">
205
+            <el-form-item label="管路凝血: " :prop="isName('管路凝血')" :rules="isCheckmust('管路凝血')">
206
               <el-input
206
               <el-input
207
                 v-model="form.pip_coagulation"
207
                 v-model="form.pip_coagulation"
208
                 readonly
208
                 readonly
212
           </el-col>
212
           </el-col>
213
 
213
 
214
           <el-col :span="8" v-if="isShow('患者去向')">
214
           <el-col :span="8" v-if="isShow('患者去向')">
215
-            <el-form-item label="患者去向: ">
215
+            <el-form-item label="患者去向: " :prop="isName('患者去向')" :rules="isCheckmust('患者去向')">
216
               <el-select v-model="form.patient_gose">
216
               <el-select v-model="form.patient_gose">
217
                 <el-option :key="0" label="请选择" :value="0"></el-option>
217
                 <el-option :key="0" label="请选择" :value="0"></el-option>
218
                 <el-option
218
                 <el-option
228
 
228
 
229
         <el-row>
229
         <el-row>
230
           <el-col :span="8" v-if="isShow('拔针后穿刺点渗血')">
230
           <el-col :span="8" v-if="isShow('拔针后穿刺点渗血')">
231
-            <el-form-item label="拔针后穿刺点渗血: ">
231
+            <el-form-item label="拔针后穿刺点渗血: " :prop="isName('拔针后穿刺点渗血')" :rules="isCheckmust('拔针后穿刺点渗血')">
232
               <el-radio-group v-model="form.puncture_point_oozing_blood">
232
               <el-radio-group v-model="form.puncture_point_oozing_blood">
233
                 <el-radio :label="1">有</el-radio>
233
                 <el-radio :label="1">有</el-radio>
234
                 <el-radio :label="2">无</el-radio>
234
                 <el-radio :label="2">无</el-radio>
236
             </el-form-item>
236
             </el-form-item>
237
           </el-col>
237
           </el-col>
238
         </el-row>
238
         </el-row>
239
-        <!--          <el-col :span="8" v-if="isShow('压迫后内瘘震颤')">-->
240
-        <!--            <el-form-item label="压迫后内瘘震颤: ">-->
241
-        <!--              <el-select v-model="form.internal_fistula_tremor_ac">-->
242
-        <!--                <el-option :key="0" label="请选择" :value="0"></el-option>-->
243
-
244
-        <!--                <el-option-->
245
-        <!--                  v-for="item in internalFistulaTremorAcOptions"-->
246
-        <!--                  :label="item.name"-->
247
-        <!--                  :value="item.id"-->
248
-        <!--                  :key="item.id"-->
249
-        <!--                ></el-option>-->
250
-        <!--              </el-select>-->
251
-        <!--            </el-form-item>-->
252
-        <!--          </el-col>-->
253
 
239
 
254
         <el-row :gutter="20" v-if="form.patient_gose == 3 && isShow('科室')">
240
         <el-row :gutter="20" v-if="form.patient_gose == 3 && isShow('科室')">
255
           <el-col :span="24">
241
           <el-col :span="24">
256
-            <el-form-item label="科室: ">
242
+            <el-form-item label="科室: " :prop="isName('科室')" :rules="isCheckmust('科室')">
257
               <el-input
243
               <el-input
258
                 v-model="form.inpatient_department"
244
                 v-model="form.inpatient_department"
259
                 :rows="5"
245
                 :rows="5"
269
           "
255
           "
270
         >
256
         >
271
           <el-col :span="24">
257
           <el-col :span="24">
272
-            <el-form-item label="交待病房护士/患者/陪人观察内容: ">
258
+            <el-form-item label="交待病房护士/患者/陪人观察内容: " :prop="isName('交待病房护士/患者/陪人观察内容')" :rules="isCheckmust('交待病房护士/患者/陪人观察内容')">
273
               <el-input
259
               <el-input
274
                 placeholder="交待病房护士/患者/陪人观察内容"
260
                 placeholder="交待病房护士/患者/陪人观察内容"
275
                 v-model="form.observation_content"
261
                 v-model="form.observation_content"
286
           v-show="form.patient_gose == 3 && isShow('其他观察内容')"
272
           v-show="form.patient_gose == 3 && isShow('其他观察内容')"
287
         >
273
         >
288
           <el-col :span="24">
274
           <el-col :span="24">
289
-            <el-form-item label="其他观察内容: ">
275
+            <el-form-item label="其他观察内容: " :prop="isName('其他观察内容')" :rules="isCheckmust('其他观察内容')">
290
               <el-input
276
               <el-input
291
                 v-model="form.observation_content_other"
277
                 v-model="form.observation_content_other"
292
                 :rows="5"
278
                 :rows="5"
296
         </el-row>
282
         </el-row>
297
 
283
 
298
         <el-col :span="8" v-if="isShow('体温')">
284
         <el-col :span="8" v-if="isShow('体温')">
299
-          <el-form-item label="体温(℃): ">
285
+          <el-form-item label="体温(℃): " :prop="isName('体温')" :rules="isCheckmust('体温')">
300
             <el-input v-model="form.temperature"></el-input>
286
             <el-input v-model="form.temperature"></el-input>
301
           </el-form-item>
287
           </el-form-item>
302
         </el-col>
288
         </el-col>
304
 
290
 
305
         <el-row :gutter="20"> -->
291
         <el-row :gutter="20"> -->
306
         <el-col :span="8" v-if="isShow('收缩压')">
292
         <el-col :span="8" v-if="isShow('收缩压')">
307
-          <el-form-item label="收缩压(mmHg): ">
293
+          <el-form-item label="收缩压(mmHg): " :prop="isName('收缩压')" :rules="isCheckmust('收缩压')">
308
             <el-input v-model="form.systolic_blood_pressure"></el-input>
294
             <el-input v-model="form.systolic_blood_pressure"></el-input>
309
           </el-form-item>
295
           </el-form-item>
310
         </el-col>
296
         </el-col>
311
         <el-col :span="8" v-if="isShow('舒张压')">
297
         <el-col :span="8" v-if="isShow('舒张压')">
312
-          <el-form-item label="舒张压(mmHg): ">
298
+          <el-form-item label="舒张压(mmHg): " :prop="isName('舒张压')" :rules="isCheckmust('舒张压')">
313
             <el-input v-model="form.diastolic_blood_pressure"></el-input>
299
             <el-input v-model="form.diastolic_blood_pressure"></el-input>
314
           </el-form-item>
300
           </el-form-item>
315
         </el-col>
301
         </el-col>
316
 
302
 
317
-
318
          <el-col :span="8" v-if="isShow('卧位收缩压')">
303
          <el-col :span="8" v-if="isShow('卧位收缩压')">
319
-          <el-form-item label="卧位收缩压(mmHg):">
304
+          <el-form-item label="卧位收缩压(mmHg):" :prop="isName('卧位收缩压')" :rules="isCheckmust('卧位收缩压')">
320
               <el-input v-model="form.supine_systolic_blood_pressure"></el-input>
305
               <el-input v-model="form.supine_systolic_blood_pressure"></el-input>
321
           </el-form-item>
306
           </el-form-item>
322
         </el-col>
307
         </el-col>
323
 
308
 
324
        <el-col :span="8" v-if="isShow('卧位舒张压')">
309
        <el-col :span="8" v-if="isShow('卧位舒张压')">
325
-          <el-form-item label="卧位舒张压(mmHg):">
310
+          <el-form-item label="卧位舒张压(mmHg):" :prop="isName('卧位舒张压')" :rules="isCheckmust('卧位舒张压')">
326
               <el-input v-model="form.supine_diastolic_blood_pressure"></el-input>
311
               <el-input v-model="form.supine_diastolic_blood_pressure"></el-input>
327
           </el-form-item>
312
           </el-form-item>
328
         </el-col>
313
         </el-col>
329
 
314
 
330
         <el-col :span="8" v-if="isShow('坐位收缩压')">
315
         <el-col :span="8" v-if="isShow('坐位收缩压')">
331
-          <el-form-item label="坐位收缩压(mmHg):">
316
+          <el-form-item label="坐位收缩压(mmHg):" :prop="isName('坐位收缩压')" :rules="isCheckmust('坐位收缩压')">
332
               <el-input v-model="form.setting_pressure"></el-input>
317
               <el-input v-model="form.setting_pressure"></el-input>
333
           </el-form-item>
318
           </el-form-item>
334
         </el-col>
319
         </el-col>
335
 
320
 
336
          <el-col :span="8" v-if="isShow('坐位舒张压')">
321
          <el-col :span="8" v-if="isShow('坐位舒张压')">
337
-          <el-form-item label="坐位舒张压(mmHg):">
322
+          <el-form-item label="坐位舒张压(mmHg):" :prop="isName('坐位舒张压')" :rules="isCheckmust('坐位舒张压')">
338
               <el-input v-model="form.diastolic_pressure"></el-input>
323
               <el-input v-model="form.diastolic_pressure"></el-input>
339
           </el-form-item>
324
           </el-form-item>
340
         </el-col>
325
         </el-col>
341
 
326
 
342
         <el-col :span="8" v-if="isShow('呼吸频率')">
327
         <el-col :span="8" v-if="isShow('呼吸频率')">
343
-          <el-form-item label="呼吸频率(次/min): ">
328
+          <el-form-item label="呼吸频率(次/min): " :prop="isName('呼吸频率')" :rules="isCheckmust('呼吸频率')">
344
             <el-input v-model="form.breathing_rate"></el-input>
329
             <el-input v-model="form.breathing_rate"></el-input>
345
           </el-form-item>
330
           </el-form-item>
346
         </el-col>
331
         </el-col>
347
 
332
 
348
         <el-col :span="8" v-if="isShow('脉搏')">
333
         <el-col :span="8" v-if="isShow('脉搏')">
349
-          <el-form-item label="脉搏(次/分): ">
334
+          <el-form-item label="脉搏(次/分): " :prop="isName('脉搏')" :rules="isCheckmust('脉搏')">
350
             <el-input v-model="form.pulse_frequency"></el-input>
335
             <el-input v-model="form.pulse_frequency"></el-input>
351
           </el-form-item>
336
           </el-form-item>
352
         </el-col>
337
         </el-col>
353
 
338
 
354
         <el-col :span="8" v-if="isShow('透后症状')">
339
         <el-col :span="8" v-if="isShow('透后症状')">
355
-          <el-form-item label="透后症状: ">
340
+          <el-form-item label="透后症状: " :prop="isName('透后症状')" :rules="isCheckmust('透后症状')">
356
             <el-input
341
             <el-input
357
               v-model="form.symptom_after_dialysis"
342
               v-model="form.symptom_after_dialysis"
358
               readonly
343
               readonly
362
         </el-col>
347
         </el-col>
363
 
348
 
364
         <el-col :span="8" v-if="isShow('透析中入量')">
349
         <el-col :span="8" v-if="isShow('透析中入量')">
365
-          <el-form-item label="透析中入量(L): ">
350
+          <el-form-item label="透析中入量(L): " :prop="isName('透析中入量')" :rules="isCheckmust('透析中入量')">
366
             <el-input v-model="form.dialysis_intakes"></el-input>
351
             <el-input v-model="form.dialysis_intakes"></el-input>
367
           </el-form-item>
352
           </el-form-item>
368
         </el-col>
353
         </el-col>
369
 
354
 
370
         <el-col :span="8" v-if="isShow('透析中入量单位')">
355
         <el-col :span="8" v-if="isShow('透析中入量单位')">
371
-          <el-form-item label="透析中入量单位: ">
356
+          <el-form-item label="透析中入量单位: " :prop="isName('透析中入量单位')" :rules="isCheckmust('透析中入量单位')">
372
             <el-select v-model="form.dialysis_intakes_unit">
357
             <el-select v-model="form.dialysis_intakes_unit">
373
               <el-option :key="0" label="请选择" :value="0"></el-option>
358
               <el-option :key="0" label="请选择" :value="0"></el-option>
374
               <el-option
359
               <el-option
382
         </el-col>
367
         </el-col>
383
 
368
 
384
         <el-col :span="8" v-if="isShow('回血')">
369
         <el-col :span="8" v-if="isShow('回血')">
385
-          <el-form-item label="回血(ml): ">
370
+          <el-form-item label="回血(ml): " :prop="isName('回血')" :rules="isCheckmust('回血')">
386
             <el-input v-model="form.return_blood"></el-input>
371
             <el-input v-model="form.return_blood"></el-input>
387
           </el-form-item>
372
           </el-form-item>
388
         </el-col>
373
         </el-col>
389
 
374
 
390
         <el-col :span="8" v-if="isShow('补液量')">
375
         <el-col :span="8" v-if="isShow('补液量')">
391
-          <el-form-item label="补液量(ml): ">
376
+          <el-form-item label="补液量(ml): " :prop="isName('补液量')" :rules="isCheckmust('补液量')">
392
             <el-input v-model="form.rehydration_volume"></el-input>
377
             <el-input v-model="form.rehydration_volume"></el-input>
393
           </el-form-item>
378
           </el-form-item>
394
         </el-col>
379
         </el-col>
395
 
380
 
396
         <el-col :span="8" v-if="isShow('透析中进食')">
381
         <el-col :span="8" v-if="isShow('透析中进食')">
397
-          <el-form-item label="透析中进食(ml): " v-if="template_id != 36">
382
+          <el-form-item label="透析中进食(ml): " v-if="template_id != 36" :prop="isName('透析中进食')" :rules="isCheckmust('透析中进食')">
398
             <el-input v-model="form.dialysis_during"></el-input>
383
             <el-input v-model="form.dialysis_during"></el-input>
399
           </el-form-item>
384
           </el-form-item>
400
-          <el-form-item label="透析中进食(g): " v-if="template_id == 36">
385
+          <el-form-item label="透析中进食(g): " v-if="template_id == 36" :prop="isName('透析中进食')" :rules="isCheckmust('透析中进食')" >
401
             <el-input v-model="form.dialysis_during"></el-input>
386
             <el-input v-model="form.dialysis_during"></el-input>
402
           </el-form-item>
387
           </el-form-item>
403
         </el-col>
388
         </el-col>
404
 
389
 
405
         <el-col :span="8" v-if="isShow('出量')">
390
         <el-col :span="8" v-if="isShow('出量')">
406
-          <el-form-item label="出量(ml): ">
391
+          <el-form-item label="出量(ml): " :prop="isName('出量')" :rules="isCheckmust('出量')">
407
             <el-input v-model="form.stroke_volume"></el-input>
392
             <el-input v-model="form.stroke_volume"></el-input>
408
           </el-form-item>
393
           </el-form-item>
409
         </el-col>
394
         </el-col>
410
 
395
 
411
         <el-col :span="8" v-if="isShow('血流量')">
396
         <el-col :span="8" v-if="isShow('血流量')">
412
-          <el-form-item label="血流量: ">
397
+          <el-form-item label="血流量: " :prop="isName('血流量')" :rules="isCheckmust('血流量')">
413
             <el-select v-model="form.blood_flow">
398
             <el-select v-model="form.blood_flow">
414
               <el-option :key="0" label="请选择" :value="0"></el-option>
399
               <el-option :key="0" label="请选择" :value="0"></el-option>
415
               <el-option v-for="item in this.bloodFlowOptions" :label="item.name" :value="item.id" :key="item.id"></el-option>
400
               <el-option v-for="item in this.bloodFlowOptions" :label="item.name" :value="item.id" :key="item.id"></el-option>
418
         </el-col>
403
         </el-col>
419
 
404
 
420
         <el-col :span="8" v-if="isShow('封管液配置')">
405
         <el-col :span="8" v-if="isShow('封管液配置')">
421
-          <el-form-item label="封管液配置:">
406
+          <el-form-item label="封管液配置:" :prop="isName('封管液配置')" :rules="isCheckmust('封管液配置')">
422
             <!-- <el-select v-model="form.sealing_fluid_dispose">
407
             <!-- <el-select v-model="form.sealing_fluid_dispose">
423
               <el-option :key="0" label="请选择" :value="0"></el-option>
408
               <el-option :key="0" label="请选择" :value="0"></el-option>
424
               <el-option v-for="item in this.sealingFluidDisposeOptions" :label="item.name" :value="item.id" :key="item.id"></el-option>
409
               <el-option v-for="item in this.sealingFluidDisposeOptions" :label="item.name" :value="item.id" :key="item.id"></el-option>
432
         </el-col>
417
         </el-col>
433
 
418
 
434
         <el-col :span="8" v-if="sealing_fluid_special_name == '特殊'&&isShow('封管液特殊')">
419
         <el-col :span="8" v-if="sealing_fluid_special_name == '特殊'&&isShow('封管液特殊')">
435
-          <el-form-item label="封管液配置(特殊): ">
420
+          <el-form-item label="封管液配置(特殊): " :prop="isName('封管液配置(特殊)')" :rules="isCheckmust('封管液配置(特殊)')">
436
             <el-input v-model="form.sealing_fluid_special"></el-input>
421
             <el-input v-model="form.sealing_fluid_special"></el-input>
437
           </el-form-item>
422
           </el-form-item>
438
         </el-col>
423
         </el-col>
442
         <el-row :gutter="20"> -->
427
         <el-row :gutter="20"> -->
443
 
428
 
444
         <el-col :span="8" v-if="isShow('实际置换量')">
429
         <el-col :span="8" v-if="isShow('实际置换量')">
445
-          <el-form-item v-if="this.template_id == 20 || this.template_id == 21" label="实际置换量(ml): ">
430
+          <el-form-item v-if="this.template_id == 20 || this.template_id == 21" label="实际置换量(ml): " :prop="isName('实际置换量')" :rules="isCheckmust('实际置换量')">
446
             <el-input v-model="form.actual_displacement"></el-input>
431
             <el-input v-model="form.actual_displacement"></el-input>
447
           </el-form-item>
432
           </el-form-item>
448
-          <el-form-item v-else label="实际置换量(L): ">
433
+          <el-form-item v-else label="实际置换量(L): " :prop="isName('实际置换量')" :rules="isCheckmust('实际置换量')">
449
             <el-input v-model="form.actual_displacement"></el-input>
434
             <el-input v-model="form.actual_displacement"></el-input>
450
           </el-form-item>
435
           </el-form-item>
451
         </el-col>
436
         </el-col>
452
 
437
 
453
 
438
 
454
         <el-col :span="8" v-if="isShow('失衡综合症')">
439
         <el-col :span="8" v-if="isShow('失衡综合症')">
455
-          <el-form-item label="失衡综合症: ">
440
+          <el-form-item label="失衡综合症: " :prop="isName('失衡综合症')" :rules="isCheckmust('失衡综合症')">
456
             <el-select v-model="form.disequilibrium_syndrome">
441
             <el-select v-model="form.disequilibrium_syndrome">
457
               <el-option :key="0" label="请选择" :value="0"></el-option>
442
               <el-option :key="0" label="请选择" :value="0"></el-option>
458
 
443
 
467
         </el-col>
452
         </el-col>
468
 
453
 
469
         <el-col :span="8" v-if="isShow('透析期间进食')">
454
         <el-col :span="8" v-if="isShow('透析期间进食')">
470
-          <el-form-item label="透析期间进食: ">
455
+          <el-form-item label="透析期间进食: " :prop="isName('透析期间进食')" :rules="isCheckmust('透析期间进食')">
471
             <el-radio-group v-model="form.is_eat">
456
             <el-radio-group v-model="form.is_eat">
472
               <el-radio :label="1">有</el-radio>
457
               <el-radio :label="1">有</el-radio>
473
               <el-radio :label="2">无</el-radio>
458
               <el-radio :label="2">无</el-radio>
476
         </el-col>
461
         </el-col>
477
 
462
 
478
         <el-col :span="8" v-if="isShow('中心静脉封管(肝素-A端)')">
463
         <el-col :span="8" v-if="isShow('中心静脉封管(肝素-A端)')">
479
-          <el-form-item label="中心静脉封管(肝素-A端): ">
464
+          <el-form-item label="中心静脉封管(肝素-A端): " :prop="isName('中心静脉封管(肝素-A端)')" :rules="isCheckmust('中心静脉封管(肝素-A端)')">
480
             <el-input v-model="form.cvc_a"></el-input>
465
             <el-input v-model="form.cvc_a"></el-input>
481
           </el-form-item>
466
           </el-form-item>
482
         </el-col>
467
         </el-col>
483
 
468
 
484
         <el-col :span="8" v-if="isShow('中心静脉封管(肝素-V端)')">
469
         <el-col :span="8" v-if="isShow('中心静脉封管(肝素-V端)')">
485
-          <el-form-item label="中心静脉封管(肝素-V端): ">
470
+          <el-form-item label="中心静脉封管(肝素-V端): " :prop="isName('中心静脉封管(肝素-V端)')" :rules="isCheckmust('中心静脉封管(肝素-V端)')">
486
             <el-input v-model="form.cvc_v"></el-input>
471
             <el-input v-model="form.cvc_v"></el-input>
487
           </el-form-item>
472
           </el-form-item>
488
         </el-col>
473
         </el-col>
489
 
474
 
490
         <el-col :span="8" v-if="isShow('管路')">
475
         <el-col :span="8" v-if="isShow('管路')">
491
-          <el-form-item label="管路: ">
476
+          <el-form-item label="管路: " :prop="isName('管路')" :rules="isCheckmust('管路')">
492
             <el-select v-model="form.channel">
477
             <el-select v-model="form.channel">
493
               <el-option :key="0" label="请选择" :value="0"></el-option>
478
               <el-option :key="0" label="请选择" :value="0"></el-option>
494
               <el-option
479
               <el-option
502
         </el-col>
487
         </el-col>
503
 
488
 
504
         <el-col :span="8" v-if="isShow('实际抗凝剂用量')">
489
         <el-col :span="8" v-if="isShow('实际抗凝剂用量')">
505
-          <el-form-item label="实际抗凝剂用量: ">
490
+          <el-form-item label="实际抗凝剂用量: " :prop="isName('实际抗凝剂用量')" :rules="isCheckmust('实际抗凝剂用量')">
506
               <el-input v-model="form.dosage_of_anticoagulants"></el-input>
491
               <el-input v-model="form.dosage_of_anticoagulants"></el-input>
507
           </el-form-item>
492
           </el-form-item>
508
         </el-col>
493
         </el-col>
509
 
494
 
510
 
495
 
511
         <el-col :span="8" v-if="isShow('并发症其他')">
496
         <el-col :span="8" v-if="isShow('并发症其他')">
512
-          <el-form-item label="并发症其他: ">
497
+          <el-form-item label="并发症其他: " :prop="isName('并发症其他')" :rules="isCheckmust('并发症其他')">
513
             <el-input v-model="form.other_complication"></el-input>
498
             <el-input v-model="form.other_complication"></el-input>
514
           </el-form-item>
499
           </el-form-item>
515
         </el-col>
500
         </el-col>
516
 
501
 
517
         <el-col :span="8" v-if="isShow('URR')">
502
         <el-col :span="8" v-if="isShow('URR')">
518
-            <el-form-item label="URR:">
503
+            <el-form-item label="URR:" :prop="isName('URR')" :rules="isCheckmust('URR')">
519
                <el-input v-model="form.urr"></el-input>
504
                <el-input v-model="form.urr"></el-input>
520
             </el-form-item>
505
             </el-form-item>
521
         </el-col>
506
         </el-col>
522
         <el-col :span="8" v-if="isShow('透析相关高血压')">
507
         <el-col :span="8" v-if="isShow('透析相关高血压')">
523
-            <el-form-item label="透析相关高血压:">
508
+            <el-form-item label="透析相关高血压:" :prop="isName('透析相关高血压')" :rules="isCheckmust('透析相关高血压')">
524
 
509
 
525
              <el-select v-model="form.hypertenison">
510
              <el-select v-model="form.hypertenison">
526
               <el-option :key="0" label="请选择" :value="0"></el-option>
511
               <el-option :key="0" label="请选择" :value="0"></el-option>
533
             </el-select>
518
             </el-select>
534
             </el-form-item>
519
             </el-form-item>
535
         </el-col>
520
         </el-col>
521
+
536
          <el-col :span="8" v-if="isShow('透析相关低血压')">
522
          <el-col :span="8" v-if="isShow('透析相关低血压')">
537
-            <el-form-item label="透析相关低血压">
523
+            <el-form-item label="透析相关低血压" :prop="isName('透析相关低血压')" :rules="isCheckmust('透析相关低血压')">
538
              <el-select v-model="form.hypopiesia">
524
              <el-select v-model="form.hypopiesia">
539
               <el-option
525
               <el-option
540
                 v-for="item in optionOne"
526
                 v-for="item in optionOne"
546
             </el-form-item>
532
             </el-form-item>
547
         </el-col>
533
         </el-col>
548
         <el-col :span="8" v-if="isShow('离科方式')">
534
         <el-col :span="8" v-if="isShow('离科方式')">
549
-            <el-form-item label="离科方式">
535
+            <el-form-item label="离科方式" :prop="isName('离科方式')" :rules="isCheckmust('离科方式')">
550
                <el-select v-model="form.leave_office_method">
536
                <el-select v-model="form.leave_office_method">
551
                 <el-option
537
                 <el-option
552
                   v-for="item in leaveOfficeMethod"
538
                   v-for="item in leaveOfficeMethod"
558
             </el-form-item>
544
             </el-form-item>
559
         </el-col>
545
         </el-col>
560
          <el-col :span="8" v-if="isShow('转归')">
546
          <el-col :span="8" v-if="isShow('转归')">
561
-            <el-form-item label="转归">
547
+            <el-form-item label="转归" :prop="isName('转归')" :rules="isCheckmust('转归')">
562
              <el-select v-model="form.lapse">
548
              <el-select v-model="form.lapse">
563
               <el-option
549
               <el-option
564
                 v-for="item in lapseList"
550
                 v-for="item in lapseList"
570
             </el-form-item>
556
             </el-form-item>
571
         </el-col>
557
         </el-col>
572
         <el-col :span="8" v-if="isShow('意识')">
558
         <el-col :span="8" v-if="isShow('意识')">
573
-            <el-form-item label="意识">
559
+            <el-form-item label="意识" :prop="isName('意识')" :rules="isCheckmust('意识')">
574
              <el-select v-model="form.consciousness">
560
              <el-select v-model="form.consciousness">
575
               <el-option
561
               <el-option
576
                 v-for="item in consciousnessList"
562
                 v-for="item in consciousnessList"
582
             </el-form-item>
568
             </el-form-item>
583
         </el-col>
569
         </el-col>
584
         <el-col :span="8" v-if="isShow('跌倒风险')">
570
         <el-col :span="8" v-if="isShow('跌倒风险')">
585
-            <el-form-item label="跌倒风险">
571
+            <el-form-item label="跌倒风险" :prop="isName('跌倒风险')" :rules="isCheckmust('跌倒风险')">
586
              <el-select v-model="form.fallrisk">
572
              <el-select v-model="form.fallrisk">
587
               <el-option
573
               <el-option
588
                 v-for="item in fallriskList"
574
                 v-for="item in fallriskList"
595
         </el-col>
581
         </el-col>
596
 
582
 
597
       <el-col :span="8" v-if="isShow('机器运行')">
583
       <el-col :span="8" v-if="isShow('机器运行')">
598
-            <el-form-item label="机器运行: ">
584
+            <el-form-item label="机器运行: " :prop="isName('机器运行')" :rules="isCheckmust('机器运行')">
599
               <el-select v-model="form.machine_run">
585
               <el-select v-model="form.machine_run">
600
                 <el-option :key="0" label="请选择" :value="0"></el-option>
586
                 <el-option :key="0" label="请选择" :value="0"></el-option>
601
 
587
 
610
        </el-col>
596
        </el-col>
611
 
597
 
612
        <el-col :span="8" v-if="isShow('透后尿素')">
598
        <el-col :span="8" v-if="isShow('透后尿素')">
613
-            <el-form-item label="透后尿素(mmol/L):" label-width="150px">
599
+            <el-form-item label="透后尿素(mmol/L):" label-width="150px" :prop="isName('透后尿素')" :rules="isCheckmust('透后尿素')">
614
               <el-input v-model="form.after_urea"></el-input>
600
               <el-input v-model="form.after_urea"></el-input>
615
             </el-form-item>
601
             </el-form-item>
616
        </el-col>
602
        </el-col>
617
        <el-col :span="8" v-if="isShow('累计血容量')">
603
        <el-col :span="8" v-if="isShow('累计血容量')">
618
-            <el-form-item label="累计血容量(L):"  label-width="150px">
604
+            <el-form-item label="累计血容量(L):"  label-width="150px" :prop="isName('累计血容量')" :rules="isCheckmust('累计血容量')">
619
               <el-input v-model="form.accumulated_blood_volume"></el-input>
605
               <el-input v-model="form.accumulated_blood_volume"></el-input>
620
             </el-form-item>
606
             </el-form-item>
621
         </el-col>
607
         </el-col>
622
         <el-col :span="24" v-if="isShow('KT/V')">
608
         <el-col :span="24" v-if="isShow('KT/V')">
623
-            <el-form-item label="KT/V:">
609
+            <el-form-item label="KT/V:" :prop="isName('KT/V')" :rules="isCheckmust('KT/V')">
624
               <el-input type="textarea" :rows="4" v-model="form.ktv"></el-input>
610
               <el-input type="textarea" :rows="4" v-model="form.ktv"></el-input>
625
             </el-form-item>
611
             </el-form-item>
626
         </el-col>
612
         </el-col>
627
 
613
 
628
-
629
       </el-form>
614
       </el-form>
630
 
615
 
631
 
616
 
633
         <el-button @click="hide">取 消</el-button>
618
         <el-button @click="hide">取 消</el-button>
634
         <el-button
619
         <el-button
635
           type="primary"
620
           type="primary"
636
-          @click="submitForm"
621
+          @click="submitForm('form')"
637
           :loading="loading"
622
           :loading="loading"
638
           v-if="hasPermission"
623
           v-if="hasPermission"
639
-          >保 存</el-button
640
-        >
624
+          >保 存</el-button>
625
+          <!--  -->
641
       </span>
626
       </span>
642
     </el-dialog>
627
     </el-dialog>
643
 
628
 
935
     }
920
     }
936
   },
921
   },
937
   methods: {
922
   methods: {
938
-    submitForm() {
939
-      this.loading = true
940
-      const ParamsQuery = {}
941
-
942
-      if (!(this.patient.id > 0)) {
943
-        this.$message.error('没有选择患者')
944
-        this.loading = false
945
-        return false
946
-      }
947
-      if (this.record_date.length != 10) {
948
-        this.$message.error('无效的日期')
949
-        this.loading = false
950
-        return false
923
+    isName(name) {
924
+      let filedList = store.getters.xt_user.fileds;
925
+      for (let i = 0; i < filedList.length; i++) {
926
+        if (filedList[i].module == 5 && filedList[i].filed_name_cn == name) {
927
+          return filedList[i].filed_name;
928
+        }
951
       }
929
       }
930
+    },
931
+    isCheckmust(name) {
932
+      let filedList = store.getters.xt_user.fileds;
952
 
933
 
953
-      ParamsQuery['patient'] = this.patient.id
954
-      ParamsQuery['record_date'] = this.record_date
955
-      ParamsQuery['mode'] = '1'
956
-      if (this.assessment_after_dislysis.creater > 0) {
957
-        ParamsQuery['mode'] = '2'
934
+      for (let i = 0; i < filedList.length; i++) {
958
         if (
935
         if (
959
-          this.assessment_after_dislysis.creater !=
960
-          this.$store.getters.xt_user.user.id
936
+          filedList[i].module == 5 &&
937
+          filedList[i].filed_name_cn == name &&
938
+          filedList[i].is_write == 1&&
939
+          filedList[i].is_show == 1
961
         ) {
940
         ) {
962
-          ParamsQuery['mode'] = '3'
941
+          console.log(filedList[i],'false')
942
+          // if(name == "实际治疗时长"){
943
+          //   return [
944
+          //     { required: true, message: `请选择${name}`,trigger: ['blur','change'] },
945
+          //     {
946
+          //       required: true,
947
+          //       pattern: /^[1-9]\d*$/,
948
+          //       message: `请选择${name}`,
949
+          //       trigger: ['change']
950
+          //     },
951
+          //   ];
952
+          // }
953
+        
954
+          return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
955
+          
963
         }
956
         }
964
       }
957
       }
958
+    },
959
+    isShow(name) {
960
+      var filedList = store.getters.xt_user.fileds
965
 
961
 
966
-      const data = {}
967
-      data['weight_after'] = this.form.weight_after ? parseFloat(this.form.weight_after) : 0
968
-      data['weight_loss'] = this.form.weight_loss ? parseFloat(this.form.weight_loss) : 0
969
-      data['temperature'] = this.form.temperature ? parseFloat(this.form.temperature) : 0
970
-      data['breathing_rate'] = this.form.breathing_rate
971
-      data['systolic_blood_pressure'] = this.form.systolic_blood_pressure ? parseFloat(this.form.systolic_blood_pressure) : 0
972
-      data['diastolic_blood_pressure'] = this.form.diastolic_blood_pressure ? parseFloat(this.form.diastolic_blood_pressure) : 0
973
-      data['pulse_frequency'] = this.form.pulse_frequency ? parseFloat(this.form.pulse_frequency) : 0
974
-      data['actual_ultrafiltration'] = this.form.actual_ultrafiltration ? parseFloat(this.form.actual_ultrafiltration) : 0
975
-      data['actual_displacement'] = this.form.actual_displacement ? parseFloat(this.form.actual_displacement) : 0
976
-      data['actual_treatment_hour'] = this.form.actual_treatment_hour ? parseFloat(this.form.actual_treatment_hour) : 0
977
-      data['actual_treatment_minute'] = this.form.actual_treatment_minute ? parseFloat(this.form.actual_treatment_minute) : 0
978
-      data['cruor'] = this.form.cruor
979
-      data['pip_coagulation'] = this.form.pip_coagulation
980
-      data['symptom_after_dialysis'] = this.form.symptom_after_dialysis
981
-      data['dialysis_intakes'] = this.form.dialysis_intakes ? parseFloat(this.form.dialysis_intakes) : 0
982
-      data['internal_fistula'] = this.form.internal_fistula
983
-      data['blood_access_part_id'] = this.form.blood_access_part_id ? parseFloat(this.form.blood_access_part_id) : 0
984
-      data['blood_access_part_opera_id'] = this.form.blood_access_part_opera_id ? parseFloat(this.form.blood_access_part_opera_id) : 0
985
-      data['catheter'] = this.form.catheter
986
-      data['complication'] = this.form.complication
987
-      data['puncture_point_oozing_blood'] = this.form.puncture_point_oozing_blood ? parseFloat(this.form.puncture_point_oozing_blood) : 0
988
-      data['puncture_point_haematoma'] = this.form.puncture_point_haematoma ? parseFloat(this.form.puncture_point_haematoma) : 0
989
-      data['internal_fistula_tremor_ac'] = this.form.internal_fistula_tremor_ac ? parseFloat(this.form.internal_fistula_tremor_ac) : 0
990
-      data['patient_gose'] = this.form.patient_gose ? parseFloat(this.form.patient_gose) : 0
991
-      data['inpatient_department'] = this.form.inpatient_department
992
-      data['observation_content'] = this.form.observation_content
993
-      data['observation_content_other'] = this.form.observation_content_other
994
-      data['remark'] = this.form.remark
995
-      data['dialysis_order_id'] = this.form.dialysis_order_id ? parseFloat(this.form.dialysis_order_id) : 0
996
-      data['dialysis_process'] = this.form.dialysis_process ? parseFloat(this.form.dialysis_process) : 0
997
-      data['in_advance_minute'] = this.form.in_advance_minute ? parseFloat(this.form.in_advance_minute) : 0
998
-      data['in_advance_reason_other'] = this.form.in_advance_reason_other
999
-      data['in_advance_reason'] = this.form.in_advance_reason
1000
-      data['hemostasis_minute'] = this.form.hemostasis_minute ? parseFloat(this.form.hemostasis_minute) : 0
1001
-      data['hemostasis_opera'] = this.form.hemostasis_opera ? parseFloat(this.form.hemostasis_opera) : 0
1002
-      data['tremor_noise'] = this.form.tremor_noise ? parseFloat(this.form.tremor_noise) : 0
1003
-      data['disequilibrium_syndrome'] = this.form.disequilibrium_syndrome ? parseFloat(this.form.disequilibrium_syndrome) : 0
1004
-      data['disequilibrium_syndrome_option'] = this.form.disequilibrium_syndrome_option
1005
-      data['arterial_tube'] = this.form.arterial_tube ? parseFloat(this.form.arterial_tube) : 0
1006
-      data['intravenous_tube'] = this.form.intravenous_tube ? parseFloat(this.form.intravenous_tube) : 0
1007
-      data['dialysis_intakes_unit'] = this.form.dialysis_intakes_unit
1008
-      data['dialyzer'] = this.form.dialyzer ? parseFloat(this.form.dialyzer) : 0
1009
-      data['is_eat'] = this.form.is_eat ? parseFloat(this.form.is_eat) : 0
1010
-      data['cvc_a'] = this.form.cvc_a ? parseFloat(this.form.cvc_a) : 0
1011
-      data['cvc_v'] = this.form.cvc_v ? parseFloat(this.form.cvc_v) : 0
1012
-      data['return_blood'] = this.form.return_blood ? parseFloat(this.form.return_blood) : 0
1013
-      data['rehydration_volume'] = this.form.rehydration_volume ? parseFloat(this.form.rehydration_volume) : 0
1014
-      data['dialysis_during'] = this.form.dialysis_during ? parseFloat(this.form.dialysis_during) : 0
1015
-      data['stroke_volume'] = this.form.stroke_volume ? parseFloat(this.form.stroke_volume) : 0
1016
-      data['blood_flow'] = this.form.blood_flow ? parseFloat(this.form.blood_flow) : 0
1017
-      // data['sealing_fluid_dispose'] = this.form.sealing_fluid_dispose ? parseFloat(this.form.sealing_fluid_dispose) : 0
1018
-      data['sealing_fluid_dispose'] = this.form.sealing_fluid_dispose
1019
-      data['sealing_fluid_special'] = this.form.sealing_fluid_special
1020
-      data['dosage_of_anticoagulants'] = this.form.dosage_of_anticoagulants ? parseFloat(this.form.dosage_of_anticoagulants) : 0
1021
-      data['supine_systolic_blood_pressure'] = this.form.supine_systolic_blood_pressure
1022
-      data['setting_pressure'] = this.form.setting_pressure
1023
-      data["supine_diastolic_blood_pressure"] = this.form.supine_diastolic_blood_pressure
1024
-      data["diastolic_pressure"] = this.form.diastolic_pressure
1025
-      data["additional_weight"] = this.form.additional_weight ? parseFloat(this.form.additional_weight) : 0
1026
-      data["other_complication"] = this.form.other_complication
1027
-      data["ktv"] = this.form.ktv
1028
-      data["urr"] = this.form.urr
1029
-      data["hypertenison"] = parseInt(this.form.hypertenison)
1030
-      data["hypopiesia"] = parseInt(this.form.hypopiesia)
1031
-      data["leave_office_method"] = this.form.leave_office_method
1032
-      data["lapse"] = this.form.lapse
1033
-      data["consciousness"] = this.form.consciousness
1034
-      data["fallrisk"] = this.form.fallrisk
1035
-      data["machine_run"] = this.form.machine_run
1036
-      data["after_urea"] = this.form.after_urea
1037
-      data["pip_coagulation"] = this.form.pip_coagulation
1038
-      data["accumulated_blood_volume"] = this.form.accumulated_blood_volume
1039
-      console.log("Paramsquery",data)
1040
-
1041
-      postAssessmentAfterDislysis(ParamsQuery, data)
1042
-        .then(response => {
1043
-          this.loading = false
1044
-          if (response.data.state == 0) {
1045
-            this.$message.error(response.data.msg)
1046
-            return false
1047
-          } else {
1048
-            this.$notify({
1049
-              title: '成功',
1050
-              message: '提交成功',
1051
-              type: 'success',
1052
-              duration: 2000
1053
-            })
962
+      for (let i = 0; i < filedList.length; i++) {
963
+        if (
964
+          filedList[i].module == 5 &&
965
+          filedList[i].filed_name_cn == name &&
966
+          filedList[i].is_show == 1
967
+        ) {
968
+          return true
969
+        }
970
+      }
971
+      return false
972
+    },
973
+    submitForm(formName) {
974
+      this.$refs[formName].validate((valid)=>{
975
+        if(valid){
1054
 
976
 
1055
-            var assement = response.data.data.AssessmentAfterDislysis
977
+          this.loading = true
978
+          const ParamsQuery = {}
1056
 
979
 
1057
-            var assessment_after_dislysis = this.assessment_after_dislysis
980
+          if (!(this.patient.id > 0)) {
981
+            this.$message.error('没有选择患者')
982
+            this.loading = false
983
+            return false
984
+          }
985
+          if (this.record_date.length != 10) {
986
+            this.$message.error('无效的日期')
987
+            this.loading = false
988
+            return false
989
+          }
1058
 
990
 
1059
-            for (var index in assement) {
1060
-              // assessment_after_dislysis[index] = assement[index];
1061
-              this.$set(assessment_after_dislysis, index, assement[index])
991
+          ParamsQuery['patient'] = this.patient.id
992
+          ParamsQuery['record_date'] = this.record_date
993
+          ParamsQuery['mode'] = '1'
994
+          if (this.assessment_after_dislysis.creater > 0) {
995
+            ParamsQuery['mode'] = '2'
996
+            if (
997
+              this.assessment_after_dislysis.creater !=
998
+              this.$store.getters.xt_user.user.id
999
+            ) {
1000
+              ParamsQuery['mode'] = '3'
1062
             }
1001
             }
1063
-            this.hide()
1064
           }
1002
           }
1065
-        })
1066
-        .catch(v => {
1067
-          this.loading = false
1068
-        })
1003
+
1004
+          const data = {}
1005
+          data['weight_after'] = this.form.weight_after ? parseFloat(this.form.weight_after) : 0
1006
+          data['weight_loss'] = this.form.weight_loss ? parseFloat(this.form.weight_loss) : 0
1007
+          data['temperature'] = this.form.temperature ? parseFloat(this.form.temperature) : 0
1008
+          data['breathing_rate'] = this.form.breathing_rate
1009
+          data['systolic_blood_pressure'] = this.form.systolic_blood_pressure ? parseFloat(this.form.systolic_blood_pressure) : 0
1010
+          data['diastolic_blood_pressure'] = this.form.diastolic_blood_pressure ? parseFloat(this.form.diastolic_blood_pressure) : 0
1011
+          data['pulse_frequency'] = this.form.pulse_frequency ? parseFloat(this.form.pulse_frequency) : 0
1012
+          data['actual_ultrafiltration'] = this.form.actual_ultrafiltration ? parseFloat(this.form.actual_ultrafiltration) : 0
1013
+          data['actual_displacement'] = this.form.actual_displacement ? parseFloat(this.form.actual_displacement) : 0
1014
+          data['actual_treatment_hour'] = this.form.actual_treatment_hour ? parseFloat(this.form.actual_treatment_hour) : 0
1015
+          data['actual_treatment_minute'] = this.form.actual_treatment_minute ? parseFloat(this.form.actual_treatment_minute) : 0
1016
+          data['cruor'] = this.form.cruor
1017
+          data['pip_coagulation'] = this.form.pip_coagulation
1018
+          data['symptom_after_dialysis'] = this.form.symptom_after_dialysis
1019
+          data['dialysis_intakes'] = this.form.dialysis_intakes ? parseFloat(this.form.dialysis_intakes) : 0
1020
+          data['internal_fistula'] = this.form.internal_fistula
1021
+          data['blood_access_part_id'] = this.form.blood_access_part_id ? parseFloat(this.form.blood_access_part_id) : 0
1022
+          data['blood_access_part_opera_id'] = this.form.blood_access_part_opera_id ? parseFloat(this.form.blood_access_part_opera_id) : 0
1023
+          data['catheter'] = this.form.catheter
1024
+          data['complication'] = this.form.complication
1025
+          data['puncture_point_oozing_blood'] = this.form.puncture_point_oozing_blood ? parseFloat(this.form.puncture_point_oozing_blood) : 0
1026
+          data['puncture_point_haematoma'] = this.form.puncture_point_haematoma ? parseFloat(this.form.puncture_point_haematoma) : 0
1027
+          data['internal_fistula_tremor_ac'] = this.form.internal_fistula_tremor_ac ? parseFloat(this.form.internal_fistula_tremor_ac) : 0
1028
+          data['patient_gose'] = this.form.patient_gose ? parseFloat(this.form.patient_gose) : 0
1029
+          data['inpatient_department'] = this.form.inpatient_department
1030
+          data['observation_content'] = this.form.observation_content
1031
+          data['observation_content_other'] = this.form.observation_content_other
1032
+          data['remark'] = this.form.remark
1033
+          data['dialysis_order_id'] = this.form.dialysis_order_id ? parseFloat(this.form.dialysis_order_id) : 0
1034
+          data['dialysis_process'] = this.form.dialysis_process ? parseFloat(this.form.dialysis_process) : 0
1035
+          data['in_advance_minute'] = this.form.in_advance_minute ? parseFloat(this.form.in_advance_minute) : 0
1036
+          data['in_advance_reason_other'] = this.form.in_advance_reason_other
1037
+          data['in_advance_reason'] = this.form.in_advance_reason
1038
+          data['hemostasis_minute'] = this.form.hemostasis_minute ? parseFloat(this.form.hemostasis_minute) : 0
1039
+          data['hemostasis_opera'] = this.form.hemostasis_opera ? parseFloat(this.form.hemostasis_opera) : 0
1040
+          data['tremor_noise'] = this.form.tremor_noise ? parseFloat(this.form.tremor_noise) : 0
1041
+          data['disequilibrium_syndrome'] = this.form.disequilibrium_syndrome ? parseFloat(this.form.disequilibrium_syndrome) : 0
1042
+          data['disequilibrium_syndrome_option'] = this.form.disequilibrium_syndrome_option
1043
+          data['arterial_tube'] = this.form.arterial_tube ? parseFloat(this.form.arterial_tube) : 0
1044
+          data['intravenous_tube'] = this.form.intravenous_tube ? parseFloat(this.form.intravenous_tube) : 0
1045
+          data['dialysis_intakes_unit'] = this.form.dialysis_intakes_unit
1046
+          data['dialyzer'] = this.form.dialyzer ? parseFloat(this.form.dialyzer) : 0
1047
+          data['is_eat'] = this.form.is_eat ? parseFloat(this.form.is_eat) : 0
1048
+          data['cvc_a'] = this.form.cvc_a ? parseFloat(this.form.cvc_a) : 0
1049
+          data['cvc_v'] = this.form.cvc_v ? parseFloat(this.form.cvc_v) : 0
1050
+          data['return_blood'] = this.form.return_blood ? parseFloat(this.form.return_blood) : 0
1051
+          data['rehydration_volume'] = this.form.rehydration_volume ? parseFloat(this.form.rehydration_volume) : 0
1052
+          data['dialysis_during'] = this.form.dialysis_during ? parseFloat(this.form.dialysis_during) : 0
1053
+          data['stroke_volume'] = this.form.stroke_volume ? parseFloat(this.form.stroke_volume) : 0
1054
+          data['blood_flow'] = this.form.blood_flow ? parseFloat(this.form.blood_flow) : 0
1055
+          // data['sealing_fluid_dispose'] = this.form.sealing_fluid_dispose ? parseFloat(this.form.sealing_fluid_dispose) : 0
1056
+          data['sealing_fluid_dispose'] = this.form.sealing_fluid_dispose
1057
+          data['sealing_fluid_special'] = this.form.sealing_fluid_special
1058
+          data['dosage_of_anticoagulants'] = this.form.dosage_of_anticoagulants ? parseFloat(this.form.dosage_of_anticoagulants) : 0
1059
+          data['supine_systolic_blood_pressure'] = this.form.supine_systolic_blood_pressure
1060
+          data['setting_pressure'] = this.form.setting_pressure
1061
+          data["supine_diastolic_blood_pressure"] = this.form.supine_diastolic_blood_pressure
1062
+          data["diastolic_pressure"] = this.form.diastolic_pressure
1063
+          data["additional_weight"] = this.form.additional_weight ? parseFloat(this.form.additional_weight) : 0
1064
+          data["other_complication"] = this.form.other_complication
1065
+          data["ktv"] = this.form.ktv
1066
+          data["urr"] = this.form.urr
1067
+          data["hypertenison"] = parseInt(this.form.hypertenison)
1068
+          data["hypopiesia"] = parseInt(this.form.hypopiesia)
1069
+          data["leave_office_method"] = this.form.leave_office_method
1070
+          data["lapse"] = this.form.lapse
1071
+          data["consciousness"] = this.form.consciousness
1072
+          data["fallrisk"] = this.form.fallrisk
1073
+          data["machine_run"] = this.form.machine_run
1074
+          data["after_urea"] = this.form.after_urea
1075
+          data["pip_coagulation"] = this.form.pip_coagulation
1076
+          data["accumulated_blood_volume"] = this.form.accumulated_blood_volume
1077
+          console.log("Paramsquery",data)
1078
+
1079
+          postAssessmentAfterDislysis(ParamsQuery, data)
1080
+            .then(response => {
1081
+              this.loading = false
1082
+              if (response.data.state == 0) {
1083
+                this.$message.error(response.data.msg)
1084
+                return false
1085
+              } else {
1086
+                this.$notify({
1087
+                  title: '成功',
1088
+                  message: '提交成功',
1089
+                  type: 'success',
1090
+                  duration: 2000
1091
+                })
1092
+
1093
+                var assement = response.data.data.AssessmentAfterDislysis
1094
+
1095
+                var assessment_after_dislysis = this.assessment_after_dislysis
1096
+
1097
+                for (var index in assement) {
1098
+                  // assessment_after_dislysis[index] = assement[index];
1099
+                  this.$set(assessment_after_dislysis, index, assement[index])
1100
+                }
1101
+                this.hide()
1102
+              }
1103
+            })
1104
+            .catch(v => {
1105
+              this.loading = false
1106
+            })
1107
+        }else {
1108
+          console.log("error submit!!");
1109
+          return false;
1110
+        }
1111
+      })
1069
     },
1112
     },
1070
     showDialog: function(val) {
1113
     showDialog: function(val) {
1071
       this.InnerDialogProps.visibility = true
1114
       this.InnerDialogProps.visibility = true
1268
     hide() {
1311
     hide() {
1269
       this.isVisibility = false
1312
       this.isVisibility = false
1270
     },
1313
     },
1271
-    isShow(name) {
1272
-      var filedList = store.getters.xt_user.fileds
1273
-
1274
-      for (let i = 0; i < filedList.length; i++) {
1275
-        if (
1276
-          filedList[i].module == 5 &&
1277
-          filedList[i].filed_name_cn == name &&
1278
-          filedList[i].is_show == 1
1279
-        ) {
1280
-          return true
1281
-        }
1282
-      }
1283
-      return false
1284
-    },
1314
+    
1285
     setRecords(records) {
1315
     setRecords(records) {
1286
       for (var index in records) {
1316
       for (var index in records) {
1287
         this.$set(this.assessment_after_dislysis, index, records[index])
1317
         this.$set(this.assessment_after_dislysis, index, records[index])

+ 2 - 2
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue View File

340
     </el-form>
340
     </el-form>
341
     <div slot="footer" class="dialog-footer">
341
     <div slot="footer" class="dialog-footer">
342
       <el-button @click="handleCancle">取 消</el-button>
342
       <el-button @click="handleCancle">取 消</el-button>
343
-      <!--v-if="hasPermission" -->
344
-      <el-button type="primary"  @click="handleComfirm('receiveTreatmentAsses')"
343
+      <!-- -->
344
+      <el-button type="primary" v-if="hasPermission" @click="handleComfirm('receiveTreatmentAsses')"
345
         >保 存</el-button
345
         >保 存</el-button
346
       >
346
       >
347
     </div>
347
     </div>

+ 38 - 36
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue View File

684
       </el-form>
684
       </el-form>
685
       <span slot="footer" class="dialog-footer">
685
       <span slot="footer" class="dialog-footer">
686
                 <el-button @click="handleCancle">取 消</el-button>
686
                 <el-button @click="handleCancle">取 消</el-button>
687
-                 <!-- v-if="hasPermission" -->
688
-                <el-button type="primary" @click="handleComfirm('assessmentBeforeDislysis')">保 存</el-button>
687
+                 <!--  -->
688
+                <el-button type="primary" v-if="hasPermission" @click="handleComfirm('assessmentBeforeDislysis')">保 存</el-button>
689
             </span>
689
             </span>
690
     </el-dialog>
690
     </el-dialog>
691
 
691
 
945
 
945
 
946
     },
946
     },
947
     methods: {
947
     methods: {
948
-    isName(name) {
949
-      let filedList = store.getters.xt_user.fileds;
950
-      for (let i = 0; i < filedList.length; i++) {
951
-        if (filedList[i].module == 3 && filedList[i].filed_name_cn == name) {
952
-          return filedList[i].filed_name;
948
+      isName(name) {
949
+        let filedList = store.getters.xt_user.fileds;
950
+        for (let i = 0; i < filedList.length; i++) {
951
+          if (filedList[i].module == 3 && filedList[i].filed_name_cn == name) {
952
+            return filedList[i].filed_name;
953
+          }
953
         }
954
         }
954
-      }
955
-    },
955
+      },
956
 
956
 
957
-    isCheckmust(name) {
958
-      let filedList = store.getters.xt_user.fileds;
959
-
960
-      for (let i = 0; i < filedList.length; i++) {
961
-        if (
962
-          filedList[i].module == 3 &&
963
-          filedList[i].filed_name_cn == name &&
964
-          filedList[i].is_write == 1&&
965
-          filedList[i].is_show == 1
966
-        ) {
967
-          console.log(filedList[i],'false')
968
-          if (name == "血管通路"||name == "导管打折"||name == '出血'||name == '血栓'||name == '围手术期'||name=='血管杂音'||name=='急诊'||name=='中心静脉导置管') {
969
-          return [
970
-            { required: true, message: `请输入${name}` },
971
-            {
972
-              required: true,
973
-              pattern: /^[1-9]\d*$/,
974
-              message: `请输入${name}`,
975
-            },
976
-          ];
977
-        }
978
-          return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
979
-          
957
+      isCheckmust(name) {
958
+        let filedList = store.getters.xt_user.fileds;
959
+
960
+        for (let i = 0; i < filedList.length; i++) {
961
+          if (
962
+            filedList[i].module == 3 &&
963
+            filedList[i].filed_name_cn == name &&
964
+            filedList[i].is_write == 1&&
965
+            filedList[i].is_show == 1
966
+          ) {
967
+            console.log(filedList[i],'false')
968
+            if (name == "血管通路"||name == "导管打折"||name == '出血'||name == '血栓'||name == '围手术期'||name=='血管杂音'||name=='急诊'||name=='中心静脉导置管') {
969
+            return [
970
+              { required: true, message: `请输入${name}` },
971
+              {
972
+                required: true,
973
+                pattern: /^[1-9]\d*$/,
974
+                message: `请输入${name}`,
975
+              },
976
+            ];
977
+          }
978
+            return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
979
+            
980
+          }
980
         }
981
         }
981
-      }
982
-    },
982
+      },
983
       
983
       
984
       setLastRecord(lastPredialysisEvaluation, lastDryWeightDislysis) {
984
       setLastRecord(lastPredialysisEvaluation, lastDryWeightDislysis) {
985
         this.lastPredialysisEvaluation = lastPredialysisEvaluation
985
         this.lastPredialysisEvaluation = lastPredialysisEvaluation
1466
         
1466
         
1467
         
1467
         
1468
         
1468
         
1469
-      }, handleCancle: function() {
1469
+      },
1470
+       handleCancle: function() {
1470
         this.isVisibility = false
1471
         this.isVisibility = false
1471
-      }, showDryWeightDialog: function() {
1472
+      }, 
1473
+      showDryWeightDialog: function() {
1472
         if (this.$store.getters.xt_user.user.user_type == 3) {
1474
         if (this.$store.getters.xt_user.user.user_type == 3) {
1473
           this.$message.error('您没有权限调整干体重')
1475
           this.$message.error('您没有权限调整干体重')
1474
           return
1476
           return

+ 7 - 5
src/xt_pages/dialysis/details/dialog/computer_dialog.vue View File

20
           label="班次"
20
           label="班次"
21
           v-if="isShowFiled('班次')"
21
           v-if="isShowFiled('班次')"
22
           :prop="isName('班次')"
22
           :prop="isName('班次')"
23
-         
23
+          :rules="isCheckmust('班次')"
24
         >
24
         >
25
           <el-select
25
           <el-select
26
             v-model="form.schedual_type"
26
             v-model="form.schedual_type"
70
           label="穿刺者"
70
           label="穿刺者"
71
           v-if="isShowFiled('穿刺者')"
71
           v-if="isShowFiled('穿刺者')"
72
           prop="puncture_nurse_id"
72
           prop="puncture_nurse_id"
73
-         
73
+          :rules="isCheckmust('穿刺者')"
74
         >
74
         >
75
           <el-select
75
           <el-select
76
             v-model="form.puncture_nurse_id"
76
             v-model="form.puncture_nurse_id"
91
           prop="quality_nurse_id"
91
           prop="quality_nurse_id"
92
           :rules="isCheckmust('质控护士')"
92
           :rules="isCheckmust('质控护士')"
93
         >
93
         >
94
+        <!--  -->
94
           <el-select
95
           <el-select
95
             v-model="form.quality_nurse_id"
96
             v-model="form.quality_nurse_id"
96
             placeholder="请选择质控护士"
97
             placeholder="请选择质控护士"
642
           filedList[i].is_show == 1&&
643
           filedList[i].is_show == 1&&
643
           filedList[i].is_write == 1
644
           filedList[i].is_write == 1
644
         ) {
645
         ) {
645
-          return [{ required: true, message: `请输入${name}` }];
646
-        } 
647
-                if (
646
+          if (
648
           name == "穿刺者" ||
647
           name == "穿刺者" ||
649
           name == "质控护士" ||
648
           name == "质控护士" ||
650
           name == "换药护士" ||
649
           name == "换药护士" ||
656
             { required: true, pattern: /^[1-9]\d*$/, message: `请输入${name}`,trigger: ['blur','change'] },
655
             { required: true, pattern: /^[1-9]\d*$/, message: `请输入${name}`,trigger: ['blur','change'] },
657
           ];
656
           ];
658
         }
657
         }
658
+          return [{ required: true, message: `请输入${name}` }];
659
+        } 
660
+                
659
 
661
 
660
       }
662
       }
661
     },
663
     },

File diff suppressed because it is too large
+ 949 - 795
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue


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

149
         type="primary"
149
         type="primary"
150
         @click="handleComfirm('treatmentSummary')"
150
         @click="handleComfirm('treatmentSummary')"
151
         v-if="hasPermission"
151
         v-if="hasPermission"
152
-        >保 存</el-button
153
-      >
152
+        >保 存</el-button> <!--  -->
154
     </div>
153
     </div>
155
   </el-dialog>
154
   </el-dialog>
156
 </template>
155
 </template>

+ 179 - 128
src/xt_pages/dialysis/details/index.vue View File

54
         <!-- 候诊区 -->
54
         <!-- 候诊区 -->
55
         <el-tab-pane label="候诊区" name="first">
55
         <el-tab-pane label="候诊区" name="first">
56
           <div class="cell clearfix" style="margin-bottom:10px;">
56
           <div class="cell clearfix" style="margin-bottom:10px;">
57
-            <el-date-picker v-model="selected_date" prefix-icon="el-icon-date" @change="handleScheduleDateChange" :editable="false" :clearable="false" style="width: 45%;margin-right:10px;" type="date" placeholder="选择日期时间" align="right" ></el-date-picker>
57
+            <el-date-picker v-model="selected_date" 
58
+              prefix-icon="el-icon-date" @change="handleScheduleDateChange"
59
+             :editable="false" :clearable="false"
60
+              style="width: 45%;margin-right:10px;" type="date" placeholder="选择日期时间" align="right" >
61
+            </el-date-picker>
58
             <el-input size="small" style="width:25%;" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
62
             <el-input size="small" style="width:25%;" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
59
             <el-button size="small" class="filter-item" type="primary" style="margin-right:20px;" @click="searchAction">搜索</el-button>
63
             <el-button size="small" class="filter-item" type="primary" style="margin-right:20px;" @click="searchAction">搜索</el-button>
60
           </div>
64
           </div>
239
         <div class="print_main_content">
243
         <div class="print_main_content">
240
           <div class="table_panel">
244
           <div class="table_panel">
241
              <div v-for="(main_collection,index) in printList" :key="index">
245
              <div v-for="(main_collection,index) in printList" :key="index">
242
-              <div class="signPrint" style="width: 360px;font-size:16px;">
243
-                <div style="margin-left:50px;">姓名:
244
-                  <span>{{main_collection.patient.name}} </span>
245
-                  ({{ main_collection.patient.dialysis_no }},{{getNewAge(main_collection.patient.id_card_no)  }}岁)
246
-                </div>
247
-                <div class="printCell" style="display:flex;justify-content: space-around;">
248
-                  <span style="display: block;width: 50%;">
249
-                    床号:{{ main_collection.number.number }}
250
-                    <span style="width:auto;" v-if="main_collection.schedule_type == 1">上午</span>
251
-                    <span style="width:auto;" v-if="main_collection.schedule_type == 2">下午</span>
252
-                    <span style="width:auto;" v-if="main_collection.schedule_type == 3">晚上</span>
253
-                  </span>
254
-                  <span style="display: block;width: 50%;">{{ printDate }}</span>
255
-                </div>
256
-                <div class="printCell" style="display:flex;justify-content: space-around;">
257
-                   <span style="display: block;width: 50%;">干体重:{{main_collection.assessmentbefor.dry_weight}}Kg</span>
258
-                    <span style="display: block;width: 50%;">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
246
+                <div class="signPrint" style="width: 360px;font-size:16px;">
247
+                  <div style="margin-left:50px;">姓名:
248
+                    <span>{{main_collection.patient.name}} </span>
249
+                    ({{ main_collection.patient.dialysis_no }},{{getNewAge(main_collection.patient.id_card_no)  }}岁)
250
+                  </div>
251
+                  <div class="printCell" style="display:flex;justify-content: space-around;">
252
+                    <span style="display: block;width: 50%;">
253
+                      床号:{{ main_collection.number.number }}
254
+                      <span style="width:auto;" v-if="main_collection.schedule_type == 1">上午</span>
255
+                      <span style="width:auto;" v-if="main_collection.schedule_type == 2">下午</span>
256
+                      <span style="width:auto;" v-if="main_collection.schedule_type == 3">晚上</span>
257
+                    </span>
258
+                    <span style="display: block;width: 50%;">{{ printDate }}</span>
259
+                  </div>
260
+                  <div class="printCell" style="display:flex;justify-content: space-around;">
261
+                    <span style="display: block;width: 50%;">干体重:{{main_collection.assessmentbefor.dry_weight}}Kg</span>
262
+                      <span style="display: block;width: 50%;">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
259
 
263
 
260
-                </div>
261
-                <div class="printCell" style="display:flex;justify-content: space-around;">
262
-                  <span style="display: block;width: 50%;">净重值:{{ main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight }}Kg</span>
263
-                  
264
-                  <span style="display: block;width: 50%;">
265
-                    首剂: <span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
266
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 2">
264
+                  </div>
265
+                  <div class="printCell" style="display:flex;justify-content: space-around;">
266
+                    <span style="display: block;width: 50%;">净重值:{{ main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight }}Kg</span>
267
+                    
268
+                    <span style="display: block;width: 50%;">
269
+                      首剂: <span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
270
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 2">
271
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}mg
272
+                    </span>
273
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 3">
274
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
275
+                    </span>
276
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 4">
267
                     {{main_collection.dialysissolution.anticoagulant_shouji}}mg
277
                     {{main_collection.dialysissolution.anticoagulant_shouji}}mg
268
-                  </span>
269
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 3">
270
-                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
271
-                  </span>
272
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 4">
273
-                   {{main_collection.dialysissolution.anticoagulant_shouji}}mg
274
-                  </span>
275
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 5">
276
-                   {{main_collection.dialysissolution.anticoagulant_shouji}} mg
277
-                   </span>
278
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 6">
279
-                   {{main_collection.dialysissolution.anticoagulant_shouji}}iu
280
-                  </span>
281
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 7">
282
-                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
283
-                   </span>
284
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 8">
285
-                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
286
-                  </span>
287
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 9">
288
-                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
289
-                  </span>
290
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 10">
291
-                     {{main_collection.dialysissolution.anticoagulant_shouji}}iu
292
                     </span>
278
                     </span>
293
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 11">
279
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 5">
280
+                    {{main_collection.dialysissolution.anticoagulant_shouji}} mg
281
+                    </span>
282
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 6">
294
                     {{main_collection.dialysissolution.anticoagulant_shouji}}iu
283
                     {{main_collection.dialysissolution.anticoagulant_shouji}}iu
295
-                   </span>
296
-                    </span> 
297
-                 
298
-                </div>
299
-                <div class="printCell" style="display:flex;justify-content: space-around;">
300
-                  <span style="display: block;width: 50%;">体重增加:{{ (main_collection.assessmentbefor.weight_before - assessmentAfterDislysis.weight_after).toFixed(2) }}Kg</span>
301
-                 <span style="display: block;width: 50%;">
302
-                     维持:{{main_collection.dialysissolution.anticoagulant_weichi}}
303
-                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">
304
-                    mg/h
305
-                  </span>
306
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 2">
307
-                    mg/h
308
-                  </span>
309
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 3">
310
-                   iu/h
311
-                  </span>
312
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 4">
313
-                    mg/h
314
-                  </span>
315
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 5">
316
-                    mg/h
317
-                   </span>
318
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 6">
319
-                   iu/h
320
-                  </span>
321
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 7">
322
-                   iu/h
323
-                   </span>
324
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 8">
325
-                    iu/h
326
-                  </span>
327
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 9">
284
+                    </span>
285
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 7">
286
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
287
+                    </span>
288
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 8">
289
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
290
+                    </span>
291
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 9">
292
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
293
+                    </span>
294
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 10">
295
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
296
+                      </span>
297
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 11">
298
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
299
+                    </span>
300
+                      </span> 
301
+                  
302
+                  </div>
303
+                  <div class="printCell" style="display:flex;justify-content: space-around;">
304
+                    <span style="display: block;width: 50%;">体重增加:{{ (main_collection.assessmentbefor.weight_before - assessmentAfterDislysis.weight_after).toFixed(2) }}Kg</span>
305
+                  <span style="display: block;width: 50%;">
306
+                      维持:{{main_collection.dialysissolution.anticoagulant_weichi}}
307
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 1">
308
+                      mg/h
309
+                    </span>
310
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 2">
311
+                      mg/h
312
+                    </span>
313
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 3">
328
                     iu/h
314
                     iu/h
329
-                  </span>
330
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 10">
315
+                    </span>
316
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 4">
317
+                      mg/h
318
+                    </span>
319
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 5">
320
+                      mg/h
321
+                    </span>
322
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 6">
331
                     iu/h
323
                     iu/h
332
                     </span>
324
                     </span>
333
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 11">
325
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 7">
334
                     iu/h
326
                     iu/h
335
-                   </span>
336
-                  </span>
337
-                
338
-                </div>
339
-                <div class="printCell" style="display:flex;justify-content: space-around;">
340
-                  <span style="display: block;width: 50%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}
341
-                    <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10138">ml</span> 
342
-                    <span v-else>L</span>
343
-                  </span>
344
-                  <span style="display: block;width: 50%;">
345
-                    总量:{{main_collection.dialysissolution.anticoagulant_zongliang}}
346
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 1">
347
-                    mg
348
-                  </span>
349
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 2">
327
+                    </span>
328
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 8">
329
+                      iu/h
330
+                    </span>
331
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 9">
332
+                      iu/h
333
+                    </span>
334
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 10">
335
+                      iu/h
336
+                      </span>
337
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 11">
338
+                      iu/h
339
+                    </span>
340
+                    </span>
341
+                  
342
+                  </div>
343
+                  <div class="printCell" style="display:flex;justify-content: space-around;">
344
+                    <span style="display: block;width: 50%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}
345
+                      <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10138">ml</span> 
346
+                      <span v-else>L</span>
347
+                    </span>
348
+                    <span style="display: block;width: 50%;">
349
+                      总量:{{main_collection.dialysissolution.anticoagulant_zongliang}}
350
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 1">
351
+                      mg
352
+                    </span>
353
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 2">
354
+                      mg
355
+                    </span>
356
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 3">
357
+                      iu
358
+                    </span>
359
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 4">
350
                     mg
360
                     mg
351
-                  </span>
352
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 3">
361
+                    </span>
362
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 5">
363
+                      mg
364
+                    </span>
365
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 6">
353
                     iu
366
                     iu
354
-                  </span>
355
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 4">
356
-                   mg
357
-                  </span>
358
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 5">
359
-                    mg
360
-                   </span>
361
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 6">
362
-                   iu
363
-                  </span>
364
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 7">
367
+                    </span>
368
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 7">
369
+                      iu
370
+                    </span>
371
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 8">
372
+                      iu
373
+                    </span>
374
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 9">
365
                     iu
375
                     iu
366
-                   </span>
367
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 8">
368
-                     iu
369
-                  </span>
370
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 9">
371
-                   iu
372
-                  </span>
373
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 10">
376
+                    </span>
377
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 10">
378
+                      iu
379
+                      </span>
380
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 11">
374
                     iu
381
                     iu
375
                     </span>
382
                     </span>
376
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 11">
377
-                   iu
378
-                   </span>
379
-                  </span>
383
+                    </span>
384
+                  </div>
380
                 </div>
385
                 </div>
381
-              </div>
382
-            </div>
386
+             </div>
387
+
388
+             <!-- <div v-for="(main_collection,index) in printList" :key="index" style="width: 80%;">
389
+                <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; text-align: center; margin: auto;">
390
+                
391
+                  <tr style="height: 20px;">
392
+                    <td>{{ printDate }}</td>
393
+                    <td>机号:{{ main_collection.number.number }}</td>
394
+                  </tr>
395
+                  <tr style="height: 20px;">
396
+                    <td>姓名</td>
397
+                    <td>{{main_collection.patient.name}}</td>
398
+                  </tr>
399
+                  <tr style="height: 20px;">
400
+                    <td>治疗方式</td>
401
+                    <td></td>
402
+                  </tr>
403
+                  <tr style="height: 20px;">
404
+                    <td>透析时间</td>
405
+                    <td>{{ printDate }}</td>
406
+                  </tr>
407
+                  <tr style="height: 20px;">
408
+                    <td>透前体重</td>
409
+                    <td></td>
410
+                  </tr>
411
+                  <tr style="height: 20px;">
412
+                    <td>干体重</td>
413
+                    <td>{{main_collection.assessmentbefor.dry_weight}}Kg</td>
414
+                  </tr>
415
+                  <tr style="height: 20px;">
416
+                    <td>超滤量</td>
417
+                    <td></td>
418
+                  </tr>
419
+                  <tr style="height: 20px;">
420
+                    <td>透前血压</td>
421
+                    <td>-</td>
422
+                  </tr>
423
+                  <tr style="height: 20px;">
424
+                    <td></td>
425
+                    <td></td>
426
+                  </tr>
427
+                  <tr style="height: 20px;">
428
+                    <td></td>
429
+                    <td></td>
430
+                  </tr>
431
+                </table>
432
+             </div> -->
433
+
383
           </div>
434
           </div>
384
         </div>
435
         </div>
385
       </div>
436
       </div>

+ 5 - 0
src/xt_pages/management/home.vue View File

5465
         left:103px ;
5465
         left:103px ;
5466
       }
5466
       }
5467
     }
5467
     }
5468
+    .el-tab-pane{
5469
+      .el-form-item__error{
5470
+        left:103px;
5471
+      }
5472
+    }
5468
     
5473
     
5469
    .a{
5474
    .a{
5470
      margin-bottom: 10px;
5475
      margin-bottom: 10px;

+ 1 - 1
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

667
         })
667
         })
668
       } else {
668
       } else {
669
         const style =
669
         const style =
670
-            '@media print {#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 88%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}.NoCell{display: flex;justify-content: space-between;margin-bottom: 10px;}.underLine{display: inline-block;border-bottom: 1px solid #000;text-align: center;line-height: 24px;}.basicCell{display: flex;} .basicCell span{line-height: 24px;margin-bottom: 10px;}}'
670
+            '@media print {#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 88%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.doctorBoxtwo{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}.NoCell{display: flex;justify-content: space-between;margin-bottom: 10px;}.underLine{display: inline-block;border-bottom: 1px solid #000;text-align: center;line-height: 24px;}.basicCell{display: flex;} .basicCell span{line-height: 24px;margin-bottom: 10px;}}'
671
         printJS({
671
         printJS({
672
           printable: 'printMain',
672
           printable: 'printMain',
673
           type: 'html',
673
           type: 'html',

+ 29 - 9
src/xt_pages/outpatientDoctorStation/template/printOne.vue View File

126
           </div>
126
           </div>
127
           <div style="text-align: center">(以下空白)</div>
127
           <div style="text-align: center">(以下空白)</div>
128
         </div>
128
         </div>
129
-        <div class="doctorBox" v-if="org_id != 10188">
129
+        <div class="doctorBox" v-if="org_id != 10188 && org_id != 0">
130
           <p v-if="org_id == 10217 || org_id == 0">
130
           <p v-if="org_id == 10217 || org_id == 0">
131
             医师:
131
             医师:
132
             <span
132
             <span
154
           </p>
154
           </p>
155
           <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
155
           <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
156
         </div>
156
         </div>
157
-        <div class="doctorBox" v-else>
158
-          <p>药师:</p>
157
+        
158
+        <div class="doctorBoxs" style="border-bottom: 2px solid #000;" v-if="org_id == 10188 || org_id == 0">
159
           <p>医师:{{ item.doctor ? item.doctor : "" }}</p>
159
           <p>医师:{{ item.doctor ? item.doctor : "" }}</p>
160
         </div>
160
         </div>
161
-        <div class="actionBar" v-if="org_id != 10188">
161
+        <!-- <div class="doctorBoxtwo" v-if="org_id == 10188 || org_id == 0">
162
+          <p >审核、调配:</p>
163
+          <p >核对、发药:</p>
164
+          <p style="margin-right: 43px">药师:</p>
165
+        </div> -->
166
+
167
+        <div class="actionBar" v-if="org_id != 10188 && org_id != 0">
162
           <!-- <p>审核:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</p>
168
           <!-- <p>审核:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</p>
163
                  <p>配对:</p>
169
                  <p>配对:</p>
164
                  <p>核对:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</p>
170
                  <p>核对:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</p>
179
           <!--            <p>药费:466.2元</p>-->
185
           <!--            <p>药费:466.2元</p>-->
180
         </div>
186
         </div>
181
         <div class="actionBar" v-else>
187
         <div class="actionBar" v-else>
182
-          <p style="visibility: hidden">审核:</p>
183
-          <p style="visibility: hidden">配对:</p>
184
-          <p style="visibility: hidden">核对:</p>
185
-          <p style="visibility: hidden">发药:</p>
186
-          <p>
188
+          <p >审核、调配:</p>
189
+          <p >核对、发药:</p>
190
+          <p >
187
             药费:{{
191
             药费:{{
188
               getTotalOne(item.id).toFixed(2)
192
               getTotalOne(item.id).toFixed(2)
189
                 ? getTotalOne(item.id).toFixed(2)
193
                 ? getTotalOne(item.id).toFixed(2)
524
 .doctorBox {
528
 .doctorBox {
525
   display: flex;
529
   display: flex;
526
   justify-content: space-between;
530
   justify-content: space-between;
531
+  // justify-self: end;
527
   padding: 0 10px;
532
   padding: 0 10px;
528
   line-height: 24px;
533
   line-height: 24px;
529
   border-bottom: 2px solid #000;
534
   border-bottom: 2px solid #000;
530
 }
535
 }
536
+.doctorBoxs{
537
+  width: 100%;
538
+  margin-right: 30px;
539
+  text-align: right;
540
+  padding: 0 10px;
541
+  line-height: 24px;
542
+  
543
+}
544
+.doctorBoxtwo {
545
+  display: flex;
546
+  justify-content: space-between;
547
+  padding: 0 10px;
548
+  line-height: 24px;
549
+
550
+}
531
 .actionBar {
551
 .actionBar {
532
   display: flex;
552
   display: flex;
533
   justify-content: space-between;
553
   justify-content: space-between;