From 7c86889e5177ae0da77fd75f298fabe9971b2822 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 30 六月 2025 14:34:28 +0800
Subject: [PATCH] feat: v2.2

---
 src/views/Home/components/InsureOrderInfoView.vue |   43 ++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 38 insertions(+), 5 deletions(-)

diff --git a/src/views/Home/components/InsureOrderInfoView.vue b/src/views/Home/components/InsureOrderInfoView.vue
index 841ce59..4aef872 100644
--- a/src/views/Home/components/InsureOrderInfoView.vue
+++ b/src/views/Home/components/InsureOrderInfoView.vue
@@ -6,7 +6,16 @@
           <ProFormCol>
             <ProFormColItem :span="8">
               <ProFormItemV2 label="淇濆崟鍙�:" prop="insureBillNo">
-                <ProFormText v-model.trim="detail.insureBillNo" />
+                <div class="pro-from-item-read-content-wrapper" v-if="!!detail.insureBillNo">
+                  {{ detail.insureBillNo }}
+                  <el-button
+                    type="primary"
+                    link
+                    @click="handleGoStampFiles"
+                    v-if="detail.productOnline && detail.anyPayComplete"
+                    >璇︽儏</el-button
+                  >
+                </div>
               </ProFormItemV2>
             </ProFormColItem>
             <ProFormColItem :span="8">
@@ -85,7 +94,7 @@
             <template v-if="detail.status === InsurancePolicyStatusEnum.WaitEffect">
               <el-button @click="handleTemplateDownload()" link type="primary">妯℃澘涓嬭浇</el-button>
               <BlFileUpload
-                v-if="detail.auditStatus !== InsuranceClaimAuditStatusEnum.Pass"
+                v-if="detail.auditStatus !== InsurancePolicyAuditStatusEnum.Pass"
                 :limitFileSize="10"
                 accept="xls,xlsx"
                 :showTip="false"
@@ -101,7 +110,12 @@
             </template>
             <template v-else>
               <el-button @click="handleDownloadPerson()" type="primary">涓嬭浇浜哄憳娓呭崟</el-button>
-              <el-button @click="handleDownloadOrder()" type="primary">涓嬭浇淇濆崟</el-button>
+              <template v-if="detail.productOnline">
+                <el-button v-if="detail.anyPayComplete" @click="handleGoStampFiles()" type="primary"
+                  >涓嬭浇淇濆崟</el-button
+                >
+              </template>
+              <el-button v-else @click="handleDownloadOrder()" type="primary">涓嬭浇淇濆崟</el-button>
             </template>
           </template>
         </ProTableQueryFilterBar>
@@ -150,7 +164,7 @@
   insuranceTypeText,
   InsurancePolicyStatusEnum,
   InsurancePolicyStatusEnumText,
-  InsuranceClaimAuditStatusEnum,
+  InsurancePolicyAuditStatusEnum,
 } from '@/constants';
 import ChangePersonInfoDialog from './ChangePersonInfoDialog.vue';
 import InsureClaimDetailDialog from './InsureClaimDetailDialog.vue';
@@ -193,6 +207,16 @@
     id: '5',
     enCode: 'jobName',
     name: '闆囧憳宸ョ',
+  },
+  {
+    id: '51',
+    enCode: 'occupationType',
+    name: '鑱屼笟绫诲瀷',
+  },
+  {
+    id: '52',
+    enCode: 'occupationCode',
+    name: '鑱屼笟鐮佸��',
   },
   {
     id: '6',
@@ -242,7 +266,7 @@
     extraProps: {
       hide: (row: API.GetInsuranceStaffPageTemplate) =>
         detail.value?.status !== InsurancePolicyStatusEnum.WaitEffect ||
-        detail.value?.auditStatus === InsuranceClaimAuditStatusEnum.Pass,
+        detail.value?.auditStatus === InsurancePolicyAuditStatusEnum.Pass,
     },
   },
   {
@@ -397,6 +421,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