Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yangchao
/
invitePc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4b0f2ddb
authored
Jan 05, 2020
by
yangchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updaye
1 parent
2580a21d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
9 deletions
src/utils/request.js
src/views/interview/list.vue
src/views/layout/components/Sidebar.vue
src/views/login/login.vue
src/utils/request.js
View file @
4b0f2dd
...
...
@@ -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
)
{
...
...
src/views/interview/list.vue
View file @
4b0f2dd
...
...
@@ -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>
...
...
src/views/layout/components/Sidebar.vue
View file @
4b0f2dd
...
...
@@ -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>
...
...
src/views/login/login.vue
View file @
4b0f2dd
...
...
@@ -191,14 +191,14 @@
let
info
=
res
.
data
.
authorize
;
setUserToken
(
info
.
token
);
setUserInfo
({
name
:
res
.
data
.
name
,
nickname
:
res
.
data
.
nickname
,
phone
:
this
.
loginInfo
.
unam
e
name
:
res
.
data
.
info
.
account
,
nickname
:
res
.
data
.
info
.
account
,
phone
:
res
.
data
.
info
.
phon
e
});
store
.
commit
(
'updateUserInfo'
,
{
name
:
res
.
data
.
name
,
nickname
:
res
.
data
.
nickname
,
phone
:
this
.
loginInfo
.
unam
e
name
:
res
.
data
.
info
.
account
,
nickname
:
res
.
data
.
info
.
account
,
phone
:
res
.
data
.
info
.
phon
e
});
this
.
$router
.
push
(
"/position/list"
);
});
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment