From 6b1e3b6f4c0d999b10b72b9e6deff6b4a2f2df8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=90=AF=E9=BE=99?= Date: Mon, 26 Aug 2024 19:29:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A6=96=E9=A1=B5=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webs/sms-web/src/main.ts | 2 - .../src/views/configs/notice/Dialog.vue | 6 +- .../views/configs/setting_dashboard/index.vue | 30 ++++---- .../new_dashboard_component/CPUTop5.vue | 37 ---------- .../CPU_MEMORY_Top5.vue | 69 +++++++++++++++++++ .../new_dashboard_component/NoticeList.vue | 62 +++++++++++------ .../OrderStatistics.vue | 6 +- .../StatisticsDisplay.vue | 10 +-- .../new_dashboard_component/TaskList.vue | 8 +-- .../new_dashboard_component/VMCPUTop5.vue | 37 ---------- .../echarts/BarReverseCharts.vue | 2 +- webs/sms-web/src/views/message/detail.vue | 2 +- 12 files changed, 142 insertions(+), 129 deletions(-) delete mode 100644 webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/CPUTop5.vue create mode 100644 webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/CPU_MEMORY_Top5.vue delete mode 100644 webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/VMCPUTop5.vue diff --git a/webs/sms-web/src/main.ts b/webs/sms-web/src/main.ts index ddc844c..249c7d9 100644 --- a/webs/sms-web/src/main.ts +++ b/webs/sms-web/src/main.ts @@ -9,6 +9,4 @@ import { render } from '@cmp/cmp-core/render' import qiankunRender from '@cmp/cmp-core/qiankunRender' -import echarts from '@cmp/cmp-echarts/hooks/echarts' -console.log(echarts) export const { bootstrap, mount, unmount } = qiankunRender(render) diff --git a/webs/sms-web/src/views/configs/notice/Dialog.vue b/webs/sms-web/src/views/configs/notice/Dialog.vue index d7b9c48..0aee9fe 100644 --- a/webs/sms-web/src/views/configs/notice/Dialog.vue +++ b/webs/sms-web/src/views/configs/notice/Dialog.vue @@ -21,7 +21,7 @@ 全员 管理端用户 - 租户端用户 + 指定用户 @@ -33,8 +33,8 @@ 邮件 站内信 - 企业微信 - 钉钉 + diff --git a/webs/sms-web/src/views/configs/setting_dashboard/index.vue b/webs/sms-web/src/views/configs/setting_dashboard/index.vue index 937ba47..3c99cd3 100644 --- a/webs/sms-web/src/views/configs/setting_dashboard/index.vue +++ b/webs/sms-web/src/views/configs/setting_dashboard/index.vue @@ -9,29 +9,30 @@ - + + - + - + - - + + - - + + @@ -58,8 +59,7 @@ import PlatformCapacity from './new_dashboard_component/PlatformCapacity.vue' import NoticeList from './new_dashboard_component/NoticeList.vue' import AlarmHandling from './new_dashboard_component/AlarmHandling.vue' import DailyAlarmStatistics from './new_dashboard_component/DailyAlarmStatistics.vue' -import CPUTop5 from './new_dashboard_component/CPUTop5.vue' -import VMCPUTop5 from './new_dashboard_component/VMCPUTop5.vue' +import CPU_MEMORY_Top5 from './new_dashboard_component/CPU_MEMORY_Top5.vue' import WarningList from './new_dashboard_component/WarningList.vue' export default { components: { @@ -71,8 +71,7 @@ export default { NoticeList, AlarmHandling, DailyAlarmStatistics, - CPUTop5, - VMCPUTop5, + CPU_MEMORY_Top5, WarningList }, setup(props, context) { @@ -91,6 +90,9 @@ export default { } } ::v-deep { + .weight600 { + font-weight: 600; + } .el-table--group, .el-table--border { border: none; @@ -99,7 +101,11 @@ export default { .el-table td { border: none; } - + .el-table .cell { + line-height: 32px; + font-size: 14px; + color: #344767; + } .el-table::before, .el-table--group::after, .el-table--border::after { diff --git a/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/CPUTop5.vue b/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/CPUTop5.vue deleted file mode 100644 index d0812ef..0000000 --- a/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/CPUTop5.vue +++ /dev/null @@ -1,37 +0,0 @@ - - - diff --git a/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/CPU_MEMORY_Top5.vue b/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/CPU_MEMORY_Top5.vue new file mode 100644 index 0000000..b13c560 --- /dev/null +++ b/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/CPU_MEMORY_Top5.vue @@ -0,0 +1,69 @@ + + + diff --git a/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/NoticeList.vue b/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/NoticeList.vue index ec7d013..b7b8566 100644 --- a/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/NoticeList.vue +++ b/webs/sms-web/src/views/configs/setting_dashboard/new_dashboard_component/NoticeList.vue @@ -1,38 +1,47 @@