diff --git a/pkg_join/views/index.vue b/pkg_join/views/index.vue index b33aa7a..7a5376f 100644 --- a/pkg_join/views/index.vue +++ b/pkg_join/views/index.vue @@ -56,6 +56,7 @@ export default { hasHotel: null, hasSupplier: null, hasWholesaler: null, + hasTravel: null, images: null, pageKeyId: Object.freeze('merchantApplyIndex'), canApplyHotel: false @@ -71,6 +72,7 @@ export default { this.hasSupplier = data.hasSupplier this.hasWholesaler = data.hasWholesaler this.canApplyHotel = data.canApplyHotel + this.hasTravel = data.hasTravel }) }, methods: { @@ -78,7 +80,11 @@ export default { * 跳转旅游 residences */ toTravelResidence() { - this.$yrouter.push('/pkg_join/views/travelResidence?partnerId=' + this.partnerId) + if (this.hasTravel === 1) { + this.$global.goSupplierMini() + } else { + this.$yrouter.push('/pkg_join/views/travelResidence?partnerId=' + this.partnerId) + } }, /** * 跳转