|
|
@@ -1,26 +1,45 @@
|
|
|
<template>
|
|
|
- <el-dialog title="修改密码" :visible.sync="adddialog" width="700px">
|
|
|
- <!-- <div class="page"> -->
|
|
|
+ <el-dialog title="修改密码"
|
|
|
+ :visible.sync="adddialog"
|
|
|
+ width="700px">
|
|
|
+ <!-- <div class="page"> -->
|
|
|
<el-row>
|
|
|
- <el-col :span="20" style="text-align:center">
|
|
|
- <el-form :model="pwdform" :rules="pwdrules" ref="pwdform" label-width="200px">
|
|
|
- <el-form-item label="当前登录密码 :" prop="pass" required>
|
|
|
- <el-input type="password" v-model="pwdform.pass" auto-complete="off"></el-input>
|
|
|
+ <el-col :span="20"
|
|
|
+ style="text-align:center">
|
|
|
+ <el-form :model="pwdform"
|
|
|
+ :rules="pwdrules"
|
|
|
+ ref="pwdform"
|
|
|
+ label-width="200px">
|
|
|
+ <el-form-item label="当前登录密码 :"
|
|
|
+ prop="pass"
|
|
|
+ required>
|
|
|
+ <el-input type="password"
|
|
|
+ v-model="pwdform.pass"
|
|
|
+ auto-complete="off"></el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="新的登录密码 :" prop="newpass" required>
|
|
|
- <el-input type="password" v-model="pwdform.newpass" auto-complete="off"></el-input>
|
|
|
+ <el-form-item label="新的登录密码 :"
|
|
|
+ prop="newpass"
|
|
|
+ required>
|
|
|
+ <el-input type="password"
|
|
|
+ v-model="pwdform.newpass"
|
|
|
+ auto-complete="off"></el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="确认新的登录密码 :" prop="checknewPass" required>
|
|
|
- <el-input type="password" v-model="pwdform.checknewPass" auto-complete="off"></el-input>
|
|
|
+ <el-form-item label="确认新的登录密码 :"
|
|
|
+ prop="checknewPass"
|
|
|
+ required>
|
|
|
+ <el-input type="password"
|
|
|
+ v-model="pwdform.checknewPass"
|
|
|
+ auto-complete="off"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <el-button type="primary" @click="submitForm('pwdform')">提交</el-button>
|
|
|
+ <el-button type="primary"
|
|
|
+ @click="submitForm('pwdform')">提交</el-button>
|
|
|
<el-button @click="resetForm('pwdform')">重置</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- </el-dialog>
|
|
|
+ </el-dialog>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
@@ -94,7 +113,7 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
})
|
|
|
- .catch(() => {})
|
|
|
+ .catch(() => { })
|
|
|
}
|
|
|
})
|
|
|
},
|