生成数据字典代码.

This commit is contained in:
lijiahang
2023-10-18 15:06:45 +08:00
parent b83b212a4f
commit 284501b3fb
36 changed files with 1113 additions and 95 deletions

View 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);
}