ui-process-h5 1.0.17 → 1.0.18

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui-process-h5",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "> app端 流程插件",
5
5
  "main": "./ui-process-h5.umd.cjs",
6
6
  "style": "./style.css",
@@ -10758,37 +10758,27 @@ const yt = /* @__PURE__ */ function() {
10758
10758
  );
10759
10759
  return;
10760
10760
  }
10761
- if (this.beforeFunction)
10762
- if (await this.beforeFunction()) {
10763
- this.handleSongshen();
10764
- return;
10765
- } else
10766
- return;
10767
- else
10768
- this.handleSongshen();
10769
- },
10770
- async handleSongshen() {
10771
- this.handleTips("", !0, "loading"), this.resubmit ? (console.log("\u9001\u5BA1\u91CD\u65B0\u63D0\u4EA4", this.multiNodeParticipant), await this.request.post("/aws/pis/reactivate", {
10761
+ 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", {
10772
10762
  processInstId: this.processId,
10773
- isClearHistory: this.formData.isClearHistory,
10763
+ isClearHistory: this.isClearHistory,
10774
10764
  reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
10775
10765
  multiNodeParticipant: this.multiNodeParticipant
10776
10766
  }).then((e) => {
10777
10767
  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");
10778
10768
  }).catch((e) => {
10779
10769
  this.handleTips(e.msg, !0, "error");
10780
- })) : (console.log("\u9001\u5BA1\u9996\u6B21\u63D0\u4EA4", this.formData), await this.request.post("/aws/pis/createAndStart", {
10781
- title: this.formData.title,
10770
+ })) : (console.log("\u9001\u5BA1\u9996\u6B21\u63D0\u4EA4", this), await this.request.post("/aws/pis/createAndStart", {
10771
+ title: this.title,
10782
10772
  processDefId: this.checkedItem.id,
10783
- processBusinessKey: this.formData.id,
10784
- showType: this.formData.showType,
10785
- businessType: this.formData.businessType,
10773
+ processBusinessKey: this.id,
10774
+ showType: this.showType,
10775
+ businessType: this.businessType,
10786
10776
  multiNodeParticipant: this.multiNodeParticipant,
10787
- todoParameter: this.formData.todoParameter
10777
+ todoParameter: this.todoParameter
10788
10778
  }).then((e) => {
10789
10779
  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", {
10790
10780
  processInstId: this.processId,
10791
- isClearHistory: this.formData.isClearHistory,
10781
+ isClearHistory: this.isClearHistory,
10792
10782
  reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
10793
10783
  multiNodeParticipant: this.multiNodeParticipant
10794
10784
  }).then((n) => {