ui-process-h5 1.0.14 → 1.0.16
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 +266 -220
- package/v2/ui-process-h5.umd.cjs +1 -1
- package/v2.7/ui-process-h5.js +61 -15
- package/v2.7/ui-process-h5.umd.cjs +1 -1
- package/v3/ui-process-h5.js +61 -15
- package/v3/ui-process-h5.umd.cjs +1 -1
package/v2.7/ui-process-h5.js
CHANGED
|
@@ -10027,19 +10027,65 @@ const be = /* @__PURE__ */ function() {
|
|
|
10027
10027
|
},
|
|
10028
10028
|
immediate: !0
|
|
10029
10029
|
},
|
|
10030
|
-
|
|
10030
|
+
appId: {
|
|
10031
10031
|
handler(t, n) {
|
|
10032
|
-
this.formData =
|
|
10033
|
-
|
|
10034
|
-
|
|
10035
|
-
|
|
10036
|
-
|
|
10037
|
-
|
|
10038
|
-
|
|
10039
|
-
|
|
10040
|
-
|
|
10041
|
-
|
|
10042
|
-
|
|
10032
|
+
this.formData.appId = t;
|
|
10033
|
+
},
|
|
10034
|
+
immediate: !0,
|
|
10035
|
+
deep: !0
|
|
10036
|
+
},
|
|
10037
|
+
processName: {
|
|
10038
|
+
handler(t, n) {
|
|
10039
|
+
this.formData.processName = t;
|
|
10040
|
+
},
|
|
10041
|
+
immediate: !0,
|
|
10042
|
+
deep: !0
|
|
10043
|
+
},
|
|
10044
|
+
resubmit: {
|
|
10045
|
+
handler(t, n) {
|
|
10046
|
+
this.formData.resubmit = t;
|
|
10047
|
+
},
|
|
10048
|
+
immediate: !0,
|
|
10049
|
+
deep: !0
|
|
10050
|
+
},
|
|
10051
|
+
id: {
|
|
10052
|
+
handler(t, n) {
|
|
10053
|
+
this.formData.id = t;
|
|
10054
|
+
},
|
|
10055
|
+
immediate: !0,
|
|
10056
|
+
deep: !0
|
|
10057
|
+
},
|
|
10058
|
+
businessType: {
|
|
10059
|
+
handler(t, n) {
|
|
10060
|
+
this.formData.businessType = t;
|
|
10061
|
+
},
|
|
10062
|
+
immediate: !0,
|
|
10063
|
+
deep: !0
|
|
10064
|
+
},
|
|
10065
|
+
todoParameter: {
|
|
10066
|
+
handler(t, n) {
|
|
10067
|
+
this.formData.todoParameter = t;
|
|
10068
|
+
},
|
|
10069
|
+
immediate: !0,
|
|
10070
|
+
deep: !0
|
|
10071
|
+
},
|
|
10072
|
+
isClearHistory: {
|
|
10073
|
+
handler(t, n) {
|
|
10074
|
+
this.formData.isClearHistory = t;
|
|
10075
|
+
},
|
|
10076
|
+
immediate: !0,
|
|
10077
|
+
deep: !0
|
|
10078
|
+
},
|
|
10079
|
+
title: {
|
|
10080
|
+
handler(t, n) {
|
|
10081
|
+
this.formData.title = t;
|
|
10082
|
+
},
|
|
10083
|
+
immediate: !0,
|
|
10084
|
+
deep: !0
|
|
10085
|
+
},
|
|
10086
|
+
showType: {
|
|
10087
|
+
handler(t, n) {
|
|
10088
|
+
this.formData.showType = t;
|
|
10043
10089
|
},
|
|
10044
10090
|
immediate: !0,
|
|
10045
10091
|
deep: !0
|
|
@@ -10089,7 +10135,7 @@ const be = /* @__PURE__ */ function() {
|
|
|
10089
10135
|
);
|
|
10090
10136
|
return;
|
|
10091
10137
|
}
|
|
10092
|
-
this.beforeFunction && await this.beforeFunction()
|
|
10138
|
+
this.beforeFunction && !await this.beforeFunction() || (this.handleTips("", !0, "loading"), this.resubmit ? (console.log("\u9001\u5BA1\u91CD\u65B0\u63D0\u4EA4", this.multiNodeParticipant), await this.request.post("/aws/pis/reactivate", {
|
|
10093
10139
|
processInstId: this.processId,
|
|
10094
10140
|
isClearHistory: this.formData.isClearHistory,
|
|
10095
10141
|
reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
|
|
@@ -10098,7 +10144,7 @@ const be = /* @__PURE__ */ function() {
|
|
|
10098
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");
|
|
10099
10145
|
}).catch((t) => {
|
|
10100
10146
|
this.handleTips(t.msg, !0, "error");
|
|
10101
|
-
})) : (console.log("\u9001\u5BA1\u9996\u6B21\u63D0\u4EA4", this.
|
|
10147
|
+
})) : (console.log("\u9001\u5BA1\u9996\u6B21\u63D0\u4EA4", this.formData), await this.request.post("/aws/pis/createAndStart", {
|
|
10102
10148
|
title: this.formData.title,
|
|
10103
10149
|
processDefId: this.checkedItem.id,
|
|
10104
10150
|
processBusinessKey: this.formData.id,
|
|
@@ -10123,7 +10169,7 @@ const be = /* @__PURE__ */ function() {
|
|
|
10123
10169
|
}) : this.handleTips(t.msg, !0, "error");
|
|
10124
10170
|
}).catch((t) => {
|
|
10125
10171
|
this.handleTips(t.msg, !0, "error");
|
|
10126
|
-
}));
|
|
10172
|
+
})));
|
|
10127
10173
|
},
|
|
10128
10174
|
handleTips(t, n, e) {
|
|
10129
10175
|
this.textTips = t, this.statusTips = n, this.typeTips = e, this.$refs.topTips.handleOpen();
|