提交 dd72ea8d 编写于 作者: Yuanzhao.dai's avatar Yuanzhao.dai

fixed

上级 e1d26f95
......@@ -112,6 +112,7 @@ export default {
isShowChangeDialog: false,
statusForm: {},
selectFormShow: false,
ScaleData: {}
}
},
created() {
......@@ -204,12 +205,8 @@ export default {
},
goFormView(item) {
this.selectFormShow = false
this.$router.push({
name: 'formTemplate',
params: {
data: item
}
})
this.$router.push({path: '/followup/record-manage/form-template',
query: {doctorId: this.ScaleData.doctorId, scaleNo: item.resourceId, planPatientsTimesId: this.ScaleData.planPatientTimesId}});
},
closeForm() {
this.selectFormShow = false;
......@@ -219,13 +216,13 @@ export default {
//获取量表列表情况
if(this.formList.length > 1){
this.selectFormShow = true
}else if(this.formList.length === 1){
this.$router.push({
name: 'formTemplate',
params: {
data: this.formList[0]
this.ScaleData = {
doctorId: row.doctorId,
scaleNo: row.planPatientTimesId
}
})
}else if(this.formList.length === 1){
this.$router.push({path: '/followup/record-manage/form-template',
query: {doctorId: row.doctorId, scaleNo: item.resourceId, planPatientsTimesId: row.planPatientTimesId}})
}else {
this.$message.warning('暂不支持录入量表!')
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册