feat(credit): 重构客户管理页面为订单管理功能
- 在app.config.ts中添加creditMpCustomer相关页面配置 - 将src/credit/customer/index.config.ts中的标题从'客户联系人管理'改为'企业经办人订单管理' - 重写src/credit/customer/index.tsx文件,将原有客户列表功能替换为企业经办人订单列表 - 实现订单搜索、筛选和详情查看功能 - 添加mock数据用于展示企业经办人、企业名称和跟进人信息 - 创建新的API模型和接口文件用于小程序端客户管理功能
This commit is contained in:
57
src/api/credit/creditMpCustomer/model/index.ts
Normal file
57
src/api/credit/creditMpCustomer/model/index.ts
Normal file
@@ -0,0 +1,57 @@
|
||||
import type { PageParam } from '@/api/index';
|
||||
|
||||
/**
|
||||
* 小程序端客户
|
||||
*/
|
||||
export interface CreditMpCustomer {
|
||||
// ID
|
||||
id?: number;
|
||||
// 拖欠方
|
||||
toUser?: string;
|
||||
// 拖欠金额
|
||||
price?: string;
|
||||
// 拖欠年数
|
||||
years?: string;
|
||||
// 链接
|
||||
url?: string;
|
||||
// 状态
|
||||
statusTxt?: string;
|
||||
// 企业ID
|
||||
companyId?: number;
|
||||
// 所在省份
|
||||
province?: string;
|
||||
// 所在城市
|
||||
city?: string;
|
||||
// 所在辖区
|
||||
region?: string;
|
||||
// 文件路径
|
||||
files?: string;
|
||||
// 是否有数据
|
||||
hasData?: string;
|
||||
// 备注
|
||||
comments?: string;
|
||||
// 是否推荐
|
||||
recommend?: number;
|
||||
// 排序(数字越小越靠前)
|
||||
sortNumber?: number;
|
||||
// 状态, 0正常, 1冻结
|
||||
status?: number;
|
||||
// 是否删除, 0否, 1是
|
||||
deleted?: number;
|
||||
// 用户ID
|
||||
userId?: number;
|
||||
// 租户id
|
||||
tenantId?: number;
|
||||
// 创建时间
|
||||
createTime?: string;
|
||||
// 修改时间
|
||||
updateTime?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 小程序端客户搜索条件
|
||||
*/
|
||||
export interface CreditMpCustomerParam extends PageParam {
|
||||
id?: number;
|
||||
keywords?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user