ui-process-h5 1.0.13 → 1.0.15

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.
@@ -7750,7 +7750,8 @@ const ht = /* @__PURE__ */ function() {
7750
7750
  textTips: "",
7751
7751
  statusTips: !1,
7752
7752
  typeTips: "success",
7753
- firstPerson: []
7753
+ firstPerson: [],
7754
+ formData: {}
7754
7755
  };
7755
7756
  },
7756
7757
  watch: {
@@ -7772,6 +7773,69 @@ const ht = /* @__PURE__ */ function() {
7772
7773
  });
7773
7774
  },
7774
7775
  immediate: !0
7776
+ },
7777
+ appId: {
7778
+ handler(e, t) {
7779
+ this.formData.appId = e;
7780
+ },
7781
+ immediate: !0,
7782
+ deep: !0
7783
+ },
7784
+ processName: {
7785
+ handler(e, t) {
7786
+ this.formData.processName = e;
7787
+ },
7788
+ immediate: !0,
7789
+ deep: !0
7790
+ },
7791
+ resubmit: {
7792
+ handler(e, t) {
7793
+ this.formData.resubmit = e;
7794
+ },
7795
+ immediate: !0,
7796
+ deep: !0
7797
+ },
7798
+ id: {
7799
+ handler(e, t) {
7800
+ this.formData.id = e;
7801
+ },
7802
+ immediate: !0,
7803
+ deep: !0
7804
+ },
7805
+ businessType: {
7806
+ handler(e, t) {
7807
+ this.formData.businessType = e;
7808
+ },
7809
+ immediate: !0,
7810
+ deep: !0
7811
+ },
7812
+ todoParameter: {
7813
+ handler(e, t) {
7814
+ this.formData.todoParameter = e;
7815
+ },
7816
+ immediate: !0,
7817
+ deep: !0
7818
+ },
7819
+ isClearHistory: {
7820
+ handler(e, t) {
7821
+ this.formData.isClearHistory = e;
7822
+ },
7823
+ immediate: !0,
7824
+ deep: !0
7825
+ },
7826
+ title: {
7827
+ handler(e, t) {
7828
+ this.formData.title = e;
7829
+ },
7830
+ immediate: !0,
7831
+ deep: !0
7832
+ },
7833
+ showType: {
7834
+ handler(e, t) {
7835
+ this.formData.showType = e;
7836
+ },
7837
+ immediate: !0,
7838
+ deep: !0
7775
7839
  }
7776
7840
  },
7777
7841
  methods: {
@@ -7819,8 +7883,8 @@ const ht = /* @__PURE__ */ function() {
7819
7883
  return;
7820
7884
  }
7821
7885
  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", {
7822
- processInstId: this.processId || "572405e4-e0dc-40fc-9a95-2b20f5bdfbf1",
7823
- isClearHistory: this.isClearHistory,
7886
+ processInstId: this.processId,
7887
+ isClearHistory: this.formData.isClearHistory,
7824
7888
  reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
7825
7889
  multiNodeParticipant: this.multiNodeParticipant
7826
7890
  }).then((e) => {
@@ -7828,17 +7892,17 @@ const ht = /* @__PURE__ */ function() {
7828
7892
  }).catch((e) => {
7829
7893
  this.handleTips(e.msg, !0, "error");
7830
7894
  })) : (console.log("\u9001\u5BA1\u9996\u6B21\u63D0\u4EA4", this.multiNodeParticipant), await this.request.post("/aws/pis/createAndStart", {
7831
- title: this.title,
7895
+ title: this.formData.title,
7832
7896
  processDefId: this.checkedItem.id,
7833
- processBusinessKey: this.id,
7834
- showType: this.showType,
7835
- businessType: this.businessType,
7897
+ processBusinessKey: this.formData.id,
7898
+ showType: this.formData.showType,
7899
+ businessType: this.formData.businessType,
7836
7900
  multiNodeParticipant: this.multiNodeParticipant,
7837
- todoParameter: this.todoParameter
7901
+ todoParameter: this.formData.todoParameter
7838
7902
  }).then((e) => {
7839
7903
  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", {
7840
- processInstId: this.processId || "572405e4-e0dc-40fc-9a95-2b20f5bdfbf1",
7841
- isClearHistory: this.isClearHistory,
7904
+ processInstId: this.processId,
7905
+ isClearHistory: this.formData.isClearHistory,
7842
7906
  reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
7843
7907
  multiNodeParticipant: this.multiNodeParticipant
7844
7908
  }).then((t) => {