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