Pārlūkot izejas kodu

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

csx 3 gadus atpakaļ
vecāks
revīzija
ca4b624d46

+ 2 - 2
src/xt_pages/data/components/drugs.vue Parādīt failu

@@ -64,7 +64,7 @@
64 64
     <div style="display:flex; align-items:center;margin-bottom:10px;">
65 65
         <el-button type="primary" size="small" @click="BatchDelete()" v-if="$store.getters.xt_user.org_id == 9504 || $store.getters.xt_user.org_id == 10028" >批量备案</el-button>
66 66
         <el-button type="primary" size="small" v-if="$store.getters.xt_user.org_id != 9504 && $store.getters.xt_user.org_id != 10028" @click="GDYBBatchPutOnRecord()">批量备案</el-button>
67
-        <el-link target="_blank" href="https://kuyi.shengws.com/drug_template.xlsx" :underline="false"
67
+        <!-- <el-link target="_blank" href="https://kuyi.shengws.com/drug_template.xlsx" :underline="false"
68 68
                  style="margin-left:15px">
69 69
           <el-button
70 70
             class="filter-item"
@@ -81,7 +81,7 @@
81 81
           type="primary"
82 82
           size="small"
83 83
         >下载日志
84
-        </el-button>
84
+        </el-button> -->
85 85
       </div>
86 86
     <el-table :data="list" border style="width: 100%" :row-style="{ color: '#303133' }"
87 87
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}"

+ 2 - 2
src/xt_pages/data/components/project.vue Parādīt failu

@@ -41,7 +41,7 @@
41 41
         <div style="display:flex; align-items:center;margin-bottom:10px;">
42 42
         <el-button type="primary" size="small" @click="BatchDelete()" v-if="$store.getters.xt_user.org_id == 9504 || $store.getters.xt_user.org_id == 10028" >批量备案</el-button>
43 43
         <el-button type="primary" size="small" v-if="$store.getters.xt_user.org_id != 9504 && $store.getters.xt_user.org_id != 10028" @click="GDYBBatchPutOnRecord()">批量备案</el-button>
44
-        <el-link target="_blank" href="https://kuyi.shengws.com/project_template.xlsx" :underline="false"
44
+        <!-- <el-link target="_blank" href="https://kuyi.shengws.com/project_template.xlsx" :underline="false"
45 45
                  style="margin-left:15px">
46 46
           <el-button
47 47
             class="filter-item"
@@ -60,7 +60,7 @@
60 60
           type="primary"
61 61
           size="small"
62 62
         >下载日志
63
-        </el-button>
63
+        </el-button> -->
64 64
       </div>
65 65
         <el-table :data="tableData" border style="width: 100%" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}"  @selection-change="handleSelectionChange">
66 66
             <el-table-column

+ 56 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue Parādīt failu

@@ -495,6 +495,34 @@
495 495
           >打印</el-button
496 496
         >
497 497
       </template>
498
+      <template v-if="org_template_info.template_id == 36">
499
+        <div>
500
+          <el-button
501
+            :loading="loading"
502
+            size="small"
503
+            icon="el-icon-printer"
504
+            @click="printThisPage"
505
+            type="primary"
506
+            >打印全部</el-button
507
+          >
508
+          <el-button
509
+            :loading="loading"
510
+            size="small"
511
+            icon="el-icon-printer"
512
+            @click="printThisOnePage"
513
+            type="primary"
514
+            >打印纪录单</el-button
515
+          >
516
+          <el-button
517
+            :loading="loading"
518
+            size="small"
519
+            icon="el-icon-printer"
520
+            @click="printThisTwoPage"
521
+            type="primary"
522
+            >打印医嘱单</el-button
523
+          >
524
+        </div>
525
+      </template>
498 526
     </div>
499 527
     <div class="app-container" style="min-height:0;">
500 528
       <!--<div class="order-print-btn"-->
@@ -750,6 +778,11 @@
750 778
             v-if="org_template_info.template_id == 35"
751 779
           >
752 780
           </DialysisPrintOrderThirtyFive>
781
+          <DialysisPrintOrderThirtySix
782
+            v-bind:childResponse="childResponse"
783
+            v-if="org_template_info.template_id == 36"
784
+          >
785
+          </DialysisPrintOrderThirtySix>
753 786
         </div>
754 787
       </el-container>
755 788
     </div>
@@ -804,9 +837,11 @@ import DialysisPrintOrderThirtyTwo from "./template/DialysisPrintOrderThirtyTwo"
804 837
 import DialysisPrintOrderThirtyThree from "./template/DialysisPrintOrderThirtyThree";
805 838
 import DialysisPrintOrderThirtyFour from "./template/DialysisPrintOrderThirtyFour";
806 839
 import DialysisPrintOrderThirtyFive from "./template/DialysisPrintOrderThirtyFive";
840
+import DialysisPrintOrderThirtySix from "./template/DialysisPrintOrderThirtySix";
807 841
 export default {
808 842
   name: "dialysisPrintOrder",
809 843
   components: {
844
+    DialysisPrintOrderThirtySix,
810 845
     DialysisPrintOrderThirtyFive,
811 846
     DialysisPrintOrderThirtyFour,
812 847
     DialysisPrintOrderThirtyThree,
@@ -1249,6 +1284,13 @@ export default {
1249 1284
           style: style,
1250 1285
           scanStyles: false
1251 1286
         });
1287
+      } else if (this.org_template_info.template_id == 36) {
1288
+        printJS({
1289
+          printable: "dialysis-print-box-1",
1290
+          type: "html",
1291
+          style: style,
1292
+          scanStyles: false
1293
+        });
1252 1294
       }
1253 1295
     },
1254 1296
     printThisOnePage() {
@@ -1301,6 +1343,13 @@ export default {
1301 1343
           style: style,
1302 1344
           scanStyles: false
1303 1345
         });
1346
+      } else if(this.org_template_info.template_id == 36){
1347
+        printJS({
1348
+          printable: "dialysis-print-box-1-1",
1349
+          type: "html",
1350
+          style: style,
1351
+          scanStyles: false
1352
+        });
1304 1353
       }
1305 1354
     },
1306 1355
     printThisTwoPage() {
@@ -1353,6 +1402,13 @@ export default {
1353 1402
           style: style,
1354 1403
           scanStyles: false
1355 1404
         });
1405
+      } else if(this.org_template_info.template_id == 36){
1406
+        printJS({
1407
+          printable: "dialysis-print-box-1-2",
1408
+          type: "html",
1409
+          style: style,
1410
+          scanStyles: false
1411
+        });
1356 1412
       }
1357 1413
     },
1358 1414
     getNumber() {

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1825 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderThirtySix.vue


+ 2 - 2
src/xt_pages/outpatientRegistration/index.vue Parādīt failu

@@ -688,7 +688,8 @@
688 688
             cb([])
689 689
           }
690 690
         })
691
-      }, readingSZ() {
691
+      }, 
692
+      readingSZ() {
692 693
         var that = this
693 694
         if (this.form.id_card_type.length == 0 || this.form.id_card_type == 0) {
694 695
           this.$message.error('请先选择读卡类型')
@@ -737,7 +738,6 @@
737 738
           .catch(function(error) {
738 739
 
739 740
           })
740
-
741 741
       },
742 742
 
743 743
       reading(medicalInsuranceCard) {