| 12345678910111213141516171819202122232425 |
- import request from '@/utils/request';
- import { AxiosPromise } from 'axios';
- import { ArcChangeLogVO } from '@/api/archieves/changeLog/types';
- /**
- * 分页查询变更日志
- */
- export const listChangeLog = (targetId: string | number, targetType: string, query?: PageQuery): AxiosPromise<ArcChangeLogVO[]> => {
- return request({
- url: '/archieves/changeLog/list',
- method: 'get',
- params: { targetId, targetType, ...query }
- });
- };
- /**
- * 查询全部变更日志(不分页)
- */
- export const listAllChangeLog = (targetId: string | number, targetType: string): AxiosPromise<ArcChangeLogVO[]> => {
- return request({
- url: '/archieves/changeLog/listAll',
- method: 'get',
- params: { targetId, targetType }
- });
- };
|