Browse Source

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

XMLWAN 2 years ago
parent
commit
919ad871f4

+ 317 - 128
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue View File

@@ -3,19 +3,6 @@
3 3
     <div class="dialysis-print-order">
4 4
       <div class="order-yy-name">{{ orgname }}</div>
5 5
       <div class="order-title">血液透析(滤过)记录表单</div>
6
-
7
-      <!-- <table class="table-box" style="margin-top: 10px;">
8
-            <tbody>
9
-            <tr>
10
-
11
-              <td width="40">诊 断:</td>
12
-              <td width="">
13
-                <div class="under-line">&nbsp;{{patientInfo.diagnose}}</div>
14
-              </td>
15
-
16
-            </tr>
17
-            </tbody>
18
-          </table> -->
19 6
       <table class="print-table" border="1">
20 7
         <tbody>
21 8
           <tr>
@@ -24,7 +11,7 @@
24 11
             </td>
25 12
           </tr>
26 13
           <tr>
27
-            <td colspan="11">
14
+            <td colspan="11" style="padding-left: 10px">
28 15
               <div class="list_table">
29 16
                 <div>姓 名:&nbsp;{{ patientInfo.name }}</div>
30 17
                 <div>
@@ -35,10 +22,12 @@
35 22
             </td>
36 23
           </tr>
37 24
           <tr class="list_table_1">
38
-            <td colspan="11">
25
+            <td colspan="11" style="padding-left: 10px">
39 26
               <div style="display: flex">
40 27
                 <div style="width: 400px">
41
-                  病情评估:&nbsp;<span>{{ sick_condition ? sick_condition : "" }}</span>
28
+                  病情评估:&nbsp;<span>{{
29
+                    sick_condition ? sick_condition : ""
30
+                  }}</span>
42 31
                 </div>
43 32
                 <div style="width: 400px">
44 33
                   入科方式:&nbsp;<span
@@ -54,7 +43,11 @@
54 43
             </td>
55 44
           </tr>
56 45
           <tr class="list_table_1">
57
-            <td width="250" style="border-right: none" colspan="2">
46
+            <td
47
+              width="250"
48
+              style="border-right: none; padding-left: 10px"
49
+              colspan="2"
50
+            >
58 51
               治疗方式:
59 52
               <label-box
60 53
                 :isChecked="prescription.mode_id == 1 ? true : false"
@@ -99,7 +92,7 @@
99 92
               </span>
100 93
             </td>
101 94
             <!-- <td width="20" style="border: none"></td> -->
102
-            <td width="200">
95
+            <td width="200" style="padding-left: 10px">
103 96
               治疗时间:&nbsp;{{
104 97
                 afterdialysis.actual_treatment_hour
105 98
                   ? afterdialysis.actual_treatment_hour
@@ -111,40 +104,114 @@
111 104
               }}&nbsp;分
112 105
             </td>
113 106
           </tr>
107
+          <tr v-if="org_id == 10249 || org_id == 0">
108
+            <td colspan="12" style="padding-left: 10px">
109
+
110
+              <div style="display: flex">
111
+                活动性出血:
112
+                <label-box :isChecked="predialysis.is_hemorrhage == 2 ? true : false" showValue="无"></label-box>
113
+                <label-box :isChecked="predialysis.is_hemorrhage == 1 ? true : false" showValue="有"></label-box>
114
+                (&nbsp;<label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('穿刺点渗血') > -1 ? true : false" showValue="穿刺点渗血"></label-box>
115
+                <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('牙龈出血') > -1 ? true : false" showValue="牙龈出血"></label-box>
116
+                <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('消化道出血') > -1 ? true : false" showValue="消化道出血"></label-box>
117
+                <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('女性经期') > -1 ? true : false" showValue="女性经期"></label-box>
118
+                <div style="display: flex;padding-left:20px;">其他<div style="min-width:200px;border-bottom:1px solid #999;height: 35px;text-align: center;"><span v-if="predialysis.is_hemorrhage == 1">{{
119
+                            predialysis.hemorrhage_other
120
+                          }}</span></div></div>
121
+                &nbsp;)
122
+
123
+              </div>
124
+            </td>
125
+          </tr>
114 126
           <tr class="list_table_1">
115
-            <td colspan="12">
127
+            <td colspan="12" style="padding-left: 10px">
116 128
               治疗抗凝:
117 129
               <label-box
130
+                v-if="prescription.anticoagulant == 3"
118 131
                 :isChecked="prescription.anticoagulant == 3 ? true : false"
119 132
                 showValue="低分子肝素:"
120 133
               ></label-box>
121
-              &nbsp;&nbsp;{{prescription.anticoagulant_zongliang && prescription.anticoagulant == "3" ? prescription.anticoagulant_zongliang : ""}}U;&nbsp;&nbsp;
134
+              <label-box
135
+                v-if="prescription.anticoagulant == 6"
136
+                :isChecked="prescription.anticoagulant == 6 ? true : false"
137
+                showValue="低分子肝素钙:"
138
+              ></label-box>
139
+              <label-box
140
+                v-if="prescription.anticoagulant == 7"
141
+                :isChecked="prescription.anticoagulant == 7 ? true : false"
142
+                showValue="低分子肝素钠:"
143
+              ></label-box>
144
+
145
+              &nbsp;&nbsp;{{
146
+                prescription.anticoagulant_zongliang &&
147
+                (prescription.anticoagulant == 3 ||
148
+                  prescription.anticoagulant == 6 ||
149
+                  prescription.anticoagulant == 7)
150
+                  ? prescription.anticoagulant_zongliang
151
+                  : ""
152
+              }}U;&nbsp;&nbsp;
122 153
               <label-box
123 154
                 :isChecked="prescription.anticoagulant == 2 ? true : false"
124 155
                 showValue="普通肝素:"
125 156
               ></label-box
126
-              >首剂 &nbsp;&nbsp;<span><span style="width:35px;display: inline-block;">
127
-                {{ prescription.anticoagulant_shouji && (prescription.anticoagulant != 3 ) && prescription.anticoagulant == 2 ? prescription.anticoagulant_shouji : "" }}
128
-              </span></span> mg&nbsp;&nbsp;&nbsp;
129
-              追加&nbsp;&nbsp;<span>{{ prescription.anticoagulant_weichi && prescription.anticoagulant == 2 ? prescription.anticoagulant_weichi : "" }}</span>&nbsp;&nbsp;mg/h&nbsp;
130
-              总量&nbsp;&nbsp;<span>{{ prescription.anticoagulant_zongliang && prescription.anticoagulant == 2 ? prescription.anticoagulant_zongliang : "" }}</span>&nbsp;&nbsp;mg;
157
+              >首剂 &nbsp;&nbsp;<span
158
+                ><span style="width: 35px; display: inline-block">
159
+                  {{
160
+                    prescription.anticoagulant_shouji &&
161
+                    prescription.anticoagulant != 3 &&
162
+                    prescription.anticoagulant == 2
163
+                      ? prescription.anticoagulant_shouji
164
+                      : ""
165
+                  }}
166
+                </span></span
167
+              >
168
+              mg&nbsp;&nbsp;&nbsp; 追加&nbsp;&nbsp;<span>{{
169
+                prescription.anticoagulant_weichi &&
170
+                prescription.anticoagulant == 2
171
+                  ? prescription.anticoagulant_weichi
172
+                  : ""
173
+              }}</span
174
+              >&nbsp;&nbsp;mg/h&nbsp; 总量&nbsp;&nbsp;<span>{{
175
+                prescription.anticoagulant_zongliang &&
176
+                prescription.anticoagulant == 2
177
+                  ? prescription.anticoagulant_zongliang
178
+                  : ""
179
+              }}</span
180
+              >&nbsp;&nbsp;mg;
131 181
               <label-box
132 182
                 :isChecked="prescription.anticoagulant == 1 ? true : false"
133 183
                 showValue="无肝素"
134 184
               ></label-box>
135
-              <label-box :isChecked="prescription.anticoagulant == 5 ? true : false" showValue="枸橼酸"></label-box>
185
+              <label-box
186
+                :isChecked="prescription.anticoagulant == 5 ? true : false"
187
+                showValue="枸橼酸"
188
+              ></label-box>
136 189
             </td>
137 190
           </tr>
138
-          <tr class="list_table_1" style="line-height: 30px">
139
-            <td width="100" style="border-right: none" colspan="2">
191
+          <tr class="list_table_1" style="line-height: 40px">
192
+            <td
193
+              width="100"
194
+              style="border-right: none; padding-left: 10px"
195
+              colspan="2"
196
+            >
140 197
               处方脱水量:
141
-              <p style="display: inline-block; width: 40px">{{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "" }}</p>
198
+              <p style="display: inline-block; width: 40px">
199
+                {{
200
+                  prescription.target_ultrafiltration
201
+                    ? prescription.target_ultrafiltration
202
+                    : ""
203
+                }}
204
+              </p>
142 205
               ml; 透析液流量:
143
-              <p style="display: inline-block; width: 40px">{{ prescription.dialysate_flow ? prescription.dialysate_flow : "" }}</p>
206
+              <p style="display: inline-block; width: 40px">
207
+                {{
208
+                  prescription.dialysate_flow ? prescription.dialysate_flow : ""
209
+                }}
210
+              </p>
144 211
               ml/h;
145 212
             </td>
146 213
             <!-- <td style="border: none"></td> -->
147
-            <td width="20">
214
+            <td width="20" style="padding-left: 10px">
148 215
               医师签名:
149 216
               <span v-if="setAdminUserES(prescription.creater) == ''">
150 217
                 {{ getAdminUser(prescription.creater) }}
@@ -160,37 +227,57 @@
160 227
             </td>
161 228
           </tr>
162 229
           <tr colspan="13" class="list_table_1">
163
-            <!-- <td >透析机:{{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}</td>
164
-            <td style="width: 175px;">透析(滤)器:{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "" }}</td>
165
-            <td width="150">透析液:钾:
166
-              <span style="width:30px;display: inline-block;">
167
-                {{ prescription.kalium ? prescription.kalium : "" }}
168
-              </span>mmol/L&nbsp; 钙:
169
-              <span style="width:30px;display: inline-block;">
170
-                {{ prescription.calcium ? prescription.calcium : "" }}
171
-              </span>mmol/L&nbsp; 碳酸氢根:
172
-              <span style="width:30px;display: inline-block;">
173
-                {{ prescription.bicarbonate ? prescription.bicarbonate : "" }}
174
-              </span>mmol/L</td> -->
175
-              <td colspan="13">
176
-                <div style="display:flex;">
177
-                  <div style="width: 230px;border-right: 1px solid;" >透析机:{{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}</div>
178
-                  <div style="width: 213px;border-right: 1px solid;">透析(滤)器:{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "" }}</div>
179
-                  <div>透析液:钾:
180
-              <span style="width:30px;display: inline-block;">
181
-                {{ prescription.kalium ? prescription.kalium : "" }}
182
-              </span>mmol/L&nbsp; 钙:
183
-              <span style="width:30px;display: inline-block;">
184
-                {{ prescription.calcium ? prescription.calcium : "" }}
185
-              </span>mmol/L&nbsp; 碳酸氢根:
186
-              <span style="width:30px;display: inline-block;">
187
-                {{ prescription.bicarbonate ? prescription.bicarbonate : "" }}
188
-              </span>mmol/L</div>
230
+            <td colspan="13" style="padding-left: 10px">
231
+              <div class="td_div1" style="display: flex">
232
+                <div
233
+                  style="
234
+                    display: flex;
235
+                    min-width: 150px;
236
+                    border-right: 1px solid;
237
+                  "
238
+                >
239
+                  透析机:{{
240
+                    dialysisOrder &&
241
+                    dialysisOrder.DeviceNumber &&
242
+                    dialysisOrder.DeviceNumber.number.length > 0
243
+                      ? dialysisOrder.DeviceNumber.number
244
+                      : patientInfo.DialysisSchedule.device_number.number
245
+                  }}
246
+                </div>
247
+                <div
248
+                  style="
249
+                    display: flex;
250
+                    border-right: 1px solid;
251
+                    padding: 0 10px;
252
+                  "
253
+                >
254
+                  透析(滤)器:{{
255
+                    prescription.dialyzer_perfusion_apparatus
256
+                      ? prescription.dialyzer_perfusion_apparatus
257
+                      : ""
258
+                  }}
259
+                </div>
260
+                <div style="padding-left: 10px">
261
+                  透析液:钾:
262
+                  <span style="width: 30px; display: inline-block">
263
+                    {{ prescription.kalium ? prescription.kalium : "" }} </span
264
+                  >mmol/L&nbsp; 钙:
265
+                  <span style="width: 30px; display: inline-block">
266
+                    {{
267
+                      prescription.calcium ? prescription.calcium : ""
268
+                    }} </span
269
+                  >mmol/L&nbsp; 碳酸氢根:
270
+                  <span style="width: 30px; display: inline-block">
271
+                    {{
272
+                      prescription.bicarbonate ? prescription.bicarbonate : ""
273
+                    }} </span
274
+                  >mmol/L
189 275
                 </div>
190
-              </td>
276
+              </div>
277
+            </td>
191 278
           </tr>
192 279
           <tr class="list_table_1">
193
-            <td colspan="11">
280
+            <td colspan="11" style="padding-left: 10px">
194 281
               <div style="display: flex; justify-content: flex-start">
195 282
                 <div style="width: 75%">
196 283
                   血管通路: &nbsp;
@@ -260,11 +347,34 @@
260 347
                   ></label-box>
261 348
                   &nbsp;
262 349
                 </div>
263
-                <div style="width: 25%">穿刺者:
264
-                <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) == ''">
265
-                  {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) }}
266
-                </span>
267
-                <img class="es-img" style="height:30px;" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse)" alt srcset v-else /></div>
350
+                <div style="width: 25%">
351
+                  穿刺者:
352
+                  <span
353
+                    v-if="
354
+                      setAdminUserES(
355
+                        dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse
356
+                      ) == ''
357
+                    "
358
+                  >
359
+                    {{
360
+                      getAdminUser(
361
+                        dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse
362
+                      )
363
+                    }}
364
+                  </span>
365
+                  <img
366
+                    class="es-img"
367
+                    style="height: 30px"
368
+                    :src="
369
+                      setAdminUserES(
370
+                        dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse
371
+                      )
372
+                    "
373
+                    alt
374
+                    srcset
375
+                    v-else
376
+                  />
377
+                </div>
268 378
               </div>
269 379
             </td>
270 380
           </tr>
@@ -372,7 +482,11 @@
372 482
                   }}
373 483
                 </td>
374 484
                 <td width="25%">
375
-                  &nbsp;{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "" }}
485
+                  &nbsp;{{
486
+                    monitor.ultrafiltration_volume
487
+                      ? monitor.ultrafiltration_volume
488
+                      : ""
489
+                  }}
376 490
                 </td>
377 491
               </table>
378 492
             </td>
@@ -385,11 +499,7 @@
385 499
                 frame="void"
386 500
               >
387 501
                 <td style="width: 20%">
388
-                  &nbsp;{{
389
-                    monitor.monitor_temperature
390
-                      ? monitor.monitor_temperature
391
-                      : ""
392
-                  }}
502
+                  &nbsp;{{ monitor.temperature ? monitor.temperature : "" }}
393 503
                 </td>
394 504
                 <td style="width: 20%">
395 505
                   &nbsp;{{
@@ -403,24 +513,31 @@
403 513
                 </td>
404 514
                 <td style="width: 20%">
405 515
                   &nbsp;{{
406
-                    monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : ""
516
+                    monitor.systolic_blood_pressure
517
+                      ? monitor.systolic_blood_pressure
518
+                      : ""
519
+                  }}/{{
520
+                    monitor.diastolic_blood_pressure
521
+                      ? monitor.diastolic_blood_pressure
522
+                      : ""
407 523
                   }}
408 524
                 </td>
409 525
                 <td style="width: 20%">
410 526
                   &nbsp;{{
411
-                    monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : ""
527
+                    monitor.blood_oxygen_saturation
528
+                      ? monitor.blood_oxygen_saturation
529
+                      : ""
412 530
                   }}
413 531
                 </td>
414 532
               </table>
415 533
             </td>
416 534
             <td>
417
-              <span style="line-height:18px;display:block;">
418
-              {{ monitor.symptom }}&nbsp;{{ monitor.dispose }}&nbsp;{{
419
-              monitor.result
420
-              }}
421
-            </span>
535
+              <span style="line-height: 18px; display: block">
536
+                {{ monitor.symptom }}&nbsp;{{ monitor.dispose }}&nbsp;{{
537
+                  monitor.result
538
+                }}
539
+              </span>
422 540
             </td>
423
-
424 541
           </tr>
425 542
         </tbody>
426 543
       </table>
@@ -443,7 +560,9 @@
443 560
             <td style="width: 60px; height: 40px">
444 561
               <p style="height: 20px; line-height: 20px">上次透后体重</p>
445 562
             </td>
446
-            <td style="width: 45px; height: 40px">{{assessmentafter.weight_after}}kg</td>
563
+            <td style="width: 45px; height: 40px">
564
+              {{ assessmentafter.weight_after }}kg
565
+            </td>
447 566
           </tr>
448 567
 
449 568
           <tr v-for="(advice, advice_index) in advices">
@@ -494,7 +613,6 @@
494 613
               />
495 614
             </td>
496 615
 
497
-            
498 616
             <td v-if="advice_index === 0">透前体重:</td>
499 617
             <td v-if="advice_index === 0">{{ predialysis.weight_before }}kg</td>
500 618
             <td v-if="advice_index === 1">体重增加量:</td>
@@ -502,7 +620,7 @@
502 620
               {{
503 621
                 (
504 622
                   predialysis.weight_before - assessmentafter.weight_after
505
-                ).toFixed(1)
623
+                ).toFixed(2)
506 624
               }}kg
507 625
             </td>
508 626
             <td v-if="advice_index === 2">干体重(DW):</td>
@@ -510,51 +628,116 @@
510 628
             <td v-if="advice_index === 3">较干体重增加量:</td>
511 629
             <td v-if="advice_index === 3">
512 630
               {{
513
-                (
514
-                  assessmentafter.weight_after -
515
-                  predialysis.dry_weight
516
-                ).toFixed(2)
631
+                (afterdialysis.weight_after - predialysis.dry_weight).toFixed(
632
+                  2
633
+                )
517 634
               }}kg
518 635
             </td>
519 636
             <td v-if="advice_index === 4">净脱水量:</td>
520 637
             <td v-if="advice_index === 4">
521
-              {{ afterdialysis.actual_ultrafiltration }}L
638
+              {{ afterdialysis.actual_ultrafiltration }}ml
522 639
             </td>
523 640
             <td v-if="advice_index === 5">透后体重:</td>
524 641
             <td v-if="advice_index === 5">
525
-              {{ assessmentafter.weight_after }}kg
642
+              {{ afterdialysis.weight_after }}kg
526 643
             </td>
527
-             <td v-if="advice_index === 6">本次透析体重下降量:</td>
644
+            <td v-if="advice_index === 6">本次透析体重下降量:</td>
528 645
             <td v-if="advice_index === 6">
529
-              {{ afterdialysis.weight_after }}kg
646
+              {{
647
+                (
648
+                  predialysis.weight_before - afterdialysis.weight_after
649
+                ).toFixed(2)
650
+              }}kg
530 651
             </td>
652
+            <td v-if="advice_index > 6"></td>
653
+            <td v-if="advice_index > 6"></td>
531 654
           </tr>
532 655
         </tbody>
533 656
       </table>
534 657
       <table class="print-table" border="1">
535
-         <tr style="height:60px;text-align:left;border:none;">
536
-            <td style="padding-left:5px;border:none">
537
-              治疗小结:{{ summary.dialysis_summary ? summary.dialysis_summary : "" }}
538
-            </td>
539
-          </tr>
540
-          <tr style="height:40px">
541
-            <td rowspan="11" style="border:none;text-align:right;height:40px">
542
-              医生签名
543
-              <span style="display: inline-block;width:100px;text-align: left;">
544
-                &nbsp;
545
-                  <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
546
-                  <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
547
-              </span>
548
-              护士签名
549
-              <span style="display: inline-block;width:100px;text-align: left;">
550
-                &nbsp;
551
-                <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
552
-                <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
658
+        <tr style="height: 60px; text-align: left; border: none">
659
+          <td style="padding-left: 5px; border: none">
660
+            治疗小结:{{
661
+              summary.dialysis_summary ? summary.dialysis_summary : ""
662
+            }}
663
+          </td>
664
+        </tr>
665
+        <tr style="height: 40px">
666
+          <td
667
+            rowspan="11"
668
+            style="border: none; text-align: right; height: 40px"
669
+          >
670
+            医生签名
671
+            <span style="display: inline-block; width: 100px; text-align: left">
672
+              &nbsp;
673
+              <span
674
+                v-if="
675
+                  setAdminUserES(
676
+                    prescription == null
677
+                      ? 0
678
+                      : prescription.prescription_doctor
679
+                      ? prescription.prescription_doctor
680
+                      : ''
681
+                  ) == ''
682
+                "
683
+              >
684
+                {{
685
+                  getAdminUser(
686
+                    prescription == null
687
+                      ? 0
688
+                      : prescription.prescription_doctor
689
+                      ? prescription.prescription_doctor
690
+                      : ""
691
+                  )
692
+                }}
553 693
               </span>
554
-       
555
-            </td>
556
-          </tr>
557
-      </table >
694
+              <img
695
+                style="height: 30px"
696
+                :src="
697
+                  setAdminUserES(
698
+                    prescription == null
699
+                      ? 0
700
+                      : prescription.prescription_doctor
701
+                      ? prescription.prescription_doctor
702
+                      : ''
703
+                  )
704
+                "
705
+                alt=""
706
+                srcset=""
707
+                v-else
708
+              />
709
+            </span>
710
+            护士签名
711
+            <span style="display: inline-block; width: 100px; text-align: left">
712
+              &nbsp;
713
+              <span
714
+                v-if="
715
+                  setAdminUserES(
716
+                    dialysisOrder == null ? 0 : dialysisOrder.start_nurse
717
+                  ) == ''
718
+                "
719
+                >{{
720
+                  getAdminUser(
721
+                    dialysisOrder == null ? 0 : dialysisOrder.start_nurse
722
+                  )
723
+                }}</span
724
+              >
725
+              <img
726
+                class="es-img"
727
+                style="height: 30px"
728
+                :src="
729
+                  setAdminUserES(
730
+                    dialysisOrder == null ? 0 : dialysisOrder.start_nurse
731
+                  )
732
+                "
733
+                alt=""
734
+                srcset=""
735
+                v-else
736
+              />
737
+            </span>
738
+          </td>
739
+        </tr>
740
+      </table>
558 741
 
559 742
       <table class="table-box" style="margin-top: 10px">
560 743
         <tbody>
@@ -567,7 +750,7 @@
567 750
         </tbody>
568 751
       </table>
569 752
     </div>
570
-    <div style="position: absolute; top: 1380px; left: 50%">1</div>
753
+    <div style="position: absolute; top: 1380px; left: 50%"></div>
571 754
   </div>
572 755
 </template>
573 756
 
@@ -669,13 +852,14 @@ export default {
669 852
       advices: [],
670 853
       users: [],
671 854
       monitors: [],
672
-      sick_condition:"",
855
+      sick_condition: "",
673 856
       summary: {},
674 857
       receiverTreatmentAccess: {},
675 858
       org_template_info: {},
676 859
 
677 860
       doctor_advices: [],
678 861
       advice_groups: [],
862
+      org_id: 0,
679 863
 
680 864
       AlPanel: {
681 865
         id: 0,
@@ -822,7 +1006,10 @@ export default {
822 1006
               this.predialysis.blood_access_part_opera_id
823 1007
             );
824 1008
 
825
-            console.log(this.predialysis.blood_access_part_opera_name,'this.predialysis.blood_access_part_opera_name')
1009
+          console.log(
1010
+            this.predialysis.blood_access_part_opera_name,
1011
+            "this.predialysis.blood_access_part_opera_name"
1012
+          );
826 1013
           this.afterdialysis = response.data.data.AssessmentAfterDislysis;
827 1014
           this.operators = response.data.data.operators;
828 1015
           this.dialysisOrder =
@@ -889,13 +1076,13 @@ export default {
889 1076
           this.receiverTreatmentAccess =
890 1077
             response.data.data.receiverTreatmentAccess;
891 1078
           this.assessmentafter = response.data.data.assessmentAfterDislysis;
892
-          this.sick_condition_arr.forEach(o => {
1079
+          this.sick_condition_arr.forEach((o) => {
893 1080
             // console.log(o,'hh')
894
-            if(this.receiverTreatmentAccess.sick_condition == o.id){
895
-              this.sick_condition = o.name
1081
+            if (this.receiverTreatmentAccess.sick_condition == o.id) {
1082
+              this.sick_condition = o.name;
896 1083
             }
897
-          })
898
-          console.log(this.sick_condition,'hh')
1084
+          });
1085
+          console.log(this.sick_condition, "hh");
899 1086
 
900 1087
           console.log("上次透后体重", this.assessmentafter);
901 1088
 
@@ -982,9 +1169,9 @@ export default {
982 1169
             advices.push(item);
983 1170
           }
984 1171
 
985
-           var tableAdvice =  this.advices;
1172
+          var tableAdvice = this.advices;
986 1173
           console.log("医生", tableAdvice);
987
-           if (tableAdvice.length === 0) {
1174
+          if (tableAdvice.length === 0) {
988 1175
             var obj = { advice_name: "", start_time: "" };
989 1176
             var obj1 = { advice_name: "", start_time: "" };
990 1177
             var obj2 = { advice_name: "", start_time: "" };
@@ -1012,7 +1199,7 @@ export default {
1012 1199
             tableAdvice.push(obj4);
1013 1200
             this.advices = tableAdvice;
1014 1201
           }
1015
-           if (tableAdvice.length === 2) {
1202
+          if (tableAdvice.length === 2) {
1016 1203
             var obj = { advice_name: "", start_time: "" };
1017 1204
             var obj1 = { advice_name: "", start_time: "" };
1018 1205
             var obj2 = { advice_name: "", start_time: "" };
@@ -1062,9 +1249,8 @@ export default {
1062 1249
             tableAdvice.push(obj1);
1063 1250
             this.advices = tableAdvice;
1064 1251
           }
1065
-     
1066 1252
 
1067
-          console.log(this.advices,'this.advices')
1253
+          console.log(this.advices, "this.advices");
1068 1254
 
1069 1255
           this.loading = false;
1070 1256
 
@@ -1166,9 +1352,8 @@ export default {
1166 1352
       });
1167 1353
     },
1168 1354
     bloodAccessParOperaName(id) {
1169
-      console.log(this.bloodAccessParOpera)
1355
+      console.log(this.bloodAccessParOpera);
1170 1356
       if (id in this.bloodAccessParOpera) {
1171
-        
1172 1357
         return this.bloodAccessParOpera[id].name;
1173 1358
       }
1174 1359
       return "";
@@ -1228,6 +1413,7 @@ export default {
1228 1413
     },
1229 1414
   },
1230 1415
   created() {
1416
+    this.org_id = this.$store.getters.xt_user.org_id;
1231 1417
     this.way_arr = getDataConfig("hemodialysis", "way");
1232 1418
     this.consciousness_arr = getDataConfig("hemodialysis", "consciousness");
1233 1419
     this.appetite_arr = getDataConfig("hemodialysis", "appetite");
@@ -1236,7 +1422,7 @@ export default {
1236 1422
     this.precaution_arr = getDataConfig("hemodialysis", "precaution");
1237 1423
     this.intake_arr = getDataConfig("hemodialysis", "intake");
1238 1424
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
1239
-        var bloodAccessParOpera = getDataConfig(
1425
+    var bloodAccessParOpera = getDataConfig(
1240 1426
       "hemodialysis",
1241 1427
       "vascular_access_desc"
1242 1428
     );
@@ -1290,7 +1476,7 @@ export default {
1290 1476
 
1291 1477
 <style>
1292 1478
 .dialysis-print-order {
1293
-  width: 890px;
1479
+  width: 960px;
1294 1480
   margin: 0 auto;
1295 1481
 }
1296 1482
 
@@ -1488,4 +1674,7 @@ export default {
1488 1674
   padding: 0;
1489 1675
   border: 1px solid #dcdfe6;
1490 1676
 }
1677
+.list_table_1 {
1678
+  text-align: left;
1679
+}
1491 1680
 </style>

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

@@ -13,7 +13,7 @@
13 13
 
14 14
     <div class="dialysisPage" style="padding-top: 40px">
15 15
       <printOne
16
-        v-if="org_id != 10217 && org_id != 9675 && org_id != 9671 && org_id != 0 &&org_id != 10164"
16
+        v-if="org_id != 10217 && org_id != 9675 && org_id != 9671 && org_id != 0 &&org_id != 10164 && org_id == 10188"
17 17
         ref="printOne"
18 18
         v-bind:childResponse="childResponse"
19 19
         :patient="patient"