|
@@ -1,435 +1,442 @@
|
1
|
1
|
<template>
|
2
|
|
- <div class="app-container ">
|
3
|
|
- <div class="dataTitle">透析方案</div>
|
4
|
|
-
|
5
|
|
- <div
|
6
|
|
- class="app-container"
|
7
|
|
- style="margin-left: -20px;margin-top: -20px"
|
8
|
|
- v-loading="pageLoading"
|
9
|
|
- element-loading-text="拼命加载中"
|
10
|
|
- >
|
11
|
|
- <el-row :gutter="20">
|
12
|
|
- <el-col :span="7">
|
13
|
|
- <el-table
|
14
|
|
- :header-cell-style="{
|
15
|
|
- backgroundColor: 'rgb(245, 247, 250)',
|
16
|
|
- color: '#606266'
|
17
|
|
- }"
|
18
|
|
- height="450"
|
19
|
|
- :row-style="{ color: '#303133' }"
|
20
|
|
- :data="treatment_mode"
|
21
|
|
- border
|
22
|
|
- style="width: 100%"
|
23
|
|
- highlight-current-row
|
24
|
|
- :row-class-name="tableRows"
|
25
|
|
- @row-click="onRowClicks"
|
26
|
|
- ref="singleTable"
|
27
|
|
- >
|
28
|
|
- <el-table-column label="透析模式" align="center">
|
29
|
|
- <template slot-scope="scope">
|
30
|
|
- {{ scope.row.name }}
|
31
|
|
- </template>
|
32
|
|
- </el-table-column>
|
|
2
|
+ <div class="main-contain">
|
|
3
|
+ <div class="position">
|
|
4
|
+ <bread-crumb :crumbs='crumbs'></bread-crumb>
|
|
5
|
+ </div>
|
|
6
|
+ <div class="app-container ">
|
|
7
|
+
|
|
8
|
+ <div class="dataTitle">透析模板</div>
|
33
|
9
|
|
34
|
|
- <el-table-column label="状态" width="80" align="center">
|
35
|
|
- <template slot-scope="scope">
|
36
|
|
- {{ getModeStatus(scope.row.id) }}
|
37
|
|
- </template>
|
38
|
|
- </el-table-column>
|
39
|
|
- </el-table>
|
40
|
|
- </el-col>
|
41
|
|
- <el-col :span="17" v-loading="itemLoading">
|
42
|
|
- <div class="filter-container">
|
43
|
|
- <el-row :gutter="20">
|
44
|
|
- <el-col :span="16">
|
45
|
|
- <div>{{ mode_name }}</div>
|
46
|
|
- </el-col>
|
47
|
|
- <el-col :span="8">
|
48
|
|
- <el-button
|
49
|
|
- style="float: right;visibility: hidden"
|
50
|
|
- size="small"
|
51
|
|
- class="filter-item"
|
52
|
|
- type="primary"
|
53
|
|
- icon="el-icon-edit-outline"
|
54
|
|
- @click="openEdit()"
|
55
|
|
- >修改
|
56
|
|
- </el-button>
|
57
|
|
- </el-col>
|
58
|
|
- </el-row>
|
59
|
|
- </div>
|
60
|
|
- <div class="filter-container" style="float:right">
|
61
|
|
- <el-form
|
62
|
|
- ref="addPlan"
|
63
|
|
- :model="addPlan"
|
64
|
|
- label-width="160px"
|
65
|
|
- style="border: black"
|
|
10
|
+ <div
|
|
11
|
+ class="app-container"
|
|
12
|
+ style="margin-left: -20px;margin-top: -20px"
|
|
13
|
+ v-loading="pageLoading"
|
|
14
|
+ element-loading-text="拼命加载中"
|
|
15
|
+ >
|
|
16
|
+ <el-row :gutter="20">
|
|
17
|
+ <el-col :span="7">
|
|
18
|
+ <el-table
|
|
19
|
+ :header-cell-style="{
|
|
20
|
+ backgroundColor: 'rgb(245, 247, 250)',
|
|
21
|
+ color: '#606266'
|
|
22
|
+ }"
|
|
23
|
+ height="450"
|
|
24
|
+ :row-style="{ color: '#303133' }"
|
|
25
|
+ :data="treatment_mode"
|
|
26
|
+ border
|
|
27
|
+ style="width: 100%"
|
|
28
|
+ highlight-current-row
|
|
29
|
+ :row-class-name="tableRows"
|
|
30
|
+ @row-click="onRowClicks"
|
|
31
|
+ ref="singleTable"
|
66
|
32
|
>
|
|
33
|
+ <el-table-column label="透析模式" align="center">
|
|
34
|
+ <template slot-scope="scope">
|
|
35
|
+ {{ scope.row.name }}
|
|
36
|
+ </template>
|
|
37
|
+ </el-table-column>
|
|
38
|
+
|
|
39
|
+ <el-table-column label="状态" width="80" align="center">
|
|
40
|
+ <template slot-scope="scope">
|
|
41
|
+ {{ getModeStatus(scope.row.id) }}
|
|
42
|
+ </template>
|
|
43
|
+ </el-table-column>
|
|
44
|
+ </el-table>
|
|
45
|
+ </el-col>
|
|
46
|
+ <el-col :span="17" v-loading="itemLoading">
|
|
47
|
+ <div class="filter-container">
|
67
|
48
|
<el-row :gutter="20">
|
68
|
|
- <el-col :span="8">
|
69
|
|
- <el-form-item label="透析时长(h):" prop="dialysis_duration">
|
70
|
|
- <el-time-picker
|
71
|
|
- v-model="dialysisTimeShow"
|
72
|
|
- :picker-options="{
|
73
|
|
- selectableRange: '00:01:00 - 23:59:00'
|
74
|
|
- }"
|
75
|
|
- placeholder="透析时长"
|
76
|
|
- style="width:100%;"
|
77
|
|
- value-format="H:m"
|
78
|
|
- format="H:m"
|
79
|
|
- @change="selectnDialysisTime"
|
80
|
|
- >
|
81
|
|
- </el-time-picker>
|
82
|
|
- </el-form-item>
|
|
49
|
+ <el-col :span="16">
|
|
50
|
+ <div>{{ mode_name }}</div>
|
83
|
51
|
</el-col>
|
84
|
|
-
|
85
|
52
|
<el-col :span="8">
|
86
|
|
- <el-form-item
|
87
|
|
- label="血流量(ml/min):"
|
88
|
|
- prop="blood_flow_volume"
|
89
|
|
- >
|
90
|
|
- <el-input v-model="addPlan.blood_flow_volume"></el-input>
|
91
|
|
- </el-form-item>
|
|
53
|
+ <el-button
|
|
54
|
+ style="float: right;visibility: hidden"
|
|
55
|
+ size="small"
|
|
56
|
+ class="filter-item"
|
|
57
|
+ type="primary"
|
|
58
|
+ icon="el-icon-edit-outline"
|
|
59
|
+ @click="openEdit()"
|
|
60
|
+ >修改
|
|
61
|
+ </el-button>
|
92
|
62
|
</el-col>
|
93
|
|
- <!--<el-col :span="8" v-if="this.$store.getters.xt_user.template_info.template_id == 6">-->
|
94
|
|
- <!--<el-form-item label="目标超滤量(ml) : ">-->
|
95
|
|
- <!--<el-input v-model="addPlan.target_ultrafiltration" type="number" ></el-input>-->
|
96
|
|
- <!--</el-form-item>-->
|
97
|
|
- <!--</el-col>-->
|
|
63
|
+ </el-row>
|
|
64
|
+ </div>
|
|
65
|
+ <div class="filter-container" style="float:right">
|
|
66
|
+ <el-form
|
|
67
|
+ ref="addPlan"
|
|
68
|
+ :model="addPlan"
|
|
69
|
+ label-width="160px"
|
|
70
|
+ style="border: black"
|
|
71
|
+ >
|
|
72
|
+ <el-row :gutter="20">
|
|
73
|
+ <el-col :span="8">
|
|
74
|
+ <el-form-item label="透析时长(h):" prop="dialysis_duration">
|
|
75
|
+ <el-time-picker
|
|
76
|
+ v-model="dialysisTimeShow"
|
|
77
|
+ :picker-options="{
|
|
78
|
+ selectableRange: '00:01:00 - 23:59:00'
|
|
79
|
+ }"
|
|
80
|
+ placeholder="透析时长"
|
|
81
|
+ style="width:100%;"
|
|
82
|
+ value-format="H:m"
|
|
83
|
+ format="H:m"
|
|
84
|
+ @change="selectnDialysisTime"
|
|
85
|
+ >
|
|
86
|
+ </el-time-picker>
|
|
87
|
+ </el-form-item>
|
|
88
|
+ </el-col>
|
98
|
89
|
|
99
|
|
- <!--<el-col :span="8" v-if="this.$store.getters.xt_user.template_info.template_id != 6">-->
|
100
|
|
- <!--<el-form-item label="目标超滤量(L) : ">-->
|
101
|
|
- <!--<el-input v-model="addPlan.target_ultrafiltration" type="number" ></el-input>-->
|
102
|
|
- <!--</el-form-item>-->
|
103
|
|
- <!--</el-col>-->
|
|
90
|
+ <el-col :span="8">
|
|
91
|
+ <el-form-item
|
|
92
|
+ label="血流量(ml/min):"
|
|
93
|
+ prop="blood_flow_volume"
|
|
94
|
+ >
|
|
95
|
+ <el-input v-model="addPlan.blood_flow_volume"></el-input>
|
|
96
|
+ </el-form-item>
|
|
97
|
+ </el-col>
|
|
98
|
+ <!--<el-col :span="8" v-if="this.$store.getters.xt_user.template_info.template_id == 6">-->
|
|
99
|
+ <!--<el-form-item label="目标超滤量(ml) : ">-->
|
|
100
|
+ <!--<el-input v-model="addPlan.target_ultrafiltration" type="number" ></el-input>-->
|
|
101
|
+ <!--</el-form-item>-->
|
|
102
|
+ <!--</el-col>-->
|
104
|
103
|
|
105
|
|
- <el-col :span="8">
|
106
|
|
- <el-form-item label="透析液配方:">
|
107
|
|
- <el-select v-model="addPlan.dialysate_formulation">
|
108
|
|
- <el-option
|
109
|
|
- v-for="(item, index) in dialysate_formulation"
|
110
|
|
- :label="item.name"
|
111
|
|
- :key="index"
|
112
|
|
- :value="item.id"
|
113
|
|
- ></el-option>
|
114
|
|
- </el-select>
|
115
|
|
- </el-form-item>
|
116
|
|
- </el-col>
|
|
104
|
+ <!--<el-col :span="8" v-if="this.$store.getters.xt_user.template_info.template_id != 6">-->
|
|
105
|
+ <!--<el-form-item label="目标超滤量(L) : ">-->
|
|
106
|
+ <!--<el-input v-model="addPlan.target_ultrafiltration" type="number" ></el-input>-->
|
|
107
|
+ <!--</el-form-item>-->
|
|
108
|
+ <!--</el-col>-->
|
117
|
109
|
|
118
|
|
- <el-col :span="8">
|
119
|
|
- <el-form-item label="抗凝剂:" prop="anticoagulant">
|
120
|
|
- <el-select
|
121
|
|
- v-model="addPlan.anticoagulant"
|
122
|
|
- @change="changeThisAnticoagulant"
|
|
110
|
+ <el-col :span="8">
|
|
111
|
+ <el-form-item label="透析液配方:">
|
|
112
|
+ <el-select v-model="addPlan.dialysate_formulation">
|
|
113
|
+ <el-option
|
|
114
|
+ v-for="(item, index) in dialysate_formulation"
|
|
115
|
+ :label="item.name"
|
|
116
|
+ :key="index"
|
|
117
|
+ :value="item.id"
|
|
118
|
+ ></el-option>
|
|
119
|
+ </el-select>
|
|
120
|
+ </el-form-item>
|
|
121
|
+ </el-col>
|
|
122
|
+
|
|
123
|
+ <el-col :span="8">
|
|
124
|
+ <el-form-item label="抗凝剂:" prop="anticoagulant">
|
|
125
|
+ <el-select
|
|
126
|
+ v-model="addPlan.anticoagulant"
|
|
127
|
+ @change="changeThisAnticoagulant"
|
|
128
|
+ >
|
|
129
|
+ <el-option
|
|
130
|
+ v-for="(item, index) in anticoagulantsConfit"
|
|
131
|
+ :label="item.name"
|
|
132
|
+ :key="index"
|
|
133
|
+ :value="item.id"
|
|
134
|
+ ></el-option>
|
|
135
|
+ </el-select>
|
|
136
|
+ </el-form-item>
|
|
137
|
+ </el-col>
|
|
138
|
+ <el-col :span="8" v-if="anticoagulant.shouji != -1">
|
|
139
|
+ <el-form-item
|
|
140
|
+ :label="'首剂(' + anticoagulant.shouji_unit + '): '"
|
|
141
|
+ prop="anticoagulant_shouji"
|
123
|
142
|
>
|
124
|
|
- <el-option
|
125
|
|
- v-for="(item, index) in anticoagulantsConfit"
|
126
|
|
- :label="item.name"
|
127
|
|
- :key="index"
|
128
|
|
- :value="item.id"
|
129
|
|
- ></el-option>
|
130
|
|
- </el-select>
|
131
|
|
- </el-form-item>
|
132
|
|
- </el-col>
|
133
|
|
- <el-col :span="8" v-if="anticoagulant.shouji != -1">
|
134
|
|
- <el-form-item
|
135
|
|
- :label="'首剂(' + anticoagulant.shouji_unit + '): '"
|
136
|
|
- prop="anticoagulant_shouji"
|
137
|
|
- >
|
138
|
|
- <el-input
|
139
|
|
- v-model="addPlan.anticoagulant_shouji"
|
140
|
|
- :disabled="anticoagulant.shouji == 1 ? false : true"
|
141
|
|
- type="number"
|
142
|
|
- ></el-input>
|
143
|
|
- </el-form-item>
|
144
|
|
- </el-col>
|
145
|
|
- <el-col :span="8" v-if="anticoagulant.weichi != -1">
|
146
|
|
- <el-form-item
|
147
|
|
- :label="'维持(' + anticoagulant.weichi_unit + '): '"
|
148
|
|
- prop="anticoagulant_weichi"
|
149
|
|
- >
|
150
|
|
- <el-input
|
151
|
|
- v-model="addPlan.anticoagulant_weichi"
|
152
|
|
- :disabled="anticoagulant.weichi == 1 ? false : true"
|
153
|
|
- type="number"
|
154
|
|
- ></el-input>
|
155
|
|
- </el-form-item>
|
156
|
|
- </el-col>
|
157
|
|
- <el-col :span="8" v-if="anticoagulant.zongliang != -1">
|
158
|
|
- <el-form-item
|
159
|
|
- :label="'总量(' + anticoagulant.zongliang_unit + '): '"
|
160
|
|
- prop="anticoagulant_zongliang"
|
161
|
|
- >
|
162
|
|
- <el-input
|
163
|
|
- v-model="addPlan.anticoagulant_zongliang"
|
164
|
|
- :disabled="anticoagulant.zongliang == 1 ? false : true"
|
165
|
|
- type="number"
|
166
|
|
- ></el-input>
|
167
|
|
- </el-form-item>
|
168
|
|
- </el-col>
|
169
|
|
- <el-col :span="8" v-if="anticoagulant.gaimingcheng != -1">
|
170
|
|
- <el-form-item
|
171
|
|
- label="钙名称:"
|
172
|
|
- prop="anticoagulant_gaimingcheng"
|
173
|
|
- >
|
174
|
|
- <el-input
|
175
|
|
- v-model="addPlan.anticoagulant_gaimingcheng"
|
176
|
|
- :disabled="anticoagulant.gaimingcheng == 1 ? false : true"
|
177
|
|
- placeholder="钙名称"
|
178
|
|
- ></el-input>
|
179
|
|
- </el-form-item>
|
180
|
|
- </el-col>
|
181
|
|
- <el-col :span="8" v-if="anticoagulant.gaijiliang != -1">
|
182
|
|
- <el-form-item
|
183
|
|
- :label="
|
184
|
|
- '钙剂量(' + anticoagulant.gaimingcheng_unit + '): '
|
|
143
|
+ <el-input
|
|
144
|
+ v-model="addPlan.anticoagulant_shouji"
|
|
145
|
+ :disabled="anticoagulant.shouji == 1 ? false : true"
|
|
146
|
+ type="number"
|
|
147
|
+ ></el-input>
|
|
148
|
+ </el-form-item>
|
|
149
|
+ </el-col>
|
|
150
|
+ <el-col :span="8" v-if="anticoagulant.weichi != -1">
|
|
151
|
+ <el-form-item
|
|
152
|
+ :label="'维持(' + anticoagulant.weichi_unit + '): '"
|
|
153
|
+ prop="anticoagulant_weichi"
|
|
154
|
+ >
|
|
155
|
+ <el-input
|
|
156
|
+ v-model="addPlan.anticoagulant_weichi"
|
|
157
|
+ :disabled="anticoagulant.weichi == 1 ? false : true"
|
|
158
|
+ type="number"
|
|
159
|
+ ></el-input>
|
|
160
|
+ </el-form-item>
|
|
161
|
+ </el-col>
|
|
162
|
+ <el-col :span="8" v-if="anticoagulant.zongliang != -1">
|
|
163
|
+ <el-form-item
|
|
164
|
+ :label="'总量(' + anticoagulant.zongliang_unit + '): '"
|
|
165
|
+ prop="anticoagulant_zongliang"
|
|
166
|
+ >
|
|
167
|
+ <el-input
|
|
168
|
+ v-model="addPlan.anticoagulant_zongliang"
|
|
169
|
+ :disabled="anticoagulant.zongliang == 1 ? false : true"
|
|
170
|
+ type="number"
|
|
171
|
+ ></el-input>
|
|
172
|
+ </el-form-item>
|
|
173
|
+ </el-col>
|
|
174
|
+ <el-col :span="8" v-if="anticoagulant.gaimingcheng != -1">
|
|
175
|
+ <el-form-item
|
|
176
|
+ label="钙名称:"
|
|
177
|
+ prop="anticoagulant_gaimingcheng"
|
|
178
|
+ >
|
|
179
|
+ <el-input
|
|
180
|
+ v-model="addPlan.anticoagulant_gaimingcheng"
|
|
181
|
+ :disabled="anticoagulant.gaimingcheng == 1 ? false : true"
|
|
182
|
+ placeholder="钙名称"
|
|
183
|
+ ></el-input>
|
|
184
|
+ </el-form-item>
|
|
185
|
+ </el-col>
|
|
186
|
+ <el-col :span="8" v-if="anticoagulant.gaijiliang != -1">
|
|
187
|
+ <el-form-item
|
|
188
|
+ :label="
|
|
189
|
+ '钙剂量(' + anticoagulant.gaimingcheng_unit + '): '
|
|
190
|
+ "
|
|
191
|
+ prop="anticoagulant_gaijiliang"
|
|
192
|
+ >
|
|
193
|
+ <el-input
|
|
194
|
+ v-model="addPlan.anticoagulant_gaijiliang"
|
|
195
|
+ :disabled="anticoagulant.gaijiliang == 1 ? false : true"
|
|
196
|
+ placeholder="钙剂量"
|
|
197
|
+ ></el-input>
|
|
198
|
+ </el-form-item>
|
|
199
|
+ </el-col>
|
|
200
|
+ <el-col
|
|
201
|
+ :span="8"
|
|
202
|
+ v-if="
|
|
203
|
+ current_select == 2 ||
|
|
204
|
+ current_select == 5 ||
|
|
205
|
+ current_select == 12
|
185
|
206
|
"
|
186
|
|
- prop="anticoagulant_gaijiliang"
|
187
|
207
|
>
|
188
|
|
- <el-input
|
189
|
|
- v-model="addPlan.anticoagulant_gaijiliang"
|
190
|
|
- :disabled="anticoagulant.gaijiliang == 1 ? false : true"
|
191
|
|
- placeholder="钙剂量"
|
192
|
|
- ></el-input>
|
193
|
|
- </el-form-item>
|
194
|
|
- </el-col>
|
195
|
|
- <el-col
|
196
|
|
- :span="8"
|
197
|
|
- v-if="
|
198
|
|
- current_select == 2 ||
|
199
|
|
- current_select == 5 ||
|
200
|
|
- current_select == 12
|
201
|
|
- "
|
202
|
|
- >
|
203
|
|
- <el-form-item label="置换量(L) : " prop="replacement_total">
|
204
|
|
- <el-input
|
205
|
|
- v-model="addPlan.replacement_total"
|
206
|
|
- type="number"
|
207
|
|
- ></el-input>
|
208
|
|
- </el-form-item>
|
209
|
|
- </el-col>
|
|
208
|
+ <el-form-item label="置换量(L) : " prop="replacement_total">
|
|
209
|
+ <el-input
|
|
210
|
+ v-model="addPlan.replacement_total"
|
|
211
|
+ type="number"
|
|
212
|
+ ></el-input>
|
|
213
|
+ </el-form-item>
|
|
214
|
+ </el-col>
|
210
|
215
|
|
211
|
|
- <el-col :span="8">
|
212
|
|
- <el-form-item label="钾(mmol/L): " prop="kalium">
|
213
|
|
- <el-input v-model="addPlan.kalium"></el-input>
|
214
|
|
- </el-form-item>
|
215
|
|
- </el-col>
|
216
|
|
- <el-col :span="8">
|
217
|
|
- <el-form-item label="钠(mmol/L): " prop="sodium">
|
218
|
|
- <el-input v-model="addPlan.sodium"></el-input>
|
219
|
|
- </el-form-item>
|
220
|
|
- </el-col>
|
221
|
|
- <el-col :span="8">
|
222
|
|
- <el-form-item label="钙(mmol/L): " prop="calcium">
|
223
|
|
- <el-input v-model="addPlan.calcium"></el-input>
|
224
|
|
- </el-form-item>
|
225
|
|
- </el-col>
|
|
216
|
+ <el-col :span="8">
|
|
217
|
+ <el-form-item label="钾(mmol/L): " prop="kalium">
|
|
218
|
+ <el-input v-model="addPlan.kalium"></el-input>
|
|
219
|
+ </el-form-item>
|
|
220
|
+ </el-col>
|
|
221
|
+ <el-col :span="8">
|
|
222
|
+ <el-form-item label="钠(mmol/L): " prop="sodium">
|
|
223
|
+ <el-input v-model="addPlan.sodium"></el-input>
|
|
224
|
+ </el-form-item>
|
|
225
|
+ </el-col>
|
|
226
|
+ <el-col :span="8">
|
|
227
|
+ <el-form-item label="钙(mmol/L): " prop="calcium">
|
|
228
|
+ <el-input v-model="addPlan.calcium"></el-input>
|
|
229
|
+ </el-form-item>
|
|
230
|
+ </el-col>
|
226
|
231
|
|
227
|
|
- <el-col :span="8">
|
228
|
|
- <el-form-item label="透析器/灌流器:">
|
|
232
|
+ <el-col :span="8">
|
|
233
|
+ <el-form-item label="透析器/灌流器:">
|
229
|
234
|
|
230
|
|
- <el-input
|
231
|
|
- v-model="addPlan.dialyzer_perfusion_apparatus" @focus="showInnerDialog('5')"></el-input>
|
232
|
|
- </el-form-item>
|
233
|
|
- </el-col>
|
|
235
|
+ <el-input
|
|
236
|
+ v-model="addPlan.dialyzer_perfusion_apparatus" @focus="showInnerDialog('5')"></el-input>
|
|
237
|
+ </el-form-item>
|
|
238
|
+ </el-col>
|
234
|
239
|
|
235
|
|
- <el-col :span="8">
|
236
|
|
- <el-form-item label="碳酸氢盐(mmol/L): " prop="bicarbonate">
|
237
|
|
- <el-input v-model="addPlan.bicarbonate"></el-input>
|
238
|
|
- </el-form-item>
|
239
|
|
- </el-col>
|
240
|
|
- <el-col :span="8">
|
241
|
|
- <el-form-item label="葡萄糖(mmol/L): " prop="glucose">
|
242
|
|
- <el-input v-model="addPlan.glucose"></el-input>
|
243
|
|
- </el-form-item>
|
244
|
|
- </el-col>
|
|
240
|
+ <el-col :span="8">
|
|
241
|
+ <el-form-item label="碳酸氢盐(mmol/L): " prop="bicarbonate">
|
|
242
|
+ <el-input v-model="addPlan.bicarbonate"></el-input>
|
|
243
|
+ </el-form-item>
|
|
244
|
+ </el-col>
|
|
245
|
+ <el-col :span="8">
|
|
246
|
+ <el-form-item label="葡萄糖(mmol/L): " prop="glucose">
|
|
247
|
+ <el-input v-model="addPlan.glucose"></el-input>
|
|
248
|
+ </el-form-item>
|
|
249
|
+ </el-col>
|
245
|
250
|
|
246
|
|
- <el-col :span="8">
|
247
|
|
- <el-form-item
|
248
|
|
- label="透析液流量(ml/min): "
|
249
|
|
- prop="dialysate_flow"
|
250
|
|
- >
|
251
|
|
- <el-input v-model="addPlan.dialysate_flow"></el-input>
|
252
|
|
- </el-form-item>
|
253
|
|
- </el-col>
|
254
|
|
- <el-col :span="8">
|
255
|
|
- <el-form-item
|
256
|
|
- label="透析液温度(℃): "
|
257
|
|
- prop="dialysate_temperature"
|
258
|
|
- >
|
259
|
|
- <el-input
|
260
|
|
- v-model="addPlan.dialysate_temperature"
|
261
|
|
- ></el-input>
|
262
|
|
- </el-form-item>
|
263
|
|
- </el-col>
|
|
251
|
+ <el-col :span="8">
|
|
252
|
+ <el-form-item
|
|
253
|
+ label="透析液流量(ml/min): "
|
|
254
|
+ prop="dialysate_flow"
|
|
255
|
+ >
|
|
256
|
+ <el-input v-model="addPlan.dialysate_flow"></el-input>
|
|
257
|
+ </el-form-item>
|
|
258
|
+ </el-col>
|
|
259
|
+ <el-col :span="8">
|
|
260
|
+ <el-form-item
|
|
261
|
+ label="透析液温度(℃): "
|
|
262
|
+ prop="dialysate_temperature"
|
|
263
|
+ >
|
|
264
|
+ <el-input
|
|
265
|
+ v-model="addPlan.dialysate_temperature"
|
|
266
|
+ ></el-input>
|
|
267
|
+ </el-form-item>
|
|
268
|
+ </el-col>
|
264
|
269
|
|
265
|
|
- <el-col :span="8">
|
266
|
|
- <el-form-item label="电导度(mS/cm): " prop="conductivity">
|
267
|
|
- <el-input v-model="addPlan.conductivity"></el-input>
|
268
|
|
- </el-form-item>
|
269
|
|
- </el-col>
|
|
270
|
+ <el-col :span="8">
|
|
271
|
+ <el-form-item label="电导度(mS/cm): " prop="conductivity">
|
|
272
|
+ <el-input v-model="addPlan.conductivity"></el-input>
|
|
273
|
+ </el-form-item>
|
|
274
|
+ </el-col>
|
270
|
275
|
|
271
|
|
- <el-col :span="8">
|
272
|
|
- <el-form-item label="体液过多症状:">
|
273
|
|
- <el-select v-model="addPlan.body_fluid">
|
274
|
|
- <el-option
|
275
|
|
- v-for="(item, index) in body_fluid_option"
|
276
|
|
- :label="item.name"
|
277
|
|
- :key="index"
|
278
|
|
- :value="item.id"
|
279
|
|
- ></el-option>
|
280
|
|
- </el-select>
|
281
|
|
- </el-form-item>
|
282
|
|
- </el-col>
|
|
276
|
+ <el-col :span="8">
|
|
277
|
+ <el-form-item label="体液过多症状:">
|
|
278
|
+ <el-select v-model="addPlan.body_fluid">
|
|
279
|
+ <el-option
|
|
280
|
+ v-for="(item, index) in body_fluid_option"
|
|
281
|
+ :label="item.name"
|
|
282
|
+ :key="index"
|
|
283
|
+ :value="item.id"
|
|
284
|
+ ></el-option>
|
|
285
|
+ </el-select>
|
|
286
|
+ </el-form-item>
|
|
287
|
+ </el-col>
|
283
|
288
|
|
284
|
|
- <el-col :span="8">
|
285
|
|
- <el-form-item label="体液过多其他症状">
|
286
|
|
- <el-input v-model="addPlan.body_fluid_other"></el-input>
|
287
|
|
- </el-form-item>
|
288
|
|
- </el-col>
|
|
289
|
+ <el-col :span="8">
|
|
290
|
+ <el-form-item label="体液过多其他症状">
|
|
291
|
+ <el-input v-model="addPlan.body_fluid_other"></el-input>
|
|
292
|
+ </el-form-item>
|
|
293
|
+ </el-col>
|
289
|
294
|
|
290
|
|
- <el-col :span="8">
|
291
|
|
- <el-form-item label="透析前使用特殊药物">
|
292
|
|
- <el-select
|
293
|
|
- v-model="addPlan.special_medicine"
|
294
|
|
- placeholder="请选择"
|
295
|
|
- style="width:100%;"
|
296
|
|
- >
|
297
|
|
- <el-option :key="0" label="请选择" :value="0"></el-option>
|
298
|
|
- <el-option
|
299
|
|
- v-for="(item, index) in special_medicine_option"
|
300
|
|
- :label="item.name"
|
301
|
|
- :key="index"
|
302
|
|
- :value="item.id"
|
303
|
|
- ></el-option>
|
304
|
|
- </el-select>
|
305
|
|
- </el-form-item>
|
306
|
|
- </el-col>
|
|
295
|
+ <el-col :span="8">
|
|
296
|
+ <el-form-item label="透析前使用特殊药物">
|
|
297
|
+ <el-select
|
|
298
|
+ v-model="addPlan.special_medicine"
|
|
299
|
+ placeholder="请选择"
|
|
300
|
+ style="width:100%;"
|
|
301
|
+ >
|
|
302
|
+ <el-option :key="0" label="请选择" :value="0"></el-option>
|
|
303
|
+ <el-option
|
|
304
|
+ v-for="(item, index) in special_medicine_option"
|
|
305
|
+ :label="item.name"
|
|
306
|
+ :key="index"
|
|
307
|
+ :value="item.id"
|
|
308
|
+ ></el-option>
|
|
309
|
+ </el-select>
|
|
310
|
+ </el-form-item>
|
|
311
|
+ </el-col>
|
307
|
312
|
|
308
|
|
- <el-col :span="8">
|
309
|
|
- <el-form-item label="使用其他特殊药物">
|
310
|
|
- <el-input
|
311
|
|
- v-model="addPlan.special_medicine_other"
|
312
|
|
- ></el-input>
|
313
|
|
- </el-form-item>
|
314
|
|
- </el-col>
|
|
313
|
+ <el-col :span="8">
|
|
314
|
+ <el-form-item label="使用其他特殊药物">
|
|
315
|
+ <el-input
|
|
316
|
+ v-model="addPlan.special_medicine_other"
|
|
317
|
+ ></el-input>
|
|
318
|
+ </el-form-item>
|
|
319
|
+ </el-col>
|
315
|
320
|
|
316
|
|
- <el-col :span="8">
|
317
|
|
- <el-form-item
|
318
|
|
- label="置换液:"
|
319
|
|
- v-if="
|
320
|
|
- (current_select == 2 ||
|
321
|
|
- current_select == 5 ||
|
322
|
|
- current_select == 12) &&
|
323
|
|
- this.$store.getters.xt_user.template_info.template_id !=
|
324
|
|
- 6
|
325
|
|
- "
|
326
|
|
- >
|
327
|
|
- <el-select
|
328
|
|
- v-model="addPlan.displace_liqui_part"
|
329
|
|
- placeholder="请选择"
|
|
321
|
+ <el-col :span="8">
|
|
322
|
+ <el-form-item
|
|
323
|
+ label="置换液:"
|
|
324
|
+ v-if="
|
|
325
|
+ (current_select == 2 ||
|
|
326
|
+ current_select == 5 ||
|
|
327
|
+ current_select == 12) &&
|
|
328
|
+ this.$store.getters.xt_user.template_info.template_id !=
|
|
329
|
+ 6
|
|
330
|
+ "
|
|
331
|
+ >
|
|
332
|
+ <el-select
|
|
333
|
+ v-model="addPlan.displace_liqui_part"
|
|
334
|
+ placeholder="请选择"
|
|
335
|
+ >
|
|
336
|
+ <el-option :key="0" label="请选择" :value="0"></el-option>
|
|
337
|
+ <el-option
|
|
338
|
+ v-for="(option, index) in displace_liqui_part_option"
|
|
339
|
+ :key="index"
|
|
340
|
+ :label="option.name"
|
|
341
|
+ :value="option.id"
|
|
342
|
+ ></el-option>
|
|
343
|
+ </el-select>
|
|
344
|
+ </el-form-item>
|
|
345
|
+
|
|
346
|
+ <el-form-item
|
|
347
|
+ label="置换方式:"
|
|
348
|
+ v-if="
|
|
349
|
+ current_select == 2 &&
|
|
350
|
+ this.$store.getters.xt_user.template_info.template_id ==
|
|
351
|
+ 6
|
|
352
|
+ "
|
330
|
353
|
>
|
331
|
|
- <el-option :key="0" label="请选择" :value="0"></el-option>
|
332
|
|
- <el-option
|
333
|
|
- v-for="(option, index) in displace_liqui_part_option"
|
334
|
|
- :key="index"
|
335
|
|
- :label="option.name"
|
336
|
|
- :value="option.id"
|
337
|
|
- ></el-option>
|
338
|
|
- </el-select>
|
339
|
|
- </el-form-item>
|
|
354
|
+ <el-select
|
|
355
|
+ v-model="addPlan.displace_liqui_part"
|
|
356
|
+ placeholder="请选择"
|
|
357
|
+ >
|
|
358
|
+ <el-option :key="0" label="请选择" :value="0"></el-option>
|
|
359
|
+ <el-option
|
|
360
|
+ v-for="(option, index) in displace_liqui_part_option"
|
|
361
|
+ :key="index"
|
|
362
|
+ :label="option.name"
|
|
363
|
+ :value="option.id"
|
|
364
|
+ ></el-option>
|
|
365
|
+ </el-select>
|
|
366
|
+ </el-form-item>
|
|
367
|
+ </el-col>
|
340
|
368
|
|
341
|
|
- <el-form-item
|
342
|
|
- label="置换方式:"
|
|
369
|
+ <el-col
|
|
370
|
+ :span="8"
|
343
|
371
|
v-if="
|
344
|
|
- current_select == 2 &&
|
345
|
|
- this.$store.getters.xt_user.template_info.template_id ==
|
346
|
|
- 6
|
|
372
|
+ current_select == 2 ||
|
|
373
|
+ current_select == 5 ||
|
|
374
|
+ current_select == 12
|
347
|
375
|
"
|
348
|
376
|
>
|
349
|
|
- <el-select
|
350
|
|
- v-model="addPlan.displace_liqui_part"
|
351
|
|
- placeholder="请选择"
|
352
|
|
- >
|
353
|
|
- <el-option :key="0" label="请选择" :value="0"></el-option>
|
354
|
|
- <el-option
|
355
|
|
- v-for="(option, index) in displace_liqui_part_option"
|
356
|
|
- :key="index"
|
357
|
|
- :label="option.name"
|
358
|
|
- :value="option.id"
|
359
|
|
- ></el-option>
|
360
|
|
- </el-select>
|
361
|
|
- </el-form-item>
|
362
|
|
- </el-col>
|
363
|
|
-
|
364
|
|
- <el-col
|
365
|
|
- :span="8"
|
366
|
|
- v-if="
|
367
|
|
- current_select == 2 ||
|
368
|
|
- current_select == 5 ||
|
369
|
|
- current_select == 12
|
370
|
|
- "
|
371
|
|
- >
|
372
|
|
- <el-form-item label="置换液总量(L)">
|
373
|
|
- <el-input v-model="addPlan.displace_liqui_value"></el-input>
|
374
|
|
- </el-form-item>
|
375
|
|
- </el-col>
|
|
377
|
+ <el-form-item label="置换液总量(L)">
|
|
378
|
+ <el-input v-model="addPlan.displace_liqui_value"></el-input>
|
|
379
|
+ </el-form-item>
|
|
380
|
+ </el-col>
|
376
|
381
|
|
377
|
|
- <el-col :span="8">
|
378
|
|
- <el-form-item label="血管通路:">
|
379
|
|
- <el-select
|
380
|
|
- v-model="addPlan.blood_access"
|
381
|
|
- placeholder="请选择"
|
382
|
|
- >
|
383
|
|
- <el-option :key="0" label="请选择" :value="0"></el-option>
|
|
382
|
+ <el-col :span="8">
|
|
383
|
+ <el-form-item label="血管通路:">
|
|
384
|
+ <el-select
|
|
385
|
+ v-model="addPlan.blood_access"
|
|
386
|
+ placeholder="请选择"
|
|
387
|
+ >
|
|
388
|
+ <el-option :key="0" label="请选择" :value="0"></el-option>
|
384
|
389
|
|
385
|
|
- <el-option
|
386
|
|
- v-for="(option, index) in blood_access_option"
|
387
|
|
- :key="index"
|
388
|
|
- :label="option.name"
|
389
|
|
- :value="option.id"
|
390
|
|
- ></el-option>
|
391
|
|
- </el-select>
|
392
|
|
- </el-form-item>
|
393
|
|
- </el-col>
|
|
390
|
+ <el-option
|
|
391
|
+ v-for="(option, index) in blood_access_option"
|
|
392
|
+ :key="index"
|
|
393
|
+ :label="option.name"
|
|
394
|
+ :value="option.id"
|
|
395
|
+ ></el-option>
|
|
396
|
+ </el-select>
|
|
397
|
+ </el-form-item>
|
|
398
|
+ </el-col>
|
394
|
399
|
|
395
|
|
- <!-- </el-row>
|
396
|
|
- <el-row :gutter="20" > -->
|
397
|
|
- <el-col :span="8">
|
398
|
|
- <el-form-item label="实际超滤量(L)">
|
399
|
|
- <el-input v-model="addPlan.ultrafiltration"></el-input>
|
400
|
|
- </el-form-item>
|
401
|
|
- </el-col>
|
|
400
|
+ <!-- </el-row>
|
|
401
|
+ <el-row :gutter="20" > -->
|
|
402
|
+ <el-col :span="8">
|
|
403
|
+ <el-form-item label="实际超滤量(L)">
|
|
404
|
+ <el-input v-model="addPlan.ultrafiltration"></el-input>
|
|
405
|
+ </el-form-item>
|
|
406
|
+ </el-col>
|
402
|
407
|
|
403
|
|
- <el-col :span="8">
|
404
|
|
- <el-form-item label="目标KT/V">
|
405
|
|
- <el-input v-model="addPlan.target_ktv"></el-input>
|
406
|
|
- </el-form-item>
|
407
|
|
- </el-col>
|
408
|
|
- </el-row>
|
409
|
|
- </el-form>
|
410
|
|
- <el-button
|
411
|
|
- style="float: right"
|
412
|
|
- size="small"
|
413
|
|
- class="filter-item"
|
414
|
|
- type="primary"
|
415
|
|
- icon="el-icon-edit-outline"
|
416
|
|
- @click="savePrescription()"
|
417
|
|
- >保存
|
418
|
|
- </el-button>
|
419
|
|
- </div>
|
420
|
|
- </el-col>
|
421
|
|
- </el-row>
|
|
408
|
+ <el-col :span="8">
|
|
409
|
+ <el-form-item label="目标KT/V">
|
|
410
|
+ <el-input v-model="addPlan.target_ktv"></el-input>
|
|
411
|
+ </el-form-item>
|
|
412
|
+ </el-col>
|
|
413
|
+ </el-row>
|
|
414
|
+ </el-form>
|
|
415
|
+ <el-button
|
|
416
|
+ style="float: right"
|
|
417
|
+ size="small"
|
|
418
|
+ class="filter-item"
|
|
419
|
+ type="primary"
|
|
420
|
+ icon="el-icon-edit-outline"
|
|
421
|
+ @click="savePrescription()"
|
|
422
|
+ >保存
|
|
423
|
+ </el-button>
|
|
424
|
+ </div>
|
|
425
|
+ </el-col>
|
|
426
|
+ </el-row>
|
|
427
|
+ </div>
|
|
428
|
+ <multi-select-box
|
|
429
|
+ :propsForm="InnerDialogProps"
|
|
430
|
+ v-on:dialog-comfirm="innerDialogComfirm"
|
|
431
|
+ v-on:dialog-cancle="innerDialogCancle"
|
|
432
|
+ >
|
|
433
|
+ </multi-select-box>
|
422
|
434
|
</div>
|
423
|
|
- <multi-select-box
|
424
|
|
- :propsForm="InnerDialogProps"
|
425
|
|
- v-on:dialog-comfirm="innerDialogComfirm"
|
426
|
|
- v-on:dialog-cancle="innerDialogCancle"
|
427
|
|
- >
|
428
|
|
- </multi-select-box>
|
429
|
435
|
</div>
|
430
|
436
|
</template>
|
431
|
437
|
|
432
|
438
|
<script>
|
|
439
|
+import BreadCrumb from '@/xt_pages/components/bread-crumb'
|
433
|
440
|
import { calculateAnticoagulantZL, uParseTime } from "@/utils/tools";
|
434
|
441
|
import {
|
435
|
442
|
getAllSystemPrescription,
|
|
@@ -443,10 +450,14 @@ import MultiSelectBox from '../dialysis/details/dialog/MultiSelectBox/index'
|
443
|
450
|
|
444
|
451
|
export default {
|
445
|
452
|
name: "prescription",
|
446
|
|
- components: { MultiSelectBox },
|
|
453
|
+ components: { MultiSelectBox,BreadCrumb },
|
447
|
454
|
|
448
|
455
|
data() {
|
449
|
456
|
return {
|
|
457
|
+ crumbs: [
|
|
458
|
+ { path: false, name: '配置管理' },
|
|
459
|
+ { path: false, name: '处方模板' }
|
|
460
|
+ ],
|
450
|
461
|
InnerDialogProps: {
|
451
|
462
|
values: [],
|
452
|
463
|
visibility: false,
|