Pārlūkot izejas kodu

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

XMLWAN 4 gadus atpakaļ
vecāks
revīzija
513842d2e7

+ 1 - 1
src/xt_pages/dialysis/allSummaryDialog_print.vue Parādīt failu

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

+ 1 - 1
src/xt_pages/dialysis/components/allSummaryDialog.vue Parādīt failu

110
         },
110
         },
111
         toPrint(){
111
         toPrint(){
112
             this.$router.push({
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
                 // query: { date: date }
114
                 // query: { date: date }
115
             })
115
             })
116
         },
116
         },

+ 1 - 1
src/xt_pages/dialysis/components/consumablesDialog.vue Parādīt failu

24
 
24
 
25
     </div>
25
     </div>
26
     <div style="margin-top:10px;">
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
         <el-table-column align="center" prop="date" label="商品类型" width="180">
28
         <el-table-column align="center" prop="date" label="商品类型" width="180">
29
           <template slot-scope="scope">
29
           <template slot-scope="scope">
30
             {{scope.row.good_type_name}}
30
             {{scope.row.good_type_name}}

+ 1 - 1
src/xt_pages/dialysis/components/dialysisParameters.vue Parādīt failu

317
              sch_ids.push(this.selecting_schs[index].id);
317
              sch_ids.push(this.selecting_schs[index].id);
318
          }
318
          }
319
          this.$store.dispatch("SetBatchPrintDialysisRecordIDs", sch_ids);
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
        handleSizeChange(val) {
322
        handleSizeChange(val) {
323
         this.limit = val;
323
         this.limit = val;

+ 1 - 1
src/xt_pages/dialysis/components/dialysisParametersDialog.vue Parādīt failu

111
             this.$router.push({
111
             this.$router.push({
112
                 // path: '/dialysis/dialysisParameters_print',
112
                 // path: '/dialysis/dialysisParameters_print',
113
                 // query: { date: date }
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
        selectStartime() {
117
        selectStartime() {

+ 12 - 5
src/xt_pages/dialysis/consumableDrugs.vue Parādīt failu

5
         </div>
5
         </div>
6
         <div class="app-container">
6
         <div class="app-container">
7
             <el-tabs v-model="activeName" @tab-click="handleClick">
7
             <el-tabs v-model="activeName" @tab-click="handleClick">
8
-                <el-tab-pane label="透析耗材" name="first">
8
+                <el-tab-pane label="透析耗材" name="1">
9
                     <consumables></consumables>
9
                     <consumables></consumables>
10
                 </el-tab-pane>
10
                 </el-tab-pane>
11
                 <!-- <el-tab-pane label="透析药品" name="second">
11
                 <!-- <el-tab-pane label="透析药品" name="second">
12
                     <dialysis-drugs></dialysis-drugs>
12
                     <dialysis-drugs></dialysis-drugs>
13
                 </el-tab-pane> -->
13
                 </el-tab-pane> -->
14
-                <el-tab-pane label="透析参数" name="third">
14
+                <el-tab-pane label="透析参数" name="2">
15
                     <dialysis-parameters></dialysis-parameters>
15
                     <dialysis-parameters></dialysis-parameters>
16
                 </el-tab-pane>
16
                 </el-tab-pane>
17
-                <el-tab-pane label="汇总" name="fourth">
17
+                <el-tab-pane label="汇总" name="3">
18
                     <all-summary></all-summary>
18
                     <all-summary></all-summary>
19
                 </el-tab-pane>
19
                 </el-tab-pane>
20
             </el-tabs>
20
             </el-tabs>
43
                 { path: false, name: "透析管理" },
43
                 { path: false, name: "透析管理" },
44
                 { path: false, name: "耗材药品" }
44
                 { path: false, name: "耗材药品" }
45
             ],
45
             ],
46
-            activeName:'first'
46
+            activeName:'1'
47
         }
47
         }
48
     },
48
     },
49
     methods:{
49
     methods:{
50
         handleClick(){}
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
 </script>
60
 </script>

+ 1 - 1
src/xt_pages/dialysis/consumables_print.vue Parādīt failu

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

+ 1 - 1
src/xt_pages/dialysis/dialysisDrugs_print.vue Parādīt failu

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

+ 1 - 1
src/xt_pages/dialysis/dialysisParameters_print.vue Parādīt failu

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

+ 7 - 5
src/xt_pages/qcd/basicInformationAnalysis.vue Parādīt failu

64
       </div>
64
       </div>
65
       <div v-if="way == 0" class="cell clearfix" style="align-items:normal">
65
       <div v-if="way == 0" class="cell clearfix" style="align-items:normal">
66
         <div style="float:left">
66
         <div style="float:left">
67
-          <div class="infoBox">
67
+          <div class="infoBox" style="width:370px;">
68
             <div class="infoOne">
68
             <div class="infoOne">
69
               <div class="titleBox">
69
               <div class="titleBox">
70
                 <span class="point"></span>
70
                 <span class="point"></span>
274
         </div>
274
         </div>
275
       </div>
275
       </div>
276
       <div v-else>
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
           <line-chart :options="chart"></line-chart>
279
           <line-chart :options="chart"></line-chart>
279
         </div>
280
         </div>
280
-        <div >
281
+        <div>
282
+          <p style="font-size: 16px;font-weight: bold;color: #000;">转归统计</p>
281
           <line-chart :options="bar"></line-chart>
283
           <line-chart :options="bar"></line-chart>
282
         </div>
284
         </div>
283
       </div>
285
       </div>
351
 
353
 
352
       way: 0,
354
       way: 0,
353
       wayArr: [
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
       modesData: {
359
       modesData: {
358
        xAxis: [],
360
        xAxis: [],

+ 1 - 1
src/xt_pages/qcd/workAnalysis/nurse.vue Parādīt failu

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

+ 1 - 5
src/xt_pages/stock/stockQuery.vue Parādīt failu

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