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
86f12ab6
Commit
86f12ab6
authored
Oct 29, 2021
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 添加文档说明功能
parent
98a67b67
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
5 deletions
+24
-5
RightContent.js
src/components/GlobalHeader/RightContent.js
+17
-2
addForm.less
src/pages/mobileConfig/menuconfig/addForm.less
+1
-0
dimensionsConfig.less
...ges/platformCenter/dimensionsConfig/dimensionsConfig.less
+1
-0
AddModal.jsx
...nter/messageManage/templateManage/components/AddModal.jsx
+1
-1
EditModal.jsx
...ter/messageManage/templateManage/components/EditModal.jsx
+1
-1
SchemeConfig.less
src/pages/platformCenter/schemeConfig/SchemeConfig.less
+1
-0
addForm.less
src/pages/webConfig/menuconfig/addForm.less
+1
-0
config.js
src/routes/config.js
+1
-1
No files found.
src/components/GlobalHeader/RightContent.js
View file @
86f12ab6
import
React
,
{
useContext
,
useState
}
from
'react'
;
import
React
,
{
useContext
,
useState
,
useEffect
}
from
'react'
;
import
{
RouteContext
}
from
'@ant-design/pro-layout'
;
import
{
Breadcrumb
}
from
'antd'
;
import
check
from
'@/components/Authorized/CheckPermissions'
;
import
{
Link
}
from
'react-router-dom'
;
import
{
Link
,
useLocation
}
from
'react-router-dom'
;
import
HeaderSearch
from
'../HeaderSearch'
;
import
Colophon
from
'../Colophon'
;
import
Avatar
from
'./AvatarDropdown'
;
...
...
@@ -33,6 +33,12 @@ const routesOptions = route => {
const
GlobalHeaderRight
=
props
=>
{
const
{
theme
,
layout
}
=
props
;
const
[
dosRouter
,
setDosRouter
]
=
useState
(
''
);
const
{
pathname
}
=
useLocation
();
useEffect
(()
=>
{
console
.
log
(
pathname
,
'location'
);
setDosRouter
(
pathname
);
},
[
pathname
]);
let
className
=
styles
.
right
;
const
value
=
useContext
(
RouteContext
);
...
...
@@ -45,6 +51,15 @@ const GlobalHeaderRight = props => {
{
/* <span className={styles.left}>{value.title}</span> */
}
<
Breadcrumb
{...
value
.
breadcrumb
}
className
=
{
styles
.
lineHeight
}
/
>
<
div
style
=
{{
flex
:
1
}}
/
>
<
div
style
=
{{
margin
:
'0 10px'
}}
>
<
a
target
=
"_blank"
href
=
{
`
${
window
.
location
.
origin
}
/civmanage/site/content
${
dosRouter
}
`
}
rel
=
"noopener noreferer"
>
文档说明
<
/a
>
<
/div
>
<
Colophon
/>
<
div
style
=
{{
margin
:
'0 10px'
}}
>
<
a
...
...
src/pages/mobileConfig/menuconfig/addForm.less
View file @
86f12ab6
.formStyle{
margin-bottom: 40px;
padding-bottom: 30px;
// height: 100%;
// overflow-y: scroll;
}
...
...
src/pages/platformCenter/dimensionsConfig/dimensionsConfig.less
View file @
86f12ab6
...
...
@@ -22,6 +22,7 @@
}
.imgList{
display: flex;
flex-wrap: wrap;
}
.imgItem{
display: flex;
...
...
src/pages/platformCenter/messageManage/templateManage/components/AddModal.jsx
View file @
86f12ab6
...
...
@@ -62,7 +62,7 @@ const AddModal = props => {
onOk=
{
()
=>
onSubmit
()
}
confirmLoading=
{
loading
}
>
<
div
style=
{
{
width
:
"750px"
,
height
:
"
4
00px"
,
overflowY
:
"scroll"
,
overflowX
:
"hidden"
}
}
>
<
div
style=
{
{
width
:
"750px"
,
height
:
"
5
00px"
,
overflowY
:
"scroll"
,
overflowX
:
"hidden"
}
}
>
<
Form
form=
{
form
}
{
...
layout
}
onFinish=
{
onSubmitSuccess
}
>
<
Item
label=
"模板名称"
...
...
src/pages/platformCenter/messageManage/templateManage/components/EditModal.jsx
View file @
86f12ab6
...
...
@@ -70,7 +70,7 @@ const EditModal = props => {
onOk=
{
()
=>
onSubmit
()
}
confirmLoading=
{
loading
}
>
<
div
style=
{
{
width
:
"750px"
,
height
:
"
4
00px"
,
overflowY
:
"scroll"
,
overflowX
:
"hidden"
}
}
>
<
div
style=
{
{
width
:
"750px"
,
height
:
"
5
00px"
,
overflowY
:
"scroll"
,
overflowX
:
"hidden"
}
}
>
<
Form
form=
{
form
}
{
...
layout
}
onFinish=
{
onSubmitSuccess
}
>
<
Row
gutter=
{
24
}
>
<
Col
span=
{
11
}
>
...
...
src/pages/platformCenter/schemeConfig/SchemeConfig.less
View file @
86f12ab6
...
...
@@ -21,6 +21,7 @@
}
.imgList{
display: flex;
flex-wrap: wrap;
}
.imgItem{
display: flex;
...
...
src/pages/webConfig/menuconfig/addForm.less
View file @
86f12ab6
.formStyle{
margin-bottom: 40px;
padding-bottom: 30px;
}
.rolebox{
...
...
src/routes/config.js
View file @
86f12ab6
...
...
@@ -41,7 +41,7 @@ import HostManager from '@/pages/platformCenter/hostmanager';
import
MessageManager
from
'@/pages/platformCenter/messageManage'
;
import
VideoManager
from
'@/pages/platformCenter/videoManager'
;
import
SchemeDetail
from
'@/pages/platformCenter/schemeDetail/schemeDetail'
;
import
SchemeConfig
from
'@/pages/platformCenter/schemeConfig/
s
chemeConfig'
;
import
SchemeConfig
from
'@/pages/platformCenter/schemeConfig/
S
chemeConfig'
;
import
DimensionsConfig
from
'@/pages/platformCenter/dimensionsConfig/dimensionsConfig'
;
import
TaskScheduling
from
'@/pages/artificial/taskScheduling/taskScheduling'
;
...
...
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