From c2e8526f8f857be5e3a8c6f2b39c5efd424de33e Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 15 十月 2026 11:50:24 +0800
Subject: [PATCH] refactor(auth): 优化认证逻辑和界面组件结构
---
src/views/mes/pd/project/modules/document-audit-list.vue | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/views/mes/pd/project/modules/document-audit-list.vue b/src/views/mes/pd/project/modules/document-audit-list.vue
index 609dde5..64fd6e1 100644
--- a/src/views/mes/pd/project/modules/document-audit-list.vue
+++ b/src/views/mes/pd/project/modules/document-audit-list.vue
@@ -49,6 +49,7 @@
{ field: 'auditNo', title: '瀹℃牳鍗曞彿', minWidth: 140 },
{ field: 'documentName', title: '璧勬枡鍚嶇О', minWidth: 160 },
{ field: 'documentVersion', title: '璧勬枡鐗堟湰', minWidth: 90 },
+ { field: 'fileUrl', title: '鏂囦欢', minWidth: 140, slots: { default: 'file' } },
{ field: 'reviewerNickname', title: '瀹℃牳浜�', minWidth: 100 },
{ field: 'auditStatus', title: '瀹℃牳鐘舵��', minWidth: 100, cellRender: { name: 'CellDict', props: { type: DICT_TYPE.MES_PD_DOCUMENT_AUDIT_STATUS } } },
{ field: 'auditTime', title: '瀹℃牳鏃堕棿', minWidth: 160, formatter: 'formatDateTime' },
@@ -78,6 +79,12 @@
<template>
<AuditFormModal @success="handleRefresh" />
<Grid table-title="璧勬枡瀹℃牳">
+ <template #file="{ row }">
+ <a v-if="row.fileUrl" :href="row.fileUrl" target="_blank" class="text-primary">
+ {{ row.fileName || '鏌ョ湅鏂囦欢' }}
+ </a>
+ <span v-else class="text-gray-400">-</span>
+ </template>
<template #actions="{ row }">
<TableAction
:actions="[
--
Gitblit v1.9.3