From 30c817b5bd6cd1d3b44afe12fac6f1a7064b8689 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期六, 28 六月 2025 15:57:23 +0800 Subject: [PATCH] feat: v2.2 --- src/views/Home/components/InsureOrderInfoView.vue | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/views/Home/components/InsureOrderInfoView.vue b/src/views/Home/components/InsureOrderInfoView.vue index 6969481..6451e8b 100644 --- a/src/views/Home/components/InsureOrderInfoView.vue +++ b/src/views/Home/components/InsureOrderInfoView.vue @@ -85,6 +85,7 @@ <template v-if="detail.status === InsurancePolicyStatusEnum.WaitEffect"> <el-button @click="handleTemplateDownload()" link type="primary">妯℃澘涓嬭浇</el-button> <BlFileUpload + v-if="detail.auditStatus !== InsurancePolicyAuditStatusEnum.Pass" :limitFileSize="10" accept="xls,xlsx" :showTip="false" @@ -100,7 +101,10 @@ </template> <template v-else> <el-button @click="handleDownloadPerson()" type="primary">涓嬭浇浜哄憳娓呭崟</el-button> - <el-button @click="handleDownloadOrder()" type="primary">涓嬭浇淇濆崟</el-button> + <el-button v-if="detail.productOnline" @click="handleGoStampFiles()" type="primary" + >涓嬭浇淇濆崟</el-button + > + <el-button v-else @click="handleDownloadOrder()" type="primary">涓嬭浇淇濆崟</el-button> </template> </template> </ProTableQueryFilterBar> @@ -149,6 +153,7 @@ insuranceTypeText, InsurancePolicyStatusEnum, InsurancePolicyStatusEnumText, + InsurancePolicyAuditStatusEnum, } from '@/constants'; import ChangePersonInfoDialog from './ChangePersonInfoDialog.vue'; import InsureClaimDetailDialog from './InsureClaimDetailDialog.vue'; @@ -239,7 +244,8 @@ }, extraProps: { hide: (row: API.GetInsuranceStaffPageTemplate) => - detail.value?.status !== InsurancePolicyStatusEnum.WaitEffect, + detail.value?.status !== InsurancePolicyStatusEnum.WaitEffect || + detail.value?.auditStatus === InsurancePolicyAuditStatusEnum.Pass, }, }, { @@ -394,6 +400,15 @@ downloadFileByUrl(setOSSLink(detail.value?.insureBillUrl)); } +function handleGoStampFiles() { + router.push({ + name: 'InsurancePolicyStampFiles', + params: { + id: id, + }, + }); +} + function handleBatchChange() { if ( dayjs(detail.value?.effectEndTime).isBefore(dayjs()) || -- Gitblit v1.9.1