feat: license到期报表

This commit is contained in:
caiyuchao
2025-09-10 00:30:12 +08:00
parent e4e2df0402
commit 2f446fac55
5 changed files with 473 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
import type { Dayjs } from 'dayjs';
import type { PageParam, PageResult } from '@vben/request';
import { requestClient } from '#/api/request';
export namespace ExpireApi {
/** 客户进展信息 */
export interface Expire {
id: number; // 主键
customerId?: number; // 客户ID
projectId?: number; // 项目ID
serialNo?: string; // sn
expiryDate: Dayjs | string; // 到期时间
neList: number[]; // 网元
userNumber: number; // 用户数
ranNumber: number; // 基站数
activationCode: string; // 激活码
fileUrl: string; // 激活码
licenseContent: string; // License内容
applicant: number; // 申请人
applicationTime: Dayjs | string; // 申请时间
approver: number; // 审批人
status: number; // 状态
remark: string; // 备注
applyCount: number; // 申请次数
customerName?: string; // 客户名称
projectName?: string; // 项目名称
}
}
/** 查询License 到期分页 */
export function getExpiryLicensePage(params: PageParam) {
return requestClient.get<PageResult<ExpireApi.Expire>>(
'/license/report/license/expire',
{ params },
);
}