This commit is contained in:
jmal 2023-01-03 14:36:57 +08:00
parent af68689226
commit da94dab9c5
3 changed files with 1 additions and 25 deletions

View File

@ -286,7 +286,7 @@ export default {
this.$refs.selectRole.blur()
},
resetPassword() {
this.$confirm('确定重置该用户密码吗, 是否继续?', '提示', {
this.$confirm('是否重置改用户的密码(重置后的密码为:jmalcloud)?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'

View File

@ -311,18 +311,6 @@ export default {
this.form = res.data
})
},
resetPassword() {
this.$confirm('确定重置该用户密码吗, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
resetPass(this.form.id).then(() => {
}).catch(() => {
this.onError()
})
})
},
// 删除选中
handleSelectDelete () {
this.$confirm('确定要删除选中的角色吗?', '提示', {

View File

@ -258,18 +258,6 @@ export default {
const findIndex = this.dataList.findIndex(data => data.id === id)
this.form = this.dataList[findIndex]
},
resetPassword() {
this.$confirm('确定重置该用户密码吗, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
resetPass(this.form.id).then(() => {
}).catch(() => {
this.onError()
})
})
},
// 删除选中
handleSelectDelete () {
this.$confirm('确定要删除选中的角色吗?', '提示', {