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/v2.7/ui-process-h5.js
CHANGED
|
@@ -10050,7 +10050,7 @@ const be = /* @__PURE__ */ function() {
|
|
|
10050
10050
|
},
|
|
10051
10051
|
id: {
|
|
10052
10052
|
handler(t, n) {
|
|
10053
|
-
this.formData.
|
|
10053
|
+
this.formData.processBusinessKey = t;
|
|
10054
10054
|
},
|
|
10055
10055
|
immediate: !0,
|
|
10056
10056
|
deep: !0
|
|
@@ -10135,41 +10135,39 @@ const be = /* @__PURE__ */ function() {
|
|
|
10135
10135
|
);
|
|
10136
10136
|
return;
|
|
10137
10137
|
}
|
|
10138
|
-
this.beforeFunction && await this.beforeFunction(), this.handleTips("", !0, "loading"), this.resubmit
|
|
10139
|
-
|
|
10140
|
-
isClearHistory: this.formData.isClearHistory,
|
|
10141
|
-
reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
|
|
10142
|
-
multiNodeParticipant: this.multiNodeParticipant
|
|
10143
|
-
}).then((t) => {
|
|
10144
|
-
t.code == 200 ? (this.show = !1, this.$emit("update:visible", this.show), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.$emit("successFn")) : this.handleTips(t.msg, !0, "error");
|
|
10145
|
-
}).catch((t) => {
|
|
10146
|
-
this.handleTips(t.msg, !0, "error");
|
|
10147
|
-
}) : (console.log("cccc:::::", this.formData), await this.request.post("/aws/pis/createAndStart", {
|
|
10148
|
-
title: this.formData.title,
|
|
10149
|
-
processDefId: this.checkedItem.id,
|
|
10150
|
-
processBusinessKey: this.formData.id,
|
|
10151
|
-
showType: this.formData.showType,
|
|
10152
|
-
businessType: this.formData.businessType,
|
|
10153
|
-
multiNodeParticipant: this.multiNodeParticipant,
|
|
10154
|
-
todoParameter: this.formData.todoParameter
|
|
10155
|
-
}).then((t) => {
|
|
10156
|
-
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", {
|
|
10138
|
+
if (this.beforeFunction && await this.beforeFunction(), this.handleTips("", !0, "loading"), this.resubmit)
|
|
10139
|
+
this.request.post("/aws/pis/reactivate", {
|
|
10157
10140
|
processInstId: this.processId,
|
|
10158
10141
|
isClearHistory: this.formData.isClearHistory,
|
|
10159
10142
|
reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
|
|
10160
10143
|
multiNodeParticipant: this.multiNodeParticipant
|
|
10161
|
-
}).then((
|
|
10162
|
-
|
|
10163
|
-
|
|
10164
|
-
|
|
10165
|
-
|
|
10166
|
-
|
|
10144
|
+
}).then((t) => {
|
|
10145
|
+
t.code == 200 ? (this.show = !1, this.$emit("update:visible", this.show), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.$emit("successFn")) : this.handleTips(t.msg, !0, "error");
|
|
10146
|
+
}).catch((t) => {
|
|
10147
|
+
this.handleTips(t.msg, !0, "error");
|
|
10148
|
+
});
|
|
10149
|
+
else {
|
|
10150
|
+
this.formData.processDefId = this.checkedItem.id, this.formData.multiNodeParticipant = this.multiNodeParticipant;
|
|
10151
|
+
let t = this.formData;
|
|
10152
|
+
console.log("cccc:::::", this.formData, t), this.request.post("/aws/pis/createAndStart", t).then((n) => {
|
|
10153
|
+
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", {
|
|
10154
|
+
processInstId: this.processId,
|
|
10155
|
+
isClearHistory: this.formData.isClearHistory,
|
|
10156
|
+
reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
|
|
10157
|
+
multiNodeParticipant: this.multiNodeParticipant
|
|
10158
|
+
}).then((e) => {
|
|
10159
|
+
e.code == 200 ? (this.show = !1, this.$emit("update:visible", this.show), this.handleTips(
|
|
10160
|
+
"\u63D0\u4EA4\u6210\u529F!",
|
|
10161
|
+
!1,
|
|
10162
|
+
"success"
|
|
10163
|
+
), this.$emit("successFn")) : this.handleTips(e.msg, !0, "error");
|
|
10164
|
+
}).catch((e) => {
|
|
10165
|
+
this.handleTips(e.msg, !0, "error");
|
|
10166
|
+
}) : this.handleTips(n.msg, !0, "error");
|
|
10167
10167
|
}).catch((n) => {
|
|
10168
10168
|
this.handleTips(n.msg, !0, "error");
|
|
10169
|
-
})
|
|
10170
|
-
}
|
|
10171
|
-
this.handleTips(t.msg, !0, "error");
|
|
10172
|
-
}));
|
|
10169
|
+
});
|
|
10170
|
+
}
|
|
10173
10171
|
},
|
|
10174
10172
|
handleTips(t, n, e) {
|
|
10175
10173
|
this.textTips = t, this.statusTips = n, this.typeTips = e, this.$refs.topTips.handleOpen();
|