BUG 28997
This commit is contained in:
@@ -29,7 +29,8 @@
|
||||
<el-row type="flex" justify="center" align="middle" slot-scope="{row}">
|
||||
<el-button v-if="permissions('admin_sysuser_distribute')" type="text" @click="appAllot(row)">功能分配
|
||||
</el-button>
|
||||
<el-button v-if="permissions('admin_sysuser_del')" type="text" @click="handleDelete(row.id)">删除</el-button>
|
||||
<el-button v-if="permissions('admin_sysuser_del')" type="text" @click="handleDelete(row.id)">删除
|
||||
</el-button>
|
||||
</el-row>
|
||||
</el-table-column>
|
||||
</ai-table>
|
||||
@@ -235,7 +236,7 @@ export default {
|
||||
},
|
||||
handleDelete(ids) {
|
||||
this.$confirm("是否要删除该账号?").then(() => {
|
||||
this.instance.post("/user/delete", null, {
|
||||
this.instance.post("/user/del", null, {
|
||||
params: {ids}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
|
||||
Reference in New Issue
Block a user