💩 #38
This commit is contained in:
parent
af68689226
commit
da94dab9c5
@ -286,7 +286,7 @@ export default {
|
|||||||
this.$refs.selectRole.blur()
|
this.$refs.selectRole.blur()
|
||||||
},
|
},
|
||||||
resetPassword() {
|
resetPassword() {
|
||||||
this.$confirm('确定重置该用户密码吗, 是否继续?', '提示', {
|
this.$confirm('是否重置改用户的密码(重置后的密码为:jmalcloud)?', '提示', {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
|
|||||||
@ -311,18 +311,6 @@ export default {
|
|||||||
this.form = res.data
|
this.form = res.data
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
resetPassword() {
|
|
||||||
this.$confirm('确定重置该用户密码吗, 是否继续?', '提示', {
|
|
||||||
confirmButtonText: '确定',
|
|
||||||
cancelButtonText: '取消',
|
|
||||||
type: 'warning'
|
|
||||||
}).then(() => {
|
|
||||||
resetPass(this.form.id).then(() => {
|
|
||||||
}).catch(() => {
|
|
||||||
this.onError()
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 删除选中
|
// 删除选中
|
||||||
handleSelectDelete () {
|
handleSelectDelete () {
|
||||||
this.$confirm('确定要删除选中的角色吗?', '提示', {
|
this.$confirm('确定要删除选中的角色吗?', '提示', {
|
||||||
|
|||||||
@ -258,18 +258,6 @@ export default {
|
|||||||
const findIndex = this.dataList.findIndex(data => data.id === id)
|
const findIndex = this.dataList.findIndex(data => data.id === id)
|
||||||
this.form = this.dataList[findIndex]
|
this.form = this.dataList[findIndex]
|
||||||
},
|
},
|
||||||
resetPassword() {
|
|
||||||
this.$confirm('确定重置该用户密码吗, 是否继续?', '提示', {
|
|
||||||
confirmButtonText: '确定',
|
|
||||||
cancelButtonText: '取消',
|
|
||||||
type: 'warning'
|
|
||||||
}).then(() => {
|
|
||||||
resetPass(this.form.id).then(() => {
|
|
||||||
}).catch(() => {
|
|
||||||
this.onError()
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// 删除选中
|
// 删除选中
|
||||||
handleSelectDelete () {
|
handleSelectDelete () {
|
||||||
this.$confirm('确定要删除选中的角色吗?', '提示', {
|
this.$confirm('确定要删除选中的角色吗?', '提示', {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user