完善控制台

This commit is contained in:
龙运模
2024-07-09 18:53:44 +08:00
parent b47af5ae31
commit e47723b613
11 changed files with 5124 additions and 4868 deletions
+10 -6
View File
@@ -156,12 +156,16 @@
},
//删除
async table_del(row){
const reqData = {ids: [row.id]};
const res = await this.$API.system.user.delete.post(reqData);
if(res.code == 200){
this.$refs.table.refresh();
this.$message.success("删除成功")
}
this.$confirm(`确定删除 ${row.login_name} 吗?`, '提示', {
type: 'warning'
}).then(async () => {
const reqData = {ids: [row.id]};
const res = await this.$API.system.user.delete.post(reqData);
if(res.code == 200){
this.$refs.table.refresh();
this.$message.success("删除成功")
}
}).catch(()=>{})
},
//批量删除
async batch_del(){