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

添加,量表页面需要的参数

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