src/views/eam/repair/EamRepairOrderList.vue
@@ -80,31 +80,7 @@
        :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
        @change="handleTableChange"
        :scroll="{x:'max-content'}"
      >
        <span slot="action" slot-scope="text, record">
          <a @click="handleOpenApplySparePartsModal(record)">申请备件</a>
          <a-divider type="vertical"/>
          <a @click="handleOpenRepairCompletedModal(record)">完成维修</a>
          <!--<a @click="handleEdit(record)">编辑</a>-->
          <!--<a-divider type="vertical"/>-->
          <!--<a-dropdown>-->
          <!--<a class="ant-dropdown-link">更多 <a-icon type="down"/></a>-->
          <!--<a-menu slot="overlay">-->
          <!--<a-menu-item>-->
          <!--<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">-->
          <!--<a>删除</a>-->
          <!--</a-popconfirm>-->
          <!--</a-menu-item>-->
          <!--</a-menu>-->
          <!--</a-dropdown>-->
        </span>
      </a-table>
      />
    </div>
    <!-- table区域-end -->
@@ -167,6 +143,12 @@
            width: 100
          },
          {
            title: '维修负责人',
            align: 'center',
            dataIndex: 'repairer',
            width: 100
          },
          {
            title: '维修开始时间',
            align: 'center',
            dataIndex: 'actualStartTime',
@@ -188,7 +170,7 @@
            title: '维修结果描述',
            align: 'center',
            dataIndex: 'repairDescription',
            width: 300
            // width: 300
          },
          {
            title: '维修图片',
@@ -196,11 +178,7 @@
            dataIndex: 'imageFiles',
            width: 100
          },
          {
            title: '维修负责人',
            align: 'center',
            dataIndex: 'repairer'
          },
          // {
          //   title: '是否委外',
          //   align: 'center',
@@ -251,13 +229,13 @@
        return
      }
      this.initDictData('report_repair_status')
      const operationColumn = {
        title: '操作',
        dataIndex: 'action',
        align: 'center',
        scopedSlots: { customRender: 'action' }
      }
      this.columns = [...this.columns, operationColumn]
      // const operationColumn = {
      //   title: '操作',
      //   dataIndex: 'action',
      //   align: 'center',
      //   scopedSlots: { customRender: 'action' }
      // }
      // this.columns = [...this.columns, operationColumn]
      this.loadData(1)
    },
    methods: {
@@ -283,24 +261,7 @@
      // 开启领取故障保修单弹窗
      handleOpenReceiveFaultModal() {
        this.$refs.receiveFaultModalRef.visible = true
        this.$refs.receiveFaultModalRef.loadData()
      },
      /**
       * 开启申请备件弹窗
       * @param record 表格行信息
       */
      handleOpenApplySparePartsModal(record) {
      },
      /**
       * 开启完成维修弹窗
       * @param record 表格行信息
       */
      handleOpenRepairCompletedModal(record) {
      }
    }
  }
</script>