feat: 抄送成功后刷新功能

This commit is contained in:
dj
2025-04-15 11:15:15 +08:00
parent 7e6b48b62a
commit c71208c3e4
3 changed files with 11 additions and 9 deletions

View File

@@ -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: '提示',

View File

@@ -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: '提示',