|
|
@@ -43,7 +43,7 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
type: "6",
|
|
|
- value: "流转至",
|
|
|
+ value: "阻止创建分支",
|
|
|
isRow: false,
|
|
|
calssName: "route",
|
|
|
icon: "el-icon-s-operation"
|
|
|
@@ -57,12 +57,13 @@ export default {
|
|
|
},
|
|
|
getNexttBox(item) {
|
|
|
const nodeConfig = this.nodeConfig;
|
|
|
- if (item.value === "流转至") {
|
|
|
- this.nodeConfig.isFlowTo = true;
|
|
|
- }
|
|
|
- let { id, prevId, type, isRow, title } = Object.assign(nodeConfig, item);
|
|
|
+ let { id, prevId, type, isRow, title } = Object.assign(
|
|
|
+ {},
|
|
|
+ nodeConfig,
|
|
|
+ item
|
|
|
+ );
|
|
|
let nextNode = new NextNode({ id, prevId, type, isRow, title });
|
|
|
- this.$emit("clickSelectBox", nextNode);
|
|
|
+ this.$emit("clickSelectBox", nextNode, nodeConfig);
|
|
|
},
|
|
|
renderAddSBox() {
|
|
|
return (
|