0812
This commit is contained in:
parent
94a9e18531
commit
b1f8e5a8bb
@ -205,6 +205,7 @@ import {DICT_TYPE, getDictDatas} from "@/utils/dict";
|
||||
import {assignUserRole, listUserRoles} from "@/api/system/permission";
|
||||
import {listSimpleRoles} from "@/api/system/role";
|
||||
import {getBaseHeader} from "@/utils/request";
|
||||
import { delDriver } from '@/api/rescue/driver'
|
||||
|
||||
export default {
|
||||
name: "SystemUser",
|
||||
@ -649,9 +650,9 @@ export default {
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
const ids = row.id || this.ids;
|
||||
const ids = row.driverId;
|
||||
this.$modal.confirm('是否确认删除员工编号为"' + ids + '"的数据项?').then(function () {
|
||||
return delUser(ids);
|
||||
return delDriver(ids);
|
||||
}).then(() => {
|
||||
this.getList();
|
||||
this.$modal.msgSuccess("删除成功");
|
||||
|
Loading…
Reference in New Issue
Block a user