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 @@ > - - + + - - + - +