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

This commit is contained in:
2026-01-07 17:28:03 +08:00
parent d2ad31bb34
commit 392e51701d
2 changed files with 76 additions and 12 deletions

View File

@@ -250,13 +250,28 @@
<div
v-for="(fileItem, fileIndex) in record.workPaperIndex"
:key="fileIndex"
class="file-item"
>
<img
src="@/assets/word.png"
style="width: 20px; height: 20px"
style="width: 20px; height: 20px; vertical-align: middle; margin-right: 4px;"
alt=""
/>
<span class="cursor-pointer text-wrap">{{ fileItem }}</span>
<!-- 新格式支持 -->
<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;"
>
{{ fileItem.fileName || '未命名文件' }}
</a>
<!-- 旧格式兼容 -->
<span v-else class="file-name">
{{ fileItem.fileName || fileItem || '未命名文件' }}
</span>
</div>
</div>
</template>