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
2c9c52a8
Commit
2c9c52a8
authored
Sep 23, 2022
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '角色管理界面优化'
parent
1152a441
Pipeline
#60967
waiting for manual action with stages
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
33 deletions
+46
-33
incident.less
src/pages/bsmanager/workOrder/incident/incident.less
+1
-1
ManagementDataBase.jsx
src/pages/database/ManagementDataBase/ManagementDataBase.jsx
+12
-0
RoleManage.less
src/pages/userCenter/roleManage/RoleManage.less
+1
-1
NewSelectUser.jsx
src/pages/userCenter/roleManage/SelectUser/NewSelectUser.jsx
+18
-19
SelectUser.less
src/pages/userCenter/roleManage/SelectUser/SelectUser.less
+14
-12
No files found.
src/pages/bsmanager/workOrder/incident/incident.less
View file @
2c9c52a8
...
...
@@ -283,7 +283,7 @@
}
.imgg {
position: relative;
top: -
80
px;
top: -
95
px;
left: -9px;
height: 104px;
width: 104px;
...
...
src/pages/database/ManagementDataBase/ManagementDataBase.jsx
View file @
2c9c52a8
...
...
@@ -25,6 +25,7 @@ import {
const
ManagementDataBase
=
()
=>
{
const
[
autoCheckList
,
setAutoCheckList
]
=
useState
([]);
// 自动列表
const
[
autoCheck
,
setAutoCheck
]
=
useState
([]);
const
[
checkList
,
setCheckList
]
=
useState
([]);
// 手动列表
const
[
logList
,
setLogList
]
=
useState
([]);
// 日志列表
const
[
checkFlag
,
setCheckFlag
]
=
useState
(
1
);
...
...
@@ -100,6 +101,7 @@ const ManagementDataBase = () => {
console
.
log
(
data
);
setKeepValue
(
res
.
RepairTypeList
);
setRepairTypeList
(
data
);
setAutoCheck
(
arr
);
setAutoCheckList
(
arr
);
setCheckList
(
arr2
);
}
...
...
@@ -413,6 +415,16 @@ const ManagementDataBase = () => {
const
onChange
=
e
=>
{
console
.
log
(
e
);
console
.
log
(
autoCheckList
);
let
aa
=
[...
autoCheck
];
let
data
=
[];
aa
.
map
(
i
=>
{
if
(
e
.
indexOf
(
i
.
Type
)
!=
-
1
)
{
data
.
push
(
i
);
}
});
console
.
log
(
data
);
setAutoCheckList
(
data
);
setKeepValue
(
e
);
};
...
...
src/pages/userCenter/roleManage/RoleManage.less
View file @
2c9c52a8
...
...
@@ -84,7 +84,7 @@
}
.cardBoxR {
height: calc(100% - 3
6
px);
height: calc(100% - 3px);
min-width: 870px;
overflow-y: scroll;
...
...
src/pages/userCenter/roleManage/SelectUser/NewSelectUser.jsx
View file @
2c9c52a8
...
...
@@ -246,22 +246,23 @@ const NewSelectUser = props => {
destroyOnClose
centered
> */
}
{
/* 头部搜索框 */
}
<
div
className=
{
styles
.
searchHeader
}
>
<
Input
.
Search
value=
{
searchName
}
placeholder=
"请输入部门或用户"
onChange=
{
searchChange
}
onSearch=
{
onSearch
}
enterButton
style=
{
{
width
:
'300px'
,
marginRight
:
'15px'
}
}
allowClear
/>
<
Button
onClick=
{
onFinish
}
type=
"primary"
htmlType=
"submit"
>
提交
</
Button
>
</
div
>
<
div
className=
{
styles
.
pushTestContent
}
>
<
div
className=
{
styles
.
leftContent
}
>
{
/* 头部搜索框 */
}
<
div
className=
{
styles
.
searchHeader
}
>
<
Input
.
Search
value=
{
searchName
}
placeholder=
"请输入部门或用户"
onChange=
{
searchChange
}
onSearch=
{
onSearch
}
enterButton
style=
{
{
width
:
'300px'
,
marginRight
:
'15px'
}
}
/>
<
Button
type=
"primary"
htmlType=
"submit"
onClick=
{
onReset
}
>
重置
</
Button
>
</
div
>
{
/* 复选框模块 */
}
<
div
className=
{
styles
.
checkScrollBox
}
>
{
/* <Spin spinning={loading}> */
}
...
...
@@ -285,7 +286,7 @@ const NewSelectUser = props => {
<
div
className=
{
styles
.
tableRight
}
>
<
Table
bordered
style=
{
{
width
:
'400px'
,
height
:
'100%'
,
overflowX
:
'hidden'
}
}
style=
{
{
width
:
'400px'
,
height
:
'100%'
}
}
rowKey=
{
record
=>
record
.
value
}
columns=
{
columns
}
dataSource=
{
checkList
}
...
...
@@ -304,13 +305,11 @@ const NewSelectUser = props => {
defaultCurrent=
{
1
}
current=
{
currentPage
}
onChange=
{
paginationChange
}
style=
{
{
marginBottom
:
'10px'
}
}
style=
{
{
marginBottom
:
'10px'
,
width
:
'70%'
}
}
size=
"small"
showQuickJumper
/>
<
Button
onClick=
{
onFinish
}
type=
"primary"
htmlType=
"submit"
style=
{
{
float
:
'right'
}
}
>
提交
</
Button
>
{
/* </Modal> */
}
</>
);
...
...
src/pages/userCenter/roleManage/SelectUser/SelectUser.less
View file @
2c9c52a8
.searchHeader {
display: flex;
justify-content: space-between;
}
.pushTestContent {
.ant-table-body {
height: calc(100vh - 225px) !important;
}
display: flex;
height: calc(100% - 75px);
.searchHeader {
display: flex;
}
height: calc(100% - 40px);
.checkScrollBox {
overflow-y: scroll;
height: calc(100% -
82
px);
margin:
20px 0
;
height: calc(100% -
25
px);
margin:
10px 0px 0px 0px
;
padding-right: 5px;
.checkContainer {
...
...
@@ -69,16 +71,16 @@
.tableRight {
margin-left: 10px;
height: 100%
;
margin-top:10px
;
.ant-spin-nested-loading {
height: 100%;
.ant-table {
height: 100%;
.ant-table-container {
height: 100%;
}
}
}
...
...
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