瀏覽代碼

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

XMLWAN 3 年之前
父節點
當前提交
79a6e87d95
共有 1 個文件被更改,包括 129 次插入136 次删除
  1. 129 136
      src/xt_pages/dialysis/template/DialysisPrintOrderThirtySix.vue

+ 129 - 136
src/xt_pages/dialysis/template/DialysisPrintOrderThirtySix.vue 查看文件

6
       <table class="table-box" style="margin-top: 10px;">
6
       <table class="table-box" style="margin-top: 10px;">
7
         <tbody>
7
         <tbody>
8
           <tr>
8
           <tr>
9
-            <td width="50">姓 名:</td>
10
-            <td width="90">
9
+            <td width="40">姓名:</td>
10
+            <td width="80">
11
               <div class="under-line">&nbsp;{{ patientInfo.name }}</div>
11
               <div class="under-line">&nbsp;{{ patientInfo.name }}</div>
12
             </td>
12
             </td>
13
-            <td width="20"></td>
14
-            <td width="50">性 别:</td>
15
-            <td width="100">
13
+            <td width="10"></td>
14
+            <td width="40">性别:</td>
15
+            <td width="80">
16
               <div>
16
               <div>
17
                 <label-box :isChecked="patientInfo_gender_1" showValue="男"></label-box>
17
                 <label-box :isChecked="patientInfo_gender_1" showValue="男"></label-box>
18
                 <label-box :isChecked="patientInfo_gender_2" showValue="女"></label-box>
18
                 <label-box :isChecked="patientInfo_gender_2" showValue="女"></label-box>
19
               </div>
19
               </div>
20
             </td>
20
             </td>
21
 
21
 
22
-            <td width="50">年 龄:</td>
22
+            <td width="40">年龄:</td>
23
             <td width="40">
23
             <td width="40">
24
               <div class="under-line">{{ getAge(patientInfo) }}</div>
24
               <div class="under-line">{{ getAge(patientInfo) }}</div>
25
             </td>
25
             </td>
26
             <td>岁</td>
26
             <td>岁</td>
27
             <td width="10"></td>
27
             <td width="10"></td>
28
-
28
+            <td width="60">病例号:</td>
29
+            <td width="50">
30
+              <div class="under-line">{{ patientInfo.dialysis_no }}</div>
31
+            </td>
32
+            <td width="10"></td>
29
             <td width="70">透析机号:</td>
33
             <td width="70">透析机号:</td>
30
             <td width="100">
34
             <td width="100">
31
               <div class="under-line">{{ getNumber() }}</div>
35
               <div class="under-line">{{ getNumber() }}</div>
32
             </td>
36
             </td>
33
-            <td width="30"></td>
34
             <td>
37
             <td>
35
                 日期:<div class="under_line" style="width:50px;display: inline-block;text-align:center;">{{ queryParams.xtdate.slice(0,4) }}</div>年
38
                 日期:<div class="under_line" style="width:50px;display: inline-block;text-align:center;">{{ queryParams.xtdate.slice(0,4) }}</div>年
36
                 <div class="under_line" style="width:50px;display: inline-block;text-align:center;">{{ queryParams.xtdate.slice(5,7) }}</div>月
39
                 <div class="under_line" style="width:50px;display: inline-block;text-align:center;">{{ queryParams.xtdate.slice(5,7) }}</div>月
37
                 <div class="under_line" style="width:50px;display: inline-block;text-align:center;">{{ queryParams.xtdate.slice(8,11) }}</div>日
40
                 <div class="under_line" style="width:50px;display: inline-block;text-align:center;">{{ queryParams.xtdate.slice(8,11) }}</div>日
38
             </td>
41
             </td>
39
-            <td width='10'></td>
40
           </tr>
42
           </tr>
41
         </tbody>
43
         </tbody>
42
       </table>
44
       </table>
161
                     <td width='100'>动脉穿刺方向:</td>
163
                     <td width='100'>动脉穿刺方向:</td>
162
                     <td width="120">
164
                     <td width="120">
163
                       <div>
165
                       <div>
164
-                        <label-box :isChecked="predialysis.puncture_way.indexOf('顺穿') > -1 ? true : false" showValue="顺穿"></label-box>
166
+                        <label-box :isChecked="predialysis.puncture_way ? predialysis.puncture_way.indexOf('顺穿') > -1 ? true : false : false" showValue="顺穿"></label-box>
165
                         &nbsp;
167
                         &nbsp;
166
-                        <label-box :isChecked="predialysis.puncture_way.indexOf('反穿') > -1 ? true : false" showValue="反穿"></label-box>
168
+                        <label-box :isChecked="predialysis.puncture_way ? predialysis.puncture_way.indexOf('反穿') > -1 ? true : false : false" showValue="反穿"></label-box>
167
                         &nbsp;
169
                         &nbsp;
168
                       </div>
170
                       </div>
169
                     </td>
171
                     </td>
174
               <table class="table-box">
176
               <table class="table-box">
175
                 <tbody>
177
                 <tbody>
176
                   <tr>
178
                   <tr>
177
-                    <td width="80"></td>
179
+                    <td width="80"><span style="font-weight:bold;">内瘘震颤</span></td>
180
+                    <td width="160">
181
+                      <div>
182
+                        <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false" showValue="存在"></label-box>
183
+                        &nbsp;
184
+                        <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false" showValue="减弱"></label-box>
185
+                        &nbsp;
186
+                        <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false" showValue="无"></label-box>
187
+                      </div>
188
+                    </td>
189
+                    <td width='30'></td>
190
+                    <td width='100'>穿刺针型号:</td>
191
+                    <td>
192
+                      <div class="under-line" style="text-align:left;">{{ predialysis.puncture_needle ? predialysis.puncture_needle : '/' }}</div>
193
+                      <!-- <div>
194
+                        <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G') > -1 ? true : predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G-静脉') > -1 ? true : false" showValue="16G"></label-box>
195
+                        &nbsp;
196
+                        <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G') > -1 ? true : predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G-静脉') > -1 ? true : false" showValue="17G"></label-box>
197
+                        &nbsp;
198
+                      </div> -->
199
+                    </td>
200
+                    <td></td>
201
+                  </tr>
202
+                </tbody>
203
+              </table>
204
+              <table class="table-box">
205
+                <tbody>
206
+                  <tr>
207
+                    <td width="10"></td>
178
                     <td width="85">
208
                     <td width="85">
179
                       <div>
209
                       <div>
180
                         <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('静脉置管-临时') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('静脉置管-长期') > -1 ? true : false" showValue="静脉置管"></label-box>
210
                         <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('静脉置管-临时') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('静脉置管-长期') > -1 ? true : false" showValue="静脉置管"></label-box>
222
               <table class="table-box">
252
               <table class="table-box">
223
                 <tbody>
253
                 <tbody>
224
                   <tr>
254
                   <tr>
225
-                    <td width="80"></td>
226
-                    <td width="70">内瘘震颤:</td>
227
-                    <td width="160">
228
-                      <div>
229
-                        <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false" showValue="存在"></label-box>
230
-                        &nbsp;
231
-                        <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false" showValue="减弱"></label-box>
232
-                        &nbsp;
233
-                        <label-box :isChecked="predialysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false" showValue="无"></label-box>
234
-                      </div>
235
-                    </td>
236
-                    <td width='30'></td>
237
                     <td width='50'>导管:</td>
255
                     <td width='50'>导管:</td>
238
                     <td width='60'>管腔外露</td>
256
                     <td width='60'>管腔外露</td>
239
                     <td width="60">
257
                     <td width="60">
263
                   </tr>
281
                   </tr>
264
                 </tbody>
282
                 </tbody>
265
               </table>
283
               </table>
266
-              <table class="table-box">
267
-                <tbody>
268
-                  <tr>
269
-                    <!-- <td width="190"></td> -->
270
-                    <td width='100'>穿刺针型号:</td>
271
-                    <td>
272
-                      <div class="under-line" style="text-align:left;">{{ predialysis.puncture_needle ? predialysis.puncture_needle : '/' }}</div>
273
-                      <!-- <div>
274
-                        <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G') > -1 ? true : predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G-静脉') > -1 ? true : false" showValue="16G"></label-box>
275
-                        &nbsp;
276
-                        <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G') > -1 ? true : predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G-静脉') > -1 ? true : false" showValue="17G"></label-box>
277
-                        &nbsp;
278
-                      </div> -->
279
-                    </td>
280
-                    <!-- <td width='80'>钝针穿刺:</td>
281
-                    <td width="140">
282
-                      <div>
283
-                        <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G-动脉') > -1 ? true : predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G-动脉') > -1 ? true : false" showValue="动脉"></label-box>
284
-                        &nbsp;
285
-                        <label-box :isChecked="predialysis.puncture_needle && predialysis.puncture_needle.indexOf('16G-静脉') > -1 ? true : predialysis.puncture_needle && predialysis.puncture_needle.indexOf('17G-静脉') > -1 ? true : false" showValue="静脉"></label-box>
286
-                        &nbsp;)
287
-                      </div>
288
-                    </td> -->
289
-                    <td></td>
290
-                  </tr>
291
-                </tbody>
292
-              </table>
293
-
294
               <table class="table-box">
284
               <table class="table-box">
295
                 <tbody>
285
                 <tbody>
296
                   <tr>
286
                   <tr>
560
           <tr>
550
           <tr>
561
             <td width="70" style="height:40px;">主管医生:</td>
551
             <td width="70" style="height:40px;">主管医生:</td>
562
             <td width="100">
552
             <td width="100">
563
-                <div style="text-align: left;">
553
+                <div style="text-align: left;display: flex;align-items: center;">
564
                     <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
554
                     <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
565
                     <img class="es-img" style="height:38px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
555
                     <img class="es-img" style="height:38px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
566
                 </div>
556
                 </div>
568
             <td width="70">预冲护士:</td>
558
             <td width="70">预冲护士:</td>
569
             <td width="100">
559
             <td width="100">
570
 
560
 
571
-                <div style="text-align: left;">
561
+                <div style="text-align: left;display: flex;align-items: center;">
572
                     <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.washpipe_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.washpipe_nurse)}}</span>
562
                     <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.washpipe_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.washpipe_nurse)}}</span>
573
                     <img class="es-img" style="height:38px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.washpipe_nurse)" alt="" srcset="" v-else>
563
                     <img class="es-img" style="height:38px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.washpipe_nurse)" alt="" srcset="" v-else>
574
                 </div>
564
                 </div>
576
             <td width="100">穿刺/开管护士:</td>
566
             <td width="100">穿刺/开管护士:</td>
577
             <td width="100">
567
             <td width="100">
578
 
568
 
579
-                <div style="text-align: left;">
569
+                <div style="text-align: left;display: flex;align-items: center;">
580
                     <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.puncture_nurse)}}</span>
570
                     <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.puncture_nurse)}}</span>
581
                     <img class="es-img" style="height:38px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse)" alt="" srcset="" v-else>
571
                     <img class="es-img" style="height:38px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse)" alt="" srcset="" v-else>
582
                 </div>
572
                 </div>
584
             <td width="70">核对护士:</td>
574
             <td width="70">核对护士:</td>
585
             <td width="100">
575
             <td width="100">
586
 
576
 
587
-                <div style="text-align: left;">
577
+                <div style="text-align: left;display: flex;align-items: center;">
588
                   <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
578
                   <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
589
                   {{ getAdminUser(check == null ? 0 : check.modifier) }}
579
                   {{ getAdminUser(check == null ? 0 : check.modifier) }}
590
                   </span>
580
                   </span>
672
               &nbsp;{{ monitor.blood_sugar ? monitor.blood_sugar : "" }}
662
               &nbsp;{{ monitor.blood_sugar ? monitor.blood_sugar : "" }}
673
             </td>
663
             </td>
674
             <td style="text-align:left;padding-left:5px;">
664
             <td style="text-align:left;padding-left:5px;">
675
-                <span>
665
+                <span style="display:flex;align-items:center;">
676
                     <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">{{ getAdminUser(monitor.monitoring_nurse) }}</span>
666
                     <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">{{ getAdminUser(monitor.monitoring_nurse) }}</span>
677
                     <img class="es-img" style="height:38px" :src="setAdminUserES(monitor.monitoring_nurse)" alt srcset v-else />
667
                     <img class="es-img" style="height:38px" :src="setAdminUserES(monitor.monitoring_nurse)" alt srcset v-else />
678
                 </span>
668
                 </span>
724
                     <td width="50">kt/v:</td>
714
                     <td width="50">kt/v:</td>
725
                     <td width='120'>
715
                     <td width='120'>
726
                         <div class="under-line">
716
                         <div class="under-line">
727
-                          &nbsp;
717
+                          &nbsp;{{ monitorsKtv ? monitorsKtv : '' }}
728
                         </div>
718
                         </div>
729
                     </td>
719
                     </td>
730
                     <td></td>
720
                     <td></td>
822
                                 <label-box :isChecked="afterdialysis.sealing_fluid_dispose.indexOf('常规(肝素/NS)')>-1?true:false" showValue="常规(肝素/NS)"></label-box>&nbsp;
812
                                 <label-box :isChecked="afterdialysis.sealing_fluid_dispose.indexOf('常规(肝素/NS)')>-1?true:false" showValue="常规(肝素/NS)"></label-box>&nbsp;
823
                             </td>
813
                             </td>
824
                             <td width="50">
814
                             <td width="50">
825
-                                <label-box :isChecked="afterdialysis.sealing_fluid_dispose.indexOf('1:1')>-1?true:false" showValue="1:1"></label-box>&nbsp;
815
+                                <label-box :isChecked="afterdialysis.sealing_fluid_dispose.indexOf('1:1')>-1?true:afterdialysis.sealing_fluid_dispose.indexOf('1:1')>-1?true:false" showValue="1:1"></label-box>&nbsp;
826
                             </td>
816
                             </td>
827
                             <td width="50">
817
                             <td width="50">
828
-                                <label-box :isChecked="afterdialysis.sealing_fluid_dispose.indexOf('1:3')>-1?true:false" showValue="1:3"></label-box>&nbsp;
818
+                                <label-box :isChecked="afterdialysis.sealing_fluid_dispose.indexOf('1:3')>-1?true:afterdialysis.sealing_fluid_dispose.indexOf('1:3')>-1?true:false" showValue="1:3"></label-box>&nbsp;
829
                             </td>
819
                             </td>
830
                             <td width="190">
820
                             <td width="190">
831
                                 <label-box :isChecked="afterdialysis.sealing_fluid_dispose.indexOf('特殊(尿激酶/肝素/NS)')>-1?true:false" showValue="特殊(尿激酶/肝素/NS)"></label-box>&nbsp;
821
                                 <label-box :isChecked="afterdialysis.sealing_fluid_dispose.indexOf('特殊(尿激酶/肝素/NS)')>-1?true:false" showValue="特殊(尿激酶/肝素/NS)"></label-box>&nbsp;
922
                     <td width="90" style="height:40px;">当班责任护士:</td>
912
                     <td width="90" style="height:40px;">当班责任护士:</td>
923
                     <td width="100">
913
                     <td width="100">
924
                       <div>
914
                       <div>
915
+                        <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
916
+                        {{ getAdminUser(check == null ? 0 : check.modifier) }}
917
+                        </span>
918
+                        <img style="height:30px;" :src="setAdminUserES(check == null ? 0 : check.modifier)" alt srcset v-else />
925
                       </div>
919
                       </div>
926
                     </td>
920
                     </td>
927
                     <td width="150"></td>
921
                     <td width="150"></td>
953
           <td width='80'>护士签名</td>
947
           <td width='80'>护士签名</td>
954
         </tr>
948
         </tr>
955
         <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index" >
949
         <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index" >
956
-          <td style="height:40px;line-height:40px">{{ getTime(advice.start_time, "{h}:{i}") }}</td>
950
+          <td style="height:40px;line-height:40px;padding:0 1px !important;">{{ getTime(advice.start_time, "{h}:{i}") }}</td>
957
           <td class="parent" style="text-align:left;padding-left:10px;">
951
           <td class="parent" style="text-align:left;padding-left:10px;">
958
             <div style="display:flex;height:100%;">
952
             <div style="display:flex;height:100%;">
959
-              <span style="width:70%;display:inline-block;">
960
-                <span v-if="advice.parent_id > 0">/</span>
953
+              <span style="width:65%;display:inline-block;">
954
+                <span v-if="advice.parent_id > 0">---></span>
961
                 <span>{{ advice.advice_name }}</span>
955
                 <span>{{ advice.advice_name }}</span>
962
                 <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
956
                 <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
963
                 <span v-if="advice.prescribing_number"> &nbsp;&nbsp; {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</span>
957
                 <span v-if="advice.prescribing_number"> &nbsp;&nbsp; {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</span>
964
                 <span v-if="advice.single_dose != 0">{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
958
                 <span v-if="advice.single_dose != 0">{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
965
-                
966
                 <span v-if="advice.parent_id == 0">{{ advice.execution_frequency }}</span>
959
                 <span v-if="advice.parent_id == 0">{{ advice.execution_frequency }}</span>
967
                 <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
960
                 <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
968
               </span>
961
               </span>
969
-              <span v-if="advice.parent_id == 0" style="display: flex;align-items: baseline;"><span v-if="advice.delivery_way != ''" style="transform:rotate(30deg);border-left:1px solid #000;display:inline-block;height:100%;"></span>{{ advice.delivery_way }}</span>
962
+              <span style="display: flex;align-items: baseline;">
963
+                {{ advice.delivery_way }}
964
+              </span>
970
             </div>
965
             </div>
971
           </td>
966
           </td>
972
           <td>
967
           <td>
973
-            <span v-if="setAdminUserES(advice.advice_doctor) == ''">
968
+            <span>
974
               {{ getAdminUser(advice.advice_doctor) }}
969
               {{ getAdminUser(advice.advice_doctor) }}
975
             </span>
970
             </span>
976
-            <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
977
-              <img style="height:38px;" :src="setAdminUserES(advice.advice_doctor)" alt srcset />
978
-            </span>
979
           </td>
971
           </td>
980
           
972
           
981
           
973
           
982
           <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
974
           <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
983
           <td>
975
           <td>
984
-            <span v-if="setAdminUserES(advice.execution_staff) == ''">
976
+            <span>
985
               {{ getAdminUser(advice.execution_staff) }}
977
               {{ getAdminUser(advice.execution_staff) }}
986
             </span>
978
             </span>
987
-            <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
988
-              <img style="height:38px;" :src="setAdminUserES(advice.execution_staff)" alt srcset />
989
-            </span>
990
           </td>
979
           </td>
991
         </tr>
980
         </tr>
992
         <tr v-for="(advice, advice_index) in projects" :key="advice_index + 'no'">
981
         <tr v-for="(advice, advice_index) in projects" :key="advice_index + 'no'">
999
             <span v-if="setAdminUserES(advice.doctor) == ''">
988
             <span v-if="setAdminUserES(advice.doctor) == ''">
1000
               {{ getAdminUser(advice.doctor) }}
989
               {{ getAdminUser(advice.doctor) }}
1001
             </span>
990
             </span>
1002
-            <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
1003
-              <img style="height:38px;" :src="setAdminUserES(advice.doctor)" alt srcset />
991
+            <span v-else style="display:flex;align-items:center;justify-content:space-between;height:36px;padding-left:5px;">
992
+              <img style="height:20px;" :src="setAdminUserES(advice.doctor)" alt srcset />
1004
             </span>
993
             </span>
1005
           </td>
994
           </td>
1006
           
995
           
1010
             <span v-if="setAdminUserES(advice.execution_staff) == ''">
999
             <span v-if="setAdminUserES(advice.execution_staff) == ''">
1011
               {{ getAdminUser(advice.execution_staff) }}
1000
               {{ getAdminUser(advice.execution_staff) }}
1012
             </span>
1001
             </span>
1013
-            <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
1014
-              <img style="height:38px;" :src="setAdminUserES(advice.execution_staff)" alt srcset />
1002
+            <span v-else style="display:flex;align-items:center;justify-content:space-between;height:36px;padding-left:5px;">
1003
+              <img style="height:20px;" :src="setAdminUserES(advice.execution_staff)" alt srcset />
1015
             </span>
1004
             </span>
1016
           </td>
1005
           </td>
1017
         </tr>
1006
         </tr>
1143
       },
1132
       },
1144
       org_id:0,
1133
       org_id:0,
1145
       tableAdvice:[],
1134
       tableAdvice:[],
1146
-      projects:[]
1135
+      projects:[],
1136
+      monitorsKtv:0
1147
     }
1137
     }
1148
   },
1138
   },
1149
   methods: {
1139
   methods: {
1150
     getBloodFlow(id){
1140
     getBloodFlow(id){
1151
         let BloodFlowOptions = getDataConfig('hemodialysis', 'blood_flow')
1141
         let BloodFlowOptions = getDataConfig('hemodialysis', 'blood_flow')
1142
+        console.log('BloodFlowOptions',BloodFlowOptions)
1152
         if (id in BloodFlowOptions) {
1143
         if (id in BloodFlowOptions) {
1153
             return BloodFlowOptions[id].name
1144
             return BloodFlowOptions[id].name
1154
         }
1145
         }
1415
           // this.advices = response.data.data.advices
1406
           // this.advices = response.data.data.advices
1416
 
1407
 
1417
           this.advices =  response.data.data.advices.concat(response.data.data.doctorAdvice)
1408
           this.advices =  response.data.data.advices.concat(response.data.data.doctorAdvice)
1418
-
1419
-          this.monitors = response.data.data.monitors
1409
+          let monitors = response.data.data.monitors
1410
+          this.monitors = JSON.parse(JSON.stringify(response.data.data.monitors))
1411
+          this.monitorsKtv = monitors.length > 0 ? monitors[monitors.length - 1].ktv : ''
1420
           this.summary = response.data.data.summary
1412
           this.summary = response.data.data.summary
1421
           this.org_template_info = response.data.data.org_template_info
1413
           this.org_template_info = response.data.data.org_template_info
1422
           // 配置超滤量和置换量是否要显示0还是空
1414
           // 配置超滤量和置换量是否要显示0还是空
1432
           this.jilurow = this.monitors.length + 1
1424
           this.jilurow = this.monitors.length + 1
1433
           this.projects = response.data.data.projects
1425
           this.projects = response.data.data.projects
1434
           var doctorAdevieInfo = response.data.data.advices
1426
           var doctorAdevieInfo = response.data.data.advices
1427
+          console.log('doctorAdevieInfo',doctorAdevieInfo)
1435
           var tableAdvice = doctorAdevieInfo
1428
           var tableAdvice = doctorAdevieInfo
1436
-          if (tableAdvice.length + this.projects.length < 30) {
1437
-            var nl = 30 - (tableAdvice.length + this.projects.length)
1429
+          if (tableAdvice.length + this.projects.length < 28) {
1430
+            var nl = 28 - (tableAdvice.length + this.projects.length)
1438
             for (let index = 0; index < nl; index++) {
1431
             for (let index = 0; index < nl; index++) {
1439
               this.projects.push([])
1432
               this.projects.push([])
1440
             }
1433
             }
1443
 
1436
 
1444
 
1437
 
1445
 
1438
 
1446
-          this.advice_jilurow = this.advices.length + 1
1447
-
1448
-          var childMap = {}
1449
-          for (const index in this.advices) {
1450
-            if (this.advices[index].parent_id == 0) {
1451
-              continue
1452
-            }
1453
-            if (!(this.advices[index].parent_id in childMap)) {
1454
-              childMap[this.advices[index].parent_id] = []
1455
-            }
1456
-            childMap[this.advices[index].parent_id].push(this.advices[index])
1457
-          }
1458
-
1459
-          var advices = []
1460
-          for (const index in this.advices) {
1461
-            if (this.advices[index].parent_id > 0) {
1462
-              continue
1463
-            }
1464
-            var item = this.advices[index]
1465
-            if (item.id in childMap) {
1466
-              item.children = childMap[item.id]
1467
-            } else {
1468
-              item.children = []
1469
-            }
1470
-            advices.push(item)
1471
-          }
1472
-
1473
-          var leftAdvice = []
1474
-          var rightAdvice = []
1475
-          var adlen = advices.length
1476
-
1477
-          var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
1478
-          for (var i = 0; i < halfLen; i++) {
1479
-            leftAdvice.push(advices[i])
1480
-            rightAdvice.push(advices[i + halfLen])
1481
-          }
1482
-          if (halfLen < 5) {
1483
-            var nl = 5 - leftAdvice.length
1484
-            for (let index = 0; index < nl; index++) {
1485
-              leftAdvice.push([])
1486
-            }
1487
-            var nl = 5 - rightAdvice.length
1488
-            for (let index = 0; index < nl; index++) {
1489
-              rightAdvice.push([])
1490
-            }
1491
-          }
1492
-
1493
-          this.advices = []
1494
-          for (var i = 0; i < halfLen; i++) {
1495
-            var item = []
1496
-            item.push(leftAdvice[i])
1497
-            item.push(rightAdvice[i])
1498
-            this.advices.push(item)
1499
-          }
1439
+          // this.advice_jilurow = this.advices.length + 1
1440
+
1441
+          // var childMap = {}
1442
+          // for (const index in this.advices) {
1443
+          //   if (this.advices[index].parent_id == 0) {
1444
+          //     continue
1445
+          //   }
1446
+          //   if (!(this.advices[index].parent_id in childMap)) {
1447
+          //     childMap[this.advices[index].parent_id] = []
1448
+          //   }
1449
+          //   childMap[this.advices[index].parent_id].push(this.advices[index])
1450
+          // }
1451
+
1452
+          // var advices = []
1453
+          // for (const index in this.advices) {
1454
+          //   if (this.advices[index].parent_id > 0) {
1455
+          //     continue
1456
+          //   }
1457
+          //   var item = this.advices[index]
1458
+          //   if (item.id in childMap) {
1459
+          //     item.children = childMap[item.id]
1460
+          //   } else {
1461
+          //     item.children = []
1462
+          //   }
1463
+          //   advices.push(item)
1464
+          // }
1465
+
1466
+          // var leftAdvice = []
1467
+          // var rightAdvice = []
1468
+          // var adlen = advices.length
1469
+
1470
+          // var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2
1471
+          // for (var i = 0; i < halfLen; i++) {
1472
+          //   leftAdvice.push(advices[i])
1473
+          //   rightAdvice.push(advices[i + halfLen])
1474
+          // }
1475
+          // if (halfLen < 5) {
1476
+          //   var nl = 5 - leftAdvice.length
1477
+          //   for (let index = 0; index < nl; index++) {
1478
+          //     leftAdvice.push([])
1479
+          //   }
1480
+          //   var nl = 5 - rightAdvice.length
1481
+          //   for (let index = 0; index < nl; index++) {
1482
+          //     rightAdvice.push([])
1483
+          //   }
1484
+          // }
1485
+
1486
+          // this.advices = []
1487
+          // for (var i = 0; i < halfLen; i++) {
1488
+          //   var item = []
1489
+          //   item.push(leftAdvice[i])
1490
+          //   item.push(rightAdvice[i])
1491
+          //   this.advices.push(item)
1492
+          // }
1500
           this.loading = false
1493
           this.loading = false
1501
 
1494
 
1502
           this.doctor_advices =
1495
           this.doctor_advices =