From ea1bfefca873a74555559562bca72b1ed605692e Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 18 八月 2026 15:32:25 +0800
Subject: [PATCH] ``` chore(deploy): 更新部署脚本功能和稳定性
---
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