From c71208c3e469f4a0cd615a03161c6210f882395f Mon Sep 17 00:00:00 2001 From: dj <1042039504@qq.com> Date: Tue, 15 Apr 2025 11:15:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8A=84=E9=80=81=E6=88=90=E5=8A=9F?= =?UTF-8?q?=E5=90=8E=E5=88=B7=E6=96=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DetailComponent/ApprovalDetail.vue | 4 ++-- src/components/DetailComponent/SummaryDetail.vue | 4 ++-- .../project-management/implementation/detail.vue | 12 +++++++----- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/components/DetailComponent/ApprovalDetail.vue b/src/components/DetailComponent/ApprovalDetail.vue index 88c36b1..f4769b2 100644 --- a/src/components/DetailComponent/ApprovalDetail.vue +++ b/src/components/DetailComponent/ApprovalDetail.vue @@ -392,7 +392,7 @@ const filePreviewParam = ref({ }) const filePreviewShow = ref(false) const route = useRoute() -const emit = defineEmits(['update:value']) +const emit = defineEmits(['update:value','ccSend']) const _value = computed({ get() { return props.value; @@ -426,7 +426,7 @@ const addUser = async () => { message: '抄送成功', type: 'success' }) - tableIns.value.refresh() + emit('ccSend') } else { ElNotification({ title: '提示', diff --git a/src/components/DetailComponent/SummaryDetail.vue b/src/components/DetailComponent/SummaryDetail.vue index 8928883..bd20185 100644 --- a/src/components/DetailComponent/SummaryDetail.vue +++ b/src/components/DetailComponent/SummaryDetail.vue @@ -163,7 +163,7 @@ import SelectPreProcess from "@/components/SelectPreProcess.vue"; import {applyCcSend} from "@/api/expense-manage"; import UserPicker from "@/views/workflow/process/common/UserPicker.vue"; -const emit = defineEmits(['update:value']) +const emit = defineEmits(['update:value','ccSend']) const tagsViewStore = useTagsView() const cacheStore = useCacheStore() const props = defineProps({ @@ -238,7 +238,7 @@ const addUser = async () => { message: '抄送成功', type: 'success' }) - tableIns.value.refresh() + emit('ccSend') } else { ElNotification({ title: '提示', diff --git a/src/views/project-management/implementation/detail.vue b/src/views/project-management/implementation/detail.vue index c3e1860..bbda0fe 100644 --- a/src/views/project-management/implementation/detail.vue +++ b/src/views/project-management/implementation/detail.vue @@ -13,9 +13,9 @@ :formData="detailData.formData" :data="detailData" :processViewer="commonProvessViewer" - :fileListShow="fileListShow" + :fileListShow="fileListShow" @ccSend="ccSendRefresh" v-model:value="auditOpinion"/> - - - { + getAllInfo(route.query.step) +} const getAllInfo = async (state) => { const loading = ElLoading.service({fullscreen: true}) detailData.value = {