生成数据字典代码.
This commit is contained in:
30
orion-ops-ui/src/api/meta/history-value.ts
Normal file
30
orion-ops-ui/src/api/meta/history-value.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user