Commit 4b0f2ddb by yangchao

updaye

1 parent 2580a21d
......@@ -72,7 +72,7 @@ service.interceptors.response.use(response => {
duration: 1.5 * 1000,
onClose: () => {
clearCookie();
// window.location.href = store.state.domainURL + 'shoplist';
window.location.href = store.state.inviteBaseUrl + 'login';
}
})
} else if (response.data.error !== 0) {
......
......@@ -96,7 +96,7 @@
<div class="line-style">
<div class="label">面试时间:</div>
<el-date-picker v-model="interview_time" size="small"
type="datetime" placeholder="选择日期时间"
type="datetime" format="yyyy-MM-dd HH:mm:ss" placeholder="选择日期时间"
style="width: 270px">
</el-date-picker>
</div>
......
......@@ -30,7 +30,6 @@
<el-dropdown-menu slot="dropdown">
<el-dropdown-item command="phone" style="font-size: 12px;">{{name}}</el-dropdown-item>
<el-dropdown-item command="modify" style="font-size: 12px;" divided>修改密码</el-dropdown-item>
<el-dropdown-item command="logout" style="font-size: 12px;">切换店铺</el-dropdown-item>
<el-dropdown-item command="logoutAdmin" style="font-size: 12px;">退出登录</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
......
......@@ -191,14 +191,14 @@
let info = res.data.authorize;
setUserToken(info.token);
setUserInfo({
name: res.data.name,
nickname: res.data.nickname,
phone: this.loginInfo.uname
name: res.data.info.account,
nickname: res.data.info.account,
phone: res.data.info.phone
});
store.commit('updateUserInfo', {
name: res.data.name,
nickname: res.data.nickname,
phone: this.loginInfo.uname
name: res.data.info.account,
nickname: res.data.info.account,
phone: res.data.info.phone
});
this.$router.push("/position/list");
});
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!