Commit 4b0f2ddb by yangchao

updaye

1 parent 2580a21d
...@@ -72,7 +72,7 @@ service.interceptors.response.use(response => { ...@@ -72,7 +72,7 @@ service.interceptors.response.use(response => {
duration: 1.5 * 1000, duration: 1.5 * 1000,
onClose: () => { onClose: () => {
clearCookie(); clearCookie();
// window.location.href = store.state.domainURL + 'shoplist'; window.location.href = store.state.inviteBaseUrl + 'login';
} }
}) })
} else if (response.data.error !== 0) { } else if (response.data.error !== 0) {
......
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
<div class="line-style"> <div class="line-style">
<div class="label">面试时间:</div> <div class="label">面试时间:</div>
<el-date-picker v-model="interview_time" size="small" <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"> style="width: 270px">
</el-date-picker> </el-date-picker>
</div> </div>
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item command="phone" style="font-size: 12px;">{{name}}</el-dropdown-item> <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="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-item command="logoutAdmin" style="font-size: 12px;">退出登录</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
......
...@@ -191,14 +191,14 @@ ...@@ -191,14 +191,14 @@
let info = res.data.authorize; let info = res.data.authorize;
setUserToken(info.token); setUserToken(info.token);
setUserInfo({ setUserInfo({
name: res.data.name, name: res.data.info.account,
nickname: res.data.nickname, nickname: res.data.info.account,
phone: this.loginInfo.uname phone: res.data.info.phone
}); });
store.commit('updateUserInfo', { store.commit('updateUserInfo', {
name: res.data.name, name: res.data.info.account,
nickname: res.data.nickname, nickname: res.data.info.account,
phone: this.loginInfo.uname phone: res.data.info.phone
}); });
this.$router.push("/position/list"); 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!