ddy-process-h5 1.0.1-rc.2.35 → 1.0.1-rc.2.37

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.
@@ -15257,13 +15257,13 @@ const za = /* @__PURE__ */ Ce(sy, [["render", hy], ["__scopeId", "data-v-7ee61f3
15257
15257
  multiNodeParticipant: this.multiNodeParticipant,
15258
15258
  firstNodeId: this.firstPerson && this.firstPerson.length > 0 ? this.firstPerson[0].id : "",
15259
15259
  vars: {
15260
- processBusinessKey: this.extraParams.businessKey,
15260
+ processBusinessKey: this.id || this.extraParams.businessKey,
15261
15261
  showType: "all",
15262
15262
  subjectId: this.businessSubjectId,
15263
15263
  deptId: this.businessDeptIdData,
15264
15264
  businessType: this.businessType,
15265
15265
  name: this.extraParams.name,
15266
- title: this.extraParams.title,
15266
+ title: this.title || this.extraParams.title,
15267
15267
  applyUserId: this.extraParams.applyUserId
15268
15268
  }
15269
15269
  };
@@ -19613,7 +19613,7 @@ const n1 = /* @__PURE__ */ Ce(Ub, [["render", s1], ["__scopeId", "data-v-8c1d1ca
19613
19613
  const n = ((this.ProcessInsObj.process || {}).variables || {}).deptId;
19614
19614
  this.deptId = n;
19615
19615
  const r = (this.ProcessInsObj.process || {}).taskId;
19616
- this.absoluteTaskId = r, this.approvalData = (i.data || {}).flow || [], this.processXml = ((i.data || {}).process || {}).xml || "";
19616
+ this.absoluteTaskId = r, this.approvalData = (i.data || {}).flow || [], this.processXml = ((i.data || {}).process || {}).xml || "", this.handleGetProcessStatus();
19617
19617
  }
19618
19618
  }), this.getCurrentProcess(), this.getUserInfo());
19619
19619
  },
@@ -19984,19 +19984,21 @@ const n1 = /* @__PURE__ */ Ce(Ub, [["render", s1], ["__scopeId", "data-v-8c1d1ca
19984
19984
  this.taskNode = [].concat(e), this.taskNodeShow = !1, this.actionShow = !1, this.handleGetProcessStatus(), this.handleGetUserTaskModel();
19985
19985
  },
19986
19986
  handleGetProcessStatus() {
19987
- this.handleTips("", !0, "loading"), this.request.get("/aws/pis/getProcessStatus", {
19987
+ this.handleTips("", !0, "loading"), this.request.get("/bladex/blade-workflow/repository/findTaskTodoInfoByTaskId", {
19988
19988
  params: {
19989
- processInstId: this.processInstId,
19990
- taskId: this.taskNode.length ? this.taskNode[0].taskId : ""
19989
+ taskId: this.absoluteTaskId || ""
19991
19990
  }
19992
19991
  }).then((e) => {
19993
- e.code == 200 && (this.processStatus = e.data, this.$emit(
19994
- "processStatus",
19995
- this.processStatus,
19996
- this.taskNode
19997
- ), this.processStatus.userNodeGroup && this.processStatus.userNodeGroup[this.taskNode[0].nodeName] && this.processStatus.userNodeGroup[this.taskNode[0].nodeName].length > 1 ? this.canCheck = !1 : this.canCheck = !0), this.handleGetHeight();
19992
+ e.code == 200 && (this.processStatus = {
19993
+ ...e.data || {},
19994
+ ...e.data.vars ? e.data.vars : {},
19995
+ bizStatusName: e.data.taskState,
19996
+ currUserName: e.data.currentName,
19997
+ allUserNames: e.data.currentName
19998
+ }), this.handleGetHeight(), this.handleTips("", !1, "success");
19998
19999
  }).catch((e) => {
19999
20000
  this.handleGetHeight();
20001
+ }).finally(() => {
20000
20002
  });
20001
20003
  },
20002
20004
  handleGetUserTaskModel() {