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() { 批量审批
+ + + + + + +