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 489d8e4b..85e08e67 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -188,5 +188,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 5825cf4b..f1758b92 100644 --- a/src/views/crm/customer/CustomerForm.vue +++ b/src/views/crm/customer/CustomerForm.vue @@ -13,6 +13,36 @@ + + + + + + + + + + + + + + + @@ -56,7 +86,7 @@