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
a3da4a1b
Commit
a3da4a1b
authored
Jan 09, 2023
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '机构,站点树支持搜索'
parent
79275726
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
58 additions
and
19 deletions
+58
-19
changeAdd.jsx
...ges/bsmanager/base/tablemanager/filedConfig/changeAdd.jsx
+0
-0
index.jsx
src/pages/bsmanager/base/tablemanager/index.jsx
+3
-2
AddModal.jsx
...s/bsmanager/patrolMaintenance/patrolFeedback/AddModal.jsx
+1
-0
incident.jsx
src/pages/bsmanager/workOrder/incident/incident.jsx
+15
-11
flow.jsx
src/pages/bsmanager/workOrder/workFlow/flow.jsx
+19
-2
SiteManage.jsx
src/pages/userCenter/siteManage/SiteManage.jsx
+0
-0
SiteManage.less
src/pages/userCenter/siteManage/SiteManage.less
+3
-0
RelateRoleModal.jsx
src/pages/userCenter/userManage/RelateRoleModal.jsx
+1
-1
UserManage.jsx
src/pages/userCenter/userManage/UserManage.jsx
+0
-0
UserManage.less
src/pages/userCenter/userManage/UserManage.less
+13
-2
api.js
src/services/userManage/api.js
+3
-1
No files found.
src/pages/bsmanager/base/tablemanager/filedConfig/changeAdd.jsx
View file @
a3da4a1b
This diff is collapsed.
Click to expand it.
src/pages/bsmanager/base/tablemanager/index.jsx
View file @
a3da4a1b
...
...
@@ -19,6 +19,7 @@ import {
Menu
,
Modal
,
message
,
Tag
,
}
from
'antd'
;
import
{
EditOutlined
,
...
...
@@ -425,11 +426,11 @@ const TableManager = props => {
if
(
record
)
{
return
(
<
Tooltip
title=
{
record
}
>
<
span
style=
{
{
color
:
'#50aefc'
,
cursor
:
'pointer'
}
}
>
有
</
span
>
<
Tag
color=
"success"
>
有
</
Tag
>
</
Tooltip
>
);
}
return
<
span
>
无
</
span
>;
return
<
Tag
color=
"processing"
>
无
</
Tag
>;
},
},
{
...
...
src/pages/bsmanager/patrolMaintenance/patrolFeedback/AddModal.jsx
View file @
a3da4a1b
...
...
@@ -395,6 +395,7 @@ const AddModal = props => {
const
pickFiled
=
fileds
=>
{
if
(
form
.
getFieldsValue
().
tableName
)
{
let
pp
=
formateArrDataA
(
nu
,
'groupName'
);
console
.
log
(
pp
);
if
(
form
.
getFieldValue
(
fileds
))
{
let
ab
=
form
.
getFieldValue
(
fileds
).
split
(
','
);
let
arr
=
Object
.
keys
(
pp
);
...
...
src/pages/bsmanager/workOrder/incident/incident.jsx
View file @
a3da4a1b
...
...
@@ -23,6 +23,7 @@ import {
Modal
,
Input
,
message
,
Tag
,
}
from
'antd'
;
import
{
...
...
@@ -165,17 +166,20 @@ const incident = () => {
// width: 80,
// },
{
title
:
'编辑'
,
dataIndex
:
'editable'
,
key
:
'editable'
,
width
:
50
,
render
:
item
=>
(
<
span
style=
{
{
color
:
'grey'
}
}
key=
{
item
}
>
{
item
}
</
span
>
),
},
// {
// title: '编辑',
// dataIndex: 'editable',
// key: 'editable',
// width: 50,
// align: 'center',
// render: record => {
// if (record == '是') {
// return <Tag color="success">{record}</Tag>;
// } else {
// return <Tag color="processing">{record}</Tag>;
// }
// },
// },
{
title
:
'编辑字段'
,
dataIndex
:
'editableFields'
,
...
...
src/pages/bsmanager/workOrder/workFlow/flow.jsx
View file @
a3da4a1b
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
{
useHistory
}
from
'react-router-dom'
;
import
{
reloadFlows
,
removeFlowExtend
}
from
'@/services/flow/flow'
;
import
{
Card
,
Space
,
Table
,
Popconfirm
,
Spin
,
Tooltip
,
notification
,
message
,
Button
}
from
'antd'
;
import
{
Tag
,
Card
,
Space
,
Table
,
Popconfirm
,
Spin
,
Tooltip
,
notification
,
message
,
Button
}
from
'antd'
;
import
{
DoubleLeftOutlined
,
DoubleRightOutlined
,
...
...
@@ -158,6 +158,13 @@ const Flow = () => {
dataIndex
:
'useFixedCodingRule'
,
width
:
80
,
align
:
'center'
,
render
:
record
=>
{
if
(
record
==
'是'
)
{
return
<
Tag
color=
"success"
>
{
record
}
</
Tag
>;
}
else
{
return
<
Tag
color=
"processing"
>
{
record
}
</
Tag
>;
}
},
},
{
title
:
'异常节点'
,
...
...
@@ -169,7 +176,17 @@ const Flow = () => {
title
:
'接口配置'
,
dataIndex
:
'interfaceConfig'
,
align
:
'center'
,
render
:
text
=>
<
span
style=
{
{
color
:
text
===
'(无)'
?
'grey'
:
'000000D9'
}
}
>
{
text
}
</
span
>,
// render: text => <span style={{ color: text === '(无)' ? 'grey' : '000000D9' }}>{text}</span>,
render
:
record
=>
{
if
(
record
!=
'(无)'
)
{
return
(
<
Tooltip
title=
{
record
}
>
<
Tag
color=
"success"
>
有
</
Tag
>
</
Tooltip
>
);
}
return
<
Tag
color=
"processing"
>
无
</
Tag
>;
},
},
{
title
:
'操作'
,
...
...
src/pages/userCenter/siteManage/SiteManage.jsx
View file @
a3da4a1b
This diff is collapsed.
Click to expand it.
src/pages/userCenter/siteManage/SiteManage.less
View file @
a3da4a1b
...
...
@@ -378,3 +378,6 @@
white-space: nowrap;
text-overflow: ellipsis;
}
.titleSearch {
color: #f50;
}
src/pages/userCenter/userManage/RelateRoleModal.jsx
View file @
a3da4a1b
...
...
@@ -54,7 +54,7 @@ const RelateRoleModal = props => {
const
submitRole
=
()
=>
{
console
.
log
(
1212121212
);
SetUserRelationList
(
currentUser
.
userI
D
,
currentUser
.
userI
d
,
Object
.
keys
(
roleValueList
)
.
map
(
k
=>
roleValueList
[
k
])
.
flat
(),
...
...
src/pages/userCenter/userManage/UserManage.jsx
View file @
a3da4a1b
This diff is collapsed.
Click to expand it.
src/pages/userCenter/userManage/UserManage.less
View file @
a3da4a1b
...
...
@@ -264,11 +264,11 @@
overflow: hidden;
.ant-table-wrapper {
height: calc(100% -
5
0px);
height: calc(100% -
10
0px);
}
.ant-table {
height: calc(100% -
5
0px)
height: calc(100% -
10
0px)
}
.title {
...
...
@@ -405,3 +405,13 @@
// overflow-y: scroll;
// height: calc(100vh - 150px);
// }
.titleTop {
width: 20rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding-left: 10px;
}
.titleSearch {
color: #f50;
}
\ No newline at end of file
src/services/userManage/api.js
View file @
a3da4a1b
...
...
@@ -15,9 +15,11 @@ export const getUserTree = (selectOU, node) =>
// OUID,
// });
export
const
getOneOUUserListNew
=
OUID
=>
export
const
getOneOUUserListNew
=
(
OUID
,
size
,
index
)
=>
get
(
`
${
PUBLISH_SERVICE
}
/UserCenter/GroupUserList`
,
{
groupId
:
OUID
,
pageSize
:
size
,
pageIndex
:
index
,
});
/**
...
...
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