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
5fd356a5
Commit
5fd356a5
authored
2 years ago
by
涂伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '网关配置参数添加flowId'
parent
eb526406
Pipeline
#70663
passed with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
index.jsx
src/components/RuleConfig/index.jsx
+2
-2
ConfgGateway.jsx
.../flowChartComponents/nodeModalComponents/ConfgGateway.jsx
+1
-0
No files found.
src/components/RuleConfig/index.jsx
View file @
5fd356a5
...
...
@@ -9,7 +9,7 @@ const fnList = [
{
label
:
'是否为工作时间'
,
value
:
'$fn.isWorkTime()'
},
];
const
RuleConfig
=
props
=>
{
const
{
visible
,
handleCancel
,
fieldList
,
onSubumit
,
RuleContent
,
flag
}
=
props
;
const
{
visible
,
handleCancel
,
fieldList
,
onSubumit
,
RuleContent
,
flag
,
flowID
}
=
props
;
const
[
rule
,
setRule
]
=
useState
([]);
const
[
expandedKey
,
setExpandedKey
]
=
useState
(
''
);
// 默认展开项
const
[
currentSelectId
,
setCurrentSelectId
]
=
useState
(
''
);
// 选中得节点
...
...
@@ -37,7 +37,7 @@ const RuleConfig = props => {
},
[
visible
]);
// 保存线配置
const
onSave
=
()
=>
{
RuleValidation
({
ruleContent
:
rule
}).
then
(
res
=>
{
RuleValidation
({
ruleContent
:
rule
,
flowId
:
flowID
}).
then
(
res
=>
{
if
(
res
.
data
)
{
onSubumit
(
rule
);
}
else
{
...
...
This diff is collapsed.
Click to expand it.
src/pages/bsmanager/workOrder/workflowEdit/workFlowComponents/flowChartComponents/nodeModalComponents/ConfgGateway.jsx
View file @
5fd356a5
...
...
@@ -346,6 +346,7 @@ const Confggateway = (props, ref) => {
handleCancel=
{
()
=>
setShowRule
(
false
)
}
onSubumit=
{
e
=>
saveRule
(
e
)
}
flag=
{
1
}
flowID=
{
flowID
}
/>
</
div
>
);
...
...
This diff is collapsed.
Click to expand it.
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