ddy-process-h5 1.0.1-rc.3.29 → 1.0.1-rc.3.33

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.3.29",
3
+ "version": "1.0.1-rc.3.33",
4
4
  "description": "> app端 流程插件",
5
5
  "main": "./ddy-process-h5.umd.cjs",
6
6
  "style": "./style.css",
@@ -20601,7 +20601,7 @@ var mC = function() {
20601
20601
  }
20602
20602
  }, [e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]) : e._e()])]) : e._e(), t("div", {
20603
20603
  staticClass: "process-popup-content-person"
20604
- }, [e.nextNodeData.length == 1 && e.nextNodeData[0].nodeType == "endEvent" ? t("div", [e._v(" \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")]) : e.nextNodeData && e.nextNodeData.nodeType == "endEvent" ? t("div", [e._v(" \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")]) : t("TreePerson", {
20604
+ }, [e.nextNodeData.length == 1 && e.nextNodeData[0].nodeType == "endEvent" ? t("div", [e._v(" \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")]) : e.nextNodeData && e.nextNodeData.nodeType == "endEvent" ? t("div", [e._v(" \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")]) : e.param.ProcessInsObj.taskParentId ? e._e() : t("TreePerson", {
20605
20605
  ref: "TreePersonRef",
20606
20606
  attrs: {
20607
20607
  items: e.nextNodeData,
@@ -21336,7 +21336,7 @@ var vC = /* @__PURE__ */ ve(
21336
21336
  gC,
21337
21337
  !1,
21338
21338
  AC,
21339
- "2b4d2ad8",
21339
+ "5ea02048",
21340
21340
  null,
21341
21341
  null
21342
21342
  );
@@ -22830,6 +22830,8 @@ const GC = /* @__PURE__ */ function() {
22830
22830
  ), this.cctaskTopPopupTitle = e;
22831
22831
  },
22832
22832
  async getNextNode(e) {
22833
+ if (this.ProcessInsObj.process && (this.ProcessInsObj.process || {}).taskParentId)
22834
+ return !0;
22833
22835
  let i;
22834
22836
  try {
22835
22837
  i = await this.request.get("/bladex/blade-workflow/tis/simulation", {
@@ -22845,6 +22847,9 @@ const GC = /* @__PURE__ */ function() {
22845
22847
  i.code == 200 && !i.data.evaluation && (this.incomingConditionItemList = [], t.branches = await this.getOutgoingProcessNode(
22846
22848
  this.absoluteTaskId,
22847
22849
  i.data.id
22850
+ )), i.code == 200 && i.data.evaluation && i.data.branches && i.data.branches.length > 0 && i.data.branches[0].nodeType != "userTask" && (this.incomingConditionItemList = [], t.branches = await this.getOutgoingProcessNode(
22851
+ this.absoluteTaskId,
22852
+ i.data.branches[0].id
22848
22853
  )), t = await this.getSelectFixData(t, e), this.nextTaskNode = t, this.operationParam = {
22849
22854
  ...this.operationParam,
22850
22855
  nextNodeData: (this.nextTaskNode || {}).id ? [this.nextTaskNode] : []
@@ -22984,7 +22989,7 @@ const GC = /* @__PURE__ */ function() {
22984
22989
  }) : this.$refs.topTips.handleClose();
22985
22990
  },
22986
22991
  async showOperation(e, i, t, s, n) {
22987
- switch (this.beforeFunction && (this.operationParam.beforeFunction = this.beforeFunction), this.operationParam.request = this.request, this.annexlabel = s || "fasdfsafdsa", this.titleText = i, this.operationCom = e, this.operationComKey = Date.now(), this.operationParam.selChildrenItems = {}, this.operationParam.annex = s || "fasdfsafdsa", this.operationParam.subjectId = this.formData.subjectId, this.operationParam.processInstId = this.processIntId, this.operationParam.taskInstId = (this.ProcessInsObj.process || {}).taskId || "", this.operationParam.variables = (this.ProcessInsObj.process || {}).variables || {}, this.operationParam.extendedProperties = (this.ProcessInsObj.form || {}).extendedProperties || [], this.operationParam.actionName = i, this.operationParam.formData = this.formData, this.operationParam.ProcessInsObj = this.ProcessInsObj, this.operationParam.userInfo = this.user, this.nextTaskNode, this.operationParam.nextNodeData = (this.nextTaskNode || {}).id ? [this.nextTaskNode] : [], this.operationParam.incomingConditionItemList = this.incomingConditionItemList, this.operationParam.outGatewayUserTaskModel = this.outGatewayUserTaskModel, this.operationParam.taskNode = this.taskNode, this.operationParam.appId = this.processStatus.appId, this.operationParam.endFunction = this.endFunction, this.operationParam.isDocument = this.isDocument, this.operationParam.isQuickReply = this.isQuickReply, this.operationParam.isMsg = this.isMsg, this.operationParam.isRequire = this.isRequire, this.operationParam.canCheck = this.canCheck, this.operationParam.isCheckType = this.isCheckType, this.operationParam.isOrgType = this.isOrgType, this.operationParam.isCodeType = this.isCodeType, n) {
22992
+ switch (this.beforeFunction && (this.operationParam.beforeFunction = this.beforeFunction), this.operationParam.request = this.request, this.annexlabel = s || "fasdfsafdsa", this.titleText = i, this.operationCom = e, this.operationComKey = Date.now(), this.operationParam.selChildrenItems = {}, this.operationParam.annex = s || "fasdfsafdsa", this.operationParam.subjectId = this.formData.subjectId, this.operationParam.processInstId = this.processIntId, this.operationParam.taskInstId = (this.ProcessInsObj.process || {}).taskId || "", this.operationParam.variables = (this.ProcessInsObj.process || {}).variables || {}, this.operationParam.extendedProperties = (this.ProcessInsObj.form || {}).extendedProperties || [], this.operationParam.actionName = i, this.operationParam.formData = this.formData, this.operationParam.ProcessInsObj = this.ProcessInsObj.process || {}, this.operationParam.userInfo = this.user, this.nextTaskNode, this.operationParam.nextNodeData = (this.nextTaskNode || {}).id ? [this.nextTaskNode] : [], this.operationParam.incomingConditionItemList = this.incomingConditionItemList, this.operationParam.outGatewayUserTaskModel = this.outGatewayUserTaskModel, this.operationParam.taskNode = this.taskNode, this.operationParam.appId = this.processStatus.appId, this.operationParam.endFunction = this.endFunction, this.operationParam.isDocument = this.isDocument, this.operationParam.isQuickReply = this.isQuickReply, this.operationParam.isMsg = this.isMsg, this.operationParam.isRequire = this.isRequire, this.operationParam.canCheck = this.canCheck, this.operationParam.isCheckType = this.isCheckType, this.operationParam.isOrgType = this.isOrgType, this.operationParam.isCodeType = this.isCodeType, n) {
22988
22993
  case "\u6284\u9001":
22989
22994
  this.operationParam.visible = !0, this.cctaskTopPopup = !0;
22990
22995
  break;
@@ -23362,7 +23367,7 @@ function WC(e) {
23362
23367
  }
23363
23368
  const cw = /* @__PURE__ */ function() {
23364
23369
  return KC.exports;
23365
- }(), YC = "ddy-process-h5", zC = "1.0.1-rc.3.29", XC = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", ZC = "./ddy-process-h5.umd.cjs", $C = "./style.css", ew = "module", tw = {
23370
+ }(), YC = "ddy-process-h5", zC = "1.0.1-rc.3.33", XC = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", ZC = "./ddy-process-h5.umd.cjs", $C = "./style.css", ew = "module", tw = {
23366
23371
  ".": {
23367
23372
  import: "./ddy-process-h5.js",
23368
23373
  require: "./ddy-process-h5.umd.cjs"