|
|
|
@ -49,7 +49,7 @@ |
|
|
|
</view> |
|
|
|
<text class="center">立即开通会员 尊享特权</text> |
|
|
|
<view class="right"> |
|
|
|
<text class="text">开通会员</text> |
|
|
|
<text class="text">{{ isVip ? '续费会员' : '开通会员' }}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -126,14 +126,13 @@ |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view @click="logout">mine</view> |
|
|
|
<view @click="go2('client-credit')">client-credit</view> |
|
|
|
<view @click="go2('enterprise-info')">enterprise-info</view> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { exit, go2, loginGo2 } from '@/utils/hook.js' |
|
|
|
import { go2, loginGo2 } from '@/utils/hook.js' |
|
|
|
import { fddEnterpriseStatus } from '@/enums/index.js' |
|
|
|
import { getBaseInfo, getVerifyUrl } from '@/apis/commonApi.js' |
|
|
|
import qnDataPicker from '@/components/qn-data-picker/qn-data-picker.vue' |
|
|
|
@ -182,10 +181,8 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
logout() { |
|
|
|
exit() |
|
|
|
}, |
|
|
|
// 企业法大大实名认证 |
|
|
|
certifyCompany() { |
|
|
|
if (this.userInfo.fddEnterpriseStatus === fddEnterpriseStatus.UNCERTIFIED || this.userInfo.fddEnterpriseStatus === fddEnterpriseStatus.CERTIFIED_FAIL) { |
|
|
|
@ -249,9 +246,11 @@ export default { |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
hasLogin() { |
|
|
|
console.log('token:', this.$store.state.qnToken) |
|
|
|
return this.$store.state.qnToken != '' |
|
|
|
}, |
|
|
|
isVip() { |
|
|
|
return this.$store.state.supplierInfo.isVip == true |
|
|
|
}, |
|
|
|
curAvatar() { |
|
|
|
if (!this.hasLogin) { |
|
|
|
return '/static/imgs/mine/user-avatar.png' |
|
|
|
|