Commit 0435fd15 authored by 涂伟's avatar 涂伟
parents de2342a7 a54d7a98
Pipeline #97082 failed with stages
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
"jszip": "^3.10.1", "jszip": "^3.10.1",
"lodash": "4.17.11", "lodash": "4.17.11",
"minimist": "1.2.0", "minimist": "1.2.0",
"panda-xform": "6.11.32", "panda-xform": "6.11.38",
"parseForm": "^2.3.8", "parseForm": "^2.3.8",
"prop-types": "15.7.2", "prop-types": "15.7.2",
"qrcode.react": "^3.1.0", "qrcode.react": "^3.1.0",
......
...@@ -962,15 +962,16 @@ const CaseModify = props => { ...@@ -962,15 +962,16 @@ const CaseModify = props => {
const handleSelectRuleType = (e, type) => { const handleSelectRuleType = (e, type) => {
const { checked } = e.target; const { checked } = e.target;
generatePostData({ triggerMethod: type }); generatePostData({ triggerMethod: type });
const cInfo = {
...configInfo,
flowId: null,
activityId: null,
}
if (type === '定时触发') { if (type === '定时触发') {
generatePostData({}); generatePostData({});
if (nodeNams.length > 0) { setConfigInfo({ ...cInfo, triggerType: type });
setConfigInfo({ ...configInfo, triggerType: type, activityId: nodeNams[0].value });
return;
}
setConfigInfo({ ...configInfo, triggerType: type });
} else { } else {
setConfigInfo({ ...configInfo, triggerType: type }); setConfigInfo({ ...cInfo, triggerType: type });
} }
}; };
......
...@@ -74,7 +74,9 @@ const NodeModal = props => { ...@@ -74,7 +74,9 @@ const NodeModal = props => {
confirm({ confirm({
title: '提示', title: '提示',
content: <>首节点未配置<span style={{ color: 'red' }}>处理站点</span>,确定继续吗?</>, content: <>首节点未配置<span style={{ color: 'red' }}>处理站点</span>,确定继续吗?</>,
onOk: onFinish onOk: onFinish,
okText: '确定',
cancelText: '取消',
}) })
} else { } else {
onFinish(); onFinish();
...@@ -331,7 +333,7 @@ const NodeModal = props => { ...@@ -331,7 +333,7 @@ const NodeModal = props => {
</div> </div>
</div> </div>
<div className={styles.footer}> <div className={styles.footer}>
<Button type="primary" onClick={onOk}> <Button type="primary" onClick={onFinish}>
确定 确定
</Button> </Button>
</div> </div>
......
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