From 98c046ecd74480b356239fd2c7acd0379f6a1227 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 25 Nov 2023 10:42:44 +0800 Subject: [PATCH] =?UTF-8?q?crm=EF=BC=9Acode=20review=20=E6=88=90=E5=91=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit eb97447bb764b49e2d88f83e8a6ebd0b9c37c127) --- src/utils/dict.ts | 6 +++- .../crm/components/CrmPermissionList.vue | 32 ++++++++----------- 2 files changed, 18 insertions(+), 20 deletions(-) diff --git a/src/utils/dict.ts b/src/utils/dict.ts index 9fe429e9..ac4b52e3 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -195,5 +195,9 @@ export enum DICT_TYPE { CRM_CUSTOMER_INDUSTRY = 'crm_customer_industry', CRM_CUSTOMER_LEVEL = 'crm_customer_level', CRM_CUSTOMER_SOURCE = 'crm_customer_source', - CRM_PRODUCT_STATUS = 'crm_product_status' + CRM_PRODUCT_STATUS = 'crm_product_status', + + // ========== CRM - 数据权限模块 ========== + CRM_BIZ_TYPE = 'crm_biz_type', // 数据模块类型 + CRM_PERMISSION_LEVEL = 'crm_permission_level' // 用户数据权限类型 } diff --git a/src/views/crm/components/CrmPermissionList.vue b/src/views/crm/components/CrmPermissionList.vue index cf50e0bc..8f0cba72 100644 --- a/src/views/crm/components/CrmPermissionList.vue +++ b/src/views/crm/components/CrmPermissionList.vue @@ -5,7 +5,7 @@ 新增 - + 编辑 @@ -15,7 +15,7 @@ 退出团队 - + - + + +