| | |
| | | confirmLoading: false, |
| | | spinning: false, |
| | | model: {}, |
| | | hitaskDataSource:[], |
| | | validatorRules: { |
| | | repairManagerApproveResult: [{ required: true, message: '请选择确认类型' }], |
| | | technicalManagerApproveResult: [{ required: true, message: '请选择确认类型' }] |
| | |
| | | detail: { |
| | | dataSource: [], |
| | | columns: [], |
| | | hitaskDataSource:[], |
| | | inspectionColumns: [ |
| | | { |
| | | title: 'ID', |
| | |
| | | }, |
| | | computed: { |
| | | displayRepairLeaderFlag() { |
| | | return this.model.standardStatus && ['WAIT_REPAIR_DIRECTOR', 'WAIT_TECHNICAL_DIRECTOR', 'REJECTED'].includes(this.model.standardStatus) |
| | | return this.model.standardStatus && ['WAIT_REPAIR_DIRECTOR', 'WAIT_TECHNICAL_DIRECTOR','START', 'REJECTED'].includes(this.model.standardStatus) |
| | | }, |
| | | |
| | | displayTechnicalDirectorFlag() { |
| | | return this.model.standardStatus && ['WAIT_TECHNICAL_DIRECTOR', 'REJECTED'].includes(this.model.standardStatus) && this.model.repairManagerApproveResult === '1' |
| | | return this.model.standardStatus && ['WAIT_TECHNICAL_DIRECTOR','START', 'REJECTED'].includes(this.model.standardStatus) && this.model.repairManagerApproveResult === '1' |
| | | }, |
| | | |
| | | encodedDictCode() { |
| | |
| | | handleDetail(record) { |
| | | this.detail.dataSource = [] |
| | | this.model = Object.assign({}, record) |
| | | this.getFlowTaskListByApi(record) |
| | | this.loadDetail(record.id) |
| | | }, |
| | | |