| | |
| | | |
| | | <!-- 操作按钮区域 --> |
| | | <div class="table-operator" v-if="isDisplayOperation"> |
| | | <a-button @click="handleOpenReceiveFaultModal" type="primary" icon="plus">领取</a-button> |
| | | <a-button @click="handleOpenReceiveFaultModal" type="primary" icon="plus" v-if="isShowAuth('eam:repair:collect')">领取</a-button> |
| | | <!--<a-button type="primary" icon="download" @click="handleExportXls('维修工单')">导出</a-button>--> |
| | | <a-dropdown v-if="selectedRowKeys.length > 0"> |
| | | <a-menu slot="overlay"> |
| | |
| | | // 表头 |
| | | columns: [ |
| | | { |
| | | title: '#', |
| | | dataIndex: '', |
| | | key: 'rowIndex', |
| | | width: 60, |
| | | align: 'center', |
| | | customRender: function(t, r, index) { |
| | | return parseInt(index) + 1 |
| | | }, |
| | | fixed: 'left', |
| | | }, |
| | | { |
| | | title: '工单编号', |
| | | align: 'center', |
| | | dataIndex: 'repairCode', |
| | | width: 200, |
| | | width: 120, |
| | | fixed: 'left' |
| | | }, |
| | | // { |
| | | // title: '报修编号', |
| | | // align: 'center', |
| | | // dataIndex: 'reportId', |
| | | // width: 200, |
| | | // fixed: 'left' |
| | | // }, |
| | | { |
| | | title: '设备编号', |
| | | align: 'center', |
| | | dataIndex: 'equipmentId_dictText', |
| | | dataIndex: 'equipmentCode', |
| | | width: 120, |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '设备名称', |
| | | align: 'center', |
| | | dataIndex: 'equipmentName', |
| | | width: 200, |
| | | fixed: 'left' |
| | | }, |