1
Showing
3 changed files
with
8 additions
and
5 deletions
| ... | @@ -102,7 +102,7 @@ export default { | ... | @@ -102,7 +102,7 @@ export default { |
| 102 | } else {//切换到该页面时执行 | 102 | } else {//切换到该页面时执行 |
| 103 | if (window.location.hash == '#/ywbl/dbx') { | 103 | if (window.location.hash == '#/ywbl/dbx') { |
| 104 | console.log('让我看看', window.location) | 104 | console.log('让我看看', window.location) |
| 105 | that.fetchData() | 105 | this.fetchData() |
| 106 | } | 106 | } |
| 107 | } | 107 | } |
| 108 | }, | 108 | }, | ... | ... |
| ... | @@ -111,14 +111,16 @@ export default { | ... | @@ -111,14 +111,16 @@ export default { |
| 111 | bsmBusiness:this.bsmBusiness, | 111 | bsmBusiness:this.bsmBusiness, |
| 112 | outstepopinion:this.outstepopinion | 112 | outstepopinion:this.outstepopinion |
| 113 | }) | 113 | }) |
| 114 | console.log(this.list,44) | ||
| 115 | sendBackTask(this.list).then(res => { | 114 | sendBackTask(this.list).then(res => { |
| 116 | console.log(res,11) | ||
| 117 | if (res.code === 200) { | 115 | if (res.code === 200) { |
| 116 | this.$message.success('退回成功') | ||
| 117 | setTimeout(() => { | ||
| 118 | window.opener = null; | 118 | window.opener = null; |
| 119 | window.open("about:blank", "_self"); | 119 | window.open("about:blank", "_self"); |
| 120 | window.close(); | 120 | window.close(); |
| 121 | this.$emit('input', false) | 121 | this.$emit('input', false) |
| 122 | }, 1000); | ||
| 123 | |||
| 122 | }else{ | 124 | }else{ |
| 123 | this.$message.error(res.message) | 125 | this.$message.error(res.message) |
| 124 | } | 126 | } | ... | ... |
| ... | @@ -37,12 +37,13 @@ export default { | ... | @@ -37,12 +37,13 @@ export default { |
| 37 | completeTask(this.queryForm).then(res => { | 37 | completeTask(this.queryForm).then(res => { |
| 38 | console.log(res) | 38 | console.log(res) |
| 39 | if (res.code === 200) { | 39 | if (res.code === 200) { |
| 40 | console.log(res,555) | 40 | this.$message.success('转件成功') |
| 41 | setTimeout(() => { | ||
| 41 | window.opener = null; | 42 | window.opener = null; |
| 42 | window.open("about:blank", "_self"); | 43 | window.open("about:blank", "_self"); |
| 43 | window.close(); | 44 | window.close(); |
| 44 | this.$emit('input', false) | 45 | this.$emit('input', false) |
| 45 | 46 | }, 1000); | |
| 46 | } | 47 | } |
| 47 | }) | 48 | }) |
| 48 | }, | 49 | }, | ... | ... |
-
Please register or sign in to post a comment