| | |
| | | :dataSource="dataSource" :pagination="ipagination" :loading="loading" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" class="j-table-force-nowrap" |
| | | @change="handleTableChange"> |
| | | |
| | | <!--使用部门--> |
| | | <template slot="factoryOrgCode" slot-scope="text,record"> |
| | | {{[record.zxfactoryOrgCode_dictText].filter(item=>item).join('/')}} |
| | | </template> |
| | | |
| | | <span slot="action" slot-scope="text, record"> |
| | | <template v-if=" record.inspectionStatus === 'WAIT_INSPECTION'"> |
| | | <a @click="handleEdit(record)">编辑</a> |
| | |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '使用部门', |
| | | align: 'center', |
| | | scopedSlots: { customRender: 'factoryOrgCode' }, |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '点检状态', |
| | | align: 'center', |
| | | dataIndex: 'inspectionStatus_dictText', |