diff --git a/src/api/crm/customer/index.ts b/src/api/crm/customer/index.ts index 16ccb355..0cbba590 100644 --- a/src/api/crm/customer/index.ts +++ b/src/api/crm/customer/index.ts @@ -3,19 +3,24 @@ import request from '@/config/axios' export interface CustomerVO { id: number name: string + industryId: number + level: number + source: number followUpStatus: boolean lockStatus: boolean mobile: string telephone: string website: string + qq: string + wechat: string + email: string + description: string remark: string ownerUserId: number roUserIds: string rwUserIds: string areaId: number detailAddress: string - longitude: string - latitude: string contactLastTime: Date contactNextTime: Date } 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 52ff923a..80db76ab 100644 --- a/src/views/crm/customer/CustomerForm.vue +++ b/src/views/crm/customer/CustomerForm.vue @@ -7,80 +7,92 @@ label-width="100px" v-loading="formLoading" > - - - - - - - {{ dict.label }} - - - - - - - {{ dict.label }} - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - -