🔨 排序字段.
This commit is contained in:
@@ -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';
|
||||
import qs from 'query-string';
|
||||
@@ -26,7 +26,7 @@ export interface HostIdentityUpdateRequest extends HostIdentityCreateRequest {
|
||||
/**
|
||||
* 主机身份查询请求
|
||||
*/
|
||||
export interface HostIdentityQueryRequest extends Pagination {
|
||||
export interface HostIdentityQueryRequest extends Pagination, OrderDirection {
|
||||
searchValue?: string;
|
||||
id?: number;
|
||||
name?: 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';
|
||||
import qs from 'query-string';
|
||||
@@ -25,7 +25,7 @@ export interface HostKeyUpdateRequest extends HostKeyCreateRequest {
|
||||
/**
|
||||
* 主机密钥查询请求
|
||||
*/
|
||||
export interface HostKeyQueryRequest extends Pagination {
|
||||
export interface HostKeyQueryRequest extends Pagination, OrderDirection {
|
||||
searchValue?: string;
|
||||
id?: number;
|
||||
name?: 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';
|
||||
import qs from 'query-string';
|
||||
@@ -47,7 +47,7 @@ export interface HostUpdateConfigRequest {
|
||||
/**
|
||||
* 主机查询请求
|
||||
*/
|
||||
export interface HostQueryRequest extends Pagination {
|
||||
export interface HostQueryRequest extends Pagination, OrderDirection {
|
||||
searchValue?: string;
|
||||
id?: number;
|
||||
type?: string;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ClearRequest, DataGrid, Pagination } from '@/types/global';
|
||||
import type { ClearRequest, DataGrid, OrderDirection, Pagination } from '@/types/global';
|
||||
import type { TableData } from '@arco-design/web-vue';
|
||||
import axios from 'axios';
|
||||
import qs from 'query-string';
|
||||
@@ -6,7 +6,7 @@ import qs from 'query-string';
|
||||
/**
|
||||
* 终端连接日志查询请求
|
||||
*/
|
||||
export interface TerminalConnectLogQueryRequest extends Pagination {
|
||||
export interface TerminalConnectLogQueryRequest extends Pagination, OrderDirection {
|
||||
id?: number;
|
||||
userId?: number;
|
||||
hostId?: number;
|
||||
|
||||
@@ -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 { httpBaseUrl } from '@/utils/env';
|
||||
import axios from 'axios';
|
||||
@@ -7,7 +7,7 @@ import qs from 'query-string';
|
||||
/**
|
||||
* SFTP 操作日志 查询请求
|
||||
*/
|
||||
export interface TerminalSftpLogQueryRequest extends Pagination {
|
||||
export interface TerminalSftpLogQueryRequest extends Pagination, OrderDirection {
|
||||
userId?: number;
|
||||
hostId?: number;
|
||||
type?: 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 { HostQueryResponse } from '@/api/asset/host';
|
||||
import axios from 'axios';
|
||||
@@ -43,7 +43,7 @@ export interface ExecJobUpdateExecUserRequest {
|
||||
/**
|
||||
* 计划任务查询请求
|
||||
*/
|
||||
export interface ExecJobQueryRequest extends Pagination {
|
||||
export interface ExecJobQueryRequest extends Pagination, OrderDirection {
|
||||
id?: number;
|
||||
name?: string;
|
||||
command?: string;
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import type { ClearRequest, Pagination } from '@/types/global';
|
||||
import type { ClearRequest, OrderDirection, Pagination } from '@/types/global';
|
||||
import type { TableData } from '@arco-design/web-vue';
|
||||
import { createAppWebSocket } from '@/utils/http';
|
||||
|
||||
/**
|
||||
* 执行日志查询请求
|
||||
*/
|
||||
export interface ExecLogQueryRequest extends Pagination {
|
||||
export interface ExecLogQueryRequest extends Pagination, OrderDirection {
|
||||
id?: number;
|
||||
userId?: number;
|
||||
sourceId?: number;
|
||||
|
||||
@@ -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';
|
||||
import qs from 'query-string';
|
||||
@@ -25,7 +25,7 @@ export interface ExecTemplateUpdateRequest extends ExecTemplateCreateRequest {
|
||||
/**
|
||||
* 执行模板查询请求
|
||||
*/
|
||||
export interface ExecTemplateQueryRequest extends Pagination {
|
||||
export interface ExecTemplateQueryRequest extends Pagination, OrderDirection {
|
||||
id?: number;
|
||||
name?: string;
|
||||
command?: string;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ClearRequest, DataGrid, Pagination } from '@/types/global';
|
||||
import type { ClearRequest, DataGrid, OrderDirection, Pagination } from '@/types/global';
|
||||
import type { TableData } from '@arco-design/web-vue';
|
||||
import axios from 'axios';
|
||||
import qs from 'query-string';
|
||||
@@ -33,7 +33,7 @@ export interface UploadTaskCreateResponse {
|
||||
/**
|
||||
* 上传任务查询请求
|
||||
*/
|
||||
export interface UploadTaskQueryRequest extends Pagination {
|
||||
export interface UploadTaskQueryRequest extends Pagination, OrderDirection {
|
||||
id?: number;
|
||||
userId?: number;
|
||||
remotePath?: string;
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
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';
|
||||
|
||||
/**
|
||||
* 历史归档查询请求
|
||||
*/
|
||||
export interface HistoryValueQueryRequest extends Pagination {
|
||||
export interface HistoryValueQueryRequest extends Pagination, OrderDirection {
|
||||
searchValue?: string;
|
||||
relId?: number;
|
||||
type?: 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';
|
||||
import qs from 'query-string';
|
||||
@@ -23,7 +23,7 @@ export interface DictKeyUpdateRequest extends DictKeyCreateRequest {
|
||||
/**
|
||||
* 字典配置项查询请求
|
||||
*/
|
||||
export interface DictKeyQueryRequest extends Pagination {
|
||||
export interface DictKeyQueryRequest extends Pagination, OrderDirection {
|
||||
searchValue?: string;
|
||||
id?: number;
|
||||
keyName?: string;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { DataGrid, Options, Pagination } from '@/types/global';
|
||||
import type { DataGrid, Options, OrderDirection, Pagination } from '@/types/global';
|
||||
import type { TableData } from '@arco-design/web-vue';
|
||||
import axios from 'axios';
|
||||
import qs from 'query-string';
|
||||
@@ -33,7 +33,7 @@ export interface DictValueRollbackRequest {
|
||||
/**
|
||||
* 字典配置值查询请求
|
||||
*/
|
||||
export interface DictValueQueryRequest extends Pagination {
|
||||
export interface DictValueQueryRequest extends Pagination, OrderDirection {
|
||||
keyId?: number;
|
||||
keyName?: string;
|
||||
value?: string;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import type { Pagination } from '@/types/global';
|
||||
import type { OrderDirection, Pagination } from '@/types/global';
|
||||
import axios from 'axios';
|
||||
|
||||
/**
|
||||
* 系统消息查询请求
|
||||
*/
|
||||
export interface MessageQueryRequest extends Pagination {
|
||||
export interface MessageQueryRequest extends Pagination, OrderDirection {
|
||||
maxId?: number;
|
||||
classify?: string;
|
||||
queryUnread?: boolean;
|
||||
|
||||
@@ -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