巴林闲侠 2 years ago
parent
commit
94429e18d7
  1. 20
      web/client/src/layout/components/header/index.jsx
  2. 3
      web/client/src/sections/install/components/adminModal.jsx
  3. 3
      web/client/src/sections/install/components/memberModal.jsx
  4. 3
      web/client/src/sections/install/components/systemModal.jsx
  5. 6
      web/client/src/sections/install/containers/roles.jsx
  6. 3
      web/client/src/sections/install/containers/system.jsx

20
web/client/src/layout/components/header/index.jsx

@ -30,14 +30,26 @@ const Header = (props) => {
}} }}
header={{ header={{
logo: ( logo: (
<div style={{display:'flex',alignItems: 'center'}}>
<div>
<img <img
src="/assets/images/background/logo.png" src="/assets/images/background/logo.png"
style={{ display: "inline-block", width: 280, height: 40 }} style={{ display: "inline-block", width: 24, height: 24 }}
/> />
</div>
<div>
<div style={{ fontSize: 18, fontFamily: "YouSheBiaoTiHei", color: '#FFFFFF',letterSpacing: 3 }}>运维管理系统</div>
<div style={{ fontSize: 8, fontFamily: "YouSheBiaoTiHei", color: '#FFFFFF' }}>RUNNING MANAGEMENT SYSTEM</div>
</div>
</div>
// <img
// src="/assets/images/background/logo.png"
// style={{ display: "inline-block", width: 280, height: 40 }}
// />
), ),
text: ( // text: (
<div style={{ fontFamily: "YouSheBiaoTiHei", color: '#FFFFFF' }}>运维管理系统</div> // <div style={{ fontFamily: "YouSheBiaoTiHei", color: '#FFFFFF' }}></div>
), // ),
}} }}
footer={ footer={
<> <>

3
web/client/src/sections/install/components/adminModal.jsx

@ -7,6 +7,7 @@ import { IconAlertCircle } from '@douyinfe/semi-icons';
function adminModal (props) { function adminModal (props) {
const { const {
close, close,
cancel,
visible, visible,
dispatch, dispatch,
pepList, pepList,
@ -60,7 +61,7 @@ function adminModal (props) {
}) })
} }
function handleCancel () { function handleCancel () {
close(); cancel();
// //
} }
return ( return (

3
web/client/src/sections/install/components/memberModal.jsx

@ -7,6 +7,7 @@ import { IconAlertCircle } from '@douyinfe/semi-icons';
function memberModal (props) { function memberModal (props) {
const { const {
close, close,
cancel,
visible, visible,
dispatch, dispatch,
pepList, pepList,
@ -82,7 +83,7 @@ function memberModal (props) {
}) })
} }
function handleCancel () { function handleCancel () {
close(); cancel();
// //
} }
return ( return (

3
web/client/src/sections/install/components/systemModal.jsx

@ -7,6 +7,7 @@ import { IconAlertCircle, IconAlertTriangle } from '@douyinfe/semi-icons';
function adminModal (props) { function adminModal (props) {
const { const {
close, close,
cancel,
visible, visible,
dispatch, dispatch,
actions, actions,
@ -67,7 +68,7 @@ function adminModal (props) {
}) })
} }
function handleCancel () { function handleCancel () {
close(); cancel();
// //
} }
const renderMultipleWithCustomTag = (optionNode, { onClose }) => { const renderMultipleWithCustomTag = (optionNode, { onClose }) => {

6
web/client/src/sections/install/containers/roles.jsx

@ -593,6 +593,9 @@ const Roles = (props) => {
pepList={pepList} pepList={pepList}
adminEdit={adminEdit} adminEdit={adminEdit}
editObj={editObj} editObj={editObj}
cancel={() => {
setAdminModal(false);
}}
close={() => { close={() => {
setAdminModal(false); setAdminModal(false);
getUserList() getUserList()
@ -609,6 +612,9 @@ const Roles = (props) => {
pomsList={pomsList} pomsList={pomsList}
anxinDelete={anxinDelete} anxinDelete={anxinDelete}
anxincloudArr={anxincloudArr} anxincloudArr={anxincloudArr}
cancel={() => {
setMemberModal(false);
}}
close={() => { close={() => {
setMemberModal(false); setMemberModal(false);
getUserList() getUserList()

3
web/client/src/sections/install/containers/system.jsx

@ -420,6 +420,9 @@ const Example = (props) => {
anxinDelete={anxinDelete} anxinDelete={anxinDelete}
appArr={appArr} appArr={appArr}
bindId={bindId} bindId={bindId}
cancel={() => {
setSystemModal(false);
}}
close={() => { close={() => {
setSystemModal(false); setSystemModal(false);
getProjectPomsList() getProjectPomsList()

Loading…
Cancel
Save