| | |
| | | { |
| | | title: '序号', |
| | | key: 'itemCode', |
| | | type: JVXETypes.inputNumber, |
| | | type: JVXETypes.normal, |
| | | width: 100, |
| | | align: 'center', |
| | | disabled: true |
| | | }, |
| | | { |
| | | title: '保养项', |
| | | key: 'itemName', |
| | | type: JVXETypes.textarea, |
| | | type: JVXETypes.normal, |
| | | align: 'center', |
| | | disabled: true |
| | | }, |
| | | { |
| | | title: '保养规范或要求', |
| | | key: 'itemDemand', |
| | | type: JVXETypes.textarea, |
| | | type: JVXETypes.normal, |
| | | align: 'center', |
| | | disabled: true |
| | | } |
| | | ], |
| | | weekInspectionColumns: [], |
| | |
| | | type: JVXETypes.normal, |
| | | width: 60, |
| | | align: 'center', |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '保养项', |
| | | key: 'itemName', |
| | | type: JVXETypes.textarea, |
| | | type: JVXETypes.normal, |
| | | align: 'center', |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '保养要求', |
| | | key: 'itemDemand', |
| | | type: JVXETypes.textarea, |
| | | type: JVXETypes.normal, |
| | | align: 'center', |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '点检结果', |
| | | key: 'inspectionResult', |
| | | type: JVXETypes.slot, |
| | | slotName: 'inspectionResult', |
| | | align: 'center' |
| | | type: JVXETypes.select, |
| | | dictCode: 'inspection_project_result', |
| | | align: 'center', |
| | | disabled: true |
| | | }, |
| | | { |
| | | title: '异常描述', |
| | | key: 'exceptionDescription', |
| | | type: JVXETypes.slot, |
| | | slotName: 'exceptionDescription', |
| | | align: 'center' |
| | | type: JVXETypes.normal, |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: '异常是否报修', |
| | | key: 'reportFlag', |
| | | type: JVXETypes.slot, |
| | | slotName: 'reportFlag', |
| | | align: 'center' |
| | | type: JVXETypes.select, |
| | | ditCode: 'yn', |
| | | align: 'center', |
| | | disabled: true |
| | | } |
| | | ] |
| | | } |
| | |
| | | }) |
| | | .then(res => { |
| | | if (res.success) { |
| | | if (res.result.length > 0) { |
| | | this.detail.weekInspectionList = res.result |
| | | if (res.result.list.length > 0) { |
| | | this.detail.weekInspectionList = res.result.list |
| | | this.detail.weekInspectionColumns = this.detail.weekInspectionOrderColumns |
| | | } |
| | | } |