zhangherong
2025-06-02 a9fc939a0b0e2b49178ff080480ec84ccbfbcf78
src/views/eam/repair/EamReportRepairList.vue
@@ -95,6 +95,7 @@
        :pagination="ipagination"
        :loading="loading"
        class="j-table-force-nowrap"
        :scroll="{ x: 'max-content' }"
        :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange,type:isDisplayOperation?'checkbox':'radio',getCheckboxProps:getCheckboxProps}"
        @change="handleTableChange">
@@ -173,13 +174,22 @@
            align: 'center',
            customRender: function(t, r, index) {
              return parseInt(index) + 1
            }
            },
          },
          {
            title: '设备编号',
            align: 'center',
            dataIndex: 'equipmentId_dictText',
            width: 200
            dataIndex: 'equipmentCode',
          },
          {
            title: '设备名称',
            align: 'center',
            dataIndex: 'equipmentName',
          },
          {
            title: '安装位置',
            align: 'center',
            dataIndex: 'installationPosition',
          },
          {
            title: '报修状态',
@@ -260,7 +270,8 @@
          dataIndex: 'action',
          align: 'center',
          scopedSlots: { customRender: 'action' },
          width: 200
          width: 200,
          fixed: 'right',
        }
        this.columns = [...this.columns, operationColumn]
        this.getFaultReasonListByApi()