see999 před 4 roky
rodič
revize
5378aecdc6

+ 12 - 0
src/router/modules/dialysis.js Zobrazit soubor

328
         noCache: true
328
         noCache: true
329
       }
329
       }
330
     },
330
     },
331
+    {
332
+      path: '/dialysis/print/batch/thirtyTwo',
333
+      component: () =>
334
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_thirtyTwo'),
335
+      hidden: true,
336
+      is_menu: false,
337
+      name: 'batch_print_order_thirtyTwo',
338
+      meta: {
339
+        title: '批量打印',
340
+        noCache: true
341
+      }
342
+    },
331
     {
343
     {
332
       path: '/dialysis/print/batch/twentyTwo_one',
344
       path: '/dialysis/print/batch/twentyTwo_one',
333
       component: () =>
345
       component: () =>

Diff nebyl zobrazen, protože je příliš veliký
+ 1991 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_thirtyTwo.vue


+ 13 - 1
src/xt_pages/dialysis/bloodPresssWatch.vue Zobrazit soubor

209
           >批量打印</el-button
209
           >批量打印</el-button
210
         >
210
         >
211
       </template>
211
       </template>
212
+      <template v-if="this.template_id == 32">
213
+        <el-button
214
+          size="small"
215
+          icon="el-icon-printer"
216
+          :disabled="selecting_schs.length == 0"
217
+          @click="batchPrintAction"
218
+          type="primary"
219
+          >批量打印</el-button
220
+        >
221
+      </template>
212
     </div>
222
     </div>
213
     <div class="app-container">
223
     <div class="app-container">
214
       <!-- <div class="filter-container">
224
       <!-- <div class="filter-container">
775
         this.$router.push({ path: "/dialysis/print/batch/twenty" });
785
         this.$router.push({ path: "/dialysis/print/batch/twenty" });
776
       } else if (this.template_id == 22) {
786
       } else if (this.template_id == 22) {
777
         this.$router.push({ path: "/dialysis/print/batch/twentyTwo" });
787
         this.$router.push({ path: "/dialysis/print/batch/twentyTwo" });
778
-      }else if (this.template_id == 30) {
788
+      } else if (this.template_id == 30) {
779
         this.$router.push({ path: "/dialysis/print/batch/thirty" });
789
         this.$router.push({ path: "/dialysis/print/batch/thirty" });
790
+      } else if (this.template_id == 32) {
791
+        this.$router.push({ path: "/dialysis/print/batch/thirtyTwo" });
780
       }
792
       }
781
     },
793
     },
782
     batchPrintActionOne: function() {
794
     batchPrintActionOne: function() {

+ 49 - 48
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue Zobrazit soubor

113
                 <tbody>
113
                 <tbody>
114
                   <tr>
114
                   <tr>
115
                     <td width="70">入科方式:</td>
115
                     <td width="70">入科方式:</td>
116
-                    <td width="190">
116
+                    <td width="240">
117
                       <div>
117
                       <div>
118
                         <label-box style="margin-left:15px;" v-for="(item, index) in way_arr" :key="index" :isChecked="receiverTreatmentAccess.way == item.id ? true : false" :showValue="item.name"></label-box>
118
                         <label-box style="margin-left:15px;" v-for="(item, index) in way_arr" :key="index" :isChecked="receiverTreatmentAccess.way == item.id ? true : false" :showValue="item.name"></label-box>
119
                         <!--&nbsp-->
119
                         <!--&nbsp-->
127
 
127
 
128
                     <td width='20'></td>
128
                     <td width='20'></td>
129
                     <td width="50">意识:</td>
129
                     <td width="50">意识:</td>
130
-                    <td width="140">
130
+                    <td width="240">
131
                       <div style="display:flex;">
131
                       <div style="display:flex;">
132
                         <label-box style="margin-left:15px;" v-for="(item, index) in consciousness_arr" :key="index" :isChecked="receiverTreatmentAccess.consciousness == item.id ? true : false" :showValue="item.name"></label-box>
132
                         <label-box style="margin-left:15px;" v-for="(item, index) in consciousness_arr" :key="index" :isChecked="receiverTreatmentAccess.consciousness == item.id ? true : false" :showValue="item.name"></label-box>
133
 
133
 
143
                         <!--showValue='模糊'></label-box>-->
143
                         <!--showValue='模糊'></label-box>-->
144
                       </div>
144
                       </div>
145
                     </td>
145
                     </td>
146
-                    <td width="40">出血:</td>
147
-                    <td width="40">
148
-                      <div>
149
-                        <label-box :isChecked="predialysis.is_hemorrhage == 2 ? true : false" showValue="无"></label-box>
150
-                      </div>
151
-                    </td>
152
-                    <td width="200">
153
-                      <div>
154
-                        <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('牙龈出血') > -1 ? true : false" showValue="牙龈出血"></label-box>
155
-                        &nbsp;
156
-                        <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('瘀斑') > -1 ? true : false" showValue="瘀斑"></label-box>
157
-                        &nbsp;
158
-                        <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('经期') > -1 ? true : false" showValue="经期"></label-box>
159
-                        
160
-                        
161
-                      </div>
162
-                    </td>
163
-                    <td width="50">
164
-                      <div>
165
-                        <label-box :isChecked="predialysis.hemorrhage_other != '' ? true : false" showValue="其他"></label-box>
166
-                      </div>
167
-                    </td>
168
-                    <td width="100">
169
-                        <div class="under-line">&nbsp;{{ predialysis.hemorrhage_other ? predialysis.hemorrhage_other : '' }}</div>
170
-                    </td>
146
+                    
171
                     <td></td>
147
                     <td></td>
172
                   </tr>
148
                   </tr>
173
                 </tbody>
149
                 </tbody>
188
                     </td>
164
                     </td>
189
                     <td width='40'>针眼:</td>
165
                     <td width='40'>针眼:</td>
190
                     <td width='10'>A</td>
166
                     <td width='10'>A</td>
191
-                    <td width='120'>
167
+                    <td width='70'>
192
                         <div class="under-line">&nbsp;
168
                         <div class="under-line">&nbsp;
193
                             <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('A1')>-1">A1,</span>
169
                             <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('A1')>-1">A1,</span>
194
                             <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('A2')>-1">A2,</span>
170
                             <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('A2')>-1">A2,</span>
199
                         </div>
175
                         </div>
200
                     </td>
176
                     </td>
201
                     <td width='10'>V</td>
177
                     <td width='10'>V</td>
202
-                    <td width='120'>
178
+                    <td width='70'>
203
                         <div class="under-line">&nbsp;
179
                         <div class="under-line">&nbsp;
204
                             <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('V1')>-1">V1,</span>
180
                             <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('V1')>-1">V1,</span>
205
                             <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('V2')>-1">V2,</span>
181
                             <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('V2')>-1">V2,</span>
209
                             <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('V6')>-1">V6</span>
185
                             <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('V6')>-1">V6</span>
210
                         </div>
186
                         </div>
211
                     </td>
187
                     </td>
212
-                    <td width='80'>内瘘位置:</td>
213
-                    <td width="280">
188
+                    <td width="40">出血:</td>
189
+                    <td width="40">
214
                       <div>
190
                       <div>
215
-                        <label-box :isChecked="predialysis.blood_access_part_id ? (predialysis.blood_access_part_id.indexOf('内瘘-左') > -1 ? true : false) : false" showValue="左"></label-box>
216
-                        &nbsp;
217
-                        <label-box :isChecked="predialysis.blood_access_part_id ? (predialysis.blood_access_part_id.indexOf('内瘘-右') > -1 ? true : false) : false" showValue="右"></label-box>
218
-                        &nbsp;
219
-                        <label-box :isChecked="predialysis.blood_access_part_id ? (predialysis.blood_access_part_id.indexOf('内瘘-前臂') > -1 ? true : false) : false" showValue="前臂"></label-box>
220
-                        &nbsp;
221
-                        <label-box :isChecked="predialysis.blood_access_part_id ? (predialysis.blood_access_part_id.indexOf('内瘘-上臂') > -1 ? true : false) : false" showValue="上臂"></label-box>
191
+                        <label-box :isChecked="predialysis.is_hemorrhage == 2 ? true : false" showValue="无"></label-box>
192
+                      </div>
193
+                    </td>
194
+                    <td width="200">
195
+                      <div>
196
+                        <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('牙龈出血') > -1 ? true : false" showValue="牙龈出血"></label-box>
222
                         &nbsp;
197
                         &nbsp;
223
-                        <label-box :isChecked="predialysis.blood_access_part_id ? (predialysis.blood_access_part_id.indexOf('内瘘-下肢') > -1 ? true : false) : false" showValue="下肢"></label-box>
198
+                        <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('瘀斑') > -1 ? true : false" showValue="瘀斑"></label-box>
224
                         &nbsp;
199
                         &nbsp;
200
+                        <label-box :isChecked="predialysis.is_hemorrhage == 1 && predialysis.hemorrhage.indexOf('经期') > -1 ? true : false" showValue="经期"></label-box>
201
+                        
202
+                        
203
+                      </div>
204
+                    </td>
205
+                    <td width="50">
206
+                      <div>
207
+                        <label-box :isChecked="predialysis.hemorrhage_other != '' ? true : false" showValue="其他"></label-box>
225
                       </div>
208
                       </div>
226
                     </td>
209
                     </td>
210
+                    <td width="100">
211
+                        <div class="under-line">&nbsp;{{ predialysis.hemorrhage_other ? predialysis.hemorrhage_other : '' }}</div>
212
+                    </td>
227
                     <td></td>
213
                     <td></td>
228
                   </tr>
214
                   </tr>
229
                 </tbody>
215
                 </tbody>
254
                         <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('红肿') > -1 ? true : false" showValue="红肿"></label-box>
240
                         <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('红肿') > -1 ? true : false" showValue="红肿"></label-box>
255
                       </div>
241
                       </div>
256
                     </td>
242
                     </td>
243
+                    <td width='80'>内瘘位置:</td>
244
+                    <td width="280">
245
+                      <div>
246
+                        <label-box :isChecked="predialysis.blood_access_part_id ? (predialysis.blood_access_part_id.indexOf('内瘘-左') > -1 ? true : false) : false" showValue="左"></label-box>
247
+                        &nbsp;
248
+                        <label-box :isChecked="predialysis.blood_access_part_id ? (predialysis.blood_access_part_id.indexOf('内瘘-右') > -1 ? true : false) : false" showValue="右"></label-box>
249
+                        &nbsp;
250
+                        <label-box :isChecked="predialysis.blood_access_part_id ? (predialysis.blood_access_part_id.indexOf('内瘘-前臂') > -1 ? true : false) : false" showValue="前臂"></label-box>
251
+                        &nbsp;
252
+                        <label-box :isChecked="predialysis.blood_access_part_id ? (predialysis.blood_access_part_id.indexOf('内瘘-上臂') > -1 ? true : false) : false" showValue="上臂"></label-box>
253
+                        &nbsp;
254
+                        <label-box :isChecked="predialysis.blood_access_part_id ? (predialysis.blood_access_part_id.indexOf('内瘘-下肢') > -1 ? true : false) : false" showValue="下肢"></label-box>
255
+                        &nbsp;
256
+                      </div>
257
+                    </td>
257
                     <td></td>
258
                     <td></td>
258
                   </tr>
259
                   </tr>
259
                 </tbody>
260
                 </tbody>
312
                     <td width='40'>位置</td>
313
                     <td width='40'>位置</td>
313
                     <td width="280">
314
                     <td width="280">
314
                       <div>
315
                       <div>
315
-                        <label-box :isChecked="predialysis.blood_access_part_id ? (QueryPartById(predialysis.blood_access_part_id).indexOf('置管-左') > -1 ? true : false) : false" showValue="左"></label-box>
316
+                        <label-box :isChecked="predialysis.blood_access_part_id ? (predialysis.blood_access_part_id.indexOf('置管-左') > -1 ? true : false) : false" showValue="左"></label-box>
316
                         &nbsp;
317
                         &nbsp;
317
-                        <label-box :isChecked="predialysis.blood_access_part_id ? (QueryPartById(predialysis.blood_access_part_id).indexOf('置管-右') > -1 ? true : false) : false" showValue="右"></label-box>
318
+                        <label-box :isChecked="predialysis.blood_access_part_id ? (predialysis.blood_access_part_id.indexOf('置管-右') > -1 ? true : false) : false" showValue="右"></label-box>
318
                         &nbsp;
319
                         &nbsp;
319
-                        <label-box :isChecked="predialysis.blood_access_part_id ? (QueryPartById(predialysis.blood_access_part_id).indexOf('置管-颈内') > -1 ? true : false) : false" showValue="颈内"></label-box>
320
+                        <label-box :isChecked="predialysis.blood_access_part_id ? (predialysis.blood_access_part_id.indexOf('置管-颈内') > -1 ? true : false) : false" showValue="颈内"></label-box>
320
                         &nbsp;
321
                         &nbsp;
321
-                        <label-box :isChecked="predialysis.blood_access_part_id ? (QueryPartById(predialysis.blood_access_part_id).indexOf('置管-股V') > -1 ? true : false) : false" showValue="股V"></label-box>
322
+                        <label-box :isChecked="predialysis.blood_access_part_id ? (predialysis.blood_access_part_id.indexOf('置管-股V') > -1 ? true : false) : false" showValue="股V"></label-box>
322
                         &nbsp;
323
                         &nbsp;
323
-                        <label-box :isChecked="predialysis.blood_access_part_id ? (QueryPartById(predialysis.blood_access_part_id).indexOf('置管-锁骨下') > -1 ? true : false) : false" showValue="锁骨下"></label-box>
324
+                        <label-box :isChecked="predialysis.blood_access_part_id ? (predialysis.blood_access_part_id.indexOf('置管-锁骨下') > -1 ? true : false) : false" showValue="锁骨下"></label-box>
324
                         &nbsp;
325
                         &nbsp;
325
                       </div>
326
                       </div>
326
                     </td>
327
                     </td>
428
                         <label-box :isChecked="predialysis.edema && predialysis.edema.indexOf('无') > -1 ? true : false" showValue="无"></label-box>
429
                         <label-box :isChecked="predialysis.edema && predialysis.edema.indexOf('无') > -1 ? true : false" showValue="无"></label-box>
429
                     </td>
430
                     </td>
430
                     <td width='30'>
431
                     <td width='30'>
431
-                        <label-box :isChecked="predialysis.edema && getEdema(predialysis.edema) != '' ? true : false" showValue=""></label-box>
432
+                        <label-box :isChecked="predialysis.edema && predialysis.edema.indexOf('无') == -1 ? true : false" showValue=""></label-box>
432
                     </td>
433
                     </td>
433
                     <td width='80'>
434
                     <td width='80'>
434
                         <div class="under-line">&nbsp;{{ predialysis.edema ? getEdema(predialysis.edema) : '' }}</div>
435
                         <div class="under-line">&nbsp;{{ predialysis.edema ? getEdema(predialysis.edema) : '' }}</div>
600
                             </td>
601
                             </td>
601
                             <td width='60'>
602
                             <td width='60'>
602
                                 <div class="under-line">
603
                                 <div class="under-line">
603
-                                    &nbsp;<span v-if="prescription.anticoagulant == 6">{{ prescription.anticoagulant_zongliang }}</span>
604
+                                    &nbsp;
604
                                 </div>
605
                                 </div>
605
                             </td>
606
                             </td>
606
-                            <td width='10'>IU</td>
607
                             <td width='10'>(</td>
607
                             <td width='10'>(</td>
608
                             <td width='40'>首剂</td>
608
                             <td width='40'>首剂</td>
609
                             <td width='50'>
609
                             <td width='50'>
626
                             <td width='40'>其他</td>
626
                             <td width='40'>其他</td>
627
                             <td width='100'>
627
                             <td width='100'>
628
                                 <div class="under-line">&nbsp;
628
                                 <div class="under-line">&nbsp;
629
-                                    <span v-if="prescription.anticoagulant != 1 && prescription.anticoagulant != 2 && prescription.anticoagulant != 6">
629
+                                    <span v-if="prescription.anticoagulant != 1 && prescription.anticoagulant != 2 && prescription.anticoagulant != 3 && prescription.anticoagulant != 6">
630
                                         {{ prescription.anticoagulant_name }}
630
                                         {{ prescription.anticoagulant_name }}
631
                                     </span>
631
                                     </span>
632
                                 </div>
632
                                 </div>
1466
               newStr += item + ','
1466
               newStr += item + ','
1467
             }
1467
             }
1468
           })
1468
           })
1469
+          
1469
           return newStr.substring(0, newStr.length - 1)
1470
           return newStr.substring(0, newStr.length - 1)
1470
         }
1471
         }
1471
       }
1472
       }