|
@@ -48,22 +48,18 @@ export default Vue.extend({
|
|
|
this.packetList = res2.data
|
|
this.packetList = res2.data
|
|
|
this.computeInfo()
|
|
this.computeInfo()
|
|
|
})
|
|
})
|
|
|
- try {
|
|
|
|
|
- const appList = this.user.app_list
|
|
|
|
|
- appList.forEach(item => {
|
|
|
|
|
- if (item.app_code === 'EXPOREG') {
|
|
|
|
|
- this.packet = item
|
|
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
|
+ try {
|
|
|
|
|
+ const permissions = this.user.permission
|
|
|
|
|
+ if (permissions.includes('expo_invitation_management')) {
|
|
|
|
|
+ this.packetData.invitation = true
|
|
|
}
|
|
}
|
|
|
- })
|
|
|
|
|
- const permissions = this.user.permission
|
|
|
|
|
- if (permissions.includes('expo_invitation_management')) {
|
|
|
|
|
- this.packetData.invitation = true
|
|
|
|
|
- }
|
|
|
|
|
- if (permissions.includes('expo_management')) {
|
|
|
|
|
- this.packetData.expo = true
|
|
|
|
|
|
|
+ if (permissions.includes('expo_management')) {
|
|
|
|
|
+ this.packetData.expo = true
|
|
|
|
|
+ }
|
|
|
|
|
+ } catch (e) {
|
|
|
}
|
|
}
|
|
|
- } catch (e) {
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ }, 0)
|
|
|
},
|
|
},
|
|
|
computeInfo() {
|
|
computeInfo() {
|
|
|
let basePacket = ''
|
|
let basePacket = ''
|
|
@@ -182,7 +178,7 @@ export default Vue.extend({
|
|
|
</div>
|
|
</div>
|
|
|
<div :class="['cycle-item',type==='invitation'?'active':'']" @click="changeType('invitation')">
|
|
<div :class="['cycle-item',type==='invitation'?'active':'']" @click="changeType('invitation')">
|
|
|
<div>签证邀请函</div>
|
|
<div>签证邀请函</div>
|
|
|
- <div class="badge" v-if="packetData.expo">已订购</div>
|
|
|
|
|
|
|
+ <div class="badge" v-if="packetData.invitation">已订购</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
@@ -220,7 +216,15 @@ export default Vue.extend({
|
|
|
</div>
|
|
</div>
|
|
|
<div class="price-cont">
|
|
<div class="price-cont">
|
|
|
<div class="price">联系我们获取定制价格</div>
|
|
<div class="price">联系我们获取定制价格</div>
|
|
|
- <div class="button">立即联系</div>
|
|
|
|
|
|
|
+ <el-popover
|
|
|
|
|
+ placement="bottom"
|
|
|
|
|
+ width="360"
|
|
|
|
|
+ trigger="click">
|
|
|
|
|
+ <div style="text-align: center">联系销售专员获取专属定制价格</div>
|
|
|
|
|
+ <img style="width: 100%" src="/static/image/qrcode.png" alt="">
|
|
|
|
|
+ <div style="text-align: center">微信扫一扫</div>
|
|
|
|
|
+ <div slot="reference" class="button">立即联系</div>
|
|
|
|
|
+ </el-popover>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="list-func list">
|
|
<div class="list-func list">
|