| | |
| | | TodolistRightTop |
| | | }, |
| | | data() { |
| | | let rejectText = '驳回';//+this.row.categoryName; |
| | | console.log(this,'ttt'); |
| | | return { |
| | | |
| | | applist: [], |
| | |
| | | span: 24, |
| | | dicData: [ |
| | | { label: '通过', value: 'Y' }, |
| | | { label: '驳回', value: 'N' }, |
| | | { label: rejectText, value: 'N' }, |
| | | ], |
| | | rules: [{ required: true, message: '请选择审批结果', trigger: 'blur' }], |
| | | }, |
| | |
| | | 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; // 隐藏工序版次 |
| | |
| | | menu: false, |
| | | dialogClickModal: false, |
| | | column: [ |
| | | { |
| | | label: '流程标题', |
| | | prop: 'title', |
| | | }, |
| | | { |
| | | label: '图号', |
| | | prop: 'drawingNo', |
| | |
| | | ).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(); |
| | | }); |
| | | }); |