src/views/wel/components/TodolistLeft.vue
@@ -42,6 +42,7 @@ }, data() { return { fileType: '', showContentId: '', attForm: { att: '', @@ -71,8 +72,11 @@ action: '/api/blade-mdm/flow/replace/upload', span: 24, data: { drawingNo: this.drawingNo, processNo: this.processNo, processEdition: this.processEdition, processInstanceId: this.replaceDataId, fileType: 'program', fileType: this.fileType, }, } ] @@ -130,6 +134,8 @@ 'attForm.fileType': { handler(newVal) { this.attOption.column[1].data.fileType = newVal; this.fileType = newVal; console.log(this.fileType) }, immediate: true, },