diff --git a/src/api/crm/customer/index.ts b/src/api/crm/customer/index.ts index 16ccb3550d89833ecaa9503a9fead085e3e2620b..0cbba590c2a21a44b3362fd00115ee323aa12d7a 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 489d8e4b94f84b8eec4d21d76862bdcf8bbfef29..85e08e6740b20ad917fa8e22d4671f9b297d7787 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 52ff923ac34ef6232f43fe53144821080b633a54..80db76ab00d9280b7f084289cdff2ebf88d00d40 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 }} - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - -