提交 f90ca934 编写于 作者: tao.wu's avatar tao.wu

no message

上级 5c291830
......@@ -75,17 +75,17 @@
}
// 0003 脑卒中、0002 糖尿病、0001 高血压
},
beforeRouteEnter (to, from, next) {
next(vm=>{
if(from.name=='planDetail'){
vm.breadTxt = '计划管理';
vm.jumPathThird = '/followup/plan-manage/plan-list'
}else{
vm.breadTxt = '录入管理';
vm.jumPathThird = '/followup/record-manage/record-list'
}
})
},
// beforeRouteEnter (to, from, next) {
// next(vm=>{
// if(from.name=='planDetail'){
// vm.breadTxt = '计划管理';
// vm.jumPathThird = '/followup/plan-manage/plan-list'
// }else{
// vm.breadTxt = '录入管理';
// vm.jumPathThird = '/followup/record-manage/record-list'
// }
// })
// },
}
</script>
......
......@@ -130,7 +130,13 @@
}
}
if(this.valid){
this.dataSubmit();
this.dataSubmit(()=>{
updateScalesStatus({
fuPlanPatientTimesId: this.planPatientsTimesId,
planTimesId: this.planTimesId,
resourceId: this.scaleNo
})
});
}
this.$emit('checkEnd',false);
}else{
......@@ -251,7 +257,7 @@
})
},
// 提交量表
dataSubmit(){
dataSubmit(callback){
// if(this.valid){
// console.log(this.formData)
this.formData.doctorId = parseFloat(this.doctorId);
......@@ -267,13 +273,9 @@
message: doMsg,
type: 'success'
});
updateScalesStatus({
fuPlanPatientTimesId: this.planPatientsTimesId,
planTimesId: this.planTimesId,
resourceId: this.scaleNo
});
if(callback){
callback();
}
setTimeout(()=>{
this.$router.push({
path: '/followup/record-manage/record-list'
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册