sasp-flow-render 1.1.6 → 1.1.7
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
|
@@ -1156,6 +1156,11 @@
|
|
|
1156
1156
|
openUpdateFlowForm(row,executePosition) {
|
|
1157
1157
|
this.currentRowData = row;
|
|
1158
1158
|
this.currNodeName = 'noEnd';
|
|
1159
|
+
let currentNodeObj1 = this.flowNodeIdToInfo[row.currentNode] ||{};
|
|
1160
|
+
let result = this.exeNewFlowEvent("editBefore",currentNodeObj1.nodeLinkId ||'');//新事件规则
|
|
1161
|
+
if(result === false && typeof result == "boolean"){
|
|
1162
|
+
return;
|
|
1163
|
+
}
|
|
1159
1164
|
this.flowInstDataDialog = true;
|
|
1160
1165
|
this.initUpdateFlowForm(row).then(() =>{
|
|
1161
1166
|
this.$nextTick(() => {
|
|
@@ -3235,7 +3240,7 @@
|
|
|
3235
3240
|
// let CTX = window.JAVA_URL;
|
|
3236
3241
|
let CTX = "";
|
|
3237
3242
|
let paramValues = [this,this.saspFlowAxios,CTX,formData,this.loginUser,AjaxUtil,this.nextNode]; // 入参
|
|
3238
|
-
if(executeType == "addAfter"
|
|
3243
|
+
if(executeType == "addAfter"){ //新增或后
|
|
3239
3244
|
(this.newScriptObj[executeType] || []).forEach(event => {
|
|
3240
3245
|
event && event(...paramValues); // 执行事件
|
|
3241
3246
|
});
|
|
@@ -3275,7 +3280,7 @@
|
|
|
3275
3280
|
}
|
|
3276
3281
|
});
|
|
3277
3282
|
}catch (e) {
|
|
3278
|
-
console.log(e);
|
|
3283
|
+
// console.log(e);
|
|
3279
3284
|
result=false;
|
|
3280
3285
|
}
|
|
3281
3286
|
|