Commit f70c18d6 authored by 张伯涛's avatar 张伯涛

代言人重置密码

parent e73daca5
......@@ -396,6 +396,7 @@
</div>
</template>
<script>
import { encryptTwo } from '@/utils/jsencrypt'
import {
getUserList,
delSysuser,
......@@ -913,7 +914,7 @@ export default {
this.$refs.ruleForm.validate(pass => {
if (pass) {
this.userRestLoading = true
resetSysUserPwd(this.ruleForm.row, this.ruleForm.newPassword).then(response => {
resetSysUserPwd(this.ruleForm.row, encryptTwo(this.ruleForm.newPassword)).then(response => {
if (response.code === 200) {
this.$message({
message: '修改成功',
......
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