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
da8b91f4
Commit
da8b91f4
authored
Aug 18, 2022
by
邓超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://g.civnet.cn:8443/ReactWeb5/maintenance
parents
e84e809a
ca917f95
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
53 additions
and
34 deletions
+53
-34
filedConfig.jsx
...s/bsmanager/base/tablemanager/filedConfig/filedConfig.jsx
+2
-2
maintenance.jsx
...s/bsmanager/patrolMaintenance/maintenance/maintenance.jsx
+40
-32
ProxyConfig.jsx
...es/platformCenter/hostmanager/proxyConfig/ProxyConfig.jsx
+5
-0
AddModal.jsx
src/pages/userCenter/roleManage/AddModal.jsx
+6
-0
No files found.
src/pages/bsmanager/base/tablemanager/filedConfig/filedConfig.jsx
View file @
da8b91f4
...
...
@@ -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'
}
}
>
...
...
src/pages/bsmanager/patrolMaintenance/maintenance/maintenance.jsx
View file @
da8b91f4
/* 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
,
...
...
src/pages/platformCenter/hostmanager/proxyConfig/ProxyConfig.jsx
View file @
da8b91f4
...
...
@@ -146,6 +146,11 @@ const ProxyConfig = () => {
// });
GetNginxConfigInfo
().
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
form
.
setFieldsValue
({
NginxPort
:
res
.
data
.
NginxPort
,
IISIPProt
:
res
.
data
.
IISIPProt
,
EMQIPPort
:
res
.
data
.
EMQIPPort
,
});
setCurrentConfig
({
NginxPort
:
res
.
data
.
NginxPort
,
IISIPProt
:
res
.
data
.
IISIPProt
,
...
...
src/pages/userCenter/roleManage/AddModal.jsx
View file @
da8b91f4
...
...
@@ -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'
);
});
...
...
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