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
c1d48991
Commit
c1d48991
authored
Dec 24, 2021
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复事件弹框问题
parent
4afb95ea
Pipeline
#41263
skipped with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
ChangeAddFlows.jsx
...ges/platformCenter/bsmanager/workOrder/ChangeAddFlows.jsx
+2
-2
changeAdd.jsx
src/pages/platformCenter/bsmanager/workOrder/changeAdd.jsx
+7
-2
No files found.
src/pages/platformCenter/bsmanager/workOrder/ChangeAddFlows.jsx
View file @
c1d48991
...
...
@@ -527,7 +527,7 @@ const ChangeAddFlows = props => {
<
CheckboxGroup
options=
{
roleValue
[
'部门'
]
}
value=
{
checkedList
[
1
]
}
onChange=
{
onChangeListNew
}
onChange=
{
onChangeListNew
1
}
/>
)
:
(
<
Empty
...
...
@@ -543,7 +543,7 @@ const ChangeAddFlows = props => {
<
CheckboxGroup
options=
{
roleValue
[
'站点'
]
}
value=
{
checkedList
[
2
]
}
onChange=
{
onChangeListNew
}
onChange=
{
onChangeListNew
2
}
/>
)
:
(
<
Empty
...
...
src/pages/platformCenter/bsmanager/workOrder/changeAdd.jsx
View file @
c1d48991
...
...
@@ -229,6 +229,7 @@ const ChangeAdd = props => {
};
const
getRoles
=
(
type
,
keywords
,
pageSizes
,
pageIndex
)
=>
{
console
.
log
(
type
);
CM_Event_LoadDepartmentAndRoles
({
type
,
keywords
,
...
...
@@ -237,6 +238,7 @@ const ChangeAdd = props => {
}).
then
(
res
=>
{
if
(
res
.
msg
===
'Ok'
)
{
setTotal
(
res
.
data
.
count
);
console
.
log
(
formateArrDataA1
(
res
.
data
,
'groupType'
));
setRoleValue
(
formateArrDataA1
(
res
.
data
,
'groupType'
));
setFiled1
(
formateArrDataA1
(
res
.
data
,
'groupType'
));
if
(
res
.
data
.
count
==
0
)
{
...
...
@@ -359,6 +361,7 @@ const ChangeAdd = props => {
setIsCheck
(
1
);
let
data
=
checkDataRole
;
let
DataValue
=
[];
console
.
log
(
roleValue
);
checkDataRole
.
forEach
(
item
=>
{
if
(
roleValue
[
'角色'
].
indexOf
(
item
)
!=
-
1
)
{
DataValue
.
push
(
item
);
...
...
@@ -392,6 +395,7 @@ const ChangeAdd = props => {
setIsCheck1
(
1
);
let
data
=
checkDataPm
;
let
DataValue
=
[];
console
.
log
(
roleValue
);
checkDataPm
.
forEach
(
item
=>
{
if
(
roleValue
[
'部门'
].
indexOf
(
item
)
!=
-
1
)
{
DataValue
.
push
(
item
);
...
...
@@ -425,6 +429,7 @@ const ChangeAdd = props => {
setIsCheck
(
1
);
let
data
=
checkDataSite
;
let
DataValue
=
[];
console
.
log
(
roleValue
);
checkDataSite
.
forEach
(
item
=>
{
if
(
roleValue
[
'站点'
].
indexOf
(
item
)
!=
-
1
)
{
DataValue
.
push
(
item
);
...
...
@@ -546,7 +551,7 @@ const ChangeAdd = props => {
<
CheckboxGroup
options=
{
roleValue
[
'部门'
]
}
value=
{
checkedList
[
1
]
}
onChange=
{
onChangeListNew
}
onChange=
{
onChangeListNew
1
}
/>
)
:
(
<
Empty
...
...
@@ -562,7 +567,7 @@ const ChangeAdd = props => {
<
CheckboxGroup
options=
{
roleValue
[
'站点'
]
}
value=
{
checkedList
[
2
]
}
onChange=
{
onChangeListNew
}
onChange=
{
onChangeListNew
2
}
/>
)
:
(
<
Empty
...
...
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