提交 0df2bcbd authored 作者: gjx's avatar gjx

统计添加导出权限,地块列表添加导出

上级 3461903c
<template>
<div class="bg-[#4182a4]"> 空间一张图 </div>
</template>
......@@ -34,6 +34,7 @@
<a-button type="primary" @click="showDetail" v-auth="'dkdc-tbz-zltb'">资料填报</a-button>
<a-button type="primary" @click="showModal(2)" v-auth="'dkdc-tbz-tbfsbg'">填报方式变更</a-button>
<a-button type="primary" @click="Tj = true" v-auth="'dkdc-tbz-tj'">提交</a-button>
<a-button type="primary" @click="onExportXls" v-auth="'dkdc-tbz-dc'">导出</a-button>
</template>
</BasicTable>
<!-- 资料填报前置 -->
......@@ -106,7 +107,7 @@
import { useListPage } from '/@/hooks/system/useListPage';
import { useMessage } from '/@/hooks/web/useMessage';
import { columns, searchFormSchema, useSuspectsData, useCategoryData } from './data';
import { fillingList, getImportUrl, getExportUrl } from './api';
import { fillingList, getExportUrl } from './api';
import { existDclx, updateDclx, submitWrdkdc } from '/@/api/common/api';
import { useRouter } from 'vue-router';
......@@ -178,7 +179,7 @@
}
//注册table数据
const { tableContext } = useListPage({
const { tableContext, onExportXls } = useListPage({
tableProps: {
title: '地块管理-填报中',
api: fillingList,
......@@ -204,9 +205,6 @@
name: '地块管理-填报中',
url: getExportUrl,
},
importConfig: {
url: getImportUrl,
},
});
const isSuspectOptions = useSuspectsData().data; // 行业分类
const useCategory = useCategoryData();
......
......@@ -8,7 +8,7 @@ enum Api {
deleteOne = '/dkgl/gWrdkjbxxb/delete',
deleteBatch = '/dkgl/gWrdkjbxxb/deleteBatch',
importExcel = '/dkgl/gWrdkjbxxb/importExcel',
exportXls = '/dkgl/gWrdkjbxxb/exportXls',
exportXls = '/qdgl/cbdcExport',
submiSlyj = '/submiSlyj',
submitFxpg = '/dklc/submitXgpg',
back = '/dklc/back',
......
......@@ -10,7 +10,7 @@
></a-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'ywkz-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'ywkz-scqydkytj-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -26,7 +26,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'ywkz-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'ywkz-dkjddcywtj-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -17,7 +17,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'ywkz-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'ywkz-dkjdqk-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -26,7 +26,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'ywkz-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'ywkz-fxpgjd-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -26,7 +26,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'ywkz-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'ywkz-gkxfjd-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -10,7 +10,7 @@
></a-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'ywkz-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'ywkz-qycjdkytj-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -26,7 +26,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'ywkz-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'ywkz-wrdkjd-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -26,7 +26,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'ywkz-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'ywkz-xgpgjd-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -10,7 +10,7 @@
></a-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hjzl-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hjzl-qywrcbqk-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -10,7 +10,7 @@
></a-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hjzl-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hjzl-dxswrqk-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -10,7 +10,7 @@
></a-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hjzl-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hjzl-fxgkmj-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -10,7 +10,7 @@
></a-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hjzl-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hjzl-mgtjqk-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -17,7 +17,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hjzl-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hjzl-trhjfxxx-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -10,7 +10,7 @@
></a-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hjzl-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hjzl-trswrcd-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -11,7 +11,7 @@
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-xchcqk-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -10,7 +10,7 @@
></a-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dkdctbqk-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -10,7 +10,7 @@
></a-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dkjl-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -26,7 +26,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dkjdjltj-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -26,7 +26,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-flyj-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -26,7 +26,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-fxpgtb-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -26,7 +26,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dkfxpgtb-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -17,7 +17,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-gkxftb-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -26,7 +26,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-gkxffa-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -17,7 +17,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-hqgljlxx-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -10,7 +10,7 @@
></a-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-hqjdjl-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -26,7 +26,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-cdxd-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -26,7 +26,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dkxxdc-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -26,7 +26,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dkcbdc-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -17,7 +17,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dkcj-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -11,7 +11,7 @@
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-zcxxwcqk-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -26,7 +26,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dkgzfwtj-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -26,7 +26,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dkgzlx-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -11,7 +11,7 @@
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dkdcslwjscqk-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -17,7 +17,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-xgpgtb-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -26,7 +26,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-xgpgfa-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -11,7 +11,7 @@
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'tbxx-slsjgxqk-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......
......@@ -17,7 +17,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hydw-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hydw-bzdwywkzqk-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......@@ -72,7 +72,7 @@
url: dkcjtbxxExcel,
},
});
const [registerTable, { setColumns }, {}] = tableContext;
const [registerTable, {}, {}] = tableContext;
const useCategory = useCategoryData();
const treeData = useCategory.data; // 行业类别-数据
</script>
......@@ -17,7 +17,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hydw-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hydw-bzdwqykzqk-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......@@ -72,7 +72,7 @@
url: bgbzdwywkzqyqkbExcel,
},
});
const [registerTable, { setColumns }, {}] = tableContext;
const [registerTable, {}, {}] = tableContext;
const useCategory = useCategoryData();
const treeData = useCategory.data; // 行业类别-数据
</script>
......@@ -17,7 +17,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hydw-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hydw-jcdwywkzqk-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......@@ -72,7 +72,7 @@
url: jcdwywkzqkExcel,
},
});
const [registerTable, { setColumns }, {}] = tableContext;
const [registerTable, {}, {}] = tableContext;
const useCategory = useCategoryData();
const treeData = useCategory.data; // 行业类别-数据
</script>
......@@ -17,7 +17,7 @@
</a-tree-select>
</template>
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hydw-dc'" @click="onExportXls"> 导出</a-button>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'hydw-jcdwyekzqy-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
......@@ -72,7 +72,7 @@
url: jjcdwywkzqyqkbExcel,
},
});
const [registerTable, { setColumns }, {}] = tableContext;
const [registerTable, {}, {}] = tableContext;
const useCategory = useCategoryData();
const treeData = useCategory.data; // 行业类别-数据
</script>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论