Explorar el Código

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

28169 hace 9 meses
padre
commit
1e2cbc2793

+ 12 - 0
src/router/modules/dialysis.js Ver fichero

@@ -999,6 +999,18 @@ export default {
999 999
         noCache: true
1000 1000
       }
1001 1001
     },
1002
+    {//74
1003
+      path: '/dialysis/print/batch/seventyfour',
1004
+      component: () =>
1005
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_seventyfour'),
1006
+      hidden: true,
1007
+      is_menu: false,
1008
+      name: 'batch_print_order_seventyfour',
1009
+      meta: {
1010
+        title: '批量打印',
1011
+        noCache: true
1012
+      }
1013
+    },
1002 1014
     {//75
1003 1015
       path: '/dialysis/print/batch/seventyfive',
1004 1016
       component: () =>

+ 1 - 1
src/xt_pages/dialysis/PatientBox.vue Ver fichero

@@ -864,7 +864,7 @@ export default {
864 864
         @include display-flex;
865 865
         @include align-items-center;
866 866
         .iconfont {
867
-          margin: 0 5px 0 0;
867
+          margin: 0 0px 0 0;
868 868
           font-size: 18px;
869 869
         }
870 870
       }

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1427 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_seventyfour.vue


+ 11 - 0
src/xt_pages/dialysis/bloodPresssWatch.vue Ver fichero

@@ -464,6 +464,15 @@
464 464
           type="primary"
465 465
           >批量打印</el-button>
466 466
       </template>
467
+      <template v-if="this.template_id == 74">
468
+        <el-button
469
+          size="small"
470
+          icon="el-icon-printer"
471
+          :disabled="selecting_schs.length == 0"
472
+          @click="batchPrintAction"
473
+          type="primary"
474
+          >批量打印</el-button>
475
+      </template>
467 476
       <template v-if="this.template_id == 75">
468 477
         <el-button
469 478
           size="small"
@@ -2249,6 +2258,8 @@ export default {
2249 2258
         this.$router.push({ path: "/dialysis/print/batch/seventytwo" });
2250 2259
       }else if (this.template_id == 73) {
2251 2260
         this.$router.push({ path: "/dialysis/print/batch/seventythree" });
2261
+      }else if (this.template_id == 74) {
2262
+        this.$router.push({ path: '/dialysis/print/batch/seventyfour' });
2252 2263
       }else if (this.template_id == 75) {
2253 2264
         this.$router.push({ path: "/dialysis/print/batch/seventyfive" });
2254 2265
       }else if (this.template_id == 76) {

+ 25 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue Ver fichero

@@ -952,6 +952,18 @@
952 952
         >
953 953
         </div>
954 954
       </template>
955
+      <template v-if="org_template_info.template_id == 77">
956
+        <div>
957
+          <el-button
958
+          :loading="loading"
959
+          size="small"
960
+          icon="el-icon-printer"
961
+          @click="printThisPage"
962
+          type="primary"
963
+          >打印</el-button
964
+        >
965
+        </div>
966
+      </template>
955 967
     </div>
956 968
     <div class="app-container" style="min-height: 0">
957 969
       <!--<div class="order-print-btn"-->
@@ -1460,6 +1472,9 @@
1460 1472
           <DialysisPrintOrderSeventysix v-bind:childResponse="childResponse"
1461 1473
           v-if="org_template_info.template_id == 76">
1462 1474
           </DialysisPrintOrderSeventysix>
1475
+          <DialysisPrintOrderSeventyseven v-bind:childResponse="childResponse"
1476
+          v-if="org_template_info.template_id == 77">
1477
+          </DialysisPrintOrderSeventyseven>
1463 1478
         </div>
1464 1479
       </el-container>
1465 1480
     </div>
@@ -1554,6 +1569,7 @@ import DialysisPrintOrderSeventythree from './template/DialysisPrintOrderSeventy
1554 1569
 import DialysisPrintOrderSop from './template/DialysisPrintOrderSop'
1555 1570
 import DialysisPrintOrderseventyfive from './template/DialysisPrintOrderseventyfive'
1556 1571
 import DialysisPrintOrderSeventysix from './template/DialysisPrintOrderSeventysix'
1572
+import DialysisPrintOrderSeventyseven from './template/DialysisPrintOrderSeventyseven'
1557 1573
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1558 1574
 export default {
1559 1575
   name: "dialysisPrintOrder",
@@ -1634,6 +1650,7 @@ export default {
1634 1650
     DialysisPrintOrderSop,
1635 1651
     DialysisPrintOrderseventyfive,
1636 1652
     DialysisPrintOrderSeventysix,
1653
+    DialysisPrintOrderSeventyseven,
1637 1654
     DialysisPrintOrderZero,
1638 1655
     LabelBox,
1639 1656
     BreadCrumb,
@@ -1815,7 +1832,7 @@ export default {
1815 1832
         '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
1816 1833
       const style2 =
1817 1834
         // 防止分页错位问题:table设置border: none;.tr设置page-break-inside:avoid; // 防止table数据太多,tr分页错乱 td设置border: 1px solid #000;// 防止部分分页的tr边框线没有
1818
-        '@media print {.dialysis-print-order{width:960px;margin:0 auto} .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; } .print-table{border: none} .print-table tr{page-break-inside:avoid;} .print-table tr td{border: 1px solid #000;} .inside_table{border: none} .inside_table tr{page-break-inside:avoid;} .inside_table tr td{border: 1px solid #000;} .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 20px;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 ;} .row1{ border-left: 1px solid black;padding: 5px 5px;} .row2{ border-left:1px solid black; border-right:1px solid black; border-bottom:1px solid black;} .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{page-break-inside:avoid;} .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: 3px 5px;line-height: 30px;}.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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.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%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}.table-box1 tr {border-bottom: 1px solid #000;} .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px} ';
1835
+        '@media print {.dialysis-print-order{width:960px;margin:0 auto} .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; } .print-table{border: none} .print-table tr{page-break-inside:avoid;} .print-table tr td{border: 1px solid #000;} .inside_table{border: none} .inside_table tr{page-break-inside:avoid;} .inside_table tr td{border: 1px solid #000;} .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 20px;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;} .row1{ border-left: 1px solid black;padding: 5px 5px;} .row2{ border-left:1px solid black; border-right:1px solid black; border-bottom:1px solid black;} .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{page-break-inside:avoid;} .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-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.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%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}.table-box1 tr {border-bottom: 1px solid #000;} .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px} ';
1819 1836
       const style3 =
1820 1837
         '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:16px;border-color: #000;}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #000;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}.row {font-size: 16px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line {display: inline-block;border-bottom: 1px solid #000;text-align: center;white-space: nowrap; width: 50%;}';
1821 1838
       // const style3 =
@@ -2323,6 +2340,13 @@ export default {
2323 2340
           style: style2,
2324 2341
           scanStyles: false,
2325 2342
         });
2343
+      }else if (this.org_template_info.template_id == 77) {
2344
+        printJS({
2345
+          printable: "dialysis-print-box-1",
2346
+          type: "html",
2347
+          style: style2,
2348
+          scanStyles: false,
2349
+        });
2326 2350
       }
2327 2351
        else if (this.org_template_info.template_id == 199 ) {
2328 2352
         printJS({

+ 2 - 13
src/xt_pages/outpatientDoctorStation/treatTemplate/printOne.vue Ver fichero

@@ -1,12 +1,7 @@
1 1
 <template>
2 2
     <div id='prescriptionPrint'>
3 3
         <div id='prescription-print' class="prescription-print" v-for="(item,index) in advicePrint" :key="index">
4
-            <span v-if="org_id == 10537 || org_id ==0">
5
-              <img
6
-                src="	https://kuyi.shengws.com/xuwenshou.jpg"
7
-                style="width: 100%"
8
-                alt=""/>
9
-            </span>
4
+           
10 5
             <div style="display:flex;justify-content: space-between;font-weight:bold;align-items:center;" >
11 6
                 <div style="width:200px;display:flex;justify-content: space-between;font-weight:bold;">
12 7
                     <span>费别</span>
@@ -125,7 +120,6 @@
125 120
                     :src="setAdminUserES(item.creator,item.doctor)"
126 121
                     alt=""
127 122
                     srcset=""
128
-
129 123
                   />
130 124
                 </div>
131 125
                 <div style="width: 300px;">签章:</div>
@@ -159,12 +153,7 @@
159 153
                   </tr>
160 154
               </table>
161 155
             </div>
162
-            <span v-if="org_id == 10537 || org_id ==0">
163
-            <img
164
-              src="https://kuyi.shengws.com/xuwenwei.jpg"
165
-              style="width: 100%"
166
-              alt=""
167
-            /></span>
156
+            
168 157
         </div>
169 158
 
170 159
 

+ 14 - 2
src/xt_pages/outpatientDoctorStation/treatTemplate/printTwo.vue Ver fichero

@@ -19,12 +19,18 @@
19 19
           style="width: 100%"
20 20
           alt=""
21 21
       /></span>
22
-      <span v-if="org_id == 10610 ||org_id ==0">
22
+      <span v-if="org_id == 10610 ">
23 23
         <img
24 24
           src="@/assets/img/penggang_top.jpg"
25 25
           style="width: 100%"
26 26
           alt=""
27 27
       /></span>
28
+      <span v-if="org_id == 10537 ||org_id ==0">
29
+        <img
30
+          src="	https://kuyi.shengws.com/xuwenshou.jpg"
31
+          style="width: 100%"
32
+          alt=""/>
33
+      </span>
28 34
       <div class="printTitle">
29 35
         治疗单
30 36
         <span
@@ -218,12 +224,18 @@
218 224
           style="width: 100%"
219 225
           alt=""
220 226
       /></span>
221
-      <span v-if="org_id == 10610 ||org_id ==0">
227
+      <span v-if="org_id == 10610 ">
222 228
         <img
223 229
           src="@/assets/img/penggang_bottom.jpg"
224 230
           style="width: 100%"
225 231
           alt=""
226 232
       /></span>
233
+      <span v-if="org_id == 10537 ||org_id ==0">
234
+      <img
235
+        src="https://kuyi.shengws.com/xuwenwei.jpg"
236
+        style="width: 100%"
237
+        alt=""
238
+      /></span>
227 239
       <div style="page-break-after: always"></div>
228 240
     </div>
229 241