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