ddy-process-pc-vue3 1.0.1-rc.2.33 → 1.0.1-rc.2.41
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-pc-vue3.js +1787 -1786
- package/v2/ddy-process-pc-vue3.umd.cjs +37 -37
- package/v2/style.css +1 -1
- package/v2.7/ddy-process-pc-vue3.js +28 -27
- package/v2.7/ddy-process-pc-vue3.umd.cjs +2 -2
- package/v2.7/style.css +1 -1
- package/v3/ddy-process-pc-vue3.js +28 -27
- package/v3/ddy-process-pc-vue3.umd.cjs +2 -2
- package/v3/style.css +1 -1
|
@@ -3914,8 +3914,8 @@ const nR = {
|
|
|
3914
3914
|
...d.multiNodeParticipant
|
|
3915
3915
|
}, n.vars = { ...n.vars, ...d.vars };
|
|
3916
3916
|
}
|
|
3917
|
-
let r = this.param.nextTaskNode && this.param.nextTaskNode.nodeType != "endEvent", l = this.param.nextTaskNode && this.param.nextTaskNode.branches && this.param.nextTaskNode.branches.length == 1 && this.param.nextTaskNode.branches[0].nodeInfoDTO && this.param.nextTaskNode.branches[0].nodeInfoDTO.nodeType != "endEvent", a = this.param.nextTaskNode && this.param.nextTaskNode.branches && this.param.nextTaskNode.branches.length == 1 && this.param.nextTaskNode.branches[0].nodeType != "endEvent";
|
|
3918
|
-
if (r
|
|
3917
|
+
let r = this.param.nextTaskNode && this.param.nextTaskNode.nodeType != "endEvent" && (!this.param.nextTaskNode.branches || this.param.nextTaskNode.branches.length <= 0), l = this.param.nextTaskNode && this.param.nextTaskNode.nodeType != "endEvent" && this.param.nextTaskNode.branches && this.param.nextTaskNode.branches.length == 1 && this.param.nextTaskNode.branches[0].nodeInfoDTO && this.param.nextTaskNode.branches[0].nodeInfoDTO.nodeType != "endEvent", a = this.param.nextTaskNode && this.param.nextTaskNode.nodeType != "endEvent" && this.param.nextTaskNode.branches && this.param.nextTaskNode.branches.length == 1 && !this.param.nextTaskNode.branches[0].nodeInfoDTO && this.param.nextTaskNode.branches[0].nodeType != "endEvent";
|
|
3918
|
+
if (r || l || a) {
|
|
3919
3919
|
if (this.param.nextTaskNode.nodeType == "exclusiveGateway" && this.param.nextTaskNode.branches && this.param.nextTaskNode.branches.length == 1 && this.param.nextTaskNode.branches[0].nodeInfoDTO && this.param.nextTaskNode.branches[0].nodeInfoDTO.setPersonnel == !0 && this.param.nextTaskNode.branches[0].nodeInfoDTO.assignees && this.param.nextTaskNode.branches[0].nodeInfoDTO.assignees.length > 0)
|
|
3920
3920
|
n.multiNodeParticipant = {
|
|
3921
3921
|
...n.multiNodeParticipant,
|
|
@@ -3961,44 +3961,45 @@ const nR = {
|
|
|
3961
3961
|
},
|
|
3962
3962
|
attachment: this.param.attachment
|
|
3963
3963
|
};
|
|
3964
|
-
for (let
|
|
3965
|
-
let
|
|
3966
|
-
|
|
3967
|
-
let
|
|
3968
|
-
if (!
|
|
3964
|
+
for (let l in this.userTaskListData) {
|
|
3965
|
+
let a = this.userTaskListData[l], s = this.$refs[a].$el ? this.$refs[a] : this.$refs[a][0];
|
|
3966
|
+
s.getValue;
|
|
3967
|
+
let c = s.getValue();
|
|
3968
|
+
if (!c)
|
|
3969
3969
|
return !1;
|
|
3970
3970
|
e.multiNodeParticipant = {
|
|
3971
3971
|
...e.multiNodeParticipant,
|
|
3972
|
-
...
|
|
3973
|
-
}, e.vars = { ...e.vars, ...
|
|
3972
|
+
...c.multiNodeParticipant
|
|
3973
|
+
}, e.vars = { ...e.vars, ...c.vars };
|
|
3974
3974
|
}
|
|
3975
|
-
|
|
3975
|
+
let t = this.param.nextTaskNode && this.param.nextTaskNode.nodeType != "endEvent" && (!this.param.nextTaskNode.branches || this.param.nextTaskNode.branches.length <= 0), o = this.param.nextTaskNode && this.param.nextTaskNode.nodeType != "endEvent" && this.param.nextTaskNode.branches && this.param.nextTaskNode.branches.length == 1 && this.param.nextTaskNode.branches[0].nodeInfoDTO && this.param.nextTaskNode.branches[0].nodeInfoDTO.nodeType != "endEvent", n = this.param.nextTaskNode && this.param.nextTaskNode.nodeType != "endEvent" && this.param.nextTaskNode.branches && this.param.nextTaskNode.branches.length == 1 && !this.param.nextTaskNode.branches[0].nodeInfoDTO && this.param.nextTaskNode.branches[0].nodeType != "endEvent";
|
|
3976
|
+
if (t || o || n) {
|
|
3976
3977
|
if (this.param.nextTaskNode.nodeType == "exclusiveGateway" && this.param.nextTaskNode.branches && this.param.nextTaskNode.branches.length == 1 && this.param.nextTaskNode.branches[0].nodeInfoDTO && this.param.nextTaskNode.branches[0].nodeInfoDTO.setPersonnel == !0 && this.param.nextTaskNode.branches[0].nodeInfoDTO.assignees && this.param.nextTaskNode.branches[0].nodeInfoDTO.assignees.length > 0)
|
|
3977
3978
|
e.multiNodeParticipant = {
|
|
3978
3979
|
...e.multiNodeParticipant,
|
|
3979
|
-
[this.param.nextTaskNode.branches[0].nodeInfoDTO.id]: this.param.nextTaskNode.branches[0].nodeInfoDTO.assignees.map((
|
|
3980
|
+
[this.param.nextTaskNode.branches[0].nodeInfoDTO.id]: this.param.nextTaskNode.branches[0].nodeInfoDTO.assignees.map((l) => l.id)
|
|
3980
3981
|
};
|
|
3981
3982
|
else if (!Object.keys(e.multiNodeParticipant).length)
|
|
3982
3983
|
return _i.warning("\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9"), !1;
|
|
3983
3984
|
}
|
|
3984
3985
|
if (this.param.getVars) {
|
|
3985
|
-
let
|
|
3986
|
-
if (
|
|
3986
|
+
let l = this.param.getVars();
|
|
3987
|
+
if (l === !1)
|
|
3987
3988
|
return !1;
|
|
3988
|
-
e.vars = { ...e.vars, ...
|
|
3989
|
+
e.vars = { ...e.vars, ...l };
|
|
3989
3990
|
}
|
|
3990
|
-
e.pass = !0, this.confirmLoading(), this.confirmPreposition ? this.confirmPreposition().then((
|
|
3991
|
-
_t.tis.complete(e).then((
|
|
3992
|
-
|
|
3991
|
+
e.pass = !0, this.confirmLoading(), this.confirmPreposition ? this.confirmPreposition().then((l) => {
|
|
3992
|
+
_t.tis.complete(e).then((a) => {
|
|
3993
|
+
a.code == Wt.success ? (l && l(), this.$emit("success")) : this.$emit("fail", a.msg);
|
|
3993
3994
|
}).catch(() => {
|
|
3994
3995
|
this.$emit("fail", "");
|
|
3995
3996
|
});
|
|
3996
3997
|
}).catch(() => {
|
|
3997
3998
|
this.$emit("fail", "");
|
|
3998
|
-
}) : _t.tis.complete(e).then((
|
|
3999
|
-
|
|
4000
|
-
}).catch((
|
|
4001
|
-
this.$emit("fail",
|
|
3999
|
+
}) : _t.tis.complete(e).then((l) => {
|
|
4000
|
+
l.code == Wt.success ? this.$emit("success") : this.$emit("fail", l.msg);
|
|
4001
|
+
}).catch((l) => {
|
|
4002
|
+
this.$emit("fail", l.response ? l.response.data ? l.response.data.msg || l.response.data.message : "" : l.message || l.msg || "");
|
|
4002
4003
|
});
|
|
4003
4004
|
},
|
|
4004
4005
|
handleSignature(e, t) {
|
|
@@ -4260,7 +4261,7 @@ function aR(e, t, o, n, r, l) {
|
|
|
4260
4261
|
_: 3
|
|
4261
4262
|
});
|
|
4262
4263
|
}
|
|
4263
|
-
const gh = /* @__PURE__ */ Ro(nR, [["render", aR], ["__scopeId", "data-v-
|
|
4264
|
+
const gh = /* @__PURE__ */ Ro(nR, [["render", aR], ["__scopeId", "data-v-6f1bcca5"]]);
|
|
4264
4265
|
var $1 = null;
|
|
4265
4266
|
Promise.resolve().then(() => kr).then(({ ElMessage: e }) => {
|
|
4266
4267
|
$1 = e;
|
|
@@ -58715,10 +58716,10 @@ const eae = {
|
|
|
58715
58716
|
if (e.code == 200) {
|
|
58716
58717
|
const t = {};
|
|
58717
58718
|
if (t.currentProcessOriginData = e.data || [], t.currentProcessOriginData.length > 0) {
|
|
58718
|
-
let o = t.currentProcessOriginData[0], n = (o.currentName || "").split(",");
|
|
58719
|
-
n = n.map((
|
|
58720
|
-
realName:
|
|
58721
|
-
avatar: "",
|
|
58719
|
+
let o = t.currentProcessOriginData[0], n = (o.currentName || "").split(","), r = (o.avatar || "").split(",");
|
|
58720
|
+
n = n.map((l, a) => ({
|
|
58721
|
+
realName: l,
|
|
58722
|
+
avatar: r[a] || "",
|
|
58722
58723
|
phone: "",
|
|
58723
58724
|
ancestorNames: []
|
|
58724
58725
|
})), t.currentMan = n, t.currentFirstNode = o, this.currentProcess = t;
|
|
@@ -59558,7 +59559,7 @@ function cae(e, t, o, n, r, l) {
|
|
|
59558
59559
|
[k, r.boxLoading && !o.isButton]
|
|
59559
59560
|
]);
|
|
59560
59561
|
}
|
|
59561
|
-
const uae = /* @__PURE__ */ Ro(eae, [["render", cae], ["__scopeId", "data-v-
|
|
59562
|
+
const uae = /* @__PURE__ */ Ro(eae, [["render", cae], ["__scopeId", "data-v-e1fc5e8a"]]), dae = async (e, t) => {
|
|
59562
59563
|
const o = t || {}, n = o.dragElement || (o.targetClassName ? sO(e, o.targetClassName) : e.querySelector(".el-dialog"));
|
|
59563
59564
|
let r;
|
|
59564
59565
|
new IntersectionObserver((y) => {
|