From cb9e409180fca1d773334d78e1cfae06e443fad6 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 05 十一月 2026 17:40:24 +0800
Subject: [PATCH] feat: 同步售后、HR、采购与 MES 前端改动
---
src/views/bpm/oa/notice/detail.vue | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/src/views/bpm/oa/notice/detail.vue b/src/views/bpm/oa/notice/detail.vue
index 1323d41..6b59929 100644
--- a/src/views/bpm/oa/notice/detail.vue
+++ b/src/views/bpm/oa/notice/detail.vue
@@ -101,12 +101,32 @@
</Descriptions>
</Card>
- <Card size="small" title="鍐呭">
+ <Card size="small" title="鍐呭" class="mb-3">
<div
class="min-h-40 rounded bg-gray-50 p-4"
v-dompurify-html="formData.content"
/>
</Card>
+
+ <Card
+ v-if="formData.attachmentList?.length"
+ size="small"
+ title="闄勪欢"
+ >
+ <div class="flex flex-col gap-2">
+ <a
+ v-for="item in formData.attachmentList"
+ :key="item.id"
+ :href="item.downloadURL || item.url || item.previewURL"
+ target="_blank"
+ rel="noopener noreferrer"
+ class="flex items-center gap-2 text-blue-600 hover:underline"
+ >
+ <IconifyIcon icon="ant-design:paper-clip-outlined" />
+ <span>{{ item.name || `闄勪欢${item.id}` }}</span>
+ </a>
+ </div>
+ </Card>
</div>
</template>
</Spin>
--
Gitblit v1.9.3