diff --git a/src/views/business/study/comp/tbbd/Bj.vue b/src/views/business/study/comp/tbbd/Bj.vue index a54afc0..5642164 100644 --- a/src/views/business/study/comp/tbbd/Bj.vue +++ b/src/views/business/study/comp/tbbd/Bj.vue @@ -80,7 +80,7 @@
+ :sn="templateData.templateSn" :templateData="templateData" fillType="actFill" />
@@ -588,12 +588,7 @@ export default { if (params) { this.reset() if (params.formId && params.formId != '') { - if (params.fromYt) { - this.showIndex = 1 - this.bdmbTitle = this.$t('page.business.study.studyFormFill.ytbd') - } else { - this.showIndex = 2 - } + this.$modal.loading() studyFormFill_info({ id: params.formId }).then(response => { this.form = response.data @@ -601,6 +596,12 @@ export default { this.templateData = deepClone(this.form) const obj = Object.assign({}, this.$route, { title: this.form.bdmc }) this.$tab.updatePage(obj); + if (params.fromYt) { + this.showIndex = 1 + this.bdmbTitle = this.$t('page.business.study.studyFormFill.ytbd') + } else { + this.showIndex = 2 + } this.saveSimpleLog({ jcmc: '填报表单编辑', jcmcEn: 'Record Edit', name: this.form.bdmc + '(' + this.form.bdbh + ')', nameEn: this.form.bdmc + '(' + this.form.bdbh + ')' }) this.$modal.closeLoading() })