1
李喆(开发组)
2025-08-11 56678678d33bc7fcd6939b165787606615963649
src/views/wel/components/TodolistLeft.vue
@@ -1,7 +1,7 @@
<!--
 * @Date: 2025-07-01 20:45:15
 * @LastEditors: gaoshp
 * @LastEditTime: 2025-08-06 20:40:36
 * @LastEditors: 李喆(开发组) lzhe@yxqiche.com
 * @LastEditTime: 2025-08-11 09:55:37
 * @FilePath: /mdmweb/src/views/flow/components/TodolistLeft.vue
-->
<template>
@@ -46,7 +46,10 @@
    props: {
        row: {
            type: Object,
        }
        },
        replaceDataId: {type: String},
        drawingNo: {type: String},
        processNo: {type: String}
    },
    data() {
        return {
@@ -64,10 +67,12 @@
                        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
                            processInstanceId: this.replaceDataId,
                            drawingNo: this.drawingNo,   //图号
                            processNo: this.processNo  //工序号
                        },
                    }
                ]
@@ -129,13 +134,13 @@
                this.attForm.att = '';
                return done();
            } else {
                console.log(res)
                this.$message.warning(res.msg || '上传失败');
                done()
            }
        },
        getAttList () {
            getSelectedAppList(this.row.processInstanceId).then(res => {
            //console.log(this.row.processInstanceId)
            getSelectedAppList(this.replaceDataId).then(res => {
                if (res.data.code !== 200) {
                    this.$message.error('获取已选程序失败');
                    return;