|
@@ -58,24 +58,140 @@
|
58
|
58
|
color: '#606266'
|
59
|
59
|
}"
|
60
|
60
|
>
|
61
|
|
- <el-table-column
|
62
|
|
- align="center"
|
63
|
|
- type="selection"
|
64
|
|
- width="55">
|
|
61
|
+ <el-table-column align="center" type="selection" width="55">
|
|
62
|
+ <template slot-scope="scope">
|
|
63
|
+
|
|
64
|
+ </template>
|
65
|
65
|
</el-table-column>
|
66
|
|
- <el-table-column
|
67
|
|
- align="center"
|
68
|
|
- prop="name"
|
69
|
|
- v-for="(item,index) in good_types"
|
70
|
|
- :key="index"
|
71
|
|
- :label="item"
|
72
|
|
- >
|
73
|
|
- <template slot-scope="scope">
|
74
|
|
- <span>{{scope.row.good_type[index].name}}</span>
|
75
|
|
- </template>
|
|
66
|
+ <el-table-column align="center" label="序号" width="55">
|
|
67
|
+ <template slot-scope="scope">
|
|
68
|
+ {{scope.$index + 1}}
|
|
69
|
+ </template>
|
|
70
|
+ </el-table-column>
|
|
71
|
+ <el-table-column align="center" label="透析机号" width="55">
|
|
72
|
+ <template slot-scope="scope">
|
|
73
|
+ {{scope.row.device_number.number}}
|
|
74
|
+ </template>
|
|
75
|
+ </el-table-column>
|
|
76
|
+ <el-table-column align="center" label="姓名" width="55">
|
|
77
|
+ <template slot-scope="scope">
|
|
78
|
+ {{scope.row.patient.name}}
|
|
79
|
+ </template>
|
|
80
|
+ </el-table-column>
|
|
81
|
+ <el-table-column align="center" label="住院(门诊)号" width="55">
|
|
82
|
+ <template slot-scope="scope">
|
|
83
|
+
|
|
84
|
+ </template>
|
|
85
|
+ </el-table-column>
|
|
86
|
+ <el-table-column align="center" label="透前体重" width="55">
|
|
87
|
+ <template slot-scope="scope">
|
|
88
|
+ {{scope.row.assessment_befor_dislysis.weight_before}}
|
|
89
|
+ </template>
|
|
90
|
+ </el-table-column>
|
|
91
|
+ <el-table-column align="center" label="干体重" width="55">
|
|
92
|
+ <template slot-scope="scope">
|
|
93
|
+ {{scope.row.assessment_befor_dislysis.dry_weight}}
|
|
94
|
+ </template>
|
|
95
|
+ </el-table-column>
|
|
96
|
+ <el-table-column align="center" label="透前血压" width="55">
|
|
97
|
+ <template slot-scope="scope">
|
|
98
|
+ <span v-if="scope.row.assessment_befor_dislysis.systolic_blood_pressure>0">{{scope.row.assessment_befor_dislysis.systolic_blood_pressure}}</span>
|
|
99
|
+ <span v-if="scope.row.assessment_befor_dislysis.diastolic_blood_pressure>0">/{{scope.row.assessment_befor_dislysis.diastolic_blood_pressure}}</span>
|
|
100
|
+ </template>
|
|
101
|
+ </el-table-column>
|
|
102
|
+ <el-table-column align="center" label="目标脱水量" width="55">
|
|
103
|
+ <template slot-scope="scope">
|
|
104
|
+ <span v-if="scope.row.dialysis_prescription.target_ultrafiltration>0">{{scope.row.dialysis_prescription.target_ultrafiltration}}</span>
|
|
105
|
+ </template>
|
|
106
|
+ </el-table-column>
|
|
107
|
+ <el-table-column align="center" label="超率总量" width="55">
|
|
108
|
+ <template slot-scope="scope">
|
|
109
|
+
|
|
110
|
+ </template>
|
|
111
|
+ </el-table-column>
|
|
112
|
+ <el-table-column align="center" label="抗凝剂(首剂)(维持)(总量)" width="100">
|
|
113
|
+ <template slot-scope="scope">
|
|
114
|
+ <span>{{getAnticoagualnt(scope.row.dialysis_prescription.anticoagulant)}}</span>
|
|
115
|
+ <span>{{getAnticoagualnt(scope.row.dialysis_prescription.anticoagulant)}}</span>
|
|
116
|
+ <span>{{getAnticoagualnt(scope.row.dialysis_prescription.anticoagulant)}}</span>
|
|
117
|
+ <span v-if="scope.row.dialysis_prescription.anticoagulant_shouji > 0">(scope.row.dialysis_prescription.anticoagulant_shouji)</span>
|
|
118
|
+ <span v-if="scope.row.dialysis_prescription.anticoagulant_weichi > 0">(scope.row.dialysis_prescription.anticoagulant_weichi)</span>
|
|
119
|
+ <span v-if="scope.row.dialysis_prescription.anticoagulant_zongliang > 0">(scope.row.dialysis_prescription.anticoagulant_zongliang)</span>
|
|
120
|
+ </template>
|
|
121
|
+ </el-table-column>
|
|
122
|
+
|
|
123
|
+ <el-table-column align="center" label="透析时长" width="100">
|
|
124
|
+ <template slot-scope="scope">
|
|
125
|
+ <span v-if="scope.row.dialysis_duration >0">{{scope.row.dialysis_duration}}</span>
|
|
126
|
+ </template>
|
|
127
|
+ </el-table-column>
|
|
128
|
+
|
|
129
|
+ <el-table-column align="center" label="设备型号" width="100">
|
|
130
|
+ <template slot-scope="scope">
|
|
131
|
+ <span></span>
|
|
132
|
+ </template>
|
|
133
|
+ </el-table-column>
|
|
134
|
+
|
|
135
|
+ <el-table-column align="center" label="透析器/灌流器" width="100">
|
|
136
|
+ <template slot-scope="scope">
|
|
137
|
+ <span>{{scope.row.dialysis_prescription.dialyzer_perfusion_apparatus}}</span>
|
|
138
|
+ <span>{{scope.row.dialysis_prescription.dialysis_dialyszers}}</span>
|
|
139
|
+ <span>{{scope.row.dialysis_prescription.dialysis_irrigation}}</span>
|
|
140
|
+ </template>
|
|
141
|
+ </el-table-column>
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+ <el-table-column align="center" label="置换总量" width="100">
|
|
146
|
+ <template slot-scope="scope">
|
|
147
|
+ <span>{{scope.row.dialysis_prescription.replacement_total}}</span>
|
|
148
|
+ </template>
|
|
149
|
+ </el-table-column>
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+ <el-table-column align="center" label="钾" width="100">
|
|
153
|
+ <template slot-scope="scope">
|
|
154
|
+ <span>{{scope.row.dialysis_prescription.kalium}}</span>
|
|
155
|
+ </template>
|
|
156
|
+ </el-table-column>
|
|
157
|
+
|
|
158
|
+ <el-table-column align="center" label="钠" width="100">
|
|
159
|
+ <template slot-scope="scope">
|
|
160
|
+ <span>{{scope.row.dialysis_prescription.sodium}}</span>
|
|
161
|
+ </template>
|
|
162
|
+ </el-table-column>
|
|
163
|
+
|
|
164
|
+
|
76
|
165
|
|
|
166
|
+ <el-table-column align="center" label="钙" width="100">
|
|
167
|
+ <template slot-scope="scope">
|
|
168
|
+ <span>{{scope.row.dialysis_prescription.calcium}}</span>
|
|
169
|
+ </template>
|
77
|
170
|
</el-table-column>
|
78
|
171
|
|
|
172
|
+ <el-table-column align="center" label="碳酸氢盐" width="100">
|
|
173
|
+ <template slot-scope="scope">
|
|
174
|
+ <span>{{scope.row.dialysis_prescription.bicarbonate}}</span>
|
|
175
|
+ </template>
|
|
176
|
+ </el-table-column>
|
|
177
|
+
|
|
178
|
+ <el-table-column align="center" label="血管通路" width="100">
|
|
179
|
+ <template slot-scope="scope">
|
|
180
|
+ <span>{{getBloodAccessOption(scope.row.dialysis_prescription.blood_access)}}</span>
|
|
181
|
+ </template>
|
|
182
|
+ </el-table-column>
|
|
183
|
+
|
|
184
|
+ <el-table-column align="center" label="封管液" width="100">
|
|
185
|
+ <template slot-scope="scope">
|
|
186
|
+
|
|
187
|
+ </template>
|
|
188
|
+ </el-table-column>
|
|
189
|
+
|
|
190
|
+ <el-table-column align="center" label="葡萄糖" width="100">
|
|
191
|
+ <template slot-scope="scope">
|
|
192
|
+ {{scope.row.dialysis_prescription.amylaceum}}
|
|
193
|
+ </template>
|
|
194
|
+ </el-table-column>
|
79
|
195
|
</el-table>
|
80
|
196
|
|
81
|
197
|
<el-dialog
|
|
@@ -131,8 +247,9 @@
|
131
|
247
|
|
132
|
248
|
|
133
|
249
|
<script>
|
134
|
|
- import { GetAllZone,saveDialysisSetting,getDialysisSetting } from '@/api/dialysis'
|
|
250
|
+ import { GetAllZone,saveDialysisSetting,getDialysisSetting,getDialysisParameter } from '@/api/dialysis'
|
135
|
251
|
import { uParseTime } from "@/utils/tools";
|
|
252
|
+ import { getDataConfig } from '@/utils/data'
|
136
|
253
|
import store from "@/store";
|
137
|
254
|
export default {
|
138
|
255
|
components: {
|
|
@@ -207,12 +324,13 @@
|
207
|
324
|
kalium:false,
|
208
|
325
|
displace_liqui_value:false,
|
209
|
326
|
bicarbonate:false,
|
210
|
|
- glucose:false
|
|
327
|
+ glucose:false,
|
|
328
|
+ blood_access_option:[],
|
211
|
329
|
}
|
212
|
330
|
},
|
213
|
331
|
created() {
|
|
332
|
+ this.blood_access_option = getDataConfig('hemodialysis', 'vascular_access_desc')
|
214
|
333
|
var filedList = store.getters.xt_user.fileds
|
215
|
|
- console.log("哈哈哈哈",filedList)
|
216
|
334
|
var newArr = [
|
217
|
335
|
{value:999999,filed_name_cn:"姓名"},
|
218
|
336
|
{value:888888,filed_name_cn:"透析号"},
|
|
@@ -227,7 +345,7 @@
|
227
|
345
|
}
|
228
|
346
|
this.predialysisConditionOptions = newArr
|
229
|
347
|
}
|
230
|
|
- console.log("newArr23232323232wo",newArr)
|
|
348
|
+
|
231
|
349
|
this.getAllZone()
|
232
|
350
|
let date = uParseTime(new Date(), "{y}-{m}-{d}")
|
233
|
351
|
var newDate = new Date();
|
|
@@ -250,7 +368,13 @@
|
250
|
368
|
|
251
|
369
|
},
|
252
|
370
|
getlist(){
|
253
|
|
-
|
|
371
|
+ getDialysisParameter(this.query).then(response=>{
|
|
372
|
+ if(response.data.state == 1){
|
|
373
|
+ var list = response.data.data.list
|
|
374
|
+ this.list = list
|
|
375
|
+ this.total = response.data.data.total
|
|
376
|
+ }
|
|
377
|
+ })
|
254
|
378
|
},
|
255
|
379
|
handleSizeChange(val) {
|
256
|
380
|
this.query.limit = val;
|
|
@@ -376,7 +500,6 @@
|
376
|
500
|
return jsonData.map(v => filterVal.map(j => v[j]));
|
377
|
501
|
},
|
378
|
502
|
toDialog(){
|
379
|
|
- console.log("触发222222222222222我v")
|
380
|
503
|
getDialysisSetting().then(response=>{
|
381
|
504
|
if(response.data.state == 1){
|
382
|
505
|
this.dialogVisible = true
|
|
@@ -632,10 +755,10 @@
|
632
|
755
|
this.gaijiliang = 1
|
633
|
756
|
}
|
634
|
757
|
if(this.kalium == false){
|
635
|
|
- kalium = 2
|
|
758
|
+ kalium_set = 2
|
636
|
759
|
}
|
637
|
760
|
if(this.kalium == true){
|
638
|
|
- kalium = 1
|
|
761
|
+ kalium_set = 1
|
639
|
762
|
}
|
640
|
763
|
if(this.displace_liqui_value == false){
|
641
|
764
|
displace_liqui_value_set = 2
|
|
@@ -679,12 +802,66 @@
|
679
|
802
|
bicarbonate_set:bicarbonate_set,
|
680
|
803
|
glucose_set:glucose_set,
|
681
|
804
|
}
|
|
805
|
+ console.log("patam223232332",params)
|
682
|
806
|
saveDialysisSetting(params).then(response=>{
|
683
|
807
|
if(response.data.state == 1){
|
684
|
808
|
var dialysisSetting = response.data.data.dialysisSetting
|
|
809
|
+ this.$message.success("保存成功!")
|
685
|
810
|
this.dialogVisible = false
|
686
|
811
|
}
|
687
|
812
|
})
|
|
813
|
+ },
|
|
814
|
+ getAnticoagualnt(id){
|
|
815
|
+ var name = ""
|
|
816
|
+ if(id == 1){
|
|
817
|
+ name = "无肝素"
|
|
818
|
+ }
|
|
819
|
+ if(id == 2){
|
|
820
|
+ name = "普通肝素"
|
|
821
|
+ }
|
|
822
|
+ if(id == 3){
|
|
823
|
+ name ="低分子肝素"
|
|
824
|
+ }
|
|
825
|
+ if(id == 4){
|
|
826
|
+ name ="阿加曲班"
|
|
827
|
+ }
|
|
828
|
+ if(id == 5){
|
|
829
|
+ name ="枸橼酸钠"
|
|
830
|
+ }
|
|
831
|
+ if(id == 6){
|
|
832
|
+ name ="低分子肝素钙"
|
|
833
|
+ }
|
|
834
|
+ if(id == 7){
|
|
835
|
+ name ="低分子肝素钠"
|
|
836
|
+ }
|
|
837
|
+ if(id == 8){
|
|
838
|
+ name ="依诺肝素"
|
|
839
|
+ }
|
|
840
|
+ if(id == 9){
|
|
841
|
+ name ="达肝素"
|
|
842
|
+ }
|
|
843
|
+ if(id == 10){
|
|
844
|
+ name ="体外抗凝"
|
|
845
|
+ }
|
|
846
|
+ if(id == 11){
|
|
847
|
+ name ="那屈肝素"
|
|
848
|
+ }
|
|
849
|
+ if(id == 12){
|
|
850
|
+ name ="无抗凝剂"
|
|
851
|
+ }
|
|
852
|
+ if(id == 13){
|
|
853
|
+ name ="那屈肝素钙"
|
|
854
|
+ }
|
|
855
|
+ return name
|
|
856
|
+ },
|
|
857
|
+ getBloodAccessOption(id){
|
|
858
|
+ var name = ""
|
|
859
|
+ for(let i=0;i<this.blood_access_option.length;i++){
|
|
860
|
+ if(id == this.blood_access_option[i].id){
|
|
861
|
+ name = this.blood_access_option[i].name
|
|
862
|
+ }
|
|
863
|
+ }
|
|
864
|
+ return name
|
688
|
865
|
}
|
689
|
866
|
}
|
690
|
867
|
}
|