diff --git a/src/views/business/study/comp/tbbd/Bj.vue b/src/views/business/study/comp/tbbd/Bj.vue index ed0db28..4c671a7 100644 --- a/src/views/business/study/comp/tbbd/Bj.vue +++ b/src/views/business/study/comp/tbbd/Bj.vue @@ -363,7 +363,7 @@ export default { onFillCallback(data) { console.log("data:" + JSON.stringify(data)) console.log("formdata:" + JSON.stringify(this.$refs.templateTable.getFilledFormData())) - if (data.type == 'fieldChanged' ) { + if (data.type == 'fieldChanged') { studyFormFill_updateBdnr( { id: this.form.id, @@ -426,6 +426,8 @@ export default { this.form = response.data this.form.qmyy = this.$t('page.business.study.studyFormFill.zztjyzbd') this.templateData = deepClone(this.form) + const obj = Object.assign({}, this.$route, { title: this.form.bdmc }) + this.$tab.updatePage(obj); this.$modal.closeLoading() }) } else { @@ -434,6 +436,8 @@ export default { study_info({ id: params.studyId }).then(response => { this.form = _.merge({}, this.form, { stydyId: params.studyId, resourceStudy: response.data.resource, sftb: 1 }) this.templateData = deepClone(this.form) + const obj = Object.assign({}, this.$route, { title: this.form.bdmc }) + this.$tab.updatePage(obj); this.$modal.closeLoading() }) } diff --git a/src/views/business/study/comp/ytbd/Sh.vue b/src/views/business/study/comp/ytbd/Sh.vue index 611d462..0b3e72e 100644 --- a/src/views/business/study/comp/ytbd/Sh.vue +++ b/src/views/business/study/comp/ytbd/Sh.vue @@ -79,7 +79,7 @@ - +