diff --git a/src/api/crm/permission/index.ts b/src/api/crm/permission/index.ts
new file mode 100644
index 00000000..f71e2bfc
--- /dev/null
+++ b/src/api/crm/permission/index.ts
@@ -0,0 +1,32 @@
+import request from '@/config/axios'
+
+export interface PermissionVO {
+ id: number // 数据权限编号
+ userId: number // 用户编号
+ bizType: number // Crm 类型
+ bizId: number // Crm 类型数据编号
+ level: number // 权限级别
+ deptName: string // 部门名称
+ nickname: string // 用户昵称
+ postNames: string // 岗位名称数组
+}
+
+// 查询团队成员列表
+export const getPermissionList = async (params) => {
+ return await request.get({ url: `/crm/permission/list`, params })
+}
+
+// 新增团队成员
+export const createPermission = async (data: PermissionVO) => {
+ return await request.post({ url: `/crm/permission/add`, data })
+}
+
+// 修改团队成员
+export const updatePermission = async (data: PermissionVO) => {
+ return await request.put({ url: `/crm/permission/update`, data })
+}
+
+// 删除团队成员
+export const deletePermission = async (params) => {
+ return await request.delete({ url: '/crm/permission/delete', params })
+}
diff --git a/src/views/crm/components/CrmPermissionForm.vue b/src/views/crm/components/CrmPermissionForm.vue
new file mode 100644
index 00000000..1d217323
--- /dev/null
+++ b/src/views/crm/components/CrmPermissionForm.vue
@@ -0,0 +1,106 @@
+
+
+
+
diff --git a/src/views/crm/components/CrmTeamList.vue b/src/views/crm/components/CrmTeamList.vue
new file mode 100644
index 00000000..824409b8
--- /dev/null
+++ b/src/views/crm/components/CrmTeamList.vue
@@ -0,0 +1,116 @@
+
+
+
+
+
+ 新增
+
+
+
+ 编辑
+
+
+
+ 移除
+
+ 退出团队
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/crm/components/index.ts b/src/views/crm/components/index.ts
new file mode 100644
index 00000000..b0bf3e42
--- /dev/null
+++ b/src/views/crm/components/index.ts
@@ -0,0 +1,11 @@
+import CrmTeam from './CrmTeamList.vue'
+
+enum CrmBizTypeEnum {
+ CRM_LEADS = 1, // 线索
+ CRM_CUSTOMER = 2, // 客户
+ CRM_CONTACTS = 3, // 联系人
+ CRM_BUSINESS = 5, // 商机
+ CRM_CONTRACT = 6 // 合同
+}
+
+export { CrmTeam, CrmBizTypeEnum }
diff --git a/src/views/crm/customer/index.vue b/src/views/crm/customer/index.vue
index 073bf8cb..b214d7c1 100644
--- a/src/views/crm/customer/index.vue
+++ b/src/views/crm/customer/index.vue
@@ -2,36 +2,36 @@
- 搜索
- 重置
-
- 新增
+
+
+ 搜索
+
+
+
+ 重置
+
+
+
+ 新增
- 导出
+
+ 导出
@@ -92,77 +100,77 @@
-
-
-
-
+
+
+
+
-
+
-
+
-
-
-
-
-
+
+
+
+
+
-
+
-
+
-
+
详情
编辑
删除
@@ -171,23 +179,26 @@
+
+
-