|
|
|
@ -4,7 +4,7 @@ import {
|
|
|
|
|
onMounted,
|
|
|
|
|
onUnmounted,defineProps,
|
|
|
|
|
reactive,
|
|
|
|
|
ref,
|
|
|
|
|
ref, h,
|
|
|
|
|
unref,
|
|
|
|
|
watch,
|
|
|
|
|
} from 'vue'
|
|
|
|
@ -24,6 +24,7 @@ import { getAllfieldList, getfieldList } from '@/api/home/filter'
|
|
|
|
|
import { TASK_STATUS_OBJ } from '@/enums/index'
|
|
|
|
|
import { useFinal } from '@/store/modules/final'
|
|
|
|
|
import { useDataHeaderStore } from '@/store/modules/DataHeader'
|
|
|
|
|
import { EllipsisHorizontal, EyeOutline as EyeOutlineIcon } from '@vicons/ionicons5'
|
|
|
|
|
import {
|
|
|
|
|
audit,
|
|
|
|
|
dubiousfileyd,
|
|
|
|
@ -39,6 +40,9 @@ import bgLoading from '@/assets/images/bg-loading.png'
|
|
|
|
|
import { useKeydown } from '@/hooks/event/useKeydown'
|
|
|
|
|
import CheckingTaskModal from '@/views/home/content/modal/CheckingTaskModal.vue'
|
|
|
|
|
import { getCheckDuplicateStatus, getCheckDuplicateStatusx, getLastCheckNox, removeCheckDuplicate } from '@/api/home/main'
|
|
|
|
|
import type { Component } from 'vue'
|
|
|
|
|
import { NIcon, } from 'naive-ui'
|
|
|
|
|
import { Download as DownloadIcon, Upload as UploadIcon } from '@vicons/tabler'
|
|
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
|
|
|
|
|
|
|
@ -131,6 +135,28 @@ const fullscreenStylestwo = computed<any>(() => ({
|
|
|
|
|
left: isFullScreen.value ? '0' : '',
|
|
|
|
|
zIndex: isFullScreen.value ? '160' : '',
|
|
|
|
|
}))
|
|
|
|
|
|
|
|
|
|
function renderIcon(icon: Component) {
|
|
|
|
|
return () => {
|
|
|
|
|
return h(NIcon, null, {
|
|
|
|
|
default: () => h(icon),
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const dropdownOptions = ref([
|
|
|
|
|
{
|
|
|
|
|
label: '导入任务数据',
|
|
|
|
|
key: 'profile',
|
|
|
|
|
icon: renderIcon(DownloadIcon),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: '导出任务数据',
|
|
|
|
|
key: 'editProfile',
|
|
|
|
|
icon: renderIcon(DownloadIcon),
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
])
|
|
|
|
|
async function init() {
|
|
|
|
|
const result = await getLastCheckNox()
|
|
|
|
|
if (result.data) {
|
|
|
|
@ -750,6 +776,13 @@ function cancel() {
|
|
|
|
|
<SvgIcon style="margin-right: 6px" size="22" name="batch" />
|
|
|
|
|
批量审批
|
|
|
|
|
</div>
|
|
|
|
|
<n-dropdown trigger="hover" placement="bottom-start" :options="dropdownOptions">
|
|
|
|
|
<span class="expand-icon">
|
|
|
|
|
<Icon style="position: relative; top: 2px">
|
|
|
|
|
<EllipsisHorizontal style="color: #507afd; width: 14px;margin-top: 7px;margin-left: 8.5px;" />
|
|
|
|
|
</Icon>
|
|
|
|
|
</span>
|
|
|
|
|
</n-dropdown>
|
|
|
|
|
<!-- <n-popover
|
|
|
|
|
ref="popover"
|
|
|
|
|
:style="{ padding: '0px' }"
|
|
|
|
@ -2150,4 +2183,18 @@ function cancel() {
|
|
|
|
|
background: #ff4e4f;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.expand-icon {
|
|
|
|
|
display: block;
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
width: 30px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
line-height: 30px;
|
|
|
|
|
background: linear-gradient(
|
|
|
|
|
144deg,
|
|
|
|
|
rgba(115, 167, 249, 0.1) 0%,
|
|
|
|
|
rgba(62, 110, 241, 0.1) 96%
|
|
|
|
|
);
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|