Browse Source

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

csx 4 years ago
parent
commit
ca4b624d46

+ 2 - 2
src/xt_pages/data/components/drugs.vue View File

64
     <div style="display:flex; align-items:center;margin-bottom:10px;">
64
     <div style="display:flex; align-items:center;margin-bottom:10px;">
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>
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
         <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>
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
                  style="margin-left:15px">
68
                  style="margin-left:15px">
69
           <el-button
69
           <el-button
70
             class="filter-item"
70
             class="filter-item"
81
           type="primary"
81
           type="primary"
82
           size="small"
82
           size="small"
83
         >下载日志
83
         >下载日志
84
-        </el-button>
84
+        </el-button> -->
85
       </div>
85
       </div>
86
     <el-table :data="list" border style="width: 100%" :row-style="{ color: '#303133' }"
86
     <el-table :data="list" border style="width: 100%" :row-style="{ color: '#303133' }"
87
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}"
87
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}"

+ 2 - 2
src/xt_pages/data/components/project.vue View File

41
         <div style="display:flex; align-items:center;margin-bottom:10px;">
41
         <div style="display:flex; align-items:center;margin-bottom:10px;">
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>
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
         <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>
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
                  style="margin-left:15px">
45
                  style="margin-left:15px">
46
           <el-button
46
           <el-button
47
             class="filter-item"
47
             class="filter-item"
60
           type="primary"
60
           type="primary"
61
           size="small"
61
           size="small"
62
         >下载日志
62
         >下载日志
63
-        </el-button>
63
+        </el-button> -->
64
       </div>
64
       </div>
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">
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
             <el-table-column
66
             <el-table-column

+ 56 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

495
           >打印</el-button
495
           >打印</el-button
496
         >
496
         >
497
       </template>
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
     </div>
526
     </div>
499
     <div class="app-container" style="min-height:0;">
527
     <div class="app-container" style="min-height:0;">
500
       <!--<div class="order-print-btn"-->
528
       <!--<div class="order-print-btn"-->
750
             v-if="org_template_info.template_id == 35"
778
             v-if="org_template_info.template_id == 35"
751
           >
779
           >
752
           </DialysisPrintOrderThirtyFive>
780
           </DialysisPrintOrderThirtyFive>
781
+          <DialysisPrintOrderThirtySix
782
+            v-bind:childResponse="childResponse"
783
+            v-if="org_template_info.template_id == 36"
784
+          >
785
+          </DialysisPrintOrderThirtySix>
753
         </div>
786
         </div>
754
       </el-container>
787
       </el-container>
755
     </div>
788
     </div>
804
 import DialysisPrintOrderThirtyThree from "./template/DialysisPrintOrderThirtyThree";
837
 import DialysisPrintOrderThirtyThree from "./template/DialysisPrintOrderThirtyThree";
805
 import DialysisPrintOrderThirtyFour from "./template/DialysisPrintOrderThirtyFour";
838
 import DialysisPrintOrderThirtyFour from "./template/DialysisPrintOrderThirtyFour";
806
 import DialysisPrintOrderThirtyFive from "./template/DialysisPrintOrderThirtyFive";
839
 import DialysisPrintOrderThirtyFive from "./template/DialysisPrintOrderThirtyFive";
840
+import DialysisPrintOrderThirtySix from "./template/DialysisPrintOrderThirtySix";
807
 export default {
841
 export default {
808
   name: "dialysisPrintOrder",
842
   name: "dialysisPrintOrder",
809
   components: {
843
   components: {
844
+    DialysisPrintOrderThirtySix,
810
     DialysisPrintOrderThirtyFive,
845
     DialysisPrintOrderThirtyFive,
811
     DialysisPrintOrderThirtyFour,
846
     DialysisPrintOrderThirtyFour,
812
     DialysisPrintOrderThirtyThree,
847
     DialysisPrintOrderThirtyThree,
1249
           style: style,
1284
           style: style,
1250
           scanStyles: false
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
     printThisOnePage() {
1296
     printThisOnePage() {
1301
           style: style,
1343
           style: style,
1302
           scanStyles: false
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
     printThisTwoPage() {
1355
     printThisTwoPage() {
1353
           style: style,
1402
           style: style,
1354
           scanStyles: false
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
     getNumber() {
1414
     getNumber() {

File diff suppressed because it is too large
+ 1825 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderThirtySix.vue


+ 2 - 2
src/xt_pages/outpatientRegistration/index.vue View File

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