Commit a54d7a98 authored by 彭俊龙's avatar 彭俊龙

自动化工单方案优化

parent d4a06615
Pipeline #97030 failed with stages
......@@ -962,15 +962,16 @@ const CaseModify = props => {
const handleSelectRuleType = (e, type) => {
const { checked } = e.target;
generatePostData({ triggerMethod: type });
const cInfo = {
...configInfo,
flowId: null,
activityId: null,
}
if (type === '定时触发') {
generatePostData({});
if (nodeNams.length > 0) {
setConfigInfo({ ...configInfo, triggerType: type, activityId: nodeNams[0].value });
return;
}
setConfigInfo({ ...configInfo, triggerType: type });
setConfigInfo({ ...cInfo, triggerType: type });
} else {
setConfigInfo({ ...configInfo, triggerType: type });
setConfigInfo({ ...cInfo, triggerType: type });
}
};
......
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