Houjie
2025-06-10 b14aa3f5539d358ec2db80a65c4c32c684d88c77
src/views/eam/OperationCertificateList.vue
@@ -1,6 +1,6 @@
<template>
  <a-card
    title="操作证书管理"
    title=""
    :bordered='false'
  >
    <!-- 查询区域 -->
@@ -17,10 +17,10 @@
            :sm='24'
          >
            <a-form-item label='操作证编号'>
              <a-input
              <j-input
                placeholder='请输入操作证编号'
                v-model='queryParam.num'
              ></a-input>
              ></j-input>
            </a-form-item>
          </a-col>
          <a-col
@@ -108,12 +108,12 @@
        type='primary'
        icon='plus'
      >变更操作证</a-button>
      <a-button
        type='primary'
        icon='download'
        @click="handleExportXls('操作证书管理')"
      >导出</a-button>
      <a-upload
<!--      <a-button-->
<!--        type='primary'-->
<!--        icon='download'-->
<!--        @click="handleExportXls('操作证书管理')"-->
<!--      >导出</a-button>-->
      <!-- <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>