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

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

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