feat:项目管理-审计内容-优化工作底稿索引

This commit is contained in:
2026-01-09 14:50:56 +08:00
parent f751d5eda4
commit d574975c97
12 changed files with 20 additions and 27 deletions

View File

@@ -265,26 +265,27 @@
<div
v-for="(fileItem, fileIndex) in record.workPaperIndex"
:key="fileIndex"
class="file-item"
>
<img
src="@/assets/word.png"
style="width: 20px; height: 20px; vertical-align: middle; margin-right: 4px;"
alt=""
/>
<!-- 新格式支持 -->
<a
v-if="fileItem.fileUrl"
:href="fileItem.fileUrl"
target="_blank"
@click.stop="handleFileDownload(fileItem, $event)"
class="file-link"
style="color: #1890ff; text-decoration: none; cursor: pointer;"
class="file-link cursor-pointer text-wrap"
style="color: #1890ff; text-decoration: none;"
>
{{ fileItem.fileName || '未命名文件' }}
</a>
<!-- 旧格式兼容 -->
<span v-else class="file-name">
<span v-else class="cursor-pointer text-wrap">
{{ fileItem.fileName || fileItem || '未命名文件' }}
</span>
</div>