yangys
2025-08-17 597a7fa0913704552bd66e43cedad2dfc6572a98
src/views/wel/components/TodolistLeft.vue
@@ -42,6 +42,7 @@
    },
    data() {
        return {
            fileType: '',
            showContentId: '',
            attForm: {
                att: '',
@@ -68,11 +69,14 @@
                        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,
                        },
                    }
                ]
@@ -130,6 +134,8 @@
        'attForm.fileType': {
            handler(newVal) {
                this.attOption.column[1].data.fileType = newVal;
                this.fileType = newVal;
                console.log(this.fileType)
            },
            immediate: true,
        },