ddy-process-h5 1.0.1-rc.2.47 → 1.0.1-rc.2.49
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 +23 -27
- package/v2/ddy-process-h5.umd.cjs +1 -1
- package/v2/style.css +1 -1
- package/v2.7/ddy-process-h5.js +266 -270
- package/v2.7/ddy-process-h5.umd.cjs +1 -1
- package/v2.7/style.css +1 -1
- package/v3/ddy-process-h5.js +23 -27
- package/v3/ddy-process-h5.umd.cjs +11 -11
- package/v3/style.css +1 -1
package/package.json
CHANGED
package/v2/ddy-process-h5.js
CHANGED
|
@@ -19283,7 +19283,7 @@ const O0 = {
|
|
|
19283
19283
|
};
|
|
19284
19284
|
t.userTaskModelDTO.routeTxt.postList.map((n) => {
|
|
19285
19285
|
s.postIds.push(n.postId);
|
|
19286
|
-
}),
|
|
19286
|
+
}), this.param.request.post("/auth/user/getTaskAuditor", {
|
|
19287
19287
|
deptId: this.param.taskNode && this.param.taskNode[0].vars ? this.param.taskNode[0].vars._businessDeptId : "",
|
|
19288
19288
|
taskPostIds: [s]
|
|
19289
19289
|
}).then((n) => {
|
|
@@ -19350,12 +19350,12 @@ const O0 = {
|
|
|
19350
19350
|
i && i.length && i.forEach((t, s) => {
|
|
19351
19351
|
t.participantList && t.participantList.length ? t.participantList.forEach((n, r) => {
|
|
19352
19352
|
this.multiNodeParticipant[t.id] || (this.multiNodeParticipant[t.id] = []), this.partNode[t.id] || (this.partNode[t.id] = []), this.partNodeArr[t.id] || (this.partNodeArr[t.id] = []), this.multiNodeParticipant[t.id].includes(n.id) || this.multiNodeParticipant[t.id].push(n.id), this.partNode[t.id].includes(n.name) || this.partNode[t.id].push(n.name), this.partNodeArr[t.id].find((a) => a.name == n.name) || this.partNodeArr[t.id].push(n);
|
|
19353
|
-
}) : t.id && t.humanPerformerName == "\u56FA\u5B9A\u4EBA\u5458" &&
|
|
19353
|
+
}) : t.id && t.humanPerformerName == "\u56FA\u5B9A\u4EBA\u5458" && this.param.request.post(
|
|
19354
19354
|
`/aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,
|
|
19355
19355
|
{ userTaskDefIds: [t.id] }
|
|
19356
19356
|
).then((n) => {
|
|
19357
19357
|
n.code == 200 && (this.partNode[t.id] = {}, this.partNode[t.id] = n.data[t.id].split(";"));
|
|
19358
|
-
})
|
|
19358
|
+
}), this.nodeType == "outing" && (this.onVarsData && (this.gateVars = {
|
|
19359
19359
|
...this.gateVars,
|
|
19360
19360
|
...this.onVarsData
|
|
19361
19361
|
}), this.$emit("onVars", this.gateVars));
|
|
@@ -19410,7 +19410,7 @@ const O0 = {
|
|
|
19410
19410
|
id: s.id,
|
|
19411
19411
|
subjectId: s.subjectId
|
|
19412
19412
|
});
|
|
19413
|
-
}),
|
|
19413
|
+
}), this.entity = {
|
|
19414
19414
|
source: "1",
|
|
19415
19415
|
type: this.param.isCheckType || "0",
|
|
19416
19416
|
orgType: this.param.isOrgType || [0],
|
|
@@ -19480,7 +19480,7 @@ const O0 = {
|
|
|
19480
19480
|
id: t.id,
|
|
19481
19481
|
subjectId: t.subjectId
|
|
19482
19482
|
});
|
|
19483
|
-
}),
|
|
19483
|
+
}), this.entity = {
|
|
19484
19484
|
source: "1",
|
|
19485
19485
|
type: this.param.isCheckType || "0",
|
|
19486
19486
|
orgType: this.param.isOrgType || [0],
|
|
@@ -19515,7 +19515,7 @@ var B0 = /* @__PURE__ */ ge(
|
|
|
19515
19515
|
M0,
|
|
19516
19516
|
!1,
|
|
19517
19517
|
R0,
|
|
19518
|
-
"
|
|
19518
|
+
"4064b34c",
|
|
19519
19519
|
null,
|
|
19520
19520
|
null
|
|
19521
19521
|
);
|
|
@@ -19923,7 +19923,7 @@ const j0 = {
|
|
|
19923
19923
|
onMultiNode(e, i = "") {
|
|
19924
19924
|
i && Object.prototype.toString.call(e) == "[object Object]" ? Object.prototype.toString.call(this.multiNode) == "[object Object]" ? Object.keys(e).forEach((t) => {
|
|
19925
19925
|
e[t] || (e[t] = [""]), e[t] && e[t].length >= 1 ? this.multiNode[t] = e[t].filter((s) => s) : this.multiNode[t] = e[t];
|
|
19926
|
-
}) : this.multiNode = e : this.multiNode = e,
|
|
19926
|
+
}) : this.multiNode = e : this.multiNode = e, this.$emit("onMultiNode", this.multiNode);
|
|
19927
19927
|
},
|
|
19928
19928
|
onMultiNodeObj(e) {
|
|
19929
19929
|
this.partNodeArr = e, this.$emit("onMultiNodeObj", this.partNodeArr);
|
|
@@ -19941,14 +19941,14 @@ const j0 = {
|
|
|
19941
19941
|
},
|
|
19942
19942
|
handleMultiFirstNodeClick(e, i = []) {
|
|
19943
19943
|
let t = e;
|
|
19944
|
-
if (
|
|
19944
|
+
if (t && t.nodeInfoDTO && (t = t.nodeInfoDTO), this.firstMultiCheck.includes(t.id)) {
|
|
19945
19945
|
this.firstMultiCheck = this.firstMultiCheck.filter((s) => s != t.id), this.firstMultiCheckItem = this.firstMultiCheckItem.filter((s) => s.id != t.id), this.firstMultiType = this.firstMultiType.filter((s) => s != t.nodeType), delete this.param.selChildrenItems[t.id];
|
|
19946
19946
|
return;
|
|
19947
19947
|
}
|
|
19948
19948
|
if (t) {
|
|
19949
19949
|
this.firstMultiCheck.push(t.id), this.firstMultiCheckItem.push(t), this.firstMultiType.push(t.nodeType);
|
|
19950
19950
|
let s = [t];
|
|
19951
|
-
t.branches && t.branches.length ? (this.childrenItems = t.branches, this.childrenEndItems = !1) : (this.childrenItems = [t], this.childrenEndItems = !0),
|
|
19951
|
+
t.branches && t.branches.length ? (this.childrenItems = t.branches, this.childrenEndItems = !1) : (this.childrenItems = [t], this.childrenEndItems = !0), i.forEach((n) => {
|
|
19952
19952
|
delete this.param.selChildrenItems[n.id], this.param.selChildrenItems[t.id] = (this.childrenItems || []).map((r) => r.nodeInfoDTO || r);
|
|
19953
19953
|
}), this.gateVars = {}, s.forEach((n) => {
|
|
19954
19954
|
(!this.param || !this.param.vars) && (this.param.vars = {}), Array.isArray(n.incomingConditionItemList) && n.incomingConditionItemList.length > 0 && (this.param.vars[n.incomingConditionItemList[0].itemName] = n.incomingConditionItemList[0].compareValue, this.gateVars[n.incomingConditionItemList[0].itemName] = n.incomingConditionItemList[0].compareValue);
|
|
@@ -19957,7 +19957,7 @@ const j0 = {
|
|
|
19957
19957
|
},
|
|
19958
19958
|
handleMultiFirstNodeClickSub(e, i = []) {
|
|
19959
19959
|
let t = e;
|
|
19960
|
-
if (
|
|
19960
|
+
if (t && t.nodeInfoDTO && (t = t.nodeInfoDTO), this.firstMultiCheckSub.includes(t.id)) {
|
|
19961
19961
|
this.firstMultiCheckSub = this.firstMultiCheckSub.filter((s) => s != t.id), this.firstMultiCheckItemSub = this.firstMultiCheckItemSub.filter((s) => s.id != t.id), this.firstMultiTypeSub = this.firstMultiTypeSub.filter((s) => s != t.nodeType), this.childrenItemsSub = this.childrenItemsSub.filter((s) => s.id != t.id), i.forEach((s) => {
|
|
19962
19962
|
delete this.param.selChildrenItems[s.nodeInfoDTO ? s.nodeInfoDTO.id : s.id];
|
|
19963
19963
|
}), delete this.param.selChildrenItems[t.id];
|
|
@@ -19966,7 +19966,7 @@ const j0 = {
|
|
|
19966
19966
|
if (t) {
|
|
19967
19967
|
this.firstMultiCheckSub.push(t.id), this.firstMultiCheckItemSub.push(t), this.firstMultiTypeSub.push(t.nodeType);
|
|
19968
19968
|
let s = [t];
|
|
19969
|
-
t.branches && t.branches.length ? (this.childrenItemsSub.push(t.branches), this.childrenEndItemsSub = !1) : (this.childrenItemsSub.push(t), this.childrenEndItemsSub = !0),
|
|
19969
|
+
t.branches && t.branches.length ? (this.childrenItemsSub.push(t.branches), this.childrenEndItemsSub = !1) : (this.childrenItemsSub.push(t), this.childrenEndItemsSub = !0), i.forEach((n) => {
|
|
19970
19970
|
delete this.param.selChildrenItems[n.nodeInfoDTO ? n.nodeInfoDTO.id : n.id], this.param.selChildrenItems[t.id] = (this.childrenItemsSub || []).map((r) => r.nodeInfoDTO || r);
|
|
19971
19971
|
}), this.gateVars = {}, s.forEach((n) => {
|
|
19972
19972
|
(!this.param || !this.param.vars) && (this.param.vars = {}), Array.isArray(n.incomingConditionItemList) && n.incomingConditionItemList.length > 0 && (this.param.vars[n.incomingConditionItemList[0].itemName] = n.incomingConditionItemList[0].compareValue, this.gateVars[n.incomingConditionItemList[0].itemName] = n.incomingConditionItemList[0].compareValue);
|
|
@@ -19975,10 +19975,10 @@ const j0 = {
|
|
|
19975
19975
|
},
|
|
19976
19976
|
handleFirstNodeClick(e, i = []) {
|
|
19977
19977
|
let t = e;
|
|
19978
|
-
if (
|
|
19978
|
+
if (t && t.nodeInfoDTO && (t = t.nodeInfoDTO), t) {
|
|
19979
19979
|
this.firstCheck = t.id, this.firstCheckItem = t, this.firstType = t.nodeType;
|
|
19980
19980
|
let s = [t];
|
|
19981
|
-
t.branches && t.branches.length ? (this.childrenItems = t.branches, this.childrenEndItems = !1) : (this.childrenItems = [t], this.childrenEndItems = !0),
|
|
19981
|
+
t.branches && t.branches.length ? (this.childrenItems = t.branches, this.childrenEndItems = !1) : (this.childrenItems = [t], this.childrenEndItems = !0), i.forEach((n) => {
|
|
19982
19982
|
const r = this.param.selChildrenItems[n.nodeInfoDTO ? n.nodeInfoDTO.id : n.id];
|
|
19983
19983
|
Array.isArray(r) && r.forEach((a) => {
|
|
19984
19984
|
delete this.param.selChildrenItems[a.id];
|
|
@@ -19996,7 +19996,7 @@ var Q0 = /* @__PURE__ */ ge(
|
|
|
19996
19996
|
V0,
|
|
19997
19997
|
!1,
|
|
19998
19998
|
U0,
|
|
19999
|
-
"
|
|
19999
|
+
"139c9c86",
|
|
20000
20000
|
null,
|
|
20001
20001
|
null
|
|
20002
20002
|
);
|
|
@@ -20717,9 +20717,7 @@ const sC = {
|
|
|
20717
20717
|
},
|
|
20718
20718
|
isSelectPerson() {
|
|
20719
20719
|
if (this.pureTip = !1, this.nextNodeData, this.taskNode, this.multiNodeParticipant, this.$refs.TreePersonRef, this.param, Array.isArray(this.nextNodeData) && this.nextNodeData[0].nodeType != "endEvent") {
|
|
20720
|
-
let e = this.param.selChildrenItems || {};
|
|
20721
|
-
console.error(e, "selChildrenItemsObj");
|
|
20722
|
-
let i = [];
|
|
20720
|
+
let e = this.param.selChildrenItems || {}, i = [];
|
|
20723
20721
|
if (Object.keys(e).filter((s) => s.startsWith("Activity")).forEach((s) => {
|
|
20724
20722
|
i = i.concat(e[s]);
|
|
20725
20723
|
}), i.length == 0 && Object.values(e).forEach((s) => {
|
|
@@ -20757,9 +20755,7 @@ const sC = {
|
|
|
20757
20755
|
} else
|
|
20758
20756
|
return !1;
|
|
20759
20757
|
if (this.nextNodeData.nodeType != "endEvent") {
|
|
20760
|
-
let e = this.param.selChildrenItems || {};
|
|
20761
|
-
console.error(e, "selChildrenItemsObj");
|
|
20762
|
-
let i = [];
|
|
20758
|
+
let e = this.param.selChildrenItems || {}, i = [];
|
|
20763
20759
|
if (Object.keys(e).filter((s) => s.startsWith("Activity")).forEach((s) => {
|
|
20764
20760
|
i = i.concat(e[s]);
|
|
20765
20761
|
}), i.length == 0 && Object.values(e).forEach((s) => {
|
|
@@ -20801,7 +20797,7 @@ const sC = {
|
|
|
20801
20797
|
if (e != "\u56FA\u5B9A\u8D26\u6237" && e != "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173" && JSON.stringify(this.multiNodeParticipant) == "{}")
|
|
20802
20798
|
return this.nextNodeData[0].userTaskModelDTO.name;
|
|
20803
20799
|
}
|
|
20804
|
-
return
|
|
20800
|
+
return this.pureTip = !0, "\u8BF7\u9009\u62E9\u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9";
|
|
20805
20801
|
},
|
|
20806
20802
|
signRequired() {
|
|
20807
20803
|
return !!this.param.extendedProperties.find((i) => i.name == "signature");
|
|
@@ -21107,7 +21103,7 @@ const sC = {
|
|
|
21107
21103
|
}
|
|
21108
21104
|
}
|
|
21109
21105
|
} else {
|
|
21110
|
-
if (
|
|
21106
|
+
if (this.multiNodeParticipant[this.partObjId] && !this.multiNodeParticipant[this.partObjId].length) {
|
|
21111
21107
|
this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!", !1, "success");
|
|
21112
21108
|
return;
|
|
21113
21109
|
}
|
|
@@ -21308,7 +21304,7 @@ var nC = /* @__PURE__ */ ge(
|
|
|
21308
21304
|
iC,
|
|
21309
21305
|
!1,
|
|
21310
21306
|
rC,
|
|
21311
|
-
"
|
|
21307
|
+
"1aa8cf78",
|
|
21312
21308
|
null,
|
|
21313
21309
|
null
|
|
21314
21310
|
);
|
|
@@ -22671,7 +22667,7 @@ const _C = /* @__PURE__ */ function() {
|
|
|
22671
22667
|
this.handleWithdrawTask("\u64A4\u9500"), this.handleActionClose();
|
|
22672
22668
|
}, e.push(s);
|
|
22673
22669
|
}
|
|
22674
|
-
return
|
|
22670
|
+
return e;
|
|
22675
22671
|
},
|
|
22676
22672
|
processCardHeight() {
|
|
22677
22673
|
let e = this.topNum + this.bottomNum - 10;
|
|
@@ -22904,7 +22900,7 @@ const _C = /* @__PURE__ */ function() {
|
|
|
22904
22900
|
if (t.data && t.data.length) {
|
|
22905
22901
|
for (let s = 0; s < t.data.length; s++) {
|
|
22906
22902
|
let n = t.data[s];
|
|
22907
|
-
n.incomingConditionItemList && n.incomingConditionItemList.length !== 0 && (n.nodeInfoDTO.incomingConditionItemList = n.incomingConditionItemList,
|
|
22903
|
+
n.incomingConditionItemList && n.incomingConditionItemList.length !== 0 && (n.nodeInfoDTO.incomingConditionItemList = n.incomingConditionItemList, this.incomingConditionItemList.push(...n.incomingConditionItemList)), n.nodeInfoDTO.nodeType != "userTask" && (n.nodeInfoDTO.branches = await this.getOutgoingProcessNode(e, n.nodeInfoDTO.id));
|
|
22908
22904
|
}
|
|
22909
22905
|
return this.handleTips("", !1, "success"), t.data;
|
|
22910
22906
|
}
|
|
@@ -22945,7 +22941,7 @@ const _C = /* @__PURE__ */ function() {
|
|
|
22945
22941
|
}) : this.$refs.topTips.handleClose();
|
|
22946
22942
|
},
|
|
22947
22943
|
async showOperation(e, i, t, s, n) {
|
|
22948
|
-
switch (this.beforeFunction && (this.operationParam.beforeFunction = this.beforeFunction),
|
|
22944
|
+
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) {
|
|
22949
22945
|
case "\u6284\u9001":
|
|
22950
22946
|
this.operationParam.visible = !0, this.cctaskTopPopup = !0;
|
|
22951
22947
|
break;
|
|
@@ -23323,7 +23319,7 @@ function OC(e) {
|
|
|
23323
23319
|
}
|
|
23324
23320
|
const zC = /* @__PURE__ */ function() {
|
|
23325
23321
|
return MC.exports;
|
|
23326
|
-
}(), BC = "ddy-process-h5", RC = "1.0.1-rc.2.
|
|
23322
|
+
}(), BC = "ddy-process-h5", RC = "1.0.1-rc.2.49", LC = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", FC = "./ddy-process-h5.umd.cjs", VC = "./style.css", jC = "module", QC = {
|
|
23327
23323
|
".": {
|
|
23328
23324
|
import: "./ddy-process-h5.js",
|
|
23329
23325
|
require: "./ddy-process-h5.umd.cjs"
|