diff --git a/src/views/outbounds/component/addoutbounds.vue b/src/views/outbounds/component/addoutbounds.vue index 269ac76..47a649c 100644 --- a/src/views/outbounds/component/addoutbounds.vue +++ b/src/views/outbounds/component/addoutbounds.vue @@ -932,6 +932,9 @@ export default { const url = `${process.env.VUE_APP_OA_URL}/admin/flow/create/${typeid}?wuziguanli_oatoken=${this.wuziguanli_oatoken}&&outbounds_id=${res.id}&default_json=${JSON.stringify(default_json)}` const seeBuy = window.open(url, '_blank') + if(this.$route.query.oaType==='wuzi'){ + window.history.back() + } }, submit() { console.log('this.mingxiList', this.mingxiList) diff --git a/src/views/outbounds/index.vue b/src/views/outbounds/index.vue index fcc6b5d..7421f26 100644 --- a/src/views/outbounds/index.vue +++ b/src/views/outbounds/index.vue @@ -351,6 +351,9 @@ export default { const url = `${process.env.VUE_APP_OA_URL}/admin/flow/create/${typeid}?wuziguanli_oatoken=${this.wuziguanli_oatoken}&&outbounds_id=${res.id}&default_json=${JSON.stringify(default_json)}` const seeBuy = window.open(url, '_blank') + if(this.$route.query.oaType==='wuzi'){ + window.history.back() + } }, deleteChuku(row) { // return diff --git a/src/views/stocks/component/addRuku.vue b/src/views/stocks/component/addRuku.vue index f8311f1..4bb37f5 100644 --- a/src/views/stocks/component/addRuku.vue +++ b/src/views/stocks/component/addRuku.vue @@ -588,7 +588,11 @@ const url = `${process.env.VUE_APP_OA_URL}/admin/flow/create/${typeid}?wuziguanli_oatoken=${this.wuziguanli_oatoken}&stocks_id=${this.link_res.id}&default_json=${JSON.stringify(default_json)}` - const seeBuy = window.open(url, '_blank') + + const seeBuy = window.open(url, '_blank') + if(this.$route.query.oaType==='wuzi'){ + window.history.back() + } }, // 关闭弹窗 handleClose() { diff --git a/src/views/stocks/index.vue b/src/views/stocks/index.vue index 7c33c2b..341c602 100644 --- a/src/views/stocks/index.vue +++ b/src/views/stocks/index.vue @@ -357,7 +357,10 @@ const url = `${process.env.VUE_APP_OA_URL}/admin/flow/create/${typeid}?wuziguanli_oatoken=${this.wuziguanli_oatoken}&stocks_id=${res.id}&default_json=${JSON.stringify(default_json)}` - const seeBuy = window.open(url, '_blank') + const seeBuy = window.open(url, '_blank') + if(this.$route.query.oaType==='wuzi'){ + window.history.back() + } }, deleteRuku(row) { console.log(row.id)