ddy-process-h5 1.0.1-rc.2.91 → 1.0.1-rc.2.95

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": "ddy-process-h5",
3
- "version": "1.0.1-rc.2.91",
3
+ "version": "1.0.1-rc.2.95",
4
4
  "description": "> app端 流程插件",
5
5
  "main": "./ddy-process-h5.umd.cjs",
6
6
  "style": "./style.css",
@@ -15556,7 +15556,7 @@ function yb(e) {
15556
15556
  "YYYY-MM-DD HH:mm"
15557
15557
  )}</span><br>`), o && o.length > 0) {
15558
15558
  let f, { type: C, fullMessage: I } = o.find((Q) => Q.action == "AddComment") || {};
15559
- C == "assigneeComment" && (f = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + I, l.class = "nodeWarn"), C == "dispatchComment" && (f = "\u8C03\u5EA6\uFF1A" + I, l.class = "nodeWarn"), C == "transferComment" && (f = "\u8F6C\u529E\uFF1A" + I, l.class = "nodeWarn"), C == "delegateComment" && (f = "\u59D4\u6258\uFF1A" + I, l.class = "nodeWarn"), C == "rollbackComment" && (f = "\u9A73\u56DE\uFF1A" + I, l.class = "nodeError"), C == "terminateComment" && (f = "\u7EC8\u6B62\uFF1A" + I, l.class = "nodeError"), C == "addMultiInstanceComment" && (f = "\u52A0\u7B7E\uFF1A" + I, l.class = "nodeWarn"), C == "deleteMultiInstanceComment" && (f = "\u51CF\u7B7E\uFF1A" + I, l.class = "nodeError"), C == "withdrawComment" && (f = "\u64A4\u9500\uFF1A" + I, l.class = "nodeWarn"), C == "deleteProcessComment" && (f = "\u5220\u9664\u6D41\u7A0B\uFF1A" + I, l.class = "nodeError"), C == "cancelProcessComment" && (f = "\u64A4\u9500\u6D41\u7A0B\uFF1A" + I, l.class = "nodeError"), C == "comment" && (f = "\u5BA1\u6279\uFF1A" + I, l.class = "nodeSuccess"), f && (p += `<span title='${f}'>${f}</span>`);
15559
+ C == "assigneeComment" && (f = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + I, l.class = "nodeWarn"), C == "dispatchComment" && (f = "\u8C03\u5EA6\uFF1A" + I, l.class = "nodeWarn"), C == "transferComment" && (f = "\u8F6C\u529E\uFF1A" + I, l.class = "nodeWarn"), C == "delegateComment" && (f = "\u59D4\u6258\uFF1A" + I, l.class = "nodeWarn"), C == "rollbackComment" && (f = "\u6307\u5B9A\u56DE\u9000\uFF1A" + I, l.class = "nodeError"), C == "terminateComment" && (f = "\u7EC8\u6B62\uFF1A" + I, l.class = "nodeError"), C == "addMultiInstanceComment" && (f = "\u52A0\u7B7E\uFF1A" + I, l.class = "nodeWarn"), C == "deleteMultiInstanceComment" && (f = "\u51CF\u7B7E\uFF1A" + I, l.class = "nodeError"), C == "withdrawComment" && (f = "\u64A4\u9500\uFF1A" + I, l.class = "nodeWarn"), C == "deleteProcessComment" && (f = "\u5220\u9664\u6D41\u7A0B\uFF1A" + I, l.class = "nodeError"), C == "cancelProcessComment" && (f = "\u62D2\u7EDD\uFF1A" + I, l.class = "nodeError"), C == "comment" && (f = "\u5BA1\u6279\uFF1A" + I, l.class = "nodeSuccess"), f && (p += `<span title='${f}'>${f}</span>`);
15560
15560
  }
15561
15561
  l.tooltip = p;
15562
15562
  }
@@ -17277,14 +17277,18 @@ const up = /* @__PURE__ */ function() {
17277
17277
  this.$refs.TopDownSelect.handleExpand();
17278
17278
  },
17279
17279
  async handleOption() {
17280
- this.checkedItem = {}, this.firstPerson = [], this.personList = [], !(this.selfList && this.selfList.length) && (this.handleTips("", !0, "loading"), await this.request.post("/bladex/blade-workflow/repository/getProcessDefList", {
17280
+ if (this.checkedItem = {}, this.firstPerson = [], this.personList = [], this.selfList && this.selfList.length)
17281
+ return;
17282
+ this.handleTips("", !0, "loading");
17283
+ let e = {
17281
17284
  businessCode: this.businessType,
17282
17285
  appId: this.appId,
17283
17286
  processGroupName: this.processNameData,
17284
17287
  ...this.extraParams
17285
- }).then((e) => {
17286
- e.code == 200 && (this.option = e.data, e.data && e.data.length ? (this.handleTips("", !1, "success"), (this.isSelectFirst || e.data.length == 1) && (this.checkedItem = this.option[0], this.selectDefaultValue = this.checkedItem.id, this.$emit("change", this.checkedItem, this.option), this.handlefirstNode(this.checkedItem.id))) : (this.handleTips("\u6682\u65E0\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F", !0, "error"), this.option = []), this.businessDeptIdData || this.getNodeUserDept());
17287
- }));
17288
+ };
17289
+ this.processNameData && delete e.processGroupName, await this.request.post("/bladex/blade-workflow/repository/getProcessDefList", e).then((i) => {
17290
+ i.code == 200 && (this.option = i.data, i.data && i.data.length ? (this.handleTips("", !1, "success"), (this.isSelectFirst || i.data.length == 1) && (this.checkedItem = this.option[0], this.selectDefaultValue = this.checkedItem.id, this.$emit("change", this.checkedItem, this.option), this.handlefirstNode(this.checkedItem.id))) : (this.handleTips("\u6682\u65E0\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F", !0, "error"), this.option = []), this.businessDeptIdData || this.getNodeUserDept());
17291
+ });
17288
17292
  },
17289
17293
  async getProcessInstance() {
17290
17294
  },
@@ -23326,7 +23330,7 @@ function OC(e) {
23326
23330
  }
23327
23331
  const zC = /* @__PURE__ */ function() {
23328
23332
  return MC.exports;
23329
- }(), BC = "ddy-process-h5", RC = "1.0.1-rc.2.91", LC = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", FC = "./ddy-process-h5.umd.cjs", VC = "./style.css", jC = "module", QC = {
23333
+ }(), BC = "ddy-process-h5", RC = "1.0.1-rc.2.95", LC = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", FC = "./ddy-process-h5.umd.cjs", VC = "./style.css", jC = "module", QC = {
23330
23334
  ".": {
23331
23335
  import: "./ddy-process-h5.js",
23332
23336
  require: "./ddy-process-h5.umd.cjs"