crm-数据权限:完善团队成员公共组件

This commit is contained in:
puhui999 committed 2023-11-22 15:44:42 +08:00
1 parent ebb19cfe8c
commit 19a0a83054
5 files changed
+188 -198

No files matched your search

+3 -3
View File
@@ -6,9 +6,9 @@ export interface PermissionVO {
bizType: number | undefined // Crm 类型
bizId: number | undefined // Crm 类型数据编号
level: number | undefined // 权限级别
deptName?: string // 部门名称 // 岗位名称数组 TODO @puhui999:数组?
deptName?: string // 部门名称
nickname?: string // 用户昵称
postNames?: string // 岗位名称数组 TODO @puhui999:数组?
postNames?: string[] // 岗位名称数组
createTime?: Date
}
@@ -19,7 +19,7 @@ export const getPermissionList = async (params) => {
// 新增团队成员
export const createPermission = async (data: PermissionVO) => {
return await request.post({ url: `/crm/permission/add`, data })
return await request.post({ url: `/crm/permission/create`, data })
}
// 修改团队成员权限级别