|
@@ -5,6 +5,8 @@
|
5
|
5
|
<div style="display:flex;justify-content: space-between;align-items: center;margin-bottom: 12px;">
|
6
|
6
|
<span style="font-weight:bold;">转归记录列表</span>
|
7
|
7
|
<el-button size="medium" type="primary" @click="dialogVisible =true">新增</el-button>
|
|
8
|
+
|
|
9
|
+ <!-- <el-button size="medium" type="primary" @click="toJiaoBen">脚本</el-button> -->
|
8
|
10
|
</div>
|
9
|
11
|
<el-table class="oictable" :data="tableData" border style="width:100%">
|
10
|
12
|
<el-table-column prop="start_time" label="日期" align="center">
|
|
@@ -22,13 +24,27 @@
|
22
|
24
|
</el-table-column>
|
23
|
25
|
<el-table-column prop="blood_access_part_id" label="转归分类" align="center">
|
24
|
26
|
<template slot-scope="scope">
|
25
|
|
- <span v-if="scope.row.lapse_class == 1">终止透析</span>
|
|
27
|
+ <!-- <span v-if="scope.row.lapse_class == 1">终止透析</span>
|
26
|
28
|
<span v-if="scope.row.lapse_class == 2">转出院外</span>
|
27
|
29
|
<span v-if="scope.row.lapse_class == 3">回居住地透析</span>
|
28
|
30
|
<span v-if="scope.row.lapse_class == 4">临时透析</span>
|
29
|
31
|
<span v-if="scope.row.lapse_class == 5">转腹膜透析</span>
|
30
|
32
|
<span v-if="scope.row.lapse_class == 6">其他</span>
|
31
|
|
- <span v-if="scope.row.lapse_class == 7">变更透析医院</span>
|
|
33
|
+ <span v-if="scope.row.lapse_class == 7">变更透析医院</span> -->
|
|
34
|
+ <!-- <span v-if="scope.row.lapse_class == 1">留治</span>
|
|
35
|
+ <span v-if="scope.row.lapse_class == 2">转出</span>
|
|
36
|
+ <span v-if="scope.row.lapse_class == 3">死亡</span> -->
|
|
37
|
+ <span v-if="scope.row.lapse_class == 4">转出院外</span>
|
|
38
|
+ <span v-if="scope.row.lapse_class == 5">肾移植</span>
|
|
39
|
+ <span v-if="scope.row.lapse_class == 6">转腹膜透析</span>
|
|
40
|
+ <span v-if="scope.row.lapse_class == 7">出院</span>
|
|
41
|
+ <span v-if="scope.row.lapse_class == 8">好转</span>
|
|
42
|
+ <span v-if="scope.row.lapse_class == 9">放弃治疗</span>
|
|
43
|
+ <span v-if="scope.row.lapse_class == 10">其他状态</span>
|
|
44
|
+ <span v-if="scope.row.lapse_class ==11">请假</span>
|
|
45
|
+ <span v-if="scope.row.lapse_class ==12">临时透析</span>
|
|
46
|
+ <span v-if="scope.row.lapse_class ==13">回居住地透析</span>
|
|
47
|
+ <span v-if="scope.row.lapse_class ==14">变更透析医院</span>
|
32
|
48
|
</template>
|
33
|
49
|
</el-table-column>
|
34
|
50
|
<el-table-column prop="inflow_pass" label="原因" align="center">
|
|
@@ -129,6 +145,39 @@
|
129
|
145
|
</el-row>
|
130
|
146
|
|
131
|
147
|
|
|
148
|
+ <el-row :gutter="20" v-if="lapse_type == 4">
|
|
149
|
+ <el-col :span="8">
|
|
150
|
+ <el-form-item label="开始时间:">
|
|
151
|
+ <el-date-picker
|
|
152
|
+ v-model="start_time"
|
|
153
|
+ type="date"
|
|
154
|
+ value-format="yyyy-MM-dd"
|
|
155
|
+ placeholder="选择日期">
|
|
156
|
+ </el-date-picker>
|
|
157
|
+ </el-form-item>
|
|
158
|
+ </el-col>
|
|
159
|
+
|
|
160
|
+ <el-col :span="8">
|
|
161
|
+ <el-form-item label="结束时间:">
|
|
162
|
+ <el-date-picker
|
|
163
|
+ v-model="end_time"
|
|
164
|
+ type="date"
|
|
165
|
+ value-format="yyyy-MM-dd"
|
|
166
|
+ placeholder="选择日期">
|
|
167
|
+ </el-date-picker>
|
|
168
|
+ </el-form-item>
|
|
169
|
+ </el-col>
|
|
170
|
+
|
|
171
|
+ <el-col :span="8">
|
|
172
|
+ <el-form-item label="转院地区:">
|
|
173
|
+ <el-input style="width: 200px" v-model="patient_address"></el-input>
|
|
174
|
+ </el-form-item>
|
|
175
|
+ </el-col>
|
|
176
|
+ </el-row>
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
132
|
181
|
<el-row :gutter="20" v-if="lapse_type == 3 && his_type==2">
|
133
|
182
|
<el-col :span="11">
|
134
|
183
|
<el-form-item label="病区:">
|
|
@@ -147,20 +196,46 @@
|
147
|
196
|
<el-col :span="23">
|
148
|
197
|
<el-form-item label="转归分类:">
|
149
|
198
|
<el-radio-group style="padding: 10px;" v-model="lapse_class">
|
150
|
|
- <el-radio label="1">终止透析</el-radio>
|
151
|
|
- <el-radio label="2">转出院外</el-radio>
|
152
|
|
- <el-radio label="3">回居住地透析</el-radio>
|
153
|
|
- <el-radio label="4">临时透析</el-radio>
|
154
|
|
- <el-radio label="5">转腹膜透析</el-radio>
|
155
|
|
- <el-radio label="6">其他</el-radio>
|
156
|
|
- <el-radio label="7">变更透析医院</el-radio>
|
157
|
|
- <el-radio label="8">住院</el-radio>
|
158
|
|
- <el-radio label="9">转血透科</el-radio>
|
|
199
|
+ <el-radio label="4">转出院外</el-radio>
|
|
200
|
+ <el-radio label="5">肾移植</el-radio>
|
|
201
|
+ <el-radio label="6">转腹膜透析</el-radio>
|
|
202
|
+ <el-radio label="7">出院</el-radio>
|
|
203
|
+ <el-radio label="8">好转</el-radio>
|
|
204
|
+ <el-radio label="9">放弃治疗</el-radio>
|
|
205
|
+ <el-radio label="10">其他状态</el-radio>
|
|
206
|
+ <el-radio label="11">请假</el-radio>
|
|
207
|
+ <el-radio label="12">临时透析</el-radio>
|
|
208
|
+ <el-radio label="13">回居住地透析</el-radio>
|
|
209
|
+ <el-radio label="14">变更透析医院</el-radio>
|
159
|
210
|
</el-radio-group>
|
160
|
211
|
</el-form-item>
|
161
|
212
|
</el-col>
|
162
|
213
|
</el-row>
|
163
|
214
|
|
|
215
|
+ <el-row :gutter="20" v-if="lapse_class == 11">
|
|
216
|
+ <el-col :span="8">
|
|
217
|
+ <el-form-item label="开始时间:">
|
|
218
|
+ <el-date-picker
|
|
219
|
+ v-model="start_time_one"
|
|
220
|
+ type="date"
|
|
221
|
+ value-format="yyyy-MM-dd"
|
|
222
|
+ placeholder="选择日期">
|
|
223
|
+ </el-date-picker>
|
|
224
|
+ </el-form-item>
|
|
225
|
+ </el-col>
|
|
226
|
+
|
|
227
|
+ <el-col :span="8">
|
|
228
|
+ <el-form-item label="结束时间:">
|
|
229
|
+ <el-date-picker
|
|
230
|
+ v-model="end_time_one"
|
|
231
|
+ type="date"
|
|
232
|
+ value-format="yyyy-MM-dd"
|
|
233
|
+ placeholder="选择日期">
|
|
234
|
+ </el-date-picker>
|
|
235
|
+ </el-form-item>
|
|
236
|
+ </el-col>
|
|
237
|
+ </el-row>
|
|
238
|
+
|
164
|
239
|
<el-row :gutter="20">
|
165
|
240
|
<el-col :span="23">
|
166
|
241
|
<el-form-item label="原因:">
|
|
@@ -261,6 +336,36 @@
|
261
|
336
|
</el-col>
|
262
|
337
|
</el-row>
|
263
|
338
|
|
|
339
|
+ <el-row :gutter="20" v-if="lapse_type == 4">
|
|
340
|
+ <el-col :span="8">
|
|
341
|
+ <el-form-item label="开始时间:">
|
|
342
|
+ <el-date-picker
|
|
343
|
+ v-model="start_time"
|
|
344
|
+ type="date"
|
|
345
|
+ value-format="yyyy-MM-dd"
|
|
346
|
+ placeholder="选择日期">
|
|
347
|
+ </el-date-picker>
|
|
348
|
+ </el-form-item>
|
|
349
|
+ </el-col>
|
|
350
|
+
|
|
351
|
+ <el-col :span="8">
|
|
352
|
+ <el-form-item label="结束时间:">
|
|
353
|
+ <el-date-picker
|
|
354
|
+ v-model="end_time"
|
|
355
|
+ type="date"
|
|
356
|
+ value-format="yyyy-MM-dd"
|
|
357
|
+ placeholder="选择日期">
|
|
358
|
+ </el-date-picker>
|
|
359
|
+ </el-form-item>
|
|
360
|
+ </el-col>
|
|
361
|
+
|
|
362
|
+ <el-col :span="8">
|
|
363
|
+ <el-form-item label="转院地区:">
|
|
364
|
+ <el-input style="width: 200px" v-model="patient_address"></el-input>
|
|
365
|
+ </el-form-item>
|
|
366
|
+ </el-col>
|
|
367
|
+ </el-row>
|
|
368
|
+
|
264
|
369
|
<el-row :gutter="20" v-if="lapse_type == 3 && his_type==2">
|
265
|
370
|
<el-col :span="11">
|
266
|
371
|
<el-form-item label="病区:">
|
|
@@ -278,20 +383,48 @@
|
278
|
383
|
<el-col :span="24">
|
279
|
384
|
<el-form-item label="转归分类:">
|
280
|
385
|
<el-radio-group style="padding: 10px;" v-model="lapse_class">
|
281
|
|
- <el-radio label="1">终止透析</el-radio>
|
282
|
|
- <el-radio label="2">转出院外</el-radio>
|
283
|
|
- <el-radio label="3">回居住地透析</el-radio>
|
284
|
|
- <el-radio label="4">临时透析</el-radio>
|
285
|
|
- <el-radio label="5">转腹膜透析</el-radio>
|
286
|
|
- <el-radio label="6">其他</el-radio>
|
287
|
|
- <el-radio label="7">变更透析医院</el-radio>
|
288
|
|
- <el-radio label="8">住院</el-radio>
|
289
|
|
- <el-radio label="9">转血透科</el-radio>
|
|
386
|
+ <el-radio label="4">转出院外</el-radio>
|
|
387
|
+ <el-radio label="5">肾移植</el-radio>
|
|
388
|
+ <el-radio label="6">转腹膜透析</el-radio>
|
|
389
|
+ <el-radio label="7">出院</el-radio>
|
|
390
|
+ <el-radio label="8">好转</el-radio>
|
|
391
|
+ <el-radio label="9">放弃治疗</el-radio>
|
|
392
|
+ <el-radio label="10">其他状态</el-radio>
|
|
393
|
+ <el-radio label="11">请假</el-radio>
|
|
394
|
+ <el-radio label="12">临时透析</el-radio>
|
|
395
|
+ <el-radio label="13">回居住地透析</el-radio>
|
|
396
|
+ <el-radio label="14">变更透析医院</el-radio>
|
290
|
397
|
</el-radio-group>
|
291
|
398
|
</el-form-item>
|
292
|
399
|
</el-col>
|
293
|
400
|
</el-row>
|
294
|
401
|
|
|
402
|
+
|
|
403
|
+ <el-row :gutter="20" v-if="lapse_class == 11">
|
|
404
|
+ <el-col :span="8">
|
|
405
|
+ <el-form-item label="开始时间:">
|
|
406
|
+ <el-date-picker
|
|
407
|
+ v-model="start_time_one"
|
|
408
|
+ type="date"
|
|
409
|
+ value-format="yyyy-MM-dd"
|
|
410
|
+ placeholder="选择日期">
|
|
411
|
+ </el-date-picker>
|
|
412
|
+ </el-form-item>
|
|
413
|
+ </el-col>
|
|
414
|
+
|
|
415
|
+ <el-col :span="8">
|
|
416
|
+ <el-form-item label="结束时间:">
|
|
417
|
+ <el-date-picker
|
|
418
|
+ v-model="end_time_one"
|
|
419
|
+ type="date"
|
|
420
|
+ value-format="yyyy-MM-dd"
|
|
421
|
+ placeholder="选择日期">
|
|
422
|
+ </el-date-picker>
|
|
423
|
+ </el-form-item>
|
|
424
|
+ </el-col>
|
|
425
|
+ </el-row>
|
|
426
|
+
|
|
427
|
+
|
295
|
428
|
<el-row :gutter="20">
|
296
|
429
|
<el-col :span="24">
|
297
|
430
|
<el-form-item label="原因:">
|
|
@@ -348,7 +481,7 @@
|
348
|
481
|
<script>
|
349
|
482
|
const moment = require('moment')
|
350
|
483
|
import PatientSidebar from './components/PatientSidebar'
|
351
|
|
- import { savePatientLapse,getAllDoctor,deletePatientLapsoRrecord,getPatientById,getPatientLapseRecord,getPatientLapsoSummary,updatePatientLapseRecord} from '@/api/patient'
|
|
484
|
+ import { savePatientLapse,getAllDoctor,deletePatientLapsoRrecord,getPatientById,getPatientLapseRecord,getPatientLapsoSummary,updatePatientLapseRecord,getPatientLapsoList} from '@/api/patient'
|
352
|
485
|
|
353
|
486
|
import { jsGetAge, uParseTime } from '@/utils/tools'
|
354
|
487
|
import { getDataConfig } from '@/utils/data'
|
|
@@ -459,9 +592,19 @@
|
459
|
592
|
his_type:"1",
|
460
|
593
|
his_zone:"",
|
461
|
594
|
his_bed:"",
|
|
595
|
+ start_time:"",
|
|
596
|
+ end_time:"",
|
|
597
|
+ patient_address:"",
|
|
598
|
+ start_time_one:"",
|
|
599
|
+ end_time_one:"",
|
462
|
600
|
}
|
463
|
601
|
},
|
464
|
602
|
methods: {
|
|
603
|
+ toJiaoBen(){
|
|
604
|
+ getPatientLapsoList().then(response=>{
|
|
605
|
+
|
|
606
|
+ })
|
|
607
|
+ },
|
465
|
608
|
clickuseradvicecell(row, column, cell, event) {
|
466
|
609
|
},
|
467
|
610
|
onTranPatient: function(tranPatient) {
|
|
@@ -532,35 +675,42 @@
|
532
|
675
|
}
|
533
|
676
|
})
|
534
|
677
|
},
|
|
678
|
+
|
535
|
679
|
getLapseType(id){
|
536
|
680
|
var name = ""
|
537
|
|
- if(id == 1){
|
538
|
|
- name = "终止透析"
|
|
681
|
+ if(id == 4){
|
|
682
|
+ name = "转出院外"
|
539
|
683
|
}
|
540
|
|
- if(id == 2){
|
|
684
|
+ if(id == 5){
|
541
|
685
|
name = "转出院外"
|
542
|
686
|
}
|
543
|
|
- if(id == 3){
|
|
687
|
+ if(id == 6){
|
544
|
688
|
name = "回居住地透析"
|
545
|
689
|
}
|
546
|
|
- if(id == 4){
|
|
690
|
+ if(id == 7){
|
547
|
691
|
name = "临时透析"
|
548
|
692
|
}
|
549
|
|
- if(id == 5){
|
|
693
|
+ if(id == 8){
|
550
|
694
|
name = "转腹膜透析"
|
551
|
695
|
}
|
552
|
|
- if(id == 6){
|
|
696
|
+ if(id == 9){
|
553
|
697
|
name = "其他"
|
554
|
698
|
}
|
555
|
|
- if(id == 7){
|
|
699
|
+ if(id == 10){
|
556
|
700
|
name = "变更透析医院"
|
557
|
701
|
}
|
558
|
|
- if(id == 8){
|
|
702
|
+ if(id == 11){
|
559
|
703
|
name = "住院"
|
560
|
704
|
}
|
561
|
|
- if(id == 9){
|
|
705
|
+ if(id == 12){
|
562
|
706
|
name = "转血透科"
|
563
|
707
|
}
|
|
708
|
+ if(id == 13){
|
|
709
|
+ name = "回居住地透析"
|
|
710
|
+ }
|
|
711
|
+ if(id == 14){
|
|
712
|
+ name = "变更透析医院"
|
|
713
|
+ }
|
564
|
714
|
|
565
|
715
|
return name
|
566
|
716
|
|
|
@@ -582,6 +732,11 @@
|
582
|
732
|
his_bed:this.his_bed,
|
583
|
733
|
his_type: parseInt(this.his_type),
|
584
|
734
|
his_zone:this.his_zone,
|
|
735
|
+ patient_address:this.patient_address,
|
|
736
|
+ start_time:this.start_time,
|
|
737
|
+ end_time:this.end_time,
|
|
738
|
+ start_time_one:this.start_time_one,
|
|
739
|
+ end_time_one:this.end_time_one,
|
585
|
740
|
}
|
586
|
741
|
console.log("params=====",params)
|
587
|
742
|
savePatientLapse(params).then(response=>{
|
|
@@ -626,6 +781,11 @@
|
626
|
781
|
this.his_zone = lapsorecord.his_zone
|
627
|
782
|
this.his_type = lapsorecord.his_type
|
628
|
783
|
this.id = lapsorecord.id
|
|
784
|
+ this.patient_address = lapsorecord.patient_address
|
|
785
|
+ this.start_time = this.getTime(lapsorecord.start_time)
|
|
786
|
+ this.end_time = this.getTime(lapsorecord.end_time)
|
|
787
|
+ this.start_time_one = this.getTime(lapsorecord.start_time_one)
|
|
788
|
+ this.end_time_one = this.getTime(lapsorecord.end_time_one)
|
629
|
789
|
this.editDialogVisible = true
|
630
|
790
|
|
631
|
791
|
}
|
|
@@ -650,6 +810,11 @@
|
650
|
810
|
his_bed:this.his_bed,
|
651
|
811
|
his_type:parseInt(this.his_type),
|
652
|
812
|
his_zone:this.his_zone,
|
|
813
|
+ patient_address:this.patient_address,
|
|
814
|
+ start_time:this.start_time,
|
|
815
|
+ end_time:this.end_time,
|
|
816
|
+ start_time_one:this.start_time_one,
|
|
817
|
+ end_time_one:this.end_time_one,
|
653
|
818
|
}
|
654
|
819
|
|
655
|
820
|
updatePatientLapseRecord(params).then(response=>{
|