|
@@ -43,7 +43,11 @@
|
43
|
43
|
</div>
|
44
|
44
|
<div>
|
45
|
45
|
<el-button size="small" icon="el-icon-printer" @click="toDialog" type="primary">设置</el-button>
|
|
46
|
+ <el-button size="small" icon="el-icon-printer" @click="toSign" type="primary">标签打印</el-button>
|
|
47
|
+ <el-button size="small" icon="el-icon-printer" @click="printAction" type="primary">标签打印设置</el-button>
|
|
48
|
+
|
46
|
49
|
<el-button size="small" icon="el-icon-printer" @click="exportList" type="primary">导出</el-button>
|
|
50
|
+ <el-button size="small" icon="el-icon-printer" @click="toPrint" type="primary">打印</el-button>
|
47
|
51
|
<el-button size="small" type="primary" @click="statistics">统计表</el-button>
|
48
|
52
|
</div>
|
49
|
53
|
</div>
|
|
@@ -59,103 +63,110 @@
|
59
|
63
|
}"
|
60
|
64
|
>
|
61
|
65
|
<el-table-column align="center" type="selection" width="55">
|
62
|
|
- <template slot-scope="scope">
|
63
|
|
-
|
64
|
|
- </template>
|
65
|
66
|
</el-table-column>
|
66
|
67
|
<el-table-column align="center" label="序号" width="55">
|
67
|
68
|
<template slot-scope="scope">
|
68
|
69
|
{{scope.$index + 1}}
|
69
|
70
|
</template>
|
70
|
71
|
</el-table-column>
|
71
|
|
- <el-table-column align="center" label="透析机号" width="55">
|
|
72
|
+ <el-table-column align="center" label="透析机号" v-if="dialysisSett.device_number==1">
|
72
|
73
|
<template slot-scope="scope">
|
73
|
|
- {{scope.row.device_number.number}}
|
|
74
|
+ {{scope.row.device_number.zone.name}} {{scope.row.device_number.number}}
|
74
|
75
|
</template>
|
75
|
76
|
</el-table-column>
|
76
|
|
- <el-table-column align="center" label="姓名" width="55">
|
|
77
|
+ <el-table-column align="center" label="姓名" v-if="dialysisSett.name==1">
|
77
|
78
|
<template slot-scope="scope">
|
78
|
79
|
{{scope.row.patient.name}}
|
79
|
80
|
</template>
|
80
|
81
|
</el-table-column>
|
81
|
|
- <el-table-column align="center" label="住院(门诊)号" width="55">
|
|
82
|
+ <el-table-column align="center" label="透析号" v-if="dialysisSett.dialysis_no==1">
|
82
|
83
|
<template slot-scope="scope">
|
83
|
|
-
|
|
84
|
+ {{scope.row.patient.dialysis_no}}
|
84
|
85
|
</template>
|
85
|
86
|
</el-table-column>
|
86
|
|
- <el-table-column align="center" label="透前体重" width="55">
|
|
87
|
+ <el-table-column align="center" label="住院(门诊)号" v-if="dialysisSett.admission_number==1">
|
|
88
|
+ <template slot-scope="scope">
|
|
89
|
+ {{scope.row.xt_receive_treatment_asses.admission_number}}
|
|
90
|
+ </template>
|
|
91
|
+ </el-table-column>
|
|
92
|
+ <el-table-column align="center" label="透前体重" v-if="dialysisSett.weight_befor==1">
|
87
|
93
|
<template slot-scope="scope">
|
88
|
94
|
{{scope.row.assessment_befor_dislysis.weight_before}}
|
89
|
95
|
</template>
|
90
|
96
|
</el-table-column>
|
91
|
|
- <el-table-column align="center" label="干体重" width="55">
|
|
97
|
+ <el-table-column align="center" label="干体重" v-if="dialysisSett.dry_weight==1">
|
92
|
98
|
<template slot-scope="scope">
|
93
|
99
|
{{scope.row.assessment_befor_dislysis.dry_weight}}
|
94
|
100
|
</template>
|
95
|
101
|
</el-table-column>
|
96
|
|
- <el-table-column align="center" label="透前血压" width="55">
|
|
102
|
+ <el-table-column align="center" label="透前血压" v-if="dialysisSett.blood_pressure==1">
|
97
|
103
|
<template slot-scope="scope">
|
98
|
104
|
<span v-if="scope.row.assessment_befor_dislysis.systolic_blood_pressure>0">{{scope.row.assessment_befor_dislysis.systolic_blood_pressure}}</span>
|
99
|
105
|
<span v-if="scope.row.assessment_befor_dislysis.diastolic_blood_pressure>0">/{{scope.row.assessment_befor_dislysis.diastolic_blood_pressure}}</span>
|
100
|
106
|
</template>
|
101
|
107
|
</el-table-column>
|
102
|
|
- <el-table-column align="center" label="目标脱水量" width="55">
|
|
108
|
+ <el-table-column align="center" label="目标脱水量" v-if="dialysisSett.ultrafiltration_volume==1">
|
103
|
109
|
<template slot-scope="scope">
|
104
|
110
|
<span v-if="scope.row.dialysis_prescription.target_ultrafiltration>0">{{scope.row.dialysis_prescription.target_ultrafiltration}}</span>
|
105
|
111
|
</template>
|
106
|
112
|
</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
|
+ <el-table-column align="center" label="抗凝剂(首剂)(维持)(总量)" v-if="dialysisSett.anticoagulant==1">
|
113
|
114
|
<template slot-scope="scope">
|
114
|
115
|
<span>{{getAnticoagualnt(scope.row.dialysis_prescription.anticoagulant)}}</span>
|
115
|
116
|
<span>{{getAnticoagualnt(scope.row.dialysis_prescription.anticoagulant)}}</span>
|
116
|
117
|
<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>
|
|
118
|
+ <span v-if="scope.row.dialysis_prescription.anticoagulant_shouji > 0">({{scope.row.dialysis_prescription.anticoagulant_shouji}})</span>
|
|
119
|
+ <span v-if="scope.row.dialysis_prescription.anticoagulant_weichi > 0">({{scope.row.dialysis_prescription.anticoagulant_weichi}})</span>
|
|
120
|
+ <span v-if="scope.row.dialysis_prescription.anticoagulant_zongliang > 0">({{scope.row.dialysis_prescription.anticoagulant_zongliang}})</span>
|
120
|
121
|
</template>
|
121
|
122
|
</el-table-column>
|
122
|
123
|
|
123
|
|
- <el-table-column align="center" label="透析时长" width="100">
|
|
124
|
+ <el-table-column align="center" label="透析时长" v-if="dialysisSett.dialysis_time ==1">
|
124
|
125
|
<template slot-scope="scope">
|
125
|
|
- <span v-if="scope.row.dialysis_duration >0">{{scope.row.dialysis_duration}}</span>
|
|
126
|
+ <span v-if="scope.row.dialysis_duration_hour >0">{{scope.row.dialysis_duration_hour}}时</span>
|
|
127
|
+ <span v-if="scope.row.dialysis_duration_minute >0">{{scope.row.dialysis_duration_minute}}分</span>
|
126
|
128
|
</template>
|
127
|
129
|
</el-table-column>
|
128
|
130
|
|
129
|
|
- <el-table-column align="center" label="设备型号" width="100">
|
|
131
|
+ <el-table-column align="center" label="设备型号" v-if="dialysisSett.device_type==1">
|
130
|
132
|
<template slot-scope="scope">
|
131
|
|
- <span></span>
|
|
133
|
+ <span>{{scope.row.assessment_befor_dislysis.machine_type}}</span>
|
132
|
134
|
</template>
|
133
|
135
|
</el-table-column>
|
134
|
136
|
|
135
|
|
- <el-table-column align="center" label="透析器/灌流器" width="100">
|
|
137
|
+ <el-table-column align="center" label="透析器/灌流器" v-if="dialysisSett.dialyzer_perfusion_apparatus == 1">
|
136
|
138
|
<template slot-scope="scope">
|
137
|
139
|
<span>{{scope.row.dialysis_prescription.dialyzer_perfusion_apparatus}}</span>
|
|
140
|
+ </template>
|
|
141
|
+ </el-table-column>
|
|
142
|
+
|
|
143
|
+ <el-table-column align="center" label="透析器" v-if="dialysisSett.dialysis_dialyszers == 1">
|
|
144
|
+ <template slot-scope="scope">
|
138
|
145
|
<span>{{scope.row.dialysis_prescription.dialysis_dialyszers}}</span>
|
|
146
|
+ </template>
|
|
147
|
+ </el-table-column>
|
|
148
|
+
|
|
149
|
+ <el-table-column align="center" label="灌流器" v-if="dialysisSett.dialysis_irrigation ==1">
|
|
150
|
+ <template slot-scope="scope">
|
139
|
151
|
<span>{{scope.row.dialysis_prescription.dialysis_irrigation}}</span>
|
140
|
152
|
</template>
|
141
|
153
|
</el-table-column>
|
142
|
154
|
|
143
|
|
-
|
144
|
155
|
|
145
|
|
- <el-table-column align="center" label="置换总量" width="100">
|
|
156
|
+ <el-table-column align="center" label="置换总量" v-if="dialysisSett.displace_liqui_value==1">
|
146
|
157
|
<template slot-scope="scope">
|
147
|
158
|
<span>{{scope.row.dialysis_prescription.replacement_total}}</span>
|
148
|
159
|
</template>
|
149
|
160
|
</el-table-column>
|
150
|
161
|
|
151
|
162
|
|
152
|
|
- <el-table-column align="center" label="钾" width="100">
|
|
163
|
+ <el-table-column align="center" label="钾" v-if="dialysisSett.kalium==1">
|
153
|
164
|
<template slot-scope="scope">
|
154
|
165
|
<span>{{scope.row.dialysis_prescription.kalium}}</span>
|
155
|
166
|
</template>
|
156
|
167
|
</el-table-column>
|
157
|
168
|
|
158
|
|
- <el-table-column align="center" label="钠" width="100">
|
|
169
|
+ <el-table-column align="center" label="钠" v-if="dialysisSett.sodium==1">
|
159
|
170
|
<template slot-scope="scope">
|
160
|
171
|
<span>{{scope.row.dialysis_prescription.sodium}}</span>
|
161
|
172
|
</template>
|
|
@@ -163,31 +174,31 @@
|
163
|
174
|
|
164
|
175
|
|
165
|
176
|
|
166
|
|
- <el-table-column align="center" label="钙" width="100">
|
|
177
|
+ <el-table-column align="center" label="钙" v-if="dialysisSett.calcium==1">
|
167
|
178
|
<template slot-scope="scope">
|
168
|
179
|
<span>{{scope.row.dialysis_prescription.calcium}}</span>
|
169
|
180
|
</template>
|
170
|
181
|
</el-table-column>
|
171
|
182
|
|
172
|
|
- <el-table-column align="center" label="碳酸氢盐" width="100">
|
|
183
|
+ <el-table-column align="center" label="碳酸氢盐" v-if="dialysisSett.bicarbonate == 1">
|
173
|
184
|
<template slot-scope="scope">
|
174
|
185
|
<span>{{scope.row.dialysis_prescription.bicarbonate}}</span>
|
175
|
186
|
</template>
|
176
|
187
|
</el-table-column>
|
177
|
188
|
|
178
|
|
- <el-table-column align="center" label="血管通路" width="100">
|
|
189
|
+ <el-table-column align="center" label="血管通路" v-if="dialysisSett.blood_access==1">
|
179
|
190
|
<template slot-scope="scope">
|
180
|
191
|
<span>{{getBloodAccessOption(scope.row.dialysis_prescription.blood_access)}}</span>
|
181
|
192
|
</template>
|
182
|
193
|
</el-table-column>
|
183
|
194
|
|
184
|
|
- <el-table-column align="center" label="封管液" width="100">
|
|
195
|
+ <el-table-column align="center" label="封管液" v-if="dialysisSett.sealing_fluid_dispose == 1">
|
185
|
196
|
<template slot-scope="scope">
|
186
|
|
-
|
|
197
|
+ {{scope.row.xt_assesment_after_dislysis.sealing_fluid_dispose}}
|
187
|
198
|
</template>
|
188
|
199
|
</el-table-column>
|
189
|
200
|
|
190
|
|
- <el-table-column align="center" label="葡萄糖" width="100">
|
|
201
|
+ <el-table-column align="center" label="葡萄糖" v-if="dialysisSett.glucose==1">
|
191
|
202
|
<template slot-scope="scope">
|
192
|
203
|
{{scope.row.dialysis_prescription.amylaceum}}
|
193
|
204
|
</template>
|
|
@@ -214,13 +225,19 @@
|
214
|
225
|
<el-checkbox v-model="sealing_fluid_dispose" label="封管液"></el-checkbox>
|
215
|
226
|
<el-checkbox v-model="mode_id" label="透析模式"></el-checkbox>
|
216
|
227
|
<el-checkbox v-model="dialysis_time" label="透析时长"></el-checkbox>
|
|
228
|
+
|
217
|
229
|
<el-checkbox v-model="dialysis_dialyszers" label="透析器"></el-checkbox>
|
218
|
230
|
<el-checkbox v-model="dialysis_irrigation" label="灌流器"></el-checkbox>
|
219
|
|
- <el-checkbox v-model="gaijiliang" label="钙"></el-checkbox>
|
220
|
231
|
<el-checkbox v-model="kalium" label="钾"></el-checkbox>
|
221
|
232
|
<el-checkbox v-model="displace_liqui_value" label="置换总量"></el-checkbox>
|
222
|
233
|
<el-checkbox v-model="bicarbonate" label="碳酸氢根"></el-checkbox>
|
223
|
234
|
<el-checkbox v-model="glucose" label="葡萄糖"></el-checkbox>
|
|
235
|
+
|
|
236
|
+ <el-checkbox v-model="dialyzer_perfusion_apparatus" label="透析器/灌流器"></el-checkbox>
|
|
237
|
+ <el-checkbox v-model="displace_liqui_part" label="置换液"></el-checkbox>
|
|
238
|
+ <el-checkbox v-model="sodium" label="钠"></el-checkbox>
|
|
239
|
+ <el-checkbox v-model="calcium" label="钙"></el-checkbox>
|
|
240
|
+ <el-checkbox v-model="blood_access" label="血管通路"></el-checkbox>
|
224
|
241
|
</span>
|
225
|
242
|
<span slot="footer" class="dialog-footer">
|
226
|
243
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
|
@@ -228,6 +245,59 @@
|
228
|
245
|
</span>
|
229
|
246
|
</el-dialog>
|
230
|
247
|
|
|
248
|
+
|
|
249
|
+ <el-dialog
|
|
250
|
+ title="打印设置"
|
|
251
|
+ :visible.sync="dialogVisibleOne"
|
|
252
|
+ width="30%"
|
|
253
|
+ >
|
|
254
|
+ <span>
|
|
255
|
+ <ul>
|
|
256
|
+ <li>
|
|
257
|
+ <el-checkbox v-model="prescription_status">透析处方状态</el-checkbox>
|
|
258
|
+ </li>
|
|
259
|
+ <li>
|
|
260
|
+ <el-checkbox v-model="week">星期</el-checkbox>
|
|
261
|
+ </li>
|
|
262
|
+ <li>
|
|
263
|
+ <el-checkbox v-model="name">姓名</el-checkbox>
|
|
264
|
+ </li>
|
|
265
|
+ <li>
|
|
266
|
+ <el-checkbox v-model="zone_name">分区</el-checkbox>
|
|
267
|
+ </li>
|
|
268
|
+ <li>
|
|
269
|
+ <el-checkbox v-model="classes">班次</el-checkbox>
|
|
270
|
+ </li>
|
|
271
|
+ <li>
|
|
272
|
+ <el-checkbox v-model="number">机号</el-checkbox>
|
|
273
|
+ </li>
|
|
274
|
+ <li>
|
|
275
|
+ <el-checkbox v-model="mode">透析模式</el-checkbox>
|
|
276
|
+ </li>
|
|
277
|
+ <li>
|
|
278
|
+ <el-checkbox v-model="dialyzers">透析器</el-checkbox>
|
|
279
|
+ </li>
|
|
280
|
+ <li>
|
|
281
|
+ <el-checkbox v-model="perfusion_apparatus">灌流器</el-checkbox>
|
|
282
|
+ </li>
|
|
283
|
+ <li>
|
|
284
|
+ <el-checkbox v-model="anticoagulant">抗凝剂(商品名称)</el-checkbox>
|
|
285
|
+ </li>
|
|
286
|
+ <li>
|
|
287
|
+ <el-checkbox v-model="anticoagulant_zongliang">总量</el-checkbox>
|
|
288
|
+ </li>
|
|
289
|
+ <li>
|
|
290
|
+ <el-checkbox v-model="doctor_advice">长期医嘱</el-checkbox>
|
|
291
|
+ </li>
|
|
292
|
+ </ul>
|
|
293
|
+
|
|
294
|
+ </span>
|
|
295
|
+ <span slot="footer" class="dialog-footer">
|
|
296
|
+ <el-button @click="dialogVisibleOne = false">取 消</el-button>
|
|
297
|
+ <el-button type="primary" @click="saveRemindPrint">保 存</el-button>
|
|
298
|
+ </span>
|
|
299
|
+ </el-dialog>
|
|
300
|
+
|
231
|
301
|
</div>
|
232
|
302
|
|
233
|
303
|
<el-pagination
|
|
@@ -316,6 +386,7 @@
|
316
|
386
|
<script>
|
317
|
387
|
import { GetAllZone,saveDialysisSetting,getDialysisSetting,getDialysisParameter,getDialysisParameterGoodList } from '@/api/dialysis'
|
318
|
388
|
import { uParseTime } from "@/utils/tools";
|
|
389
|
+ import {getRemindPrintList,saveRemindPrint} from '@/api/schedule'
|
319
|
390
|
import { getDataConfig } from '@/utils/data'
|
320
|
391
|
import store from "@/store";
|
321
|
392
|
export default {
|
|
@@ -392,11 +463,32 @@
|
392
|
463
|
displace_liqui_value:false,
|
393
|
464
|
bicarbonate:false,
|
394
|
465
|
glucose:false,
|
|
466
|
+ dialyzer_perfusion_apparatus:false,
|
|
467
|
+ sodium:false,
|
|
468
|
+ calcium:false,
|
|
469
|
+ blood_access:false,
|
|
470
|
+ displace_liqui_part:false,
|
395
|
471
|
blood_access_option:[],
|
396
|
472
|
startdialogVisible:false,
|
397
|
|
- schedule_type:"",
|
398
|
|
- partion_type:"",
|
|
473
|
+
|
|
474
|
+ schedule_type:0,
|
|
475
|
+ partion_type:0,
|
399
|
476
|
tableList:[],
|
|
477
|
+ dialysisSett:{},
|
|
478
|
+
|
|
479
|
+ dialogVisibleOne: false,
|
|
480
|
+ prescription_status: false,
|
|
481
|
+ week: false,
|
|
482
|
+ name: false,
|
|
483
|
+ zone_name: false,
|
|
484
|
+ classes: false,
|
|
485
|
+ number: false,
|
|
486
|
+ mode: false,
|
|
487
|
+ dialyzers: false,
|
|
488
|
+ perfusion_apparatus: false,
|
|
489
|
+ anticoagulant: false,
|
|
490
|
+ anticoagulant_zongliang: false,
|
|
491
|
+ doctor_advice: false,
|
400
|
492
|
}
|
401
|
493
|
},
|
402
|
494
|
created() {
|
|
@@ -444,6 +536,8 @@
|
444
|
536
|
var list = response.data.data.list
|
445
|
537
|
this.list = list
|
446
|
538
|
this.total = response.data.data.total
|
|
539
|
+ this.dialysisSett = response.data.data.dialysisSett
|
|
540
|
+ console.log("设置",this.dialysisSett)
|
447
|
541
|
}
|
448
|
542
|
})
|
449
|
543
|
},
|
|
@@ -537,6 +631,20 @@
|
537
|
631
|
this.startdialogVisible = true
|
538
|
632
|
var list = response.data.data.list
|
539
|
633
|
console.log("list232323223222wid",list)
|
|
634
|
+ var total = 0
|
|
635
|
+ var total_one = 0
|
|
636
|
+ var total_two = 0
|
|
637
|
+ var total_three = 0
|
|
638
|
+ var total_four = 0
|
|
639
|
+ var total_five = 0
|
|
640
|
+ var total_six = 0
|
|
641
|
+ var total_seven =0
|
|
642
|
+ var total_eight = 0
|
|
643
|
+ var total_night =0
|
|
644
|
+ var total_ten = 0
|
|
645
|
+ var total_elven = 0
|
|
646
|
+ var total_twenty = 0
|
|
647
|
+
|
540
|
648
|
if(list!=null && list.length>0){
|
541
|
649
|
for(let i=0;i<list.length;i++){
|
542
|
650
|
list[i].dialysis_dialyszers_arr = []
|
|
@@ -551,6 +659,45 @@
|
551
|
659
|
if(list[i].dialysis_prescription.dialysis_irrigation!=""){
|
552
|
660
|
list[i].dialysis_irrigation_arr = list[i].dialysis_prescription.dialysis_irrigation.split(",")
|
553
|
661
|
}
|
|
662
|
+ if(list[i].dialysis_prescription.anticoagulant == 1){
|
|
663
|
+ total += list[i].dialysis_prescription.anticoagulant_zongliang
|
|
664
|
+ }
|
|
665
|
+ if(list[i].dialysis_prescription.anticoagulant == 2){
|
|
666
|
+ total_one += list[i].dialysis_prescription.anticoagulant_zongliang
|
|
667
|
+ }
|
|
668
|
+ if(list[i].dialysis_prescription.anticoagulant == 3){
|
|
669
|
+ total_two += list[i].dialysis_prescription.anticoagulant_zongliang
|
|
670
|
+ }
|
|
671
|
+ if(list[i].dialysis_prescription.anticoagulant == 4){
|
|
672
|
+ total_three += list[i].dialysis_prescription.anticoagulant_zongliang
|
|
673
|
+ }
|
|
674
|
+ if(list[i].dialysis_prescription.anticoagulant == 5){
|
|
675
|
+ total_four += list[i].dialysis_prescription.anticoagulant_zongliang
|
|
676
|
+ }
|
|
677
|
+ if(list[i].dialysis_prescription.anticoagulant == 6){
|
|
678
|
+ total_five += list[i].dialysis_prescription.anticoagulant_zongliang
|
|
679
|
+ }
|
|
680
|
+ if(list[i].dialysis_prescription.anticoagulant == 7){
|
|
681
|
+ total_six += list[i].dialysis_prescription.anticoagulant_zongliang
|
|
682
|
+ }
|
|
683
|
+ if(list[i].dialysis_prescription.anticoagulant == 8){
|
|
684
|
+ total_seven += list[i].dialysis_prescription.anticoagulant_zongliang
|
|
685
|
+ }
|
|
686
|
+ if(list[i].dialysis_prescription.anticoagulant == 9){
|
|
687
|
+ total_eight += list[i].dialysis_prescription.anticoagulant_zongliang
|
|
688
|
+ }
|
|
689
|
+ if(list[i].dialysis_prescription.anticoagulant == 10){
|
|
690
|
+ total_night += list[i].dialysis_prescription.anticoagulant_zongliang
|
|
691
|
+ }
|
|
692
|
+ if(list[i].dialysis_prescription.anticoagulant == 11){
|
|
693
|
+ total_ten+= list[i].dialysis_prescription.anticoagulant_zongliang
|
|
694
|
+ }
|
|
695
|
+ if(list[i].dialysis_prescription.anticoagulant == 12){
|
|
696
|
+ total_elven+= list[i].dialysis_prescription.anticoagulant_zongliang
|
|
697
|
+ }
|
|
698
|
+ if(list[i].dialysis_prescription.anticoagulant == 13){
|
|
699
|
+ total_twenty+= list[i].dialysis_prescription.anticoagulant_zongliang
|
|
700
|
+ }
|
554
|
701
|
}
|
555
|
702
|
}
|
556
|
703
|
var dialysisDialyszersArr = []
|
|
@@ -626,7 +773,82 @@
|
626
|
773
|
Arr.push(a);
|
627
|
774
|
}
|
628
|
775
|
console.log("newa",Arr)
|
629
|
|
- this.tableList = Arr
|
|
776
|
+ console.log("total_one",total_one)
|
|
777
|
+ var objArr = {name:"抗凝剂",specification_name:"无肝素",count:0}
|
|
778
|
+ objArr.count = total
|
|
779
|
+ var objArrOne = {name:"抗凝剂",specification_name:"普通肝素",count:0}
|
|
780
|
+ objArrOne.count = total_one
|
|
781
|
+ var objArrTwo = {name:"抗凝剂",specification_name:"低分子肝素",count:0}
|
|
782
|
+ objArrTwo.count = total_two
|
|
783
|
+ var objArrThree = {name:"抗凝剂",specification_name:"阿加曲班",count:0}
|
|
784
|
+ objArrThree.count = total_three
|
|
785
|
+ var objArrFour = {name:"抗凝剂",specification_name:"枸橼酸钠",count:0}
|
|
786
|
+ objArrFour.count = total_four
|
|
787
|
+ var objArrFive = {name:"抗凝剂",specification_name:"低分子肝素钙",count:0}
|
|
788
|
+ objArrFive.count = total_five
|
|
789
|
+ var objArrSix = {name:"抗凝剂",specification_name:"低分子肝素钠",count:0}
|
|
790
|
+ objArrSix.count = total_six
|
|
791
|
+ var objArrSeven = {name:"抗凝剂",specification_name:"依诺肝素",count:0}
|
|
792
|
+ objArrSeven.count = total_seven
|
|
793
|
+ var objArrEight = {name:"抗凝剂",specification_name:"达肝素",count:0}
|
|
794
|
+ objArrSeven.count = total_eight
|
|
795
|
+ var objArrNight = {name:"抗凝剂",specification_name:"体外抗凝",count:0}
|
|
796
|
+ objArrNight.count = total_eight
|
|
797
|
+ var objArrTen = {name:"抗凝剂",specification_name:"那屈肝素",count:0}
|
|
798
|
+ objArrTen.count = total_ten
|
|
799
|
+ var objArrEleven = {name:"抗凝剂",specification_name:"无抗凝剂",count:0}
|
|
800
|
+ objArrEleven.count = total_elven
|
|
801
|
+ var objArrTwenty = {name:"抗凝剂",specification_name:"那屈肝素钙",count:0}
|
|
802
|
+ objArrTwenty.count = total_twenty
|
|
803
|
+ console.log("objArrOne",objArrOne.count)
|
|
804
|
+ if(parseInt(objArr.count) > 0){
|
|
805
|
+ this.tableList.push(objArr)
|
|
806
|
+ }
|
|
807
|
+ console.log("objArrOne",parseInt(objArrOne.count))
|
|
808
|
+ if(parseInt(objArrOne.count) > 0){
|
|
809
|
+ console.log("j你了了呃呃呃呃呃呃")
|
|
810
|
+ this.tableList.push(objArrOne)
|
|
811
|
+ }
|
|
812
|
+ if(parseInt(objArrTwo).count > 0){
|
|
813
|
+ this.tableList.push(objArrTwo)
|
|
814
|
+ }
|
|
815
|
+ if(parseInt(objArrThree).count > 0){
|
|
816
|
+ this.tableList.push(objArrThree)
|
|
817
|
+ }
|
|
818
|
+ if(parseInt(objArrFour.count) > 0){
|
|
819
|
+ this.tableList.push(objArrFour)
|
|
820
|
+ }
|
|
821
|
+ if(parseInt(objArrFive.count) > 0){
|
|
822
|
+ this.tableList.push(objArrFive)
|
|
823
|
+ }
|
|
824
|
+ if(parseInt(objArrSix.count) > 0){
|
|
825
|
+ this.tableList.push(objArrSix)
|
|
826
|
+ }
|
|
827
|
+ if(parseInt(objArrSeven.count) > 0){
|
|
828
|
+ this.tableList.push(objArrSeven)
|
|
829
|
+ }
|
|
830
|
+ if(parseInt(objArrEight.count) > 0){
|
|
831
|
+ this.tableList.push(objArrEight)
|
|
832
|
+ }
|
|
833
|
+ if(parseInt(objArrNight.count) > 0){
|
|
834
|
+ this.tableList.push(objArrNight)
|
|
835
|
+ }
|
|
836
|
+ if(parseInt(objArrTen.count) > 0){
|
|
837
|
+ this.tableList.push(objArrTen)
|
|
838
|
+ }
|
|
839
|
+ if(parseInt(objArrEleven.count) > 0){
|
|
840
|
+ this.tableList.push(objArrEleven)
|
|
841
|
+ }
|
|
842
|
+ if(parseInt(objArrTwenty).count > 0){
|
|
843
|
+ this.tableList.push(objArrTwenty)
|
|
844
|
+ }
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+ if(Arr.length >0){
|
|
848
|
+ for(let i=0;i<Arr.length;i++){
|
|
849
|
+ this.tableList.push(Arr[i])
|
|
850
|
+ }
|
|
851
|
+ }
|
630
|
852
|
}
|
631
|
853
|
})
|
632
|
854
|
},
|
|
@@ -789,6 +1011,31 @@
|
789
|
1011
|
}else{
|
790
|
1012
|
this.glucose = false
|
791
|
1013
|
}
|
|
1014
|
+ if(dialysisSett.sodium == 1){
|
|
1015
|
+ this.sodium = true
|
|
1016
|
+ }else{
|
|
1017
|
+ this.sodium = false
|
|
1018
|
+ }
|
|
1019
|
+ if(dialysisSett.calcium == 1){
|
|
1020
|
+ this.calcium = true
|
|
1021
|
+ }else{
|
|
1022
|
+ this.calcium = false
|
|
1023
|
+ }
|
|
1024
|
+ if(dialysisSett.blood_access == 1){
|
|
1025
|
+ this.blood_access = true
|
|
1026
|
+ }else{
|
|
1027
|
+ this.blood_access = false
|
|
1028
|
+ }
|
|
1029
|
+ if(dialysisSett.dialyzer_perfusion_apparatus == 1){
|
|
1030
|
+ this.dialyzer_perfusion_apparatus = true
|
|
1031
|
+ }else{
|
|
1032
|
+ this.dialyzer_perfusion_apparatus = false
|
|
1033
|
+ }
|
|
1034
|
+ if(dialysisSett.displace_liqui_part == 1){
|
|
1035
|
+ this.displace_liqui_part = true
|
|
1036
|
+ }else{
|
|
1037
|
+ this.displace_liqui_part = false
|
|
1038
|
+ }
|
792
|
1039
|
}
|
793
|
1040
|
|
794
|
1041
|
}
|
|
@@ -818,6 +1065,49 @@
|
818
|
1065
|
var displace_liqui_value_set =0
|
819
|
1066
|
var bicarbonate_set =0
|
820
|
1067
|
var glucose_set = 0
|
|
1068
|
+ var sodium_set = 0
|
|
1069
|
+ var calcium_set =0
|
|
1070
|
+ var blood_access_set =0
|
|
1071
|
+ var dialyzer_perfusion_apparatus_set =0
|
|
1072
|
+ var displace_liqui_part_set =0
|
|
1073
|
+
|
|
1074
|
+ if(this.sodium == false){
|
|
1075
|
+ sodium_set = 2
|
|
1076
|
+ }
|
|
1077
|
+ if(this.sodium == true){
|
|
1078
|
+ sodium_set = 1
|
|
1079
|
+ }
|
|
1080
|
+
|
|
1081
|
+ if(this.calcium ==false){
|
|
1082
|
+ calcium_set = 2
|
|
1083
|
+ }
|
|
1084
|
+ if(this.calcium == true){
|
|
1085
|
+ calcium_set = 1
|
|
1086
|
+ }
|
|
1087
|
+
|
|
1088
|
+ if(this.blood_access ==false){
|
|
1089
|
+ blood_access_set = 2
|
|
1090
|
+ }
|
|
1091
|
+ if(this.blood_access == true){
|
|
1092
|
+ blood_access_set = 1
|
|
1093
|
+ }
|
|
1094
|
+
|
|
1095
|
+ if(this.dialyzer_perfusion_apparatus == false){
|
|
1096
|
+ dialyzer_perfusion_apparatus_set = 2
|
|
1097
|
+ }
|
|
1098
|
+ if(this.dialyzer_perfusion_apparatus == true){
|
|
1099
|
+ dialyzer_perfusion_apparatus_set =1
|
|
1100
|
+ }
|
|
1101
|
+
|
|
1102
|
+ if(this.displace_liqui_part == false){
|
|
1103
|
+ displace_liqui_part_set = 2
|
|
1104
|
+ }
|
|
1105
|
+
|
|
1106
|
+ if(this.displace_liqui_part == true){
|
|
1107
|
+ displace_liqui_part_set = 1
|
|
1108
|
+ }
|
|
1109
|
+
|
|
1110
|
+
|
821
|
1111
|
if(this.device_number == false){
|
822
|
1112
|
device_number_set = 2
|
823
|
1113
|
}
|
|
@@ -973,6 +1263,11 @@
|
973
|
1263
|
displace_liqui_value_set:displace_liqui_value_set,
|
974
|
1264
|
bicarbonate_set:bicarbonate_set,
|
975
|
1265
|
glucose_set:glucose_set,
|
|
1266
|
+ sodium_set:sodium_set,
|
|
1267
|
+ calcium_set:calcium_set,
|
|
1268
|
+ blood_access_set:blood_access_set,
|
|
1269
|
+ dialyzer_perfusion_apparatus_set:dialyzer_perfusion_apparatus_set,
|
|
1270
|
+ displace_liqui_part_set:displace_liqui_part_set,
|
976
|
1271
|
}
|
977
|
1272
|
console.log("patam223232332",params)
|
978
|
1273
|
saveDialysisSetting(params).then(response=>{
|
|
@@ -980,6 +1275,7 @@
|
980
|
1275
|
var dialysisSetting = response.data.data.dialysisSetting
|
981
|
1276
|
this.$message.success("保存成功!")
|
982
|
1277
|
this.dialogVisible = false
|
|
1278
|
+ this.getlist()
|
983
|
1279
|
}
|
984
|
1280
|
})
|
985
|
1281
|
},
|
|
@@ -1034,7 +1330,204 @@
|
1034
|
1330
|
}
|
1035
|
1331
|
}
|
1036
|
1332
|
return name
|
1037
|
|
- }
|
|
1333
|
+ },
|
|
1334
|
+ toSign(){
|
|
1335
|
+ this.$router.push({path: '/dialysis/consumable/dialysis/print?schedule_type='+this.query.schedule_type+"&partion_id="+this.query.partition_id+"&schedule_date="+this.query.schedule_date+"&keyword="+this.query.keywords+"&page="+this.query.page+"&limit="+this.query.limit})
|
|
1336
|
+ },
|
|
1337
|
+ printAction(){
|
|
1338
|
+ this.getRemindPrintList()
|
|
1339
|
+ this.dialogVisibleOne = true
|
|
1340
|
+
|
|
1341
|
+ },
|
|
1342
|
+ getRemindPrintList() {
|
|
1343
|
+ getRemindPrintList().then(response => {
|
|
1344
|
+ if (response.data.state == 1) {
|
|
1345
|
+ var list = response.data.data.list
|
|
1346
|
+ console.log('list222332', list)
|
|
1347
|
+ if (list.anticoagulant == 1) {
|
|
1348
|
+ console.log('进来22222')
|
|
1349
|
+ this.anticoagulant = true
|
|
1350
|
+ }
|
|
1351
|
+ if (list.anticoagulant == 2) {
|
|
1352
|
+ this.anticoagulant = false
|
|
1353
|
+ }
|
|
1354
|
+ if (list.anticoagulant_zongliang == 1) {
|
|
1355
|
+ this.anticoagulant_zongliang = true
|
|
1356
|
+ }
|
|
1357
|
+ if (list.anticoagulant_zongliang == 2) {
|
|
1358
|
+ this.anticoagulant_zongliang = false
|
|
1359
|
+ }
|
|
1360
|
+ if (list.classes == 1) {
|
|
1361
|
+ this.classes = true
|
|
1362
|
+ }
|
|
1363
|
+ if (list.classes == 2) {
|
|
1364
|
+ this.classes = false
|
|
1365
|
+ }
|
|
1366
|
+ if (list.dialyzers == 1) {
|
|
1367
|
+ this.dialyzers = true
|
|
1368
|
+ }
|
|
1369
|
+ if (list.dialyzers == 2) {
|
|
1370
|
+ this.dialyzers = false
|
|
1371
|
+ }
|
|
1372
|
+ if (list.doctor_advice == 1) {
|
|
1373
|
+ this.doctor_advice = true
|
|
1374
|
+ }
|
|
1375
|
+ if (list.doctor_advice == 2) {
|
|
1376
|
+ this.doctor_advice = false
|
|
1377
|
+ }
|
|
1378
|
+ if (list.name == 1) {
|
|
1379
|
+ this.name = true
|
|
1380
|
+ }
|
|
1381
|
+ if (list.name == 2) {
|
|
1382
|
+ this.name = false
|
|
1383
|
+ }
|
|
1384
|
+ if (list.number == 1) {
|
|
1385
|
+ this.number = true
|
|
1386
|
+ }
|
|
1387
|
+ if (list.number == 2) {
|
|
1388
|
+ this.number = false
|
|
1389
|
+ }
|
|
1390
|
+ if (list.perfusion_apparatus == 1) {
|
|
1391
|
+ this.perfusion_apparatus = true
|
|
1392
|
+ }
|
|
1393
|
+ if (list.perfusion_apparatus == 2) {
|
|
1394
|
+ this.perfusion_apparatus = false
|
|
1395
|
+ }
|
|
1396
|
+ if (list.prescription_status == 1) {
|
|
1397
|
+ this.prescription_status = true
|
|
1398
|
+ }
|
|
1399
|
+ if (list.prescription_status == 2) {
|
|
1400
|
+ this.prescription_status = false
|
|
1401
|
+ }
|
|
1402
|
+ if (list.week == 1) {
|
|
1403
|
+ this.week = true
|
|
1404
|
+ }
|
|
1405
|
+ if (list.week == 2) {
|
|
1406
|
+ this.week = false
|
|
1407
|
+ }
|
|
1408
|
+ if (list.zone == 1) {
|
|
1409
|
+ this.zone_name = true
|
|
1410
|
+ }
|
|
1411
|
+ if (list.zone == 2) {
|
|
1412
|
+ this.zone_name = false
|
|
1413
|
+ }
|
|
1414
|
+ if (list.mode == 1) {
|
|
1415
|
+ this.mode = true
|
|
1416
|
+ }
|
|
1417
|
+ if (list.mode == 2) {
|
|
1418
|
+ this.mode = false
|
|
1419
|
+ }
|
|
1420
|
+ this.form.id = list.id
|
|
1421
|
+ }
|
|
1422
|
+ })
|
|
1423
|
+ },
|
|
1424
|
+
|
|
1425
|
+ saveRemindPrint() {
|
|
1426
|
+
|
|
1427
|
+
|
|
1428
|
+ if (this.perfusion_apparatus == true) {
|
|
1429
|
+ console.log('3333')
|
|
1430
|
+ this.form.perfusion_apparatus = 1
|
|
1431
|
+ }
|
|
1432
|
+ if (this.perfusion_apparatus == false) {
|
|
1433
|
+ this.form.perfusion_apparatus = 2
|
|
1434
|
+ }
|
|
1435
|
+ if (this.prescription_status == true) {
|
|
1436
|
+ this.form.prescription_status = 1
|
|
1437
|
+ }
|
|
1438
|
+ if (this.prescription_status == false) {
|
|
1439
|
+ this.form.prescription_status = 2
|
|
1440
|
+ }
|
|
1441
|
+ if (this.week == true) {
|
|
1442
|
+ this.form.week = 1
|
|
1443
|
+ }
|
|
1444
|
+ if (this.week == false) {
|
|
1445
|
+ this.form.week = 2
|
|
1446
|
+ }
|
|
1447
|
+ if (this.name == true) {
|
|
1448
|
+ this.form.name = 1
|
|
1449
|
+ }
|
|
1450
|
+ if (this.name == false) {
|
|
1451
|
+ this.form.name = 2
|
|
1452
|
+ }
|
|
1453
|
+ if (this.zone_name == true) {
|
|
1454
|
+ this.form.zone = 1
|
|
1455
|
+ }
|
|
1456
|
+ if (this.zone_name == false) {
|
|
1457
|
+ this.form.zone = 2
|
|
1458
|
+ }
|
|
1459
|
+ if (this.classes == true) {
|
|
1460
|
+ this.form.classes = 1
|
|
1461
|
+ }
|
|
1462
|
+ if (this.classes == false) {
|
|
1463
|
+ this.form.classes = 2
|
|
1464
|
+ }
|
|
1465
|
+ if (this.number == true) {
|
|
1466
|
+ this.form.number = 1
|
|
1467
|
+ }
|
|
1468
|
+ if (this.number == false) {
|
|
1469
|
+ this.form.number = 2
|
|
1470
|
+ }
|
|
1471
|
+ if (this.mode == true) {
|
|
1472
|
+ this.form.mode = 1
|
|
1473
|
+ }
|
|
1474
|
+ if (this.mode == false) {
|
|
1475
|
+ this.form.mode = 2
|
|
1476
|
+ }
|
|
1477
|
+ if (this.dialyzers == true) {
|
|
1478
|
+ this.form.dialyzers = 1
|
|
1479
|
+ }
|
|
1480
|
+ if (this.dialyzers == false) {
|
|
1481
|
+ this.form.dialyzers = 2
|
|
1482
|
+ }
|
|
1483
|
+
|
|
1484
|
+ if (this.anticoagulant == true) {
|
|
1485
|
+ this.form.anticoagulant = 1
|
|
1486
|
+ }
|
|
1487
|
+ if (this.anticoagulant == false) {
|
|
1488
|
+ this.form.anticoagulant = 2
|
|
1489
|
+ }
|
|
1490
|
+ if (this.anticoagulant_zongliang == true) {
|
|
1491
|
+ this.form.anticoagulant_zongliang = 1
|
|
1492
|
+ }
|
|
1493
|
+ if (this.anticoagulant_zongliang == false) {
|
|
1494
|
+ this.form.anticoagulant_zongliang = 2
|
|
1495
|
+ }
|
|
1496
|
+ if (this.doctor_advice == true) {
|
|
1497
|
+ this.form.doctor_advice = 1
|
|
1498
|
+ }
|
|
1499
|
+ if (this.doctor_advice == false) {
|
|
1500
|
+ this.form.doctor_advice = 2
|
|
1501
|
+ }
|
|
1502
|
+ console.log('555555555', this.form.prescription_status)
|
|
1503
|
+ var params = {
|
|
1504
|
+ id: this.form.id,
|
|
1505
|
+ prescription_status: this.form.prescription_status,
|
|
1506
|
+ week: this.form.week,
|
|
1507
|
+ name: this.form.name,
|
|
1508
|
+ zone: this.form.zone,
|
|
1509
|
+ classes: this.form.classes,
|
|
1510
|
+ number: this.form.number,
|
|
1511
|
+ mode: this.form.mode,
|
|
1512
|
+ dialyzers: this.form.dialyzers,
|
|
1513
|
+ perfusion_apparatus: this.form.perfusion_apparatus,
|
|
1514
|
+ anticoagulant: this.form.anticoagulant,
|
|
1515
|
+ anticoagulant_zongliang: this.form.anticoagulant_zongliang,
|
|
1516
|
+ doctor_advice: this.form.doctor_advice
|
|
1517
|
+ }
|
|
1518
|
+ console.log('params', params)
|
|
1519
|
+ saveRemindPrint(params).then(response => {
|
|
1520
|
+ if (response.data.state == 1) {
|
|
1521
|
+ var settting = response.data.data.setting
|
|
1522
|
+ this.$message.success('保存成功')
|
|
1523
|
+ this.dialogVisibleOne = false
|
|
1524
|
+ this.getRemindPrintList()
|
|
1525
|
+ }
|
|
1526
|
+ })
|
|
1527
|
+ },
|
|
1528
|
+ toPrint(){
|
|
1529
|
+ this.$router.push({path: '/dialysis/consumable/dialysis/parameter/print?schedule_type='+this.query.schedule_type+"&partion_id="+this.query.partition_id+"&schedule_date="+this.query.schedule_date+"&keyword="+this.query.keywords+"&page="+this.query.page+"&limit="+this.query.limit})
|
|
1530
|
+ }
|
1038
|
1531
|
}
|
1039
|
1532
|
}
|
1040
|
1533
|
</script>
|