From 8f0b74144a824c302326fee92081565f16ffde92 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 13 八月 2026 17:06:46 +0800
Subject: [PATCH] feat(deploy): 更新部署脚本以支持公司配置和ZIP文件上传

---
 src/views/hrm/resignation/modules/form.vue |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/views/hrm/resignation/modules/form.vue b/src/views/hrm/resignation/modules/form.vue
index 8ba43bb..d1ebf27 100644
--- a/src/views/hrm/resignation/modules/form.vue
+++ b/src/views/hrm/resignation/modules/form.vue
@@ -78,7 +78,17 @@
     }
     modalApi.lock();
     try {
-      await formApi.setValues(await getResignation(data.id));
+      const detail = await getResignation(data.id);
+      await formApi.setValues(detail);
+      if (detail.attachmentList?.length) {
+        await formApi.setFieldValue('blobIds', detail.attachmentList.map(item => ({
+          uid: String(item.id),
+          name: item.name || '',
+          url: item.url || '',
+          status: 'done',
+          id: item.id,
+        })));
+      }
     } finally {
       modalApi.unlock();
     }
@@ -87,7 +97,7 @@
 </script>
 
 <template>
-  <Modal :title="getTitle" class="w-[600px]">
+  <Modal :title="getTitle" class="w-[850px]">
     <Form class="mx-4" />
   </Modal>
 </template>
\ No newline at end of file

--
Gitblit v1.9.3