|
@@ -525,6 +525,7 @@ export default {
|
|
|
},
|
|
|
// 触发异常回调
|
|
|
exceptionTrigger(row, scriptData) {
|
|
|
+ let _this = this;
|
|
|
this.$modal
|
|
|
.confirm("是否确认触发<" + scriptData.scriptName + ">异常?")
|
|
|
.then(function (val) {
|
|
@@ -536,18 +537,19 @@ export default {
|
|
|
sysBpmNodeScriptVO: scriptData,
|
|
|
};
|
|
|
triggerExceptionNode(payLoad).then((res) => {
|
|
|
+ console.log(res);
|
|
|
if (res.code == 200) {
|
|
|
- this.$message.success("触发成功");
|
|
|
- this.open = false;
|
|
|
- this.getList();
|
|
|
+ _this.$message.success("触发成功");
|
|
|
+ _this.open = false;
|
|
|
+ _this.getList();
|
|
|
} else {
|
|
|
- this.$message.error("触发失败请稍后再试");
|
|
|
+ _this.$message.error("触发失败请稍后再试");
|
|
|
}
|
|
|
});
|
|
|
})
|
|
|
.catch(() => {
|
|
|
- this.open = false;
|
|
|
- this.$message.info("取消成功");
|
|
|
+ _this.open = false;
|
|
|
+ _this.$message.info("取消成功");
|
|
|
});
|
|
|
},
|
|
|
// 获取字典对应label
|