diff --git a/web/client/assets/files/backups/iota20220523--20230625-080107.dump b/web/client/assets/files/backups/iota20220523--20230625-080107.dump new file mode 100644 index 0000000..9d22149 --- /dev/null +++ b/web/client/assets/files/backups/iota20220523--20230625-080107.dump @@ -0,0 +1,4 @@ +alter table t_resource_consumption + add resource_id int; + +comment on column t_resource_consumption.resource_id is '元数据id'; \ No newline at end of file diff --git a/web/client/assets/images/homePage/bigscreen/1.png b/web/client/assets/images/homePage/bigscreen/1.png new file mode 100644 index 0000000..de1184a Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/1.png differ diff --git a/web/client/assets/images/homePage/bigscreen/2(1).png b/web/client/assets/images/homePage/bigscreen/2(1).png new file mode 100644 index 0000000..04dc65a Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/2(1).png differ diff --git a/web/client/assets/images/homePage/bigscreen/2.png b/web/client/assets/images/homePage/bigscreen/2.png new file mode 100644 index 0000000..04dc65a Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/2.png differ diff --git a/web/client/assets/images/homePage/bigscreen/3(1).png b/web/client/assets/images/homePage/bigscreen/3(1).png new file mode 100644 index 0000000..252be35 Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/3(1).png differ diff --git a/web/client/assets/images/homePage/bigscreen/3.png b/web/client/assets/images/homePage/bigscreen/3.png new file mode 100644 index 0000000..252be35 Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/3.png differ diff --git a/web/client/assets/images/homePage/bigscreen/4(1).png b/web/client/assets/images/homePage/bigscreen/4(1).png new file mode 100644 index 0000000..bff8ad1 Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/4(1).png differ diff --git a/web/client/assets/images/homePage/bigscreen/4.png b/web/client/assets/images/homePage/bigscreen/4.png new file mode 100644 index 0000000..bff8ad1 Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/4.png differ diff --git a/web/client/assets/images/homePage/bigscreen/6.png b/web/client/assets/images/homePage/bigscreen/6.png new file mode 100644 index 0000000..4811a1d Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/6.png differ diff --git a/web/client/assets/images/homePage/bigscreen/bg.png b/web/client/assets/images/homePage/bigscreen/bg.png new file mode 100644 index 0000000..784363b Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/bg.png differ diff --git a/web/client/assets/images/homePage/bigscreen/button(1).png b/web/client/assets/images/homePage/bigscreen/button(1).png new file mode 100644 index 0000000..c1c88aa Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/button(1).png differ diff --git a/web/client/assets/images/homePage/bigscreen/button(2).png b/web/client/assets/images/homePage/bigscreen/button(2).png new file mode 100644 index 0000000..27b0b46 Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/button(2).png differ diff --git a/web/client/assets/images/homePage/bigscreen/button.png b/web/client/assets/images/homePage/bigscreen/button.png new file mode 100644 index 0000000..781193d Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/button.png differ diff --git a/web/client/assets/images/homePage/bigscreen/center-left.png b/web/client/assets/images/homePage/bigscreen/center-left.png new file mode 100644 index 0000000..39d01b1 Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/center-left.png differ diff --git a/web/client/assets/images/homePage/bigscreen/center-right.png b/web/client/assets/images/homePage/bigscreen/center-right.png new file mode 100644 index 0000000..4f127fb Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/center-right.png differ diff --git a/web/client/assets/images/homePage/bigscreen/cpu.png b/web/client/assets/images/homePage/bigscreen/cpu.png new file mode 100644 index 0000000..0138db8 Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/cpu.png differ diff --git a/web/client/assets/images/homePage/bigscreen/exit.png b/web/client/assets/images/homePage/bigscreen/exit.png new file mode 100644 index 0000000..135bf74 Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/exit.png differ diff --git a/web/client/assets/images/homePage/bigscreen/header-title-bg.png b/web/client/assets/images/homePage/bigscreen/header-title-bg.png new file mode 100644 index 0000000..1520152 Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/header-title-bg.png differ diff --git a/web/client/assets/images/homePage/bigscreen/sorrow.png b/web/client/assets/images/homePage/bigscreen/sorrow.png new file mode 100644 index 0000000..886e0e0 Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/sorrow.png differ diff --git a/web/client/assets/images/homePage/bigscreen/top.png b/web/client/assets/images/homePage/bigscreen/top.png new file mode 100644 index 0000000..bf4c64c Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/top.png differ diff --git a/web/client/assets/images/homePage/bigscreen/内存.png b/web/client/assets/images/homePage/bigscreen/内存.png new file mode 100644 index 0000000..4f65984 Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/内存.png differ diff --git a/web/client/assets/images/homePage/bigscreen/分组 13 copy(1).png b/web/client/assets/images/homePage/bigscreen/分组 13 copy(1).png new file mode 100644 index 0000000..8aaa039 Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/分组 13 copy(1).png differ diff --git a/web/client/assets/images/homePage/bigscreen/分组 13 copy(2).png b/web/client/assets/images/homePage/bigscreen/分组 13 copy(2).png new file mode 100644 index 0000000..0cb8669 Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/分组 13 copy(2).png differ diff --git a/web/client/assets/images/homePage/bigscreen/分组 13 copy.png b/web/client/assets/images/homePage/bigscreen/分组 13 copy.png new file mode 100644 index 0000000..99eb7a1 Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/分组 13 copy.png differ diff --git a/web/client/assets/images/homePage/bigscreen/图.png b/web/client/assets/images/homePage/bigscreen/图.png new file mode 100644 index 0000000..bfbf279 Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/图.png differ diff --git a/web/client/assets/images/homePage/bigscreen/整图.png b/web/client/assets/images/homePage/bigscreen/整图.png new file mode 100644 index 0000000..de3d983 Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/整图.png differ diff --git a/web/client/assets/images/homePage/bigscreen/硬盘.png b/web/client/assets/images/homePage/bigscreen/硬盘.png new file mode 100644 index 0000000..84d426a Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/硬盘.png differ diff --git a/web/client/assets/images/homePage/bigscreen/组 1444.png b/web/client/assets/images/homePage/bigscreen/组 1444.png new file mode 100644 index 0000000..7d11fe9 Binary files /dev/null and b/web/client/assets/images/homePage/bigscreen/组 1444.png differ diff --git a/web/client/index.html b/web/client/index.html index 1b88ea7..fd001bb 100644 --- a/web/client/index.html +++ b/web/client/index.html @@ -14,7 +14,7 @@ } -
+ diff --git a/web/client/src/sections/backups/containers/backupTask.js b/web/client/src/sections/backups/containers/backupTask.js index a5aaf3f..0726833 100644 --- a/web/client/src/sections/backups/containers/backupTask.js +++ b/web/client/src/sections/backups/containers/backupTask.js @@ -91,7 +91,10 @@ function Member(props) { /> : 恢复) options.push( record?.source ? - { window.open(record?.source) }}> 下载 : 下载 + { + const url = '/assets/files/backups/' + record?.source.replace('/app/dbFiles/', '') + window.open(url) + }}>下载 : 下载 ) if (record?.state != '备份中' && record?.state != '恢复中') { diff --git a/web/client/src/sections/homePage/components/abnormalMonitoring.js b/web/client/src/sections/homePage/components/abnormalMonitoring.js new file mode 100644 index 0000000..3dcd01e --- /dev/null +++ b/web/client/src/sections/homePage/components/abnormalMonitoring.js @@ -0,0 +1,47 @@ +import React, { useEffect, useState } from 'react' +import CarouselList from './public/carousel-list'; +import { Tooltip } from 'antd'; +import { ApiTable, useFsRequest } from '$utils'; +import moment from 'moment'; +function AbnormalMonitoring(props) { + + const { data: logs = {} } = useFsRequest({ + url: ApiTable.getLogs, + query: { + logState: false + }, + // pollingInterval: 10000 + }); + + const dataSource = logs?.rows ? logs?.rows?.map(s => { + return [ +