Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivManage
Commits
b036d7dc
Commit
b036d7dc
authored
Dec 25, 2020
by
Maofei94
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复页面问题
parent
d4e36b38
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
90 additions
and
23 deletions
+90
-23
colContent.jsx
src/components/Colophon/colContent.jsx
+51
-4
index.jsx
src/components/Colophon/index.jsx
+1
-1
InitDataBase.jsx
src/pages/database/InitDataBase.jsx
+2
-0
index.js
src/pages/mobileConfig/index.js
+1
-1
VersionPublish.js
src/pages/mobileConfig/menuconfig/VersionPublish.js
+2
-2
checkBox.less
src/pages/mobileConfig/menuconfig/checkBox.less
+2
-2
otherConfig.less
src/pages/mobileConfig/menuconfig/otherConfig.less
+5
-1
checkBox.jsx
src/pages/webConfig/menuconfig/checkBox.jsx
+1
-1
checkBox.less
src/pages/webConfig/menuconfig/checkBox.less
+3
-2
editForm.jsx
src/pages/webConfig/menuconfig/editForm.jsx
+15
-3
webMenu.jsx
src/pages/webConfig/menuconfig/webMenu.jsx
+3
-2
webMenu.less
src/pages/webConfig/menuconfig/webMenu.less
+2
-2
config.js
src/routes/config.js
+2
-2
No files found.
src/components/Colophon/colContent.jsx
View file @
b036d7dc
...
...
@@ -30,13 +30,60 @@ const ColConen = () => {
};
const
arr
=
[
{
key
:
'2'
,
label
:
'v5.0.20201225 '
,
content
:
(
<
div
className=
{
styles
.
hr
}
>
<
div
className=
{
styles
.
topBox
}
>
<
div
className=
{
styles
.
topl
}
>
v5.0.20201225
</
div
>
<
div
className=
{
styles
.
topr
}
>
2020-12-25
</
div
>
</
div
>
<
hr
/>
<
h3
>
角色管理
</
h3
>
<
ul
>
<
li
>
【修改】 修改了分组获取方式,禁止手动修改
</
li
>
<
li
>
【修改】 修改了默认展示的应用
</
li
>
</
ul
>
<
h3
>
gis平台
</
h3
>
<
ul
>
<
li
>
【新增】 新增七参数配置
</
li
>
</
ul
>
<
h3
>
业务平台
</
h3
>
<
ul
>
<
li
>
【修改】 修改了页面内容,优化了引导方式
</
li
>
</
ul
>
<
h3
>
web配置
</
h3
>
<
ul
>
<
li
>
【修改】 菜单展示页面结构调整,调整提交逻辑
</
li
>
</
ul
>
<
h3
>
移动应用配置
</
h3
>
<
ul
>
<
li
>
【修改】 菜单展示页面结构调整,调整提交逻辑
</
li
>
</
ul
>
<
h3
>
系统日志
</
h3
>
<
ul
>
<
li
>
【修改】 模块名称做了修改
</
li
>
<
li
>
【修改】 运维痕迹页面展示内容做了调整
</
li
>
</
ul
>
<
h3
>
数据库连接配置
</
h3
>
<
ul
>
<
li
>
【修改】 调整页面展示结构
</
li
>
</
ul
>
<
h3
>
版本记录
</
h3
>
<
ul
>
<
li
>
【修改】 修改了版本内容展示方式,调整了版本号的定义方式
</
li
>
</
ul
>
</
div
>
),
},
{
key
:
'1'
,
label
:
'v
1
.0.20201218 '
,
label
:
'v
5
.0.20201218 '
,
content
:
(
<
div
className=
{
styles
.
hr
}
>
<
div
className=
{
styles
.
topBox
}
>
<
div
className=
{
styles
.
topl
}
>
v
1
.0.20201218
</
div
>
<
div
className=
{
styles
.
topl
}
>
v
5
.0.20201218
</
div
>
<
div
className=
{
styles
.
topr
}
>
2020-12-18
</
div
>
</
div
>
<
hr
/>
...
...
@@ -61,11 +108,11 @@ const arr = [
},
{
key
:
'0'
,
label
:
`v
1
.0.20201217 `
,
label
:
`v
5
.0.20201217 `
,
content
:
(
<
div
className=
{
styles
.
hr
}
>
<
div
className=
{
styles
.
topBox
}
>
<
div
className=
{
styles
.
topl
}
>
v
1
.0.20201217
</
div
>
<
div
className=
{
styles
.
topl
}
>
v
5
.0.20201217
</
div
>
<
div
className=
{
styles
.
topr
}
>
2020-12-17
</
div
>
</
div
>
<
hr
/>
...
...
src/components/Colophon/index.jsx
View file @
b036d7dc
...
...
@@ -13,7 +13,7 @@ const Colophon = props => {
};
return
(
<
div
className=
{
styles
.
desc
}
onClick=
{
handleClick
}
>
<
div
>
版本号v
1.0.20201218
</
div
>
<
div
>
版本号v
5.0.20201225
</
div
>
<
div
onClick=
{
e
=>
e
.
stopPropagation
()
}
>
<
Modal
width=
{
1200
}
...
...
src/pages/database/InitDataBase.jsx
View file @
b036d7dc
...
...
@@ -429,6 +429,7 @@ const InitDataBase = props => {
>
修改描述
</
Button
>
<
div
onClick=
{
e
=>
e
.
stopPropagation
()
}
>
<
Popconfirm
title=
"是否删除该连接的历史记录?"
okText=
"确认"
...
...
@@ -441,6 +442,7 @@ const InitDataBase = props => {
删除
</
Button
>
</
Popconfirm
>
</
div
>
</
Space
>
),
},
...
...
src/pages/mobileConfig/index.js
View file @
b036d7dc
...
...
@@ -26,7 +26,7 @@ import { appConnector } from '@/containers/App/store';
const
{
TabPane
}
=
Tabs
;
const
MobileConfigPage
=
props
=>
{
const
{
userMode
}
=
props
;
const
[
activeKey
,
setActiveKey
]
=
useState
(
'
1
'
);
// tabs活动页
const
[
activeKey
,
setActiveKey
]
=
useState
(
'
0
'
);
// tabs活动页
const
[
miniTitle
,
setMiniTitle
]
=
useState
(
''
);
// 应用名称
const
[
flag
,
setFlag
]
=
useState
(
1
);
// 刷新标志
const
[
showConfig
,
setShowConfig
]
=
useState
(
true
);
...
...
src/pages/mobileConfig/menuconfig/VersionPublish.js
View file @
b036d7dc
...
...
@@ -166,7 +166,7 @@ export default props => {
<Spin />
) : (
<>
<div className=
"base-info"
>
<div className=
{styles.apkbox}
>
<p className={styles.title}>apk版本管理:</p>
<div className={styles.row}>
<div className={styles.label}>当前包名:</div>
...
...
@@ -197,7 +197,7 @@ export default props => {
</div>
</div>
<Button
style={{ marginLeft: '
115
px
' }}
style={{ marginLeft: '
115
px
'
, marginTop: '
20
px
'
}}
type="primary"
onClick={() => setShowModal(true)}
>
...
...
src/pages/mobileConfig/menuconfig/checkBox.less
View file @
b036d7dc
.box{
display: flex;
padding:
10px 10px 10px
20px;
padding: 20px;
margin: 20px;
flex-wrap: wrap;
border: 1px solid #
eee
;
border: 1px solid #
bfbfbf
;
}
.check{
flex-shrink: 0;
...
...
src/pages/mobileConfig/menuconfig/otherConfig.less
View file @
b036d7dc
...
...
@@ -12,7 +12,7 @@
.VersionPublish {
display: flex;
padding:
0
15px;
padding:
20px
15px;
min-height: calc( 100vh - 232px)!important;
}
...
...
@@ -36,3 +36,6 @@
min-height: calc(100vh - 135px);
// min-height: calc(100vh - 255px);
}
.apkbox{
margin: 0 0 0 20vw;
}
\ No newline at end of file
src/pages/webConfig/menuconfig/checkBox.jsx
View file @
b036d7dc
...
...
@@ -5,7 +5,7 @@ const CheckList = props => {
const
{
info
,
valueCallback
,
nodeType
}
=
props
;
const
[
list
,
setList
]
=
useState
([]);
const
[
flag
,
setFlag
]
=
useState
(
false
);
cons
t
a
=
'a'
;
cons
ole
.
log
(
info
,
'info'
)
;
useEffect
(()
=>
{
if
(
info
.
pageUrl
)
{
let
arr
=
[...
info
.
relatedRoleList
];
...
...
src/pages/webConfig/menuconfig/checkBox.less
View file @
b036d7dc
.box{
display: flex;
padding:
1
0px;
margin
-top: 1
0px;
padding:
2
0px;
margin
: 2
0px;
flex-wrap: wrap;
border: 1px solid #bfbfbf;
}
.check{
flex-shrink: 0;
...
...
src/pages/webConfig/menuconfig/editForm.jsx
View file @
b036d7dc
...
...
@@ -3,16 +3,23 @@ import { Form, Input, Button, Row, Col, Select } from 'antd';
import
styles
from
'./addForm.less'
;
import
PicturesWall
from
'@/components/Upload/index'
;
import
EditeConfigWrapper
from
'./editConfigFileWrapper'
;
import
CheckList
from
'./checkBox'
;
const
{
Item
}
=
Form
;
const
EditForm
=
props
=>
{
const
{
submitCallback
,
nodeType
,
info
,
configFiles
}
=
props
;
const
{
submitCallback
,
nodeType
,
info
,
configFiles
,
valueCallback
=
()
=>
{},
}
=
props
;
const
[
form
]
=
Form
.
useForm
();
const
[
otherForm
]
=
Form
.
useForm
();
const
layout
=
{
layout
:
'horizontal'
,
labelCol
:
{
span
:
4
,
offset
:
1
},
wrapperCol
:
{
span
:
16
},
labelCol
:
{
span
:
2
},
wrapperCol
:
{
span
:
20
,
offset
:
0
},
};
// 回显表单
useEffect
(()
=>
{
...
...
@@ -96,6 +103,11 @@ const EditForm = props => {
</
Select
>
</
EditeConfigWrapper
>
</
Item
>
<
CheckList
info=
{
info
}
nodeType=
{
nodeType
}
valueCallback=
{
valueCallback
}
/>
<
Item
wrapperCol=
{
{
offset
:
10
}
}
style=
{
{
marginTop
:
'40px'
}
}
>
<
Button
type=
"primary"
htmlType=
"submit"
>
提交
...
...
src/pages/webConfig/menuconfig/webMenu.jsx
View file @
b036d7dc
...
...
@@ -490,6 +490,7 @@ const MiniMenu = props => {
info=
{
info
}
configFiles=
{
configFiles
}
submitCallback=
{
editSubmitCallback
}
valueCallback=
{
valueCallback
}
/>
)
:
(
<
Empty
...
...
@@ -498,7 +499,7 @@ const MiniMenu = props => {
/>
)
}
</
div
>
<
div
{
/*
<div
className={classnames({
[styles.rightBox]: true,
})}
...
...
@@ -509,7 +510,7 @@ const MiniMenu = props => {
nodeType={nodeType}
valueCallback={valueCallback}
/>
</
div
>
</div>
*/
}
</
div
>
</
Spin
>
);
...
...
src/pages/webConfig/menuconfig/webMenu.less
View file @
b036d7dc
...
...
@@ -46,11 +46,11 @@
}
.middle{
min-width: 500px;
width:
500px
;
width:
100%
;
min-height: 100%;
border: 1px solid #eee;
padding: 10px;
margin: 0 10px;
margin: 0
0 0
10px;
}
.title{
display: flex;
...
...
src/routes/config.js
View file @
b036d7dc
...
...
@@ -254,7 +254,7 @@ export default {
routes
:
[
{
path
:
'/log/service'
,
name
:
'服务
日志
'
,
name
:
'服务
监控
'
,
component
:
ServiceLog
,
},
{
...
...
@@ -264,7 +264,7 @@ export default {
},
{
path
:
'/log/omsLog'
,
name
:
'运维
日志
'
,
name
:
'运维
痕迹
'
,
component
:
OmsLog
,
},
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment