|
@@ -1,75 +1,77 @@
|
1
|
1
|
<template>
|
2
|
2
|
<div class="patient-container">
|
3
|
|
- <patient-sidebar :id="patientID" defaultActive="2-1"></patient-sidebar>
|
4
|
|
- <div class="patient-app-container app-container">
|
5
|
|
- <div class="Total">
|
6
|
|
- <!-- <div class="plan" >透析计划</div> -->
|
7
|
|
- <!-- <table-title title="长期透析处方"></table-title> -->
|
8
|
|
- <div class="sum">
|
9
|
|
- <!-- <span>透析总频率:<el-input :value="totalrate" disabled style="width:180px"></el-input></span> -->
|
10
|
|
- <el-button type="primary" size="small" icon="el-icon-plus" @click="openNew" :disabled="$store.getters.xt_user.subscibe.state==3?true:false">新增透析处方</el-button>
|
|
3
|
+ <patient-sidebar :id="patientID" defaultActive="2-1"></patient-sidebar>
|
|
4
|
+ <div class="patient-app-container app-container">
|
|
5
|
+ <div class="Total">
|
|
6
|
+ <!-- <div class="plan" >透析计划</div> -->
|
|
7
|
+ <!-- <table-title title="长期透析处方"></table-title> -->
|
|
8
|
+ <div class="sum">
|
|
9
|
+ <!-- <span>透析总频率:<el-input :value="totalrate" disabled style="width:180px"></el-input></span> -->
|
|
10
|
+ <el-button type="primary" size="small" icon="el-icon-plus" @click="openNew"
|
|
11
|
+ :disabled="$store.getters.xt_user.subscibe.state==3?true:false">新增透析处方
|
|
12
|
+ </el-button>
|
|
13
|
+ </div>
|
11
|
14
|
</div>
|
12
|
|
- </div>
|
13
|
|
- <el-table ref="solutionTable" :data="tableData" border fit highlight-current-row
|
14
|
|
- @current-change="tableCurrentChange" :header-cell-style="{
|
|
15
|
+ <el-table ref="solutionTable" :data="tableData" border fit highlight-current-row
|
|
16
|
+ @current-change="tableCurrentChange" :header-cell-style="{
|
15
|
17
|
backgroundColor: 'rgb(245, 247, 250)',
|
16
|
18
|
color: '#606266'
|
17
|
19
|
}"
|
18
|
20
|
:row-style="{ color: '#303133' }"
|
19
|
|
- style="width: 100%">
|
20
|
|
- <el-table-column
|
21
|
|
- type="index"
|
22
|
|
- align="center"
|
23
|
|
- label="序号"
|
24
|
|
- width="60">
|
25
|
|
- </el-table-column>
|
26
|
|
- <el-table-column
|
27
|
|
- prop="mode_name"
|
28
|
|
- align="center"
|
29
|
|
- label="透析模式"
|
30
|
|
- min-width="50">
|
31
|
|
- <template slot-scope="scope" >
|
32
|
|
- {{modeOptions[scope.row.mode_id].name}}
|
33
|
|
- </template>
|
34
|
|
- </el-table-column>
|
35
|
|
- <el-table-column
|
36
|
|
- prop="dialysis_duration"
|
37
|
|
- align="center"
|
38
|
|
- label="透析时长"
|
39
|
|
- min-width="50">
|
40
|
|
- <template slot-scope="scope" >
|
41
|
|
- {{scope.row.dialysis_duration_hour}} 小时 {{scope.row.dialysis_duration_minute}} 分钟
|
42
|
|
- </template>
|
43
|
|
- </el-table-column>
|
44
|
|
- <!-- <el-table-column
|
45
|
|
- prop="period"
|
46
|
|
- label="频率"
|
47
|
|
- align="center"
|
48
|
|
- min-width="50">
|
49
|
|
- <template slot-scope="scope" >
|
50
|
|
- <span v-if="scope.row.parent_id === 0" >{{scope.row.period}}{{scope.row.times}}</span>
|
51
|
|
- <span v-else >--</span>
|
52
|
|
- </template>
|
53
|
|
- </el-table-column> -->
|
54
|
|
- <!-- <el-table-column
|
55
|
|
- prop="name"
|
56
|
|
- label="处方名"
|
57
|
|
- align="center"
|
58
|
|
- min-width="50">
|
59
|
|
- <template slot-scope="scope" >
|
60
|
|
- <span >{{scope.row.name}}{{scope.row.sub_name}}</span>
|
61
|
|
- </template>
|
62
|
|
- </el-table-column> -->
|
63
|
|
- <el-table-column
|
64
|
|
- prop="doctor"
|
65
|
|
- label="医生"
|
66
|
|
- align="center"
|
67
|
|
- min-width="110">
|
68
|
|
- <template slot-scope="scope" >
|
69
|
|
- <span >{{getAdminUserName(scope.row.registrars_id)}}</span>
|
70
|
|
- </template>
|
71
|
|
-
|
72
|
|
- </el-table-column>
|
|
21
|
+ style="width: 100%">
|
|
22
|
+ <el-table-column
|
|
23
|
+ type="index"
|
|
24
|
+ align="center"
|
|
25
|
+ label="序号"
|
|
26
|
+ width="60">
|
|
27
|
+ </el-table-column>
|
|
28
|
+ <el-table-column
|
|
29
|
+ prop="mode_name"
|
|
30
|
+ align="center"
|
|
31
|
+ label="透析模式"
|
|
32
|
+ min-width="50">
|
|
33
|
+ <template slot-scope="scope">
|
|
34
|
+ {{modeOptions[scope.row.mode_id].name}}
|
|
35
|
+ </template>
|
|
36
|
+ </el-table-column>
|
|
37
|
+ <el-table-column
|
|
38
|
+ prop="dialysis_duration"
|
|
39
|
+ align="center"
|
|
40
|
+ label="透析时长"
|
|
41
|
+ min-width="50">
|
|
42
|
+ <template slot-scope="scope">
|
|
43
|
+ {{scope.row.dialysis_duration_hour}} 小时 {{scope.row.dialysis_duration_minute}} 分钟
|
|
44
|
+ </template>
|
|
45
|
+ </el-table-column>
|
|
46
|
+ <!-- <el-table-column
|
|
47
|
+ prop="period"
|
|
48
|
+ label="频率"
|
|
49
|
+ align="center"
|
|
50
|
+ min-width="50">
|
|
51
|
+ <template slot-scope="scope" >
|
|
52
|
+ <span v-if="scope.row.parent_id === 0" >{{scope.row.period}}{{scope.row.times}}</span>
|
|
53
|
+ <span v-else >--</span>
|
|
54
|
+ </template>
|
|
55
|
+ </el-table-column> -->
|
|
56
|
+ <!-- <el-table-column
|
|
57
|
+ prop="name"
|
|
58
|
+ label="处方名"
|
|
59
|
+ align="center"
|
|
60
|
+ min-width="50">
|
|
61
|
+ <template slot-scope="scope" >
|
|
62
|
+ <span >{{scope.row.name}}{{scope.row.sub_name}}</span>
|
|
63
|
+ </template>
|
|
64
|
+ </el-table-column> -->
|
|
65
|
+ <el-table-column
|
|
66
|
+ prop="doctor"
|
|
67
|
+ label="医生"
|
|
68
|
+ align="center"
|
|
69
|
+ min-width="110">
|
|
70
|
+ <template slot-scope="scope">
|
|
71
|
+ <span>{{getAdminUserName(scope.row.registrars_id)}}</span>
|
|
72
|
+ </template>
|
|
73
|
+
|
|
74
|
+ </el-table-column>
|
73
|
75
|
|
74
|
76
|
<el-table-column
|
75
|
77
|
prop="updated_time"
|
|
@@ -189,20 +191,20 @@
|
189
|
191
|
</el-form-item>
|
190
|
192
|
</el-col>
|
191
|
193
|
<!--<el-col :span="8" v-if="isShows('目标超滤量')&&this.$store.getters.xt_user.template_info.template_id == 6">-->
|
192
|
|
- <!--<el-form-item label="目标超滤量(ml) : ">-->
|
193
|
|
- <!--<el-input v-model="addPlan.target_ultrafiltration" type="number"></el-input>-->
|
194
|
|
- <!--</el-form-item>-->
|
|
194
|
+ <!--<el-form-item label="目标超滤量(ml) : ">-->
|
|
195
|
+ <!--<el-input v-model="addPlan.target_ultrafiltration" type="number"></el-input>-->
|
|
196
|
+ <!--</el-form-item>-->
|
195
|
197
|
<!--</el-col>-->
|
196
|
198
|
|
197
|
199
|
<!--<el-col :span="8" v-if="isShows('目标超滤量')&&this.$store.getters.xt_user.template_info.template_id != 6">-->
|
198
|
|
- <!--<el-form-item label="目标超滤量(L) : ">-->
|
199
|
|
- <!--<el-input v-model="addPlan.target_ultrafiltration" type="number"></el-input>-->
|
200
|
|
- <!--</el-form-item>-->
|
|
200
|
+ <!--<el-form-item label="目标超滤量(L) : ">-->
|
|
201
|
+ <!--<el-input v-model="addPlan.target_ultrafiltration" type="number"></el-input>-->
|
|
202
|
+ <!--</el-form-item>-->
|
201
|
203
|
<!--</el-col>-->
|
202
|
204
|
|
203
|
205
|
|
204
|
206
|
<el-col :span="8" v-if="isShows('透析液配方')">
|
205
|
|
- <el-form-item label="透析液配方:" >
|
|
207
|
+ <el-form-item label="透析液配方:">
|
206
|
208
|
<el-select v-model="addPlan.dialysate_formulation">
|
207
|
209
|
<el-option v-for="item in dialysate_formulation" :label="item.name" :key="item.id"
|
208
|
210
|
:value="item.id"></el-option>
|
|
@@ -259,7 +261,7 @@
|
259
|
261
|
</el-form-item>
|
260
|
262
|
</el-col>
|
261
|
263
|
<el-col :span="8" v-if="anticoagulant.gaijiliang != -1&&isShows('钙剂量')">
|
262
|
|
- <el-form-item :label="'钙剂量('+anticoagulant.gaimingcheng_unit+'): '" prop="anticoagulant_gaijiliang">
|
|
264
|
+ <el-form-item :label="'钙剂量('+anticoagulant.gaimingcheng_unit+'): '" prop="anticoagulant_gaijiliang">
|
263
|
265
|
<el-input v-model="addPlan.anticoagulant_gaijiliang" :disabled="anticoagulant.gaijiliang==1?false:true"
|
264
|
266
|
placeholder="钙剂量"></el-input>
|
265
|
267
|
</el-form-item>
|
|
@@ -359,7 +361,8 @@
|
359
|
361
|
|
360
|
362
|
|
361
|
363
|
<el-col :span="8">
|
362
|
|
- <el-form-item label="置换液:" v-if="isShows('置换液')&&this.$store.getters.xt_user.template_info.template_id != 6">
|
|
364
|
+ <el-form-item label="置换液:"
|
|
365
|
+ v-if="isShows('置换液')&&this.$store.getters.xt_user.template_info.template_id != 6">
|
363
|
366
|
<el-select v-model="addPlan.displace_liqui_part" placeholder="请选择">
|
364
|
367
|
<el-option :key="0" label="请选择" :value="0"></el-option>
|
365
|
368
|
<el-option v-for="(option, index) in displace_liqui_part_option" :key="index"
|
|
@@ -368,7 +371,8 @@
|
368
|
371
|
</el-form-item>
|
369
|
372
|
|
370
|
373
|
|
371
|
|
- <el-form-item label="置换方式:" v-if="isShows('置换液')&&this.$store.getters.xt_user.template_info.template_id == 6">
|
|
374
|
+ <el-form-item label="置换方式:"
|
|
375
|
+ v-if="isShows('置换液')&&this.$store.getters.xt_user.template_info.template_id == 6">
|
372
|
376
|
<el-select v-model="addPlan.displace_liqui_part" placeholder="请选择">
|
373
|
377
|
<el-option :key="0" label="请选择" :value="0"></el-option>
|
374
|
378
|
<el-option v-for="(option, index) in displace_liqui_part_option" :key="index"
|
|
@@ -454,12 +458,7 @@
|
454
|
458
|
fetchPatientDialysisSolutions
|
455
|
459
|
} from '@/api/patient'
|
456
|
460
|
|
457
|
|
- import {
|
458
|
|
- getSystemPrescription,
|
459
|
|
- } from '@/api/config'
|
460
|
|
-
|
461
|
|
-
|
462
|
|
-
|
|
461
|
+ import { getSystemPrescription } from '@/api/config'
|
463
|
462
|
|
464
|
463
|
import { calculateAnticoagulantZL, uParseTime } from '@/utils/tools'
|
465
|
464
|
import store from '@/store'
|
|
@@ -537,6 +536,7 @@
|
537
|
536
|
id: 0,
|
538
|
537
|
mode: '',
|
539
|
538
|
mode_name: '',
|
|
539
|
+ registrars_id: 0,
|
540
|
540
|
dialyzer: '',
|
541
|
541
|
dialysis_duration: '',
|
542
|
542
|
dialysis_duration_hour: '',
|
|
@@ -564,10 +564,10 @@
|
564
|
564
|
dialysate_temperature: '',
|
565
|
565
|
conductivity: '',
|
566
|
566
|
doctor: '',
|
567
|
|
- dialysate_formulation:'',
|
|
567
|
+ dialysate_formulation: '',
|
568
|
568
|
remark: '',
|
569
|
|
- target_ktv:'',
|
570
|
|
- target_ultrafiltration:'',
|
|
569
|
+ target_ktv: '',
|
|
570
|
+ target_ultrafiltration: '',
|
571
|
571
|
dialyzer_perfusion_apparatus: '',
|
572
|
572
|
body_fluid: '',
|
573
|
573
|
body_fluid_other: '',
|
|
@@ -576,7 +576,7 @@
|
576
|
576
|
displace_liqui_part: '',
|
577
|
577
|
displace_liqui_value: '',
|
578
|
578
|
ultrafiltration: '',
|
579
|
|
- blood_access: '',
|
|
579
|
+ blood_access: ''
|
580
|
580
|
},
|
581
|
581
|
childPlan: {
|
582
|
582
|
mode: '',
|
|
@@ -701,26 +701,26 @@
|
701
|
701
|
}
|
702
|
702
|
},
|
703
|
703
|
watch: {
|
704
|
|
- "addPlan.dialysis_duration":function(){
|
705
|
|
- this.addPlan.anticoagulant_zongliang=calculateAnticoagulantZL(1,
|
|
704
|
+ 'addPlan.dialysis_duration': function() {
|
|
705
|
+ this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(1,
|
706
|
706
|
this.addPlan.anticoagulant_shouji,
|
707
|
707
|
this.addPlan.dialysis_duration,
|
708
|
708
|
this.addPlan.anticoagulant_weichi
|
709
|
|
- );
|
|
709
|
+ )
|
710
|
710
|
},
|
711
|
|
- "addPlan.anticoagulant_shouji":function(){
|
712
|
|
- this.addPlan.anticoagulant_zongliang=calculateAnticoagulantZL(1,
|
|
711
|
+ 'addPlan.anticoagulant_shouji': function() {
|
|
712
|
+ this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(1,
|
713
|
713
|
this.addPlan.anticoagulant_shouji,
|
714
|
714
|
this.addPlan.dialysis_duration,
|
715
|
715
|
this.addPlan.anticoagulant_weichi
|
716
|
|
- );
|
|
716
|
+ )
|
717
|
717
|
},
|
718
|
|
- "addPlan.anticoagulant_weichi":function(){
|
719
|
|
- this.addPlan.anticoagulant_zongliang=calculateAnticoagulantZL(1,
|
|
718
|
+ 'addPlan.anticoagulant_weichi': function() {
|
|
719
|
+ this.addPlan.anticoagulant_zongliang = calculateAnticoagulantZL(1,
|
720
|
720
|
this.addPlan.anticoagulant_shouji,
|
721
|
721
|
this.addPlan.dialysis_duration,
|
722
|
722
|
this.addPlan.anticoagulant_weichi
|
723
|
|
- );
|
|
723
|
+ )
|
724
|
724
|
}
|
725
|
725
|
},
|
726
|
726
|
components: {
|
|
@@ -966,7 +966,14 @@
|
966
|
966
|
submitEditSolution(formName) {
|
967
|
967
|
this.$refs[formName].validate(valid => {
|
968
|
968
|
if (valid) {
|
969
|
|
- editPatientDialysisSolution(this.patientID, this.addPlan.id, this.addPlan).then(response => {
|
|
969
|
+
|
|
970
|
+ let mode = '2'
|
|
971
|
+
|
|
972
|
+ if (this.addPlan.registrars_id != this.$store.getters.xt_user.user.id) {
|
|
973
|
+ mode = '3'
|
|
974
|
+ }
|
|
975
|
+
|
|
976
|
+ editPatientDialysisSolution(this.patientID, this.addPlan.id, this.addPlan, mode).then(response => {
|
970
|
977
|
if (response.data.state == 0) {
|
971
|
978
|
this.$message.error(response.data.msg)
|
972
|
979
|
return false
|
|
@@ -1002,7 +1009,8 @@
|
1002
|
1009
|
this.addPlan.anticoagulant_zongliang = this.addPlan.anticoagulant_zongliang.toString()
|
1003
|
1010
|
this.$refs[formName].validate(valid => {
|
1004
|
1011
|
if (valid) {
|
1005
|
|
- createPatientDialysisSolution(this.patientID, this.addPlan).then(response => {
|
|
1012
|
+ let mode = '1'
|
|
1013
|
+ createPatientDialysisSolution(this.patientID, this.addPlan, mode).then(response => {
|
1006
|
1014
|
if (response.data.state == 0) {
|
1007
|
1015
|
this.$message.error(response.data.msg)
|
1008
|
1016
|
return false
|
|
@@ -1050,42 +1058,41 @@
|
1050
|
1058
|
this.addPlan.dialysis_duration = '' + row.dialysis_duration
|
1051
|
1059
|
this.addPlan.dialysis_duration_hour = '' + row.dialysis_duration_hour
|
1052
|
1060
|
this.addPlan.dialysis_duration_minute = '' + row.dialysis_duration_minute
|
1053
|
|
- this.addPlan.hemodialysis_machine = row.hemodialysis_machine + '';
|
1054
|
|
- this.addPlan.perfusion_apparatus = row.perfusion_apparatus + '';
|
1055
|
|
- this.addPlan.blood_flow_volume = row.blood_flow_volume.toString();
|
1056
|
|
- this.addPlan.anticoagulant = row.anticoagulant;
|
1057
|
|
- this.addPlan.replacement_total = row.replacement_total;
|
1058
|
|
-
|
1059
|
|
- this.addPlan.target_ktv = row.target_ktv.toString();
|
1060
|
|
- this.addPlan.target_ultrafiltration = row.target_ultrafiltration.toString();
|
1061
|
|
-
|
1062
|
|
-
|
1063
|
|
- this.addPlan.anticoagulant_shouji = row.anticoagulant_shouji.toString();
|
1064
|
|
- this.addPlan.anticoagulant_weichi = row.anticoagulant_weichi.toString();
|
1065
|
|
- this.addPlan.anticoagulant_zongliang = row.anticoagulant_zongliang.toString();
|
1066
|
|
- this.addPlan.anticoagulant_gaimingcheng = row.anticoagulant_gaimingcheng.toString();
|
1067
|
|
- this.addPlan.anticoagulant_gaijiliang = row.anticoagulant_gaijiliang.toString();
|
1068
|
|
- this.addPlan.kalium = row.kalium.toString();
|
1069
|
|
- this.addPlan.sodium = row.sodium.toString();
|
1070
|
|
- this.addPlan.calcium = row.calcium.toString();
|
1071
|
|
- this.addPlan.bicarbonate = row.bicarbonate.toString();
|
1072
|
|
- this.addPlan.glucose = row.glucose.toString();
|
1073
|
|
- this.addPlan.dialysate_flow = row.dialysate_flow.toString();
|
1074
|
|
- this.addPlan.dialysate_temperature = row.dialysate_temperature.toString();
|
1075
|
|
- this.addPlan.conductivity = row.conductivity.toString();
|
1076
|
|
- this.addPlan.remark = row.remark;
|
1077
|
|
-
|
1078
|
|
-
|
1079
|
|
- this.addPlan.dialyzer_perfusion_apparatus = row.dialyzer_perfusion_apparatus.toString();
|
|
1061
|
+ this.addPlan.hemodialysis_machine = row.hemodialysis_machine + ''
|
|
1062
|
+ this.addPlan.perfusion_apparatus = row.perfusion_apparatus + ''
|
|
1063
|
+ this.addPlan.blood_flow_volume = row.blood_flow_volume.toString()
|
|
1064
|
+ this.addPlan.anticoagulant = row.anticoagulant
|
|
1065
|
+ this.addPlan.replacement_total = row.replacement_total
|
|
1066
|
+
|
|
1067
|
+ this.addPlan.target_ktv = row.target_ktv.toString()
|
|
1068
|
+ this.addPlan.target_ultrafiltration = row.target_ultrafiltration.toString()
|
|
1069
|
+
|
|
1070
|
+ this.addPlan.anticoagulant_shouji = row.anticoagulant_shouji.toString()
|
|
1071
|
+ this.addPlan.anticoagulant_weichi = row.anticoagulant_weichi.toString()
|
|
1072
|
+ this.addPlan.anticoagulant_zongliang = row.anticoagulant_zongliang.toString()
|
|
1073
|
+ this.addPlan.anticoagulant_gaimingcheng = row.anticoagulant_gaimingcheng.toString()
|
|
1074
|
+ this.addPlan.anticoagulant_gaijiliang = row.anticoagulant_gaijiliang.toString()
|
|
1075
|
+ this.addPlan.kalium = row.kalium.toString()
|
|
1076
|
+ this.addPlan.sodium = row.sodium.toString()
|
|
1077
|
+ this.addPlan.calcium = row.calcium.toString()
|
|
1078
|
+ this.addPlan.bicarbonate = row.bicarbonate.toString()
|
|
1079
|
+ this.addPlan.glucose = row.glucose.toString()
|
|
1080
|
+ this.addPlan.dialysate_flow = row.dialysate_flow.toString()
|
|
1081
|
+ this.addPlan.dialysate_temperature = row.dialysate_temperature.toString()
|
|
1082
|
+ this.addPlan.conductivity = row.conductivity.toString()
|
|
1083
|
+ this.addPlan.remark = row.remark
|
|
1084
|
+
|
|
1085
|
+ this.addPlan.dialyzer_perfusion_apparatus = row.dialyzer_perfusion_apparatus.toString()
|
1080
|
1086
|
this.addPlan.body_fluid = row.body_fluid
|
1081
|
|
- this.addPlan.body_fluid_other = row.body_fluid_other.toString();
|
1082
|
|
- this.addPlan.special_medicine = row.special_medicine;
|
1083
|
|
- this.addPlan.special_medicine_other = row.special_medicine_other.toString();
|
1084
|
|
- this.addPlan.displace_liqui_part = row.displace_liqui_part;
|
1085
|
|
- this.addPlan.displace_liqui_value = row.displace_liqui_value.toString();
|
1086
|
|
- this.addPlan.ultrafiltration = row.ultrafiltration.toString();
|
1087
|
|
- this.addPlan.blood_access = row.blood_access;
|
|
1087
|
+ this.addPlan.body_fluid_other = row.body_fluid_other.toString()
|
|
1088
|
+ this.addPlan.special_medicine = row.special_medicine
|
|
1089
|
+ this.addPlan.special_medicine_other = row.special_medicine_other.toString()
|
|
1090
|
+ this.addPlan.displace_liqui_part = row.displace_liqui_part
|
|
1091
|
+ this.addPlan.displace_liqui_value = row.displace_liqui_value.toString()
|
|
1092
|
+ this.addPlan.ultrafiltration = row.ultrafiltration.toString()
|
|
1093
|
+ this.addPlan.blood_access = row.blood_access
|
1088
|
1094
|
|
|
1095
|
+ this.addPlan.registrars_id = row.registrars_id
|
1089
|
1096
|
|
1090
|
1097
|
this.dialogVisible = true
|
1091
|
1098
|
this.isEdit = true
|
|
@@ -1115,10 +1122,8 @@
|
1115
|
1122
|
doctor: '',
|
1116
|
1123
|
first_dialysis: '',
|
1117
|
1124
|
|
1118
|
|
-
|
1119
|
|
-
|
1120
|
1125
|
dialyzer: '',
|
1121
|
|
- dialysate_formulation:'',
|
|
1126
|
+ dialysate_formulation: '',
|
1122
|
1127
|
hemodialysis_machine: '',
|
1123
|
1128
|
perfusion_apparatus: '',
|
1124
|
1129
|
blood_flow_volume: '',
|
|
@@ -1142,8 +1147,8 @@
|
1142
|
1147
|
dialysate_temperature: '',
|
1143
|
1148
|
conductivity: '',
|
1144
|
1149
|
remark: '',
|
1145
|
|
- target_ktv:'',
|
1146
|
|
- target_ultrafiltration:'',
|
|
1150
|
+ target_ktv: '',
|
|
1151
|
+ target_ultrafiltration: '',
|
1147
|
1152
|
dialyzer_perfusion_apparatus: '',
|
1148
|
1153
|
body_fluid: '',
|
1149
|
1154
|
body_fluid_other: '',
|
|
@@ -1154,14 +1159,6 @@
|
1154
|
1159
|
ultrafiltration: '',
|
1155
|
1160
|
blood_access: '',
|
1156
|
1161
|
|
1157
|
|
-
|
1158
|
|
-
|
1159
|
|
-
|
1160
|
|
-
|
1161
|
|
-
|
1162
|
|
-
|
1163
|
|
-
|
1164
|
|
-
|
1165
|
1162
|
dialysis_duration: '3.30',
|
1166
|
1163
|
dialysis_duration_hour: '3',
|
1167
|
1164
|
dialysis_duration_minute: '30'
|
|
@@ -1258,29 +1255,25 @@
|
1258
|
1255
|
id: thismode
|
1259
|
1256
|
}
|
1260
|
1257
|
|
1261
|
|
-
|
1262
|
|
-
|
1263
|
1258
|
getSystemPrescription(params).then(response => {
|
1264
|
1259
|
if (response.data.state == 1) {
|
1265
|
|
- if(response.data.data.prescription.id > 0) {
|
|
1260
|
+ if (response.data.data.prescription.id > 0) {
|
1266
|
1261
|
for (const key in response.data.data.prescription) {
|
1267
|
1262
|
//因为el-input特性整数类型或者浮点数类型需要转换成字符串,所以加上toString()
|
1268
|
1263
|
this.$set(this.addPlan, key, response.data.data.prescription[key].toString())
|
1269
|
1264
|
}
|
1270
|
1265
|
|
1271
|
1266
|
//因为el-select特性,整数类型不能转字符串,所以额外处理这些数据
|
1272
|
|
- this.$set(this.addPlan, "dialysate_formulation", response.data.data.prescription['dialysate_formulation'])
|
1273
|
|
- this.$set(this.addPlan, "anticoagulant", response.data.data.prescription['anticoagulant'])
|
1274
|
|
- this.$set(this.addPlan, "body_fluid", response.data.data.prescription['body_fluid'])
|
1275
|
|
- this.$set(this.addPlan, "special_medicine", response.data.data.prescription['special_medicine'])
|
1276
|
|
- this.$set(this.addPlan, "displace_liqui_part", response.data.data.prescription['displace_liqui_part'])
|
1277
|
|
- this.$set(this.addPlan, "blood_access", response.data.data.prescription['blood_access'])
|
1278
|
|
-
|
1279
|
|
-
|
|
1267
|
+ this.$set(this.addPlan, 'dialysate_formulation', response.data.data.prescription['dialysate_formulation'])
|
|
1268
|
+ this.$set(this.addPlan, 'anticoagulant', response.data.data.prescription['anticoagulant'])
|
|
1269
|
+ this.$set(this.addPlan, 'body_fluid', response.data.data.prescription['body_fluid'])
|
|
1270
|
+ this.$set(this.addPlan, 'special_medicine', response.data.data.prescription['special_medicine'])
|
|
1271
|
+ this.$set(this.addPlan, 'displace_liqui_part', response.data.data.prescription['displace_liqui_part'])
|
|
1272
|
+ this.$set(this.addPlan, 'blood_access', response.data.data.prescription['blood_access'])
|
1280
|
1273
|
|
1281
|
1274
|
this.dialysisTimeShow = new Date(2018, 1, 1, this.addPlan.dialysis_duration_hour, this.addPlan.dialysis_duration_minute)
|
1282
|
1275
|
|
1283
|
|
- }else{
|
|
1276
|
+ } else {
|
1284
|
1277
|
var tempAddPlan = {
|
1285
|
1278
|
id: 0,
|
1286
|
1279
|
dialyzer: '',
|
|
@@ -1288,7 +1281,7 @@
|
1288
|
1281
|
dialysis_duration_hour: '',
|
1289
|
1282
|
dialysis_duration_minute: '',
|
1290
|
1283
|
hemodialysis_machine: '',
|
1291
|
|
- dialysate_formulation:'',
|
|
1284
|
+ dialysate_formulation: '',
|
1292
|
1285
|
perfusion_apparatus: '',
|
1293
|
1286
|
blood_flow_volume: '',
|
1294
|
1287
|
dewater: '',
|
|
@@ -1329,7 +1322,6 @@
|
1329
|
1322
|
this.addPlan[key] = tempAddPlan[key]
|
1330
|
1323
|
}
|
1331
|
1324
|
|
1332
|
|
-
|
1333
|
1325
|
}
|
1334
|
1326
|
}
|
1335
|
1327
|
})
|
|
@@ -1385,8 +1377,6 @@
|
1385
|
1377
|
},
|
1386
|
1378
|
created() {
|
1387
|
1379
|
|
1388
|
|
-
|
1389
|
|
-
|
1390
|
1380
|
const id = this.$route.params && this.$route.params.id
|
1391
|
1381
|
this.patientID = parseInt(id)
|
1392
|
1382
|
if (isNaN(this.patientID) || this.patientID <= 0) {
|
|
@@ -1413,8 +1403,6 @@
|
1413
|
1403
|
this.displace_liqui_part_option = this.$store.getters.displace_liqui
|
1414
|
1404
|
this.blood_access_option = this.$store.getters.blood_access
|
1415
|
1405
|
|
1416
|
|
-
|
1417
|
|
-
|
1418
|
1406
|
this.queryParams.id = this.patientID
|
1419
|
1407
|
// this.fetchAllDoctorAndNurse();
|
1420
|
1408
|
this.fetchAllAdminUsers()
|
|
@@ -1475,15 +1463,16 @@
|
1475
|
1463
|
}
|
1476
|
1464
|
</style>
|
1477
|
1465
|
<style>
|
1478
|
|
-.el-table td,
|
1479
|
|
-.el-table th.is-leaf,
|
1480
|
|
-.el-table--border,
|
1481
|
|
-.el-table--group {
|
1482
|
|
- border-color: #d0d3da;
|
1483
|
|
-}
|
1484
|
|
-.el-table--border::after,
|
1485
|
|
-.el-table--group::after,
|
1486
|
|
-.el-table::before {
|
1487
|
|
- background-color: #d0d3da;
|
1488
|
|
-}
|
|
1466
|
+ .el-table td,
|
|
1467
|
+ .el-table th.is-leaf,
|
|
1468
|
+ .el-table--border,
|
|
1469
|
+ .el-table--group {
|
|
1470
|
+ border-color: #d0d3da;
|
|
1471
|
+ }
|
|
1472
|
+
|
|
1473
|
+ .el-table--border::after,
|
|
1474
|
+ .el-table--group::after,
|
|
1475
|
+ .el-table::before {
|
|
1476
|
+ background-color: #d0d3da;
|
|
1477
|
+ }
|
1489
|
1478
|
</style>
|