diff --git a/src/views/business/study/comp/tbbd/Bj.vue b/src/views/business/study/comp/tbbd/Bj.vue index f4fde38..c9bf17e 100644 --- a/src/views/business/study/comp/tbbd/Bj.vue +++ b/src/views/business/study/comp/tbbd/Bj.vue @@ -607,7 +607,7 @@ export default { this.showIndex = 1 this.$modal.loading() study_info({ id: params.studyId }).then(response => { - this.form = _.merge({}, this.form, { stydyId: params.studyId, resourceStudy: response.data.resource, sftb: 1 }) + this.form = _.merge({}, this.form, { studySubjectId:params.studySubjectId,studyId: params.studyId, resourceStudy: response.data.resource, sftb: 1 }) this.templateData = deepClone(this.form) const obj = Object.assign({}, this.$route, { title: this.$t('page.business.study.studyFormFill.xzbd') }) this.$tab.updatePage(obj); diff --git a/src/views/business/study/comp/tbbdList.vue b/src/views/business/study/comp/tbbdList.vue index a57684c..c15ddd8 100644 --- a/src/views/business/study/comp/tbbdList.vue +++ b/src/views/business/study/comp/tbbdList.vue @@ -433,6 +433,7 @@ export default { studyType: 1, studyFormType:5, selectedDeptId:this.selectedDeptId, + studySubjectId: this.searchForm.studySubjectId, id: null })) this.$tab.openPage(this.$t('page.business.study.studyFormFill.xzbd'), '/study/formFillBj/' + params) @@ -455,6 +456,7 @@ export default { studyId: this.searchForm.studyId, studyType: 1, studyFormType:5, + studySubjectId: this.searchForm.studySubjectId, selectedDeptId:this.selectedDeptId, formId: row.id }))