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
72b2135a
Commit
72b2135a
authored
Dec 04, 2024
by
涂伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '运维通用事件配置事件选择逻辑优化'
parent
74b673d6
Pipeline
#94356
passed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
index.js
src/pages/bsmanager/workOrder/incident/AddModal/index.js
+2
-2
incident.jsx
src/pages/bsmanager/workOrder/incident/incident.jsx
+5
-1
No files found.
src/pages/bsmanager/workOrder/incident/AddModal/index.js
View file @
72b2135a
...
...
@@ -1842,7 +1842,7 @@ const AddModal = (props) => {
<
Row
>
<
Col
span
=
{
24
}
>
<
Item
label
=
"
通用
事件"
label
=
"
关联
事件"
name
=
"usualEvent"
// style={{ height: '112px' }}
labelCol
=
{{
span
:
5
}}
...
...
@@ -1856,7 +1856,7 @@ const AddModal = (props) => {
style
=
{{
display
:
'flex'
,
alignItems
:
'center'
}}
icon
=
{
<
PlusOutlined
/>
}
>
新增
通用
事件
新增
关联
事件
<
/Button
>
<
Table
dataSource
=
{
tableData
.
current
}
...
...
src/pages/bsmanager/workOrder/incident/incident.jsx
View file @
72b2135a
...
...
@@ -87,6 +87,7 @@ const incident = () => {
const
[
pickItem
,
setPickItem
]
=
useState
(
''
);
const
[
hoverItemIndex
,
setHoverItemIndex
]
=
useState
(
0
);
// hover流程索引
const
[
keepIdValue
,
setKeepIdValue
]
=
useState
([]);
const
[
businessType
,
setBusinessType
]
=
useState
([]);
const
[
editBusinessVisible
,
setEditBusinessVisible
]
=
useState
(
false
);
const
[
searchValue
,
setSearchValue
]
=
useState
(
''
);
const
[
showSearchStyle
,
setShowSearchStyle
]
=
useState
(
false
);
// 是否显示模糊查询样式
...
...
@@ -261,6 +262,9 @@ const incident = () => {
}).
then
(
res
=>
{
setTreeLoading
(
false
);
if
(
res
.
code
===
0
)
{
if
(
!
searchValue
)
{
setBusinessType
(
res
.
data
)
}
setKeepIdValue
(
res
.
data
);
let
arr
=
formateArrDataA
(
res
.
data
,
'businessType'
);
let
newArr
=
[];
...
...
@@ -707,7 +711,7 @@ const incident = () => {
selectData={select}
callBackSubmit={onSubmit}
placement="right"
businessArr={
keepIdValu
e.filter(item => item.businessType === '
通用事件
')}
businessArr={
businessTyp
e.filter(item => item.businessType === '
通用事件
')}
/>
<SortModal
title="调整顺序"
...
...
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