feat: 解决冲突并新增刷新逻辑

bak
刘释隆 2 years ago
parent bf7a1e7b54
commit 75d64e19ee

@ -1,5 +1,5 @@
<script lang="ts" setup>
import { getAllfieldList } from '@/api/home/filter'
import { getAllfieldList, getfieldList } from '@/api/home/filter'
import { audit } from '@/api/task/task'
import { getTaskDetailInfo, getTaskDetailPictureList } from '@/api/work/work'
import { useTask } from '@/store/modules/task'
@ -7,6 +7,7 @@ import { useUser } from '@/store/modules/user'
import { isEmpty } from '@/utils'
import { hideDownload } from '@/utils/image'
import emitter from '@/utils/mitt'
import _ from 'lodash'
import { clone } from 'lodash-es'
import { useDialog, useMessage } from 'naive-ui'
import { computed, onUnmounted, reactive, ref, unref, watch } from 'vue'
@ -17,6 +18,7 @@ import PictureTable from './PictureTable.vue'
import TaskTable from './TaskTable.vue'
import type { ApprovalParam, PictureSortParam } from '/#/api'
const batch = ref(false)
const selectItems = ref<any[]>([])
const message = useMessage()

@ -109,6 +109,7 @@ async function handleSumbit(e: MouseEvent) {
savefield(props.reviewType, userInfo.id, userField);
e.preventDefault();
closeModal();
window.location.reload();
}
defineExpose({

Loading…
Cancel
Save