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.
@@ -7774,19 +7774,65 @@ const ht = /* @__PURE__ */ function() {
7774
7774
  },
7775
7775
  immediate: !0
7776
7776
  },
7777
- props: {
7777
+ appId: {
7778
7778
  handler(e, t) {
7779
- this.formData = {
7780
- appId: e.appId,
7781
- processName: e.processName,
7782
- resubmit: e.resubmit,
7783
- id: e.id,
7784
- businessType: e.businessType,
7785
- todoParameter: e.todoParameter,
7786
- isClearHistory: e.isClearHistory,
7787
- title: e.title,
7788
- showType: e.showType
7789
- };
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;
7790
7836
  },
7791
7837
  immediate: !0,
7792
7838
  deep: !0
@@ -7836,7 +7882,7 @@ const ht = /* @__PURE__ */ function() {
7836
7882
  );
7837
7883
  return;
7838
7884
  }
7839
- 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", {
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", {
7840
7886
  processInstId: this.processId,
7841
7887
  isClearHistory: this.formData.isClearHistory,
7842
7888
  reactivateReason: "\u91CD\u65B0\u63D0\u4EA4",
@@ -7845,7 +7891,7 @@ const ht = /* @__PURE__ */ function() {
7845
7891
  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");
7846
7892
  }).catch((e) => {
7847
7893
  this.handleTips(e.msg, !0, "error");
7848
- })) : (console.log("\u9001\u5BA1\u9996\u6B21\u63D0\u4EA4", this.multiNodeParticipant), await this.request.post("/aws/pis/createAndStart", {
7894
+ })) : (console.log("\u9001\u5BA1\u9996\u6B21\u63D0\u4EA4", this.formData), await this.request.post("/aws/pis/createAndStart", {
7849
7895
  title: this.formData.title,
7850
7896
  processDefId: this.checkedItem.id,
7851
7897
  processBusinessKey: this.formData.id,
@@ -7870,7 +7916,7 @@ const ht = /* @__PURE__ */ function() {
7870
7916
  }) : this.handleTips(e.msg, !0, "error");
7871
7917
  }).catch((e) => {
7872
7918
  this.handleTips(e.msg, !0, "error");
7873
- }));
7919
+ })));
7874
7920
  },
7875
7921
  handleTips(e, t, s) {
7876
7922
  this.textTips = e, this.statusTips = t, this.typeTips = s, this.$refs.topTips.handleOpen();