dev
wyy 2 years ago
parent b15f627c5b
commit 46563e3a9f

@ -21,10 +21,19 @@ export default {
data() { data() {
return { return {
locale: zhCN, // locale: zhCN, //
vipID: '16021', // id vipID: '', // id
} }
}, },
created() { 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; const { bus } = WujieVue2;
bus.$on('openUserInfo', (event) => { bus.$on('openUserInfo', (event) => {
if (event.status) { if (event.status) {

@ -154,7 +154,7 @@ export default {
// //
async getQuerySysMemberBase() { async getQuerySysMemberBase() {
try { try {
const url = `${this.$basUrl.http}enterpriseMemberCorp/querySysMemberBase`; const url = `${this.$basUrl.member}member/enterpriseMemberCorp/querySysMemberBase`;
const params = { sysMemberd: this.vipID }; const params = { sysMemberd: this.vipID };
const res = await this.$http.get(url, { params: params }); const res = await this.$http.get(url, { params: params });
const { code, data } = res; const { code, data } = res;

Loading…
Cancel
Save