zhangherong
2025-06-02 c82ac973f3ebf35a9c595259706090cf73610283
src/views/eam/maintenance/EamInspectionOrderList.vue
@@ -77,27 +77,6 @@
        class="j-table-force-nowrap"
        @change="handleTableChange">
        <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>
        <span slot="action" slot-scope="text, record">
            <a @click="handleEdit(record)" v-if="isShowAuth('eam:inspection:edit') && record.inspectionStatus === 'WAIT_INSPECTION'" >编辑</a>
@@ -189,6 +168,11 @@
            dataIndex: 'equipmentName'
          },
          {
            title: '安装位置',
            align: 'center',
            dataIndex: 'installationPosition'
          },
          {
            title: '标准名称',
            align: 'center',
            dataIndex: 'standardId_dictText'
@@ -268,7 +252,7 @@
        dataIndex: 'action',
        align: 'center',
        fixed: 'right',
        width: 147,
        width: 200,
        scopedSlots: { customRender: 'action' }
      }
      this.columns = [...this.columns, operationColumn]