ddy-process-h5 1.0.1-rc.2.33 → 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.
- package/package.json +1 -1
- package/v2/ddy-process-h5.js +263 -261
- package/v2/ddy-process-h5.umd.cjs +9 -9
- package/v2.7/ddy-process-h5.js +17 -15
- package/v2.7/ddy-process-h5.umd.cjs +1 -1
- package/v3/ddy-process-h5.js +17 -15
- package/v3/ddy-process-h5.umd.cjs +1 -1
package/v3/ddy-process-h5.js
CHANGED
|
@@ -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
|
},
|
|
@@ -19753,10 +19753,10 @@ const n1 = /* @__PURE__ */ Ce(Ub, [["render", s1], ["__scopeId", "data-v-8c1d1ca
|
|
|
19753
19753
|
if (console.log(e, "res"), e.code == 200) {
|
|
19754
19754
|
const t = {};
|
|
19755
19755
|
if (t.currentProcessOriginData = e.data || [], t.currentProcessOriginData.length > 0) {
|
|
19756
|
-
let i = t.currentProcessOriginData[0], s = (i.currentName || "").split(",");
|
|
19757
|
-
s = s.map((
|
|
19758
|
-
realName:
|
|
19759
|
-
avatar: "",
|
|
19756
|
+
let i = t.currentProcessOriginData[0], s = (i.currentName || "").split(","), n = (i.avatar || "").split(",");
|
|
19757
|
+
s = s.map((r, o) => ({
|
|
19758
|
+
realName: r,
|
|
19759
|
+
avatar: n[o] || "",
|
|
19760
19760
|
phone: "",
|
|
19761
19761
|
ancestorNames: []
|
|
19762
19762
|
})), t.currentMan = s, t.currentFirstNode = i, this.currentProcess = t;
|
|
@@ -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("/
|
|
19987
|
+
this.handleTips("", !0, "loading"), this.request.get("/bladex/blade-workflow/repository/findTaskTodoInfoByTaskId", {
|
|
19988
19988
|
params: {
|
|
19989
|
-
|
|
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 =
|
|
19994
|
-
|
|
19995
|
-
|
|
19996
|
-
|
|
19997
|
-
|
|
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() {
|