Showing
3 changed files
with
8 additions
and
1 deletions
| ... | @@ -147,6 +147,9 @@ export default { | ... | @@ -147,6 +147,9 @@ export default { |
| 147 | loading: false, | 147 | loading: false, |
| 148 | }; | 148 | }; |
| 149 | }, | 149 | }, |
| 150 | + activated(){ | ||
| 151 | + this.getList() | ||
| 152 | + }, | ||
| 150 | methods: { | 153 | methods: { |
| 151 | getList() { | 154 | getList() { |
| 152 | this.queryParams.limit = this.limit; | 155 | this.queryParams.limit = this.limit; |
| ... | @@ -199,6 +202,7 @@ export default { | ... | @@ -199,6 +202,7 @@ export default { |
| 199 | message: res.msg, | 202 | message: res.msg, |
| 200 | type: res.code === 200 ? "success" : "warning", | 203 | type: res.code === 200 ? "success" : "warning", |
| 201 | }); | 204 | }); |
| 205 | + this.getList() | ||
| 202 | }) | 206 | }) |
| 203 | .catch(() => {}); | 207 | .catch(() => {}); |
| 204 | }) | 208 | }) |
| ... | @@ -226,7 +230,7 @@ export default { | ... | @@ -226,7 +230,7 @@ export default { |
| 226 | }, | 230 | }, |
| 227 | }, | 231 | }, |
| 228 | created() { | 232 | created() { |
| 229 | - this.getList(); | 233 | + // this.getList(); |
| 230 | }, | 234 | }, |
| 231 | computed:{ | 235 | computed:{ |
| 232 | purposeOfFlightNo: { | 236 | purposeOfFlightNo: { | ... | ... |
| ... | @@ -386,10 +386,12 @@ | ... | @@ -386,10 +386,12 @@ |
| 386 | // 目的航班弹出框返回 | 386 | // 目的航班弹出框返回 |
| 387 | cancelFlightDate() { | 387 | cancelFlightDate() { |
| 388 | this.openFlightDate = false; | 388 | this.openFlightDate = false; |
| 389 | + this.findSourceFlightAndFlightDate(); | ||
| 389 | }, | 390 | }, |
| 390 | // 取消按钮 | 391 | // 取消按钮 |
| 391 | cancel() { | 392 | cancel() { |
| 392 | this.open = false; | 393 | this.open = false; |
| 394 | + this.findSourceFlightAndFlightDate(); | ||
| 393 | //this.reset(); | 395 | //this.reset(); |
| 394 | }, | 396 | }, |
| 395 | // 状态字典翻译 | 397 | // 状态字典翻译 | ... | ... |
-
Please register or login to post a comment