From ea8b03b61321d0ededd0a55ad859369d7a02d0f0 Mon Sep 17 00:00:00 2001 From: lihui_ocr Date: Wed, 15 May 2024 14:52:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icons/xiala.svg | 14 ++++++ src/views/final/content/ListContent.vue | 50 ++++++++++++++++++++- src/views/home/aside/comp/AdvanceFilter.vue | 23 ++++++++-- src/views/task/aside/Aside.vue | 1 + src/views/task/content/Content.vue | 49 +++++++++++++++++++- 5 files changed, 132 insertions(+), 5 deletions(-) create mode 100644 src/assets/icons/xiala.svg diff --git a/src/assets/icons/xiala.svg b/src/assets/icons/xiala.svg new file mode 100644 index 0000000..a151761 --- /dev/null +++ b/src/assets/icons/xiala.svg @@ -0,0 +1,14 @@ + + + 下拉切换 + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/final/content/ListContent.vue b/src/views/final/content/ListContent.vue index a8cd83e..2f8481a 100644 --- a/src/views/final/content/ListContent.vue +++ b/src/views/final/content/ListContent.vue @@ -14,6 +14,7 @@ import { audit } from '@/api/task/task' import DataHeader from '@/components/DataHeader/index.vue' import NotPassed from '@/components/Approval/NotPassed.vue' import { useDataHeaderStore } from '@/store/modules/DataHeader' +import { el } from 'date-fns/locale' const props = defineProps({ @@ -41,6 +42,7 @@ const total = ref(0) const scrollContainer = ref(null) const tableData = ref([]) const finalStore = useFinal() +const valuetwo=ref(false) let num = 1 const pagination = reactive({ page: 1, @@ -508,7 +510,46 @@ watch( }, { deep: true }, ) - +watch( + () => valuetwo.value, + (newVal, oldVal) => { + let newlist=[] + + if(valuetwo.value){ + tableData.value.map((item)=>{ + let ooo=[] + for (let i=0; i{ + let ooo=[] + for (let i=0; i提报人排序 +
+ 全选 +
(() => ({ 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() { 批量审批
+ + + + + + +