|
@@ -164,7 +164,12 @@ export default {
|
|
|
...mapGetters('user', ['isLogin', 'isFree', 'isMember', 'isSuper']),
|
|
|
viperbtnText() {
|
|
|
if (this.isSuper) {
|
|
|
- return '1'
|
|
|
+ if (this.renew) {
|
|
|
+ // 允许立即续费
|
|
|
+ return '立即续费'
|
|
|
+ } else {
|
|
|
+ return '续费咨询'
|
|
|
+ }
|
|
|
} else {
|
|
|
return '立即开通'
|
|
|
}
|
|
@@ -213,7 +218,22 @@ export default {
|
|
|
callPhone,
|
|
|
getUserAccountInfoAjax() {
|
|
|
getUserAccountInfo().then((res) => {
|
|
|
- console.log(res)
|
|
|
+ let data = res.data
|
|
|
+ if (data.list && data.list.length > 0) {
|
|
|
+ let list = data.list
|
|
|
+ list.forEach((ele) => {
|
|
|
+ if (ele.name === '超级订阅') {
|
|
|
+ this.renew = ele.attr.renew || false
|
|
|
+ }
|
|
|
+ if (ele.name.includes('大会员')) {
|
|
|
+ if (this.$envs.inApp) {
|
|
|
+ this.hjLink = ele.attr.app || ''
|
|
|
+ } else {
|
|
|
+ this.hjLink = ele.attr.h5 || ''
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
cardClick(item) {
|
|
@@ -233,13 +253,15 @@ export default {
|
|
|
}
|
|
|
} else if (item.title === '大会员商机版2.0') {
|
|
|
if (this.memberbtnText === '立即开通') {
|
|
|
+ this.$router.push('/order/create/bigmember?meal=sj')
|
|
|
} else if (this.memberbtnText === '续费咨询') {
|
|
|
- window.location.href = ''
|
|
|
+ window.location.href = this.hjLink
|
|
|
}
|
|
|
} else if (item.title === '大会员专家版2.0') {
|
|
|
if (this.memberbtnText === '立即开通') {
|
|
|
+ this.$router.push('/order/create/bigmember?meal=zj')
|
|
|
} else if (this.memberbtnText === '续费咨询') {
|
|
|
- window.location.href = ''
|
|
|
+ window.location.href = this.hjLink
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -285,7 +307,9 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ hjLink: '',
|
|
|
tab: 0,
|
|
|
+ renew: false,
|
|
|
cardlist: [
|
|
|
{
|
|
|
title: '超级订阅',
|
|
@@ -940,7 +964,7 @@ export default {
|
|
|
{
|
|
|
color: 'yellowb',
|
|
|
title: '业务拓展',
|
|
|
- head: ['服务项目', '超级订阅', '大会员商机版2.0'],
|
|
|
+ head: ['服务项目', '大会员商机版2.0', '大会员专家版2.0'],
|
|
|
content: [
|
|
|
{
|
|
|
one: '招标/采购进度监控(项目进度监控)',
|