Przeglądaj źródła

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

XMLWAN 4 lat temu
rodzic
commit
513842d2e7

+ 1 - 1
src/xt_pages/dialysis/allSummaryDialog_print.vue Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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:"",

+ 7 - 5
src/xt_pages/qcd/basicInformationAnalysis.vue Wyświetl plik

@@ -64,7 +64,7 @@
64 64
       </div>
65 65
       <div v-if="way == 0" class="cell clearfix" style="align-items:normal">
66 66
         <div style="float:left">
67
-          <div class="infoBox">
67
+          <div class="infoBox" style="width:370px;">
68 68
             <div class="infoOne">
69 69
               <div class="titleBox">
70 70
                 <span class="point"></span>
@@ -274,10 +274,12 @@
274 274
         </div>
275 275
       </div>
276 276
       <div v-else>
277
-        <div  style="margin-bottom:20px;">
277
+        <div style="margin-bottom:20px;">
278
+          <p style="font-size: 16px;font-weight: bold;color: #000;">透析总量</p>
278 279
           <line-chart :options="chart"></line-chart>
279 280
         </div>
280
-        <div >
281
+        <div>
282
+          <p style="font-size: 16px;font-weight: bold;color: #000;">转归统计</p>
281 283
           <line-chart :options="bar"></line-chart>
282 284
         </div>
283 285
       </div>
@@ -351,8 +353,8 @@ export default {
351 353
 
352 354
       way: 0,
353 355
       wayArr: [
354
-        { value: 0, label: "统计", state: 0 },
355
-        { value: 1, label: "统计图", state: 1 }
356
+        { value: 0, label: "统计", state: 0 },
357
+        { value: 1, label: "趋势图", state: 1 }
356 358
       ],
357 359
       modesData: {
358 360
        xAxis: [],

+ 1 - 1
src/xt_pages/qcd/workAnalysis/nurse.vue Wyświetl plik

@@ -198,7 +198,7 @@
198 198
         crumbs: [
199 199
           { path: false, name: "质控管理" },
200 200
           { path: false, name: "工作量分析统计" },
201
-          { path: false, name: "医生" }
201
+          { path: false, name: "护士" }
202 202
         ],
203 203
         activeName: "second",
204 204
         listQuery: {

+ 1 - 5
src/xt_pages/stock/stockQuery.vue Wyświetl plik

@@ -52,7 +52,6 @@
52 52
           <template slot-scope="scope">
53 53
             <span
54 54
               @click="showStockInDetailDialog(scope.row.good_id)"
55
-              style="color: #579ef8"
56 55
               >{{ stockInCount(scope.row) }}</span
57 56
             >
58 57
           </template>
@@ -61,7 +60,6 @@
61 60
           <template slot-scope="scope">
62 61
             <span
63 62
               @click="showSaleReturnDetailDialog(scope.row)"
64
-              style="color: #F56C6C"
65 63
               >{{ salesReturnCount(scope.row) }}</span
66 64
             >
67 65
           </template>
@@ -75,7 +73,6 @@
75 73
           <template slot-scope="scope">
76 74
             <span
77 75
               @click="showStockOutDetailDialog(scope.row.good_id)"
78
-              style="color: #579ef8"
79 76
               >{{ stockOutCount(scope.row) }}</span
80 77
             >
81 78
           </template>
@@ -84,7 +81,6 @@
84 81
           <template slot-scope="scope">
85 82
             <span
86 83
               @click="showCancelStockDetailDialog(scope.row)"
87
-              style="color: #F56C6C"
88 84
               >{{ cancelStockCount(scope.row) }}</span
89 85
             >
90 86
           </template>
@@ -97,7 +93,7 @@
97 93
 
98 94
         <el-table-column label="剩余库存" align="center">
99 95
           <template slot-scope="scope">
100
-            <span style="color: red">{{
96
+            <span>{{
101 97
               stockInCount(scope.row) -
102 98
                 salesReturnCount(scope.row) -
103 99
                 stockOutCount(scope.row) +