hsy
8 天以前 77b083d347eb8e75eb29a4146238b3f7304489f6
src/views/srm/supplierCertificate/index.vue
@@ -4,7 +4,7 @@
import { Page, useVbenModal } from '@vben/common-ui';
import { message } from 'ant-design-vue';
import { message, Tag } from 'ant-design-vue';
import { ACTION_ICON, TableAction, useVbenVxeGrid } from '#/adapter/vxe-table';
import {
@@ -112,6 +112,21 @@
          ]"
        />
      </template>
      <template #attachment="{ row }">
        <div v-if="row.attachmentList && row.attachmentList.length" class="flex flex-col gap-1">
          <a
            v-for="file in row.attachmentList"
            :key="file.id"
            :href="file.url"
            target="_blank"
            rel="noopener noreferrer"
            class="text-blue-500 hover:underline"
          >
            {{ file.name || '附件-' + file.id }}
          </a>
        </div>
        <Tag v-else color="default">--</Tag>
      </template>
      <template #actions="{ row }">
        <TableAction
          :actions="[