See999 4 jaren geleden
bovenliggende
commit
d2c431ff59

+ 2 - 2
src/xt_pages/dialysis/components/allSummary.vue Bestand weergeven

55
             >
55
             >
56
             <el-table-column  align="center" type="selection" width="55">
56
             <el-table-column  align="center" type="selection" width="55">
57
             </el-table-column>
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
                <template slot-scope="scope">
59
                <template slot-scope="scope">
60
                    <!-- {{scope.row.patient.name}} -->
60
                    <!-- {{scope.row.patient.name}} -->
61
                     {{scope.row.patient_name}}
61
                     {{scope.row.patient_name}}
90
                      {{scope.row.good_type[index].name}}
90
                      {{scope.row.good_type[index].name}}
91
                </template>
91
                </template>
92
             </el-table-column>
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
              <template slot-scope="scope">
94
              <template slot-scope="scope">
95
                    <span v-if="getAnticoagulant(scope.row.patient_id) == 0"></span>
95
                    <span v-if="getAnticoagulant(scope.row.patient_id) == 0"></span>
96
                     <span v-if="getAnticoagulant(scope.row.patient_id) == 1">无肝素</span>
96
                     <span v-if="getAnticoagulant(scope.row.patient_id) == 1">无肝素</span>

+ 18 - 9
src/xt_pages/dialysis/components/dialysisParameters.vue Bestand weergeven

59
                    {{scope.row.patient.name?scope.row.patient.name:""}}
59
                    {{scope.row.patient.name?scope.row.patient.name:""}}
60
                </template>
60
                </template>
61
             </el-table-column>
61
             </el-table-column>
62
-            <el-table-column align="center"  label="透析模式" width="100">
62
+            <el-table-column align="center"  label="透析模式" width="90">
63
                 <template slot-scope="scope">
63
                 <template slot-scope="scope">
64
                    {{scope.row.treatment_mode.name?scope.row.treatment_mode.name:""}}
64
                    {{scope.row.treatment_mode.name?scope.row.treatment_mode.name:""}}
65
                 </template>
65
                 </template>
66
             </el-table-column>
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
                 <template slot-scope="scope">
68
                 <template slot-scope="scope">
69
                   {{getLastWeight(scope.row.patient.id)?getLastWeight(scope.row.patient.id):""}}
69
                   {{getLastWeight(scope.row.patient.id)?getLastWeight(scope.row.patient.id):""}}
70
                 </template>
70
                 </template>
71
             </el-table-column>
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
                <template slot-scope="scope">
73
                <template slot-scope="scope">
74
                   {{getWeightBefor(scope.row.patient_id)?getWeightBefor(scope.row.patient_id):""}}
74
                   {{getWeightBefor(scope.row.patient_id)?getWeightBefor(scope.row.patient_id):""}}
75
                </template>
75
                </template>
76
             </el-table-column>
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
                <template slot-scope="scope">
78
                <template slot-scope="scope">
79
                  {{getDryWeight(scope.row.patient_id)?getDryWeight(scope.row.patient_id):""}}
79
                  {{getDryWeight(scope.row.patient_id)?getDryWeight(scope.row.patient_id):""}}
80
                </template>
80
                </template>
81
             </el-table-column>
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
               <template slot-scope="scope">
83
               <template slot-scope="scope">
84
                   {{getSysBloodPressure(scope.row.patient_id)?getSysBloodPressure(scope.row.patient_id):""}}
84
                   {{getSysBloodPressure(scope.row.patient_id)?getSysBloodPressure(scope.row.patient_id):""}}
85
               </template>
85
               </template>
86
             </el-table-column>
86
             </el-table-column>
87
-            <el-table-column align="center" label="目标超滤量" width="120">
87
+            <el-table-column align="center" label="目标超滤量" width="100">
88
                <template slot-scope="scope">
88
                <template slot-scope="scope">
89
                  {{getTargetUltrafiltration(scope.row.patient_id)?getTargetUltrafiltration(scope.row.patient_id):""}}
89
                  {{getTargetUltrafiltration(scope.row.patient_id)?getTargetUltrafiltration(scope.row.patient_id):""}}
90
                </template>
90
                </template>
91
             </el-table-column>
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
                <template slot-scope="scope">
93
                <template slot-scope="scope">
94
                  {{getBloodFlowVolume(scope.row.patient_id)?getBloodFlowVolume(scope.row.patient_id):""}}
94
                  {{getBloodFlowVolume(scope.row.patient_id)?getBloodFlowVolume(scope.row.patient_id):""}}
95
                </template>
95
                </template>
96
             </el-table-column>
96
             </el-table-column>
97
-             <el-table-column align="center" label="抗凝剂(首剂)(维持)(总量)" width="300">
97
+             <el-table-column align="center" label="抗凝剂(首剂)(维持)(总量)">
98
                 <template slot-scope="scope">
98
                 <template slot-scope="scope">
99
                    <span v-if="getAnticoagulant(scope.row.patient_id) == 0"></span>
99
                    <span v-if="getAnticoagulant(scope.row.patient_id) == 0"></span>
100
                     <span v-if="getAnticoagulant(scope.row.patient_id) == 1">无肝素</span>
100
                     <span v-if="getAnticoagulant(scope.row.patient_id) == 1">无肝素</span>
148
                     </span>
148
                     </span>
149
                 </template>
149
                 </template>
150
             </el-table-column>
150
             </el-table-column>
151
-             <el-table-column align="center" label="透析器/灌流器" width="200">
151
+             <el-table-column align="center" label="透析器/灌流器" width="120">
152
                <template slot-scope="scope">
152
                <template slot-scope="scope">
153
                  {{getDialyzerPerfusionApparatus(scope.row.patient_id)?getDialyzerPerfusionApparatus(scope.row.patient_id):""}}
153
                  {{getDialyzerPerfusionApparatus(scope.row.patient_id)?getDialyzerPerfusionApparatus(scope.row.patient_id):""}}
154
                </template>
154
                </template>
438
    }
438
    }
439
 }
439
 }
440
 </style>
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>