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
6afbc591
Commit
6afbc591
authored
Jan 15, 2021
by
陈前坚
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://g.civnet.cn:8443/ReactWeb5/maintenance
parents
0063a340
f906c97f
Pipeline
#22466
skipped with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
InitDataBase.jsx
src/pages/database/InitDataBase.jsx
+1
-0
RoleManage.jsx
src/pages/userCenter/roleManage/RoleManage.jsx
+6
-4
No files found.
src/pages/database/InitDataBase.jsx
View file @
6afbc591
...
...
@@ -590,6 +590,7 @@ const InitDataBase = props => {
setInitContent
(
''
);
}
}
width=
{
800
}
maskClosable=
{
false
}
bodyStyle=
{
{
height
:
'600px'
,
// overflowY: 'auto',
...
...
src/pages/userCenter/roleManage/RoleManage.jsx
View file @
6afbc591
...
...
@@ -71,6 +71,7 @@ const SiteManage = () => {
// 点击树的回调
const
handleTreeSelect
=
(
e
,
treenode
)
=>
{
console
.
log
(
treenode
);
if
(
treenode
)
{
console
.
log
(
e
,
node
,
'node'
);
const
{
node
}
=
treenode
;
...
...
@@ -81,7 +82,8 @@ const SiteManage = () => {
setRoleID
(
id
);
setValueList
([...
valueList
]);
}
else
{
setRoleID
(
saveTreeId
);
// setRoleID(saveTreeId);
setRoleID
(
''
);
}
}
...
...
@@ -190,7 +192,6 @@ const SiteManage = () => {
item
.
roleList
.
unshift
(
itemC
);
});
}
console
.
log
(
iconStyles
);
// if (item.visibleTitle === '手持系统') {
// item.icon = <span className="iconfont iconanzhuo1" />;
// newArr[0] = item;
...
...
@@ -263,8 +264,8 @@ const SiteManage = () => {
const
confirmModal
=
e
=>
{
console
.
log
(
e
,
typeof
e
,
'e'
);
setModalVisible
(
false
);
setRoleID
(
`
${
e
}
`
);
setCurrentSelectId
([
`
${
e
}
`
]);
//
setRoleID(`${e}`);
//
setCurrentSelectId([`${e}`]);
setFlag
(
flag
+
1
);
setItemObj
(
''
);
};
...
...
@@ -272,6 +273,7 @@ const SiteManage = () => {
const
delModal
=
()
=>
{
setDelVisible
(
false
);
setFlag
(
flag
+
1
);
setRoleID
(
''
);
setItemObj
(
''
);
};
// 编辑弹窗回调
...
...
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