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

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

diff --git a/src/views/Home/Home.vue b/src/views/Home/Home.vue
index 0a2e6dc..1ef5d59 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',
@@ -264,6 +267,7 @@
 onMounted(async () => {
   await getList();
   state.loading = false;
+  handleOpenInstructions();
 });
 
 const {
@@ -391,6 +395,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