|
@@ -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,99 +162,8 @@
|
140
|
162
|
:total="total"
|
141
|
163
|
>
|
142
|
164
|
</el-pagination>
|
143
|
|
-
|
144
|
|
- <div v-show="startShow">
|
145
|
|
- <el-row :gutter="20">
|
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"><div class="grid-content bg-purple">透析时长:{{current_solution.dialysis_duration_hour}}小时{{current_solution.dialysis_duration_minute}}分钟</div></el-col>
|
150
|
|
- <el-col :span="6"><div class="grid-content bg-purple">血流量(ml/min):{{current_solution.blood_flow_volume}}</div></el-col>
|
151
|
|
- <el-col :span="6"><div class="grid-content bg-purple">透析液配方:{{getDialysateFormulation(current_solution.dialysate_formulation)}}</div></el-col>
|
152
|
|
- <el-col :span="6"><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"><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"><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"><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"><div class="grid-content bg-purple">钠(mmol/L):{{current_solution.sodium}}</div></el-col>
|
188
|
|
- <el-col :span="6"><div class="grid-content bg-purple">钙:(mmol/L){{current_solution.calcium}}</div></el-col>
|
189
|
|
- <el-col :span="6"><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"><div class="grid-content bg-purple">透析器:{{current_solution.dialysis_dialyszers}}</div></el-col>
|
194
|
|
- <el-col :span="6"><div class="grid-content bg-purple">灌流器:{{current_solution.dialysis_irrigation}}</div></el-col>
|
195
|
|
- <el-col :span="6"><div class="grid-content bg-purple">碳酸氢盐(mmol/L):{{current_solution.bicarbonate}}</div></el-col>
|
196
|
|
- <el-col :span="6"><div class="grid-content bg-purple">葡萄糖(mmol/L):{{current_solution.glucose}}</div></el-col>
|
197
|
|
- </el-row>
|
198
|
|
-
|
199
|
|
- <el-row :gutter="20">
|
200
|
|
- <el-col :span="6"><div class="grid-content bg-purple">透析液流量(ml/min):{{current_solution.dialysate_flow}}</div></el-col>
|
201
|
|
- <el-col :span="6"><div class="grid-content bg-purple">透析液温度(℃):{{current_solution.dialysate_temperature}}</div></el-col>
|
202
|
|
- <el-col :span="6"><div class="grid-content bg-purple">电导度(mS/cm):{{current_solution.conductivity}}</div></el-col>
|
203
|
|
- <el-col :span="6"><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"><div class="grid-content bg-purple">体液过多其他症状:{{current_solution.body_fluid_other}}</div></el-col>
|
208
|
|
- <el-col :span="6"><div class="grid-content bg-purple">透析前使用特殊药物:{{current_solution.special_medicine}}</div></el-col>
|
209
|
|
- <el-col :span="6"><div class="grid-content bg-purple">使用其他特殊药物:{{current_solution.special_medicine_other}}</div></el-col>
|
210
|
|
- <el-col :span="6"><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"><div class="grid-content bg-purple">血浆分离器:{{current_solution.plasma_separator}}</div></el-col>
|
215
|
|
- <el-col :span="6"><div class="grid-content bg-purple">透析管路:{{getHemodialysisPipelines(current_solution.hemodialysis_pipelines)}}</div></el-col>
|
216
|
|
- <el-col :span="6"><div class="grid-content bg-purple">透析管路支数:{{current_solution.hemodialysis_pipelines_count}}</div></el-col>
|
217
|
|
- <el-col :span="6"><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"><div class="grid-content bg-purple">穿刺针支数:{{current_solution.puncture_needle_count}}</div></el-col>
|
222
|
|
- <el-col :span="6"><div class="grid-content bg-purple">促红素:{{current_solution.epo_count}}</div></el-col>
|
223
|
|
- <el-col :span="6"><div class="grid-content bg-purple">促红素支数:{{current_solution.epo_count}}</div></el-col>
|
224
|
|
- <el-col :span="6"><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"><div class="grid-content bg-purple">备注:{{current_solution.remark}}</div></el-col>
|
228
|
|
- </el-row>
|
229
|
|
- </div>
|
230
|
|
-
|
231
|
165
|
</div>
|
232
|
166
|
|
233
|
|
-
|
234
|
|
-
|
235
|
|
-
|
236
|
167
|
<el-dialog
|
237
|
168
|
:title="isEdit ? '编辑透析处方' : '新增透析处方'"
|
238
|
169
|
:visible.sync="dialogVisible"
|
|
@@ -606,6 +537,25 @@
|
606
|
537
|
</el-select>
|
607
|
538
|
</el-form-item>
|
608
|
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> -->
|
609
|
559
|
</el-col>
|
610
|
560
|
|
611
|
561
|
<el-col :span="8" v-if="isShows('置换液总量') && (addPlan.mode == 2 || addPlan.mode == 5 || addPlan.mode == 12)">
|
|
@@ -629,6 +579,8 @@
|
629
|
579
|
</el-form-item>
|
630
|
580
|
</el-col>
|
631
|
581
|
|
|
582
|
+ <!-- </el-row>
|
|
583
|
+ <el-row :gutter="20" > -->
|
632
|
584
|
<el-col :span="8" v-if="isShows('实际超滤量')">
|
633
|
585
|
<el-form-item label="实际超滤量(L)">
|
634
|
586
|
<el-input v-model="addPlan.ultrafiltration"></el-input>
|
|
@@ -777,118 +729,8 @@
|
777
|
729
|
v-on:dialog-comfirm="innerDialogComfirm"
|
778
|
730
|
v-on:dialog-cancle="innerDialogCancle">
|
779
|
731
|
</multi-select-box>
|
780
|
|
-
|
781
|
732
|
|
782
|
733
|
|
783
|
|
-
|
784
|
|
- <el-dialog
|
785
|
|
- :visible.sync="startDialogVisible"
|
786
|
|
- width="1010px"
|
787
|
|
- >
|
788
|
|
- <el-table
|
789
|
|
- ref="solutionTable"
|
790
|
|
- :data="tableList"
|
791
|
|
- border
|
792
|
|
- fit
|
793
|
|
- highlight-current-row
|
794
|
|
- :header-cell-style="{
|
795
|
|
- backgroundColor: 'rgb(245, 247, 250)',
|
796
|
|
- color: '#606266'
|
797
|
|
- }"
|
798
|
|
- :row-style="{ color: '#303133' }"
|
799
|
|
- style="width: 100%"
|
800
|
|
- >
|
801
|
|
- <el-table-column type="index" align="center" label="序号" width="60">
|
802
|
|
- </el-table-column>
|
803
|
|
- <el-table-column
|
804
|
|
- prop="mode_name"
|
805
|
|
- align="center"
|
806
|
|
- label="透析模式"
|
807
|
|
- min-width="50"
|
808
|
|
- >
|
809
|
|
- <template slot-scope="scope">
|
810
|
|
- {{modeOptions[scope.row.mode_id]?modeOptions[scope.row.mode_id].name:''}}
|
811
|
|
- </template>
|
812
|
|
- </el-table-column>
|
813
|
|
- <el-table-column
|
814
|
|
- prop="dialysis_duration"
|
815
|
|
- align="center"
|
816
|
|
- label="透析时长"
|
817
|
|
- min-width="50"
|
818
|
|
- >
|
819
|
|
- <template slot-scope="scope">
|
820
|
|
- {{ scope.row.dialysis_duration_hour }} 小时
|
821
|
|
- {{ scope.row.dialysis_duration_minute }} 分钟
|
822
|
|
- </template>
|
823
|
|
- </el-table-column>
|
824
|
|
-
|
825
|
|
- <el-table-column
|
826
|
|
- prop="doctor"
|
827
|
|
- label="医生"
|
828
|
|
- align="center"
|
829
|
|
- min-width="110"
|
830
|
|
- >
|
831
|
|
- <template slot-scope="scope">
|
832
|
|
- <span>{{ getAdminUserName(scope.row.registrars_id) }}</span>
|
833
|
|
- </template>
|
834
|
|
- </el-table-column>
|
835
|
|
-
|
836
|
|
- <el-table-column
|
837
|
|
- prop="created_time"
|
838
|
|
- align="center"
|
839
|
|
- label="创建日期"
|
840
|
|
- min-width="60"
|
841
|
|
- >
|
842
|
|
- <template slot-scope="scope">
|
843
|
|
- <span>{{ scope.row.created_time | parseTime("{y}-{m}-{d}") }}</span>
|
844
|
|
- </template>
|
845
|
|
- </el-table-column>
|
846
|
|
-
|
847
|
|
- <el-table-column
|
848
|
|
- prop="updated_time"
|
849
|
|
- align="center"
|
850
|
|
- label="更新日期"
|
851
|
|
- min-width="60"
|
852
|
|
- >
|
853
|
|
- <template slot-scope="scope">
|
854
|
|
- <span>{{ scope.row.updated_time | parseTime("{y}-{m}-{d}") }}</span>
|
855
|
|
- </template>
|
856
|
|
- </el-table-column>
|
857
|
|
- <el-table-column align="center" label="状态" width="60">
|
858
|
|
- <template slot-scope="scope">
|
859
|
|
- <span v-if="scope.row.solution_status == 1">生效</span>
|
860
|
|
- <span v-if="scope.row.solution_status == 2">失效</span>
|
861
|
|
- </template>
|
862
|
|
- </el-table-column>
|
863
|
|
- </el-table>
|
864
|
|
- <el-pagination
|
865
|
|
- align="right"
|
866
|
|
- @size-change="handleSizeChangeOne"
|
867
|
|
- @current-change="handleCurrentChangeOne"
|
868
|
|
- :current-page="pageOne"
|
869
|
|
- :page-sizes="[10, 20, 50, 100]"
|
870
|
|
- :page-size="10"
|
871
|
|
- background
|
872
|
|
- style="margin-top:20px;"
|
873
|
|
- layout="total, sizes, prev, pager, next, jumper"
|
874
|
|
- :total="totalOne"
|
875
|
|
- >
|
876
|
|
- </el-pagination>
|
877
|
|
- <span slot="footer" class="dialog-footer">
|
878
|
|
- <el-button
|
879
|
|
- type="primary"
|
880
|
|
- @click="startDialogVisible = false"
|
881
|
|
- >取消</el-button
|
882
|
|
- >
|
883
|
|
- <el-button
|
884
|
|
- type="primary"
|
885
|
|
- @click="startDialogVisible = false"
|
886
|
|
-
|
887
|
|
- >确定</el-button
|
888
|
|
- >
|
889
|
|
- </span>
|
890
|
|
- </el-dialog>
|
891
|
|
-
|
892
|
734
|
</div>
|
893
|
735
|
</template>
|
894
|
736
|
|
|
@@ -903,8 +745,7 @@ import {
|
903
|
745
|
editChildPatientDialysisSolution,
|
904
|
746
|
editDialysisSolutionDetail,
|
905
|
747
|
editPatientDialysisSolution,
|
906
|
|
- findePatientDialysisLongSolutions,
|
907
|
|
- getDialysisSolutionDetailList
|
|
748
|
+ fetchPatientDialysisSolutions
|
908
|
749
|
} from '@/api/patient'
|
909
|
750
|
|
910
|
751
|
import { getSystemPrescription } from '@/api/config'
|
|
@@ -1190,12 +1031,6 @@ export default {
|
1190
|
1031
|
{id:2,name:"无"}
|
1191
|
1032
|
],
|
1192
|
1033
|
oxygenShow:false,
|
1193
|
|
- startDialogVisible:false,
|
1194
|
|
- tableList:[],
|
1195
|
|
- totalOne:0,
|
1196
|
|
- pageOne:1,
|
1197
|
|
- limitOne:10,
|
1198
|
|
- startShow:false,
|
1199
|
1034
|
}
|
1200
|
1035
|
},
|
1201
|
1036
|
watch: {
|
|
@@ -1361,8 +1196,6 @@ export default {
|
1361
|
1196
|
},
|
1362
|
1197
|
|
1363
|
1198
|
tableCurrentChange(current) {
|
1364
|
|
- console.log("current",current)
|
1365
|
|
- this.startShow = true
|
1366
|
1199
|
if (typeof current === 'undefined' || current == null) {
|
1367
|
1200
|
this.current_solution = {
|
1368
|
1201
|
id: 0,
|
|
@@ -1487,7 +1320,18 @@ export default {
|
1487
|
1320
|
duration: 2000
|
1488
|
1321
|
})
|
1489
|
1322
|
this.tableData.splice(index, 1)
|
1490
|
|
-
|
|
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
|
+ // }
|
1491
|
1335
|
}
|
1492
|
1336
|
})
|
1493
|
1337
|
})
|
|
@@ -1671,7 +1515,7 @@ export default {
|
1671
|
1515
|
// this.tableData[this.current_index].updated_time = response.data.data.solution.updated_time;
|
1672
|
1516
|
|
1673
|
1517
|
this.current_index = -1
|
1674
|
|
- this.FindePatientDialysisLongSolutions()
|
|
1518
|
+ this.fetchPatientDialysisSolutions()
|
1675
|
1519
|
return false
|
1676
|
1520
|
}
|
1677
|
1521
|
})
|
|
@@ -1713,7 +1557,7 @@ export default {
|
1713
|
1557
|
}
|
1714
|
1558
|
this.total += 1
|
1715
|
1559
|
// this.$refs[formName].resetFields()
|
1716
|
|
- this.FindePatientDialysisLongSolutions()
|
|
1560
|
+ this.fetchPatientDialysisSolutions()
|
1717
|
1561
|
return false
|
1718
|
1562
|
}
|
1719
|
1563
|
})
|
|
@@ -1725,23 +1569,11 @@ export default {
|
1725
|
1569
|
},
|
1726
|
1570
|
handleSizeChange(val) {
|
1727
|
1571
|
this.queryParams.limit = val
|
1728
|
|
- this.FindePatientDialysisLongSolutions()
|
1729
|
|
- },
|
1730
|
|
- handleCurrentChange(val) {
|
1731
|
|
- this.queryParams.page = val
|
1732
|
|
- this.FindePatientDialysisLongSolutions()
|
1733
|
|
- },
|
1734
|
|
- handleSizeChangeOne(val) {
|
1735
|
|
- this.queryParams.limit = val
|
1736
|
|
- this.FindePatientDialysisLongSolutions()
|
|
1572
|
+ this.fetchPatientDialysisSolutions()
|
1737
|
1573
|
},
|
1738
|
1574
|
handleCurrentChange(val) {
|
1739
|
1575
|
this.queryParams.page = val
|
1740
|
|
- this.FindePatientDialysisLongSolutions()
|
1741
|
|
- },
|
1742
|
|
- handleCurrentChangeOne(val) {
|
1743
|
|
- this.queryParams.page = val
|
1744
|
|
- this.FindePatientDialysisLongSolutions()
|
|
1576
|
+ this.fetchPatientDialysisSolutions()
|
1745
|
1577
|
},
|
1746
|
1578
|
openEdit(index, row) {
|
1747
|
1579
|
console.log("ro233344433344444444",row)
|
|
@@ -2049,8 +1881,8 @@ export default {
|
2049
|
1881
|
}
|
2050
|
1882
|
})
|
2051
|
1883
|
},
|
2052
|
|
- FindePatientDialysisLongSolutions() {
|
2053
|
|
- findePatientDialysisLongSolutions(this.queryParams).then(response => {
|
|
1884
|
+ fetchPatientDialysisSolutions() {
|
|
1885
|
+ fetchPatientDialysisSolutions(this.queryParams).then(response => {
|
2054
|
1886
|
if (response.data.state == 1) {
|
2055
|
1887
|
this.tableData = response.data.data.solutions
|
2056
|
1888
|
this.total = response.data.data.total
|
|
@@ -2139,10 +1971,12 @@ export default {
|
2139
|
1971
|
) {
|
2140
|
1972
|
return false
|
2141
|
1973
|
}
|
|
1974
|
+ // this.current_model = this.modeOptions[thismode];
|
2142
|
1975
|
this.addPlan.mode_name = this.modeOptions[thismode].name
|
2143
|
1976
|
const params = {
|
2144
|
1977
|
id: thismode
|
2145
|
1978
|
}
|
|
1979
|
+
|
2146
|
1980
|
getSystemPrescription(params).then(response => {
|
2147
|
1981
|
if (response.data.state == 1) {
|
2148
|
1982
|
var prescription = response.data.data.prescription
|
|
@@ -2326,103 +2160,6 @@ export default {
|
2326
|
2160
|
this.addPlan.oxygen_time = ""
|
2327
|
2161
|
}
|
2328
|
2162
|
},
|
2329
|
|
- toClick(val){
|
2330
|
|
- var params = {
|
2331
|
|
- mode_id:val.mode_id,
|
2332
|
|
- patient_id:val.patient_id,
|
2333
|
|
- page:this.pageOne,
|
2334
|
|
- limit:this.limitOne,
|
2335
|
|
- }
|
2336
|
|
- getDialysisSolutionDetailList(params).then(response=>{
|
2337
|
|
- if(response.data.state == 1){
|
2338
|
|
- this.startDialogVisible = true
|
2339
|
|
- var list = response.data.data.list
|
2340
|
|
- this.totalOne = response.data.data.total
|
2341
|
|
- this.tableList = list
|
2342
|
|
- }
|
2343
|
|
- })
|
2344
|
|
- },
|
2345
|
|
-
|
2346
|
|
- //修改
|
2347
|
|
- getDialysateFormulation(id){
|
2348
|
|
- var name = ""
|
2349
|
|
- for(let i=0;i<this.dialysate_formulation.length;i++){
|
2350
|
|
- if(id == this.dialysate_formulation[i].id){
|
2351
|
|
- name = this.dialysate_formulation[i].name
|
2352
|
|
- }
|
2353
|
|
- }
|
2354
|
|
- return name
|
2355
|
|
- },
|
2356
|
|
- getAnticoagulant(id){
|
2357
|
|
- var name = ""
|
2358
|
|
- if(id == 1){
|
2359
|
|
- name = "无肝素"
|
2360
|
|
- }
|
2361
|
|
- if(id == 2){
|
2362
|
|
- name = "普通肝素"
|
2363
|
|
- }
|
2364
|
|
- if(id == 3){
|
2365
|
|
- name = "低分子肝素"
|
2366
|
|
- }
|
2367
|
|
- if(id == 4){
|
2368
|
|
- name = "阿加曲班"
|
2369
|
|
- }
|
2370
|
|
- if(id == 5){
|
2371
|
|
- name ="枸橼酸钠"
|
2372
|
|
- }
|
2373
|
|
- if(id == 6){
|
2374
|
|
- name = "低分子肝素钙"
|
2375
|
|
- }
|
2376
|
|
- if(id == 7){
|
2377
|
|
- name = "低分子肝素钠"
|
2378
|
|
- }
|
2379
|
|
- if(id ==8){
|
2380
|
|
- name = "依诺肝素"
|
2381
|
|
- }
|
2382
|
|
- if(id ==9){
|
2383
|
|
- name = "达肝素"
|
2384
|
|
- }
|
2385
|
|
- if(id ==10){
|
2386
|
|
- name = "体外抗凝"
|
2387
|
|
- }
|
2388
|
|
- if(id ==11){
|
2389
|
|
- name = "那曲肝素"
|
2390
|
|
- }
|
2391
|
|
- if(id ==12){
|
2392
|
|
- name = "无抗凝剂"
|
2393
|
|
- }
|
2394
|
|
- if(id ==13){
|
2395
|
|
- name = "那曲肝素钙"
|
2396
|
|
- }
|
2397
|
|
- return name
|
2398
|
|
- },
|
2399
|
|
- getBodyFluid(id){
|
2400
|
|
- var name = ""
|
2401
|
|
- for(let i=0;i<this.body_fluid_option.length;i++){
|
2402
|
|
- if(id == this.body_fluid_option[i].id){
|
2403
|
|
- name = this.body_fluid_option[i].name
|
2404
|
|
- }
|
2405
|
|
- }
|
2406
|
|
- return name
|
2407
|
|
- },
|
2408
|
|
- getBloodAccess(id){
|
2409
|
|
- var name = ""
|
2410
|
|
- for(let i=0;i<this.blood_access_option.length;i++){
|
2411
|
|
- if(id == this.blood_access_option[i].id){
|
2412
|
|
- name = this.blood_access_option[i].name
|
2413
|
|
- }
|
2414
|
|
- }
|
2415
|
|
- return name
|
2416
|
|
- },
|
2417
|
|
- getHemodialysisPipelines(id){
|
2418
|
|
- var name = ""
|
2419
|
|
- for(let i=0;i<this.hemodialysisPipelinesOptions.length;i++){
|
2420
|
|
- if(id == this.hemodialysisPipelinesOptions[i].id){
|
2421
|
|
- name = this.hemodialysisPipelinesOptions[i].name
|
2422
|
|
- }
|
2423
|
|
- }
|
2424
|
|
- return name
|
2425
|
|
- }
|
2426
|
2163
|
},
|
2427
|
2164
|
created() {
|
2428
|
2165
|
const id = this.$route.params && this.$route.params.id
|
|
@@ -2440,7 +2177,7 @@ export default {
|
2440
|
2177
|
|
2441
|
2178
|
this.GetDeviceData()
|
2442
|
2179
|
this.fetchAllAdminUsers()
|
2443
|
|
- this.FindePatientDialysisLongSolutions()
|
|
2180
|
+ this.fetchPatientDialysisSolutions()
|
2444
|
2181
|
this.modeOptions = this.$store.getters.treatment_mode
|
2445
|
2182
|
this.anticoagulantsSet = this.$store.getters.anticoagulants_set
|
2446
|
2183
|
this.replacementWays = this.$store.getters.replacement_ways
|
|
@@ -2531,3 +2268,4 @@ export default {
|
2531
|
2268
|
background-color: #d0d3da;
|
2532
|
2269
|
}
|
2533
|
2270
|
</style>
|
|
2271
|
+
|