From b15ad7d001fda09e8162e8c135b1a20eb0d47afe Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Mon, 9 Feb 2026 16:16:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:[=E5=A1=AB=E6=8A=A5=E8=A1=A8=E5=8D=95]?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/form/drug/comp/tbbdList.vue | 10 ++++++++++ src/views/business/form/nonTrial/comp/tbbdList.vue | 10 ++++++++++ src/views/business/study/comp/tbbd/Bj.vue | 11 ++++++++++- src/views/business/study/comp/tbbdList.vue | 11 +++++++++++ 4 files changed, 41 insertions(+), 1 deletion(-) diff --git a/src/views/business/form/drug/comp/tbbdList.vue b/src/views/business/form/drug/comp/tbbdList.vue index 85b9f52..30aeaf0 100644 --- a/src/views/business/form/drug/comp/tbbdList.vue +++ b/src/views/business/form/drug/comp/tbbdList.vue @@ -188,6 +188,7 @@ import SelectDeptUserDialog from '@/views/business/comps/select/SelectDeptUserDi import { caesarCipher } from "@/utils/index"; import { mapGetters } from 'vuex' import moment from "moment"; +import { EventBus } from "@/utils/eventBus"; export default { name: 'YtbdList', props: { @@ -251,6 +252,15 @@ export default { } }, created() { this.getIsQa() }, + mounted() { + EventBus.$on('onRefreshDrugTbbdList',(data) => { + this.getList() + }); + }, + beforeDestroy() { + // 记得移除监听,避免内存泄漏 + EventBus.$off('onRefreshDrugTbbdList'); + }, methods: { checkPermi, checkRole, diff --git a/src/views/business/form/nonTrial/comp/tbbdList.vue b/src/views/business/form/nonTrial/comp/tbbdList.vue index da38b8c..5dbaacf 100644 --- a/src/views/business/form/nonTrial/comp/tbbdList.vue +++ b/src/views/business/form/nonTrial/comp/tbbdList.vue @@ -195,6 +195,7 @@ import SelectDeptUserDialog from '@/views/business/comps/select/SelectDeptUserDi import { caesarCipher } from "@/utils/index"; import { mapGetters } from 'vuex' import moment from "moment"; +import { EventBus } from "@/utils/eventBus"; export default { name: 'YtbdList', props: { @@ -259,6 +260,15 @@ export default { } }, created() { this.getIsQa() }, + mounted() { + EventBus.$on('onRefreshNonTrialTbbdList',(data) => { + this.getList() + }); + }, + beforeDestroy() { + // 记得移除监听,避免内存泄漏 + EventBus.$off('onRefreshNonTrialTbbdList'); + }, methods: { checkPermi, checkRole, diff --git a/src/views/business/study/comp/tbbd/Bj.vue b/src/views/business/study/comp/tbbd/Bj.vue index e0a0821..bb54472 100644 --- a/src/views/business/study/comp/tbbd/Bj.vue +++ b/src/views/business/study/comp/tbbd/Bj.vue @@ -173,7 +173,7 @@
{{ $t('page.business.study.studyFormFill.yltj') }}
-
+
{{ item.bh }}