Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj-simple
/
dj-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a9df31e4
authored
Mar 21, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat 登录功能注释
1 parent
184a8927
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
104 additions
and
2 deletions
src/router/modules/917_salepre.js
src/views/system/login/index.vue
src/router/modules/917_salepre.js
0 → 100644
View file @
a9df31e
const
_import
=
require
(
"@/libs/util.import."
+
process
.
env
.
NODE_ENV
)
export
const
routerName
=
{
916
:
{
path
:
"/accountCenter"
,
name
:
"accountCenter"
,
meta
:
{
title
:
"账户中心"
,
authId
:
"916"
,
parentId
:
"1"
,
cache
:
false
}
},
91601
:
{
path
:
"/account"
,
name
:
"account"
,
meta
:
{
title
:
"账户类型列表"
,
authId
:
"91601"
,
parentId
:
"916"
,
cache
:
false
},
component
:
_import
(
"accountCenter/account"
)
},
91602
:
{
path
:
"/product"
,
name
:
"product"
,
meta
:
{
title
:
"产品管理"
,
authId
:
"91602"
,
parentId
:
"916"
,
cache
:
false
},
component
:
_import
(
"accountCenter/product"
)
},
91603
:
{
path
:
"/menu"
,
name
:
"menu"
,
meta
:
{
title
:
"菜单管理"
,
authId
:
"91603"
,
parentId
:
"916"
,
cache
:
false
},
component
:
_import
(
"accountCenter/menu"
)
},
91604
:
{
path
:
"/function"
,
name
:
"function"
,
meta
:
{
title
:
"功能管理"
,
authId
:
"91604"
,
parentId
:
"916"
,
cache
:
false
},
component
:
_import
(
"accountCenter/function"
)
},
91605
:
{
path
:
"/dictionary"
,
name
:
"dictionary"
,
meta
:
{
title
:
"字典管理"
,
authId
:
"91605"
,
parentId
:
"916"
,
cache
:
false
},
component
:
_import
(
"accountCenter/dictionary"
)
},
91606
:
{
path
:
"/merchant"
,
name
:
"merchant"
,
meta
:
{
title
:
"商户管理"
,
authId
:
"91606"
,
parentId
:
"916"
,
cache
:
false
},
component
:
_import
(
"accountCenter/merchant"
)
},
91607
:
{
path
:
"/role"
,
name
:
"role"
,
meta
:
{
title
:
"角色管理"
,
authId
:
"91607"
,
parentId
:
"916"
,
cache
:
false
},
component
:
_import
(
"accountCenter/role"
)
},
91608
:
{
path
:
"/employee"
,
name
:
"employee"
,
meta
:
{
title
:
"员工管理"
,
authId
:
"91608"
,
parentId
:
"916"
,
cache
:
false
},
component
:
_import
(
"accountCenter/employee"
)
}
}
src/views/system/login/index.vue
View file @
a9df31e
...
@@ -226,7 +226,7 @@ export default {
...
@@ -226,7 +226,7 @@ export default {
this
.
timeInterval
=
setInterval
(()
=>
this
.
refreshTime
(),
1000
)
this
.
timeInterval
=
setInterval
(()
=>
this
.
refreshTime
(),
1000
)
this
.
$event
.
$on
(
"e-reg-dialog"
,
(
res
)
=>
(
this
.
registerDialogVisible
=
res
))
this
.
$event
.
$on
(
"e-reg-dialog"
,
(
res
)
=>
(
this
.
registerDialogVisible
=
res
))
this
.
scrmLogin
()
this
.
scrmLogin
()
this
.
ssoLogin
()
//
this.ssoLogin()
},
},
beforeDestroy
()
{
beforeDestroy
()
{
clearInterval
(
this
.
timeInterval
)
clearInterval
(
this
.
timeInterval
)
...
@@ -265,7 +265,7 @@ export default {
...
@@ -265,7 +265,7 @@ export default {
username
:
"admin"
,
username
:
"admin"
,
password
:
"1f0a748dbb065d4f"
,
password
:
"1f0a748dbb065d4f"
,
code
:
"8888"
,
code
:
"8888"
,
lt
:
"LT-2433
0-yMjzGZjMu1tyW29hjqCRU2zcEnsKJq
"
,
lt
:
"LT-2433
7-i6CZbCnU6mmRmNfwD6QXAxibezn44F
"
,
j_captcha_response
:
"8888"
j_captcha_response
:
"8888"
})
})
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
...
...
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