From 11f6322ff10f1065fd4fce0cdb558dd8fda21dbb Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 30 六月 2025 15:23:48 +0800 Subject: [PATCH] Merge branch 'dev-2.2.0' of http://120.26.58.240:8888/r/JYBIndependentFront into dev-2.2.0 --- src/constants/temp.ts | 2 ++ src/views/Home/Home.vue | 12 ++++++++++++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/src/constants/temp.ts b/src/constants/temp.ts index 6266605..7e23e3d 100644 --- a/src/constants/temp.ts +++ b/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`; diff --git a/src/views/Home/Home.vue b/src/views/Home/Home.vue index 955e965..0a2e6dc 100644 --- a/src/views/Home/Home.vue +++ b/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, '淇濆崟瀵煎叆妯℃澘'); } -- Gitblit v1.9.1