[manager,web-app] 监控列表,新增修改监控等编码

This commit is contained in:
tomsun28
2021-12-02 17:50:42 +08:00
parent c47b0bf589
commit c91c885412
21 changed files with 929 additions and 152 deletions

View File

@@ -1,5 +1,5 @@
export class Message {
data: any;
export class Message<T> {
data!: T;
msg!: string;
code: number = 0;
}

View File

@@ -3,7 +3,7 @@ export class Monitor {
name!: string;
app!: string;
host!: string;
intervals!: number;
intervals: number = 600;
status!: number;
description!: string;
creator!: string;

View File

@@ -0,0 +1,14 @@
export class Page<T> {
content!: T[];
// 集合总页数
totalPages!: number;
// 集合总数
totalElements!: number;
// 查询的pageSize
size!: number;
// 查询的pageIndex,从0开始
number!: number;
// 当前页的集合数量
numberOfElements!: number;
}

View File

@@ -1,6 +1,6 @@
export class Param {
id!: number;
field: string | undefined;
field!: string;
type: number | undefined;
value: string | undefined;
value: any;
}