From eed2448d2e9d3dd2b1ec17d5c4ae74b102d793c5 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 30 六月 2025 21:47:39 +0800
Subject: [PATCH] feat: v2.2

---
 src/views/Home/Home.vue |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/views/Home/Home.vue b/src/views/Home/Home.vue
index 0a2e6dc..0568350 100644
--- a/src/views/Home/Home.vue
+++ b/src/views/Home/Home.vue
@@ -111,6 +111,7 @@
     </AppContainer>
     <UploadInsurePersonDialog v-bind="dialogProps" />
     <UploadStampFileDialog v-bind="dialogStampFileProps" />
+    <InsureInstructionsDialog v-bind="dialogInstructionsProps" />
   </LoadingLayout>
 </template>
 
@@ -129,6 +130,7 @@
   SearchInput,
   FieldRadio,
   XLSXUtils,
+  useDialog,
 } from '@bole-core/components';
 import * as insuranceOrderServices from '@/services/api/InsuranceOrder';
 import { Message, OrderInputType, downloadFileByUrl } from '@bole-core/core';
@@ -152,6 +154,7 @@
 } from '@/constants';
 import dayjs from 'dayjs';
 import _ from 'lodash';
+import InsureInstructionsDialog from './components/InsureInstructionsDialog.vue';
 
 defineOptions({
   name: 'Home',
@@ -190,7 +193,6 @@
     },
     extraProps: {
       hide: (row: API.GetInsurancePageOutput) =>
-        row.auditStatus !== InsurancePolicyAuditStatusEnum.Pass ||
         row.status !== InsurancePolicyStatusEnum.WaitEffect,
     },
   },
@@ -264,6 +266,7 @@
 onMounted(async () => {
   await getList();
   state.loading = false;
+  handleOpenInstructions();
 });
 
 const {
@@ -391,6 +394,12 @@
   } catch (error) {}
 }
 
+const { dialogProps: dialogInstructionsProps, dialogState: dialogInstructionsState } = useDialog();
+
+function handleOpenInstructions() {
+  dialogInstructionsState.dialogVisible = true;
+}
+
 function handleUpload() {
   handleAdd({
     serialNum: `${dayjs().format('YYYYMMDD')}${_.random(0, 9999).toString().padStart(4, '0')}`,

--
Gitblit v1.9.1