sasp-flow-render 1.0.16 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sasp-flow-render",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "业务应用支撑平台-智慧流程渲染组件",
5
5
  "scripts": {
6
6
  "build": "vue-cli-service build"
@@ -728,12 +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
737
  flowInstIds: flowInstIds.substring(1),
736
738
  flowId: this.flowDefine.id,
739
+ dataIds: dataIds.substring(1)
737
740
  }).then(res => {
738
741
  if (res && res.data && res.data.operateSuccess) {
739
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" || executeType == "editAfter"){
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" || executeType == "editAfter"){
2503
+ // 添加单独区分开,没有节点概念
2504
+ if(executeType == "addAfter"){
2505
2505
  if(!eventObj[executeType]){
2506
2506
  eventObj[executeType] = {};
2507
2507
  }