From 7923078e1707a25da16b916823e208bc87c31ae4 Mon Sep 17 00:00:00 2001 From: Wanwan <913752709@qq.com> Date: Sun, 29 Oct 2023 00:03:11 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E8=A1=A8=E7=9A=84=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 59cf0c29f09e8a21987cce4c1adc7bc42ec5a19c) --- src/api/crm/customer/index.ts | 3 ++ src/utils/dict.ts | 5 +++- src/views/crm/customer/CustomerForm.vue | 40 +++++++++++++++++++++++-- src/views/crm/customer/index.vue | 15 ++++++++++ 4 files changed, 59 insertions(+), 4 deletions(-) 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 @@