feat:项目管理-审计内容-优化工作底稿索引
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user