Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
6ff04972
Commit
6ff04972
authored
Oct 26, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 登录页添加修改密码功能
parent
05d0b025
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
344 additions
and
91 deletions
+344
-91
portal-manager-ui/admin/src/api/user.js
portal-manager-ui/admin/src/api/user.js
+4
-0
portal-manager-ui/admin/src/request/request.js
portal-manager-ui/admin/src/request/request.js
+1
-1
portal-manager-ui/admin/src/views/signIn/signIn.vue
portal-manager-ui/admin/src/views/signIn/signIn.vue
+339
-90
No files found.
portal-manager-ui/admin/src/api/user.js
View file @
6ff04972
...
...
@@ -20,3 +20,7 @@ export function changePassword(params) {
export
function
editPassword
(
params
)
{
return
http
.
post
(
`
${
baseURL
}
/zwfw/user/reset/password`
,
params
);
}
// 密码过期修改密码
export
function
changeForgotPassword
(
params
)
{
return
http
.
post
(
`
${
baseURL
}
/zwfw/user/forgot/password`
,
params
);
}
portal-manager-ui/admin/src/request/request.js
View file @
6ff04972
...
...
@@ -59,7 +59,7 @@ axios.interceptors.response.use(
message
.
error
({
content
:
msg
,
maxCount
:
1
,
duration
:
1
,
duration
:
2
,
});
store
.
commit
(
"
user/reset
"
);
router
.
push
(
"
/
"
);
...
...
portal-manager-ui/admin/src/views/signIn/signIn.vue
View file @
6ff04972
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment