Browse Source

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

XMLWAN 4 years ago
parent
commit
42d7e0b219

+ 1 - 0
.gitignore View File

@@ -8,3 +8,4 @@ dist/
8 8
 .idea/modules.xml
9 9
 .idea/vcs.xml
10 10
 .idea/workspace.xml
11
+.DS_Store

+ 12 - 0
src/router/modules/dialysis.js View File

@@ -328,6 +328,18 @@ export default {
328 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 344
       path: '/dialysis/print/batch/twentyTwo_one',
333 345
       component: () =>

BIN
src/xt_pages/.DS_Store View File


File diff suppressed because it is too large
+ 1991 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_thirtyTwo.vue


+ 13 - 1
src/xt_pages/dialysis/bloodPresssWatch.vue View File

@@ -209,6 +209,16 @@
209 209
           >批量打印</el-button
210 210
         >
211 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 222
     </div>
213 223
     <div class="app-container">
214 224
       <!-- <div class="filter-container">
@@ -775,8 +785,10 @@ export default {
775 785
         this.$router.push({ path: "/dialysis/print/batch/twenty" });
776 786
       } else if (this.template_id == 22) {
777 787
         this.$router.push({ path: "/dialysis/print/batch/twentyTwo" });
778
-      }else if (this.template_id == 30) {
788
+      } else if (this.template_id == 30) {
779 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 794
     batchPrintActionOne: function() {

+ 49 - 48
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue View File

@@ -113,7 +113,7 @@
113 113
                 <tbody>
114 114
                   <tr>
115 115
                     <td width="70">入科方式:</td>
116
-                    <td width="190">
116
+                    <td width="240">
117 117
                       <div>
118 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 119
                         <!--&nbsp-->
@@ -127,7 +127,7 @@
127 127
 
128 128
                     <td width='20'></td>
129 129
                     <td width="50">意识:</td>
130
-                    <td width="140">
130
+                    <td width="240">
131 131
                       <div style="display:flex;">
132 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,31 +143,7 @@
143 143
                         <!--showValue='模糊'></label-box>-->
144 144
                       </div>
145 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 147
                     <td></td>
172 148
                   </tr>
173 149
                 </tbody>
@@ -188,7 +164,7 @@
188 164
                     </td>
189 165
                     <td width='40'>针眼:</td>
190 166
                     <td width='10'>A</td>
191
-                    <td width='120'>
167
+                    <td width='70'>
192 168
                         <div class="under-line">&nbsp;
193 169
                             <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('A1')>-1">A1,</span>
194 170
                             <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('A2')>-1">A2,</span>
@@ -199,7 +175,7 @@
199 175
                         </div>
200 176
                     </td>
201 177
                     <td width='10'>V</td>
202
-                    <td width='120'>
178
+                    <td width='70'>
203 179
                         <div class="under-line">&nbsp;
204 180
                             <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('V1')>-1">V1,</span>
205 181
                             <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('V2')>-1">V2,</span>
@@ -209,21 +185,31 @@
209 185
                             <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('V6')>-1">V6</span>
210 186
                         </div>
211 187
                     </td>
212
-                    <td width='80'>内瘘位置:</td>
213
-                    <td width="280">
188
+                    <td width="40">出血:</td>
189
+                    <td width="40">
214 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 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 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 208
                       </div>
226 209
                     </td>
210
+                    <td width="100">
211
+                        <div class="under-line">&nbsp;{{ predialysis.hemorrhage_other ? predialysis.hemorrhage_other : '' }}</div>
212
+                    </td>
227 213
                     <td></td>
228 214
                   </tr>
229 215
                 </tbody>
@@ -254,6 +240,21 @@
254 240
                         <label-box :isChecked="predialysis.internal_fistula_skin.indexOf('红肿') > -1 ? true : false" showValue="红肿"></label-box>
255 241
                       </div>
256 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 258
                     <td></td>
258 259
                   </tr>
259 260
                 </tbody>
@@ -312,15 +313,15 @@
312 313
                     <td width='40'>位置</td>
313 314
                     <td width="280">
314 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 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 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 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 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 325
                         &nbsp;
325 326
                       </div>
326 327
                     </td>
@@ -428,7 +429,7 @@
428 429
                         <label-box :isChecked="predialysis.edema && predialysis.edema.indexOf('无') > -1 ? true : false" showValue="无"></label-box>
429 430
                     </td>
430 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 433
                     </td>
433 434
                     <td width='80'>
434 435
                         <div class="under-line">&nbsp;{{ predialysis.edema ? getEdema(predialysis.edema) : '' }}</div>
@@ -600,10 +601,9 @@
600 601
                             </td>
601 602
                             <td width='60'>
602 603
                                 <div class="under-line">
603
-                                    &nbsp;<span v-if="prescription.anticoagulant == 6">{{ prescription.anticoagulant_zongliang }}</span>
604
+                                    &nbsp;
604 605
                                 </div>
605 606
                             </td>
606
-                            <td width='10'>IU</td>
607 607
                             <td width='10'>(</td>
608 608
                             <td width='40'>首剂</td>
609 609
                             <td width='50'>
@@ -626,7 +626,7 @@
626 626
                             <td width='40'>其他</td>
627 627
                             <td width='100'>
628 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 630
                                         {{ prescription.anticoagulant_name }}
631 631
                                     </span>
632 632
                                 </div>
@@ -1466,6 +1466,7 @@ export default {
1466 1466
               newStr += item + ','
1467 1467
             }
1468 1468
           })
1469
+          
1469 1470
           return newStr.substring(0, newStr.length - 1)
1470 1471
         }
1471 1472
       }