修改流程详情

This commit is contained in:
范强强
2024-01-30 14:21:01 +08:00
parent 550817b67e
commit f859f380bc
@@ -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) {