ddy-process-h5 1.0.1-rc.2.93 → 1.0.1-rc.2.99

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.93",
3
+ "version": "1.0.1-rc.2.99",
4
4
  "description": "> app端 流程插件",
5
5
  "main": "./ddy-process-h5.umd.cjs",
6
6
  "style": "./style.css",
@@ -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
  },
@@ -22079,6 +22083,7 @@ const bC = {
22079
22083
  }), await this.param.request.post("/bladex/blade-workflow/tis/createCCTask", {
22080
22084
  processInstId: this.param.processInstId,
22081
22085
  taskId: this.param.taskInstId,
22086
+ title: "",
22082
22087
  participant: e
22083
22088
  }).then((i) => {
22084
22089
  i.code == 200 ? (this.$emit("handleClosecctaskTopPopup"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), window.top.postMessage("success", "*"), this.handleFinal()) : this.handleTips(i.msg, !0, "error");
@@ -23326,7 +23331,7 @@ function OC(e) {
23326
23331
  }
23327
23332
  const zC = /* @__PURE__ */ function() {
23328
23333
  return MC.exports;
23329
- }(), BC = "ddy-process-h5", RC = "1.0.1-rc.2.93", LC = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", FC = "./ddy-process-h5.umd.cjs", VC = "./style.css", jC = "module", QC = {
23334
+ }(), BC = "ddy-process-h5", RC = "1.0.1-rc.2.99", LC = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", FC = "./ddy-process-h5.umd.cjs", VC = "./style.css", jC = "module", QC = {
23330
23335
  ".": {
23331
23336
  import: "./ddy-process-h5.js",
23332
23337
  require: "./ddy-process-h5.umd.cjs"