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
6de1043a
Commit
6de1043a
authored
Jan 04, 2022
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
事件外部字段显示
parent
b7d995e0
Pipeline
#41848
skipped with stages
Changes
5
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
4 deletions
+11
-4
AddModal.jsx
src/pages/platformCenter/bsmanager/maintenance/AddModal.jsx
+0
-0
ChangeAdd.jsx
src/pages/platformCenter/bsmanager/maintenance/ChangeAdd.jsx
+0
-0
AddModal.jsx
src/pages/platformCenter/bsmanager/workOrder/AddModal.jsx
+0
-0
changeAdd.jsx
src/pages/platformCenter/bsmanager/workOrder/changeAdd.jsx
+0
-4
changeEdit.jsx
src/pages/platformCenter/bsmanager/workOrder/changeEdit.jsx
+11
-0
No files found.
src/pages/platformCenter/bsmanager/maintenance/AddModal.jsx
View file @
6de1043a
This diff is collapsed.
Click to expand it.
src/pages/platformCenter/bsmanager/maintenance/ChangeAdd.jsx
View file @
6de1043a
This diff is collapsed.
Click to expand it.
src/pages/platformCenter/bsmanager/workOrder/AddModal.jsx
View file @
6de1043a
This diff is collapsed.
Click to expand it.
src/pages/platformCenter/bsmanager/workOrder/changeAdd.jsx
View file @
6de1043a
...
...
@@ -251,7 +251,6 @@ const ChangeAdd = props => {
},
[
filed1
]);
const
formateArrDataA1
=
(
initialArr
,
name
)
=>
{
console
.
log
(
initialArr
);
let
aa
=
[];
let
a1
=
[];
let
a2
;
...
...
@@ -269,7 +268,6 @@ const ChangeAdd = props => {
a3
.
push
(
o
);
});
});
console
.
log
(
a3
);
// 判定传参是否符合规则
if
(
!
(
a3
instanceof
Array
))
{
...
...
@@ -285,7 +283,6 @@ const ChangeAdd = props => {
nameArr
.
push
(
i
.
group
);
}
});
console
.
log
(
nameArr
);
// 新建一个包含多个list的结果对象
let
tempObj
=
{};
// 根据不同的"name"生成多个数组
...
...
@@ -298,7 +295,6 @@ const ChangeAdd = props => {
}
}
}
console
.
log
(
tempObj
);
for
(
let
key
in
tempObj
)
{
let
arr
=
[];
tempObj
[
key
].
map
(
item
=>
{
...
...
src/pages/platformCenter/bsmanager/workOrder/changeEdit.jsx
View file @
6de1043a
...
...
@@ -104,7 +104,18 @@ const EditModal = props => {
}
});
let
newArr
=
selectData
.
map
(
item
=>
item
.
name
);
console
.
log
(
newArr
);
console
.
log
(
filed
.
外部字段
);
let
valueArr
=
[];
if
(
filed
.
外部字段
)
{
newArr
.
forEach
(
item
=>
{
if
(
filed
.
外部字段
.
indexOf
(
item
)
!=
-
1
)
{
valueArr
.
push
(
item
);
}
});
}
callBackSubmit
({
valueArr
,
checkedList
,
str
:
aRR
.
join
(
','
),
pickItem
,
...
...
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