@hzab/flowlong-designer 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -88,7 +88,7 @@ export const Branch = (props) => {
|
|
|
88
88
|
|
|
89
89
|
nodeConfig.conditionNodes.forEach((el, index) => {
|
|
90
90
|
el.priorityLevel = index;
|
|
91
|
-
el.nodeName = el.nodeName ? el.nodeName : "条件" + index;
|
|
91
|
+
el.nodeName = el.nodeName ? el.nodeName : "条件" + (index + 1);
|
|
92
92
|
});
|
|
93
93
|
onChange && onChange({ ...nodeConfig });
|
|
94
94
|
}
|
|
@@ -135,7 +135,6 @@ export const Branch = (props) => {
|
|
|
135
135
|
onChange({ ...nodeConfig });
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
console.log(nodeConfig, "nodeConfignodeConfig");
|
|
139
138
|
|
|
140
139
|
function toText(nodeConfig, idx) {
|
|
141
140
|
var { conditionList } = nodeConfig.conditionNodes[idx];
|
|
@@ -137,13 +137,18 @@ export const Promoter = (props) => {
|
|
|
137
137
|
<Button
|
|
138
138
|
type="primary"
|
|
139
139
|
onClick={() =>
|
|
140
|
-
selectorCtx.setSelectHandler(
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
140
|
+
selectorCtx.setSelectHandler(
|
|
141
|
+
2,
|
|
142
|
+
form.nodeAssigneeList,
|
|
143
|
+
(selected) => {
|
|
144
|
+
setForm((f) => {
|
|
145
|
+
// 设置 人员、角色 列表数组
|
|
146
|
+
f.nodeAssigneeList = selected;
|
|
147
|
+
return { ...f };
|
|
148
|
+
});
|
|
149
|
+
},
|
|
150
|
+
1,
|
|
151
|
+
)
|
|
147
152
|
}
|
|
148
153
|
>
|
|
149
154
|
选择人员
|
|
@@ -155,7 +160,8 @@ export const Promoter = (props) => {
|
|
|
155
160
|
key={idx}
|
|
156
161
|
className="node-assignee-item"
|
|
157
162
|
closable
|
|
158
|
-
onClose={() => {
|
|
163
|
+
onClose={(e) => {
|
|
164
|
+
e.preventDefault();
|
|
159
165
|
onRoleDel(idx);
|
|
160
166
|
}}
|
|
161
167
|
>
|