From 3828890db2b350d255e4dc7486f76bc1e1393651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=91=9E=E5=AE=81?= <3134191406@qq.com> Date: Thu, 22 Feb 2024 12:52:12 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E5=90=AF=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index.less | 25 +++++++++++++++++++++++++ src/pages/restartService.tsx | 21 ++++++++++++++++++++- 2 files changed, 45 insertions(+), 1 deletion(-) diff --git a/src/pages/index.less b/src/pages/index.less index 2a93d37..d38b0a1 100644 --- a/src/pages/index.less +++ b/src/pages/index.less @@ -5,6 +5,31 @@ align-items: center; justify-content: center; background: #E8F7FF; + + .contentWrap { + width: 800px; + height: 500px; + border: 2px solid #999; + + .title { + padding: 20px; + border-bottom: 2px solid #999; + } + + .content { + display: flex; + align-items: center; + justify-content: space-between; + + .cleft{ + margin-top:20px; + margin-left:10px; + width:500px; + height:400px; + background-color:#000; + } + } + } } .item_warp { diff --git a/src/pages/restartService.tsx b/src/pages/restartService.tsx index 1d16ac7..c6f18d0 100644 --- a/src/pages/restartService.tsx +++ b/src/pages/restartService.tsx @@ -3,6 +3,7 @@ import styles from './index.less'; import { RedoOutlined } from '@ant-design/icons'; import { useParams } from 'umi'; import { message } from 'antd'; +import ButtonComp from '@/components/ButtonComp'; interface PageProps { } @@ -12,7 +13,7 @@ const RestartService: FC = ({ }) => { let info = sysData ? JSON.parse(sysData) : null; return
-
= ({ }) => { >
重启服务
+
*/} +
+
服务控制台 一体化对称密码管理系统核心区
+
+
+
+ + + { + message.success('重启服务成功!') + localStorage.setItem(`${urlParams?.fileType}`, JSON.stringify({ ...info, restartService: true })) + }} /> + + + + +
+
}