From a28f0bb497d52325f7990664e06ed5df97ddc5de Mon Sep 17 00:00:00 2001 From: zhaozhenfang Date: Tue, 30 May 2023 14:13:02 +0800 Subject: [PATCH] optimize the interface --- gala-ops/web/package.json | 2 +- gala-ops/web/public/index.html | 34 +++++++------- gala-ops/web/src/views/hostList.vue | 25 +++++++++-- prometheus/web/src/components/MyEcharts.vue | 26 +++++++---- prometheus/web/src/components/index.ts | 18 +++++++- prometheus/web/src/store/charts.ts | 50 ++++++++++++--------- prometheus/web/tsconfig.json | 4 +- 7 files changed, 104 insertions(+), 55 deletions(-) diff --git a/gala-ops/web/package.json b/gala-ops/web/package.json index bf2b97cc..ce647320 100644 --- a/gala-ops/web/package.json +++ b/gala-ops/web/package.json @@ -1,5 +1,5 @@ { - "name": "view", + "name": "gala-ops", "version": "0.1.0", "private": true, "scripts": { diff --git a/gala-ops/web/public/index.html b/gala-ops/web/public/index.html index 3e5a1396..a01b97f4 100644 --- a/gala-ops/web/public/index.html +++ b/gala-ops/web/public/index.html @@ -1,17 +1,21 @@ - - - - - - <%= htmlWebpackPlugin.options.title %> - - - -
- - - + + + + + + + gala-ops + + + + +
+ + + + \ No newline at end of file diff --git a/gala-ops/web/src/views/hostList.vue b/gala-ops/web/src/views/hostList.vue index c5319e96..57606576 100644 --- a/gala-ops/web/src/views/hostList.vue +++ b/gala-ops/web/src/views/hostList.vue @@ -75,7 +75,20 @@ - + + + +