yangys
2025-08-09 8b666c73d249fcb81b666b03ec638a8bb7357c45
src/views/flow/todolist.vue
@@ -42,6 +42,8 @@
        TodolistRightTop
    },
    data() {
       let rejectText = '驳回';//+this.row.categoryName;
        console.log(this,'ttt');
        return {
            
            applist: [],
@@ -50,7 +52,7 @@
            approveBox: false,
            formApprove: {
                comment: '',
                approve: 'Y', // 默认同意
                approve: '', // 默认同意
                assignee: ''
            },
            optionApprove: {
@@ -64,7 +66,7 @@
                        span: 24,
                        dicData: [
                            { label: '通过', value: 'Y' },
                            { label: '驳回', value: 'N' },
                            { label: rejectText, value: 'N' },
                        ],
                        rules: [{ required: true, message: '请选择审批结果', trigger: 'blur' }],
                    },
@@ -84,6 +86,15 @@
                        dicData: [
                        ],
                        // rules: [{ required: true, message: '请选择下一审批用户', trigger: 'blur' }],
                    },
                    {
                        label: '工序版次',
                        prop: 'processEdition',
                        type: 'input',
                        span: 24,
                        // disabled: true,
                        display: false,// 隐藏显示
                        // rules: [{ required: true, message: '请选择下一审批用户', trigger: 'blur' }],
                    },
                    {
@@ -291,6 +302,12 @@
                this.formApprove.assignee = ''
                // this.formApprove.assignee = row.variables.senior;
            }
            if(val === 'Y' && ['confirmIsUseableTask'].includes(this.row.taskDefinitionKey) && this.row.variables.isProcessEditionSame=='N') {
                this.optionApprove.column[2].display = true; // 显示工序版次
            } else {
                this.optionApprove.column[2].display = false; // 隐藏工序版次
            }
        },
    },
    computed: {