| | |
| | | deviceDetection |
| | | } from "@pureadmin/utils"; |
| | | import { |
| | | getRoleIds, |
| | | getDeptList, |
| | | getUserList, |
| | | creatCustormerUsers, |
| | | changeManager, |
| | | updataCustormerUsers, |
| | | getAllRoleList |
| | | delCustormerUsers |
| | | } from "@/api/system"; |
| | | import { |
| | | ElForm, |
| | |
| | | } |
| | | |
| | | function handleDelete(row) { |
| | | message(`您删除了用户编号为${row.id}的这条数据`, { type: "success" }); |
| | | delCustormerUsers({ custormerUserId: row.id }).then(res => { |
| | | if (res.code == 200) { |
| | | message("删除成功!", { |
| | | type: "success" |
| | | }); |
| | | onSearch(); |
| | | } else { |
| | | message(res.message || "删除失败!", { |
| | | type: "error" |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | function handleSizeChange(val: number) { |