See999 před 4 roky
rodič
revize
2b0d4db1f3

+ 1 - 1
src/xt_pages/dialysis/allSummaryDialog_print.vue Zobrazit soubor

@@ -70,7 +70,7 @@ export default {
70 70
         return{
71 71
             crumbs: [
72 72
                 { path: false, name: '耗材药品' },
73
-                { path: false, name: '药品打印' }
73
+                { path: false, name: '打印' }
74 74
             ],
75 75
             tableData:[],
76 76
             start_time:"",

+ 1 - 1
src/xt_pages/dialysis/components/allSummaryDialog.vue Zobrazit soubor

@@ -110,7 +110,7 @@ export default {
110 110
         },
111 111
         toPrint(){
112 112
             this.$router.push({
113
-                path: '/dialysis/allsummarydialog_print?startime='+this.start_time+"&endtime="+this.end_time,
113
+                path: '/dialysis/allsummarydialog_print?startime='+this.start_time+"&endtime="+this.end_time + "&type=3",
114 114
                 // query: { date: date }
115 115
             })
116 116
         },

+ 1 - 1
src/xt_pages/dialysis/components/consumablesDialog.vue Zobrazit soubor

@@ -24,7 +24,7 @@
24 24
 
25 25
     </div>
26 26
     <div style="margin-top:10px;">
27
-      <el-table :data="tableData" border style="width: 100%" height="100%">
27
+      <el-table :data="tableData" border style="width: 100%" height="300px">
28 28
         <el-table-column align="center" prop="date" label="商品类型" width="180">
29 29
           <template slot-scope="scope">
30 30
             {{scope.row.good_type_name}}

+ 1 - 1
src/xt_pages/dialysis/components/dialysisParameters.vue Zobrazit soubor

@@ -317,7 +317,7 @@ export default {
317 317
              sch_ids.push(this.selecting_schs[index].id);
318 318
          }
319 319
          this.$store.dispatch("SetBatchPrintDialysisRecordIDs", sch_ids);
320
-         this.$router.push("/dialysis/dialysisParameters_print?startime="+this.start_time)
320
+         this.$router.push("/dialysis/dialysisParameters_print?startime="+this.start_time + "&type=2")
321 321
         },
322 322
        handleSizeChange(val) {
323 323
         this.limit = val;

+ 1 - 1
src/xt_pages/dialysis/components/dialysisParametersDialog.vue Zobrazit soubor

@@ -111,7 +111,7 @@ export default {
111 111
             this.$router.push({
112 112
                 // path: '/dialysis/dialysisParameters_print',
113 113
                 // query: { date: date }
114
-                path:"/dialysis/dialysisdrugs_print?startime="+this.query.start_time+"&endtime="+this.query.end_time
114
+                path:"/dialysis/dialysisdrugs_print?startime="+this.query.start_time+"&endtime="+this.query.end_time + "&type=2"
115 115
             })
116 116
         },
117 117
        selectStartime() {

+ 12 - 5
src/xt_pages/dialysis/consumableDrugs.vue Zobrazit soubor

@@ -5,16 +5,16 @@
5 5
         </div>
6 6
         <div class="app-container">
7 7
             <el-tabs v-model="activeName" @tab-click="handleClick">
8
-                <el-tab-pane label="透析耗材" name="first">
8
+                <el-tab-pane label="透析耗材" name="1">
9 9
                     <consumables></consumables>
10 10
                 </el-tab-pane>
11 11
                 <!-- <el-tab-pane label="透析药品" name="second">
12 12
                     <dialysis-drugs></dialysis-drugs>
13 13
                 </el-tab-pane> -->
14
-                <el-tab-pane label="透析参数" name="third">
14
+                <el-tab-pane label="透析参数" name="2">
15 15
                     <dialysis-parameters></dialysis-parameters>
16 16
                 </el-tab-pane>
17
-                <el-tab-pane label="汇总" name="fourth">
17
+                <el-tab-pane label="汇总" name="3">
18 18
                     <all-summary></all-summary>
19 19
                 </el-tab-pane>
20 20
             </el-tabs>
@@ -43,11 +43,18 @@ export default {
43 43
                 { path: false, name: "透析管理" },
44 44
                 { path: false, name: "耗材药品" }
45 45
             ],
46
-            activeName:'first'
46
+            activeName:'1'
47 47
         }
48 48
     },
49 49
     methods:{
50 50
         handleClick(){}
51
-    }
51
+    },
52
+    beforeRouteEnter: (to, from, next) => {
53
+        next(vm => {
54
+            if(from.query.type){
55
+                vm.activeName = from.query.type
56
+            }
57
+        });
58
+    },
52 59
 }
53 60
 </script>

+ 1 - 1
src/xt_pages/dialysis/consumables_print.vue Zobrazit soubor

@@ -67,7 +67,7 @@ export default {
67 67
           },
68 68
             crumbs: [
69 69
                 { path: false, name: '耗材药品' },
70
-                { path: false, name: '药品打印' }
70
+                { path: false, name: '打印' }
71 71
             ],
72 72
             start_time:"",
73 73
             end_time:"",

+ 1 - 1
src/xt_pages/dialysis/dialysisDrugs_print.vue Zobrazit soubor

@@ -67,7 +67,7 @@ export default {
67 67
         return{
68 68
             crumbs: [
69 69
                 { path: false, name: '耗材药品' },
70
-                { path: false, name: '药品打印' }
70
+                { path: false, name: '打印' }
71 71
             ],
72 72
             tableData:[],
73 73
             start_time:"",

+ 1 - 1
src/xt_pages/dialysis/dialysisParameters_print.vue Zobrazit soubor

@@ -121,7 +121,7 @@ export default {
121 121
         return{
122 122
             crumbs: [
123 123
                 { path: false, name: '耗材药品' },
124
-                { path: false, name: '参数打印' }
124
+                { path: false, name: '打印' }
125 125
             ],
126 126
             tableData:[],
127 127
             nowDate:"",