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) {