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