| | |
| | | @closed="closehandle"> |
| | | <el-form :model="form" :rules="rules"> |
| | | <el-form-item :label-width="formLabelWidth" label="原密码" prop="oldPassword"> |
| | | <el-input v-model="form.oldPassword" autocomplete="off"></el-input> |
| | | <el-input v-model="form.oldPassword" autocomplete="off" type="password"></el-input> |
| | | </el-form-item> |
| | | <el-form-item :label-width="formLabelWidth" label="新密码" prop="newPassword"> |
| | | <el-input v-model="form.newPassword" autocomplete="off"></el-input> |
| | | <el-input v-model="form.newPassword" autocomplete="off" type="password"></el-input> |
| | | </el-form-item> |
| | | <el-form-item :label-width="formLabelWidth" label="确认密码" prop="newPassword1"> |
| | | <el-input v-model="form.newPassword1" autocomplete="off"></el-input> |
| | | <el-input v-model="form.newPassword1" autocomplete="off" type="password"></el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | |
| | | addHandler() { |
| | | this.dialogFormVisible = false |
| | | updatePassword(md5(this.form.oldPassword), this.form.newPassword, this.form.newPassword1).then(res => { |
| | | console.log(res) |
| | | //console.log(res) |
| | | if (res.data.code == 200) { |
| | | this.$message({ |
| | | type: "success", |