src/constants/temp.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/Home/Home.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/constants/temp.ts
@@ -2,6 +2,8 @@ 'https://parkmanagement.oss-cn-hangzhou.aliyuncs.com/12333/JiangYouBao/temp'; // 导入 export const InsuranceOccupationTypeTempPath = `${TempFolderPath}/%E8%81%8C%E4%B8%9A%E7%B1%BB%E5%9E%8B%E5%AF%B9%E7%85%A7%E8%A1%A8.xls`; // 导入 export const InsuranceOrderTempPath = `${TempFolderPath}/%E9%9B%87%E4%B8%BB%E4%BA%BA%E5%91%98%E6%B8%85%E5%8D%95%E6%A8%A1%E6%9D%BF.xlsx`; // 加减人 export const InsuranceAddOrReduceTempPath = `${TempFolderPath}/%E5%8A%A0%E5%87%8F%E4%BA%BA%E6%A8%A1%E6%9D%BF.xlsx`; src/views/Home/Home.vue
@@ -53,6 +53,13 @@ </QueryFilterItem> </template> <template #btn> <el-button @click="handleDownloadOccupationType()" type="primary" style="margin-right: 10px" link >职业类型对照表</el-button > <el-button @click="handleDownload()" type="primary" style="margin-right: 10px" link >模板下载</el-button > @@ -141,6 +148,7 @@ InsurancePolicyProductIdNumberEnum, InsurancePolicyListPayStatusEnum, InsurancePolicyListPayStatusEnumText, InsuranceOccupationTypeTempPath, } from '@/constants'; import dayjs from 'dayjs'; import _ from 'lodash'; @@ -426,6 +434,10 @@ } catch (error) {} } function handleDownloadOccupationType() { downloadFileByUrl(InsuranceOccupationTypeTempPath, '职业类型对照表'); } function handleDownload() { downloadFileByUrl(InsuranceOrderTempPath, '保单导入模板'); }