yangys
2025-08-09 525ff2d9596b6549d8dec43328160413e7cb3fb7
dnc导出增加字段
已修改2个文件
12 ■■■■ 文件已修改
src/views/flow/todolist.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/flowmgr/programexport.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/flow/todolist.vue
@@ -42,6 +42,8 @@
        TodolistRightTop
    },
    data() {
        let rejectText = '驳回';//+this.row.categoryName;
        console.log(this,'ttt');
        return {
            
            applist: [],
@@ -64,7 +66,7 @@
                        span: 24,
                        dicData: [
                            { label: '通过', value: 'Y' },
                            { label: '驳回', value: 'N' },
                            { label: rejectText, value: 'N' },
                        ],
                        rules: [{ required: true, message: '请选择审批结果', trigger: 'blur' }],
                    },
@@ -300,7 +302,7 @@
                this.formApprove.assignee = ''
                // this.formApprove.assignee = row.variables.senior;
            }
            if(val === 'Y' && ['confirmIsUseableTask'].includes(this.row.taskDefinitionKey) && this.row.variables.isProcessNoSame=='N') {
            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; // 隐藏工序版次
src/views/flowmgr/programexport.vue
@@ -63,6 +63,10 @@
                menu: false,
                dialogClickModal: false,
                column: [
                    {
                        label: '流程标题',
                        prop: 'title',
                    },
                    {
                        label: '图号',
                        prop: 'drawingNo',
@@ -183,7 +187,7 @@
                ).then(res => {
                    let name = res.headers['content-disposition'].split('filename=')[1]
                    console.log(res.headers['content-disposition'].split('filename=')[1]);
                    downloadFile(res.data, `导出DNC-${name}`);
                    downloadFile(res.data, `${name}`);
                    NProgress.done();
                });
            });