| | |
| | | }, |
| | | data() { |
| | | return { |
| | | fileType: '', |
| | | showContentId: '', |
| | | attForm: { |
| | | att: '', |
| | |
| | | prop: 'att', |
| | | type: 'upload', |
| | | multiple: true, |
| | | action: '/api/blade-mdm/flow/mgr/ncupload', |
| | | action: '/api/blade-mdm/flow/replace/upload', |
| | | span: 24, |
| | | data: { |
| | | processInstanceId: this.row.processInstanceId, |
| | | fileType: 'program', |
| | | drawingNo: this.drawingNo, |
| | | processNo: this.processNo, |
| | | processEdition: this.processEdition, |
| | | processInstanceId: this.replaceDataId, |
| | | fileType: this.fileType, |
| | | }, |
| | | } |
| | | ] |
| | |
| | | 'attForm.fileType': { |
| | | handler(newVal) { |
| | | this.attOption.column[1].data.fileType = newVal; |
| | | this.fileType = newVal; |
| | | console.log(this.fileType) |
| | | }, |
| | | immediate: true, |
| | | }, |