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
587e1833
Commit
587e1833
authored
Nov 20, 2020
by
张烨
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://g.civnet.cn:8443/test/maintenance
parents
2106012f
dd52e920
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
11 deletions
+18
-11
SiteConfig.jsx
src/pages/mobileConfig/SiteConfig.jsx
+5
-3
LeftPart.jsx
src/pages/mobileConfig/menuconfig/LeftPart.jsx
+0
-0
LeftPart.less
src/pages/mobileConfig/menuconfig/LeftPart.less
+6
-6
MenuConfig.jsx
src/pages/mobileConfig/menuconfig/MenuConfig.jsx
+2
-2
SiteManage.jsx
src/pages/userCenter/siteManage/SiteManage.jsx
+1
-0
api.js
src/services/mobileConfig/api.js
+4
-0
No files found.
src/pages/mobileConfig/SiteConfig.jsx
View file @
587e1833
...
...
@@ -21,8 +21,8 @@ const SiteConfig = props => {
const
[
form
]
=
Form
.
useForm
();
const
layout
=
{
layout
:
'horizontal'
,
labelCol
:
{
span
:
3
},
wrapperCol
:
{
span
:
14
},
labelCol
:
{
span
:
7
},
wrapperCol
:
{
span
:
6
},
};
useEffect
(()
=>
{
console
.
log
(
miniTitle
,
'miniTitle'
);
...
...
@@ -88,6 +88,7 @@ const SiteConfig = props => {
};
return
(
<
Spin
spinning=
{
loading
}
tip=
"loading..."
>
<
div
style=
{
{
minHeight
:
'calc(100vh - 172px)'
,
marginTop
:
'20px'
}
}
>
<
Form
form=
{
form
}
{
...
layout
}
>
<
Item
label=
"应用名称:"
...
...
@@ -181,12 +182,13 @@ const SiteConfig = props => {
<
Radio
value=
{
false
}
>
否
</
Radio
>
</
Radio
.
Group
>
</
Item
>
<
Item
style=
{
{
textAlign
:
'center'
}
}
>
<
Item
wrapperCol=
{
{
span
:
6
,
offset
:
7
}
}
>
<
Button
type=
"primary"
onClick=
{
submit
}
>
提交
</
Button
>
</
Item
>
</
Form
>
</
div
>
</
Spin
>
);
};
...
...
src/pages/mobileConfig/menuconfig/LeftPart.jsx
View file @
587e1833
This diff is collapsed.
Click to expand it.
src/pages/mobileConfig/menuconfig/LeftPart.less
View file @
587e1833
.contentContainer{
max-height: calc(100vh - 300
px);
// min-height: calc(100vh - 48
px);
overflow-x: auto;
display: flex;
.menuContainer{
min-width: 300px;
border:1px solid #abaeb1
;
// min-height:calc(100vh - 300
px);
border:2px solid #eee
;
min-height:calc(100vh - 172
px);
overflow-y:auto;
.ant-tree-list{
padding: 10px;
...
...
@@ -26,7 +26,7 @@
padding: 16px;
float: left;
min-width: 500px;
border:1px solid #abaeb1
;
border:2px solid #eee
;
.ant-table-pagination-right{
padding-right: 12px;
}
...
...
@@ -35,8 +35,8 @@
margin-left: 12px;
// flex: 1;
float: left;
min-width: 4
00px;
border:1px solid #abaeb1
;
min-width: 7
00px;
border:2px solid #eee
;
.ant-table-pagination-right{
padding-right: 12px;
}
...
...
src/pages/mobileConfig/menuconfig/MenuConfig.jsx
View file @
587e1833
...
...
@@ -6,10 +6,10 @@ import LeftPart from './LeftPart';
const
MenuConfig
=
props
=>
{
const
[
flag
,
setFlag
]
=
useState
(
1
);
return
(
<
ProCard
split=
"vertical"
>
<
div
split=
"vertical"
>
<
LeftPart
/>
{
/* <ProCard><AddForm /></ProCard> */
}
</
ProCard
>
</
div
>
);
};
export
default
MenuConfig
;
src/pages/userCenter/siteManage/SiteManage.jsx
View file @
587e1833
...
...
@@ -130,6 +130,7 @@ const SiteManage = () => {
let
arr
=
list
.
map
(
item
=>
{
item
.
id
=
item
.
OUID
*
10000
;
item
.
text
=
item
.
OUName
;
item
.
isChecked
=
false
;
item
.
type
=
'widgetGroup'
;
item
.
children
=
item
.
userList
.
map
(
u
=>
({
...
u
,
...
...
src/services/mobileConfig/api.js
View file @
587e1833
...
...
@@ -37,3 +37,7 @@ export const editWebsite = (params, options) => {
options
,
);
};
/**
* @获取菜单配置
*/
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