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
d4f2ba33
Commit
d4f2ba33
authored
Mar 14, 2023
by
涂伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '运维流程配置节点信息界面子流程信息说明优化'
parent
f4d0611a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
ConfigNodeMsg.jsx
...flowChartComponents/nodeModalComponents/ConfigNodeMsg.jsx
+8
-1
ConfigSubprocess.jsx
...wChartComponents/nodeModalComponents/ConfigSubprocess.jsx
+10
-1
No files found.
src/pages/bsmanager/workOrder/workflowEdit/workFlowComponents/flowChartComponents/nodeModalComponents/ConfigNodeMsg.jsx
View file @
d4f2ba33
...
@@ -253,10 +253,15 @@ const ConfigNodeMsg = (props, ref) => {
...
@@ -253,10 +253,15 @@ const ConfigNodeMsg = (props, ref) => {
>
>
{
nodeMsg
.
NodeType
===
'20'
||
nodeMsg
.
NodeType
===
'21'
||
nodeMsg
.
NodeType
===
'22'
{
nodeMsg
.
NodeType
===
'20'
||
nodeMsg
.
NodeType
===
'21'
||
nodeMsg
.
NodeType
===
'22'
?
'网关'
?
'网关'
:
'节点'
}
:
nodeMsg
.
NodeType
===
'30'
?
`子流程`
:
`节点`
}
信息
信息
</
Divider
>
</
Divider
>
<
div
className=
{
styles
.
titleBox
}
>
<
div
className=
{
styles
.
titleBox
}
>
<
p
style=
{
{
display
:
form
?.
getFieldValue
(
'NodeType'
)
===
'30'
?
'block'
:
'none'
}
}
>
子流程:在流程流转过程中可以创建一个新的流程并执行,子流程结束后返回父流程继续运行。
</
p
>
{
/* 条件网关 */
}
{
/* 条件网关 */
}
<
p
style=
{
{
display
:
form
?.
getFieldValue
(
'NodeType'
)
===
'20'
?
'block'
:
'none'
}
}
>
<
p
style=
{
{
display
:
form
?.
getFieldValue
(
'NodeType'
)
===
'20'
?
'block'
:
'none'
}
}
>
条件网关:客户端填写表单内容,根据设置的条件规则以及出口的目标节点,进行全规则匹配,确定最终流转节点。
条件网关:客户端填写表单内容,根据设置的条件规则以及出口的目标节点,进行全规则匹配,确定最终流转节点。
...
@@ -285,6 +290,8 @@ const ConfigNodeMsg = (props, ref) => {
...
@@ -285,6 +290,8 @@ const ConfigNodeMsg = (props, ref) => {
label=
{
`${
label=
{
`${
nodeMsg.NodeType === '20' || nodeMsg.NodeType === '21' || nodeMsg.NodeType === '22'
nodeMsg.NodeType === '20' || nodeMsg.NodeType === '21' || nodeMsg.NodeType === '22'
? '网关'
? '网关'
: nodeMsg.NodeType === '30'
? `
流程
`
: '节点'
: '节点'
}名称`
}
}名称`
}
name=
"NodeName"
name=
"NodeName"
...
...
src/pages/bsmanager/workOrder/workflowEdit/workFlowComponents/flowChartComponents/nodeModalComponents/ConfigSubprocess.jsx
View file @
d4f2ba33
...
@@ -163,7 +163,7 @@ const ConfigSubprocess = (props, ref) => {
...
@@ -163,7 +163,7 @@ const ConfigSubprocess = (props, ref) => {
wrapperCol={{ span: 18 }}
wrapperCol={{ span: 18 }}
onFieldsChange={changeValue}
onFieldsChange={changeValue}
>
>
<Form.Item label="
选择子流程
" name="flowKey">
<Form.Item label="
流程选择
" name="flowKey">
<Select
<Select
showSearch
showSearch
optionFilterProp="children"
optionFilterProp="children"
...
@@ -183,6 +183,15 @@ const ConfigSubprocess = (props, ref) => {
...
@@ -183,6 +183,15 @@ const ConfigSubprocess = (props, ref) => {
<Form.List name="MapFields">
<Form.List name="MapFields">
{(fields, { add, remove }) => (
{(fields, { add, remove }) => (
<>
<>
<div style={{marginBottom: '20px'}}>
<span style={{ fontSize: '12px', color: '#bfbcbc' }}>
当选择子流程后,可配置字段映射规则
</span>
<br />
<span style={{ fontSize: '12px', color: '#bfbcbc' }}>
配置后,子流程发起的工单,可以传递父流程的工单数据
</span>
</div>
{fields.map(({ key, name, ...restField }) => (
{fields.map(({ key, name, ...restField }) => (
<div
<div
key={key}
key={key}
...
...
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