From dfad8e78c48717deaa226ef5a3675b07d0e639f4 Mon Sep 17 00:00:00 2001 From: Wanwan <913752709@qq.com> Date: Sun, 26 Nov 2023 00:40:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=A2=E6=88=B7=E9=85=8D=E7=BD=AE=20?= =?UTF-8?q?review=20=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../index.ts | 5 +++-- ...ConfDetails.vue => CustomerLimitConfigList.vue} | 14 +++++++++++--- src/views/crm/customerLimitConfig/index.vue | 7 +++---- src/views/crm/customerPoolConf/index.vue | 10 +++++----- 4 files changed, 22 insertions(+), 14 deletions(-) rename src/api/crm/{customerPoolConf => customerPoolConfig}/index.ts (67%) rename src/views/crm/customerLimitConfig/{CustomerLimitConfDetails.vue => CustomerLimitConfigList.vue} (91%) diff --git a/src/api/crm/customerPoolConf/index.ts b/src/api/crm/customerPoolConfig/index.ts similarity index 67% rename from src/api/crm/customerPoolConf/index.ts rename to src/api/crm/customerPoolConfig/index.ts index 8234ba367..3cd8ef282 100644 --- a/src/api/crm/customerPoolConf/index.ts +++ b/src/api/crm/customerPoolConfig/index.ts @@ -1,4 +1,5 @@ import request from '@/config/axios' +import { ConfigVO } from '@/api/infra/config' export interface CustomerPoolConfigVO { enabled?: boolean @@ -14,6 +15,6 @@ export const getCustomerPoolConfig = async () => { } // 更新客户公海规则设置 -export const updateCustomerPoolConfig = async (data: ConfigVO) => { - return await request.put({ url: `/crm/customer-pool-config/update`, data }) +export const saveCustomerPoolConfig = async (data: ConfigVO) => { + return await request.put({ url: `/crm/customer-pool-config/save`, data }) } diff --git a/src/views/crm/customerLimitConfig/CustomerLimitConfDetails.vue b/src/views/crm/customerLimitConfig/CustomerLimitConfigList.vue similarity index 91% rename from src/views/crm/customerLimitConfig/CustomerLimitConfDetails.vue rename to src/views/crm/customerLimitConfig/CustomerLimitConfigList.vue index 611bdadf9..864c57768 100644 --- a/src/views/crm/customerLimitConfig/CustomerLimitConfDetails.vue +++ b/src/views/crm/customerLimitConfig/CustomerLimitConfigList.vue @@ -19,8 +19,16 @@ > - - + + - - + - +