🔨 排序字段.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user