feat: license到期报表
This commit is contained in:
38
apps/web-antd/src/api/report/expire/index.ts
Normal file
38
apps/web-antd/src/api/report/expire/index.ts
Normal 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 },
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user