Browse Source

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

XMLWAN 5 years ago
parent
commit
75fb29c1b6

+ 4 - 1
src/store/getters.js View File

90
   disequilibrium_syndrome_option: state => state.global_config.disequilibrium_syndrome_option,
90
   disequilibrium_syndrome_option: state => state.global_config.disequilibrium_syndrome_option,
91
   arterial_tube: state => state.global_config.arterial_tube,
91
   arterial_tube: state => state.global_config.arterial_tube,
92
   intravenous_tube: state => state.global_config.intravenous_tube,
92
   intravenous_tube: state => state.global_config.intravenous_tube,
93
-  dialyzer: state => state.global_config.dialyzer
93
+  dialyzer: state => state.global_config.dialyzer,
94
+
95
+  channels: state => state.global_config.channels
96
+
94
 
97
 
95
 }
98
 }
96
 export default getters
99
 export default getters

+ 19 - 0
src/store/modules/globalConfig.js View File

2120
         id: 4,
2120
         id: 4,
2121
         name: 'A钝针'
2121
         name: 'A钝针'
2122
       }
2122
       }
2123
+    ],
2124
+    channels: [
2125
+      {
2126
+        id: 1,
2127
+        name: '无'
2128
+      },
2129
+      {
2130
+        id: 2,
2131
+        name: '+'
2132
+      },
2133
+      {
2134
+        id: 3,
2135
+        name: '++'
2136
+      },
2137
+      {
2138
+        id: 4,
2139
+        name: '+++'
2140
+      }
2123
     ]
2141
     ]
2142
+
2124
   },
2143
   },
2125
   mutations: {
2144
   mutations: {
2126
     SET_PATIENT_TYPE: (state, patientTypes) => {
2145
     SET_PATIENT_TYPE: (state, patientTypes) => {

+ 14 - 14
src/xt_pages/dialysis/batch_print/batch_print_order_eight.vue View File

193
                      <span v-if="record.prescription.anticoagulant==3">iu</span>
193
                      <span v-if="record.prescription.anticoagulant==3">iu</span>
194
                      <span v-if="record.prescription.anticoagulant==2">iu</span>
194
                      <span v-if="record.prescription.anticoagulant==2">iu</span>
195
                      <span v-if="record.prescription.anticoagulant==1">mg</span>&nbsp;
195
                      <span v-if="record.prescription.anticoagulant==1">mg</span>&nbsp;
196
-                    </span> 
196
+                    </span>
197
                   </td>
197
                   </td>
198
                   <td style="text-align:left;" colspan="1">
198
                   <td style="text-align:left;" colspan="1">
199
                     <span style="display:inline-block;margin-left:15px;"
199
                     <span style="display:inline-block;margin-left:15px;"
337
                   </td>
337
                   </td>
338
                 </tr>
338
                 </tr>
339
                 <tr>
339
                 <tr>
340
-                  <td style="text-align:left;" colspan="4"> 
340
+                  <td style="text-align:left;" colspan="4">
341
                     <span style="display:inline-block;margin-left:15px;">
341
                     <span style="display:inline-block;margin-left:15px;">
342
                      透前评估:
342
                      透前评估:
343
                       入科方式:
343
                       入科方式:
458
                 <tr>
458
                 <tr>
459
                   <td colspan="8" style="text-align:left;">
459
                   <td colspan="8" style="text-align:left;">
460
                     <span style="display:inline-block;margin-left:15px;">中心静脉导管:</span>
460
                     <span style="display:inline-block;margin-left:15px;">中心静脉导管:</span>
461
-                    <check-box text="正常" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '正常')"></check-box>
462
-                    <check-box text="不畅" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '不畅')"></check-box>
463
-                    <check-box text="血流不足" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '血流不足')"></check-box>
464
-                    (<check-box text="正接" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '正接')"></check-box>/
465
-                    <check-box text="反接" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '反接')"></check-box>)
466
-                    <check-box text="血栓" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '血栓')"></check-box>
467
-                    <check-box text="缝线脱落" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '缝线脱落')"></check-box>
468
-                    <check-box text="导管脱落" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '导管脱落')"></check-box>
469
-                    <check-box text="感染" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '感染')"></check-box>
470
-                    <check-box text="破损" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '破损')"></check-box>
461
+                    <check-box text="正常" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '正常')"></check-box>
462
+                    <check-box text="不畅" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '不畅')"></check-box>
463
+                    <check-box text="血流不足" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '血流不足')"></check-box>
464
+                    (<check-box text="正接" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '正接')"></check-box>/
465
+                    <check-box text="反接" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '反接')"></check-box>)
466
+                    <check-box text="血栓" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '血栓')"></check-box>
467
+                    <check-box text="缝线脱落" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '缝线脱落')"></check-box>
468
+                    <check-box text="导管脱落" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '导管脱落')"></check-box>
469
+                    <check-box text="感染" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '感染')"></check-box>
470
+                    <check-box text="破损" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '破损')"></check-box>
471
                   </td>
471
                   </td>
472
                 </tr>
472
                 </tr>
473
                 <tr>
473
                 <tr>
583
                               : false
583
                               : false
584
                           "
584
                           "
585
                         ></check-box>
585
                         ></check-box>
586
-                         
586
+
587
                   其他:{{
587
                   其他:{{
588
                             isCheckBoxChecked(
588
                             isCheckBoxChecked(
589
                               record.assessment_before_dislysis,
589
                               record.assessment_before_dislysis,
742
            </span>
742
            </span>
743
          </td>
743
          </td>
744
         </tr>
744
         </tr>
745
-      </table> 
745
+      </table>
746
        <table  class="print-table" border="1">
746
        <table  class="print-table" border="1">
747
         <tr>
747
         <tr>
748
           <th>时间</th>
748
           <th>时间</th>

+ 77 - 34
src/xt_pages/dialysis/batch_print/batch_print_order_five.vue View File

147
                     <div class="inline_block">
147
                     <div class="inline_block">
148
                       血管通路:<br>
148
                       血管通路:<br>
149
                       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(内瘘):
149
                       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(内瘘):
150
-                      <check-box text="自体内瘘" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula', '自体内瘘')"></check-box>
151
-                      <check-box text="人工血管内瘘" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula', '人工血管内瘘')"></check-box>
152
-                      <check-box text="正常" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula', '正常')"></check-box>
153
-                      <check-box text="震颤" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'blood_access_internal_fistula' ,'震颤')"></check-box>
154
-                      <check-box text="堵塞" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula', '堵塞')"></check-box>
155
-                      <check-box text="血肿" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula' ,'血肿')"></check-box>
156
-                      <check-box text="淤血" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula' ,'淤血')"></check-box>
157
-                      <check-box text="感染" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula' ,'感染')"></check-box>
150
+                      <check-box text="自体内瘘" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'internal_fistula', '自体内瘘')"></check-box>
151
+                      <check-box text="人工血管内瘘" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'internal_fistula', '人工血管内瘘')"></check-box>
152
+                      <check-box text="正常" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'internal_fistula', '正常')"></check-box>
153
+                      <check-box text="震颤" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'internal_fistula' ,'震颤')"></check-box>
154
+                      <check-box text="堵塞" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'internal_fistula', '堵塞')"></check-box>
155
+                      <check-box text="血肿" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'internal_fistula' ,'血肿')"></check-box>
156
+                      <check-box text="淤血" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'internal_fistula' ,'淤血')"></check-box>
157
+                      <check-box text="感染" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'internal_fistula' ,'感染')"></check-box>
158
                     </div>
158
                     </div>
159
                     <div class="inline_block">
159
                     <div class="inline_block">
160
                       其它:
160
                       其它:
190
                       <check-box text="长期" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'venous_catheterization', 1)"></check-box>
190
                       <check-box text="长期" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'venous_catheterization', 1)"></check-box>
191
                       <check-box text="临时" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'venous_catheterization', 2)"></check-box>
191
                       <check-box text="临时" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'venous_catheterization', 2)"></check-box>
192
                       &emsp;位置:
192
                       &emsp;位置:
193
-                      <check-box text="锁骨下" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'venous_catheterization_part', 1)"></check-box>
194
-                      <check-box text="颈静脉" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'venous_catheterization_part', 2)"></check-box>
195
-                      <check-box text="股静脉" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'venous_catheterization_part', 3)"></check-box>
193
+                      <check-box text="锁骨下" :checked=" record.assessment_before_dislysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','锁骨下')
194
+                          ? true
195
+                          : false"></check-box>
196
+                      <check-box text="颈静脉" :checked=" record.assessment_before_dislysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','颈静脉')
197
+                          ? true
198
+                          : false"></check-box>
199
+                      <check-box text="股静脉" :checked=" record.assessment_before_dislysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','股静脉')
200
+                          ? true
201
+                          : false"></check-box>
196
                       <div class="inline_block">
202
                       <div class="inline_block">
197
                         其它:
203
                         其它:
198
                         <div class="under_line" style="width: 200px;text-align: left">{{ record.assessment_before_dislysis?record.assessment_before_dislysis.venous_catheterization_part_other:''}}</div>
204
                         <div class="under_line" style="width: 200px;text-align: left">{{ record.assessment_before_dislysis?record.assessment_before_dislysis.venous_catheterization_part_other:''}}</div>
202
                   <div class="row" style="padding: 2px 0;line-height:19px;">
208
                   <div class="row" style="padding: 2px 0;line-height:19px;">
203
                     <div class="inline_block">
209
                     <div class="inline_block">
204
                       中心静脉导管:
210
                       中心静脉导管:
205
-                      <check-box text="正常" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '正常')"></check-box>
206
-                      <check-box text="不畅" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '不畅')"></check-box>
207
-                      <check-box text="血流不足" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '血流不足')"></check-box>
208
-                      (<check-box text="正接" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '正接')"></check-box>/
209
-                      <check-box text="反接" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '反接')"></check-box>)
210
-                      <check-box text="血栓" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '血栓')"></check-box>
211
-                      <check-box text="缝线脱落" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '缝线脱落')"></check-box>
212
-                      <check-box text="导管脱落" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '导管脱落')"></check-box>
213
-                      <check-box text="感染" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '感染')"></check-box>
214
-                      <check-box text="破损" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '破损')"></check-box>
211
+                      <check-box text="正常" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '正常')"></check-box>
212
+                      <check-box text="不畅" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '不畅')"></check-box>
213
+                      <check-box text="血流不足" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '血流不足')"></check-box>
214
+                      (<check-box text="正接" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '正接')"></check-box>/
215
+                      <check-box text="反接" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '反接')"></check-box>)
216
+                      <check-box text="血栓" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '血栓')"></check-box>
217
+                      <check-box text="缝线脱落" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '缝线脱落')"></check-box>
218
+                      <check-box text="导管脱落" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '导管脱落')"></check-box>
219
+                      <check-box text="感染" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '感染')"></check-box>
220
+                      <check-box text="破损" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '破损')"></check-box>
215
                     </div>
221
                     </div>
216
                     <div class="inline_block">
222
                     <div class="inline_block">
217
                       其它:
223
                       其它:
602
                   <div class="row" style="padding: 2px 0;line-height:19px;">
608
                   <div class="row" style="padding: 2px 0;line-height:19px;">
603
                     <div class="inline_block">
609
                     <div class="inline_block">
604
                       内瘘震颤和血管杂音:
610
                       内瘘震颤和血管杂音:
605
-                      <check-box text="存在" :checked="isCheckBoxChecked(record.assessment_after_dislysis, 'tremor_noise', 1)"></check-box>
606
-                      <check-box text="减弱" :checked="isCheckBoxChecked(record.assessment_after_dislysis, 'tremor_noise', 2)"></check-box>
607
-                      <check-box text="不存在" :checked="isCheckBoxChecked(record.assessment_after_dislysis, 'tremor_noise', 3)"></check-box>
611
+                      <check-box text="正常" :checked="record.assessment_after_dislysis.internal_fistula.indexOf('正常') > -1
612
+                          ? true
613
+                          : false"></check-box>
614
+                      <check-box text="减弱" :checked="record.assessment_after_dislysis.internal_fistula.indexOf('减弱') > -1
615
+                          ? true
616
+                          : false"></check-box>
617
+                      <check-box text="不存在" :checked="record.assessment_after_dislysis.internal_fistula.indexOf('不存在') > -1
618
+                          ? true
619
+                          : false"></check-box>
608
                     </div>
620
                     </div>
609
                     <div class="inline_block">
621
                     <div class="inline_block">
610
                       &emsp;失衡综合症:
622
                       &emsp;失衡综合症:
611
-                      <check-box text="无" :checked="isCheckBoxChecked(record.assessment_after_dislysis, 'disequilibrium_syndrome', 1)"></check-box>
612
-                      <check-box text="有" :checked="isCheckBoxChecked(record.assessment_after_dislysis, 'disequilibrium_syndrome', 2)"></check-box>
623
+                      <check-box text="无" :checked=" record.assessment_after_dislysis.complication.indexOf('无') > -1
624
+                          ? true
625
+                          : false"></check-box>
626
+                      <check-box text="有" :checked="record.assessment_after_dislysis.complication.indexOf('头晕') > -1 ||
627
+                          record.assessment_after_dislysis.complication.indexOf('头痛') > -1||
628
+                            record.assessment_after_dislysis.complication.indexOf('呕吐') > -1||
629
+                              record.assessment_after_dislysis.complication.indexOf('低血压') > -1
630
+                          ? true
631
+                          : false"></check-box>
613
                     </div>
632
                     </div>
614
                     <div class="inline_block">
633
                     <div class="inline_block">
615
634
616
-                      <check-box text="头晕" :checked="isValueIndexOfCheck(record.assessment_after_dislysis, 'disequilibrium_syndrome_option', '头晕')"></check-box>
617
-                      <check-box text="头痛" :checked="isValueIndexOfCheck(record.assessment_after_dislysis, 'disequilibrium_syndrome_option', '头痛')"></check-box>
618
-                      <check-box text="呕吐" :checked="isValueIndexOfCheck(record.assessment_after_dislysis, 'disequilibrium_syndrome_option', '呕吐')"></check-box>
619
-                      <check-box text="低血压" :checked="isValueIndexOfCheck(record.assessment_after_dislysis, 'disequilibrium_syndrome_option', '低血压')"></check-box>
635
+                      <check-box text="头晕" :checked=" record.assessment_after_dislysis.complication.indexOf('头晕') > -1
636
+                          ? true
637
+                          : false"></check-box>
638
+                      <check-box text="头痛" :checked="  record.assessment_after_dislysis.complication.indexOf('头痛') > -1
639
+                          ? true
640
+                          : false"></check-box>
641
+                      <check-box text="呕吐" :checked="  record.assessment_after_dislysis.complication.indexOf('呕吐') > -1
642
+                          ? true
643
+                          : false"></check-box>
644
+                      <check-box text="低血压" :checked="  record.assessment_after_dislysis.complication.indexOf('低血压') > -1
645
+                          ? true
646
+                          : false"></check-box>
620
647
621
                     </div>
648
                     </div>
622
                   </div>
649
                   </div>
638
                     </div>
665
                     </div>
639
                     <div class="inline_block">
666
                     <div class="inline_block">
640
                       &emsp;透析器:
667
                       &emsp;透析器:
641
-                      <check-box text="0" :checked="isCheckBoxChecked(record.assessment_after_dislysis, 'dialyzer', 1)"></check-box>
642
-                      <check-box text="+" :checked="isCheckBoxChecked(record.assessment_after_dislysis, 'dialyzer', 2)"></check-box>
643
-                      <check-box text="++" :checked="isCheckBoxChecked(record.assessment_after_dislysis, 'dialyzer', 3)"></check-box>
644
-                      <check-box text="+++" :checked="isCheckBoxChecked(record.assessment_after_dislysis, 'dialyzer', 4)"></check-box>
668
+                      <check-box text="0" :checked="record.assessment_after_dislysis.cruor.indexOf('透析器-0度') > -1
669
+                          ? true
670
+                          : false"></check-box>
671
+                      <check-box text="+" :checked="record.assessment_after_dislysis.cruor.indexOf('透析器-Ⅰ度') > -1
672
+                          ? true
673
+                          : false"></check-box>
674
+                      <check-box text="++" :checked="record.assessment_after_dislysis.cruor.indexOf('透析器-Ⅱ度') > -1
675
+                          ? true
676
+                          : false"></check-box>
677
+                      <check-box text="+++" :checked="record.assessment_after_dislysis.cruor.indexOf('透析器-Ⅲ度') > -1
678
+                          ? true
679
+                          : false"></check-box>
645
                     </div>
680
                     </div>
646
                   </div>
681
                   </div>
647
                 </td>
682
                 </td>
1569
       })
1604
       })
1570
     },
1605
     },
1571
     methods: {
1606
     methods: {
1607
+      getIsCheckDataConfig(pName, cName, targetName){
1608
+        var arr = getDataConfig(pName,cName)
1609
+        for (let i = 0; i < arr.length; i++){
1610
+          if (arr[i].name == targetName){
1611
+            return arr[i].id
1612
+          }
1613
+        }
1614
+      },
1572
       printAction: function() {
1615
       printAction: function() {
1573
         const style = '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
1616
         const style = '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
1574
 
1617
 

+ 77 - 34
src/xt_pages/dialysis/batch_print/batch_print_order_five_one.vue View File

147
                     <div class="inline_block">
147
                     <div class="inline_block">
148
                       血管通路:<br>
148
                       血管通路:<br>
149
                       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(内瘘):
149
                       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(内瘘):
150
-                      <check-box text="自体内瘘" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula', '自体内瘘')"></check-box>
151
-                      <check-box text="人工血管内瘘" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula', '人工血管内瘘')"></check-box>
152
-                      <check-box text="正常" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula', '正常')"></check-box>
153
-                      <check-box text="震颤" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'blood_access_internal_fistula' ,'震颤')"></check-box>
154
-                      <check-box text="堵塞" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula', '堵塞')"></check-box>
155
-                      <check-box text="血肿" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula' ,'血肿')"></check-box>
156
-                      <check-box text="淤血" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula' ,'淤血')"></check-box>
157
-                      <check-box text="感染" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'blood_access_internal_fistula' ,'感染')"></check-box>
150
+                      <check-box text="自体内瘘" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'internal_fistula', '自体内瘘')"></check-box>
151
+                      <check-box text="人工血管内瘘" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'internal_fistula', '人工血管内瘘')"></check-box>
152
+                      <check-box text="正常" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'internal_fistula', '正常')"></check-box>
153
+                      <check-box text="震颤" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'internal_fistula' ,'震颤')"></check-box>
154
+                      <check-box text="堵塞" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'internal_fistula', '堵塞')"></check-box>
155
+                      <check-box text="血肿" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'internal_fistula' ,'血肿')"></check-box>
156
+                      <check-box text="淤血" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'internal_fistula' ,'淤血')"></check-box>
157
+                      <check-box text="感染" :checked="isValueIndexOfCheck(record.assessment_before_dislysis,'internal_fistula' ,'感染')"></check-box>
158
                     </div>
158
                     </div>
159
                     <div class="inline_block">
159
                     <div class="inline_block">
160
                       其它:
160
                       其它:
190
                       <check-box text="长期" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'venous_catheterization', 1)"></check-box>
190
                       <check-box text="长期" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'venous_catheterization', 1)"></check-box>
191
                       <check-box text="临时" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'venous_catheterization', 2)"></check-box>
191
                       <check-box text="临时" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'venous_catheterization', 2)"></check-box>
192
                       &emsp;位置:
192
                       &emsp;位置:
193
-                      <check-box text="锁骨下" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'venous_catheterization_part', 1)"></check-box>
194
-                      <check-box text="颈静脉" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'venous_catheterization_part', 2)"></check-box>
195
-                      <check-box text="股静脉" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'venous_catheterization_part', 3)"></check-box>
193
+                      <check-box text="锁骨下" :checked=" record.assessment_before_dislysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','锁骨下')
194
+                          ? true
195
+                          : false"></check-box>
196
+                      <check-box text="颈静脉" :checked=" record.assessment_before_dislysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','颈静脉')
197
+                          ? true
198
+                          : false"></check-box>
199
+                      <check-box text="股静脉" :checked=" record.assessment_before_dislysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','股静脉')
200
+                          ? true
201
+                          : false"></check-box>
196
                       <div class="inline_block">
202
                       <div class="inline_block">
197
                         其它:
203
                         其它:
198
                         <div class="under_line" style="width: 200px;text-align: left">{{ record.assessment_before_dislysis?record.assessment_before_dislysis.venous_catheterization_part_other:''}}</div>
204
                         <div class="under_line" style="width: 200px;text-align: left">{{ record.assessment_before_dislysis?record.assessment_before_dislysis.venous_catheterization_part_other:''}}</div>
202
                   <div class="row" style="padding: 2px 0;line-height:19px;">
208
                   <div class="row" style="padding: 2px 0;line-height:19px;">
203
                     <div class="inline_block">
209
                     <div class="inline_block">
204
                       中心静脉导管:
210
                       中心静脉导管:
205
-                      <check-box text="正常" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '正常')"></check-box>
206
-                      <check-box text="不畅" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '不畅')"></check-box>
207
-                      <check-box text="血流不足" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '血流不足')"></check-box>
208
-                      (<check-box text="正接" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '正接')"></check-box>/
209
-                      <check-box text="反接" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '反接')"></check-box>)
210
-                      <check-box text="血栓" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '血栓')"></check-box>
211
-                      <check-box text="缝线脱落" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '缝线脱落')"></check-box>
212
-                      <check-box text="导管脱落" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '导管脱落')"></check-box>
213
-                      <check-box text="感染" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '感染')"></check-box>
214
-                      <check-box text="破损" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'ductus_arantii', '破损')"></check-box>
211
+                      <check-box text="正常" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '正常')"></check-box>
212
+                      <check-box text="不畅" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '不畅')"></check-box>
213
+                      <check-box text="血流不足" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '血流不足')"></check-box>
214
+                      (<check-box text="正接" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '正接')"></check-box>/
215
+                      <check-box text="反接" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '反接')"></check-box>)
216
+                      <check-box text="血栓" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '血栓')"></check-box>
217
+                      <check-box text="缝线脱落" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '缝线脱落')"></check-box>
218
+                      <check-box text="导管脱落" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '导管脱落')"></check-box>
219
+                      <check-box text="感染" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '感染')"></check-box>
220
+                      <check-box text="破损" :checked="isValueIndexOfCheck(record.assessment_before_dislysis, 'catheter', '破损')"></check-box>
215
                     </div>
221
                     </div>
216
                     <div class="inline_block">
222
                     <div class="inline_block">
217
                       其它:
223
                       其它:
600
                   <div class="row" style="padding: 2px 0;line-height:19px;">
606
                   <div class="row" style="padding: 2px 0;line-height:19px;">
601
                     <div class="inline_block">
607
                     <div class="inline_block">
602
                       内瘘震颤和血管杂音:
608
                       内瘘震颤和血管杂音:
603
-                      <check-box text="存在" :checked="isCheckBoxChecked(record.assessment_after_dislysis, 'tremor_noise', 1)"></check-box>
604
-                      <check-box text="减弱" :checked="isCheckBoxChecked(record.assessment_after_dislysis, 'tremor_noise', 2)"></check-box>
605
-                      <check-box text="不存在" :checked="isCheckBoxChecked(record.assessment_after_dislysis, 'tremor_noise', 3)"></check-box>
609
+                      <check-box text="正常" :checked="record.assessment_after_dislysis.internal_fistula.indexOf('正常') > -1
610
+                          ? true
611
+                          : false"></check-box>
612
+                      <check-box text="减弱" :checked="record.assessment_after_dislysis.internal_fistula.indexOf('减弱') > -1
613
+                          ? true
614
+                          : false"></check-box>
615
+                      <check-box text="不存在" :checked="record.assessment_after_dislysis.internal_fistula.indexOf('不存在') > -1
616
+                          ? true
617
+                          : false"></check-box>
606
                     </div>
618
                     </div>
607
                     <div class="inline_block">
619
                     <div class="inline_block">
608
                       &emsp;失衡综合症:
620
                       &emsp;失衡综合症:
609
-                      <check-box text="无" :checked="isCheckBoxChecked(record.assessment_after_dislysis, 'disequilibrium_syndrome', 1)"></check-box>
610
-                      <check-box text="有" :checked="isCheckBoxChecked(record.assessment_after_dislysis, 'disequilibrium_syndrome', 2)"></check-box>
621
+                      <check-box text="无" :checked=" record.assessment_after_dislysis.complication.indexOf('无') > -1
622
+                          ? true
623
+                          : false"></check-box>
624
+                      <check-box text="有" :checked="record.assessment_after_dislysis.complication.indexOf('头晕') > -1 ||
625
+                          record.assessment_after_dislysis.complication.indexOf('头痛') > -1||
626
+                            record.assessment_after_dislysis.complication.indexOf('呕吐') > -1||
627
+                              record.assessment_after_dislysis.complication.indexOf('低血压') > -1
628
+                          ? true
629
+                          : false"></check-box>
611
                     </div>
630
                     </div>
612
                     <div class="inline_block">
631
                     <div class="inline_block">
613
632
614
-                      <check-box text="头晕" :checked="isValueIndexOfCheck(record.assessment_after_dislysis, 'disequilibrium_syndrome_option', '头晕')"></check-box>
615
-                      <check-box text="头痛" :checked="isValueIndexOfCheck(record.assessment_after_dislysis, 'disequilibrium_syndrome_option', '头痛')"></check-box>
616
-                      <check-box text="呕吐" :checked="isValueIndexOfCheck(record.assessment_after_dislysis, 'disequilibrium_syndrome_option', '呕吐')"></check-box>
617
-                      <check-box text="低血压" :checked="isValueIndexOfCheck(record.assessment_after_dislysis, 'disequilibrium_syndrome_option', '低血压')"></check-box>
633
+                      <check-box text="头晕" :checked=" record.assessment_after_dislysis.complication.indexOf('头晕') > -1
634
+                          ? true
635
+                          : false"></check-box>
636
+                      <check-box text="头痛" :checked="  record.assessment_after_dislysis.complication.indexOf('头痛') > -1
637
+                          ? true
638
+                          : false"></check-box>
639
+                      <check-box text="呕吐" :checked="  record.assessment_after_dislysis.complication.indexOf('呕吐') > -1
640
+                          ? true
641
+                          : false"></check-box>
642
+                      <check-box text="低血压" :checked="  record.assessment_after_dislysis.complication.indexOf('低血压') > -1
643
+                          ? true
644
+                          : false"></check-box>
618
645
619
                     </div>
646
                     </div>
620
                   </div>
647
                   </div>
636
                     </div>
663
                     </div>
637
                     <div class="inline_block">
664
                     <div class="inline_block">
638
                       &emsp;透析器:
665
                       &emsp;透析器:
639
-                      <check-box text="0" :checked="isCheckBoxChecked(record.assessment_after_dislysis, 'dialyzer', 1)"></check-box>
640
-                      <check-box text="+" :checked="isCheckBoxChecked(record.assessment_after_dislysis, 'dialyzer', 2)"></check-box>
641
-                      <check-box text="++" :checked="isCheckBoxChecked(record.assessment_after_dislysis, 'dialyzer', 3)"></check-box>
642
-                      <check-box text="+++" :checked="isCheckBoxChecked(record.assessment_after_dislysis, 'dialyzer', 4)"></check-box>
666
+                      <check-box text="0" :checked="record.assessment_after_dislysis.cruor.indexOf('透析器-0度') > -1
667
+                          ? true
668
+                          : false"></check-box>
669
+                      <check-box text="+" :checked="record.assessment_after_dislysis.cruor.indexOf('透析器-Ⅰ度') > -1
670
+                          ? true
671
+                          : false"></check-box>
672
+                      <check-box text="++" :checked="record.assessment_after_dislysis.cruor.indexOf('透析器-Ⅱ度') > -1
673
+                          ? true
674
+                          : false"></check-box>
675
+                      <check-box text="+++" :checked="record.assessment_after_dislysis.cruor.indexOf('透析器-Ⅲ度') > -1
676
+                          ? true
677
+                          : false"></check-box>
643
                     </div>
678
                     </div>
644
                   </div>
679
                   </div>
645
                 </td>
680
                 </td>
1116
       })
1151
       })
1117
     },
1152
     },
1118
     methods: {
1153
     methods: {
1154
+      getIsCheckDataConfig(pName, cName, targetName){
1155
+        var arr = getDataConfig(pName,cName)
1156
+        for (let i = 0; i < arr.length; i++){
1157
+          if (arr[i].name == targetName){
1158
+            return arr[i].id
1159
+          }
1160
+        }
1161
+      },
1119
       printAction: function() {
1162
       printAction: function() {
1120
         const style = '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
1163
         const style = '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
1121
 
1164
 

+ 29 - 20
src/xt_pages/dialysis/batch_print/batch_print_order_nine.vue View File

1434
                               >
1434
                               >
1435
                                 <label-box
1435
                                 <label-box
1436
                                   :isChecked="
1436
                                   :isChecked="
1437
-                                    record.assessment_after_dislysis
1438
-                                      .tremor_noise == 1
1437
+                                    record.assessment_after_dislysis.internal_fistula.indexOf('震颤-存在')>-1
1439
                                       ? true
1438
                                       ? true
1440
                                       : false
1439
                                       : false
1441
                                   "
1440
                                   "
1443
                                 ></label-box>
1442
                                 ></label-box>
1444
                                 <label-box
1443
                                 <label-box
1445
                                   :isChecked="
1444
                                   :isChecked="
1446
-                                    record.assessment_after_dislysis
1447
-                                      .tremor_noise == 2
1445
+                                    record.assessment_after_dislysis.internal_fistula.indexOf('震颤-减弱')>-1
1448
                                       ? true
1446
                                       ? true
1449
                                       : false
1447
                                       : false
1450
                                   "
1448
                                   "
1452
                                 ></label-box>
1450
                                 ></label-box>
1453
                                 <label-box
1451
                                 <label-box
1454
                                   :isChecked="
1452
                                   :isChecked="
1455
-                                    record.assessment_after_dislysis
1456
-                                      .tremor_noise == 3
1453
+                                    record.assessment_after_dislysis.internal_fistula.indexOf('震颤-无')>-1
1457
                                       ? true
1454
                                       ? true
1458
                                       : false
1455
                                       : false
1459
                                   "
1456
                                   "
1526
                             <td width="40">肝素:</td>
1523
                             <td width="40">肝素:</td>
1527
                             <td width="30">A端</td>
1524
                             <td width="30">A端</td>
1528
                             <td width="30">
1525
                             <td width="30">
1529
-                              <div class="under-line">&nbsp;</div>
1526
+                              <div class="under-line">&nbsp;{{
1527
+                                record.assessment_after_dislysis.cvc_a
1528
+                                ?  record.assessment_after_dislysis.cvc_a
1529
+                                : ""
1530
+                                }}</div>
1530
                             </td>
1531
                             </td>
1531
                             <td width="20">ml</td>
1532
                             <td width="20">ml</td>
1532
                             <td width="30">V端</td>
1533
                             <td width="30">V端</td>
1533
                             <td width="30">
1534
                             <td width="30">
1534
-                              <div class="under-line">&nbsp;</div>
1535
+                              <div class="under-line">&nbsp;{{
1536
+                                record.assessment_after_dislysis.cvc_v
1537
+                                ?  record.assessment_after_dislysis.cvc_v
1538
+                                : ""
1539
+                                }}</div>
1535
                             </td>
1540
                             </td>
1536
                             <td width="20">ml</td>
1541
                             <td width="20">ml</td>
1537
                             <td></td>
1542
                             <td></td>
1651
                               >
1656
                               >
1652
                                 <label-box
1657
                                 <label-box
1653
                                   :isChecked="
1658
                                   :isChecked="
1654
-                                    record.assessment_after_dislysis.dialyzer ==
1655
-                                    1
1659
+                                    record.assessment_after_dislysis.cruor.indexOf('透析器-0度') > -1
1656
                                       ? true
1660
                                       ? true
1657
                                       : false
1661
                                       : false
1658
                                   "
1662
                                   "
1660
                                 ></label-box>
1664
                                 ></label-box>
1661
                                 <label-box
1665
                                 <label-box
1662
                                   :isChecked="
1666
                                   :isChecked="
1663
-                                    record.assessment_after_dislysis.dialyzer ==
1664
-                                    2
1667
+                                   record.assessment_after_dislysis.cruor.indexOf('透析器-Ⅰ度') > -1
1665
                                       ? true
1668
                                       ? true
1666
                                       : false
1669
                                       : false
1667
                                   "
1670
                                   "
1669
                                 ></label-box>
1672
                                 ></label-box>
1670
                                 <label-box
1673
                                 <label-box
1671
                                   :isChecked="
1674
                                   :isChecked="
1672
-                                    record.assessment_after_dislysis.dialyzer ==
1673
-                                    3
1675
+                                   record.assessment_after_dislysis.cruor.indexOf('透析器-Ⅱ度') > -1
1674
                                       ? true
1676
                                       ? true
1675
                                       : false
1677
                                       : false
1676
                                   "
1678
                                   "
1678
                                 ></label-box>
1680
                                 ></label-box>
1679
                                 <label-box
1681
                                 <label-box
1680
                                   :isChecked="
1682
                                   :isChecked="
1681
-                                    record.assessment_after_dislysis.dialyzer ==
1682
-                                    4
1683
+                                    record.assessment_after_dislysis.cruor.indexOf('透析器-Ⅲ度') > -1
1683
                                       ? true
1684
                                       ? true
1684
                                       : false
1685
                                       : false
1685
                                   "
1686
                                   "
1693
                               <div
1694
                               <div
1694
                                 style="display:flex;justify-content:space-between;"
1695
                                 style="display:flex;justify-content:space-between;"
1695
                               >
1696
                               >
1696
-                                <label-box showValue="无"></label-box>
1697
-                                <label-box showValue="+"></label-box>
1698
-                                <label-box showValue="+ +"></label-box>
1699
-                                <label-box showValue="+ + +"></label-box>
1697
+                                <label-box showValue="无" :isChecked="
1698
+                            record.assessment_after_dislysis.channel == 1 ? true : false
1699
+                          "></label-box>
1700
+                                <label-box showValue="+" :isChecked="
1701
+                            record.assessment_after_dislysis.channel == 2 ? true : false
1702
+                          "></label-box>
1703
+                                <label-box showValue="+ +" :isChecked="
1704
+                            record.assessment_after_dislysis.channel == 3 ? true : false
1705
+                          "></label-box>
1706
+                                <label-box showValue="+ + +" :isChecked="
1707
+                            record.assessment_after_dislysis.channel == 4 ? true : false
1708
+                          "></label-box>
1700
                               </div>
1709
                               </div>
1701
                             </td>
1710
                             </td>
1702
                             <td></td>
1711
                             <td></td>

+ 27 - 25
src/xt_pages/dialysis/batch_print/batch_print_order_other.vue View File

456
                         <check-box
456
                         <check-box
457
                           text="锁骨下"
457
                           text="锁骨下"
458
                           :checked="
458
                           :checked="
459
-                            isCheckBoxChecked(
460
-                              record.assessment_before_dislysis,
461
-                              'venous_catheterization_part',
462
-                              1
463
-                            )
459
+                          record.assessment_before_dislysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','锁骨下')
460
+                          ? true
461
+                          : false
464
                           "
462
                           "
465
                         ></check-box>
463
                         ></check-box>
466
                         <check-box
464
                         <check-box
467
                           text="颈静脉"
465
                           text="颈静脉"
468
                           :checked="
466
                           :checked="
469
-                            isCheckBoxChecked(
470
-                              record.assessment_before_dislysis,
471
-                              'venous_catheterization_part',
472
-                              2
473
-                            )
467
+                          record.assessment_before_dislysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','颈静脉')
468
+                          ? true
469
+                          : false
474
                           "
470
                           "
475
                         ></check-box>
471
                         ></check-box>
476
                         <check-box
472
                         <check-box
477
                           text="股静脉"
473
                           text="股静脉"
478
                           :checked="
474
                           :checked="
479
-                            isCheckBoxChecked(
480
-                              record.assessment_before_dislysis,
481
-                              'venous_catheterization_part',
482
-                              3
483
-                            )
475
+                           record.assessment_before_dislysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','股静脉')
476
+                          ? true
477
+                          : false
484
                           "
478
                           "
485
                         ></check-box>
479
                         ></check-box>
486
                         <div class="inline_block">
480
                         <div class="inline_block">
507
                           :checked="
501
                           :checked="
508
                             isValueIndexOfCheck(
502
                             isValueIndexOfCheck(
509
                               record.assessment_before_dislysis,
503
                               record.assessment_before_dislysis,
510
-                              'ductus_arantii',
504
+                              'catheter',
511
                               '正常'
505
                               '正常'
512
                             )
506
                             )
513
                           "
507
                           "
517
                           :checked="
511
                           :checked="
518
                             isValueIndexOfCheck(
512
                             isValueIndexOfCheck(
519
                               record.assessment_before_dislysis,
513
                               record.assessment_before_dislysis,
520
-                              'ductus_arantii',
514
+                              'catheter',
521
                               '不畅'
515
                               '不畅'
522
                             )
516
                             )
523
                           "
517
                           "
527
                           :checked="
521
                           :checked="
528
                             isValueIndexOfCheck(
522
                             isValueIndexOfCheck(
529
                               record.assessment_before_dislysis,
523
                               record.assessment_before_dislysis,
530
-                              'ductus_arantii',
524
+                              'catheter',
531
                               '血流不足'
525
                               '血流不足'
532
                             )
526
                             )
533
                           "
527
                           "
538
                           :checked="
532
                           :checked="
539
                             isValueIndexOfCheck(
533
                             isValueIndexOfCheck(
540
                               record.assessment_before_dislysis,
534
                               record.assessment_before_dislysis,
541
-                              'ductus_arantii',
535
+                              'catheter',
542
                               '正接'
536
                               '正接'
543
                             )
537
                             )
544
                           "
538
                           "
549
                           :checked="
543
                           :checked="
550
                             isValueIndexOfCheck(
544
                             isValueIndexOfCheck(
551
                               record.assessment_before_dislysis,
545
                               record.assessment_before_dislysis,
552
-                              'ductus_arantii',
546
+                              'catheter',
553
                               '反接'
547
                               '反接'
554
                             )
548
                             )
555
                           "
549
                           "
560
                           :checked="
554
                           :checked="
561
                             isValueIndexOfCheck(
555
                             isValueIndexOfCheck(
562
                               record.assessment_before_dislysis,
556
                               record.assessment_before_dislysis,
563
-                              'ductus_arantii',
557
+                              'catheter',
564
                               '血栓'
558
                               '血栓'
565
                             )
559
                             )
566
                           "
560
                           "
570
                           :checked="
564
                           :checked="
571
                             isValueIndexOfCheck(
565
                             isValueIndexOfCheck(
572
                               record.assessment_before_dislysis,
566
                               record.assessment_before_dislysis,
573
-                              'ductus_arantii',
567
+                              'catheter',
574
                               '缝线脱落'
568
                               '缝线脱落'
575
                             )
569
                             )
576
                           "
570
                           "
580
                           :checked="
574
                           :checked="
581
                             isValueIndexOfCheck(
575
                             isValueIndexOfCheck(
582
                               record.assessment_before_dislysis,
576
                               record.assessment_before_dislysis,
583
-                              'ductus_arantii',
577
+                              'catheter',
584
                               '导管脱落'
578
                               '导管脱落'
585
                             )
579
                             )
586
                           "
580
                           "
590
                           :checked="
584
                           :checked="
591
                             isValueIndexOfCheck(
585
                             isValueIndexOfCheck(
592
                               record.assessment_before_dislysis,
586
                               record.assessment_before_dislysis,
593
-                              'ductus_arantii',
587
+                              'catheter',
594
                               '感染'
588
                               '感染'
595
                             )
589
                             )
596
                           "
590
                           "
600
                           :checked="
594
                           :checked="
601
                             isValueIndexOfCheck(
595
                             isValueIndexOfCheck(
602
                               record.assessment_before_dislysis,
596
                               record.assessment_before_dislysis,
603
-                              'ductus_arantii',
597
+                              'catheter',
604
                               '破损'
598
                               '破损'
605
                             )
599
                             )
606
                           "
600
                           "
3557
       })
3551
       })
3558
   },
3552
   },
3559
   methods: {
3553
   methods: {
3554
+    getIsCheckDataConfig(pName, cName, targetName){
3555
+      var arr = getDataConfig(pName,cName)
3556
+      for (let i = 0; i < arr.length; i++){
3557
+        if (arr[i].name == targetName){
3558
+          return arr[i].id
3559
+        }
3560
+      }
3561
+    },
3560
     printAction: function() {
3562
     printAction: function() {
3561
       const style =
3563
       const style =
3562
         '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 16px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 16px;padding: 5px 5px;line-height: 18px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
3564
         '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 16px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 16px;padding: 5px 5px;line-height: 18px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'

+ 17 - 12
src/xt_pages/dialysis/batch_print/batch_print_order_other_one.vue View File

451
                         <check-box
451
                         <check-box
452
                           text="锁骨下"
452
                           text="锁骨下"
453
                           :checked="
453
                           :checked="
454
-                            record.assessment_before_dislysis
455
-                              .venous_catheterization_part == 1
456
-                              ? true
457
-                              : false
454
+                          record.assessment_before_dislysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','锁骨下')
455
+                          ? true
456
+                          : false
458
                           "
457
                           "
459
                         ></check-box>
458
                         ></check-box>
460
                         <check-box
459
                         <check-box
461
                           text="颈静脉"
460
                           text="颈静脉"
462
                           :checked="
461
                           :checked="
463
-                            record.assessment_before_dislysis
464
-                              .venous_catheterization_part == 2
465
-                              ? true
466
-                              : false
462
+                          record.assessment_before_dislysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','颈静脉')
463
+                          ? true
464
+                          : false
467
                           "
465
                           "
468
                         ></check-box>
466
                         ></check-box>
469
                         <check-box
467
                         <check-box
470
                           text="股静脉"
468
                           text="股静脉"
471
                           :checked="
469
                           :checked="
472
-                            record.assessment_before_dislysis
473
-                              .venous_catheterization_part == 3
474
-                              ? true
475
-                              : false
470
+                           record.assessment_before_dislysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','股静脉')
471
+                          ? true
472
+                          : false
476
                           "
473
                           "
477
                         ></check-box>
474
                         ></check-box>
478
                         <div class="inline_block">
475
                         <div class="inline_block">
2545
       });
2542
       });
2546
   },
2543
   },
2547
   methods: {
2544
   methods: {
2545
+    getIsCheckDataConfig(pName, cName, targetName){
2546
+      var arr = getDataConfig(pName,cName)
2547
+      for (let i = 0; i < arr.length; i++){
2548
+        if (arr[i].name == targetName){
2549
+          return arr[i].id
2550
+        }
2551
+      }
2552
+    },
2548
     printAction: function() {
2553
     printAction: function() {
2549
       const style =
2554
       const style =
2550
         '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 16px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 16px;padding: 5px 5px;line-height: 18px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
2555
         '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 16px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 16px;padding: 5px 5px;line-height: 18px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';

+ 10 - 16
src/xt_pages/dialysis/batch_print/batch_print_order_three.vue View File

1193
                         <check-box
1193
                         <check-box
1194
                           text="存在"
1194
                           text="存在"
1195
                           :checked="
1195
                           :checked="
1196
-                            isCheckBoxChecked(
1197
-                              record.assessment_after_dislysis,
1198
-                              'internal_fistula_tremor_ac',
1199
-                              1
1200
-                            )
1196
+                            record.assessment_after_dislysis.internal_fistula.indexOf('存在') > -1
1197
+                              ? true
1198
+                              : false
1201
                           "
1199
                           "
1202
                         ></check-box>
1200
                         ></check-box>
1203
                         <check-box
1201
                         <check-box
1204
                           text="减弱"
1202
                           text="减弱"
1205
                           :checked="
1203
                           :checked="
1206
-                            isCheckBoxChecked(
1207
-                              record.assessment_after_dislysis,
1208
-                              'internal_fistula_tremor_ac',
1209
-                              2
1210
-                            )
1204
+                            record.assessment_after_dislysis.internal_fistula.indexOf('减弱') > -1
1205
+                              ? true
1206
+                              : false
1211
                           "
1207
                           "
1212
                         ></check-box>
1208
                         ></check-box>
1213
                         <check-box
1209
                         <check-box
1214
-                          text=""
1210
+                          text="不存在"
1215
                           :checked="
1211
                           :checked="
1216
-                            isCheckBoxChecked(
1217
-                              record.assessment_after_dislysis,
1218
-                              'internal_fistula_tremor_ac',
1219
-                              3
1220
-                            )
1212
+                             record.assessment_after_dislysis.internal_fistula.indexOf('不存在') > -1
1213
+                              ? true
1214
+                              : false
1221
                           "
1215
                           "
1222
                         ></check-box>
1216
                         ></check-box>
1223
                       </div>
1217
                       </div>

+ 39 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

453
               </el-radio-group>
453
               </el-radio-group>
454
             </el-form-item>
454
             </el-form-item>
455
           </el-col>
455
           </el-col>
456
+
457
+
458
+          <el-col :span="8" v-if="isShow('中心静脉封管(肝素-A端)')">
459
+            <el-form-item label="中心静脉封管(肝素-A端): ">
460
+              <el-input v-model="form.cvc_a"></el-input>
461
+            </el-form-item>
462
+          </el-col>
463
+
464
+
465
+          <el-col :span="8" v-if="isShow('中心静脉封管(肝素-V端)')">
466
+            <el-form-item label="中心静脉封管(肝素-V端): ">
467
+              <el-input v-model="form.cvc_v"></el-input>
468
+            </el-form-item>
469
+          </el-col>
470
+
471
+          <el-col :span="8" v-if="isShow('管路')">
472
+            <el-form-item label="管路: ">
473
+              <el-select v-model="form.channel">
474
+                <el-option :key="0" label="请选择" :value="0"></el-option>
475
+                <el-option
476
+                  v-for="item in channels"
477
+                  :label="item.name"
478
+                  :value="item.id"
479
+                  :key="item.id"
480
+                ></el-option>
481
+              </el-select>
482
+            </el-form-item>
483
+          </el-col>
484
+
485
+
486
+
456
         </el-row>
487
         </el-row>
457
       </el-form>
488
       </el-form>
458
 
489
 
530
       internalFistulaTremorAcOptions: [],
561
       internalFistulaTremorAcOptions: [],
531
       patientGoseOptions: [],
562
       patientGoseOptions: [],
532
       observationContentOptions: [],
563
       observationContentOptions: [],
564
+      channels:[],
533
 
565
 
534
       isVisibiltyForCruorDialog: false,
566
       isVisibiltyForCruorDialog: false,
535
       dialogCruorTitle: "凝血",
567
       dialogCruorTitle: "凝血",
585
         intravenous_tube: "",
617
         intravenous_tube: "",
586
         dialyzer: "",
618
         dialyzer: "",
587
         breathing_rate: "",
619
         breathing_rate: "",
588
-        dialysis_intakes_unit: 0
620
+        dialysis_intakes_unit: 0,
621
+        cvc_a:0,
622
+        cvc_v:0,
623
+        channel:"",
624
+
589
       }
625
       }
590
     };
626
     };
591
   },
627
   },
1030
     this.observationContentOptions = this.$store.getters.observation_content;
1066
     this.observationContentOptions = this.$store.getters.observation_content;
1031
     this.template_id = this.$store.getters.xt_user.template_info.template_id;
1067
     this.template_id = this.$store.getters.xt_user.template_info.template_id;
1032
 
1068
 
1069
+    this.channels = this.$store.getters.channels
1070
+
1033
     var date = this.$route.query && this.$route.query.date;
1071
     var date = this.$route.query && this.$route.query.date;
1034
     this.record_date = uParseTime(date, "{y}-{m}-{d}");
1072
     this.record_date = uParseTime(date, "{y}-{m}-{d}");
1035
   },
1073
   },

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

140
             align="center"
140
             align="center"
141
             label="超滤量(ml)"
141
             label="超滤量(ml)"
142
             width="110"
142
             width="110"
143
-            v-if="isShow('超滤量') && template_id == 6"
143
+            v-if="isShow('超滤量') && (template_id == 6 || template_id == 10)"
144
           >
144
           >
145
             <template slot-scope="scope">
145
             <template slot-scope="scope">
146
               {{
146
               {{
155
             align="center"
155
             align="center"
156
             label="超滤量(L)"
156
             label="超滤量(L)"
157
             width="110"
157
             width="110"
158
-            v-if="isShow('超滤量') && template_id != 6"
158
+            v-if="isShow('超滤量') && (template_id != 6 || template_id != 10)"
159
           >
159
           >
160
             <template slot-scope="scope">
160
             <template slot-scope="scope">
161
               {{
161
               {{
200
             align="center"
200
             align="center"
201
             label="置换率(ml/min)"
201
             label="置换率(ml/min)"
202
             width="120"
202
             width="120"
203
-            v-if="isShow('置换率') && template_id == 6"
203
+            v-if="isShow('置换率') && (template_id == 6  || template_id == 10)"
204
           >
204
           >
205
             <template slot-scope="scope">
205
             <template slot-scope="scope">
206
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
206
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
211
             align="center"
211
             align="center"
212
             label="置换率(L/h)"
212
             label="置换率(L/h)"
213
             width="120"
213
             width="120"
214
-            v-if="isShow('置换率') && template_id != 6"
214
+            v-if="isShow('置换率') && (template_id != 6 || template_id != 10)"
215
           >
215
           >
216
             <template slot-scope="scope">
216
             <template slot-scope="scope">
217
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
217
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
222
             align="center"
222
             align="center"
223
             label="置换量(ml)"
223
             label="置换量(ml)"
224
             width="100"
224
             width="100"
225
-            v-if="isShow('置换量' && template_id == 6)"
225
+            v-if="isShow('置换量') && (template_id == 6 || template_id == 10)"
226
           >
226
           >
227
             <template slot-scope="scope">
227
             <template slot-scope="scope">
228
               {{
228
               {{
238
             align="center"
238
             align="center"
239
             label="SpO₂(%)"
239
             label="SpO₂(%)"
240
             width="100"
240
             width="100"
241
-            v-if="isShow('SpO₂') && template_id != 6"
241
+            v-if="isShow('SpO₂') && (template_id != 6 || template_id != 10)"
242
           >
242
           >
243
             <template slot-scope="scope">
243
             <template slot-scope="scope">
244
               {{
244
               {{
254
             align="center"
254
             align="center"
255
             label="置换量(L)"
255
             label="置换量(L)"
256
             width="100"
256
             width="100"
257
-            v-if="isShow('置换量') && template_id != 6"
257
+            v-if="isShow('置换量') && (template_id != 6 || template_id != 10)"
258
           >
258
           >
259
             <template slot-scope="scope">
259
             <template slot-scope="scope">
260
               {{
260
               {{

+ 7 - 7
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

12
         <th width="76px">静脉压/动脉压(mmHg)</th>
12
         <th width="76px">静脉压/动脉压(mmHg)</th>
13
         <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
13
         <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
14
         <th v-if="isShow('跨膜压')" width="76px">跨膜压(mmhg)</th>
14
         <th v-if="isShow('跨膜压')" width="76px">跨膜压(mmhg)</th>
15
-        <th v-if="isShow('超滤量') && template_id == 6" width="76px">超滤量(ml)</th>
16
-        <th v-if="isShow('超滤量') && template_id != 6" width="76px">超滤量(L)</th>
15
+        <th v-if="isShow('超滤量') && (template_id == 6 || template_id == 10)" width="76px">超滤量(ml)</th>
16
+        <th v-if="isShow('超滤量') && (template_id != 6 || template_id != 10)" width="76px">超滤量(L)</th>
17
         <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
17
         <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
18
         <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
18
         <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
19
-        <th v-if="isShow('置换率')&& template_id == 6" width="92px">置换率(ml/min)</th>
20
-        <th v-if="isShow('置换率')&&template_id != 6" width="92px">置换率(L/h)</th>
19
+        <th v-if="isShow('置换率')&& (template_id == 6 || template_id == 10)" width="92px">置换率(ml/min)</th>
20
+        <th v-if="isShow('置换率')&& (template_id != 6 || template_id != 10)" width="92px">置换率(L/h)</th>
21
 
21
 
22
-        <th v-if="isShow('置换量')&& template_id == 6" width="92px">置换量(ml)</th>
23
-        <th v-if="isShow('置换量')&& template_id != 6" width="92px">置换量(L)</th>
24
-         <th v-if="isShow('SpO₂')&& template_id != 6" width="92px">SpO₂(%)</th>
22
+        <th v-if="isShow('置换量')&& (template_id == 6 || template_id == 10)" width="92px">置换量(ml)</th>
23
+        <th v-if="isShow('置换量')&& (template_id != 6 || template_id != 10)" width="92px">置换量(L)</th>
24
+         <th v-if="isShow('SpO₂')&& (template_id != 6 || template_id != 10)" width="92px">SpO₂(%)</th>
25
         <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
25
         <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
26
         <th v-if="isShow('置换液流量')"  width="92px">置换液流量(ml/h)</th>
26
         <th v-if="isShow('置换液流量')"  width="92px">置换液流量(ml/h)</th>
27
         <th v-if="isShow('病情变化')" width="92px">病情变化</th>
27
         <th v-if="isShow('病情变化')" width="92px">病情变化</th>

+ 38 - 22
src/xt_pages/dialysis/template/dialysisPrintOrderNine.vue View File

1413
                       <div style="display:flex;justify-content:space-between;">
1413
                       <div style="display:flex;justify-content:space-between;">
1414
                         <label-box
1414
                         <label-box
1415
                           :isChecked="
1415
                           :isChecked="
1416
-                            afterdialysis.tremor_noise == 1 ? true : false
1416
+                           afterdialysis.internal_fistula.indexOf('震颤-存在')>-1?true:false
1417
                           "
1417
                           "
1418
                           showValue="存在"
1418
                           showValue="存在"
1419
                         ></label-box>
1419
                         ></label-box>
1420
                         <label-box
1420
                         <label-box
1421
                           :isChecked="
1421
                           :isChecked="
1422
-                            afterdialysis.tremor_noise == 3 ? true : false
1422
+                            afterdialysis.internal_fistula.indexOf('震颤-减弱')>-1? true : false
1423
                           "
1423
                           "
1424
                           showValue="减弱"
1424
                           showValue="减弱"
1425
                         ></label-box>
1425
                         ></label-box>
1426
                         <label-box
1426
                         <label-box
1427
                           :isChecked="
1427
                           :isChecked="
1428
-                            afterdialysis.tremor_noise == 2 ? true : false
1428
+                             afterdialysis.internal_fistula.indexOf('震颤-无')>-1 ? true : false
1429
                           "
1429
                           "
1430
                           showValue="不存在"
1430
                           showValue="不存在"
1431
                         ></label-box>
1431
                         ></label-box>
1488
                     <td width="40">肝素:</td>
1488
                     <td width="40">肝素:</td>
1489
                     <td width="30">A端</td>
1489
                     <td width="30">A端</td>
1490
                     <td width="30">
1490
                     <td width="30">
1491
-                      <div class="under-line">&nbsp;</div>
1491
+                      <div class="under-line">&nbsp;{{
1492
+                        afterdialysis.cvc_a
1493
+                        ? afterdialysis.cvc_a
1494
+                        : ""
1495
+                        }}</div>
1492
                     </td>
1496
                     </td>
1493
                     <td width="20">ml</td>
1497
                     <td width="20">ml</td>
1494
                     <td width="30">V端</td>
1498
                     <td width="30">V端</td>
1495
                     <td width="30">
1499
                     <td width="30">
1496
-                      <div class="under-line">&nbsp;</div>
1500
+                      <div class="under-line">{{
1501
+                        afterdialysis.cvc_v
1502
+                        ? afterdialysis.cvc_v
1503
+                        : ""
1504
+                        }}</div>
1497
                     </td>
1505
                     </td>
1498
                     <td width="20">ml</td>
1506
                     <td width="20">ml</td>
1499
                     <td></td>
1507
                     <td></td>
1509
                       <div style="display:flex;justify-content:space-between;">
1517
                       <div style="display:flex;justify-content:space-between;">
1510
                         <label-box
1518
                         <label-box
1511
                           :isChecked="
1519
                           :isChecked="
1512
-                            afterdialysis.complications_index.indexOf('无') > -1
1520
+                            afterdialysis.complication.indexOf('无') > -1
1513
                               ? true
1521
                               ? true
1514
                               : false
1522
                               : false
1515
                           "
1523
                           "
1517
                         ></label-box>
1525
                         ></label-box>
1518
                         <label-box
1526
                         <label-box
1519
                           :isChecked="
1527
                           :isChecked="
1520
-                            afterdialysis.complications_index.indexOf('头晕') >
1528
+                            afterdialysis.complication.indexOf('头晕') >
1521
                             -1
1529
                             -1
1522
                               ? true
1530
                               ? true
1523
                               : false
1531
                               : false
1526
                         ></label-box>
1534
                         ></label-box>
1527
                         <label-box
1535
                         <label-box
1528
                           :isChecked="
1536
                           :isChecked="
1529
-                            afterdialysis.complications_index.indexOf('头痛') >
1537
+                            afterdialysis.complication.indexOf('头痛') >
1530
                             -1
1538
                             -1
1531
                               ? true
1539
                               ? true
1532
                               : false
1540
                               : false
1535
                         ></label-box>
1543
                         ></label-box>
1536
                         <label-box
1544
                         <label-box
1537
                           :isChecked="
1545
                           :isChecked="
1538
-                            afterdialysis.complications_index.indexOf('呕吐') >
1546
+                            afterdialysis.complication.indexOf('呕吐') >
1539
                             -1
1547
                             -1
1540
                               ? true
1548
                               ? true
1541
                               : false
1549
                               : false
1544
                         ></label-box>
1552
                         ></label-box>
1545
                         <label-box
1553
                         <label-box
1546
                           :isChecked="
1554
                           :isChecked="
1547
-                            afterdialysis.complications_index.indexOf(
1555
+                            afterdialysis.complication.indexOf(
1548
                               '低血压'
1556
                               '低血压'
1549
                             ) > -1
1557
                             ) > -1
1550
                               ? true
1558
                               ? true
1555
                         <label-box showValue="发热"></label-box>
1563
                         <label-box showValue="发热"></label-box>
1556
                         <label-box
1564
                         <label-box
1557
                           :isChecked="
1565
                           :isChecked="
1558
-                            afterdialysis.complications_index.indexOf('抽搐') >
1566
+                            afterdialysis.complication.indexOf('抽搐') >
1559
                             -1
1567
                             -1
1560
                               ? true
1568
                               ? true
1561
                               : false
1569
                               : false
1564
                         ></label-box>
1572
                         ></label-box>
1565
                         <label-box
1573
                         <label-box
1566
                           :isChecked="
1574
                           :isChecked="
1567
-                            afterdialysis.complications_index.indexOf(
1575
+                            afterdialysis.complication.indexOf(
1568
                               '高血压'
1576
                               '高血压'
1569
                             ) > -1
1577
                             ) > -1
1570
                               ? true
1578
                               ? true
1574
                         ></label-box>
1582
                         ></label-box>
1575
                         <label-box
1583
                         <label-box
1576
                           :isChecked="
1584
                           :isChecked="
1577
-                            afterdialysis.complications_index.indexOf(
1585
+                            afterdialysis.complication.indexOf(
1578
                               '心律失常'
1586
                               '心律失常'
1579
                             ) > -1
1587
                             ) > -1
1580
                               ? true
1588
                               ? true
1631
                       <div style="display:flex;justify-content:space-between;">
1639
                       <div style="display:flex;justify-content:space-between;">
1632
                         <label-box
1640
                         <label-box
1633
                           :isChecked="
1641
                           :isChecked="
1634
-                            afterdialysis.dialyzer == 1 ? true : false
1642
+                            afterdialysis.cruor.indexOf('透析器-0度') > -1 ? true : false
1635
                           "
1643
                           "
1636
                           showValue="无"
1644
                           showValue="无"
1637
                         ></label-box>
1645
                         ></label-box>
1638
                         <label-box
1646
                         <label-box
1639
                           :isChecked="
1647
                           :isChecked="
1640
-                            afterdialysis.dialyzer == 2 ? true : false
1648
+                             afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1 ? true : false
1641
                           "
1649
                           "
1642
                           showValue="+"
1650
                           showValue="+"
1643
                         ></label-box>
1651
                         ></label-box>
1644
                         <label-box
1652
                         <label-box
1645
                           :isChecked="
1653
                           :isChecked="
1646
-                            afterdialysis.dialyzer == 3 ? true : false
1654
+                            afterdialysis.cruor.indexOf('透析器-Ⅱ度') >  -1 ? true : false
1647
                           "
1655
                           "
1648
                           showValue="+ +"
1656
                           showValue="+ +"
1649
                         ></label-box>
1657
                         ></label-box>
1650
                         <label-box
1658
                         <label-box
1651
                           :isChecked="
1659
                           :isChecked="
1652
-                            afterdialysis.dialyzer == 4 ? true : false
1660
+                            afterdialysis.cruor.indexOf('透析器-Ⅲ度')> -1  ? true : false
1653
                           "
1661
                           "
1654
                           showValue="+ + +"
1662
                           showValue="+ + +"
1655
                         ></label-box>
1663
                         ></label-box>
1659
                     <td width="60">管路:</td>
1667
                     <td width="60">管路:</td>
1660
                     <td width="220">
1668
                     <td width="220">
1661
                       <div style="display:flex;justify-content:space-between;">
1669
                       <div style="display:flex;justify-content:space-between;">
1662
-                        <label-box showValue="无"></label-box>
1663
-                        <label-box showValue="+"></label-box>
1664
-                        <label-box showValue="+ +"></label-box>
1665
-                        <label-box showValue="+ + +"></label-box>
1670
+                        <label-box showValue="无" :isChecked="
1671
+                            afterdialysis.channel == 1 ? true : false
1672
+                          "></label-box>
1673
+                        <label-box showValue="+" :isChecked="
1674
+                            afterdialysis.channel == 2 ? true : false
1675
+                          "></label-box>
1676
+                        <label-box showValue="+ +" :isChecked="
1677
+                            afterdialysis.channel == 3  ? true : false
1678
+                          "></label-box>
1679
+                        <label-box showValue="+ + +" :isChecked="
1680
+                            afterdialysis.channel == 4 ? true : false
1681
+                          "></label-box>
1666
                       </div>
1682
                       </div>
1667
                     </td>
1683
                     </td>
1668
                     <td></td>
1684
                     <td></td>
2038
               <span v-if="advice[0].advice_desc"
2054
               <span v-if="advice[0].advice_desc"
2039
                 >{{ advice[0].advice_desc }}{{ advice[0].drug_spec_unit }}</span
2055
                 >{{ advice[0].advice_desc }}{{ advice[0].drug_spec_unit }}</span
2040
               >
2056
               >
2041
-              
2057
+
2042
               <span v-if="advice[0].prescribing_number"
2058
               <span v-if="advice[0].prescribing_number"
2043
                 >* {{ advice[0].prescribing_number
2059
                 >* {{ advice[0].prescribing_number
2044
                 }}{{ advice[0].prescribing_number_unit }}</span
2060
                 }}{{ advice[0].prescribing_number_unit }}</span

+ 15 - 3
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue View File

267
                     <check-box
267
                     <check-box
268
                       text="锁骨下"
268
                       text="锁骨下"
269
                       :checked="
269
                       :checked="
270
-                        predialysis.venous_catheterization_part == 1
270
+                        predialysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','锁骨下')
271
                           ? true
271
                           ? true
272
                           : false
272
                           : false
273
                       "
273
                       "
275
                     <check-box
275
                     <check-box
276
                       text="颈静脉"
276
                       text="颈静脉"
277
                       :checked="
277
                       :checked="
278
-                        predialysis.venous_catheterization_part == 2
278
+                        predialysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','颈静脉')
279
                           ? true
279
                           ? true
280
                           : false
280
                           : false
281
                       "
281
                       "
283
                     <check-box
283
                     <check-box
284
                       text="股静脉"
284
                       text="股静脉"
285
                       :checked="
285
                       :checked="
286
-                        predialysis.venous_catheterization_part == 3
286
+                        predialysis.blood_access_part_id == getIsCheckDataConfig('hemodialysis', 'vascular_access','股静脉')
287
                           ? true
287
                           ? true
288
                           : false
288
                           : false
289
                       "
289
                       "
2267
       anticoagulantsConfit: {},
2267
       anticoagulantsConfit: {},
2268
       bloodAccessParOpera: {},
2268
       bloodAccessParOpera: {},
2269
       dialysateFormulationOptions: {},
2269
       dialysateFormulationOptions: {},
2270
+      blood_access_part:[],
2270
 
2271
 
2271
       queryParams: {
2272
       queryParams: {
2272
         xtdate: '',
2273
         xtdate: '',
2326
     }
2327
     }
2327
   },
2328
   },
2328
   methods: {
2329
   methods: {
2330
+    getIsCheckDataConfig(pName, cName, targetName){
2331
+      var arr = getDataConfig(pName,cName)
2332
+      for (let i = 0; i < arr.length; i++){
2333
+        if (arr[i].name == targetName){
2334
+          return arr[i].id
2335
+        }
2336
+      }
2337
+    },
2329
     getAdminUser(id) {
2338
     getAdminUser(id) {
2330
       if (id == 0) {
2339
       if (id == 0) {
2331
         return ''
2340
         return ''
2946
     this.intake_arr = getDataConfig('hemodialysis', 'intake')
2955
     this.intake_arr = getDataConfig('hemodialysis', 'intake')
2947
     this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
2956
     this.nutrition_arr = getDataConfig('hemodialysis', 'nutrition')
2948
 
2957
 
2958
+    this.blood_access_part = getDataConfig('hemodialysis', 'vascular_access')
2959
+
2960
+
2949
     this.bloodAccessParOpera = getDataConfig(
2961
     this.bloodAccessParOpera = getDataConfig(
2950
       'hemodialysis',
2962
       'hemodialysis',
2951
       'vascular_access_desc'
2963
       'vascular_access_desc'

+ 28 - 34
src/xt_pages/workforce/components/tableWeeks.vue View File

257
             break
257
             break
258
         }
258
         }
259
         return type_name
259
         return type_name
260
-      },getAdvice:function(doctor_advice) {
261
-        console.log(doctor_advice)
260
+      },
261
+      getAdvice:function(doctor_advice) {
262
 
262
 
263
         let name = ""
263
         let name = ""
264
         for (let i = 0; i< doctor_advice.length; i++){
264
         for (let i = 0; i< doctor_advice.length; i++){
281
 
281
 
282
           name = name + doctor_advice[i].advice_name +" "+ drug_spec+" "+ prescribing_number + " "+single_dose+" " + doctor_advice[i].delivery_way+" "+ doctor_advice[i].execution_frequency +" " + doctor_advice[i].remark +"\n"
282
           name = name + doctor_advice[i].advice_name +" "+ drug_spec+" "+ prescribing_number + " "+single_dose+" " + doctor_advice[i].delivery_way+" "+ doctor_advice[i].execution_frequency +" " + doctor_advice[i].remark +"\n"
283
 
283
 
284
-          // if (doctor_advice[i].child.length > 0){
285
-          //   for (let a = 0 ; a < doctor_advice[a].child.length; a++){
286
-          //     if(doctor_advice[i].child[a].prescribing_number > 0){
287
-          //       doctor_advice[i].child[a]['presc'] = doctor_advice[i].child[a].prescribing_number + doctor_advice[i].child[a].prescribing_number_unit
288
-          //     }else{
289
-          //       doctor_advice[i].child[a]['presc'] = ''
290
-          //     }
291
-          //
292
-          //     if(doctor_advice[i].child[a].single_dose > 0){
293
-          //       doctor_advice[i].child[a]['single'] = " "+' 单次用量 '+" "+doctor_advice[i].child[a].single_dose + doctor_advice[i].child[a].single_dose_unit
294
-          //     }else{
295
-          //       doctor_advice[i].child[a]['single'] = ''
296
-          //     }
297
-          //     name = name+"▲"+doctor_advice[i].child[a].advice_name+""
298
-          //       + doctor_advice[i].child[a].advice_desc
299
-          //       + doctor_advice[i].child[a].drug_spec_unit
300
-          //       + doctor_advice[i].child[a].presc
301
-          //       + doctor_advice[i].child[a].single
302
-          //
303
-          //
304
-          //   }
305
-          //   return  doctor_advice[i].advice_name +"  "+ doctor_advice[i].advice_desc+" "
306
-          //     + doctor_advice[i].drug_spec_unit
307
-          //     + prescribing_number
308
-          //     + " "+single_dose+" "+ " "+doctor_advice[i].delivery_way+" "+ doctor_advice[i].execution_frequency + doctor_advice[i].remark +name
309
-          //
310
-          // }else{
311
-          //
312
-          //
313
-          //
314
-          // }
284
+          if (doctor_advice[i].child.length > 0){
315
 
285
 
286
+            for (let a = 0 ; a < doctor_advice[i].child.length; a++){
316
 
287
 
317
-        }
288
+              if(doctor_advice[i].child[a].prescribing_number > 0){
289
+                doctor_advice[i].child[a]['presc'] = doctor_advice[i].child[a].prescribing_number + doctor_advice[i].child[a].prescribing_number_unit
290
+              }else{
291
+                doctor_advice[i].child[a]['presc'] = ''
292
+              }
293
+
294
+              if(doctor_advice[i].child[a].single_dose > 0){
295
+                doctor_advice[i].child[a]['single'] = " "+' 单次用量 '+" "+doctor_advice[i].child[a].single_dose + doctor_advice[i].child[a].single_dose_unit
296
+              }else{
297
+                doctor_advice[i].child[a]['single'] = ''
298
+              }
299
+
300
+
301
+              name = name+"▲"+doctor_advice[i].child[a].advice_name+""
302
+                + doctor_advice[i].child[a].advice_desc
303
+                + doctor_advice[i].child[a].drug_spec_unit
304
+                + doctor_advice[i].child[a].presc
305
+                + doctor_advice[i].child[a].single+"\n"
306
+            }
318
 
307
 
319
 
308
 
309
+          }
310
+
311
+        }
320
         return name
312
         return name
321
 
313
 
314
+
315
+
322
       }
316
       }
323
     },
317
     },
324
     components: {
318
     components: {

+ 24 - 32
src/xt_pages/workforce/remind_print.vue View File

135
     },
135
     },
136
     methods: {
136
     methods: {
137
       getAdvice:function(doctor_advice) {
137
       getAdvice:function(doctor_advice) {
138
-        console.log(doctor_advice)
139
 
138
 
140
         let name = ""
139
         let name = ""
141
         for (let i = 0; i< doctor_advice.length; i++){
140
         for (let i = 0; i< doctor_advice.length; i++){
158
 
157
 
159
           name = name + doctor_advice[i].advice_name +" "+ drug_spec+" "+ prescribing_number + " "+single_dose+" " + doctor_advice[i].delivery_way+" "+ doctor_advice[i].execution_frequency +" " + doctor_advice[i].remark +"\n"
158
           name = name + doctor_advice[i].advice_name +" "+ drug_spec+" "+ prescribing_number + " "+single_dose+" " + doctor_advice[i].delivery_way+" "+ doctor_advice[i].execution_frequency +" " + doctor_advice[i].remark +"\n"
160
 
159
 
161
-          // if (doctor_advice[i].child.length > 0){
162
-          //   for (let a = 0 ; a < doctor_advice[a].child.length; a++){
163
-          //     if(doctor_advice[i].child[a].prescribing_number > 0){
164
-          //       doctor_advice[i].child[a]['presc'] = doctor_advice[i].child[a].prescribing_number + doctor_advice[i].child[a].prescribing_number_unit
165
-          //     }else{
166
-          //       doctor_advice[i].child[a]['presc'] = ''
167
-          //     }
168
-          //
169
-          //     if(doctor_advice[i].child[a].single_dose > 0){
170
-          //       doctor_advice[i].child[a]['single'] = " "+' 单次用量 '+" "+doctor_advice[i].child[a].single_dose + doctor_advice[i].child[a].single_dose_unit
171
-          //     }else{
172
-          //       doctor_advice[i].child[a]['single'] = ''
173
-          //     }
174
-          //     name = name+"▲"+doctor_advice[i].child[a].advice_name+""
175
-          //       + doctor_advice[i].child[a].advice_desc
176
-          //       + doctor_advice[i].child[a].drug_spec_unit
177
-          //       + doctor_advice[i].child[a].presc
178
-          //       + doctor_advice[i].child[a].single
179
-          //
180
-          //
181
-          //   }
182
-          //   return  doctor_advice[i].advice_name +"  "+ doctor_advice[i].advice_desc+" "
183
-          //     + doctor_advice[i].drug_spec_unit
184
-          //     + prescribing_number
185
-          //     + " "+single_dose+" "+ " "+doctor_advice[i].delivery_way+" "+ doctor_advice[i].execution_frequency + doctor_advice[i].remark +name
186
-          //
187
-          // }else{
188
-          //
189
-          //
190
-          //
191
-          // }
160
+          if (doctor_advice[i].child.length > 0){
192
 
161
 
162
+            for (let a = 0 ; a < doctor_advice[i].child.length; a++){
163
+
164
+              if(doctor_advice[i].child[a].prescribing_number > 0){
165
+                doctor_advice[i].child[a]['presc'] = doctor_advice[i].child[a].prescribing_number + doctor_advice[i].child[a].prescribing_number_unit
166
+              }else{
167
+                doctor_advice[i].child[a]['presc'] = ''
168
+              }
169
+
170
+              if(doctor_advice[i].child[a].single_dose > 0){
171
+                doctor_advice[i].child[a]['single'] = " "+' 单次用量 '+" "+doctor_advice[i].child[a].single_dose + doctor_advice[i].child[a].single_dose_unit
172
+              }else{
173
+                doctor_advice[i].child[a]['single'] = ''
174
+              }
175
+
176
+
177
+              name = name+"▲"+doctor_advice[i].child[a].advice_name+""
178
+                + doctor_advice[i].child[a].advice_desc
179
+                + doctor_advice[i].child[a].drug_spec_unit
180
+                + doctor_advice[i].child[a].presc
181
+                + doctor_advice[i].child[a].single+"\n"
182
+            }
183
+
184
+          }
193
 
185
 
194
         }
186
         }
195
         return name
187
         return name