Commit b2cb759e0bfcc1be60494a072fe3389a5c6c90fe
1 parent
b2d351b9
工会列表页面,跳转详情页参数设置,shop_type: '3'
Showing
1 changed file
with
12 additions
and
5 deletions
src/pages/labourUnion/labourUnion.vue
| @@ -401,15 +401,22 @@ | @@ -401,15 +401,22 @@ | ||
| 401 | */ | 401 | */ |
| 402 | toOrderList() { | 402 | toOrderList() { |
| 403 | 403 | ||
| 404 | - console.log('toOrderList'); | ||
| 405 | - | ||
| 406 | // 判断App内 | 404 | // 判断App内 |
| 407 | if (this.isCNLive.value) { | 405 | if (this.isCNLive.value) { |
| 408 | 406 | ||
| 407 | + // 判断通用跳转函数是否存在 | ||
| 408 | + if (typeof this.$parent.gotoDetail === 'function') { | ||
| 409 | 409 | ||
| 410 | - | ||
| 411 | - | 410 | + // 跳转参数 |
| 411 | + let params = { | ||
| 412 | + type: '42', | ||
| 413 | + to: item.id, | ||
| 414 | + shop_type: '' | ||
| 415 | + }; | ||
| 412 | 416 | ||
| 417 | + // 通用跳转 | ||
| 418 | + this.$parent.gotoDetail(params); | ||
| 419 | + } | ||
| 413 | } else { | 420 | } else { |
| 414 | 421 | ||
| 415 | // App外,唤起App | 422 | // App外,唤起App |
| @@ -433,7 +440,7 @@ | @@ -433,7 +440,7 @@ | ||
| 433 | let params = { | 440 | let params = { |
| 434 | type: '2', | 441 | type: '2', |
| 435 | to: item.id, | 442 | to: item.id, |
| 436 | - shop_type: item.shop_type | 443 | + shop_type: '3' |
| 437 | }; | 444 | }; |
| 438 | 445 | ||
| 439 | // 通用跳转 | 446 | // 通用跳转 |