|
@@ -112,17 +112,16 @@
|
112
|
112
|
|
113
|
113
|
<div class="bottoms">
|
114
|
114
|
<span>评估人:</span>
|
115
|
|
- <el-select v-model="tumble" placeholder="请选择" >
|
|
115
|
+ <el-select v-model="tumble" placeholder="请选择" style="width:150px;">
|
116
|
116
|
<el-option
|
117
|
117
|
v-for="item in tumble_options"
|
118
|
118
|
:key="item.admin_user_id"
|
119
|
119
|
:label="item.user_name"
|
120
|
120
|
:value="item.admin_user_id"
|
121
|
|
- style="width:150px;">
|
|
121
|
+ >
|
122
|
122
|
</el-option>
|
123
|
123
|
</el-select>
|
124
|
124
|
</div>
|
125
|
|
-
|
126
|
125
|
</div>
|
127
|
126
|
<div style="margin:5px 10px;">
|
128
|
127
|
<el-button type="primary" @click="toDialog">确认</el-button>
|
|
@@ -199,11 +198,13 @@ export default {
|
199
|
198
|
dialogVisible:false,
|
200
|
199
|
text:'',
|
201
|
200
|
num:1,
|
202
|
|
- tumble_options:[],
|
|
201
|
+ tumble_options:[{admin_user_id:1,user_name:'小米'},{admin_user_id:2,user_name:'小明'},{admin_user_id:3,user_name:'小红'}],
|
|
202
|
+ // tumble_options:[],
|
203
|
203
|
tumble:'',
|
204
|
204
|
date:this.getTime(new Date()),
|
205
|
205
|
patient:'',
|
206
|
206
|
touxihao:0,
|
|
207
|
+ pedFallssessment:{},
|
207
|
208
|
}
|
208
|
209
|
},
|
209
|
210
|
created(){
|
|
@@ -213,6 +214,7 @@ export default {
|
213
|
214
|
},
|
214
|
215
|
methods:{
|
215
|
216
|
ageclick(e,item){
|
|
217
|
+ console.log(item);
|
216
|
218
|
for(let i in this.age){
|
217
|
219
|
if(this.age[i].value ==item.value){
|
218
|
220
|
if(this.age[i].check==0){
|
|
@@ -226,7 +228,7 @@ export default {
|
226
|
228
|
this.age[i].check =0
|
227
|
229
|
}
|
228
|
230
|
}
|
229
|
|
- console.log(this.age);
|
|
231
|
+ // console.log(this.age);
|
230
|
232
|
},
|
231
|
233
|
sexChange(e,item){
|
232
|
234
|
for(let i in this.sex){
|
|
@@ -310,8 +312,13 @@ export default {
|
310
|
312
|
},
|
311
|
313
|
// 历史评估
|
312
|
314
|
childerHistory(){
|
313
|
|
- this.$router.push({path: '/patients/Children_history?patient_id='+this.patient_id})
|
|
315
|
+ this.$router.push(
|
|
316
|
+ {path: '/patients/Children_history',
|
|
317
|
+ query:{patient_id:this.patient_id,
|
|
318
|
+ tumble_options:this.tumble_options}})
|
|
319
|
+ // this.$router.push({path: '/patients/Children_history?patient_id='+this.patient_id+'pedFallssessment='+this.pedFallssessment})
|
314
|
320
|
},
|
|
321
|
+ // 时间转换
|
315
|
322
|
getTime(val) {
|
316
|
323
|
if(val < 0){
|
317
|
324
|
return ""
|
|
@@ -325,14 +332,13 @@ export default {
|
325
|
332
|
toDialog(){
|
326
|
333
|
|
327
|
334
|
var params = {
|
328
|
|
- age:this.age,
|
329
|
|
- sex:this.sex,
|
330
|
|
- diagnosis:this.diagnosis,
|
331
|
|
- cognize:this.cognize,
|
332
|
|
- environment:this.environment,
|
333
|
|
- medicine:this.medicine,
|
|
335
|
+ age:this.agevalue,
|
|
336
|
+ sex:this.sexvalue,
|
|
337
|
+ diagnosis:this.diagnosis_val,
|
|
338
|
+ cognize:this.cognize_val,
|
|
339
|
+ environment:this.environment_val,
|
|
340
|
+ medicine:this.medicine_val,
|
334
|
341
|
pedia_Totalpoints:this.pedia_Totalpoints,
|
335
|
|
- tumble_options:this.tumble_options,
|
336
|
342
|
tumble:this.tumble,
|
337
|
343
|
date:this.date,
|
338
|
344
|
patient_id:this.patient_id,
|
|
@@ -342,6 +348,8 @@ export default {
|
342
|
348
|
savePediatrcFallAssesment(params).then(response=>{
|
343
|
349
|
if(response.data.state ==1){
|
344
|
350
|
var pedFallssessment = response.data.data.pedFallssessment
|
|
351
|
+ this.pedFallssessment = pedFallssessment
|
|
352
|
+ console.log('pedFallssessment',this.pedFallssessment);
|
345
|
353
|
this.$message.success("保存成功!")
|
346
|
354
|
}
|
347
|
355
|
})
|
|
@@ -349,9 +357,10 @@ export default {
|
349
|
357
|
getAllNurseList(){
|
350
|
358
|
getAllNurseList().then(response=>{
|
351
|
359
|
if(response.data.state ==1){
|
|
360
|
+ console.log('response.data.data',response.data.data);
|
352
|
361
|
var nurseList = response.data.data.nurseList
|
353
|
362
|
|
354
|
|
- this.tumble_options =nurseList
|
|
363
|
+ // this.tumble_options =nurseList
|
355
|
364
|
}
|
356
|
365
|
})
|
357
|
366
|
},
|