1
This commit is contained in:
@@ -82,21 +82,21 @@ export default {
|
||||
this.$refs.editModal.addShow({}, async (row) => {
|
||||
await roleServer.add(row)
|
||||
this.init()
|
||||
await rootVue.$Message.success('新增成功!')
|
||||
await this.$Message.success('新增成功!')
|
||||
})
|
||||
},
|
||||
showEditWarp(row) {
|
||||
this.$refs.editModal.editShow(row, async (newRow) => {
|
||||
await roleServer.edit(newRow)
|
||||
await this.init()
|
||||
rootVue.$Message.success('修改成功!')
|
||||
this.$Message.success('修改成功!')
|
||||
})
|
||||
},
|
||||
async delConfirm(row) {
|
||||
uiTool.delConfirm(async () => {
|
||||
await roleServer.del(row)
|
||||
await this.init()
|
||||
rootVue.$Message.success('删除成功!')
|
||||
this.$Message.success('删除成功!')
|
||||
})
|
||||
},
|
||||
async submitPermission() {
|
||||
@@ -110,7 +110,7 @@ export default {
|
||||
|
||||
await roleServer.edit(param)
|
||||
await this.init()
|
||||
rootVue.$Message.success('权限修改成功!')
|
||||
this.$Message.success('权限修改成功!')
|
||||
|
||||
this.isShowPermission = false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user