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
ca917f95
Commit
ca917f95
authored
2 years ago
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '修改巡检维保界面样式'
parent
58944b7f
Pipeline
#57994
passed with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
34 deletions
+48
-34
filedConfig.jsx
...s/bsmanager/base/tablemanager/filedConfig/filedConfig.jsx
+2
-2
maintenance.jsx
...s/bsmanager/patrolMaintenance/maintenance/maintenance.jsx
+40
-32
AddModal.jsx
src/pages/userCenter/roleManage/AddModal.jsx
+6
-0
No files found.
src/pages/bsmanager/base/tablemanager/filedConfig/filedConfig.jsx
View file @
ca917f95
...
...
@@ -369,7 +369,7 @@ const AddModal = props => {
aa
.
push
({
name
:
item
,
key
:
index
,
ID
:
index
,
children
:
arr
[
item
]
});
bb
.
push
(
item
);
});
console
.
log
(
aa
,
'aaaaaaaaaaaaa'
);
console
.
log
(
aa
,
'aaaaaaaaaaaaa'
);
console
.
log
(
arr
);
console
.
log
(
newArr
);
setSelectGroup
(
newArr
);
...
...
@@ -628,7 +628,7 @@ const AddModal = props => {
<
Spin
tip=
"loading..."
spinning=
{
treeLoading
}
>
<
div
className=
{
styles
.
containerBox
}
>
<
div
className=
{
styles
.
config
}
>
<
div
className=
{
styles
.
title
}
>
页面属性
【
{
formObj
}
】
</
div
>
<
div
className=
{
styles
.
title
}
>
字段配置
【
{
formObj
}
】
</
div
>
<
div
style=
{
{
display
:
'flex'
,
justifyContent
:
'flex-end'
}
}
>
<
div
style=
{
{
lineHeight
:
'32px'
,
marginRight
:
'5px'
}
}
>
快速切换表:
</
div
>
<
div
style=
{
{
width
:
'350px'
,
marginRight
:
'10px'
}
}
>
...
...
This diff is collapsed.
Click to expand it.
src/pages/bsmanager/patrolMaintenance/maintenance/maintenance.jsx
View file @
ca917f95
/* eslint-disable no-else-return */
/* eslint-disable react-hooks/rules-of-hooks */
/* eslint-disable camelcase */
import
React
,
{
useState
,
useEffect
}
from
'react'
;
import
{
Space
,
Table
,
Popconfirm
,
Tooltip
,
Button
,
notification
}
from
'antd'
;
import
{
Space
,
Table
,
Popconfirm
,
Tooltip
,
Button
,
notification
,
Tag
}
from
'antd'
;
import
{
CM_XWBPlan_DataList
,
CM_XWBPlan_RemovePlan
,
...
...
@@ -73,7 +74,7 @@ const maintenance = () => {
align
:
'center'
,
},
{
title
:
'
台账名称
'
,
title
:
'
维保设备
'
,
dataIndex
:
'accountName'
,
key
:
'accountName'
,
width
:
200
,
...
...
@@ -114,34 +115,6 @@ const maintenance = () => {
</
Tooltip
>
),
},
{
title
:
'台账过滤条件'
,
dataIndex
:
'filterCondition'
,
key
:
'filterCondition'
,
width
:
150
,
onCell
:
()
=>
({
style
:
{
maxWidth
:
150
,
overflow
:
'hidden'
,
whiteSpace
:
'nowrap'
,
textOverflow
:
'ellipsis'
,
cursor
:
'pointer'
,
},
}),
align
:
'center'
,
render
:
record
=>
(
<
Tooltip
placement=
"topLeft"
title=
{
record
}
>
{
record
}
</
Tooltip
>
),
},
{
title
:
'是否送审'
,
dataIndex
:
'isSubmit'
,
key
:
'isSubmit'
,
width
:
80
,
align
:
'center'
,
},
{
title
:
'执行角色'
,
dataIndex
:
'doRole'
,
...
...
@@ -167,7 +140,7 @@ const maintenance = () => {
title
:
'预生成天数'
,
dataIndex
:
'produceDays'
,
key
:
'produceDays'
,
width
:
8
0
,
width
:
9
0
,
align
:
'center'
,
onCell
:
()
=>
({
style
:
{
...
...
@@ -183,7 +156,7 @@ const maintenance = () => {
title
:
'在线任务量'
,
dataIndex
:
'onLines'
,
key
:
'onLines'
,
width
:
8
0
,
width
:
9
0
,
align
:
'center'
,
onCell
:
()
=>
({
style
:
{
...
...
@@ -207,6 +180,41 @@ const maintenance = () => {
// width: 80,
// align: 'center',
// },
{
title
:
'是否送审'
,
dataIndex
:
'isSubmit'
,
key
:
'isSubmit'
,
width
:
80
,
align
:
'center'
,
render
:
record
=>
{
if
(
record
==
'是'
)
{
return
<
Tag
color=
"success"
>
{
record
}
</
Tag
>;
}
else
{
return
<
Tag
color=
"processing"
>
{
record
}
</
Tag
>;
}
},
},
{
title
:
'台账过滤条件'
,
dataIndex
:
'filterCondition'
,
key
:
'filterCondition'
,
width
:
150
,
onCell
:
()
=>
({
style
:
{
maxWidth
:
150
,
overflow
:
'hidden'
,
whiteSpace
:
'nowrap'
,
textOverflow
:
'ellipsis'
,
cursor
:
'pointer'
,
},
}),
align
:
'center'
,
render
:
record
=>
(
<
Tooltip
placement=
"topLeft"
title=
{
record
}
>
{
record
}
</
Tooltip
>
),
},
{
title
:
'操作'
,
ellipsis
:
true
,
...
...
This diff is collapsed.
Click to expand it.
src/pages/userCenter/roleManage/AddModal.jsx
View file @
ca917f95
...
...
@@ -50,6 +50,12 @@ const AddModal = props => {
});
setTypeList
(
list
);
console
.
log
(
list
);
}
else
{
notification
.
error
({
message
:
'提示'
,
duration
:
5
,
description
:
res
.
msg
,
});
}
console
.
log
(
res
,
'resss'
);
});
...
...
This diff is collapsed.
Click to expand it.
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