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
ad0682c0
Commit
ad0682c0
authored
May 17, 2023
by
涂伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '1.运维台账配置新增排序功能2.服务监控功能隐藏'
parent
f7b40587
Pipeline
#72534
waiting for manual action with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
10 deletions
+23
-10
BookConfigNew.jsx
src/pages/bsmanager/base/standingBook/BookConfigNew.jsx
+18
-5
config.js
src/routes/config.js
+5
-5
No files found.
src/pages/bsmanager/base/standingBook/BookConfigNew.jsx
View file @
ad0682c0
...
...
@@ -283,6 +283,7 @@ const BookConfigNew = props => {
setIsVisible
(
false
);
let
obj
=
{};
obj
[
prop
.
pickItem
]
=
prop
.
str
;
let
allArr
=
prop
.
str
.
split
(
','
);
let
showArr
=
prop
.
str
.
split
(
','
);
let
editArr
=
tableRef
.
current
.
onFinish
().
map
(
item
=>
{
return
item
.
FieldName
;
...
...
@@ -290,13 +291,25 @@ const BookConfigNew = props => {
showArr
=
showArr
.
filter
(
item
=>
{
return
!
editArr
.
includes
(
item
);
});
let
tableArr
=
tableRef
.
current
.
onFinish
().
concat
(
allData
.
filter
(
item
=>
{
return
showArr
.
includes
(
item
.
FieldName
);
}),
);
let
arr
=
[];
allArr
.
map
(
item
=>
{
tableArr
.
map
(
ele
=>
{
if
(
item
===
ele
.
FieldName
)
{
arr
.
push
(
ele
);
}
});
});
tableRef
.
current
.
setTableData
(
false
,
tableRef
.
current
.
onFinish
().
concat
(
allData
.
filter
(
item
=>
{
return
showArr
.
includes
(
item
.
FieldName
);
}),
),
// tableArr.filter(item => {
// return allArr.includes(item.FieldName);
// }),
arr
,
);
form
.
setFieldsValue
(
obj
);
saveOutFieldsLength
(
prop
.
pickItem
,
allFileds
);
...
...
src/routes/config.js
View file @
ad0682c0
...
...
@@ -514,11 +514,11 @@ export default {
name
:
'系统日志'
,
icon
:
<
FileTextOutlined
style
=
{
iconStyle
}
/>
,
routes
:
[
{
path
:
'/system/apiService'
,
name
:
'服务监控'
,
component
:
ServiceLog
,
},
//
{
//
path: '/system/apiService',
//
name: '服务监控',
//
component: ServiceLog,
//
},
{
path
:
'/system/loginLog'
,
name
:
'登录日志'
,
...
...
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