ui-process-h5 1.0.19 → 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 +233 -235
- package/v2/ui-process-h5.umd.cjs +1 -1
- package/v2.7/ui-process-h5.js +28 -30
- package/v2.7/ui-process-h5.umd.cjs +1 -1
- package/v3/ui-process-h5.js +28 -30
- package/v3/ui-process-h5.umd.cjs +1 -1
package/v3/ui-process-h5.js
CHANGED
|
@@ -7797,7 +7797,7 @@ const ht = /* @__PURE__ */ function() {
|
|
|
7797
7797
|
},
|
|
7798
7798
|
id: {
|
|
7799
7799
|
handler(e, t) {
|
|
7800
|
-
this.formData.
|
|
7800
|
+
this.formData.processBusinessKey = e;
|
|
7801
7801
|
},
|
|
7802
7802
|
immediate: !0,
|
|
7803
7803
|
deep: !0
|
|
@@ -7882,41 +7882,39 @@ const ht = /* @__PURE__ */ function() {
|
|
|
7882
7882
|
);
|
|
7883
7883
|
return;
|
|
7884
7884
|
}
|
|
7885
|
-
this.beforeFunction && await this.beforeFunction(), this.handleTips("", !0, "loading"), this.resubmit
|
|
7886
|
-
|
|
7887
|
-
isClearHistory: this.formData.isClearHistory,
|
|
7888
|
-
reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
|
|
7889
|
-
multiNodeParticipant: this.multiNodeParticipant
|
|
7890
|
-
}).then((e) => {
|
|
7891
|
-
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");
|
|
7892
|
-
}).catch((e) => {
|
|
7893
|
-
this.handleTips(e.msg, !0, "error");
|
|
7894
|
-
}) : (console.log("cccc:::::", this.formData), await this.request.post("/aws/pis/createAndStart", {
|
|
7895
|
-
title: this.formData.title,
|
|
7896
|
-
processDefId: this.checkedItem.id,
|
|
7897
|
-
processBusinessKey: this.formData.id,
|
|
7898
|
-
showType: this.formData.showType,
|
|
7899
|
-
businessType: this.formData.businessType,
|
|
7900
|
-
multiNodeParticipant: this.multiNodeParticipant,
|
|
7901
|
-
todoParameter: this.formData.todoParameter
|
|
7902
|
-
}).then((e) => {
|
|
7903
|
-
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", {
|
|
7885
|
+
if (this.beforeFunction && await this.beforeFunction(), this.handleTips("", !0, "loading"), this.resubmit)
|
|
7886
|
+
this.request.post("/aws/pis/reactivate", {
|
|
7904
7887
|
processInstId: this.processId,
|
|
7905
7888
|
isClearHistory: this.formData.isClearHistory,
|
|
7906
7889
|
reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
|
|
7907
7890
|
multiNodeParticipant: this.multiNodeParticipant
|
|
7908
|
-
}).then((
|
|
7909
|
-
|
|
7910
|
-
|
|
7911
|
-
|
|
7912
|
-
|
|
7913
|
-
|
|
7891
|
+
}).then((e) => {
|
|
7892
|
+
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");
|
|
7893
|
+
}).catch((e) => {
|
|
7894
|
+
this.handleTips(e.msg, !0, "error");
|
|
7895
|
+
});
|
|
7896
|
+
else {
|
|
7897
|
+
this.formData.processDefId = this.checkedItem.id, this.formData.multiNodeParticipant = this.multiNodeParticipant;
|
|
7898
|
+
let e = this.formData;
|
|
7899
|
+
console.log("cccc:::::", this.formData, e), this.request.post("/aws/pis/createAndStart", e).then((t) => {
|
|
7900
|
+
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", {
|
|
7901
|
+
processInstId: this.processId,
|
|
7902
|
+
isClearHistory: this.formData.isClearHistory,
|
|
7903
|
+
reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
|
|
7904
|
+
multiNodeParticipant: this.multiNodeParticipant
|
|
7905
|
+
}).then((s) => {
|
|
7906
|
+
s.code == 200 ? (this.show = !1, this.$emit("update:visible", this.show), this.handleTips(
|
|
7907
|
+
"\u63D0\u4EA4\u6210\u529F!",
|
|
7908
|
+
!1,
|
|
7909
|
+
"success"
|
|
7910
|
+
), this.$emit("successFn")) : this.handleTips(s.msg, !0, "error");
|
|
7911
|
+
}).catch((s) => {
|
|
7912
|
+
this.handleTips(s.msg, !0, "error");
|
|
7913
|
+
}) : this.handleTips(t.msg, !0, "error");
|
|
7914
7914
|
}).catch((t) => {
|
|
7915
7915
|
this.handleTips(t.msg, !0, "error");
|
|
7916
|
-
})
|
|
7917
|
-
}
|
|
7918
|
-
this.handleTips(e.msg, !0, "error");
|
|
7919
|
-
}));
|
|
7916
|
+
});
|
|
7917
|
+
}
|
|
7920
7918
|
},
|
|
7921
7919
|
handleTips(e, t, s) {
|
|
7922
7920
|
this.textTips = e, this.statusTips = t, this.typeTips = s, this.$refs.topTips.handleOpen();
|