ui-process-h5 1.0.12 → 1.0.13
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
package/v2/ui-process-h5.js
CHANGED
|
@@ -10554,7 +10554,7 @@ const yt = /* @__PURE__ */ function() {
|
|
|
10554
10554
|
default: !1
|
|
10555
10555
|
},
|
|
10556
10556
|
request: {
|
|
10557
|
-
type: Function,
|
|
10557
|
+
type: [Function, Object],
|
|
10558
10558
|
default: () => ({ get: () => {
|
|
10559
10559
|
}, post: () => {
|
|
10560
10560
|
}, upload: () => {
|
|
@@ -10694,13 +10694,13 @@ const yt = /* @__PURE__ */ function() {
|
|
|
10694
10694
|
);
|
|
10695
10695
|
return;
|
|
10696
10696
|
}
|
|
10697
|
-
this.beforeFunction && this.beforeFunction(), this.handleTips("", !0, "loading"), this.resubmit ? (console.log("\u9001\u5BA1\u91CD\u65B0\u63D0\u4EA4", this.multiNodeParticipant), await this.request.post("/aws/pis/reactivate", {
|
|
10697
|
+
this.beforeFunction && await this.beforeFunction(), this.handleTips("", !0, "loading"), this.resubmit ? (console.log("\u9001\u5BA1\u91CD\u65B0\u63D0\u4EA4", this.multiNodeParticipant), await this.request.post("/aws/pis/reactivate", {
|
|
10698
10698
|
processInstId: this.processId || "572405e4-e0dc-40fc-9a95-2b20f5bdfbf1",
|
|
10699
10699
|
isClearHistory: this.isClearHistory,
|
|
10700
10700
|
reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
|
|
10701
10701
|
multiNodeParticipant: this.multiNodeParticipant
|
|
10702
10702
|
}).then((e) => {
|
|
10703
|
-
e.code == 200 ? (this.show = !1, this.$emit("update:visible", this.show), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success")) : this.handleTips(e.msg, !0, "error");
|
|
10703
|
+
e.code == 200 ? (this.show = !1, this.$emit("update:visible", this.show), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.$emit("successFn")) : this.handleTips(e.msg, !0, "error");
|
|
10704
10704
|
}).catch((e) => {
|
|
10705
10705
|
this.handleTips(e.msg, !0, "error");
|
|
10706
10706
|
})) : (console.log("\u9001\u5BA1\u9996\u6B21\u63D0\u4EA4", this.multiNodeParticipant), await this.request.post("/aws/pis/createAndStart", {
|
|
@@ -10712,7 +10712,7 @@ const yt = /* @__PURE__ */ function() {
|
|
|
10712
10712
|
multiNodeParticipant: this.multiNodeParticipant,
|
|
10713
10713
|
todoParameter: this.todoParameter
|
|
10714
10714
|
}).then((e) => {
|
|
10715
|
-
e.code === 200 ? (this.show = !1, this.$emit("update:visible", this.show), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success")) : e.code == 499 ? this.request.post("/aws/pis/reactivate", {
|
|
10715
|
+
e.code === 200 ? (this.show = !1, this.$emit("update:visible", this.show), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.$emit("successFn")) : e.code == 499 ? this.request.post("/aws/pis/reactivate", {
|
|
10716
10716
|
processInstId: this.processId || "572405e4-e0dc-40fc-9a95-2b20f5bdfbf1",
|
|
10717
10717
|
isClearHistory: this.isClearHistory,
|
|
10718
10718
|
reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
|
|
@@ -10722,7 +10722,7 @@ const yt = /* @__PURE__ */ function() {
|
|
|
10722
10722
|
"\u63D0\u4EA4\u6210\u529F!",
|
|
10723
10723
|
!1,
|
|
10724
10724
|
"success"
|
|
10725
|
-
)) : this.handleTips(n.msg, !0, "error");
|
|
10725
|
+
), this.$emit("successFn")) : this.handleTips(n.msg, !0, "error");
|
|
10726
10726
|
}).catch((n) => {
|
|
10727
10727
|
this.handleTips(n.msg, !0, "error");
|
|
10728
10728
|
}) : this.handleTips(e.msg, !0, "error");
|
|
@@ -13073,7 +13073,7 @@ const s0 = {
|
|
|
13073
13073
|
getVarsStatus: { default: !0, type: Boolean },
|
|
13074
13074
|
getVars: { default: null, type: Function },
|
|
13075
13075
|
request: {
|
|
13076
|
-
type: Function,
|
|
13076
|
+
type: [Function, Object],
|
|
13077
13077
|
default: () => ({ get: () => {
|
|
13078
13078
|
}, post: () => {
|
|
13079
13079
|
} })
|