feat:cdr界面
This commit is contained in:
57
src/typings/api.d.ts
vendored
57
src/typings/api.d.ts
vendored
@@ -213,6 +213,63 @@ declare namespace Api {
|
||||
clientNum: number;
|
||||
packageEnable: boolean;
|
||||
}
|
||||
// CDR 话单查询参数
|
||||
interface CdrHistoryParams {
|
||||
pageNum: number;
|
||||
pageSize: number;
|
||||
userName?: string;
|
||||
clientName?: string;
|
||||
clientMac?: string;
|
||||
startTime?: string;
|
||||
endTime?: string;
|
||||
}
|
||||
|
||||
// CDR 话单信息
|
||||
interface CdrHistory {
|
||||
id: string;
|
||||
userId: number;
|
||||
userName: string;
|
||||
clientName: string;
|
||||
clientMac: string;
|
||||
trafficUp: number;
|
||||
trafficDown: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
duration: number;
|
||||
}
|
||||
|
||||
// CDR 话单响应
|
||||
interface CdrHistoryResponse {
|
||||
rows: CdrHistory[];
|
||||
total: number;
|
||||
}
|
||||
|
||||
// 账单查询参数
|
||||
interface BillParams {
|
||||
pageNum: number;
|
||||
pageSize: number;
|
||||
userName?: string;
|
||||
type?: number;
|
||||
status?: number;
|
||||
}
|
||||
|
||||
// 账单信息
|
||||
interface BillInfo {
|
||||
id: string;
|
||||
userId: number;
|
||||
userName: string;
|
||||
type: number;
|
||||
packageName: string;
|
||||
orderAmount: number;
|
||||
status: number;
|
||||
createTime: string;
|
||||
}
|
||||
|
||||
// 账单响应
|
||||
interface BillResponse {
|
||||
rows: BillInfo[];
|
||||
total: number;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
2
src/typings/auto-imports.d.ts
vendored
2
src/typings/auto-imports.d.ts
vendored
@@ -121,6 +121,8 @@ declare global {
|
||||
const exportJobLog: typeof import('../service/api/jobLog')['exportJobLog']
|
||||
const extendRef: typeof import('@vueuse/core')['extendRef']
|
||||
const extractTabsByAllRoutes: typeof import('../store/modules/tab/shared')['extractTabsByAllRoutes']
|
||||
const fetchBillList: typeof import('../service/api/auth')['fetchBillList']
|
||||
const fetchCdrHistory: typeof import('../service/api/auth')['fetchCdrHistory']
|
||||
const fetchCustomBackendError: typeof import('../service/api/auth')['fetchCustomBackendError']
|
||||
const fetchGetAllPages: typeof import('../service/api/menu')['fetchGetAllPages']
|
||||
const fetchGetConstantRoutes: typeof import('../service/api/route')['fetchGetConstantRoutes']
|
||||
|
||||
Reference in New Issue
Block a user