diff --git a/src/api/crm/permission/index.ts b/src/api/crm/permission/index.ts
index 1292f29a..79f69451 100644
--- a/src/api/crm/permission/index.ts
+++ b/src/api/crm/permission/index.ts
@@ -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 })
}
// 修改团队成员权限级别
diff --git a/src/utils/dict.ts b/src/utils/dict.ts
index 1acb97f1..9fe429e9 100644
--- a/src/utils/dict.ts
+++ b/src/utils/dict.ts
@@ -120,7 +120,6 @@ export enum DICT_TYPE {
// ========== INFRA 模块 ==========
INFRA_BOOLEAN_STRING = 'infra_boolean_string',
- INFRA_REDIS_TIMEOUT_TYPE = 'infra_redis_timeout_type',
INFRA_JOB_STATUS = 'infra_job_status',
INFRA_JOB_LOG_STATUS = 'infra_job_log_status',
INFRA_API_ERROR_LOG_PROCESS_STATUS = 'infra_api_error_log_process_status',
diff --git a/src/views/crm/components/CrmPermissionForm.vue b/src/views/crm/components/CrmPermissionForm.vue
index 838aa68d..ad6ae588 100644
--- a/src/views/crm/components/CrmPermissionForm.vue
+++ b/src/views/crm/components/CrmPermissionForm.vue
@@ -19,9 +19,14 @@
-
- 只读
- 读写
+
+
+ {{ dict.label }}
+
+
@@ -34,7 +39,8 @@