Commit 56f2dce5 authored by 高宇's avatar 高宇

1.重置密码

parent ccea7577
...@@ -67,7 +67,7 @@ export function resetUserPwd(businessId, password) { ...@@ -67,7 +67,7 @@ export function resetUserPwd(businessId, password) {
password password
} }
return request({ return request({
url: '/system/user/updatePwd', url: '/system/user/resetPassword',
method: 'put', method: 'put',
params: data params: data
}) })
......
...@@ -148,13 +148,15 @@ ...@@ -148,13 +148,15 @@
type="text" type="text"
style="color: #49cec9" style="color: #49cec9"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
>修改</el-button> >修改
<!-- <el-button--> </el-button>
<!-- size="mini"--> <el-button
<!-- type="text"--> size="mini"
<!-- :loading="addLoading"--> type="text"
<!-- @click="handleResetPwd(scope.row)"--> :loading="addLoading"
<!-- >重置</el-button>--> @click="handleResetPwd(scope.row)"
>重置密码
</el-button>
<el-button <el-button
v-if="scope.row.businessId !== 1" v-if="scope.row.businessId !== 1"
size="mini" size="mini"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment