This commit is contained in:
张成
2025-10-10 00:08:35 +08:00
parent 88cd8d6e72
commit f86ee00e3b
15 changed files with 72 additions and 403 deletions

View File

@@ -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
},