From f859f380bc398eea58d8f076c64e54bd96561acb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Tue, 30 Jan 2024 14:21:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=81=E7=A8=8B=E8=AF=A6?= =?UTF-8?q?=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/processDetail/index.vue | 33 ++++++++++++------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/src/pages/processCenter/pages/processDetail/index.vue b/src/pages/processCenter/pages/processDetail/index.vue index 6ebe26235..5df36a19c 100644 --- a/src/pages/processCenter/pages/processDetail/index.vue +++ b/src/pages/processCenter/pages/processDetail/index.vue @@ -1451,18 +1451,29 @@ }, // 导出事件 exportStandard() { - const ids = [] - if (this.tableRow.length > 0) { - this.tableRow.map(item => { - ids.push(item.id) - }) - } else { - this.detailData.map(item => { - ids.push(item.id) - }) + if (this.$route.query.oldAndNew == 'new' && this.$route.query.flowType == '3') { + const ids = [] + if (this.tableRow.length > 0) { + this.tableRow.map(item => { + ids.push(item.id) + }) + } + window.location.href = '/api/lawss/activiti/exportFlowHistoryList?idAndSartypeList=' + ids.join(',') + '&prcNum=' + this.$route.query.prcNum + '&actiProcInstId=' + this.$route.query.actiProcInstId + '&flowType=' + this.$route.query.flowType + this.$message.success('导出信息成功') + }else{ + const ids = [] + if (this.tableRow.length > 0) { + this.tableRow.map(item => { + ids.push(item.id) + }) + } else { + this.detailData.map(item => { + ids.push(item.id) + }) + } + window.location.href = '/api/lawss/activiti/exportProcessDetailInfo?idAndSartypeList=' + ids.join(',') + '&prcNum=' + this.$route.query.prcNum + this.$message.success('导出信息成功') } - window.location.href = '/api/lawss/activiti/exportProcessDetailInfo?idAndSartypeList=' + ids.join(',') + '&prcNum=' + this.$route.query.prcNum - this.$message.success('导出信息成功') }, // 表格排序 sortChange(sortObj) {