入库后回到待办
This commit is contained in:
@@ -338,9 +338,7 @@ export default {
|
||||
if (res.result === '操作成功' || res.data === '入库成功') {
|
||||
this.$message.success(res.data)
|
||||
setTimeout(() => {
|
||||
this.$router.push({
|
||||
name: 'ProcessCenter'
|
||||
})
|
||||
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||
}, 100)
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
|
||||
@@ -473,7 +473,7 @@ export default {
|
||||
return
|
||||
}
|
||||
|
||||
if (this.$route.query.bpnId !== '') {
|
||||
if (this.$route.query.bpnId !== '' && this.$route.params.type === 'step1') {
|
||||
// 删除草稿
|
||||
taskDel({ id: this.$route.query.bpnId })
|
||||
}
|
||||
@@ -500,7 +500,7 @@ export default {
|
||||
if (res.result === '操作成功' || res.data === '入库成功') {
|
||||
this.$message.success(res.data)
|
||||
setTimeout(() => {
|
||||
this.$router.push({ name: 'ProcessCenter' })
|
||||
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||
}, 100)
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
|
||||
@@ -594,7 +594,7 @@ export default {
|
||||
return
|
||||
}
|
||||
|
||||
if (this.$route.query.bpnId !== '') {
|
||||
if (this.$route.query.bpnId !== '' && this.$route.params.type === 'step1') {
|
||||
// 删除草稿
|
||||
taskDel({ id: this.$route.query.bpnId })
|
||||
}
|
||||
@@ -621,7 +621,7 @@ export default {
|
||||
if (res.result === '操作成功' || res.data === '入库成功') {
|
||||
this.$message.success(res.data)
|
||||
setTimeout(() => {
|
||||
this.$router.push({ name: 'ProcessCenter' })
|
||||
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||
}, 100)
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
|
||||
@@ -471,7 +471,7 @@ export default {
|
||||
return
|
||||
}
|
||||
|
||||
if (this.$route.query.bpnId !== '') {
|
||||
if (this.$route.query.bpnId !== '' && this.$route.params.type === 'step1') {
|
||||
// 删除草稿
|
||||
taskDel({ id: this.$route.query.bpnId })
|
||||
}
|
||||
@@ -498,7 +498,7 @@ export default {
|
||||
if (res.result === '操作成功' || res.data === '入库成功') {
|
||||
this.$message.success(res.data)
|
||||
setTimeout(() => {
|
||||
this.$router.push({ name: 'ProcessCenter' })
|
||||
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||
}, 100)
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
|
||||
@@ -413,9 +413,7 @@ export default {
|
||||
if (res.result === '操作成功' || res.data === '入库成功') {
|
||||
this.$message.success(res.data)
|
||||
setTimeout(() => {
|
||||
this.$router.push({
|
||||
name: 'ProcessCenter'
|
||||
})
|
||||
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||
}, 100)
|
||||
this.footerLoading = false
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user