|
@@ -3,7 +3,10 @@
|
3
|
3
|
<patient-sidebar :id="patientID" defaultActive="2-1"></patient-sidebar>
|
4
|
4
|
<div class="patient-app-container app-container">
|
5
|
5
|
<div class="Total">
|
|
6
|
+ <!-- <div class="plan" >透析计划</div> -->
|
|
7
|
+ <!-- <table-title title="长期透析处方"></table-title> -->
|
6
|
8
|
<div class="sum">
|
|
9
|
+ <!-- <span>透析总频率:<el-input :value="totalrate" disabled style="width:180px"></el-input></span> -->
|
7
|
10
|
<el-button
|
8
|
11
|
type="primary"
|
9
|
12
|
size="small"
|
|
@@ -39,7 +42,7 @@
|
39
|
42
|
min-width="50"
|
40
|
43
|
>
|
41
|
44
|
<template slot-scope="scope">
|
42
|
|
- {{modeOptions[scope.row.mode_id]?modeOptions[scope.row.mode_id].name:''}}
|
|
45
|
+ {{ modeOptions[scope.row.mode_id]?modeOptions[scope.row.mode_id].name:'' }}
|
43
|
46
|
</template>
|
44
|
47
|
</el-table-column>
|
45
|
48
|
<el-table-column
|
|
@@ -53,7 +56,25 @@
|
53
|
56
|
{{ scope.row.dialysis_duration_minute }} 分钟
|
54
|
57
|
</template>
|
55
|
58
|
</el-table-column>
|
56
|
|
-
|
|
59
|
+ <!-- <el-table-column
|
|
60
|
+ prop="period"
|
|
61
|
+ label="频率"
|
|
62
|
+ align="center"
|
|
63
|
+ min-width="50">
|
|
64
|
+ <template slot-scope="scope" >
|
|
65
|
+ <span v-if="scope.row.parent_id === 0" >{{scope.row.period}}{{scope.row.times}}</span>
|
|
66
|
+ <span v-else >--</span>
|
|
67
|
+ </template>
|
|
68
|
+ </el-table-column> -->
|
|
69
|
+ <!-- <el-table-column
|
|
70
|
+ prop="name"
|
|
71
|
+ label="处方名"
|
|
72
|
+ align="center"
|
|
73
|
+ min-width="50">
|
|
74
|
+ <template slot-scope="scope" >
|
|
75
|
+ <span >{{scope.row.name}}{{scope.row.sub_name}}</span>
|
|
76
|
+ </template>
|
|
77
|
+ </el-table-column> -->
|
57
|
78
|
<el-table-column
|
58
|
79
|
prop="doctor"
|
59
|
80
|
label="医生"
|
|
@@ -86,13 +107,17 @@
|
86
|
107
|
<span>{{ scope.row.updated_time | parseTime("{y}-{m}-{d}") }}</span>
|
87
|
108
|
</template>
|
88
|
109
|
</el-table-column>
|
89
|
|
-
|
90
|
|
- <el-table-column align="center" label="状态" width="60">
|
91
|
|
- <template slot-scope="scope">
|
92
|
|
- <span v-if="scope.row.solution_status == 1">生效</span>
|
93
|
|
- <span v-if="scope.row.solution_status == 2">失效</span>
|
94
|
|
- </template>
|
95
|
|
- </el-table-column>
|
|
110
|
+ <!-- <el-table-column
|
|
111
|
+ prop="state"
|
|
112
|
+ label="状态"
|
|
113
|
+ align="center"
|
|
114
|
+ min-width="40">
|
|
115
|
+ <template slot-scope="scope" >
|
|
116
|
+ <span v-if="scope.row.initiate_mode==1">启用</span>
|
|
117
|
+ <span v-else-if="scope.row.initiate_mode==2">停用</span>
|
|
118
|
+ <span v-else>未知</span>
|
|
119
|
+ </template>
|
|
120
|
+ </el-table-column> -->
|
96
|
121
|
<el-table-column label="操作" align="center" min-width="140">
|
97
|
122
|
<template slot-scope="scope">
|
98
|
123
|
<el-tooltip
|
|
@@ -108,22 +133,19 @@
|
108
|
133
|
@click="openEdit(scope.$index, scope.row)"
|
109
|
134
|
></el-button>
|
110
|
135
|
</el-tooltip>
|
111
|
|
-
|
112
|
|
-
|
113
|
|
- <el-tooltip
|
114
|
|
- class="item"
|
115
|
|
- effect="dark"
|
116
|
|
- content="查看更多"
|
117
|
|
- placement="top"
|
118
|
|
- >
|
119
|
|
- <el-button
|
120
|
|
- size="small"
|
121
|
|
- type="primary"
|
122
|
|
- @click="toClick(scope.row)">
|
123
|
|
- 查看更多
|
124
|
|
- </el-button>
|
125
|
|
- </el-tooltip>
|
126
|
|
-
|
|
136
|
+ <!-- <el-button
|
|
137
|
+ size="mini"
|
|
138
|
+ type="primary"
|
|
139
|
+ @click="openChildEdit(scope.$index, scope.row)" v-else>编辑</el-button>
|
|
140
|
+
|
|
141
|
+ <el-button
|
|
142
|
+ size="mini"
|
|
143
|
+ type="success"
|
|
144
|
+ @click="openNewChild(scope.$index, scope.row)" v-if="scope.row.parent_id===0">新增</el-button>
|
|
145
|
+ <el-button
|
|
146
|
+ size="mini"
|
|
147
|
+ type="danger"
|
|
148
|
+ @click="handleDelete(scope.$index, scope.row)">删除</el-button>-->
|
127
|
149
|
</template>
|
128
|
150
|
</el-table-column>
|
129
|
151
|
</el-table>
|
|
@@ -140,111 +162,8 @@
|
140
|
162
|
:total="total"
|
141
|
163
|
>
|
142
|
164
|
</el-pagination>
|
143
|
|
-
|
144
|
|
- <div v-show="startShow">
|
145
|
|
- <el-row :gutter="20" v-if="isShows('透析模式')">
|
146
|
|
- <el-col :span="6"><div class="grid-content bg-purple">透析模式:{{modeOptions[current_solution.mode_id]?modeOptions[current_solution.mode_id].name:''}}</div></el-col>
|
147
|
|
- </el-row>
|
148
|
|
- <el-row :gutter="20">
|
149
|
|
- <el-col :span="6" v-if="isShows('透析时长')"><div class="grid-content bg-purple">透析时长:{{current_solution.dialysis_duration_hour}}小时{{current_solution.dialysis_duration_minute}}分钟</div></el-col>
|
150
|
|
- <el-col :span="6" v-if="isShows('血流量')"><div class="grid-content bg-purple">血流量(ml/min):{{current_solution.blood_flow_volume}}</div></el-col>
|
151
|
|
- <el-col :span="6" v-if="isShows('透析液配方')"><div class="grid-content bg-purple">透析液配方:{{getDialysateFormulation(current_solution.dialysate_formulation)}}</div></el-col>
|
152
|
|
- <el-col :span="6" v-if="isShows('抗凝剂')"><div class="grid-content bg-purple">抗凝剂:{{getAnticoagulant(current_solution.anticoagulant)}}</div></el-col>
|
153
|
|
- </el-row>
|
154
|
|
-
|
155
|
|
- <el-row :gutter="20">
|
156
|
|
- <el-col :span="6" v-if="isShows('首剂')"><div class="grid-content bg-purple">首剂
|
157
|
|
- <span v-if="current_solution.anticoagulant == 6">(iu):</span>
|
158
|
|
- <span v-if="current_solution.anticoagulant == 7">(iu):</span>
|
159
|
|
- <span v-if="current_solution.anticoagulant == 5">(mg):</span>
|
160
|
|
- <span v-if="current_solution.anticoagulant == 4">(mg):</span>
|
161
|
|
- <span v-if="current_solution.anticoagulant == 3">(iu):</span>
|
162
|
|
- <span v-if="current_solution.anticoagulant == 2">(mg):</span>
|
163
|
|
- <span v-if="current_solution.anticoagulant == 1">(mg):</span>
|
164
|
|
- {{current_solution.anticoagulant_shouji}}</div></el-col>
|
165
|
|
- <el-col :span="6" v-if="isShows('维持')"><div class="grid-content bg-purple">维持
|
166
|
|
- <span v-if="current_solution.anticoagulant == 7">(iu/h):</span>
|
167
|
|
- <span v-if="current_solution.anticoagulant == 6">(iu/h):</span>
|
168
|
|
- <span v-if="current_solution.anticoagulant == 5">(ml/h):</span>
|
169
|
|
- <span v-if="current_solution.anticoagulant == 4">(mg/h):</span>
|
170
|
|
- <span v-if="current_solution.anticoagulant == 3">(iu/h):</span>
|
171
|
|
- <span v-if="current_solution.anticoagulant == 2">(mg/h):</span>
|
172
|
|
- <span v-if="current_solution.anticoagulant == 1">(mg/h):</span>
|
173
|
|
- {{current_solution.anticoagulant_weichi}}</div></el-col>
|
174
|
|
- <el-col :span="6" v-if="isShows('总量')"><div class="grid-content bg-purple">总量
|
175
|
|
- <span v-if="current_solution.anticoagulant == 5">(mg):</span>
|
176
|
|
- <span v-if="current_solution.anticoagulant == 6">(iu):</span>
|
177
|
|
- <span v-if="current_solution.anticoagulant == 7">(iu):</span>
|
178
|
|
- <span v-if="current_solution.anticoagulant == 4">(mg):</span>
|
179
|
|
- <span v-if="current_solution.anticoagulant == 3">(iu):</span>
|
180
|
|
- <span v-if="current_solution.anticoagulant == 2">(mg):</span>
|
181
|
|
- <span v-if="current_solution.anticoagulant == 1">(mg):</span>
|
182
|
|
- {{current_solution.anticoagulant_zongliang}}</div></el-col>
|
183
|
|
- <el-col :span="6"><div class="grid-content bg-purple">钾(mmol/L):{{current_solution.kalium}}</div></el-col>
|
184
|
|
- </el-row>
|
185
|
|
-
|
186
|
|
- <el-row :gutter="20">
|
187
|
|
- <el-col :span="6" v-if="isShows('钠')"><div class="grid-content bg-purple">钠(mmol/L):{{current_solution.sodium}}</div></el-col>
|
188
|
|
- <el-col :span="6" v-if="isShows('钙')"><div class="grid-content bg-purple">钙:(mmol/L):{{current_solution.calcium}}</div></el-col>
|
189
|
|
- <el-col :span="6" v-if="isShows('透析器/灌流器')"><div class="grid-content bg-purple">透析器/灌流器:{{current_solution.dialyzer_perfusion_apparatus}}</div></el-col>
|
190
|
|
- </el-row>
|
191
|
|
-
|
192
|
|
- <el-row :gutter="20">
|
193
|
|
- <el-col :span="6" v-if="isShows('透析器')"><div class="grid-content bg-purple">透析器:{{current_solution.dialysis_dialyszers}}</div></el-col>
|
194
|
|
- <el-col :span="6" v-if="isShows('灌流器')"><div class="grid-content bg-purple">灌流器:{{current_solution.dialysis_irrigation}}</div></el-col>
|
195
|
|
- <el-col :span="6" v-if="isShows('碳酸氢盐')"><div class="grid-content bg-purple">碳酸氢盐(mmol/L):{{current_solution.bicarbonate}}</div></el-col>
|
196
|
|
- <el-col :span="6" v-if="isShows('葡萄糖')"><div class="grid-content bg-purple">葡萄糖(mmol/L):{{current_solution.amylaceum}}</div></el-col>
|
197
|
|
- </el-row>
|
198
|
|
-
|
199
|
|
- <el-row :gutter="20">
|
200
|
|
- <el-col :span="6" v-if="isShows('透析液流量')"><div class="grid-content bg-purple">透析液流量(ml/min):{{current_solution.dialysate_flow}}</div></el-col>
|
201
|
|
- <el-col :span="6" v-if="isShows('透析液温度')"><div class="grid-content bg-purple">透析液温度(℃):{{current_solution.dialysate_temperature}}</div></el-col>
|
202
|
|
- <el-col :span="6" v-if="isShows('电导度')"><div class="grid-content bg-purple">电导度(mS/cm):{{current_solution.conductivity}}</div></el-col>
|
203
|
|
- <el-col :span="6" v-if="isShows('体液过多症状')"><div class="grid-content bg-purple">体液过多症状:{{getBodyFluid(current_solution.body_fluid)}}</div></el-col>
|
204
|
|
- </el-row>
|
205
|
|
-
|
206
|
|
- <el-row :gutter="20">
|
207
|
|
- <el-col :span="6" v-if="isShows('体液过多其他症状')"><div class="grid-content bg-purple">体液过多其他症状:{{current_solution.body_fluid_other}}</div></el-col>
|
208
|
|
- <el-col :span="6" v-if="isShows('透析前使用特殊药物')"><div class="grid-content bg-purple">透析前使用特殊药物:{{getSpecialMedicine(current_solution.special_medicine)}}</div></el-col>
|
209
|
|
- <el-col :span="6" v-if="isShows('使用其他特殊药物')"><div class="grid-content bg-purple">使用其他特殊药物:{{current_solution.special_medicine_other}}</div></el-col>
|
210
|
|
- <el-col :span="6" v-if="isShows('血管通路')"><div class="grid-content bg-purple">血管通路:{{getBloodAccess(current_solution.blood_access)}}</div></el-col>
|
211
|
|
- </el-row>
|
212
|
|
-
|
213
|
|
- <el-row :gutter="20">
|
214
|
|
- <el-col :span="6" v-if="isShows('血浆分离器')"><div class="grid-content bg-purple">血浆分离器:{{current_solution.plasma_separator}}</div></el-col>
|
215
|
|
- <el-col :span="6" v-if="isShows('透析管路')"><div class="grid-content bg-purple">透析管路:{{current_solution.hemodialysis_pipelines}}</div></el-col>
|
216
|
|
- <el-col :span="6" v-if="isShows('透析管路支数')"><div class="grid-content bg-purple">透析管路支数:{{current_solution.hemodialysis_pipelines_count}}</div></el-col>
|
217
|
|
- <el-col :span="6" v-if="isShows('穿刺针')"><div class="grid-content bg-purple">穿刺针:{{current_solution.puncture_needle}}</div></el-col>
|
218
|
|
- </el-row>
|
219
|
|
-
|
220
|
|
- <el-row :gutter="20">
|
221
|
|
- <el-col :span="6" v-if="isShows('穿刺针支数')"><div class="grid-content bg-purple">穿刺针支数:{{current_solution.puncture_needle_count}}</div></el-col>
|
222
|
|
- <el-col :span="6" v-if="isShows('促红素')"><div class="grid-content bg-purple">促红素:{{current_solution.epo_count}}</div></el-col>
|
223
|
|
- <el-col :span="6" v-if="isShows('促红素支数')"><div class="grid-content bg-purple">促红素支数:{{current_solution.epo_count}}</div></el-col>
|
224
|
|
- <el-col :span="6" v-if="isShows('最大超滤率')"><div class="grid-content bg-purple">最大超滤率(ml/h):{{current_solution.max_ultrafiltration_rate}}</div></el-col>
|
225
|
|
- </el-row>
|
226
|
|
- <el-row :gutter="20">
|
227
|
|
- <el-col :span="6" v-if="isShows('置换液') && (current_solution.mode_id == 2 || current_solution.mode_id == 5 || current_solution.mode_id == 12)"><div class="grid-content bg-purple">置换液:{{getDisplaceLiqui(current_solution.displace_liqui_part)}}</div></el-col>
|
228
|
|
- <el-col :span="6" v-if="isShows('置换液总量') && (current_solution.mode_id == 2 || current_solution.mode_id == 5 || current_solution.mode_id == 12)"><div class="grid-content bg-purple">置换液总量:{{current_solution.displace_liqui_value}}</div></el-col>
|
229
|
|
- </el-row>
|
230
|
|
- <el-row :gutter="20">
|
231
|
|
- <el-col :span="6" v-if="isShows('吸氧')"><div class="grid-content bg-purple">吸氧:
|
232
|
|
- <span v-if="current_solution.oxygen_uptake == 1">需</span>
|
233
|
|
- <span v-if="current_solution.oxygen_uptake == 2">无</span>
|
234
|
|
- </div></el-col>
|
235
|
|
- <el-col :span="6" v-if="isShows('吸氧') && current_solution.oxygen_uptake == 1"><div class="grid-content bg-purple">吸氧流量(L/分):{{current_solution.oxygen_flow}}</div></el-col>
|
236
|
|
- <el-col :span="6" v-if="isShows('吸氧') && current_solution.oxygen_uptake == 1"><div class="grid-content bg-purple">吸氧时长(h):{{current_solution.oxygen_time}}</div></el-col>
|
237
|
|
- </el-row>
|
238
|
|
- <el-row :gutter="20">
|
239
|
|
- <el-col :span="6"><div class="grid-content bg-purple">备注:{{current_solution.remark}}</div></el-col>
|
240
|
|
- </el-row>
|
241
|
|
- </div>
|
242
|
|
-
|
243
|
165
|
</div>
|
244
|
166
|
|
245
|
|
-
|
246
|
|
-
|
247
|
|
-
|
248
|
167
|
<el-dialog
|
249
|
168
|
:title="isEdit ? '编辑透析处方' : '新增透析处方'"
|
250
|
169
|
:visible.sync="dialogVisible"
|
|
@@ -523,19 +442,12 @@
|
523
|
442
|
<el-input v-model="addPlan.bicarbonate"></el-input>
|
524
|
443
|
</el-form-item>
|
525
|
444
|
</el-col>
|
526
|
|
- <!-- <el-col :span="8" v-if="isShows('葡萄糖')">
|
|
445
|
+ <el-col :span="8" v-if="isShows('葡萄糖')">
|
527
|
446
|
<el-form-item label="葡萄糖(mmol/L): " prop="glucose">
|
528
|
447
|
<el-input v-model="addPlan.glucose"></el-input>
|
529
|
448
|
</el-form-item>
|
530
|
|
- </el-col> -->
|
531
|
|
-
|
532
|
|
- <el-col :span="8" v-if="isShows('葡萄糖')">
|
533
|
|
- <el-form-item label="葡萄糖(mmol/L): " prop="amylaceum">
|
534
|
|
- <el-input v-model="addPlan.amylaceum"></el-input>
|
535
|
|
- </el-form-item>
|
536
|
449
|
</el-col>
|
537
|
450
|
|
538
|
|
-
|
539
|
451
|
<el-col :span="8" v-if="isShows('透析液流量')">
|
540
|
452
|
<el-form-item label="透析液流量(ml/min): " prop="dialysate_flow">
|
541
|
453
|
<el-input v-model="addPlan.dialysate_flow"></el-input>
|
|
@@ -625,6 +537,25 @@
|
625
|
537
|
</el-select>
|
626
|
538
|
</el-form-item>
|
627
|
539
|
|
|
540
|
+ <!-- <el-form-item
|
|
541
|
+ label="置换方式:"
|
|
542
|
+ v-if="
|
|
543
|
+ isShows('置换液') && (addPlan.mode == 2 || addPlan.mode == 5 || addPlan.mode == 12)
|
|
544
|
+ "
|
|
545
|
+ >
|
|
546
|
+ <el-select
|
|
547
|
+ v-model="addPlan.displace_liqui_part"
|
|
548
|
+ placeholder="请选择"
|
|
549
|
+ >
|
|
550
|
+ <el-option :key="0" label="请选择" :value="0"></el-option>
|
|
551
|
+ <el-option
|
|
552
|
+ v-for="(option, index) in displace_liqui_part_option"
|
|
553
|
+ :key="index"
|
|
554
|
+ :label="option.name"
|
|
555
|
+ :value="option.id"
|
|
556
|
+ ></el-option>
|
|
557
|
+ </el-select>
|
|
558
|
+ </el-form-item> -->
|
628
|
559
|
</el-col>
|
629
|
560
|
|
630
|
561
|
<el-col :span="8" v-if="isShows('置换液总量') && (addPlan.mode == 2 || addPlan.mode == 5 || addPlan.mode == 12)">
|
|
@@ -648,6 +579,8 @@
|
648
|
579
|
</el-form-item>
|
649
|
580
|
</el-col>
|
650
|
581
|
|
|
582
|
+ <!-- </el-row>
|
|
583
|
+ <el-row :gutter="20" > -->
|
651
|
584
|
<el-col :span="8" v-if="isShows('实际超滤量')">
|
652
|
585
|
<el-form-item label="实际超滤量(L)">
|
653
|
586
|
<el-input v-model="addPlan.ultrafiltration"></el-input>
|
|
@@ -796,118 +729,8 @@
|
796
|
729
|
v-on:dialog-comfirm="innerDialogComfirm"
|
797
|
730
|
v-on:dialog-cancle="innerDialogCancle">
|
798
|
731
|
</multi-select-box>
|
799
|
|
-
|
800
|
|
-
|
801
|
732
|
|
802
|
733
|
|
803
|
|
- <el-dialog
|
804
|
|
- :visible.sync="startDialogVisible"
|
805
|
|
- width="1010px"
|
806
|
|
- >
|
807
|
|
- <el-table
|
808
|
|
- ref="solutionTable"
|
809
|
|
- :data="tableList"
|
810
|
|
- border
|
811
|
|
- fit
|
812
|
|
- highlight-current-row
|
813
|
|
- :header-cell-style="{
|
814
|
|
- backgroundColor: 'rgb(245, 247, 250)',
|
815
|
|
- color: '#606266'
|
816
|
|
- }"
|
817
|
|
- :row-style="{ color: '#303133' }"
|
818
|
|
- style="width: 100%"
|
819
|
|
- >
|
820
|
|
- <el-table-column type="index" align="center" label="序号" width="60">
|
821
|
|
- </el-table-column>
|
822
|
|
- <el-table-column
|
823
|
|
- prop="mode_name"
|
824
|
|
- align="center"
|
825
|
|
- label="透析模式"
|
826
|
|
- min-width="50"
|
827
|
|
- >
|
828
|
|
- <template slot-scope="scope">
|
829
|
|
- {{modeOptions[scope.row.mode_id]?modeOptions[scope.row.mode_id].name:''}}
|
830
|
|
- </template>
|
831
|
|
- </el-table-column>
|
832
|
|
- <el-table-column
|
833
|
|
- prop="dialysis_duration"
|
834
|
|
- align="center"
|
835
|
|
- label="透析时长"
|
836
|
|
- min-width="50"
|
837
|
|
- >
|
838
|
|
- <template slot-scope="scope">
|
839
|
|
- {{ scope.row.dialysis_duration_hour }} 小时
|
840
|
|
- {{ scope.row.dialysis_duration_minute }} 分钟
|
841
|
|
- </template>
|
842
|
|
- </el-table-column>
|
843
|
|
-
|
844
|
|
- <el-table-column
|
845
|
|
- prop="doctor"
|
846
|
|
- label="医生"
|
847
|
|
- align="center"
|
848
|
|
- min-width="110"
|
849
|
|
- >
|
850
|
|
- <template slot-scope="scope">
|
851
|
|
- <span>{{ getAdminUserName(scope.row.registrars_id) }}</span>
|
852
|
|
- </template>
|
853
|
|
- </el-table-column>
|
854
|
|
-
|
855
|
|
- <el-table-column
|
856
|
|
- prop="created_time"
|
857
|
|
- align="center"
|
858
|
|
- label="创建日期"
|
859
|
|
- min-width="60"
|
860
|
|
- >
|
861
|
|
- <template slot-scope="scope">
|
862
|
|
- <span>{{ scope.row.created_time | parseTime("{y}-{m}-{d}") }}</span>
|
863
|
|
- </template>
|
864
|
|
- </el-table-column>
|
865
|
|
-
|
866
|
|
- <el-table-column
|
867
|
|
- prop="updated_time"
|
868
|
|
- align="center"
|
869
|
|
- label="更新日期"
|
870
|
|
- min-width="60"
|
871
|
|
- >
|
872
|
|
- <template slot-scope="scope">
|
873
|
|
- <span>{{ scope.row.updated_time | parseTime("{y}-{m}-{d}") }}</span>
|
874
|
|
- </template>
|
875
|
|
- </el-table-column>
|
876
|
|
- <el-table-column align="center" label="状态" width="60">
|
877
|
|
- <template slot-scope="scope">
|
878
|
|
- <span v-if="scope.row.solution_status == 1">生效</span>
|
879
|
|
- <span v-if="scope.row.solution_status == 2">失效</span>
|
880
|
|
- </template>
|
881
|
|
- </el-table-column>
|
882
|
|
- </el-table>
|
883
|
|
- <el-pagination
|
884
|
|
- align="right"
|
885
|
|
- @size-change="handleSizeChangeOne"
|
886
|
|
- @current-change="handleCurrentChangeOne"
|
887
|
|
- :current-page="pageOne"
|
888
|
|
- :page-sizes="[10, 20, 50, 100]"
|
889
|
|
- :page-size="10"
|
890
|
|
- background
|
891
|
|
- style="margin-top:20px;"
|
892
|
|
- layout="total, sizes, prev, pager, next, jumper"
|
893
|
|
- :total="totalOne"
|
894
|
|
- >
|
895
|
|
- </el-pagination>
|
896
|
|
- <span slot="footer" class="dialog-footer">
|
897
|
|
- <el-button
|
898
|
|
- type="primary"
|
899
|
|
- @click="startDialogVisible = false"
|
900
|
|
- >取消</el-button
|
901
|
|
- >
|
902
|
|
- <el-button
|
903
|
|
- type="primary"
|
904
|
|
- @click="startDialogVisible = false"
|
905
|
|
-
|
906
|
|
- >确定</el-button
|
907
|
|
- >
|
908
|
|
- </span>
|
909
|
|
- </el-dialog>
|
910
|
|
-
|
911
|
734
|
</div>
|
912
|
735
|
</template>
|
913
|
736
|
|
|
@@ -922,8 +745,7 @@ import {
|
922
|
745
|
editChildPatientDialysisSolution,
|
923
|
746
|
editDialysisSolutionDetail,
|
924
|
747
|
editPatientDialysisSolution,
|
925
|
|
- findePatientDialysisLongSolutions,
|
926
|
|
- getDialysisSolutionDetailList
|
|
748
|
+ fetchPatientDialysisSolutions
|
927
|
749
|
} from '@/api/patient'
|
928
|
750
|
|
929
|
751
|
import { getSystemPrescription } from '@/api/config'
|
|
@@ -1073,7 +895,7 @@ export default {
|
1073
|
895
|
epo:"",
|
1074
|
896
|
epo_count:"",
|
1075
|
897
|
max_ultrafiltration_rate:"",
|
1076
|
|
- amylaceum:"",
|
|
898
|
+
|
1077
|
899
|
},
|
1078
|
900
|
childPlan: {
|
1079
|
901
|
mode: '',
|
|
@@ -1209,13 +1031,6 @@ export default {
|
1209
|
1031
|
{id:2,name:"无"}
|
1210
|
1032
|
],
|
1211
|
1033
|
oxygenShow:false,
|
1212
|
|
- startDialogVisible:false,
|
1213
|
|
- tableList:[],
|
1214
|
|
- totalOne:0,
|
1215
|
|
- pageOne:1,
|
1216
|
|
- limitOne:10,
|
1217
|
|
- startShow:false,
|
1218
|
|
- solutionDetail:{},
|
1219
|
1034
|
}
|
1220
|
1035
|
},
|
1221
|
1036
|
watch: {
|
|
@@ -1381,8 +1196,6 @@ export default {
|
1381
|
1196
|
},
|
1382
|
1197
|
|
1383
|
1198
|
tableCurrentChange(current) {
|
1384
|
|
- console.log("current",current)
|
1385
|
|
- this.startShow = true
|
1386
|
1199
|
if (typeof current === 'undefined' || current == null) {
|
1387
|
1200
|
this.current_solution = {
|
1388
|
1201
|
id: 0,
|
|
@@ -1507,7 +1320,18 @@ export default {
|
1507
|
1320
|
duration: 2000
|
1508
|
1321
|
})
|
1509
|
1322
|
this.tableData.splice(index, 1)
|
1510
|
|
-
|
|
1323
|
+ // if (row.parent_id>0) {
|
|
1324
|
+ // this.tableData.splice(index,1);
|
|
1325
|
+ // }else {
|
|
1326
|
+ // var resetTableData = this.tableData;
|
|
1327
|
+ // this.tableData = [];
|
|
1328
|
+ // var that = this;
|
|
1329
|
+ // resetTableData.forEach(function(item, itemindex){
|
|
1330
|
+ // if (item.id != row.id && item.parent_id != row.id) {
|
|
1331
|
+ // that.tableData.push(item);
|
|
1332
|
+ // }
|
|
1333
|
+ // });
|
|
1334
|
+ // }
|
1511
|
1335
|
}
|
1512
|
1336
|
})
|
1513
|
1337
|
})
|
|
@@ -1662,12 +1486,10 @@ export default {
|
1662
|
1486
|
this.addPlan.dialysis_dialyszers = this.dialysis_dialyszers
|
1663
|
1487
|
this.addPlan.dialysis_irrigation = this.dialysis_irrigation
|
1664
|
1488
|
this.addPlan.mode_id = parseInt(this.addPlan.mode_id)
|
1665
|
|
- if(this.addPlan.mode!=2 && this.addPlan.mode!=5&&this.addPlan.mode!=12){
|
|
1489
|
+ if(this.addPlan.mode_id!=2 && this.addPlan.mode_id!=5&&this.addPlan.mode_id!=12){
|
1666
|
1490
|
this.addPlan.displace_liqui_part = 0
|
1667
|
1491
|
this.addPlan.displace_liqui_value = 0
|
1668
|
1492
|
}
|
1669
|
|
- console.log("this.addplan",this.addPlan)
|
1670
|
|
-
|
1671
|
1493
|
editPatientDialysisSolution(this.patientID,this.addPlan.id,this.addPlan, mode).then(response => {
|
1672
|
1494
|
if (response.data.state == 0) {
|
1673
|
1495
|
this.$message.error(response.data.msg)
|
|
@@ -1693,41 +1515,7 @@ export default {
|
1693
|
1515
|
// this.tableData[this.current_index].updated_time = response.data.data.solution.updated_time;
|
1694
|
1516
|
|
1695
|
1517
|
this.current_index = -1
|
1696
|
|
-
|
1697
|
|
- console.log("responsedd23332233223wo",response.data.data.solution)
|
1698
|
|
- this.current_solution.mode_name = response.data.data.solution.mode_name
|
1699
|
|
- this.current_solution.dialysis_duration_hour = response.data.data.solution.dialysis_duration_hour
|
1700
|
|
- this.current_solution.dialysis_duration_minute = response.data.data.solution.dialysis_duration_minute
|
1701
|
|
- this.current_solution.blood_flow_volume = response.data.data.solution.blood_flow_volume
|
1702
|
|
- this.current_solution.dialysate_formulation = response.data.data.solution.dialysate_formulation
|
1703
|
|
- this.current_solution.anticoagulant = response.data.data.solution.anticoagulant
|
1704
|
|
- this.current_solution.anticoagulant_shouji = response.data.data.solution.anticoagulant_shouji
|
1705
|
|
- this.current_solution.anticoagulant_weichi = response.data.data.solution.anticoagulant_weichi
|
1706
|
|
- this.current_solution.anticoagulant_zongliang = response.data.data.solution.anticoagulant_zongliang
|
1707
|
|
- this.current_solution.sodium =response.data.data.solution.sodium
|
1708
|
|
- this.current_solution.calcium = response.data.data.solution.calcium
|
1709
|
|
- this.current_solution.dialyzer_perfusion_apparatus = response.data.data.solution.dialyzer_perfusion_apparatus
|
1710
|
|
- this.current_solution.dialysis_dialyszers = response.data.data.solution.dialysis_dialyszers
|
1711
|
|
- this.current_solution.dialysis_irrigation = response.data.data.solution.dialysis_irrigation
|
1712
|
|
- this.current_solution.bicarbonate = response.data.data.solution.bicarbonate
|
1713
|
|
- this.current_solution.glucose = response.data.data.data.solution.glucose
|
1714
|
|
- this.current_solution.dialysate_flow = response.data.data.solution.dialysate_flow
|
1715
|
|
- this.current_solution.dialysate_temperature = response.data.data.solution.dialysate_temperature
|
1716
|
|
- this.current_solution.conductivity = response.data.data.solution.conductivity
|
1717
|
|
- this.current_solution.body_fluid = response.data.data.solution.body_fluid
|
1718
|
|
- this.current_solution.body_fluid_other = response.data.data.solution.body_fluid_other
|
1719
|
|
- this.current_solution.special_medicine = response.data.data.solution.special_medicine
|
1720
|
|
- this.current_solution.special_medicine_other = response.data.data.solution.special_medicine_other
|
1721
|
|
- this.current_solution.blood_access = response.data.data.solution.blood_access
|
1722
|
|
- this.current_solution.plasma_separator = response.data.data.solution.plasma_separator
|
1723
|
|
- this.current_solution.hemodialysis_pipelines = response.data.data.solution.hemodialysis_pipelines
|
1724
|
|
- this.current_solution.hemodialysis_pipelines_count = response.data.data.solution.hemodialysis_pipelines_count
|
1725
|
|
- this.current_solution.puncture_needle =response.data.data.solution.puncture_needle
|
1726
|
|
- this.current_solution.puncture_needle_count = response.data.solution.puncture_needle_count
|
1727
|
|
- this.current_solution.epo_count = response.data.data.solution.epo_count
|
1728
|
|
- this.current_solution.max_ultrafiltration_rate = response.data.data.solution.max_ultrafiltration_rate
|
1729
|
|
- this.current_solution.remark = response.data.data.solution.remark
|
1730
|
|
- this.FindePatientDialysisLongSolutions()
|
|
1518
|
+ this.fetchPatientDialysisSolutions()
|
1731
|
1519
|
return false
|
1732
|
1520
|
}
|
1733
|
1521
|
})
|
|
@@ -1769,7 +1557,7 @@ export default {
|
1769
|
1557
|
}
|
1770
|
1558
|
this.total += 1
|
1771
|
1559
|
// this.$refs[formName].resetFields()
|
1772
|
|
- this.FindePatientDialysisLongSolutions()
|
|
1560
|
+ this.fetchPatientDialysisSolutions()
|
1773
|
1561
|
return false
|
1774
|
1562
|
}
|
1775
|
1563
|
})
|
|
@@ -1781,22 +1569,14 @@ export default {
|
1781
|
1569
|
},
|
1782
|
1570
|
handleSizeChange(val) {
|
1783
|
1571
|
this.queryParams.limit = val
|
1784
|
|
- this.FindePatientDialysisLongSolutions()
|
|
1572
|
+ this.fetchPatientDialysisSolutions()
|
1785
|
1573
|
},
|
1786
|
1574
|
handleCurrentChange(val) {
|
1787
|
1575
|
this.queryParams.page = val
|
1788
|
|
- this.FindePatientDialysisLongSolutions()
|
1789
|
|
- },
|
1790
|
|
- handleSizeChangeOne(val) {
|
1791
|
|
- this.limitOne = val
|
1792
|
|
- this.getDialysisSolutionDetailList()
|
1793
|
|
- },
|
1794
|
|
- handleCurrentChangeOne(val) {
|
1795
|
|
- this.pageOne = val
|
1796
|
|
- this.getDialysisSolutionDetailList()
|
|
1576
|
+ this.fetchPatientDialysisSolutions()
|
1797
|
1577
|
},
|
1798
|
1578
|
openEdit(index, row) {
|
1799
|
|
-
|
|
1579
|
+ console.log("ro233344433344444444",row)
|
1800
|
1580
|
this.current_index = index
|
1801
|
1581
|
this.addPlan.id = row.id
|
1802
|
1582
|
this.addPlan.mode = row.mode_id
|
|
@@ -2101,8 +1881,8 @@ export default {
|
2101
|
1881
|
}
|
2102
|
1882
|
})
|
2103
|
1883
|
},
|
2104
|
|
- FindePatientDialysisLongSolutions() {
|
2105
|
|
- findePatientDialysisLongSolutions(this.queryParams).then(response => {
|
|
1884
|
+ fetchPatientDialysisSolutions() {
|
|
1885
|
+ fetchPatientDialysisSolutions(this.queryParams).then(response => {
|
2106
|
1886
|
if (response.data.state == 1) {
|
2107
|
1887
|
this.tableData = response.data.data.solutions
|
2108
|
1888
|
this.total = response.data.data.total
|
|
@@ -2164,7 +1944,7 @@ export default {
|
2164
|
1944
|
return false
|
2165
|
1945
|
}
|
2166
|
1946
|
this.anticoagulant = this.anticoagulantsConfit[thismode]
|
2167
|
|
- console.log("数据",this.anticoagulant)
|
|
1947
|
+
|
2168
|
1948
|
if(this.$store.getters.xt_user.template_info.template_id == 41 && this.addPlan.anticoagulant == 2 ){
|
2169
|
1949
|
this.addPlan.anticoagulant_zongliang = ""
|
2170
|
1950
|
this.addPlan.anticoagulant_zongliang = parseInt(this.addPlan.anticoagulant_shouji) + parseInt(this.addPlan.anticoagulant_weichi)
|
|
@@ -2191,10 +1971,12 @@ export default {
|
2191
|
1971
|
) {
|
2192
|
1972
|
return false
|
2193
|
1973
|
}
|
|
1974
|
+ // this.current_model = this.modeOptions[thismode];
|
2194
|
1975
|
this.addPlan.mode_name = this.modeOptions[thismode].name
|
2195
|
1976
|
const params = {
|
2196
|
1977
|
id: thismode
|
2197
|
1978
|
}
|
|
1979
|
+
|
2198
|
1980
|
getSystemPrescription(params).then(response => {
|
2199
|
1981
|
if (response.data.state == 1) {
|
2200
|
1982
|
var prescription = response.data.data.prescription
|
|
@@ -2378,141 +2160,6 @@ export default {
|
2378
|
2160
|
this.addPlan.oxygen_time = ""
|
2379
|
2161
|
}
|
2380
|
2162
|
},
|
2381
|
|
- toClick(val){
|
2382
|
|
- this.solutionDetail = val
|
2383
|
|
- var params = {
|
2384
|
|
- mode_id:val.mode_id,
|
2385
|
|
- patient_id:val.patient_id,
|
2386
|
|
- page:this.pageOne,
|
2387
|
|
- limit:this.limitOne,
|
2388
|
|
- }
|
2389
|
|
- getDialysisSolutionDetailList(params).then(response=>{
|
2390
|
|
- if(response.data.state == 1){
|
2391
|
|
- this.startDialogVisible = true
|
2392
|
|
- var list = response.data.data.list
|
2393
|
|
- this.totalOne = response.data.data.total
|
2394
|
|
- this.tableList = list
|
2395
|
|
- }
|
2396
|
|
- })
|
2397
|
|
- },
|
2398
|
|
- getDialysisSolutionDetailList(){
|
2399
|
|
- var params = {
|
2400
|
|
- mode_id:this.solutionDetail.mode_id,
|
2401
|
|
- patient_id:this.solutionDetail.patient_id,
|
2402
|
|
- page:this.pageOne,
|
2403
|
|
- limit:this.limitOne,
|
2404
|
|
- }
|
2405
|
|
- console.log("params2222222",params)
|
2406
|
|
- getDialysisSolutionDetailList(params).then(response=>{
|
2407
|
|
- if(response.data.state == 1){
|
2408
|
|
- var list = response.data.data.list
|
2409
|
|
- this.totalOne = 0
|
2410
|
|
- this.totalOne = response.data.data.total
|
2411
|
|
- this.tableList = []
|
2412
|
|
- this.tableList = list
|
2413
|
|
- }
|
2414
|
|
- })
|
2415
|
|
- },
|
2416
|
|
-
|
2417
|
|
- //修改
|
2418
|
|
- getDialysateFormulation(id){
|
2419
|
|
- var name = ""
|
2420
|
|
- for(let i=0;i<this.dialysate_formulation.length;i++){
|
2421
|
|
- if(id == this.dialysate_formulation[i].id){
|
2422
|
|
- name = this.dialysate_formulation[i].name
|
2423
|
|
- }
|
2424
|
|
- }
|
2425
|
|
- return name
|
2426
|
|
- },
|
2427
|
|
- getAnticoagulant(id){
|
2428
|
|
- var name = ""
|
2429
|
|
- if(id == 1){
|
2430
|
|
- name = "无肝素"
|
2431
|
|
- }
|
2432
|
|
- if(id == 2){
|
2433
|
|
- name = "普通肝素"
|
2434
|
|
- }
|
2435
|
|
- if(id == 3){
|
2436
|
|
- name = "低分子肝素"
|
2437
|
|
- }
|
2438
|
|
- if(id == 4){
|
2439
|
|
- name = "阿加曲班"
|
2440
|
|
- }
|
2441
|
|
- if(id == 5){
|
2442
|
|
- name ="枸橼酸钠"
|
2443
|
|
- }
|
2444
|
|
- if(id == 6){
|
2445
|
|
- name = "低分子肝素钙"
|
2446
|
|
- }
|
2447
|
|
- if(id == 7){
|
2448
|
|
- name = "低分子肝素钠"
|
2449
|
|
- }
|
2450
|
|
- if(id ==8){
|
2451
|
|
- name = "依诺肝素"
|
2452
|
|
- }
|
2453
|
|
- if(id ==9){
|
2454
|
|
- name = "达肝素"
|
2455
|
|
- }
|
2456
|
|
- if(id ==10){
|
2457
|
|
- name = "体外抗凝"
|
2458
|
|
- }
|
2459
|
|
- if(id ==11){
|
2460
|
|
- name = "那曲肝素"
|
2461
|
|
- }
|
2462
|
|
- if(id ==12){
|
2463
|
|
- name = "无抗凝剂"
|
2464
|
|
- }
|
2465
|
|
- if(id ==13){
|
2466
|
|
- name = "那曲肝素钙"
|
2467
|
|
- }
|
2468
|
|
- return name
|
2469
|
|
- },
|
2470
|
|
- getBodyFluid(id){
|
2471
|
|
- var name = ""
|
2472
|
|
- for(let i=0;i<this.body_fluid_option.length;i++){
|
2473
|
|
- if(id == this.body_fluid_option[i].id){
|
2474
|
|
- name = this.body_fluid_option[i].name
|
2475
|
|
- }
|
2476
|
|
- }
|
2477
|
|
- return name
|
2478
|
|
- },
|
2479
|
|
- getBloodAccess(id){
|
2480
|
|
- var name = ""
|
2481
|
|
- for(let i=0;i<this.blood_access_option.length;i++){
|
2482
|
|
- if(id == this.blood_access_option[i].id){
|
2483
|
|
- name = this.blood_access_option[i].name
|
2484
|
|
- }
|
2485
|
|
- }
|
2486
|
|
- return name
|
2487
|
|
- },
|
2488
|
|
- getHemodialysisPipelines(id){
|
2489
|
|
- console.log("管路",this.hemodialysisPipelinesOptions,id)
|
2490
|
|
- var name = ""
|
2491
|
|
- for(let i=0;i<this.hemodialysisPipelinesOptions.length;i++){
|
2492
|
|
- if(id == this.hemodialysisPipelinesOptions[i].id){
|
2493
|
|
- name = this.hemodialysisPipelinesOptions[i].name
|
2494
|
|
- }
|
2495
|
|
- }
|
2496
|
|
- return name
|
2497
|
|
- },
|
2498
|
|
- getDisplaceLiqui(id){
|
2499
|
|
- var name = ""
|
2500
|
|
- for(let i=0;i<this.displace_liqui_part_option.length;i++){
|
2501
|
|
- if(id == this.displace_liqui_part_option[i].id){
|
2502
|
|
- name = this.displace_liqui_part_option[i].name
|
2503
|
|
- }
|
2504
|
|
- }
|
2505
|
|
- return name
|
2506
|
|
- },
|
2507
|
|
- getSpecialMedicine(id){
|
2508
|
|
- var name = ""
|
2509
|
|
- for(let i=0;i<this.special_medicine_option.length;i++){
|
2510
|
|
- if(id == this.special_medicine_option[i].id){
|
2511
|
|
- name = this.special_medicine_option[i].name
|
2512
|
|
- }
|
2513
|
|
- }
|
2514
|
|
- return name
|
2515
|
|
- }
|
2516
|
2163
|
},
|
2517
|
2164
|
created() {
|
2518
|
2165
|
const id = this.$route.params && this.$route.params.id
|
|
@@ -2530,12 +2177,11 @@ export default {
|
2530
|
2177
|
|
2531
|
2178
|
this.GetDeviceData()
|
2532
|
2179
|
this.fetchAllAdminUsers()
|
2533
|
|
- this.FindePatientDialysisLongSolutions()
|
|
2180
|
+ this.fetchPatientDialysisSolutions()
|
2534
|
2181
|
this.modeOptions = this.$store.getters.treatment_mode
|
2535
|
2182
|
this.anticoagulantsSet = this.$store.getters.anticoagulants_set
|
2536
|
2183
|
this.replacementWays = this.$store.getters.replacement_ways
|
2537
|
2184
|
this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit
|
2538
|
|
-
|
2539
|
2185
|
this.blood_filters = this.$store.getters.blood_filters
|
2540
|
2186
|
this.perfusion_apparatus = this.$store.getters.perfusion_apparatus
|
2541
|
2187
|
this.hemodialysis_machines = this.$store.getters.hemodialysis_machines
|
|
@@ -2622,4 +2268,3 @@ export default {
|
2622
|
2268
|
background-color: #d0d3da;
|
2623
|
2269
|
}
|
2624
|
2270
|
</style>
|
2625
|
|
-
|