diff --git a/src/views/business/study/comp/tbbd/Bj.vue b/src/views/business/study/comp/tbbd/Bj.vue index 8e9bcd4..f0c586f 100644 --- a/src/views/business/study/comp/tbbd/Bj.vue +++ b/src/views/business/study/comp/tbbd/Bj.vue @@ -535,6 +535,18 @@ export default { this.$tab.closeOpenPage('/404') } }, + cancelSave() { + try { + let key = caesarDecipher(this.$route.params.key) + let data = JSON.parse(key) + if (data && data != undefined && data != '') { + const obj = { path: data.urlTj ? data.urlTj : data.url } + this.$tab.closeOpenPage(obj) + } + } catch (e) { + this.$tab.closeOpenPage('/404') + } + }, reset() { this.form = { id: null, @@ -564,7 +576,7 @@ export default { this.$modal.loading() studyFormFill_bcOnly(this.form).then(response => { this.$modal.closeLoading() - this.cancel() + this.cancelSave() }).finally(() => { this.$modal.closeLoading() }) @@ -585,7 +597,7 @@ export default { this.$modal.loading() studyFormFill_bc(this.form).then(response => { this.$modal.closeLoading() - this.cancel() + this.cancelSave() }).finally(() => { this.$modal.closeLoading() }) @@ -607,7 +619,7 @@ export default { studyFormFill_tj(that.formApprove).then(response => { that.openApprove = false that.$modal.closeLoading() - that.cancel() + that.cancelSave() }).finally(() => { that.$modal.closeLoading() }) diff --git a/src/views/business/study/comp/ytbd/Xq.vue b/src/views/business/study/comp/ytbd/Xq.vue index 91d1fdd..e78ba2d 100644 --- a/src/views/business/study/comp/ytbd/Xq.vue +++ b/src/views/business/study/comp/ytbd/Xq.vue @@ -10,8 +10,10 @@