Bläddra i källkod

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

28169 1 år sedan
förälder
incheckning
af3b07075f

+ 12 - 0
src/router/modules/dialysis.js Visa fil

@@ -975,6 +975,18 @@ export default {
975 975
         noCache: true
976 976
       }
977 977
     },
978
+    {
979
+      path: '/dialysis/print/batch/seventythree',
980
+      component: () =>
981
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_seventythree'),
982
+      hidden: true,
983
+      is_menu: false,
984
+      name: 'batch_print_order_seventythree',
985
+      meta: {
986
+        title: '批量打印',
987
+        noCache: true
988
+      }
989
+    },
978 990
     {
979 991
       path: '/dialysis/flow',
980 992
       component: () => import('@/xt_pages/dialysis/dialysisFlow'),

+ 12 - 12
src/xt_pages/dialysis/batch_print/batch_print_order_seventyone.vue Visa fil

@@ -8,7 +8,7 @@
8 8
         icon="el-icon-printer"
9 9
         @click="printThisPage"
10 10
         type="primary"
11
-      >打印71
11
+      >打印
12 12
       </el-button>
13 13
     </div>
14 14
     <div class="app-container">
@@ -314,11 +314,11 @@
314 314
                 </div>
315 315
                 <div style="flex: 1;">
316 316
                   医师签名
317
-                  <span class="under-line" style="display: inline-block;width: 50%;" v-if="setAdminUserES(record.prescription,'prescription_doctor') == ''">
318
-                    {{ getAdminUser(record.prescription, 'prescription_doctor')}}
317
+                  <span class="under-line" style="display: inline-block;width: 50%;" v-if="setAdminUserES(record.prescription,'creater') == ''">
318
+                    {{ getAdminUser(record.prescription, 'creater')}}
319 319
                   </span>
320 320
                   <span class="under-line" style="display: inline-block;width: 50%;" v-else>
321
-                    <img style="height:30px;" :src="setAdminUserES(record.prescription,'prescription_doctor')" alt srcset />
321
+                    <img style="height:30px;" :src="setAdminUserES(record.prescription,'creater')" alt srcset />
322 322
                   </span>
323 323
                 </div>
324 324
               </div>
@@ -332,7 +332,7 @@
332 332
                 <div style="flex: 1;">
333 333
                   透 (滤) 器
334 334
                   <span class="under-line" style="display: inline-block;width: 50%;" >
335
-                    
335
+
336 336
                     {{  record.prescription && record.prescription.dialysis_dialyszers
337 337
                         ? record.prescription.dialysis_dialyszers : "/"
338 338
                     }}
@@ -343,8 +343,8 @@
343 343
                 <div style="flex: 1;">
344 344
                   灌流器
345 345
                   <span class="under-line" style="display: inline-block;width: 50%;">
346
-                    {{  record.prescription && record.prescription.dialysis_irrigation 
347
-                      ? record.prescription.dialysis_irrigation : "/" 
346
+                    {{  record.prescription && record.prescription.dialysis_irrigation
347
+                      ? record.prescription.dialysis_irrigation : "/"
348 348
                     }}
349 349
                   </span>
350 350
                 </div>
@@ -388,7 +388,7 @@
388 388
                 <div style="flex: 1;">
389 389
                   穿刺针
390 390
                   <span class="under-line" style="display: inline-block;width: 50%;">
391
-                    {{ record.assessment_before_dislysis && record.assessment_before_dislysis.puncture_needle 
391
+                    {{ record.assessment_before_dislysis && record.assessment_before_dislysis.puncture_needle
392 392
                       ? record.assessment_before_dislysis.puncture_needle : "/" }}
393 393
                   </span>
394 394
                 </div>
@@ -523,7 +523,7 @@
523 523
                       {{ monitor.dialysate_temperature ? monitor.dialysate_temperature : "/" }}
524 524
                     </span>
525 525
                   </td>
526
-        
526
+
527 527
                   <td>
528 528
                     <span v-if="getTime(monitor.operate_time) != ''">
529 529
                       {{ monitor.pulse_frequency ? monitor.pulse_frequency : "/" }}
@@ -540,7 +540,7 @@
540 540
                       {{ monitor.breathing_rate ? monitor.breathing_rate : "/" }}
541 541
                     </span>
542 542
                   </td>
543
-        
543
+
544 544
                   <td>
545 545
                     <span v-if="getTime(monitor.operate_time) != ''">
546 546
                       {{
@@ -718,8 +718,8 @@
718 718
                     <div style="flex:1">
719 719
                       医师签名
720 720
                       <div class="under-line" style="display: inline-block;width: 50%;">
721
-                        <span v-if="setAdminUserES(record.prescription, 'prescription_doctor') == ''">{{getAdminUser(record.prescription, 'prescription_doctor')}}</span>
722
-                        <img class="es-img" :src="setAdminUserES(record.prescription, 'prescription_doctor')" alt="" srcset="" v-else style="height: 30px;">
721
+                        <span v-if="setAdminUserES(record.prescription, 'creater') == ''">{{getAdminUser(record.prescription, 'creater')}}</span>
722
+                        <img class="es-img" :src="setAdminUserES(record.prescription, 'creater')" alt="" srcset="" v-else style="height: 30px;">
723 723
                       </div>
724 724
                     </div>
725 725
                     <div style="flex:1">

Filskillnaden har hållits tillbaka eftersom den är för stor
+ 2561 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_seventythree.vue


+ 12 - 1
src/xt_pages/dialysis/bloodPresssWatch.vue Visa fil

@@ -444,7 +444,7 @@
444 444
           :disabled="selecting_schs.length == 0"
445 445
           @click="batchPrintAction"
446 446
           type="primary"
447
-          >批量打印71</el-button>
447
+          >批量打印</el-button>
448 448
       </template>
449 449
       <template v-if="this.template_id == 72">
450 450
         <el-button
@@ -455,6 +455,15 @@
455 455
           type="primary"
456 456
           >批量打印</el-button>
457 457
       </template>
458
+      <template v-if="this.template_id == 73">
459
+        <el-button
460
+          size="small"
461
+          icon="el-icon-printer"
462
+          :disabled="selecting_schs.length == 0"
463
+          @click="batchPrintAction"
464
+          type="primary"
465
+          >批量打印</el-button>
466
+      </template>
458 467
     </div>
459 468
     <div class="app-container">
460 469
       <!-- <div class="filter-container">
@@ -2218,6 +2227,8 @@ export default {
2218 2227
         this.$router.push({ path: "/dialysis/print/batch/seventyone" });
2219 2228
       }else if (this.template_id == 72) {
2220 2229
         this.$router.push({ path: "/dialysis/print/batch/seventytwo" });
2230
+      }else if (this.template_id == 73) {
2231
+        this.$router.push({ path: "/dialysis/print/batch/seventythree" });
2221 2232
       }
2222 2233
     },
2223 2234
     batchPrintActionOne: function() {

+ 27 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue Visa fil

@@ -904,6 +904,18 @@
904 904
         >
905 905
         </div>
906 906
       </template>
907
+      <template v-if="org_template_info.template_id == 73">
908
+        <div>
909
+          <el-button
910
+          :loading="loading"
911
+          size="small"
912
+          icon="el-icon-printer"
913
+          @click="printThisPage"
914
+          type="primary"
915
+          >打印</el-button
916
+        >
917
+        </div>
918
+      </template>
907 919
     </div>
908 920
     <div class="app-container" style="min-height: 0">
909 921
       <!--<div class="order-print-btn"-->
@@ -1391,6 +1403,11 @@
1391 1403
           >
1392 1404
           </DialysisPrintOrderSeventyTwo>
1393 1405
 
1406
+          <DialysisPrintOrderSeventythree
1407
+          v-bind:childResponse="childResponse"
1408
+            v-if="org_template_info.template_id == 73"
1409
+          ></DialysisPrintOrderSeventythree>
1410
+
1394 1411
           <DialysisPrintOrderZero
1395 1412
             v-bind:childResponse="childResponse"
1396 1413
             v-if="org_template_info.template_id == 199"
@@ -1487,6 +1504,7 @@ import DialysisPrintOrderSixtynine from './template/DialysisPrintOrderSixtynine'
1487 1504
 import DialysisPrintOrderSeventy from './template/DialysisPrintOrderSeventy'
1488 1505
 import DialysisPrintOrderseventyone from './template/DialysisPrintOrderseventyone'
1489 1506
 import DialysisPrintOrderSeventyTwo from './template/DialysisPrintOrderSeventyTwo'
1507
+import DialysisPrintOrderSeventythree from './template/DialysisPrintOrderSeventythree'
1490 1508
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1491 1509
 export default {
1492 1510
   name: "dialysisPrintOrder",
@@ -1563,6 +1581,7 @@ export default {
1563 1581
     DialysisPrintOrderSeventy,
1564 1582
     DialysisPrintOrderseventyone,
1565 1583
     DialysisPrintOrderSeventyTwo,
1584
+    DialysisPrintOrderSeventythree,
1566 1585
     DialysisPrintOrderZero,
1567 1586
     LabelBox,
1568 1587
     BreadCrumb,
@@ -2225,6 +2244,14 @@ export default {
2225 2244
           style: style,
2226 2245
           scanStyles: false,
2227 2246
         });
2247
+      }else if (this.org_template_info.template_id == 73 ) {
2248
+        printJS({
2249
+          printable: "dialysis-print-box-1",
2250
+          type: "html",
2251
+          style: style2,
2252
+          scanStyles: false,
2253
+        });
2254
+        console.log('77777',this.org_template_info.template_id);
2228 2255
       }
2229 2256
        else if (this.org_template_info.template_id == 199 ) {
2230 2257
         printJS({

Filskillnaden har hållits tillbaka eftersom den är för stor
+ 3330 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSeventythree.vue