Parcourir la source

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

XMLWAN il y a 4 ans
Parent
révision
d523ed87a6

+ 9 - 9
src/router/modules/dialysis.js Voir le fichier

@@ -38,15 +38,15 @@ export default {
38 38
         noCache: true
39 39
       }
40 40
     },
41
-    {
42
-      path: '/dialysis/calling',
43
-      component: () => import('@/xt_pages/dialysis/calling'),
44
-      name: '透析叫号',
45
-      meta: {
46
-        title: '透析叫号',
47
-        noCache: true
48
-      }
49
-    },
41
+    // {
42
+    //   path: '/dialysis/calling',
43
+    //   component: () => import('@/xt_pages/dialysis/calling'),
44
+    //   name: '透析叫号',
45
+    //   meta: {
46
+    //     title: '透析叫号',
47
+    //     noCache: true
48
+    //   }
49
+    // },
50 50
 
51 51
     {
52 52
       path: '/dialysis/consumableDrugs',

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_eight.vue Voir le fichier

@@ -94,7 +94,7 @@
94 94
                     > 
95 95
                     <label-box
96 96
                       :isChecked="
97
-                         record.prescription.mode_id == 3 ? true : false
97
+                         record.prescription.mode_id == 3 ? true : record.prescription.mode_id == 4 ? true : false
98 98
                       "
99 99
                       showValue="HP"
100 100
                     ></label-box

+ 2 - 2
src/xt_pages/dialysis/components/allSummary.vue Voir le fichier

@@ -55,7 +55,7 @@
55 55
             >
56 56
             <el-table-column  align="center" type="selection" width="55">
57 57
             </el-table-column>
58
-            <el-table-column align="center" prop="name" label="姓名" width="180">
58
+            <el-table-column align="center" prop="name" label="姓名" width="80">
59 59
                <template slot-scope="scope">
60 60
                    <!-- {{scope.row.patient.name}} -->
61 61
                     {{scope.row.patient_name}}
@@ -90,7 +90,7 @@
90 90
                      {{scope.row.good_type[index].name}}
91 91
                </template>
92 92
             </el-table-column>
93
-            <el-table-column align="center" prop="address" label="抗凝剂(首剂)(维持)(总量)">
93
+            <el-table-column align="center" prop="address" label="抗凝剂(首剂)(维持)(总量)" width="300">
94 94
              <template slot-scope="scope">
95 95
                    <span v-if="getAnticoagulant(scope.row.patient_id) == 0"></span>
96 96
                     <span v-if="getAnticoagulant(scope.row.patient_id) == 1">无肝素</span>

+ 18 - 9
src/xt_pages/dialysis/components/dialysisParameters.vue Voir le fichier

@@ -59,42 +59,42 @@
59 59
                    {{scope.row.patient.name?scope.row.patient.name:""}}
60 60
                </template>
61 61
             </el-table-column>
62
-            <el-table-column align="center"  label="透析模式" width="100">
62
+            <el-table-column align="center"  label="透析模式" width="90">
63 63
                 <template slot-scope="scope">
64 64
                    {{scope.row.treatment_mode.name?scope.row.treatment_mode.name:""}}
65 65
                 </template>
66 66
             </el-table-column>
67
-            <el-table-column align="center" label="上次透后体重(kg)" width="280">
67
+            <el-table-column align="center" :label="'上次透后体重\n(kg)'" width="110">
68 68
                 <template slot-scope="scope">
69 69
                   {{getLastWeight(scope.row.patient.id)?getLastWeight(scope.row.patient.id):""}}
70 70
                 </template>
71 71
             </el-table-column>
72
-            <el-table-column align="center" label="透前体重(kg)" width="120">
72
+            <el-table-column align="center" :label="'透前体重\n(kg)'" width="100">
73 73
                <template slot-scope="scope">
74 74
                   {{getWeightBefor(scope.row.patient_id)?getWeightBefor(scope.row.patient_id):""}}
75 75
                </template>
76 76
             </el-table-column>
77
-            <el-table-column align="center" label="干体重(kg)" width="140">
77
+            <el-table-column align="center" label="干体重(kg)" width="100">
78 78
                <template slot-scope="scope">
79 79
                  {{getDryWeight(scope.row.patient_id)?getDryWeight(scope.row.patient_id):""}}
80 80
                </template>
81 81
             </el-table-column>
82
-            <el-table-column align="center" label="透前血压(mmhg)" width="180">
82
+            <el-table-column align="center" :label="'透前血压\n(mmhg)'" width="100">
83 83
               <template slot-scope="scope">
84 84
                   {{getSysBloodPressure(scope.row.patient_id)?getSysBloodPressure(scope.row.patient_id):""}}
85 85
               </template>
86 86
             </el-table-column>
87
-            <el-table-column align="center" label="目标超滤量" width="120">
87
+            <el-table-column align="center" label="目标超滤量" width="100">
88 88
                <template slot-scope="scope">
89 89
                  {{getTargetUltrafiltration(scope.row.patient_id)?getTargetUltrafiltration(scope.row.patient_id):""}}
90 90
                </template>
91 91
             </el-table-column>
92
-            <el-table-column align="center" label="血流量(ml/min)" width="180">
92
+            <el-table-column align="center" :label="'血流量\n(ml/min)'" width="100">
93 93
                <template slot-scope="scope">
94 94
                  {{getBloodFlowVolume(scope.row.patient_id)?getBloodFlowVolume(scope.row.patient_id):""}}
95 95
                </template>
96 96
             </el-table-column>
97
-             <el-table-column align="center" label="抗凝剂(首剂)(维持)(总量)" width="300">
97
+             <el-table-column align="center" label="抗凝剂(首剂)(维持)(总量)">
98 98
                 <template slot-scope="scope">
99 99
                    <span v-if="getAnticoagulant(scope.row.patient_id) == 0"></span>
100 100
                     <span v-if="getAnticoagulant(scope.row.patient_id) == 1">无肝素</span>
@@ -148,7 +148,7 @@
148 148
                     </span>
149 149
                 </template>
150 150
             </el-table-column>
151
-             <el-table-column align="center" label="透析器/灌流器" width="200">
151
+             <el-table-column align="center" label="透析器/灌流器" width="120">
152 152
                <template slot-scope="scope">
153 153
                  {{getDialyzerPerfusionApparatus(scope.row.patient_id)?getDialyzerPerfusionApparatus(scope.row.patient_id):""}}
154 154
                </template>
@@ -438,3 +438,12 @@ export default {
438 438
    }
439 439
 }
440 440
 </style>
441
+<style lang="scss">
442
+.el-table__body-wrapper::-webkit-scrollbar {
443
+  width: 15px !important;
444
+  height: 15px !important;
445
+}
446
+.el-table th .cell {
447
+  white-space: pre-line;/*保留换行符*/
448
+}
449
+</style>

+ 2 - 2
src/xt_pages/dialysis/components/dialysisParametersDialog.vue Voir le fichier

@@ -7,14 +7,14 @@
7 7
     >
8 8
     <div>
9 9
         <el-date-picker
10
-        style="width:140px;margin-right:10px"
10
+        style="width:150px;margin-right:10px"
11 11
         v-model="startTime"
12 12
         type="date"
13 13
         placeholder="选择日期"
14 14
         @change="selectStartime">
15 15
         </el-date-picker>
16 16
         <el-date-picker
17
-        style="width:140px;margin-right:10px"
17
+        style="width:150px;margin-right:10px"
18 18
         v-model="endTime"
19 19
         type="date"
20 20
         placeholder="选择日期">

+ 3 - 3
src/xt_pages/dialysis/dialysisParameters_print.vue Voir le fichier

@@ -12,7 +12,7 @@
12 12
             <div id="print_content">
13 13
                 <div class="print_main_content">
14 14
                     <div class="order_title_panl">
15
-                        <span class="main_title">透析参数统计表</span>
15
+                        <span class="main_title">透析参数打印单</span>
16 16
                     </div>
17 17
                     <div style="display:flex;justify-content: space-between;margin-bottom:10px;">
18 18
                         <p>印单日期:{{nowDate}}</p>
@@ -299,7 +299,7 @@ export default {
299 299
           td {
300 300
             border: 1px solid;
301 301
             text-align: center;
302
-            font-size: 20px;
302
+            font-size: 14px;
303 303
             padding: 15px 5px;
304 304
           }
305 305
         }
@@ -309,7 +309,7 @@ export default {
309 309
           td {
310 310
             border: 1px solid;
311 311
             text-align: center;
312
-            font-size: 18px;
312
+            font-size: 14px;
313 313
             padding: 10px 5px;
314 314
 
315 315
             .proj {

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue Voir le fichier

@@ -80,7 +80,7 @@
80 80
             <span style="display:inline-block;margin-left:15px;">治疗方式:</span>
81 81
             <label-box :isChecked="prescription.mode_id == 1 ? true : false" showValue="HD"></label-box>&nbsp;
82 82
             <label-box :isChecked="prescription.mode_id == 2 ? true : false" showValue="HDF"></label-box>&nbsp;
83
-            <label-box :isChecked="prescription.mode_id == 4 ? true : false" showValue="HP"></label-box>&nbsp;
83
+            <label-box :isChecked="prescription.mode_id == 3 ? true : prescription.mode_id == 4 ? true : false" showValue="HP"></label-box>&nbsp;
84 84
             <label-box :isChecked="prescription.mode_id == 7 ? true : false" showValue="IUF"></label-box>&nbsp;
85 85
             <label-box :isChecked="prescription.mode_id == 5 ? true : false" showValue="HF"></label-box>&nbsp;
86 86
           </td>

+ 2 - 1
src/xt_pages/stock/stockOutOrder.vue Voir le fichier

@@ -88,7 +88,7 @@
88 88
           color: '#606266'
89 89
         }"
90 90
       >
91
-        <el-table-column type="selection" width="55"> </el-table-column>
91
+        <el-table-column type="selection" width="55" align="center"> </el-table-column>
92 92
 
93 93
         <el-table-column label="单据日期" align="center">
94 94
           <template slot-scope="scope">
@@ -144,6 +144,7 @@
144 144
               <el-button
145 145
                 size="mini"
146 146
                 type="danger"
147
+                :disabled="scope.row.is_sys == 1"
147 148
                 icon="el-icon-delete"
148 149
                 @click="handleDelete(scope.$index, scope.row)"
149 150
               >

+ 3 - 3
src/xt_pages/stock/stockOutOrderDetail.vue Voir le fichier

@@ -23,8 +23,8 @@
23 23
       </div>
24 24
 
25 25
       <div class="filter-container" style="margin-top: 10px">
26
-        <el-button size="small" icon="el-icon-edit" @click="editRecord">编辑</el-button>
27
-        <el-button size="small" icon="el-icon-delete" @click="deleteRecord">删除</el-button>
26
+        <el-button size="small" icon="el-icon-edit" @click="editRecord" v-if="warehousingOutInfo.info.is_sys != 1">编辑</el-button>
27
+        <el-button size="small" icon="el-icon-delete" @click="deleteRecord" v-if="warehousingOutInfo.info.is_sys != 1">删除</el-button>
28 28
       </div>
29 29
 
30 30
       <el-row :gutter="12" style="margin-top: 10px">
@@ -195,7 +195,7 @@
195 195
         }
196 196
         getWarehouseOutInfo(params).then(response => {
197 197
           if (response.data.state == 0) {
198
-           
198
+
199 199
             this.$message.error(response.data.msg)
200 200
             return false
201 201
           } else {