Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨硕
template_vue
Commits
56f2dce5
Commit
56f2dce5
authored
May 22, 2024
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.重置密码
parent
ccea7577
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
user.js
src/api/system/user.js
+1
-1
index.vue
src/views/system/user/index.vue
+9
-7
No files found.
src/api/system/user.js
View file @
56f2dce5
...
...
@@ -67,7 +67,7 @@ export function resetUserPwd(businessId, password) {
password
}
return
request
({
url
:
'/system/user/
updatePw
d'
,
url
:
'/system/user/
resetPasswor
d'
,
method
:
'put'
,
params
:
data
})
...
...
src/views/system/user/index.vue
View file @
56f2dce5
...
...
@@ -148,13 +148,15 @@
type=
"text"
style=
"color: #49cec9"
@
click=
"handleUpdate(scope.row)"
>
修改
</el-button>
<!--
<el-button-->
<!-- size="mini"-->
<!-- type="text"-->
<!-- :loading="addLoading"-->
<!-- @click="handleResetPwd(scope.row)"-->
<!-- >重置
</el-button>
-->
>
修改
</el-button>
<el-button
size=
"mini"
type=
"text"
:loading=
"addLoading"
@
click=
"handleResetPwd(scope.row)"
>
重置密码
</el-button>
<el-button
v-if=
"scope.row.businessId !== 1"
size=
"mini"
...
...
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