ui-process-h5 1.0.5 → 1.0.6

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.
@@ -10921,8 +10921,10 @@ const lb = /* @__PURE__ */ function() {
10921
10921
  }
10922
10922
  },
10923
10923
  mounted() {
10924
- let e = document.createElement("input");
10925
- e.type = "file", e.className = "upload-input", e.style = "opacity: 0;position: absolute;", e.multiple = !0, e.addEventListener("change", this.handleSelect), document.getElementById("inputfile").appendChild(e), typeof nativeMethod < "u" && nativeMethod.vueSelectFile && nativeMethod.vueSelectFile(2, "*", this.limit || 1);
10924
+ this.$nextTick(() => {
10925
+ let e = document.createElement("input");
10926
+ e.type = "file", e.className = "upload-input", e.style = "opacity: 0;position: absolute;", e.multiple = !0, e.addEventListener("change", this.handleSelect), document.getElementById("inputfile").appendChild(e), typeof nativeMethod < "u" && nativeMethod.vueSelectFile && nativeMethod.vueSelectFile(2, "*", this.limit || 1);
10927
+ });
10926
10928
  },
10927
10929
  methods: {
10928
10930
  handleClick() {
@@ -11430,7 +11432,7 @@ const Ab = {
11430
11432
  saveMetaAnnexCmdList: e
11431
11433
  }
11432
11434
  );
11433
- console.log("asd", n), n.success ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.commentMsg = "") : this.handleTips("\u4E0A\u4F20\u5931\u8D25", !0, "error");
11435
+ console.log("asd", n), n.success ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.handleFinal(), this.commentMsg = "") : this.handleTips("\u4E0A\u4F20\u5931\u8D25", !0, "error");
11434
11436
  }
11435
11437
  },
11436
11438
  isOption(e) {
@@ -11438,6 +11440,9 @@ const Ab = {
11438
11440
  },
11439
11441
  handleTips(e, n, t) {
11440
11442
  this.textTips = e, this.statusTips = n, this.typeTips = t, this.$refs.topTips.handleOpen();
11443
+ },
11444
+ handleFinal() {
11445
+ this.param.endFunction && this.param.endFunction();
11441
11446
  }
11442
11447
  }
11443
11448
  }, ll = {};
@@ -11447,7 +11452,7 @@ var yb = /* @__PURE__ */ re(
11447
11452
  gb,
11448
11453
  !1,
11449
11454
  Cb,
11450
- "37d526c0",
11455
+ "4cdbfcc6",
11451
11456
  null,
11452
11457
  null
11453
11458
  );
@@ -11704,7 +11709,7 @@ const kb = {
11704
11709
  saveMetaAnnexCmdList: e
11705
11710
  }
11706
11711
  );
11707
- console.log("asd", n), n.success ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.commentMsg = "") : this.handleTips("\u4E0A\u4F20\u5931\u8D25", !0, "error");
11712
+ console.log("asd", n), n.success ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.handleFinal(), this.commentMsg = "") : this.handleTips("\u4E0A\u4F20\u5931\u8D25", !0, "error");
11708
11713
  }
11709
11714
  },
11710
11715
  isOption(e) {
@@ -11712,6 +11717,9 @@ const kb = {
11712
11717
  },
11713
11718
  handleTips(e, n, t) {
11714
11719
  this.textTips = e, this.statusTips = n, this.typeTips = t, this.$refs.topTips.handleOpen();
11720
+ },
11721
+ handleFinal() {
11722
+ this.param.endFunction && this.param.endFunction();
11715
11723
  }
11716
11724
  }
11717
11725
  }, ul = {};
@@ -11721,7 +11729,7 @@ var wb = /* @__PURE__ */ re(
11721
11729
  Ib,
11722
11730
  !1,
11723
11731
  xb,
11724
- "f56ea056",
11732
+ "d4be259c",
11725
11733
  null,
11726
11734
  null
11727
11735
  );
@@ -11945,7 +11953,7 @@ const Db = {
11945
11953
  this.uploadAttch();
11946
11954
  return;
11947
11955
  }
11948
- this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.commentMsg = "";
11956
+ this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.handleFinal(), this.commentMsg = "";
11949
11957
  } else
11950
11958
  this.handleTips(e.msg, !0, "error");
11951
11959
  });
@@ -11996,6 +12004,9 @@ const Db = {
11996
12004
  },
11997
12005
  handleTips(e, n, t) {
11998
12006
  this.textTips = e, this.statusTips = n, this.typeTips = t, this.$refs.topTips.handleOpen();
12007
+ },
12008
+ handleFinal() {
12009
+ this.param.endFunction && this.param.endFunction();
11999
12010
  }
12000
12011
  }
12001
12012
  }, pl = {};
@@ -12005,7 +12016,7 @@ var Sb = /* @__PURE__ */ re(
12005
12016
  Ob,
12006
12017
  !1,
12007
12018
  Bb,
12008
- "128c45f1",
12019
+ "457babef",
12009
12020
  null,
12010
12021
  null
12011
12022
  );
@@ -12240,7 +12251,7 @@ const Pb = {
12240
12251
  saveMetaAnnexCmdList: e
12241
12252
  }
12242
12253
  );
12243
- console.log("asd", n), n.success ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.commentMsg = "") : this.handleTips("\u4E0A\u4F20\u5931\u8D25", !0, "error");
12254
+ console.log("asd", n), n.success ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.handleFinal(), this.commentMsg = "") : this.handleTips("\u4E0A\u4F20\u5931\u8D25", !0, "error");
12244
12255
  }
12245
12256
  },
12246
12257
  isOption(e) {
@@ -12248,6 +12259,9 @@ const Pb = {
12248
12259
  },
12249
12260
  handleTips(e, n, t) {
12250
12261
  this.textTips = e, this.statusTips = n, this.typeTips = t, this.$refs.topTips.handleOpen();
12262
+ },
12263
+ handleFinal() {
12264
+ this.param.endFunction && this.param.endFunction();
12251
12265
  }
12252
12266
  }
12253
12267
  }, dl = {};
@@ -12257,7 +12271,7 @@ var Mb = /* @__PURE__ */ re(
12257
12271
  Fb,
12258
12272
  !1,
12259
12273
  Ub,
12260
- "96498720",
12274
+ "08bb7b66",
12261
12275
  null,
12262
12276
  null
12263
12277
  );
@@ -12485,7 +12499,7 @@ const jb = {
12485
12499
  saveMetaAnnexCmdList: e
12486
12500
  }
12487
12501
  );
12488
- console.log("asd", n), n.success ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.commentMsg = "") : this.handleTips("\u4E0A\u4F20\u5931\u8D25", !0, "error");
12502
+ console.log("asd", n), n.success ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.handleFinal(), this.commentMsg = "") : this.handleTips("\u4E0A\u4F20\u5931\u8D25", !0, "error");
12489
12503
  }
12490
12504
  },
12491
12505
  isOption(e) {
@@ -12493,6 +12507,9 @@ const jb = {
12493
12507
  },
12494
12508
  handleTips(e, n, t) {
12495
12509
  this.textTips = e, this.statusTips = n, this.typeTips = t, this.$refs.topTips.handleOpen();
12510
+ },
12511
+ handleFinal() {
12512
+ this.param.endFunction && this.param.endFunction();
12496
12513
  }
12497
12514
  }
12498
12515
  }, fl = {};
@@ -12502,7 +12519,7 @@ var Rb = /* @__PURE__ */ re(
12502
12519
  Lb,
12503
12520
  !1,
12504
12521
  Gb,
12505
- "82b06f42",
12522
+ "bd75d688",
12506
12523
  null,
12507
12524
  null
12508
12525
  );
@@ -12724,7 +12741,7 @@ const Yb = {
12724
12741
  saveMetaAnnexCmdList: e
12725
12742
  }
12726
12743
  );
12727
- console.log("asd", n), n.success ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.commentMsg = "") : this.handleTips("\u4E0A\u4F20\u5931\u8D25", !0, "error");
12744
+ console.log("asd", n), n.success ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.handleFinal(), this.commentMsg = "") : this.handleTips("\u4E0A\u4F20\u5931\u8D25", !0, "error");
12728
12745
  }
12729
12746
  },
12730
12747
  isOption(e) {
@@ -12732,6 +12749,9 @@ const Yb = {
12732
12749
  },
12733
12750
  handleTips(e, n, t) {
12734
12751
  this.textTips = e, this.statusTips = n, this.typeTips = t, this.$refs.topTips.handleOpen();
12752
+ },
12753
+ handleFinal() {
12754
+ this.param.endFunction && this.param.endFunction();
12735
12755
  }
12736
12756
  }
12737
12757
  }, hl = {};
@@ -12741,7 +12761,7 @@ var Wb = /* @__PURE__ */ re(
12741
12761
  Hb,
12742
12762
  !1,
12743
12763
  Zb,
12744
- "0989a850",
12764
+ "c41b6496",
12745
12765
  null,
12746
12766
  null
12747
12767
  );
@@ -12784,7 +12804,6 @@ var Xb = function() {
12784
12804
  type: e.typeTips
12785
12805
  }
12786
12806
  }), t("TopPopup", {
12787
- ref: "TopPopup",
12788
12807
  attrs: {
12789
12808
  visible: e.visible,
12790
12809
  titleText: "\u9009\u4EBA",
@@ -12810,7 +12829,7 @@ var Xb = function() {
12810
12829
  }
12811
12830
  }, "departPerson", e.entity, !1))], 1)], 2);
12812
12831
  }, $b = [];
12813
- const e0 = {
12832
+ const eE = {
12814
12833
  name: "restart",
12815
12834
  props: {
12816
12835
  param: {
@@ -12848,7 +12867,6 @@ const e0 = {
12848
12867
  entity: {
12849
12868
  source: "0",
12850
12869
  type: "0",
12851
- request: this.param.request,
12852
12870
  businessId: this.param.businessKey,
12853
12871
  codeType: [3],
12854
12872
  multiple: !0
@@ -12883,7 +12901,7 @@ const e0 = {
12883
12901
  multiNodeParticipant: this.multiNodeParticipant
12884
12902
  };
12885
12903
  this.handleTips("", !0, "loading"), await this.param.request.post("/aws/pis/reactivate", e).then((n) => {
12886
- n.code == 200 ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success")) : this.handleTips(n.msg, !0, "error");
12904
+ n.code == 200 ? (this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), this.handleFinal()) : this.handleTips(n.msg, !0, "error");
12887
12905
  });
12888
12906
  },
12889
12907
  handleCallback(e) {
@@ -12899,27 +12917,30 @@ const e0 = {
12899
12917
  },
12900
12918
  handleTips(e, n, t) {
12901
12919
  this.textTips = e, this.statusTips = n, this.typeTips = t, this.$refs.topTips.handleOpen();
12920
+ },
12921
+ handleFinal() {
12922
+ this.param.endFunction && this.param.endFunction();
12902
12923
  }
12903
12924
  }
12904
12925
  }, vl = {};
12905
- var t0 = /* @__PURE__ */ re(
12906
- e0,
12926
+ var tE = /* @__PURE__ */ re(
12927
+ eE,
12907
12928
  Xb,
12908
12929
  $b,
12909
12930
  !1,
12910
- n0,
12911
- "4926e7ed",
12931
+ nE,
12932
+ "38b37065",
12912
12933
  null,
12913
12934
  null
12914
12935
  );
12915
- function n0(e) {
12936
+ function nE(e) {
12916
12937
  for (let n in vl)
12917
12938
  this[n] = vl[n];
12918
12939
  }
12919
- const i0 = /* @__PURE__ */ function() {
12920
- return t0.exports;
12940
+ const iE = /* @__PURE__ */ function() {
12941
+ return tE.exports;
12921
12942
  }();
12922
- const s0 = {
12943
+ const sE = {
12923
12944
  name: "TopProcess",
12924
12945
  components: {
12925
12946
  TopTab: Cm,
@@ -12938,7 +12959,6 @@ const s0 = {
12938
12959
  formData: { default: {}, type: Object },
12939
12960
  getVarsStatus: { default: !0, type: Boolean },
12940
12961
  getVars: { default: null, type: Function },
12941
- linkUrl: { default: null, type: Function },
12942
12962
  request: {
12943
12963
  type: Function,
12944
12964
  default: () => ({ get: () => {
@@ -12949,6 +12969,10 @@ const s0 = {
12949
12969
  appId: {
12950
12970
  type: String,
12951
12971
  default: ""
12972
+ },
12973
+ endFunction: {
12974
+ type: Function,
12975
+ default: null
12952
12976
  }
12953
12977
  },
12954
12978
  data() {
@@ -13174,7 +13198,7 @@ const s0 = {
13174
13198
  let s;
13175
13199
  this.getVars && (s = this.getVars()), await this.handleGetSimulation(s);
13176
13200
  }
13177
- t && (this.operationParam.request = t), t && (this.annexlabel = i), this.titleText = n, this.operationCom = e, this.operationParam.annex = i, this.operationParam.subjectId = this.formData.subjectId, this.operationParam.processInstId = this.processIntId, this.operationParam.taskInstId = this.taskNode[0].taskId, this.operationParam.actionName = n, this.operationParam.formData = this.formData, this.operationParam.nextNodeData = this.nextNodeData, this.operationParam.outGatewayUserTaskModel = this.outGatewayUserTaskModel, this.operationParam.taskNode = this.taskNode, this.operationParam.appId = this.processStatus.appId;
13201
+ t && (this.operationParam.request = t), t && (this.annexlabel = i), this.titleText = n, this.operationCom = e, this.operationParam.annex = i, this.operationParam.subjectId = this.formData.subjectId, this.operationParam.processInstId = this.processIntId, this.operationParam.taskInstId = this.taskNode[0].taskId, this.operationParam.actionName = n, this.operationParam.formData = this.formData, this.operationParam.nextNodeData = this.nextNodeData, this.operationParam.outGatewayUserTaskModel = this.outGatewayUserTaskModel, this.operationParam.taskNode = this.taskNode, this.operationParam.appId = this.processStatus.appId, this.operationParam.endFunction = this.endFunction;
13178
13202
  },
13179
13203
  handleCancel() {
13180
13204
  console.log("handleCancel");
@@ -13244,7 +13268,7 @@ const s0 = {
13244
13268
  "getProcessInstanceByBusinessKey:::",
13245
13269
  t
13246
13270
  ), this.getFirstProcessNode = t.data[0], this.operationParam.getFirstProcessNode = this.getFirstProcessNode, this.operationParam.formData = this.formData, this.handleTips("", !1, "success"), this.$refs.TopPopup1.handleOpen(), this.handleActionClose(), this.showOperation(
13247
- i0,
13271
+ iE,
13248
13272
  "\u91CD\u65B0\u63D0\u4EA4",
13249
13273
  this.request
13250
13274
  );
@@ -13263,7 +13287,7 @@ const s0 = {
13263
13287
  }
13264
13288
  }
13265
13289
  };
13266
- var r0 = function() {
13290
+ var rE = function() {
13267
13291
  var e = this, n = e.$createElement, t = e._self._c || n;
13268
13292
  return t("div", [t("div", {
13269
13293
  staticClass: "process-warp"
@@ -13274,11 +13298,6 @@ var r0 = function() {
13274
13298
  }, [t("div", {
13275
13299
  staticClass: "process-mli-name"
13276
13300
  }, [e._v("\u6D41\u7A0B\u72B6\u6001")]), t("div", {
13277
- staticClass: "process-mli-name",
13278
- on: {
13279
- click: e.handleTest
13280
- }
13281
- }, [e._v("\u6D4B\u8BD5")]), t("div", {
13282
13301
  staticClass: "process-mli-value"
13283
13302
  }, [e.processStatus.status || e.processStatus.bizStatusName ? t("div", {
13284
13303
  staticClass: "process-mliv-dd",
@@ -13421,27 +13440,27 @@ var r0 = function() {
13421
13440
  click: e.handleActionClose
13422
13441
  }
13423
13442
  })], 1);
13424
- }, a0 = [];
13443
+ }, aE = [];
13425
13444
  const ml = {};
13426
- var o0 = /* @__PURE__ */ re(
13427
- s0,
13428
- r0,
13429
- a0,
13445
+ var oE = /* @__PURE__ */ re(
13446
+ sE,
13447
+ rE,
13448
+ aE,
13430
13449
  !1,
13431
- c0,
13432
- "b1013e6a",
13450
+ cE,
13451
+ "2ebcf754",
13433
13452
  null,
13434
13453
  null
13435
13454
  );
13436
- function c0(e) {
13455
+ function cE(e) {
13437
13456
  for (let n in ml)
13438
13457
  this[n] = ml[n];
13439
13458
  }
13440
- const l0 = /* @__PURE__ */ function() {
13441
- return o0.exports;
13459
+ const lE = /* @__PURE__ */ function() {
13460
+ return oE.exports;
13442
13461
  }();
13443
13462
  export {
13444
- l0 as TopProcess,
13463
+ lE as TopProcess,
13445
13464
  lb as TopSumbitPopup,
13446
13465
  hm as ViewAttchList,
13447
13466
  $t as attchViews