2026-08-10 536c6fbd1f42ea335abdce561451a6ee87d71465
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>