ui-process-h5 1.0.20 → 1.0.21
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 +1 -1
- package/v2/ui-process-h5.js +27 -21
- package/v2/ui-process-h5.umd.cjs +1 -1
- package/v2.7/ui-process-h5.js +27 -21
- package/v2.7/ui-process-h5.umd.cjs +1 -1
- package/v3/ui-process-h5.js +27 -21
- package/v3/ui-process-h5.umd.cjs +1 -1
package/v2.7/ui-process-h5.js
CHANGED
|
@@ -10135,33 +10135,39 @@ const be = /* @__PURE__ */ function() {
|
|
|
10135
10135
|
);
|
|
10136
10136
|
return;
|
|
10137
10137
|
}
|
|
10138
|
-
this.beforeFunction && await this.beforeFunction(), this.handleTips("", !0, "loading"), this.resubmit
|
|
10139
|
-
|
|
10140
|
-
isClearHistory: this.formData.isClearHistory,
|
|
10141
|
-
reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
|
|
10142
|
-
multiNodeParticipant: this.multiNodeParticipant
|
|
10143
|
-
}).then((t) => {
|
|
10144
|
-
t.code == 200 ? (this.show = !1, this.$emit("update:visible", this.show), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.$emit("successFn")) : this.handleTips(t.msg, !0, "error");
|
|
10145
|
-
}).catch((t) => {
|
|
10146
|
-
this.handleTips(t.msg, !0, "error");
|
|
10147
|
-
}) : (console.log("cccc:::::", this.formData), this.formData.processDefId = this.checkedItem.id, this.formData.multiNodeParticipant = this.multiNodeParticipant, await this.request.post("/aws/pis/createAndStart", this.formData).then((t) => {
|
|
10148
|
-
t.code === 200 ? (this.show = !1, this.$emit("update:visible", this.show), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.$emit("successFn")) : t.code == 499 ? this.request.post("/aws/pis/reactivate", {
|
|
10138
|
+
if (this.beforeFunction && await this.beforeFunction(), this.handleTips("", !0, "loading"), this.resubmit)
|
|
10139
|
+
this.request.post("/aws/pis/reactivate", {
|
|
10149
10140
|
processInstId: this.processId,
|
|
10150
10141
|
isClearHistory: this.formData.isClearHistory,
|
|
10151
10142
|
reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
|
|
10152
10143
|
multiNodeParticipant: this.multiNodeParticipant
|
|
10153
|
-
}).then((
|
|
10154
|
-
|
|
10155
|
-
|
|
10156
|
-
|
|
10157
|
-
|
|
10158
|
-
|
|
10144
|
+
}).then((t) => {
|
|
10145
|
+
t.code == 200 ? (this.show = !1, this.$emit("update:visible", this.show), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.$emit("successFn")) : this.handleTips(t.msg, !0, "error");
|
|
10146
|
+
}).catch((t) => {
|
|
10147
|
+
this.handleTips(t.msg, !0, "error");
|
|
10148
|
+
});
|
|
10149
|
+
else {
|
|
10150
|
+
this.formData.processDefId = this.checkedItem.id, this.formData.multiNodeParticipant = this.multiNodeParticipant;
|
|
10151
|
+
let t = this.formData;
|
|
10152
|
+
console.log("cccc:::::", this.formData, t), this.request.post("/aws/pis/createAndStart", t).then((n) => {
|
|
10153
|
+
n.code === 200 ? (this.show = !1, this.$emit("update:visible", this.show), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.$emit("successFn")) : n.code == 499 ? this.request.post("/aws/pis/reactivate", {
|
|
10154
|
+
processInstId: this.processId,
|
|
10155
|
+
isClearHistory: this.formData.isClearHistory,
|
|
10156
|
+
reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
|
|
10157
|
+
multiNodeParticipant: this.multiNodeParticipant
|
|
10158
|
+
}).then((e) => {
|
|
10159
|
+
e.code == 200 ? (this.show = !1, this.$emit("update:visible", this.show), this.handleTips(
|
|
10160
|
+
"\u63D0\u4EA4\u6210\u529F!",
|
|
10161
|
+
!1,
|
|
10162
|
+
"success"
|
|
10163
|
+
), this.$emit("successFn")) : this.handleTips(e.msg, !0, "error");
|
|
10164
|
+
}).catch((e) => {
|
|
10165
|
+
this.handleTips(e.msg, !0, "error");
|
|
10166
|
+
}) : this.handleTips(n.msg, !0, "error");
|
|
10159
10167
|
}).catch((n) => {
|
|
10160
10168
|
this.handleTips(n.msg, !0, "error");
|
|
10161
|
-
})
|
|
10162
|
-
}
|
|
10163
|
-
this.handleTips(t.msg, !0, "error");
|
|
10164
|
-
}));
|
|
10169
|
+
});
|
|
10170
|
+
}
|
|
10165
10171
|
},
|
|
10166
10172
|
handleTips(t, n, e) {
|
|
10167
10173
|
this.textTips = t, this.statusTips = n, this.typeTips = e, this.$refs.topTips.handleOpen();
|