⚡ 优化表格工具栏、附件文件名展示与合同金额两位小数
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -394,15 +394,18 @@
|
||||
<el-table-column label="附件" min-width="120" align="center">
|
||||
<template #default="{ row }">
|
||||
<template v-if="parseAttachments(row.attachmentsJson).length">
|
||||
<el-link
|
||||
<span
|
||||
v-for="(file, index) in parseAttachments(row.attachmentsJson)"
|
||||
:key="index"
|
||||
type="primary"
|
||||
class="exception-disposal-page__attachment-link"
|
||||
class="attachment-file-name exception-disposal-page__attachment-link"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
@click="previewAttachment(file, parseAttachments(row.attachmentsJson))"
|
||||
>
|
||||
{{ file.name || '附件' + (index + 1) }}
|
||||
</el-link>
|
||||
@keydown.enter="previewAttachment(file, parseAttachments(row.attachmentsJson))"
|
||||
@keydown.space.prevent="
|
||||
previewAttachment(file, parseAttachments(row.attachmentsJson))
|
||||
"
|
||||
>{{ file.name || '附件' + (index + 1) }}</span>
|
||||
</template>
|
||||
<span v-else>-</span>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user