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/v3/ui-process-h5.js
CHANGED
|
@@ -10624,50 +10624,46 @@ const bb = /* @__PURE__ */ te(NC, [["render", _C], ["__scopeId", "data-v-821189c
|
|
|
10624
10624
|
this.beforeFunction && await this.beforeFunction(), this.manual || await this.handleSongshen();
|
|
10625
10625
|
},
|
|
10626
10626
|
async handleSongshen() {
|
|
10627
|
-
this.handleTips("", !0, "loading"), this.resubmit
|
|
10628
|
-
|
|
10629
|
-
isClearHistory: this.isClearHistory,
|
|
10630
|
-
reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
|
|
10631
|
-
multiNodeParticipant: this.multiNodeParticipant
|
|
10632
|
-
}).then((e) => {
|
|
10633
|
-
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");
|
|
10634
|
-
}).catch((e) => {
|
|
10635
|
-
this.handleTips(e.msg, !0, "error");
|
|
10636
|
-
}) : (console.log(
|
|
10637
|
-
"\u9A8C\u8BC1\u6761\u4EF6::this.id",
|
|
10638
|
-
this.idData,
|
|
10639
|
-
"\u9A8C\u8BC1\u6761\u4EF6::this.businessType",
|
|
10640
|
-
this.businessTypeData,
|
|
10641
|
-
"\u9A8C\u8BC1\u6761\u4EF6::this.todoParameter",
|
|
10642
|
-
this.todoParameterData,
|
|
10643
|
-
"\u9A8C\u8BC1\u6761\u4EF6::this.title",
|
|
10644
|
-
this.titleData
|
|
10645
|
-
), await this.request.post("/aws/pis/createAndStart", {
|
|
10646
|
-
title: this.titleData,
|
|
10647
|
-
processDefId: this.checkedItem.id,
|
|
10648
|
-
processBusinessKey: this.idData,
|
|
10649
|
-
showType: this.showType,
|
|
10650
|
-
businessType: this.businessTypeData,
|
|
10651
|
-
multiNodeParticipant: this.multiNodeParticipant,
|
|
10652
|
-
todoParameter: this.todoParameterData
|
|
10653
|
-
}).then((e) => {
|
|
10654
|
-
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", {
|
|
10627
|
+
if (this.handleTips("", !0, "loading"), this.resubmit)
|
|
10628
|
+
await this.request.post("/aws/pis/reactivate", {
|
|
10655
10629
|
processInstId: this.processId,
|
|
10656
10630
|
isClearHistory: this.isClearHistory,
|
|
10657
10631
|
reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
|
|
10658
10632
|
multiNodeParticipant: this.multiNodeParticipant
|
|
10659
|
-
}).then((
|
|
10660
|
-
|
|
10661
|
-
|
|
10662
|
-
|
|
10663
|
-
|
|
10664
|
-
|
|
10633
|
+
}).then((e) => {
|
|
10634
|
+
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");
|
|
10635
|
+
}).catch((e) => {
|
|
10636
|
+
this.handleTips(e.msg, !0, "error");
|
|
10637
|
+
});
|
|
10638
|
+
else {
|
|
10639
|
+
let e = {
|
|
10640
|
+
title: this.titleData,
|
|
10641
|
+
processDefId: this.checkedItem.id,
|
|
10642
|
+
processBusinessKey: this.idData,
|
|
10643
|
+
showType: this.showType,
|
|
10644
|
+
businessType: this.businessTypeData,
|
|
10645
|
+
multiNodeParticipant: this.multiNodeParticipant,
|
|
10646
|
+
todoParameter: this.todoParameterData
|
|
10647
|
+
};
|
|
10648
|
+
console.log("\u9A8C\u8BC1\u6761\u4EF6::", e, "this:::", this), await this.request.post("/aws/pis/createAndStart", e).then((t) => {
|
|
10649
|
+
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", {
|
|
10650
|
+
processInstId: this.processId,
|
|
10651
|
+
isClearHistory: this.isClearHistory,
|
|
10652
|
+
reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
|
|
10653
|
+
multiNodeParticipant: this.multiNodeParticipant
|
|
10654
|
+
}).then((s) => {
|
|
10655
|
+
s.code == 200 ? (this.show = !1, this.$emit("update:visible", this.show), this.handleTips(
|
|
10656
|
+
"\u63D0\u4EA4\u6210\u529F!",
|
|
10657
|
+
!1,
|
|
10658
|
+
"success"
|
|
10659
|
+
), this.$emit("successFn")) : this.handleTips(s.msg, !0, "error");
|
|
10660
|
+
}).catch((s) => {
|
|
10661
|
+
this.handleTips(s.msg, !0, "error");
|
|
10662
|
+
}) : this.handleTips(t.msg, !0, "error");
|
|
10665
10663
|
}).catch((t) => {
|
|
10666
10664
|
this.handleTips(t.msg, !0, "error");
|
|
10667
|
-
})
|
|
10668
|
-
}
|
|
10669
|
-
this.handleTips(e.msg, !0, "error");
|
|
10670
|
-
}));
|
|
10665
|
+
});
|
|
10666
|
+
}
|
|
10671
10667
|
},
|
|
10672
10668
|
handleTips(e, t, s) {
|
|
10673
10669
|
this.textTips = e, this.statusTips = t, this.typeTips = s, this.$refs.topTips.handleOpen();
|