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 }}