sasp-flow-render 1.0.15 → 1.0.17
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/package.json
CHANGED
|
@@ -728,11 +728,15 @@
|
|
|
728
728
|
type: 'warning'
|
|
729
729
|
}).then(() => {
|
|
730
730
|
let flowInstIds = "";
|
|
731
|
+
let dataIds = "";
|
|
731
732
|
selection.forEach(row => {
|
|
732
733
|
flowInstIds += "," + row.id;
|
|
734
|
+
dataIds += "," + row.dataId;
|
|
733
735
|
});
|
|
734
736
|
this.axios.post(this.api.plFlowInst.deleteFlowInst, {
|
|
735
|
-
flowInstIds: flowInstIds.substring(1)
|
|
737
|
+
flowInstIds: flowInstIds.substring(1),
|
|
738
|
+
flowId: this.flowDefine.id,
|
|
739
|
+
dataIds: dataIds.substring(1)
|
|
736
740
|
}).then(res => {
|
|
737
741
|
if (res && res.data && res.data.operateSuccess) {
|
|
738
742
|
this.$message({type: "success", message: "删除成功!"});
|
|
@@ -2446,8 +2446,8 @@
|
|
|
2446
2446
|
executeTypeArr.forEach(executeType =>{
|
|
2447
2447
|
if (item.source == 'diy'){
|
|
2448
2448
|
//自定义
|
|
2449
|
-
//
|
|
2450
|
-
if(executeType == "addAfter"
|
|
2449
|
+
// 添加是单独区分开,没有节点概念
|
|
2450
|
+
if(executeType == "addAfter"){
|
|
2451
2451
|
if(!scriptObj[executeType]){
|
|
2452
2452
|
scriptObj[executeType] = [];
|
|
2453
2453
|
}
|
|
@@ -2500,8 +2500,8 @@
|
|
|
2500
2500
|
this.newScriptObj = scriptObj;
|
|
2501
2501
|
}else if(item.source == 'event'){ //事件规则
|
|
2502
2502
|
//获取响应配置
|
|
2503
|
-
//
|
|
2504
|
-
if(executeType == "addAfter"
|
|
2503
|
+
// 添加单独区分开,没有节点概念
|
|
2504
|
+
if(executeType == "addAfter"){
|
|
2505
2505
|
if(!eventObj[executeType]){
|
|
2506
2506
|
eventObj[executeType] = {};
|
|
2507
2507
|
}
|