Files
orion-visor/orion-ops-ui/src/api/meta/history-value.ts

31 lines
726 B
TypeScript
Raw Normal View History

2023-10-18 15:06:45 +08:00
import axios from 'axios';
import { DataGrid, Pagination } from '@/types/global';
import { TableData } from '@arco-design/web-vue/es/table/interface';
/**
*
*/
export interface HistoryValueQueryRequest extends Pagination {
searchValue?: string;
relId?: number;
type?: string;
}
/**
*
*/
export interface HistoryValueQueryResponse extends TableData {
id?: number;
beforeValue?: string;
afterValue?: string;
createTime: number;
creator: string;
}
/**
*
*/
export function getHistoryValuePage(request: HistoryValueQueryRequest) {
return axios.post<DataGrid<HistoryValueQueryResponse>>('/infra/history-value/query', request);
}