|
@@ -51,6 +51,16 @@
|
|
|
>
|
|
>
|
|
|
批量审核
|
|
批量审核
|
|
|
</el-button>
|
|
</el-button>
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ type="success"
|
|
|
|
|
+ plain
|
|
|
|
|
+ @click="handleExport"
|
|
|
|
|
+ v-permission="'order:orderCompensationLog:exportList'"
|
|
|
|
|
+ style="margin-left: 12px"
|
|
|
|
|
+ :icon="DownloadOutlined"
|
|
|
|
|
+ >
|
|
|
|
|
+ 导出
|
|
|
|
|
+ </el-button>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<template #type="{ row }">
|
|
<template #type="{ row }">
|
|
@@ -126,7 +136,7 @@
|
|
|
import LogDialog from './components/log-dialog.vue';
|
|
import LogDialog from './components/log-dialog.vue';
|
|
|
import BatchAudit from './components/batch-audit.vue';
|
|
import BatchAudit from './components/batch-audit.vue';
|
|
|
import { ElMessage } from 'element-plus';
|
|
import { ElMessage } from 'element-plus';
|
|
|
- import { rowKey } from 'element-plus/es/components/table-v2/src/common';
|
|
|
|
|
|
|
+ import { DownloadOutlined } from '@/components/icons';
|
|
|
defineOptions({ name: 'SubsidyReview' });
|
|
defineOptions({ name: 'SubsidyReview' });
|
|
|
|
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
const { proxy } = getCurrentInstance();
|
|
@@ -207,6 +217,7 @@
|
|
|
|
|
|
|
|
const pageConfig = reactive({
|
|
const pageConfig = reactive({
|
|
|
pageUrl: '/order/orderCompensationLog/pagelist',
|
|
pageUrl: '/order/orderCompensationLog/pagelist',
|
|
|
|
|
+ exportUrl: '/order/orderCompensationLog/exportList',
|
|
|
fileName: '补贴审核',
|
|
fileName: '补贴审核',
|
|
|
cacheKey: 'subsidyReview',
|
|
cacheKey: 'subsidyReview',
|
|
|
rowKey: 'id',
|
|
rowKey: 'id',
|
|
@@ -221,6 +232,11 @@
|
|
|
pageRef.value?.reload(where);
|
|
pageRef.value?.reload(where);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ // 导出(带当前筛选:userId/type/status/startTime/endTime)
|
|
|
|
|
+ function handleExport() {
|
|
|
|
|
+ pageRef.value?.exportData('补贴审核');
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
// 审核
|
|
// 审核
|
|
|
const handleAudit = (row) => {
|
|
const handleAudit = (row) => {
|
|
|
// 使用批量审核的弹窗,传入单个ID
|
|
// 使用批量审核的弹窗,传入单个ID
|