|
@@ -30,61 +30,50 @@
|
30
|
30
|
width="55"
|
31
|
31
|
align="center">
|
32
|
32
|
</el-table-column>
|
33
|
|
- <el-table-column
|
34
|
|
- prop="time"
|
35
|
|
- label="评估日期"
|
36
|
|
- width=""
|
37
|
|
- align="center">
|
|
33
|
+ <el-table-column prop="time" label="评估日期" width="" align="center">
|
|
34
|
+ <template slot-scope="scope">
|
|
35
|
+ {{ getTime(scope.row.record_date) }}
|
|
36
|
+ </template>
|
38
|
37
|
</el-table-column>
|
39
|
|
- <el-table-column
|
40
|
|
- prop="ganzhi"
|
41
|
|
- label="感知"
|
42
|
|
- width=""
|
43
|
|
- align="center">
|
|
38
|
+ <el-table-column prop="ganzhi" label="感知" width="" align="center">
|
|
39
|
+ <template slot-scope="scope">
|
|
40
|
+ {{ scope.row.first_pingfen }}
|
|
41
|
+ </template>
|
44
|
42
|
</el-table-column>
|
45
|
|
- <el-table-column
|
46
|
|
- prop="shidu"
|
47
|
|
- label="潮湿"
|
48
|
|
- width=""
|
49
|
|
- align="center">
|
|
43
|
+ <el-table-column prop="shidu" label="潮湿" width="" align="center">
|
|
44
|
+ <template slot-scope="scope">
|
|
45
|
+ {{ scope.row.two_pingfen }}
|
|
46
|
+ </template>
|
50
|
47
|
</el-table-column>
|
51
|
|
- <el-table-column
|
52
|
|
- prop="huodong"
|
53
|
|
- label="活动能力"
|
54
|
|
- width=""
|
55
|
|
- align="center">
|
56
|
|
-
|
|
48
|
+ <el-table-column prop="huodong" label="活动能力" width="" align="center">
|
|
49
|
+ <template slot-scope="scope">
|
|
50
|
+ {{ scope.row.three_pingfen }}
|
|
51
|
+ </template>
|
57
|
52
|
</el-table-column>
|
58
|
|
- <el-table-column
|
59
|
|
- prop="yidong"
|
60
|
|
- label="移动能力"
|
61
|
|
- width=""
|
62
|
|
- align="center">
|
|
53
|
+ <el-table-column prop="yidong" label="移动能力" width="" align="center">
|
|
54
|
+ <template slot-scope="scope">
|
|
55
|
+ {{ scope.row.four_pingfen }}
|
|
56
|
+ </template>
|
63
|
57
|
</el-table-column>
|
64
|
|
- <el-table-column
|
65
|
|
- prop="yingyang"
|
66
|
|
- label="营养"
|
67
|
|
- width=""
|
68
|
|
- align="center">
|
|
58
|
+ <el-table-column prop="yingyang" label="营养" width="" align="center">
|
|
59
|
+ <template slot-scope="scope">
|
|
60
|
+ {{ scope.row.five_pingfen }}
|
|
61
|
+ </template>
|
69
|
62
|
</el-table-column>
|
70
|
|
- <el-table-column
|
71
|
|
- prop="mocha"
|
72
|
|
- label="摩擦力与剪切力"
|
73
|
|
- width=""
|
74
|
|
- align="center">
|
75
|
|
-
|
|
63
|
+ <el-table-column prop="mocha" label="摩擦力与剪切力" width="" align="center">
|
|
64
|
+ <template slot-scope="scope">
|
|
65
|
+ {{ scope.row.six_pingfen }}
|
|
66
|
+ </template>
|
76
|
67
|
</el-table-column>
|
77
|
|
- <el-table-column
|
78
|
|
- prop="mark"
|
79
|
|
- label="总分"
|
80
|
|
- width=""
|
81
|
|
- align="center">
|
|
68
|
+ <el-table-column prop="mark" label="总分" width="" align="center">
|
|
69
|
+ <template slot-scope="scope">
|
|
70
|
+ {{ scope.row.total }}
|
|
71
|
+ </template>
|
82
|
72
|
</el-table-column>
|
83
|
|
- <el-table-column
|
84
|
|
- prop="evaluate"
|
85
|
|
- label="评分护士"
|
86
|
|
- width=""
|
87
|
|
- align="center">
|
|
73
|
+ <el-table-column prop="evaluate" label="评分护士" width="" align="center">
|
|
74
|
+ <template slot-scope="scope">
|
|
75
|
+ {{ getAdminName(scope.row.admin_user_id) }}
|
|
76
|
+ </template>
|
88
|
77
|
</el-table-column>
|
89
|
78
|
<el-table-column
|
90
|
79
|
prop="address"
|
|
@@ -98,6 +87,16 @@
|
98
|
87
|
</template>
|
99
|
88
|
</el-table-column>
|
100
|
89
|
</el-table>
|
|
90
|
+ <el-pagination
|
|
91
|
+ @size-change="handleSizeChange"
|
|
92
|
+ @current-change="handleCurrentChange"
|
|
93
|
+ :page-sizes="[10, 20, 50, 100]"
|
|
94
|
+ :page-size="10"
|
|
95
|
+ background
|
|
96
|
+ style="margin-top:20px;float: right"
|
|
97
|
+ layout="total, sizes, prev, pager, next, jumper"
|
|
98
|
+ :total="total"
|
|
99
|
+ ></el-pagination>
|
101
|
100
|
</div>
|
102
|
101
|
</div>
|
103
|
102
|
|
|
@@ -117,8 +116,8 @@
|
117
|
116
|
<div style="width:100%;margin-top: 20px;">
|
118
|
117
|
<div style="text-align: center;"><h1>血液透析中心跌倒评估记录</h1></div>
|
119
|
118
|
<div style="margin-top: 20px;font-size: 16px;">
|
120
|
|
- <span>患者姓名:{{Patient_info.name}}</span>
|
121
|
|
- <span>透析号:{{Patient_info.dialysis_no}}</span>
|
|
119
|
+ <span>患者姓名:{{patients.name}}</span>
|
|
120
|
+ <span>透析号:{{patients.dialysis_no}}</span>
|
122
|
121
|
<span>打印时间:{{dayin}}</span>
|
123
|
122
|
</div>
|
124
|
123
|
<table class="tables" border="1" style="border-collapse:collapse;text-align:center;width:100%;font-size:16px">
|
|
@@ -133,16 +132,16 @@
|
133
|
132
|
<td style="width:100px">总分</td>
|
134
|
133
|
<td style="width:100px">评估护士</td>
|
135
|
134
|
</tr>
|
136
|
|
- <tr v-for="item in multipleSelection" >
|
137
|
|
- <td>{{item.time}}</td>
|
138
|
|
- <td>{{item.ganzhi}}</td>
|
139
|
|
- <td>{{item.shidu}}</td>
|
140
|
|
- <td>{{item.huodong}}</td>
|
141
|
|
- <td>{{item.yidong}}</td>
|
142
|
|
- <td>{{item.yingyang}}</td>
|
143
|
|
- <td>{{item.mocha}}</td>
|
144
|
|
- <td>{{item.mark}}</td>
|
145
|
|
- <td>{{item.evaluate}}</td>
|
|
135
|
+ <tr v-for="(item,index) in tablePrint" :key="index">
|
|
136
|
+ <td>{{getTime(item.record_date)}}</td>
|
|
137
|
+ <td>{{item.first_pingfen}}</td>
|
|
138
|
+ <td>{{item.two_pingfen}}</td>
|
|
139
|
+ <td>{{item.three_pingfen}}</td>
|
|
140
|
+ <td>{{item.four_pingfen}}</td>
|
|
141
|
+ <td>{{item.five_pingfen}}</td>
|
|
142
|
+ <td>{{item.six_pingfen}}</td>
|
|
143
|
+ <td>{{item.total}}</td>
|
|
144
|
+ <td>{{getAdminName(item.admin_user_id)}}</td>
|
146
|
145
|
</tr>
|
147
|
146
|
</table>
|
148
|
147
|
</div>
|
|
@@ -166,15 +165,15 @@
|
166
|
165
|
</div>
|
167
|
166
|
|
168
|
167
|
<div id="mingxi" >
|
169
|
|
- <div class="diedao_content" style="page-break-after: always;" v-for="items in multipleSelection">
|
170
|
|
- <div style="width:100%;margin-top: 20px;">
|
|
168
|
+ <div class="diedao_content" style="page-break-after: always;" v-for="(items,i) in tablePrint" :key="i">
|
|
169
|
+ <div style="width:100%;margin-top: 20px;" >
|
171
|
170
|
<div style="text-align: center;"><h1>血液透析中心跌倒评估记录</h1></div>
|
172
|
171
|
<div style="margin-top: 20px;font-size: 16px;">
|
173
|
|
- <span>患者姓名:{{Patient_info.name}}</span>
|
174
|
|
- <span>透析号:{{Patient_info.dialysis_no}}</span>
|
175
|
|
- <span>评估日期:{{items.time}}</span>
|
176
|
|
- <span>责任护士:{{items.evaluate}}</span>
|
177
|
|
- <span>评分:{{items.mark}}</span>
|
|
172
|
+ <span>患者姓名:{{patients.name}}</span>
|
|
173
|
+ <span>透析号:{{patients.dialysis_no}}</span>
|
|
174
|
+ <span>评估日期:{{getTime(items.record_date)}}</span>
|
|
175
|
+ <span>责任护士:{{getAdminName(items.admin_user_id)}}</span>
|
|
176
|
+ <span>评分:{{items.total}}</span>
|
178
|
177
|
</div>
|
179
|
178
|
<table class="tables" id="table" border="1" style="width: 100%;border-collapse: collapse;">
|
180
|
179
|
<thead>
|
|
@@ -208,7 +207,7 @@
|
208
|
207
|
<td>
|
209
|
208
|
没有改变<br>对其讲话有反应,机体没有对疼痛或不适的感觉确失
|
210
|
209
|
</td>
|
211
|
|
- <td>{{items.ganzhi}}</td>
|
|
210
|
+ <td>{{items.first_pingfen}}</td>
|
212
|
211
|
</tr>
|
213
|
212
|
<tr class="bg_color start">
|
214
|
213
|
<td class="start">
|
|
@@ -227,7 +226,7 @@
|
227
|
226
|
<td>
|
228
|
227
|
很少潮湿<br>皮肤通常是干的,只是按照常规换床单即可
|
229
|
228
|
</td>
|
230
|
|
- <td>{{items.shidu}}</td>
|
|
229
|
+ <td>{{items.two_pingfen}}</td>
|
231
|
230
|
</tr>
|
232
|
231
|
<tr class="start">
|
233
|
232
|
<td>
|
|
@@ -246,7 +245,7 @@
|
246
|
245
|
<td>
|
247
|
246
|
经常步行<br>每天至少2次室外行走,白天醒着的时候至少每2h行走一次
|
248
|
247
|
</td>
|
249
|
|
- <td>{{items.huodong}}</td>
|
|
248
|
+ <td>{{items.three_pingfen}}</td>
|
250
|
249
|
</tr>
|
251
|
250
|
<tr class="bg_color start">
|
252
|
251
|
<td>
|
|
@@ -265,7 +264,7 @@
|
265
|
264
|
<td>
|
266
|
265
|
不受限<br>能经常独立地改变躯体或四肢的位置,但变动幅度不大
|
267
|
266
|
</td>
|
268
|
|
- <td>{{items.yidong}}</td>
|
|
267
|
+ <td>{{items.four_pingfen}}</td>
|
269
|
268
|
</tr>
|
270
|
269
|
<tr class="start">
|
271
|
270
|
<td>
|
|
@@ -287,7 +286,7 @@
|
287
|
286
|
<td>
|
288
|
287
|
营养摄入良好<br>每餐能摄入绝大部分食物从来不拒绝食物,通常吃4份或更多的肉和乳制品,两餐间偶尔进食。不需要其他补充食物
|
289
|
288
|
</td>
|
290
|
|
- <td>{{items.yingyang}}</td>
|
|
289
|
+ <td>{{items.five_pingfen}}</td>
|
291
|
290
|
</tr>
|
292
|
291
|
<tr class="bg_color start">
|
293
|
292
|
<td>
|
|
@@ -306,52 +305,53 @@
|
306
|
305
|
能独立在床上或椅子上移动,并且有足够的肌肉力量在移动时完全抬空躯体。在床上和椅子上总是保持良好的位置
|
307
|
306
|
</td>
|
308
|
307
|
<td></td>
|
309
|
|
- <td>{{items.mocha}}</td>
|
|
308
|
+ <td>{{items.six_pingfen}}</td>
|
310
|
309
|
</tr>
|
311
|
310
|
</tbody>
|
312
|
311
|
</table>
|
313
|
312
|
</div>
|
314
|
|
- <div style="font-size: 16px;margin-bottom:20px">护理措施:{{gethuli(items.hulicuoshi)}}</div>
|
|
313
|
+ <div style="font-size: 16px;margin-bottom:20px">护理措施:{{items.text}}{{items.text_one}}</div>
|
315
|
314
|
<p style="margin: 10px 0;">说明:总分23分,15~18分为低危;13~14分为中危;10~12分为高危;≤9分为极高危</p>
|
316
|
315
|
<div style="margin-bottom: 20px;">
|
317
|
316
|
<p>患者知情同意书:我对住院期间发生导管脱落的风险及预防措施已知晓,并给予配合。</p>
|
318
|
317
|
<div class="zhuangui">
|
319
|
318
|
<p style="display: inline-block; margin-right: 70px;">
|
320
|
319
|
患者/家属签字:
|
321
|
|
- <span style="display: inline-block; border-bottom: 1px solid black;width: 50px;">{{items.jiashu}}</span>
|
|
320
|
+ <span style="display: inline-block; border-bottom: 1px solid black;width: 50px;">{{items.famaliy_sign}}</span>
|
322
|
321
|
</p>
|
323
|
322
|
<p style="display: inline-block;">
|
324
|
323
|
日期:
|
325
|
|
- <span style="display: inline-block; border-bottom: 1px solid black;width: 100px;">{{items.jiashu_date}}</span>
|
|
324
|
+ <span style="display: inline-block; border-bottom: 1px solid black;width: 100px;">{{getTime(items.record_date)}}</span>
|
326
|
325
|
</p>
|
327
|
326
|
</div>
|
328
|
327
|
<div class="zhuangui">
|
329
|
328
|
<span>转归:</span>
|
330
|
329
|
<div style="display: inline-block;position: relative;top: 0px;">
|
331
|
|
- <div class="jiange" v-for="item in zhuangui" style="display: inline-block;margin-right: 10px;">
|
332
|
|
- <label><input type="checkbox" :checked="item.id ==items.zhuang_show ? true: false" @click="zhuangcheck(item)" /> {{item.value}}</label>
|
|
330
|
+ <div class="jiange" style="display: inline-block;margin-right: 10px;">
|
|
331
|
+ <label><input type="checkbox" v-model="items.first_lapeso == 1"/>出院</label>
|
|
332
|
+ <label><input type="checkbox" v-model="items.two_lapeso == 1" />死亡</label>
|
|
333
|
+ <label><input type="checkbox" v-model="items.three_lapeso ==1"/>其他</label>
|
333
|
334
|
</div>
|
334
|
335
|
</div>
|
335
|
336
|
</div>
|
336
|
337
|
<div class="zhuangui">
|
337
|
338
|
<p style="display: inline-block; margin-right: 30px;">
|
338
|
339
|
评估人签字:
|
339
|
|
- <span style="display: inline-block; border-bottom: 1px solid black;width: 100px;">{{items.appraiser}}</span>
|
|
340
|
+ <span style="display: inline-block; border-bottom: 1px solid black;width: 100px;">{{items.ping_sign}}</span>
|
340
|
341
|
</p>
|
341
|
342
|
<p style="display: inline-block;">
|
342
|
343
|
日期:
|
343
|
|
- <span style="display: inline-block; border-bottom: 1px solid black;width: 100px;">{{items.pingg_date}}</span>
|
|
344
|
+ <span style="display: inline-block; border-bottom: 1px solid black;width: 100px;">{{getTime(items.ping_date)}}</span>
|
344
|
345
|
</p>
|
345
|
346
|
</div>
|
346
|
347
|
<div class="content_top">
|
347
|
348
|
<div class="zhuangui">
|
348
|
349
|
<p style="display: inline-block; margin-right: 30px;">
|
349
|
|
- 护士长签字:
|
350
|
|
- <span style="display: inline-block; border-bottom: 1px solid black;width: 100px;">{{items.nurse}}</span>
|
|
350
|
+ 护士长签字:{{items.leader_sign}}
|
351
|
351
|
</p>
|
352
|
352
|
<p style="display: inline-block;">
|
353
|
353
|
日期:
|
354
|
|
- <span style="display: inline-block; border-bottom: 1px solid black;width: 100px;">{{items.nurse_date}}</span>
|
|
354
|
+ <span style="display: inline-block; border-bottom: 1px solid black;width: 100px;">{{getTime(items.leader_date)}}</span>
|
355
|
355
|
</p>
|
356
|
356
|
</div>
|
357
|
357
|
</div>
|
|
@@ -365,7 +365,7 @@
|
365
|
365
|
</el-dialog>
|
366
|
366
|
<!-- 编辑 -->
|
367
|
367
|
<el-dialog
|
368
|
|
- title="提示"
|
|
368
|
+ title="编辑"
|
369
|
369
|
:visible.sync="editor_dialogVisible"
|
370
|
370
|
width="67%"
|
371
|
371
|
>
|
|
@@ -522,6 +522,12 @@
|
522
|
522
|
<tbody>
|
523
|
523
|
<tr>
|
524
|
524
|
<td rowspan="6" style="position: relative;vertical-align: top;">
|
|
525
|
+ <label><input name="ball" type="checkbox" v-model="first_check"/> 挂床头警示标识</label></br>
|
|
526
|
+ <label><input name="ball" type="checkbox" v-model="two_check"/> 保护受压皮肤,使用减压用具(气垫床/压疮床)</label></br>
|
|
527
|
+ <label><input name="ball" type="checkbox" v-model="three_check"/> 定时翻身,移动避免拖拉</label></br>
|
|
528
|
+ <label><input name="ball" type="checkbox" v-model="four_check"/> 加强营养</label></br>
|
|
529
|
+ <label><input name="ball" type="checkbox" v-model="five_check"/> 保持被衣物清洁舒适</label></br>
|
|
530
|
+ <label><input name="ball" type="checkbox" v-model="six_check"/> 其他</label></br>
|
525
|
531
|
<div class="jiange" v-for="item in hulicuoshi" >
|
526
|
532
|
<label><input name="ball" type="checkbox" v-model="item.is_check" @click="huli_check(item)" value="football" /> {{ item.label }}</label>
|
527
|
533
|
</div>
|
|
@@ -588,9 +594,9 @@
|
588
|
594
|
<el-select v-model="duty" placeholder="请选择" style="width:120px;">
|
589
|
595
|
<el-option
|
590
|
596
|
v-for="item in dutyoptions"
|
591
|
|
- :key="item.id"
|
592
|
|
- :label="item.label"
|
593
|
|
- :value="item.id"
|
|
597
|
+ :key="item.admin_user_id"
|
|
598
|
+ :label="item.user_name"
|
|
599
|
+ :value="item.admin_user_id"
|
594
|
600
|
>
|
595
|
601
|
</el-option>
|
596
|
602
|
</el-select>
|
|
@@ -620,8 +626,10 @@
|
620
|
626
|
<div class="zhuangui">
|
621
|
627
|
<span>转归:</span>
|
622
|
628
|
<div style="display: inline-block;position: relative;top: 0px;">
|
623
|
|
- <span v-for="item in zhuangui" style="display: inline-block;margin-right: 10px;">
|
624
|
|
- <label><input type="checkbox" v-model="item.is_check" @click="zhuangcheck(item)" />{{ item.value }}</label>
|
|
629
|
+ <span style="display: inline-block;margin-right: 10px;">
|
|
630
|
+ <label><input type="checkbox" v-model="first_lapeso"/>出院</label>
|
|
631
|
+ <label><input type="checkbox" v-model="two_lapeso" />死亡</label>
|
|
632
|
+ <label><input type="checkbox" v-model="three_lapeso"/>其他</label>
|
625
|
633
|
</span>
|
626
|
634
|
</div>
|
627
|
635
|
</div>
|
|
@@ -704,8 +712,8 @@
|
704
|
712
|
<script>
|
705
|
713
|
import print from 'print-js'
|
706
|
714
|
import { uParseTime } from '@/utils/tools'
|
707
|
|
-import {getAllNurseList,savePatientHpressuresore,getPatientBedlist,getPedPatientFallAssessmentById,
|
708
|
|
- deletePedPatientFallassment,updateBedPatientList} from '@/api/fallassement'
|
|
715
|
+import {getAllNurseList,savePatientHpressuresore,getPatientBedlist,
|
|
716
|
+ deletePedPatientFallassment,updatePatientBraden,getPatientBradenlist,getPatientBradenById,deletePatientBraden,getBatchPatientBraden} from '@/api/fallassement'
|
709
|
717
|
export default{
|
710
|
718
|
data(){
|
711
|
719
|
return{
|
|
@@ -733,7 +741,7 @@ export default{
|
733
|
741
|
date:this.getTime(new Date()),
|
734
|
742
|
huli_value:'',
|
735
|
743
|
family_date:this.getTime(new Date()),
|
736
|
|
- dutyoptions:[{id:1,label:'寒千落'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
|
|
744
|
+ dutyoptions:[],
|
737
|
745
|
duty:'',
|
738
|
746
|
family_member:'',
|
739
|
747
|
appraiser:'',
|
|
@@ -750,33 +758,112 @@ export default{
|
750
|
758
|
zhuang_show:'',//转归
|
751
|
759
|
press_zong:0,
|
752
|
760
|
row_id:0,
|
|
761
|
+ roleList:[],
|
753
|
762
|
dayin:this.getTime2(new Date()),
|
754
|
|
- hulicuoshi:[{id:1,label:'挂床头警示标识',hulicheck:0,is_check:false},{id:2,label:'保护受压皮肤,使用减压用具(气垫床/压疮床)',hulicheck:0,is_check:false},
|
755
|
|
- {id:3,label:'定时翻身,移动避免拖拉',hulicheck:0,is_check:false},{id:4,label:'加强营养',hulicheck:0,is_check:false},
|
756
|
|
- {id:5,label:'保持被衣物清洁舒适',hulicheck:0,is_check:false},{id:6,label:'其他',hulicheck:0,is_check:false}],
|
|
763
|
+ hulicuoshi:[],
|
|
764
|
+ total:0,
|
|
765
|
+ first_lapeso:"",
|
|
766
|
+ two_lapeso:"",
|
|
767
|
+ three_lapeso:"",
|
|
768
|
+ first_check:"",
|
|
769
|
+ two_check:"",
|
|
770
|
+ three_check:"",
|
|
771
|
+ four_check:"",
|
|
772
|
+ five_check:"",
|
|
773
|
+ six_check:"",
|
|
774
|
+ id:0,
|
|
775
|
+ ids:[],
|
|
776
|
+ tablePrint:[],
|
|
777
|
+ patients:{}
|
757
|
778
|
}
|
758
|
779
|
},
|
759
|
780
|
created(){
|
760
|
|
- this.patient_id = this.$route.query.patient_id
|
761
|
|
- this.Patient_info = this.$route.query.Patient_info
|
|
781
|
+ const id = this.$route.query.patient_id
|
|
782
|
+ console.log("id",id)
|
|
783
|
+ this.patientID = parseInt(id)
|
|
784
|
+
|
762
|
785
|
this.getlist()
|
763
|
786
|
},
|
764
|
787
|
methods:{
|
|
788
|
+ getAdminName(admin_user_id){
|
|
789
|
+ var user_name =""
|
|
790
|
+ for(let i=0;i<this.roleList.length;i++){
|
|
791
|
+ if(admin_user_id == this.roleList[i].admin_user_id){
|
|
792
|
+ user_name = this.roleList[i].user_name
|
|
793
|
+ }
|
|
794
|
+ }
|
|
795
|
+ return user_name
|
|
796
|
+ },
|
|
797
|
+ handleSizeChange(limit){
|
|
798
|
+ this.limit = limit
|
|
799
|
+ this.getlist()
|
|
800
|
+ },
|
|
801
|
+ handleCurrentChange(page){
|
|
802
|
+ this.page = page;
|
|
803
|
+ this.getlist();
|
|
804
|
+ },
|
765
|
805
|
// 返回
|
766
|
806
|
fanhui(){
|
767
|
807
|
window.history.go(-1);
|
768
|
808
|
},
|
769
|
809
|
// 选中条数
|
770
|
810
|
handleSelectionChange(val) {
|
|
811
|
+ console.log("val23323232",val)
|
771
|
812
|
this.multipleSelection = val;
|
772
|
|
- console.log('val',val);
|
|
813
|
+ if(val!=null && val.length>0){
|
|
814
|
+ for(let i=0;i<val.length;i++){
|
|
815
|
+ this.ids.push(val[i].id)
|
|
816
|
+ }
|
|
817
|
+ }
|
773
|
818
|
},
|
774
|
819
|
// 评分弹窗
|
775
|
820
|
open_pingfen(){
|
776
|
821
|
if(this.multipleSelection.length==0){
|
777
|
822
|
this.$message('至少选择一条数据')
|
778
|
823
|
}else{
|
779
|
|
- this.dialogVisible=true
|
|
824
|
+ var ids =this.ids.join(",")
|
|
825
|
+ var patient_id = this.patientID
|
|
826
|
+ getBatchPatientBraden(ids,patient_id).then(response=>{
|
|
827
|
+ if(response.data.state ==1){
|
|
828
|
+ var list = response.data.data.list
|
|
829
|
+
|
|
830
|
+ if(list!=null && list.length >0){
|
|
831
|
+ for(let i=0;i<list.length;i++){
|
|
832
|
+ var arr = JSON.parse(list[i].content)
|
|
833
|
+ list[i].text_one= ""
|
|
834
|
+ for(let j=0;j<arr.length;j++){
|
|
835
|
+ list[i].text_one +=arr[j].label+","
|
|
836
|
+ }
|
|
837
|
+ list[i].text = ""
|
|
838
|
+
|
|
839
|
+ if(list[i].first_check == 1){
|
|
840
|
+ list[i].text = "挂床头警示标识"+","
|
|
841
|
+ }
|
|
842
|
+ if(list[i].two_check == 1){
|
|
843
|
+ list[i].text = list[i].text+"保护受压皮肤,使用减压用具(气垫床/压疮床)"+","
|
|
844
|
+ }
|
|
845
|
+ if(list[i].three_check == 1){
|
|
846
|
+ list[i].text = list[i].text+"定时翻身,移动避免拖拉"+","
|
|
847
|
+ }
|
|
848
|
+ if(list[i].three_check == 1){
|
|
849
|
+ list[i].text = list[i].text+ "加强营养"+","
|
|
850
|
+ }
|
|
851
|
+ if(list[i].five_check == 1){
|
|
852
|
+ list[i].text = list[i].text+"保持被衣物清洁舒适"+","
|
|
853
|
+ }
|
|
854
|
+ if(list[i].six_check == 1){
|
|
855
|
+ list[i].text = list[i].text+ "其他"
|
|
856
|
+ }
|
|
857
|
+
|
|
858
|
+ }
|
|
859
|
+ }
|
|
860
|
+ console.log("list0000000",list)
|
|
861
|
+ this.tablePrint = list
|
|
862
|
+ this.patients = response.data.data.patients
|
|
863
|
+ this.dialogVisible=true
|
|
864
|
+ }
|
|
865
|
+ })
|
|
866
|
+
|
780
|
867
|
}
|
781
|
868
|
},
|
782
|
869
|
// 明细弹窗
|
|
@@ -784,79 +871,145 @@ export default{
|
784
|
871
|
if(this.multipleSelection.length==0){
|
785
|
872
|
this.$message('至少选择一条数据')
|
786
|
873
|
}else{
|
787
|
|
- this.mingxi_dialogVisible=true
|
|
874
|
+ var ids =this.ids.join(",")
|
|
875
|
+ var patient_id = this.patientID
|
|
876
|
+ getBatchPatientBraden(ids,patient_id).then(response=>{
|
|
877
|
+ if(response.data.state ==1){
|
|
878
|
+ var list = response.data.data.list
|
|
879
|
+
|
|
880
|
+ if(list!=null && list.length >0){
|
|
881
|
+ for(let i=0;i<list.length;i++){
|
|
882
|
+ var arr = JSON.parse(list[i].content)
|
|
883
|
+ list[i].text_one= ""
|
|
884
|
+ for(let j=0;j<arr.length;j++){
|
|
885
|
+ list[i].text_one +=arr[j].label+","
|
|
886
|
+ }
|
|
887
|
+ list[i].text = ""
|
|
888
|
+
|
|
889
|
+ if(list[i].first_check == 1){
|
|
890
|
+ list[i].text = "挂床头警示标识"+","
|
|
891
|
+ }
|
|
892
|
+ if(list[i].two_check == 1){
|
|
893
|
+ list[i].text = list[i].text+"保护受压皮肤,使用减压用具(气垫床/压疮床)"+","
|
|
894
|
+ }
|
|
895
|
+ if(list[i].three_check == 1){
|
|
896
|
+ list[i].text = list[i].text+"定时翻身,移动避免拖拉"+","
|
|
897
|
+ }
|
|
898
|
+ if(list[i].three_check == 1){
|
|
899
|
+ list[i].text = list[i].text+ "加强营养"+","
|
|
900
|
+ }
|
|
901
|
+ if(list[i].five_check == 1){
|
|
902
|
+ list[i].text = list[i].text+"保持被衣物清洁舒适"+","
|
|
903
|
+ }
|
|
904
|
+ if(list[i].six_check == 1){
|
|
905
|
+ list[i].text = list[i].text+ "其他"
|
|
906
|
+ }
|
|
907
|
+
|
|
908
|
+ }
|
|
909
|
+ }
|
|
910
|
+ console.log("list0000000",list)
|
|
911
|
+ this.tablePrint = list
|
|
912
|
+ this.patients = response.data.data.patients
|
|
913
|
+ this.mingxi_dialogVisible=true
|
|
914
|
+ }
|
|
915
|
+ })
|
|
916
|
+
|
788
|
917
|
}
|
789
|
918
|
},
|
790
|
919
|
// 编辑弹窗
|
791
|
920
|
open_editor(row){
|
792
|
921
|
this.row_id = row.id
|
793
|
|
- this.editor_dialogVisible =true
|
794
|
|
- getPedPatientFallAssessmentById(row.id).then(response =>{
|
|
922
|
+ getPatientBradenById(row.id).then(response =>{
|
795
|
923
|
if(response.data.state == 1){
|
796
|
|
- const press = response.data.data.fallassessment
|
|
924
|
+ var braden = response.data.data.braden
|
|
925
|
+ console.log("braden",braden)
|
|
926
|
+ this.dutyoptions = response.data.data.nurseList
|
|
927
|
+ if(braden.first_check == 1){
|
|
928
|
+ this.first_check =true
|
|
929
|
+ }else{
|
|
930
|
+ this.first_check = false
|
|
931
|
+ }
|
797
|
932
|
|
798
|
|
- for(let i in this.hulicuoshi){
|
799
|
|
- this.hulicuoshi[i].is_check = false
|
800
|
|
- this.hulicuoshi[i].hulicheck = 0
|
801
|
|
- this.hulicheckarr.length=0
|
|
933
|
+ if(braden.two_check == 1){
|
|
934
|
+ this.two_check =true
|
|
935
|
+ }else{
|
|
936
|
+ this.two_check = false
|
802
|
937
|
}
|
803
|
|
- if(press.text !=''){
|
804
|
|
- const text = JSON.parse(press.text)
|
805
|
|
- this.date = text.date
|
806
|
|
- this.ganzhi = text.ganzhi
|
807
|
|
- this.shidu = text.shidu
|
808
|
|
- this.huodong = text.huodong
|
809
|
|
- this.yidong = text.yidong
|
810
|
|
- this.yingyang = text.yingyang
|
811
|
|
- this.mocha = text.mocha
|
812
|
|
- this.mark = text.mark
|
813
|
|
- this.duty = text.duty
|
814
|
|
- // this.duty = this.getoptions(text.duty)
|
815
|
|
- this.family_member = text.jiashu
|
816
|
|
- this.family_date = text.jiashu_date
|
817
|
|
- this.appraiser = text.appraiser
|
818
|
|
- this.appraiser_date = text.pingg_date
|
819
|
|
- this.nurse = text.nurse
|
820
|
|
- this.nurse_date = text.nurse_date
|
821
|
|
- for(let i in this.hulicuoshi){
|
822
|
|
- for(let j in text.hulicuoshi){
|
823
|
|
- if(this.hulicuoshi[i].id == text.hulicuoshi[j]){
|
824
|
|
- this.hulicuoshi[i].is_check = true
|
825
|
|
- this.hulicuoshi[i].hulicheck = 1
|
826
|
|
- this.hulicheckarr.push(text.hulicuoshi[j])
|
827
|
|
- }
|
828
|
|
- }
|
829
|
|
- }
|
830
|
|
- this.zhuang_show = text.zhuang_show
|
831
|
|
- for(let i in this.zhuangui){
|
832
|
|
- if(this.zhuang_show == this.zhuangui[i].id){
|
833
|
|
- this.zhuangui[i].is_check =true
|
834
|
|
- this.zhuangui[i].check = 1
|
835
|
|
- }else{
|
836
|
|
- this.zhuangui[i].is_check =false
|
837
|
|
- this.zhuangui[i].check = 0
|
838
|
|
- }
|
839
|
|
- }
|
840
|
|
- // this.hulicheckarr = text.hulicuoshi
|
|
938
|
+
|
|
939
|
+ if(braden.three_check == 1){
|
|
940
|
+ this.three_check =true
|
|
941
|
+ }else{
|
|
942
|
+ this.three_check = false
|
|
943
|
+ }
|
|
944
|
+ if(braden.four_check == 1){
|
|
945
|
+ this.four_check =true
|
|
946
|
+ }else{
|
|
947
|
+ this.four_check = false
|
|
948
|
+ }
|
|
949
|
+ if(braden.five_check == 1){
|
|
950
|
+ this.five_check =true
|
|
951
|
+ }else{
|
|
952
|
+ this.five_check = false
|
|
953
|
+ }
|
|
954
|
+ if(braden.six_check == 1){
|
|
955
|
+ this.six_check =true
|
|
956
|
+ }else{
|
|
957
|
+ this.six_check = false
|
|
958
|
+ }
|
|
959
|
+ if(braden&&braden.content!=undefined){
|
|
960
|
+ var arr = JSON.parse(braden.content)
|
|
961
|
+ this.hulicuoshi = arr
|
|
962
|
+ }
|
|
963
|
+ this.id = braden.id
|
|
964
|
+ this.ganzhi =braden.first_pingfen
|
|
965
|
+ this.shidu = braden.two_pingfen
|
|
966
|
+ this.huodong = braden.three_pingfen
|
|
967
|
+ this.yidong = braden.four_pingfen
|
|
968
|
+ this.yingyang = braden.five_pingfen
|
|
969
|
+ this.mocha = braden.six_pingfen
|
|
970
|
+ this.mark = braden.total
|
|
971
|
+ this.family_member = braden.famaliy_sign
|
|
972
|
+ this.duty = braden.admin_user_id
|
|
973
|
+ this.nurse = braden.leader_sign
|
|
974
|
+ this.date = this.getTime(braden.record_date)
|
|
975
|
+ this.nurse_date = this.getTime(braden.leader_date)
|
|
976
|
+ this.appraiser_date =this.getTime(braden.ping_date)
|
|
977
|
+ this.appraiser = braden.ping_sign
|
|
978
|
+ if(braden.first_lapeso == 1){
|
|
979
|
+ this.first_lapeso = true
|
|
980
|
+ }else{
|
|
981
|
+ this.first_lapeso =false
|
|
982
|
+ }
|
|
983
|
+ if(braden.two_lapeso == 1){
|
|
984
|
+ this.two_lapeso = true
|
|
985
|
+ }else{
|
|
986
|
+ this.two_lapeso =false
|
|
987
|
+ }
|
|
988
|
+ if(braden.three_lapeso == 1){
|
|
989
|
+ this.three_lapeso = true
|
|
990
|
+ }else{
|
|
991
|
+ this.three_lapeso =false
|
841
|
992
|
}
|
|
993
|
+ console.log("this.first_lapeso",this.first_lapeso)
|
|
994
|
+ console.log("this.two_lapeso",this.two_lapeso)
|
|
995
|
+ console.log("this.three_lapeso",this.three_lapeso)
|
|
996
|
+ this.editor_dialogVisible =true
|
842
|
997
|
}
|
843
|
998
|
})
|
844
|
999
|
},
|
845
|
1000
|
// 删除弹窗
|
846
|
1001
|
open_delete(row){
|
|
1002
|
+ this.id = row.id
|
847
|
1003
|
this.row=row.id
|
848
|
1004
|
this.delete_centerDialogVisible=true
|
849
|
1005
|
},
|
850
|
1006
|
// 确认删除
|
851
|
1007
|
delete_press(){
|
852
|
|
- deletePedPatientFallassment(this.row).then(response =>{
|
|
1008
|
+ deletePatientBraden(this.id).then(response =>{
|
853
|
1009
|
if(response.data.state == 1){
|
854
|
|
- for(let i=0;i<this.tableData.length;i++){
|
855
|
|
- if(this.row==this.tableData[i].id){
|
856
|
|
- this.tableData.splice(i,1)
|
857
|
|
- }
|
858
|
|
- }
|
|
1010
|
+ var msg = response.data.data.msg
|
859
|
1011
|
this.$message({message:'删除成功',type:'success'})
|
|
1012
|
+ this.getlist()
|
860
|
1013
|
}
|
861
|
1014
|
})
|
862
|
1015
|
this.delete_centerDialogVisible=false
|
|
@@ -933,67 +1086,176 @@ export default{
|
933
|
1086
|
},
|
934
|
1087
|
// 确认
|
935
|
1088
|
Pressuresore(){
|
936
|
|
- const data = {}
|
937
|
|
- var list = []
|
938
|
|
- data['date'] = this.date
|
939
|
|
- data['ganzhi'] = this.ganzhi
|
940
|
|
- data['shidu'] = this.shidu
|
941
|
|
- data['huodong'] = this.huodong
|
942
|
|
- data['yidong'] = this.yidong
|
943
|
|
- data['yingyang'] = this.yingyang
|
944
|
|
- data['mocha'] = this.mocha
|
945
|
|
- data['mark'] = this.mark
|
946
|
|
- data['duty'] = this.duty
|
947
|
|
- data['jiashu'] = this.family_member
|
948
|
|
- data['jiashu_date'] = this.family_date
|
949
|
|
- data['appraiser'] = this.appraiser
|
950
|
|
- data['pingg_date'] = this.appraiser_date
|
951
|
|
- data['nurse'] = this.nurse
|
952
|
|
- data['nurse_date'] = this.nurse_date
|
953
|
|
- data['zhuang_show'] = this.zhuang_show
|
954
|
|
- data['hulicuoshi'] = this.hulicheckarr
|
955
|
|
- list.push(data)
|
|
1089
|
+ var is_first_lapeso= 2
|
|
1090
|
+ if(this.first_lapeso == true){
|
|
1091
|
+ is_first_lapeso =1
|
|
1092
|
+ }
|
|
1093
|
+ if(this.first_lapeso == false){
|
|
1094
|
+ is_first_lapeso =2
|
|
1095
|
+ }
|
|
1096
|
+
|
|
1097
|
+ var is_two_lapeso= 2
|
|
1098
|
+ if(this.two_lapeso == true){
|
|
1099
|
+ is_two_lapeso =1
|
|
1100
|
+ }
|
|
1101
|
+ if(this.two_lapeso == false){
|
|
1102
|
+ is_two_lapeso =2
|
|
1103
|
+ }
|
|
1104
|
+
|
|
1105
|
+ var is_three_lapeso = 2
|
|
1106
|
+ if(this.three_lapeso == true){
|
|
1107
|
+ is_three_lapeso =1
|
|
1108
|
+ }
|
|
1109
|
+ if(this.three_lapeso == false){
|
|
1110
|
+ is_three_lapeso =2
|
|
1111
|
+ }
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+ var is_first_check =2
|
|
1115
|
+
|
|
1116
|
+ if(this.first_check == true){
|
|
1117
|
+ is_first_check = 1
|
|
1118
|
+ }else{
|
|
1119
|
+ is_first_check =2
|
|
1120
|
+ }
|
|
1121
|
+
|
|
1122
|
+ var is_two_check =2
|
|
1123
|
+ if(this.two_check == true){
|
|
1124
|
+ is_two_check = 1
|
|
1125
|
+ }else{
|
|
1126
|
+ is_two_check =2
|
|
1127
|
+ }
|
|
1128
|
+
|
|
1129
|
+ var is_three_check =2
|
|
1130
|
+ if(this.three_check == true){
|
|
1131
|
+ is_three_check = 1
|
|
1132
|
+ }else{
|
|
1133
|
+ is_three_check =2
|
|
1134
|
+ }
|
|
1135
|
+
|
|
1136
|
+ var is_four_check =2
|
|
1137
|
+ if(this.four_check == true){
|
|
1138
|
+ is_four_check = 1
|
|
1139
|
+ }else{
|
|
1140
|
+ is_four_check =2
|
|
1141
|
+ }
|
|
1142
|
+
|
|
1143
|
+ var is_five_check =2
|
|
1144
|
+ if(this.five_check == true){
|
|
1145
|
+ is_five_check = 1
|
|
1146
|
+ }else{
|
|
1147
|
+ is_first_check =2
|
|
1148
|
+ }
|
|
1149
|
+
|
|
1150
|
+ var is_six_check =2
|
|
1151
|
+ if(this.six_check == true){
|
|
1152
|
+ is_six_check = 1
|
|
1153
|
+ }else{
|
|
1154
|
+ is_six_check =2
|
|
1155
|
+ }
|
|
1156
|
+
|
|
1157
|
+ if(this.hulicuoshi!=null && this.hulicuoshi.length>0){
|
|
1158
|
+ for(let i=0;i<this.hulicuoshi.length;i++){
|
|
1159
|
+ this.hulicuoshi[i].is_check_status=2
|
|
1160
|
+ if(this.hulicuoshi[i].is_check == true){
|
|
1161
|
+ this.hulicuoshi[i].is_check_status=1
|
|
1162
|
+ }
|
|
1163
|
+ if(this.hulicuoshi[i].is_check == false){
|
|
1164
|
+ this.hulicuoshi[i].is_check_status=2
|
|
1165
|
+ }
|
|
1166
|
+ }
|
|
1167
|
+ }
|
|
1168
|
+
|
|
1169
|
+ if(this.ganzhi>0){
|
|
1170
|
+ this.ganzhi = parseInt(this.ganzhi)
|
|
1171
|
+ }else{
|
|
1172
|
+ this.ganzhi =0
|
|
1173
|
+ }
|
|
1174
|
+
|
|
1175
|
+ if(this.shidu>0){
|
|
1176
|
+ this.shidu = parseInt(this.shidu)
|
|
1177
|
+ }else{
|
|
1178
|
+ this.shidu =0
|
|
1179
|
+ }
|
|
1180
|
+
|
|
1181
|
+ if(this.huodong>0){
|
|
1182
|
+ this.huodong = parseInt(this.huodong)
|
|
1183
|
+ }else{
|
|
1184
|
+ this.huodong =0
|
|
1185
|
+ }
|
|
1186
|
+
|
|
1187
|
+ if(this.yidong>0){
|
|
1188
|
+ this.yidong = parseInt(this.yidong)
|
|
1189
|
+ }else{
|
|
1190
|
+ this.yidong =0
|
|
1191
|
+ }
|
|
1192
|
+
|
|
1193
|
+ if(this.yingyang>0){
|
|
1194
|
+ this.yingyang = parseInt(this.yingyang)
|
|
1195
|
+ }else{
|
|
1196
|
+ this.yingyang =0
|
|
1197
|
+ }
|
|
1198
|
+
|
|
1199
|
+
|
|
1200
|
+ if(this.mocha>0){
|
|
1201
|
+ this.mocha = parseInt(this.mocha)
|
|
1202
|
+ }else{
|
|
1203
|
+ this.mocha =0
|
|
1204
|
+ }
|
|
1205
|
+ var obj = {}
|
|
1206
|
+ var newArr =[]
|
|
1207
|
+ console.log("护理措施",this.hulicuoshi)
|
|
1208
|
+ if(this.hulicuoshi!=null && this.hulicuoshi.length>0){
|
|
1209
|
+ for(let i=0;i<this.hulicuoshi.length;i++){
|
|
1210
|
+ obj.hulicheck = this.hulicuoshi[i].is_check
|
|
1211
|
+ obj.is_check = this.hulicuoshi[i].is_check
|
|
1212
|
+ obj.is_check_status = this.hulicuoshi[i].is_check_status
|
|
1213
|
+ obj.label = this.hulicuoshi[i].label
|
|
1214
|
+ newArr.push(obj)
|
|
1215
|
+ }
|
|
1216
|
+ }
|
|
1217
|
+ console.log("hhahha",this.hulicuoshi)
|
|
1218
|
+ var strarr = JSON.stringify(this.hulicuoshi)
|
956
|
1219
|
var params={
|
|
1220
|
+ id:this.id,
|
957
|
1221
|
patient_id:this.patientID,
|
958
|
1222
|
record_date:this.date,
|
959
|
|
- is_type:1,
|
960
|
|
- list:list,
|
961
|
|
- id:this.row_id
|
|
1223
|
+ list:newArr,
|
|
1224
|
+ first_pingfen:this.ganzhi,
|
|
1225
|
+ two_pingfen:this.shidu,
|
|
1226
|
+ three_pingfen:this.huodong,
|
|
1227
|
+ four_pingfen:this.yidong,
|
|
1228
|
+ five_pingfen:this.yingyang,
|
|
1229
|
+ six_pingfen:this.mocha,
|
|
1230
|
+ total:this.mark,
|
|
1231
|
+ admin_user_id:this.duty,
|
|
1232
|
+ famaliy_sign:this.family_member,
|
|
1233
|
+ first_lapeso:is_first_lapeso,
|
|
1234
|
+ two_lapeso:is_two_lapeso,
|
|
1235
|
+ three_lapeso:is_three_lapeso,
|
|
1236
|
+ ping_sign:this.appraiser,
|
|
1237
|
+ ping_date:this.appraiser_date,
|
|
1238
|
+ leader_sign:this.nurse,
|
|
1239
|
+ leader_date:this.nurse_date,
|
|
1240
|
+ list:strarr,
|
|
1241
|
+ first_check:is_first_check,
|
|
1242
|
+ two_check:is_two_check,
|
|
1243
|
+ three_check:is_three_check,
|
|
1244
|
+ four_check:is_four_check,
|
|
1245
|
+ five_check:is_five_check,
|
|
1246
|
+ six_check:is_six_check
|
962
|
1247
|
}
|
963
|
|
- updateBedPatientList(params).then(response =>{
|
|
1248
|
+ console.log('params----',params);
|
|
1249
|
+ updatePatientBraden(params).then(response =>{
|
964
|
1250
|
if(response.data.state ==1){
|
965
|
|
- const press = response.data.data.pedFallssessment
|
966
|
|
- console.log('press',press);
|
967
|
|
- const text = JSON.parse(press.text)
|
968
|
|
- for(let i in this.tableData){
|
969
|
|
- if(press.id == this.tableData[i].id){
|
970
|
|
- this.tableData[i].id = press.id,
|
971
|
|
- this.tableData[i].time = text.date,
|
972
|
|
- this.tableData[i].ganzhi = text.ganzhi,
|
973
|
|
- this.tableData[i].shidu = text.shidu,
|
974
|
|
- this.tableData[i].huodong = text.huodong,
|
975
|
|
- this.tableData[i].yidong = text.yidong,
|
976
|
|
- this.tableData[i].yingyang = text.yingyang,
|
977
|
|
- this.tableData[i].mocha = text.mocha,
|
978
|
|
- this.tableData[i].mark = text.mark,
|
979
|
|
- this.tableData[i].evaluate = this.getoptions(text.duty),
|
980
|
|
- this.tableData[i].jiashu = text.jiashu,
|
981
|
|
- this.tableData[i].jiashu_date = text.jiashu_date,
|
982
|
|
- this.tableData[i].appraiser = text.appraiser,
|
983
|
|
- this.tableData[i].pingg_date = text.pingg_date,
|
984
|
|
- this.tableData[i].nurse = text.nurse,
|
985
|
|
- this.tableData[i].nurse_date = text.nurse_date,
|
986
|
|
- this.tableData[i].zhuang_show = text.zhuang_show,
|
987
|
|
- this.tableData[i].hulicuoshi = text.hulicuoshi
|
988
|
|
- }
|
989
|
|
- }
|
990
|
1251
|
|
|
1252
|
+ this.editor_dialogVisible = false
|
|
1253
|
+ var xtPatientBraden = response.data.data.xtPatientBraden
|
|
1254
|
+ this.$message({message:'修改成功',type:'success'})
|
|
1255
|
+ this.getlist()
|
|
1256
|
+
|
991
|
1257
|
}
|
992
|
1258
|
})
|
993
|
|
- this.$message({message:'修改成功',type:'success'})
|
994
|
|
- this.editor_dialogVisible=false,
|
995
|
|
- console.log('33333',params);
|
996
|
|
- return this.tableData
|
997
|
1259
|
},
|
998
|
1260
|
// 转换时间
|
999
|
1261
|
getTime(val) {
|
|
@@ -1021,41 +1283,21 @@ export default{
|
1021
|
1283
|
var params = {
|
1022
|
1284
|
patient_id:this.patient_id,
|
1023
|
1285
|
limit:this.limit,
|
1024
|
|
- is_type:1,
|
1025
|
1286
|
page:this.page,
|
1026
|
1287
|
}
|
1027
|
|
- getPatientBedlist(params).then(response =>{
|
|
1288
|
+ getPatientBradenlist(params).then(response =>{
|
1028
|
1289
|
if(response.data.state ==1){
|
1029
|
|
- const list = response.data.data.list
|
1030
|
|
- list.forEach(item => {
|
1031
|
|
- if(item.text !=''){
|
1032
|
|
- const text =JSON.parse(item.text)
|
1033
|
|
- console.log('text',text);
|
1034
|
|
- const arr ={
|
1035
|
|
- id:item.id,
|
1036
|
|
- time:text.date,
|
1037
|
|
- ganzhi:text.ganzhi,
|
1038
|
|
- shidu:text.shidu,
|
1039
|
|
- huodong:text.huodong,
|
1040
|
|
- yidong:text.yidong,
|
1041
|
|
- yingyang:text.yingyang,
|
1042
|
|
- mocha:text.mocha,
|
1043
|
|
- mark:text.mark,
|
1044
|
|
- evaluate:this.getoptions(text.duty),
|
1045
|
|
- jiashu:text.jiashu,
|
1046
|
|
- jiashu_date:text.jiashu_date,
|
1047
|
|
- appraiser:text.appraiser,
|
1048
|
|
- pingg_date:text.pingg_date,
|
1049
|
|
- nurse:text.nurse,
|
1050
|
|
- nurse_date:text.nurse_date,
|
1051
|
|
- zhuang_show:text.zhuang_show,
|
1052
|
|
- hulicuoshi:text.hulicuoshi
|
1053
|
|
- }
|
1054
|
|
- this.tableData.push(arr)
|
1055
|
|
- }
|
1056
|
|
- });
|
1057
|
|
- console.log('11111',list);
|
|
1290
|
+ var list = response.data.data.list
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+ console.log("list--------",list)
|
|
1294
|
+ this.tableData = list
|
|
1295
|
+ var total = response.data.data.total
|
|
1296
|
+ this.total = total
|
|
1297
|
+ this.roleList = response.data.data.nurseList
|
1058
|
1298
|
}
|
|
1299
|
+
|
|
1300
|
+
|
1059
|
1301
|
})
|
1060
|
1302
|
},
|
1061
|
1303
|
// 评估人
|