|
|
|
@ -21,10 +21,19 @@ export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
locale: zhCN, //英文切换中文
|
|
|
|
|
vipID: '16021', // 用户id 必传
|
|
|
|
|
vipID: '', // 用户id 必传
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
const props = window.$wujie?.props;
|
|
|
|
|
if (props.platform === 'employ') {
|
|
|
|
|
const token = {
|
|
|
|
|
isSelfSupport: 0,
|
|
|
|
|
access_token: JSON.parse(sessionStorage.getItem('CX_STAGE_USERINFO')).authorization
|
|
|
|
|
}
|
|
|
|
|
sessionStorage.setItem('CX_Common_UserInfo', JSON.stringify(token))
|
|
|
|
|
this.vipID = JSON.parse(sessionStorage.getItem('userInfo')).id;
|
|
|
|
|
}
|
|
|
|
|
const { bus } = WujieVue2;
|
|
|
|
|
bus.$on('openUserInfo', (event) => {
|
|
|
|
|
if (event.status) {
|
|
|
|
|