🔨 排序字段.

This commit is contained in:
lijiahangmax
2025-03-20 00:08:23 +08:00
parent 2e8a7c40d9
commit a2acbc0c3a
37 changed files with 663 additions and 68 deletions

View File

@@ -1,11 +1,11 @@
import type { ClearRequest, DataGrid, Pagination } from '@/types/global';
import type { ClearRequest, DataGrid, OrderDirection, Pagination } from '@/types/global';
import axios from 'axios';
import qs from 'query-string';
/**
* 操作日志查询参数
*/
export interface OperatorLogQueryRequest extends Pagination {
export interface OperatorLogQueryRequest extends Pagination, OrderDirection {
userId?: number;
username?: string;
module?: string;

View File

@@ -1,4 +1,4 @@
import type { DataGrid, Pagination } from '@/types/global';
import type { DataGrid, OrderDirection, Pagination } from '@/types/global';
import type { TableData } from '@arco-design/web-vue';
import axios from 'axios';
@@ -30,7 +30,7 @@ export interface RoleGrantMenuRequest extends RoleCreateRequest {
/**
* 角色查询请求
*/
export interface RoleQueryRequest extends Pagination {
export interface RoleQueryRequest extends Pagination, OrderDirection {
id?: number;
name?: string;
code?: string;

View File

@@ -1,4 +1,4 @@
import type { DataGrid, Pagination } from '@/types/global';
import type { DataGrid, OrderDirection, Pagination } from '@/types/global';
import type { TableData } from '@arco-design/web-vue';
import type { RoleQueryResponse } from '@/api/user/role';
import axios from 'axios';
@@ -29,7 +29,7 @@ export interface UserUpdateRequest extends UserCreateRequest {
/**
* 用户查询请求
*/
export interface UserQueryRequest extends Pagination {
export interface UserQueryRequest extends Pagination, OrderDirection {
id?: number;
username?: string;
password?: string;