diff --git a/src/api/crm/customer/index.ts b/src/api/crm/customer/index.ts index b9d67a75..0cbba590 100644 --- a/src/api/crm/customer/index.ts +++ b/src/api/crm/customer/index.ts @@ -3,6 +3,9 @@ import request from '@/config/axios' export interface CustomerVO { id: number name: string + industryId: number + level: number + source: number followUpStatus: boolean lockStatus: boolean mobile: string diff --git a/src/utils/dict.ts b/src/utils/dict.ts index e380d555..c27ed25d 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -190,5 +190,8 @@ export enum DICT_TYPE { // ========== CRM - 客户管理模块 ========== CRM_RECEIVABLE_CHECK_STATUS = 'crm_receivable_check_status', - CRM_RETURN_TYPE = 'crm_return_type' + CRM_RETURN_TYPE = 'crm_return_type', + CRM_CUSTOMER_INDUSTRY = 'crm_customer_industry', + CRM_CUSTOMER_LEVEL = 'crm_customer_level', + CRM_CUSTOMER_SOURCE = 'crm_customer_source' } diff --git a/src/views/crm/customer/CustomerForm.vue b/src/views/crm/customer/CustomerForm.vue index 323e9a62..b9b8d452 100644 --- a/src/views/crm/customer/CustomerForm.vue +++ b/src/views/crm/customer/CustomerForm.vue @@ -14,6 +14,36 @@ + + + + + + + + + + + + + + + @@ -57,7 +87,7 @@