测试暂未发现问题
This commit is contained in:
@@ -9,7 +9,6 @@ const mockCustomers = [
|
||||
district: '南山区',
|
||||
address: '科技园路1号',
|
||||
email: 'zhangsan@example.com',
|
||||
customer_type: 'VIP',
|
||||
create_time: '2025-01-15 10:30:00'
|
||||
},
|
||||
{
|
||||
@@ -21,7 +20,6 @@ const mockCustomers = [
|
||||
district: '西湖区',
|
||||
address: '文三路100号',
|
||||
email: 'lisi@example.com',
|
||||
customer_type: 'Normal',
|
||||
create_time: '2025-02-20 14:20:00'
|
||||
},
|
||||
{
|
||||
@@ -33,7 +31,6 @@ const mockCustomers = [
|
||||
district: '武侯区',
|
||||
address: '天府大道200号',
|
||||
email: 'wangwu@example.com',
|
||||
customer_type: 'VIP',
|
||||
create_time: '2025-03-10 09:15:00'
|
||||
},
|
||||
{
|
||||
@@ -45,7 +42,6 @@ const mockCustomers = [
|
||||
district: '岳麓区',
|
||||
address: '麓山南路100号',
|
||||
email: 'zhaoliu@example.com',
|
||||
customer_type: 'Normal',
|
||||
create_time: '2025-04-05 16:45:00'
|
||||
}
|
||||
]
|
||||
@@ -88,11 +84,6 @@ export const mockCustomerAPI = {
|
||||
}
|
||||
}
|
||||
|
||||
// 客户类型筛选
|
||||
if (params.customer_type) {
|
||||
result = result.filter(item => item.customer_type === params.customer_type)
|
||||
}
|
||||
|
||||
// 地区筛选(省/市/区)
|
||||
if (params.province) {
|
||||
result = result.filter(item => item.province === params.province)
|
||||
|
||||
Reference in New Issue
Block a user