ui-process-h5 1.0.36 → 1.1.1
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 +34 -38
- package/v2/ui-process-h5.umd.cjs +1 -1
- package/v2.7/ui-process-h5.js +34 -38
- package/v2.7/ui-process-h5.umd.cjs +1 -1
- package/v3/ui-process-h5.js +34 -38
- package/v3/ui-process-h5.umd.cjs +11 -11
package/package.json
CHANGED
package/v2/ui-process-h5.js
CHANGED
|
@@ -13690,50 +13690,46 @@ const lE = /* @__PURE__ */ function() {
|
|
|
13690
13690
|
this.beforeFunction && await this.beforeFunction(), this.manual || await this.handleSongshen();
|
|
13691
13691
|
},
|
|
13692
13692
|
async handleSongshen() {
|
|
13693
|
-
this.handleTips("", !0, "loading"), this.resubmit
|
|
13694
|
-
|
|
13695
|
-
isClearHistory: this.isClearHistory,
|
|
13696
|
-
reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
|
|
13697
|
-
multiNodeParticipant: this.multiNodeParticipant
|
|
13698
|
-
}).then((e) => {
|
|
13699
|
-
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");
|
|
13700
|
-
}).catch((e) => {
|
|
13701
|
-
this.handleTips(e.msg, !0, "error");
|
|
13702
|
-
}) : (console.log(
|
|
13703
|
-
"\u9A8C\u8BC1\u6761\u4EF6::this.id",
|
|
13704
|
-
this.idData,
|
|
13705
|
-
"\u9A8C\u8BC1\u6761\u4EF6::this.businessType",
|
|
13706
|
-
this.businessTypeData,
|
|
13707
|
-
"\u9A8C\u8BC1\u6761\u4EF6::this.todoParameter",
|
|
13708
|
-
this.todoParameterData,
|
|
13709
|
-
"\u9A8C\u8BC1\u6761\u4EF6::this.title",
|
|
13710
|
-
this.titleData
|
|
13711
|
-
), await this.request.post("/aws/pis/createAndStart", {
|
|
13712
|
-
title: this.titleData,
|
|
13713
|
-
processDefId: this.checkedItem.id,
|
|
13714
|
-
processBusinessKey: this.idData,
|
|
13715
|
-
showType: this.showType,
|
|
13716
|
-
businessType: this.businessTypeData,
|
|
13717
|
-
multiNodeParticipant: this.multiNodeParticipant,
|
|
13718
|
-
todoParameter: this.todoParameterData
|
|
13719
|
-
}).then((e) => {
|
|
13720
|
-
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", {
|
|
13693
|
+
if (this.handleTips("", !0, "loading"), this.resubmit)
|
|
13694
|
+
await this.request.post("/aws/pis/reactivate", {
|
|
13721
13695
|
processInstId: this.processId,
|
|
13722
13696
|
isClearHistory: this.isClearHistory,
|
|
13723
13697
|
reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
|
|
13724
13698
|
multiNodeParticipant: this.multiNodeParticipant
|
|
13725
|
-
}).then((
|
|
13726
|
-
|
|
13727
|
-
|
|
13728
|
-
|
|
13729
|
-
|
|
13730
|
-
|
|
13699
|
+
}).then((e) => {
|
|
13700
|
+
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");
|
|
13701
|
+
}).catch((e) => {
|
|
13702
|
+
this.handleTips(e.msg, !0, "error");
|
|
13703
|
+
});
|
|
13704
|
+
else {
|
|
13705
|
+
let e = {
|
|
13706
|
+
title: this.titleData,
|
|
13707
|
+
processDefId: this.checkedItem.id,
|
|
13708
|
+
processBusinessKey: this.idData,
|
|
13709
|
+
showType: this.showType,
|
|
13710
|
+
businessType: this.businessTypeData,
|
|
13711
|
+
multiNodeParticipant: this.multiNodeParticipant,
|
|
13712
|
+
todoParameter: this.todoParameterData
|
|
13713
|
+
};
|
|
13714
|
+
console.log("\u9A8C\u8BC1\u6761\u4EF6::", e, "this:::", this), await this.request.post("/aws/pis/createAndStart", e).then((n) => {
|
|
13715
|
+
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", {
|
|
13716
|
+
processInstId: this.processId,
|
|
13717
|
+
isClearHistory: this.isClearHistory,
|
|
13718
|
+
reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
|
|
13719
|
+
multiNodeParticipant: this.multiNodeParticipant
|
|
13720
|
+
}).then((t) => {
|
|
13721
|
+
t.code == 200 ? (this.show = !1, this.$emit("update:visible", this.show), this.handleTips(
|
|
13722
|
+
"\u63D0\u4EA4\u6210\u529F!",
|
|
13723
|
+
!1,
|
|
13724
|
+
"success"
|
|
13725
|
+
), this.$emit("successFn")) : this.handleTips(t.msg, !0, "error");
|
|
13726
|
+
}).catch((t) => {
|
|
13727
|
+
this.handleTips(t.msg, !0, "error");
|
|
13728
|
+
}) : this.handleTips(n.msg, !0, "error");
|
|
13731
13729
|
}).catch((n) => {
|
|
13732
13730
|
this.handleTips(n.msg, !0, "error");
|
|
13733
|
-
})
|
|
13734
|
-
}
|
|
13735
|
-
this.handleTips(e.msg, !0, "error");
|
|
13736
|
-
}));
|
|
13731
|
+
});
|
|
13732
|
+
}
|
|
13737
13733
|
},
|
|
13738
13734
|
handleTips(e, n, t) {
|
|
13739
13735
|
this.textTips = e, this.statusTips = n, this.typeTips = t, this.$refs.topTips.handleOpen();
|