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
fca99143
Commit
fca99143
authored
Dec 06, 2024
by
涂伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '网管高级配置GIS回填显示逻辑优化'
parent
8b2fc1c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
12 deletions
+13
-12
index.js
...FlowComponents/flowChartComponents/ConfigAccount/index.js
+1
-1
NodeModal.jsx
...Edit/workFlowComponents/flowChartComponents/NodeModal.jsx
+12
-11
No files found.
src/pages/bsmanager/workOrder/workflowEdit/workFlowComponents/flowChartComponents/ConfigAccount/index.js
View file @
fca99143
...
...
@@ -62,7 +62,7 @@ const ConfigAccount = (props, ref) => {
});
});
res
.
data
.
AreaTaskFormData
.
map
(
i
=>
{
i
.
type
=
'
区域
任务'
;
i
.
type
=
'
工单
任务'
;
i
.
TableFields
.
map
(
j
=>
{
j
.
table
=
i
.
TableName
;
j
.
type
=
'areaTaskFormMapping'
;
...
...
src/pages/bsmanager/workOrder/workflowEdit/workFlowComponents/flowChartComponents/NodeModal.jsx
View file @
fca99143
...
...
@@ -48,9 +48,9 @@ const NodeModal = props => {
let
needConfigField
=
useRef
(
false
);
//首节点验证是否配置了处理站点
useEffect
(()
=>
{
setActiveConfig
(
'常用配置'
);
if
(
editMsg
.
NodeType
==
1
)
{
if
(
editMsg
.
NodeType
==
1
)
{
getVaildField
();
}
else
{
}
else
{
needConfigField
.
current
=
false
;
}
},
[
editMsg
]);
...
...
@@ -70,13 +70,13 @@ const NodeModal = props => {
const
onOk
=
()
=>
{
//首节点检查有无配置处【处理站点】
if
(
needConfigField
.
current
&&
!
editMsg
.
Fields
?.
split
(
','
)?.
includes
(
'处理站点'
))
{
confirm
({
title
:
'提示'
,
content
:
<>
首节点未配置
<
span
style=
{
{
color
:
'red'
}
}
>
处理站点
</
span
>
,确定继续吗?
</>,
onOk
:
onFinish
})
}
else
{
if
(
needConfigField
.
current
&&
!
editMsg
.
Fields
?.
split
(
','
)?.
includes
(
'处理站点'
))
{
confirm
({
title
:
'提示'
,
content
:
<>
首节点未配置
<
span
style=
{
{
color
:
'red'
}
}
>
处理站点
</
span
>
,确定继续吗?
</>,
onOk
:
onFinish
})
}
else
{
onFinish
();
}
}
...
...
@@ -97,7 +97,7 @@ const NodeModal = props => {
...
refConfigAccount
.
current
?.
getParmar
(),
...
refConfigTimeLimit
.
current
?.
getParmar
(),
};
// 开始中间结束节点才校验表名编辑字段
const
arr
=
[
'0'
,
'1'
,
'2'
];
...
...
@@ -227,7 +227,8 @@ const NodeModal = props => {
{
/* GIS配置 */
}
<
div
style=
{
{
display
:
editMsg
.
NodeType
===
'2'
?
'block'
:
'none'
,
// display: editMsg.NodeType === '2' ? 'block' : 'none',
display
:
editMsg
.
NodeType
*
1
<
20
?
'block'
:
'none'
,
}
}
>
<
ConfigGIS
...
...
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