Commit d4f2ba33 authored by 涂伟's avatar 涂伟

fix: '运维流程配置节点信息界面子流程信息说明优化'

parent f4d0611a
......@@ -253,10 +253,15 @@ const ConfigNodeMsg = (props, ref) => {
>
{nodeMsg.NodeType === '20' || nodeMsg.NodeType === '21' || nodeMsg.NodeType === '22'
? '网关'
: '节点'}
: nodeMsg.NodeType === '30'
? `子流程`
: `节点`}
信息
</Divider>
<div className={styles.titleBox}>
<p style={{ display: form?.getFieldValue('NodeType') === '30' ? 'block' : 'none' }}>
子流程:在流程流转过程中可以创建一个新的流程并执行,子流程结束后返回父流程继续运行。
</p>
{/* 条件网关 */}
<p style={{ display: form?.getFieldValue('NodeType') === '20' ? 'block' : 'none' }}>
条件网关:客户端填写表单内容,根据设置的条件规则以及出口的目标节点,进行全规则匹配,确定最终流转节点。
......@@ -285,6 +290,8 @@ const ConfigNodeMsg = (props, ref) => {
label={`${
nodeMsg.NodeType === '20' || nodeMsg.NodeType === '21' || nodeMsg.NodeType === '22'
? '网关'
: nodeMsg.NodeType === '30'
? `流程`
: '节点'
}名称`}
name="NodeName"
......
......@@ -163,7 +163,7 @@ const ConfigSubprocess = (props, ref) => {
wrapperCol={{ span: 18 }}
onFieldsChange={changeValue}
>
<Form.Item label="选择子流程" name="flowKey">
<Form.Item label="流程选择" name="flowKey">
<Select
showSearch
optionFilterProp="children"
......@@ -183,6 +183,15 @@ const ConfigSubprocess = (props, ref) => {
<Form.List name="MapFields">
{(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 }) => (
<div
key={key}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment