🔨 查询字段.
This commit is contained in:
@@ -71,6 +71,8 @@ export interface ExecJobQueryResponse extends TableData {
|
||||
execUsername: string;
|
||||
createTime: number;
|
||||
updateTime: number;
|
||||
creator: string;
|
||||
updater: string;
|
||||
hostIdList: Array<number>;
|
||||
hostList: Array<HostQueryResponse>;
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import type { DataGrid, OrderDirection, Pagination } from '@/types/global';
|
||||
import type { DataGrid, Pagination } from '@/types/global';
|
||||
import type { TableData } from '@arco-design/web-vue';
|
||||
import axios from 'axios';
|
||||
|
||||
/**
|
||||
* 历史归档查询请求
|
||||
*/
|
||||
export interface HistoryValueQueryRequest extends Pagination, OrderDirection {
|
||||
export interface HistoryValueQueryRequest extends Pagination {
|
||||
searchValue?: string;
|
||||
relId?: number;
|
||||
type?: string;
|
||||
|
||||
@@ -39,6 +39,10 @@ export interface DictKeyQueryResponse extends TableData {
|
||||
valueType: string;
|
||||
extraSchema: string;
|
||||
description: string;
|
||||
createTime: number;
|
||||
updateTime: number;
|
||||
creator: string;
|
||||
updater: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import type { OrderDirection, Pagination } from '@/types/global';
|
||||
import type { Pagination } from '@/types/global';
|
||||
import axios from 'axios';
|
||||
|
||||
/**
|
||||
* 系统消息查询请求
|
||||
*/
|
||||
export interface MessageQueryRequest extends Pagination, OrderDirection {
|
||||
export interface MessageQueryRequest extends Pagination {
|
||||
maxId?: number;
|
||||
classify?: string;
|
||||
queryUnread?: boolean;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<!-- 顶部按钮 -->
|
||||
<div class="table-adjust-popover-header">
|
||||
<span class="table-adjust-title">
|
||||
表格展示字段
|
||||
卡片展示字段
|
||||
</span>
|
||||
<a-button type="text"
|
||||
size="mini"
|
||||
|
||||
@@ -133,12 +133,14 @@
|
||||
<!-- 最近执行 -->
|
||||
<template #recentLog="{ record }">
|
||||
<div class="flex-center" v-if="record.recentLogId && record.recentLogStatus">
|
||||
<!-- 执行时间 -->
|
||||
<span class="mr8">
|
||||
{{ dateFormat(new Date(record.recentLogTime), 'MM-dd HH:mm:ss') }}
|
||||
</span>
|
||||
<!-- 执行状态 -->
|
||||
<a-tag class="mr8" :color="getDictValue(execStatusKey, record.recentLogStatus, 'color')">
|
||||
<a-tag :color="getDictValue(execStatusKey, record.recentLogStatus, 'color')">
|
||||
{{ getDictValue(execStatusKey, record.recentLogStatus) }}
|
||||
</a-tag>
|
||||
<!-- 执行时间 -->
|
||||
{{ dateFormat(new Date(record.recentLogTime), 'MM-dd HH:mm:ss') }}
|
||||
</div>
|
||||
<!-- 无任务 -->
|
||||
<div v-else class="mx8">-</div>
|
||||
|
||||
Reference in New Issue
Block a user