From 45fc64bf028a8ad28dc902e1163eb028a7a6b433 Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Thu, 29 Jan 2026 10:52:04 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A[=E8=A1=A8=E5=8D=95=E7=AE=A1?= =?UTF-8?q?=E7=90=86]bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/study/comp/jhbd/Bj.vue | 2 +- src/views/business/study/comp/sqbd/Bj.vue | 2 +- src/views/business/study/comp/tbbd/Bj.vue | 5 ++++- src/views/business/study/comp/ytbd/Bj.vue | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/views/business/study/comp/jhbd/Bj.vue b/src/views/business/study/comp/jhbd/Bj.vue index 4a6935d..b6a657e 100644 --- a/src/views/business/study/comp/jhbd/Bj.vue +++ b/src/views/business/study/comp/jhbd/Bj.vue @@ -192,7 +192,7 @@ export default { onPlanCallback(data) { console.log("data:" + JSON.stringify(data)) console.log("formdata:" + JSON.stringify(this.$refs.templateTable.getFilledFormData())) - if (data.type == 'fieldChanged') { + if (data.type == 'fieldChanged'&&data.newRecord&&data.newRecord!='') { studyFormPlan_updateBdnr( { id: this.form.id, diff --git a/src/views/business/study/comp/sqbd/Bj.vue b/src/views/business/study/comp/sqbd/Bj.vue index 9f44184..d812424 100644 --- a/src/views/business/study/comp/sqbd/Bj.vue +++ b/src/views/business/study/comp/sqbd/Bj.vue @@ -192,7 +192,7 @@ export default { onApplyCallback(data) { console.log("data:" + JSON.stringify(data)) console.log("formdata:" + JSON.stringify(this.$refs.templateTable.getFilledFormData())) - if (data.type == 'fieldChanged') { + if (data.type == 'fieldChanged'&&data.newRecord&&data.newRecord!='') { studyFormApply_updateBdnr( { id: this.form.id, diff --git a/src/views/business/study/comp/tbbd/Bj.vue b/src/views/business/study/comp/tbbd/Bj.vue index 2114e84..836a061 100644 --- a/src/views/business/study/comp/tbbd/Bj.vue +++ b/src/views/business/study/comp/tbbd/Bj.vue @@ -359,7 +359,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'&&data.newRecord&&data.newRecord!='') { studyFormFill_updateBdnr( { id: this.form.id, @@ -512,7 +512,10 @@ export default { this.$modal.loading() studyFormFill_bcOnly(this.form).then(response => { this.form = response.data + this.templateData = deepClone(this.form) this.showIndex = 2 + const obj = Object.assign({}, this.$route, { title: this.form.bdmc }) + this.$tab.updatePage(obj); }).finally(() => { this.$modal.closeLoading() }) diff --git a/src/views/business/study/comp/ytbd/Bj.vue b/src/views/business/study/comp/ytbd/Bj.vue index 49267a8..8b22944 100644 --- a/src/views/business/study/comp/ytbd/Bj.vue +++ b/src/views/business/study/comp/ytbd/Bj.vue @@ -199,7 +199,7 @@ export default { onPreCallback(data) { console.log("data:" + JSON.stringify(data)) console.log("formdata:" + JSON.stringify(this.$refs.templateTable.getFilledFormData())) - if (data.type == 'fieldChanged') { + if (data.type == 'fieldChanged'&&data.newRecord&&data.newRecord!='') { studyFormPre_updateBdnr( { id: this.form.id,