zhangherong
2025-03-05 e2105dc94d2f03070398114ea47fba8f9105dee8
src/views/eam/OperationCertificateList.vue
@@ -1,6 +1,6 @@
<template>
  <a-card
    title="操作证书管理"
    title=""
    :bordered='false'
  >
    <!-- 查询区域 -->
@@ -113,7 +113,7 @@
        icon='download'
        @click="handleExportXls('操作证书管理')"
      >导出</a-button>
      <a-upload
      <!-- <a-upload
        name='file'
        :showUploadList='false'
        :multiple='false'
@@ -125,7 +125,7 @@
          type='primary'
          icon='import'
        >导入</a-button>
      </a-upload>
      </a-upload> -->
      <!-- 高级查询区域 -->
      <!--      <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>-->
      <!--      <a-dropdown v-if="selectedRowKeys.length > 0">-->
@@ -165,49 +165,6 @@
        @change='handleTableChange'
        :rowClassName="tableRowClass"
      >
        <template
          slot='htmlSlot'
          slot-scope='text'
        >
          <div v-html='text'></div>
        </template>
        <template
          slot='imgSlot'
          slot-scope='text,record'
        >
          <span
            v-if='!text'
            style='font-size: 12px;font-style: italic;'
          >无图片</span>
          <img
            v-else
            :src='getImgView(text)'
            :preview='record.id'
            height='25px'
            alt=''
            style='max-width:80px;font-size: 12px;font-style: italic;'
          />
        </template>
        <template
          slot='fileSlot'
          slot-scope='text'
        >
          <span
            v-if='!text'
            style='font-size: 12px;font-style: italic;'
          >无文件</span>
          <a-button
            v-else
            :ghost='true'
            type='primary'
            icon='download'
            size='small'
            @click='downloadFile(text)'
          >
            下载
          </a-button>
        </template>
      </a-table>
    </div>