ddy-process-h5 1.0.1-rc.2 → 1.0.1-rc.2.1
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 +322 -301
- package/v2/ddy-process-h5.umd.cjs +1 -1
- package/v2/style.css +1 -1
- package/v2.7/ddy-process-h5.js +1021 -1000
- package/v2.7/ddy-process-h5.umd.cjs +12 -12
- package/v2.7/style.css +1 -1
- package/v3/ddy-process-h5.js +684 -662
- package/v3/ddy-process-h5.umd.cjs +9 -9
- package/v3/style.css +1 -1
package/v3/ddy-process-h5.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as d, createElementBlock as
|
|
1
|
+
import { openBlock as d, createElementBlock as f, normalizeClass as he, normalizeStyle as we, createElementVNode as g, toDisplayString as T, renderSlot as Je, createCommentVNode as k, Fragment as F, renderList as Z, resolveComponent as q, createVNode as J, withCtx as Ae, createTextVNode as re, createBlock as ge, withDirectives as Di, vShow as Za, mergeProps as Kt, withModifiers as Cs, vModelText as Xi, resolveDynamicComponent as fr } from "vue";
|
|
2
2
|
import mr from "dsbridge";
|
|
3
3
|
import { departPerson as Wt } from "checked-pick-app";
|
|
4
4
|
/**
|
|
@@ -328,16 +328,16 @@ function Vt(e, t, i, s, n, r) {
|
|
|
328
328
|
if (Qn(), t === "clear")
|
|
329
329
|
o.forEach(a);
|
|
330
330
|
else {
|
|
331
|
-
const l = Ce(e),
|
|
331
|
+
const l = Ce(e), m = l && Ln(i);
|
|
332
332
|
if (l && i === "length") {
|
|
333
333
|
const h = Number(s);
|
|
334
334
|
o.forEach((u, A) => {
|
|
335
335
|
(A === "length" || A === Wi || !$i(A) && A >= h) && a(u);
|
|
336
336
|
});
|
|
337
337
|
} else
|
|
338
|
-
switch ((i !== void 0 || o.has(void 0)) && a(o.get(i)),
|
|
338
|
+
switch ((i !== void 0 || o.has(void 0)) && a(o.get(i)), m && a(o.get(Wi)), t) {
|
|
339
339
|
case "add":
|
|
340
|
-
l ?
|
|
340
|
+
l ? m && a(o.get("length")) : (a(o.get(ni)), Ci(e) && a(o.get(yn)));
|
|
341
341
|
break;
|
|
342
342
|
case "delete":
|
|
343
343
|
l || (a(o.get(ni)), Ci(e) && a(o.get(yn)));
|
|
@@ -456,13 +456,13 @@ function Nt(e, t, i, s, n, r) {
|
|
|
456
456
|
const u = l.apply(e, r);
|
|
457
457
|
return a ? Xe(u) : u;
|
|
458
458
|
}
|
|
459
|
-
let
|
|
460
|
-
o !== e && (a ?
|
|
459
|
+
let m = i;
|
|
460
|
+
o !== e && (a ? m = function(u, A) {
|
|
461
461
|
return i.call(this, Xe(u), A, e);
|
|
462
|
-
} : i.length > 2 && (
|
|
462
|
+
} : i.length > 2 && (m = function(u, A) {
|
|
463
463
|
return i.call(this, u, A, e);
|
|
464
464
|
}));
|
|
465
|
-
const h = l.call(o,
|
|
465
|
+
const h = l.call(o, m, s);
|
|
466
466
|
return a && n ? n(h) : h;
|
|
467
467
|
}
|
|
468
468
|
function Ar(e, t, i, s) {
|
|
@@ -580,14 +580,14 @@ class so extends io {
|
|
|
580
580
|
const Tl = /* @__PURE__ */ new kl(), El = /* @__PURE__ */ new so(), Il = /* @__PURE__ */ new so(!0), An = (e) => e, us = (e) => Reflect.getPrototypeOf(e);
|
|
581
581
|
function xl(e, t, i) {
|
|
582
582
|
return function(...s) {
|
|
583
|
-
const n = this.__v_raw, r = ce(n), o = Ci(r), a = e === "entries" || e === Symbol.iterator && o, l = e === "keys" && o,
|
|
583
|
+
const n = this.__v_raw, r = ce(n), o = Ci(r), a = e === "entries" || e === Symbol.iterator && o, l = e === "keys" && o, m = n[e](...s), h = i ? An : t ? vn : Xe;
|
|
584
584
|
return !t && Oe(
|
|
585
585
|
r,
|
|
586
586
|
"iterate",
|
|
587
587
|
l ? yn : ni
|
|
588
588
|
), {
|
|
589
589
|
next() {
|
|
590
|
-
const { value: u, done: A } =
|
|
590
|
+
const { value: u, done: A } = m.next();
|
|
591
591
|
return A ? { value: u, done: A } : {
|
|
592
592
|
value: a ? [h(u[0]), h(u[1])] : h(u),
|
|
593
593
|
done: A
|
|
@@ -616,11 +616,11 @@ function Nl(e, t) {
|
|
|
616
616
|
get(n) {
|
|
617
617
|
const r = this.__v_raw, o = ce(r), a = ce(n);
|
|
618
618
|
e || (si(n, a) && Oe(o, "get", n), Oe(o, "get", a));
|
|
619
|
-
const { has: l } = us(o),
|
|
619
|
+
const { has: l } = us(o), m = t ? An : e ? vn : Xe;
|
|
620
620
|
if (l.call(o, n))
|
|
621
|
-
return
|
|
621
|
+
return m(r.get(n));
|
|
622
622
|
if (l.call(o, a))
|
|
623
|
-
return
|
|
623
|
+
return m(r.get(a));
|
|
624
624
|
r !== o && r.get(n);
|
|
625
625
|
},
|
|
626
626
|
get size() {
|
|
@@ -632,8 +632,8 @@ function Nl(e, t) {
|
|
|
632
632
|
return e || (si(n, a) && Oe(o, "has", n), Oe(o, "has", a)), n === a ? r.has(n) : r.has(n) || r.has(a);
|
|
633
633
|
},
|
|
634
634
|
forEach(n, r) {
|
|
635
|
-
const o = this, a = o.__v_raw, l = ce(a),
|
|
636
|
-
return !e && Oe(l, "iterate", ni), a.forEach((h, u) => n.call(r,
|
|
635
|
+
const o = this, a = o.__v_raw, l = ce(a), m = t ? An : e ? vn : Xe;
|
|
636
|
+
return !e && Oe(l, "iterate", ni), a.forEach((h, u) => n.call(r, m(h), m(u), o));
|
|
637
637
|
}
|
|
638
638
|
};
|
|
639
639
|
return We(
|
|
@@ -652,17 +652,17 @@ function Nl(e, t) {
|
|
|
652
652
|
set(n, r) {
|
|
653
653
|
!t && !$e(r) && !jt(r) && (r = ce(r));
|
|
654
654
|
const o = ce(this), { has: a, get: l } = us(o);
|
|
655
|
-
let
|
|
656
|
-
|
|
655
|
+
let m = a.call(o, n);
|
|
656
|
+
m ? process.env.NODE_ENV !== "production" && vr(o, a, n) : (n = ce(n), m = a.call(o, n));
|
|
657
657
|
const h = l.call(o, n);
|
|
658
|
-
return o.set(n, r),
|
|
658
|
+
return o.set(n, r), m ? si(r, h) && Vt(o, "set", n, r, h) : Vt(o, "add", n, r), this;
|
|
659
659
|
},
|
|
660
660
|
delete(n) {
|
|
661
661
|
const r = ce(this), { has: o, get: a } = us(r);
|
|
662
662
|
let l = o.call(r, n);
|
|
663
663
|
l ? process.env.NODE_ENV !== "production" && vr(r, o, n) : (n = ce(n), l = o.call(r, n));
|
|
664
|
-
const
|
|
665
|
-
return l && Vt(r, "delete", n, void 0,
|
|
664
|
+
const m = a ? a.call(r, n) : void 0, h = r.delete(n);
|
|
665
|
+
return l && Vt(r, "delete", n, void 0, m), h;
|
|
666
666
|
},
|
|
667
667
|
clear() {
|
|
668
668
|
const n = ce(this), r = n.size !== 0, o = process.env.NODE_ENV !== "production" ? Ci(n) ? new Map(n) : new Set(n) : void 0, a = n.clear();
|
|
@@ -822,7 +822,7 @@ function Ql(e, t = !1, i = ei) {
|
|
|
822
822
|
);
|
|
823
823
|
}
|
|
824
824
|
function Ul(e, t, i = at) {
|
|
825
|
-
const { immediate: s, deep: n, once: r, scheduler: o, augmentJob: a, call: l } = i,
|
|
825
|
+
const { immediate: s, deep: n, once: r, scheduler: o, augmentJob: a, call: l } = i, m = (b) => {
|
|
826
826
|
(i.onWarn || Ut)(
|
|
827
827
|
"Invalid watch source: ",
|
|
828
828
|
b,
|
|
@@ -837,7 +837,7 @@ function Ul(e, t, i = at) {
|
|
|
837
837
|
return h(b);
|
|
838
838
|
if (Re(b))
|
|
839
839
|
return l ? l(b, 2) : b();
|
|
840
|
-
process.env.NODE_ENV !== "production" &&
|
|
840
|
+
process.env.NODE_ENV !== "production" && m(b);
|
|
841
841
|
})) : Re(e) ? t ? A = l ? () => l(e, 2) : e : A = () => {
|
|
842
842
|
if (C) {
|
|
843
843
|
es();
|
|
@@ -854,7 +854,7 @@ function Ul(e, t, i = at) {
|
|
|
854
854
|
} finally {
|
|
855
855
|
ei = b;
|
|
856
856
|
}
|
|
857
|
-
} : (A = wi, process.env.NODE_ENV !== "production" &&
|
|
857
|
+
} : (A = wi, process.env.NODE_ENV !== "production" && m(e)), t && n) {
|
|
858
858
|
const b = A, x = n === !0 ? 1 / 0 : n;
|
|
859
859
|
A = () => Qt(b(), x);
|
|
860
860
|
}
|
|
@@ -1066,12 +1066,12 @@ function Jn(e, t, i, s = !0) {
|
|
|
1066
1066
|
const n = t ? t.vnode : null, { errorHandler: r, throwUnhandledErrorInProduction: o } = t && t.appContext.config || at;
|
|
1067
1067
|
if (t) {
|
|
1068
1068
|
let a = t.parent;
|
|
1069
|
-
const l = t.proxy,
|
|
1069
|
+
const l = t.proxy, m = process.env.NODE_ENV !== "production" ? po[i] : `https://vuejs.org/error-reference/#runtime-${i}`;
|
|
1070
1070
|
for (; a; ) {
|
|
1071
1071
|
const h = a.ec;
|
|
1072
1072
|
if (h) {
|
|
1073
1073
|
for (let u = 0; u < h.length; u++)
|
|
1074
|
-
if (h[u](e, l,
|
|
1074
|
+
if (h[u](e, l, m) === !1)
|
|
1075
1075
|
return;
|
|
1076
1076
|
}
|
|
1077
1077
|
a = a.parent;
|
|
@@ -1080,7 +1080,7 @@ function Jn(e, t, i, s = !0) {
|
|
|
1080
1080
|
es(), qs(r, null, 10, [
|
|
1081
1081
|
e,
|
|
1082
1082
|
l,
|
|
1083
|
-
|
|
1083
|
+
m
|
|
1084
1084
|
]), ts();
|
|
1085
1085
|
return;
|
|
1086
1086
|
}
|
|
@@ -1285,7 +1285,7 @@ const sc = Symbol.for("v-ndc"), bn = (e) => e ? Dc(e) ? Oc(e) : bn(e.parent) : n
|
|
|
1285
1285
|
const { ctx: i, setupState: s, data: n, props: r, accessCache: o, type: a, appContext: l } = e;
|
|
1286
1286
|
if (process.env.NODE_ENV !== "production" && t === "__isVue")
|
|
1287
1287
|
return !0;
|
|
1288
|
-
let
|
|
1288
|
+
let m;
|
|
1289
1289
|
if (t[0] !== "$") {
|
|
1290
1290
|
const C = o[t];
|
|
1291
1291
|
if (C !== void 0)
|
|
@@ -1304,7 +1304,7 @@ const sc = Symbol.for("v-ndc"), bn = (e) => e ? Dc(e) ? Oc(e) : bn(e.parent) : n
|
|
|
1304
1304
|
return o[t] = 1, s[t];
|
|
1305
1305
|
if (n !== at && Be(n, t))
|
|
1306
1306
|
return o[t] = 2, n[t];
|
|
1307
|
-
if ((
|
|
1307
|
+
if ((m = e.propsOptions[0]) && Be(m, t))
|
|
1308
1308
|
return o[t] = 3, r[t];
|
|
1309
1309
|
if (i !== at && Be(i, t))
|
|
1310
1310
|
return o[t] = 4, i[t];
|
|
@@ -1366,7 +1366,7 @@ function oc(e) {
|
|
|
1366
1366
|
} = e.appContext, a = r.get(t);
|
|
1367
1367
|
let l;
|
|
1368
1368
|
return a ? l = a : !n.length && !i && !s ? l = t : (l = {}, n.length && n.forEach(
|
|
1369
|
-
(
|
|
1369
|
+
(m) => Rs(l, m, o, !0)
|
|
1370
1370
|
), Rs(l, t, o)), He(t) && r.set(t, l), l;
|
|
1371
1371
|
}
|
|
1372
1372
|
function Rs(e, t, i, s = !1) {
|
|
@@ -1508,11 +1508,11 @@ function yc(e, t, i = at) {
|
|
|
1508
1508
|
const a = We({}, i);
|
|
1509
1509
|
process.env.NODE_ENV !== "production" && (a.onWarn = Ie);
|
|
1510
1510
|
const l = t && s || !t && r !== "post";
|
|
1511
|
-
let
|
|
1511
|
+
let m;
|
|
1512
1512
|
if (Cn) {
|
|
1513
1513
|
if (r === "sync") {
|
|
1514
1514
|
const C = gc();
|
|
1515
|
-
|
|
1515
|
+
m = C.__watcherHandles || (C.__watcherHandles = []);
|
|
1516
1516
|
} else if (!l) {
|
|
1517
1517
|
const C = () => {
|
|
1518
1518
|
};
|
|
@@ -1530,7 +1530,7 @@ function yc(e, t, i = at) {
|
|
|
1530
1530
|
t && (C.flags |= 4), u && (C.flags |= 2, h && (C.id = h.uid, C.i = h));
|
|
1531
1531
|
};
|
|
1532
1532
|
const A = Ul(e, t, a);
|
|
1533
|
-
return Cn && (
|
|
1533
|
+
return Cn && (m ? m.push(A) : l && A()), A;
|
|
1534
1534
|
}
|
|
1535
1535
|
function Ac(e, t, i) {
|
|
1536
1536
|
const s = this.proxy, n = mt(e) ? e.includes(".") ? vc(s, e) : () => s[e] : e.bind(s, s);
|
|
@@ -1632,12 +1632,12 @@ function Nc(e) {
|
|
|
1632
1632
|
return e ? Bs(e) || bo(e) ? We({}, e) : e : null;
|
|
1633
1633
|
}
|
|
1634
1634
|
function Ls(e, t, i = !1, s = !1) {
|
|
1635
|
-
const { props: n, ref: r, patchFlag: o, children: a, transition: l } = e,
|
|
1635
|
+
const { props: n, ref: r, patchFlag: o, children: a, transition: l } = e, m = t ? Bc(n || {}, t) : n, h = {
|
|
1636
1636
|
__v_isVNode: !0,
|
|
1637
1637
|
__v_skip: !0,
|
|
1638
1638
|
type: e.type,
|
|
1639
|
-
props:
|
|
1640
|
-
key:
|
|
1639
|
+
props: m,
|
|
1640
|
+
key: m && Co(m),
|
|
1641
1641
|
ref: t && t.ref ? i && r ? Ce(r) ? r.concat(ks(t)) : [r, ks(t)] : ks(t) : r,
|
|
1642
1642
|
scopeId: e.scopeId,
|
|
1643
1643
|
slotScopeIds: e.slotScopeIds,
|
|
@@ -1889,12 +1889,12 @@ function Fc() {
|
|
|
1889
1889
|
return;
|
|
1890
1890
|
const P = {};
|
|
1891
1891
|
for (const R in u.ctx)
|
|
1892
|
-
|
|
1892
|
+
m(C, R, A) && (P[R] = u.ctx[R]);
|
|
1893
1893
|
return P;
|
|
1894
1894
|
}
|
|
1895
|
-
function
|
|
1895
|
+
function m(u, A, C) {
|
|
1896
1896
|
const P = u[C];
|
|
1897
|
-
if (Ce(P) && P.includes(A) || He(P) && A in P || u.extends &&
|
|
1897
|
+
if (Ce(P) && P.includes(A) || He(P) && A in P || u.extends && m(u.extends, A, C) || u.mixins && u.mixins.some((R) => m(R, A, C)))
|
|
1898
1898
|
return !0;
|
|
1899
1899
|
}
|
|
1900
1900
|
function h(u) {
|
|
@@ -1989,7 +1989,7 @@ const ke = (e, t) => {
|
|
|
1989
1989
|
return i;
|
|
1990
1990
|
}, Uc = { class: "top-popup-header" }, jc = { class: "header-title" }, _c = { class: "top-popup-body" }, Gc = { class: "top-popup-drawer-header" }, qc = { class: "header-title" }, Jc = { class: "top-popup-drawer--body" }, Hc = { class: "top-tips-header" }, Kc = { class: "top-tips-body" }, Wc = { class: "top-tips-footer" };
|
|
1991
1991
|
function Yc(e, t, i, s, n, r) {
|
|
1992
|
-
return d(),
|
|
1992
|
+
return d(), f("div", {
|
|
1993
1993
|
class: he(["top-popup-zindex", e.className]),
|
|
1994
1994
|
style: we(`${e.isIndex ? `z-index:${e.isIndex}` : ""}`)
|
|
1995
1995
|
}, [
|
|
@@ -2000,7 +2000,7 @@ function Yc(e, t, i, s, n, r) {
|
|
|
2000
2000
|
),
|
|
2001
2001
|
onClick: t[0] || (t[0] = (o) => e.isMaskClose && e.handleClose())
|
|
2002
2002
|
}, null, 4),
|
|
2003
|
-
!e.isTips && !e.isDrawer ? (d(),
|
|
2003
|
+
!e.isTips && !e.isDrawer ? (d(), f("div", {
|
|
2004
2004
|
key: 0,
|
|
2005
2005
|
class: "top-popup",
|
|
2006
2006
|
style: we(
|
|
@@ -2021,7 +2021,7 @@ function Yc(e, t, i, s, n, r) {
|
|
|
2021
2021
|
g("div", _c, [
|
|
2022
2022
|
Je(e.$slots, "default", {}, void 0, !0)
|
|
2023
2023
|
])
|
|
2024
|
-
], 4)) : !e.isTips && e.isDrawer ? (d(),
|
|
2024
|
+
], 4)) : !e.isTips && e.isDrawer ? (d(), f("div", {
|
|
2025
2025
|
key: 1,
|
|
2026
2026
|
class: he(["top-popup-drawer", e.show ? "top-popup-drawer--active" : ""]),
|
|
2027
2027
|
style: we(e.width ? `width:${e.width};` : "")
|
|
@@ -2040,7 +2040,7 @@ function Yc(e, t, i, s, n, r) {
|
|
|
2040
2040
|
g("div", Jc, [
|
|
2041
2041
|
Je(e.$slots, "default", {}, void 0, !0)
|
|
2042
2042
|
])
|
|
2043
|
-
], 6)) : e.isTips && !e.isDrawer ? (d(),
|
|
2043
|
+
], 6)) : e.isTips && !e.isDrawer ? (d(), f("div", {
|
|
2044
2044
|
key: 2,
|
|
2045
2045
|
class: "top-tips",
|
|
2046
2046
|
style: we(
|
|
@@ -2104,13 +2104,13 @@ const pt = /* @__PURE__ */ ke(Qc, [["render", Yc], ["__scopeId", "data-v-9ae9509
|
|
|
2104
2104
|
controls: ""
|
|
2105
2105
|
}, $c = ["src"], ep = ["src"];
|
|
2106
2106
|
function tp(e, t, i, s, n, r) {
|
|
2107
|
-
return e.url ? (d(),
|
|
2108
|
-
e.videoShow ? (d(),
|
|
2107
|
+
return e.url ? (d(), f("div", Zc, [
|
|
2108
|
+
e.videoShow ? (d(), f("video", Xc, [
|
|
2109
2109
|
g("source", {
|
|
2110
2110
|
src: e.url,
|
|
2111
2111
|
type: "video/mp4"
|
|
2112
2112
|
}, null, 8, $c)
|
|
2113
|
-
])) : (d(),
|
|
2113
|
+
])) : (d(), f("iframe", {
|
|
2114
2114
|
key: 1,
|
|
2115
2115
|
style: { height: "100%", border: "unset", width: "100%" },
|
|
2116
2116
|
src: e.url
|
|
@@ -2265,24 +2265,24 @@ const sp = {
|
|
|
2265
2265
|
class: "preview-image-view--page"
|
|
2266
2266
|
}, ap = { class: "page-item" };
|
|
2267
2267
|
function lp(e, t, i, s, n, r) {
|
|
2268
|
-
return e.visible ? (d(),
|
|
2268
|
+
return e.visible ? (d(), f("div", sp, [
|
|
2269
2269
|
g("div", {
|
|
2270
2270
|
class: "preview-image-mask",
|
|
2271
2271
|
onClick: t[0] || (t[0] = (...o) => e.handleClose && e.handleClose(...o))
|
|
2272
2272
|
}),
|
|
2273
|
-
e.isOne ? (d(),
|
|
2273
|
+
e.isOne ? (d(), f("div", {
|
|
2274
2274
|
key: 1,
|
|
2275
2275
|
class: "preview-image-view--one",
|
|
2276
2276
|
onTouchstart: t[5] || (t[5] = (...o) => e.handelTouchstart && e.handelTouchstart(...o)),
|
|
2277
2277
|
onTouchmove: t[6] || (t[6] = (...o) => e.handelTouchmove && e.handelTouchmove(...o)),
|
|
2278
2278
|
style: we(`transform:${e.styleZoom} translate(${e.moveX},${e.moveY});${e.duration};${e.styleOrigin ? `transformOrigin:${e.styleOrigin}` : ""};`)
|
|
2279
2279
|
}, [
|
|
2280
|
-
(d(!0),
|
|
2280
|
+
(d(!0), f(F, null, Z(e.imagesList, (o, a) => (d(), f("img", {
|
|
2281
2281
|
class: "img-view",
|
|
2282
2282
|
key: a,
|
|
2283
2283
|
src: o
|
|
2284
2284
|
}, null, 8, rp))), 128))
|
|
2285
|
-
], 36)) : (d(),
|
|
2285
|
+
], 36)) : (d(), f("div", {
|
|
2286
2286
|
key: 0,
|
|
2287
2287
|
class: "preview-image-view--img",
|
|
2288
2288
|
style: we(`transform: translate(${e.move}%,-50%);${e.duration}`),
|
|
@@ -2295,13 +2295,13 @@ function lp(e, t, i, s, n, r) {
|
|
|
2295
2295
|
onClick: t[1] || (t[1] = (...o) => e.handleClose && e.handleClose(...o)),
|
|
2296
2296
|
style: { opacity: "0", "z-index": "1" }
|
|
2297
2297
|
}),
|
|
2298
|
-
(d(!0),
|
|
2298
|
+
(d(!0), f(F, null, Z(e.imagesList, (o, a) => (d(), f("img", {
|
|
2299
2299
|
class: "img-view",
|
|
2300
2300
|
key: a,
|
|
2301
2301
|
src: o
|
|
2302
2302
|
}, null, 8, np))), 128))
|
|
2303
2303
|
], 36)),
|
|
2304
|
-
e.isOne ? k("", !0) : (d(),
|
|
2304
|
+
e.isOne ? k("", !0) : (d(), f("div", op, [
|
|
2305
2305
|
g("span", ap, T(e.isIndex) + "/" + T(e.imagesList.length), 1)
|
|
2306
2306
|
])),
|
|
2307
2307
|
t[7] || (t[7] = g("div", { class: "preview-image-view--close" }, null, -1))
|
|
@@ -2407,42 +2407,42 @@ const pp = { class: "process-wrap" }, up = {
|
|
|
2407
2407
|
};
|
|
2408
2408
|
function xp(e, t, i, s, n, r) {
|
|
2409
2409
|
const o = q("PreView"), a = q("TopPopup"), l = q("PreviewImage");
|
|
2410
|
-
return d(),
|
|
2411
|
-
e.listData.length > 0 ? (d(),
|
|
2412
|
-
(d(!0),
|
|
2413
|
-
key:
|
|
2410
|
+
return d(), f("div", pp, [
|
|
2411
|
+
e.listData.length > 0 ? (d(), f("div", up, [
|
|
2412
|
+
(d(!0), f(F, null, Z(e.listData, (m, h) => (d(), f("div", {
|
|
2413
|
+
key: m.id,
|
|
2414
2414
|
class: "list-items"
|
|
2415
2415
|
}, [
|
|
2416
2416
|
g("div", dp, [
|
|
2417
2417
|
e.xlsIcon.includes(
|
|
2418
|
-
|
|
2419
|
-
) ? (d(),
|
|
2418
|
+
m.name.substring(m.name.lastIndexOf(".") + 1).toLowerCase()
|
|
2419
|
+
) ? (d(), f("img", {
|
|
2420
2420
|
key: 0,
|
|
2421
2421
|
class: "icon-img",
|
|
2422
2422
|
src: e.xls
|
|
2423
2423
|
}, null, 8, hp)) : e.imgIcon.includes(
|
|
2424
|
-
|
|
2425
|
-
) ? (d(),
|
|
2424
|
+
m.name.substring(m.name.lastIndexOf(".") + 1).toLowerCase()
|
|
2425
|
+
) ? (d(), f("img", {
|
|
2426
2426
|
key: 1,
|
|
2427
2427
|
class: "icon-img",
|
|
2428
2428
|
src: e.image
|
|
2429
|
-
}, null, 8, fp)) :
|
|
2429
|
+
}, null, 8, fp)) : m.name.substring(m.name.lastIndexOf(".") + 1).toLowerCase() == "pdf" ? (d(), f("img", {
|
|
2430
2430
|
key: 2,
|
|
2431
2431
|
class: "icon-img",
|
|
2432
2432
|
src: e.pdf
|
|
2433
2433
|
}, null, 8, mp)) : e.docIcon.includes(
|
|
2434
|
-
|
|
2435
|
-
) ? (d(),
|
|
2434
|
+
m.name.substring(m.name.lastIndexOf(".") + 1).toLowerCase()
|
|
2435
|
+
) ? (d(), f("img", {
|
|
2436
2436
|
key: 3,
|
|
2437
2437
|
class: "icon-img",
|
|
2438
2438
|
src: e.doc
|
|
2439
2439
|
}, null, 8, gp)) : e.zipIcon.includes(
|
|
2440
|
-
|
|
2441
|
-
) ? (d(),
|
|
2440
|
+
m.name.substring(m.name.lastIndexOf(".") + 1).toLowerCase()
|
|
2441
|
+
) ? (d(), f("img", {
|
|
2442
2442
|
key: 4,
|
|
2443
2443
|
class: "icon-img",
|
|
2444
2444
|
src: e.zip
|
|
2445
|
-
}, null, 8, yp)) : (d(),
|
|
2445
|
+
}, null, 8, yp)) : (d(), f("img", {
|
|
2446
2446
|
key: 5,
|
|
2447
2447
|
class: "icon-img",
|
|
2448
2448
|
src: e.file
|
|
@@ -2450,33 +2450,33 @@ function xp(e, t, i, s, n, r) {
|
|
|
2450
2450
|
]),
|
|
2451
2451
|
g("div", {
|
|
2452
2452
|
class: "list-items-info",
|
|
2453
|
-
onClick: (u) => e.viewFile(
|
|
2453
|
+
onClick: (u) => e.viewFile(m)
|
|
2454
2454
|
}, [
|
|
2455
2455
|
g("div", bp, [
|
|
2456
|
-
g("span", wp, T(
|
|
2456
|
+
g("span", wp, T(m.name), 1)
|
|
2457
2457
|
]),
|
|
2458
2458
|
g("div", Cp, [
|
|
2459
|
-
g("span", kp, T(
|
|
2460
|
-
g("span", Tp, T(
|
|
2461
|
-
(
|
|
2462
|
-
) : parseFloat((
|
|
2459
|
+
g("span", kp, T(m.uploadTime), 1),
|
|
2460
|
+
g("span", Tp, T(m.size < 1024 ? m.size : m.size / 1024 > 1024 ? parseFloat(
|
|
2461
|
+
(m.size / 1024 / 1024).toFixed(2)
|
|
2462
|
+
) : parseFloat((m.size / 1024).toFixed(2))) + T(m.size < 1024 ? "b" : parseFloat((m.size / 1024).toFixed(2)) < 1024 ? "kb" : "M"), 1)
|
|
2463
2463
|
])
|
|
2464
2464
|
], 8, vp),
|
|
2465
2465
|
g("div", {
|
|
2466
2466
|
class: "list-items-download",
|
|
2467
|
-
onClick: (u) => e.loadFile(
|
|
2467
|
+
onClick: (u) => e.loadFile(m)
|
|
2468
2468
|
}, t[2] || (t[2] = [
|
|
2469
2469
|
g("span", { class: "download-text" }, "\u4E0B\u8F7D", -1)
|
|
2470
2470
|
]), 8, Ep)
|
|
2471
2471
|
]))), 128))
|
|
2472
|
-
])) : (d(),
|
|
2472
|
+
])) : (d(), f("div", Ip, t[3] || (t[3] = [
|
|
2473
2473
|
g("div", { class: "attch-list--white" }, [
|
|
2474
2474
|
g("div", { class: "attch-list--label" }, "\u6682\u65E0\u9644\u4EF6")
|
|
2475
2475
|
], -1)
|
|
2476
2476
|
]))),
|
|
2477
2477
|
J(a, {
|
|
2478
2478
|
visible: e.visible,
|
|
2479
|
-
"onUpdate:visible": t[0] || (t[0] = (
|
|
2479
|
+
"onUpdate:visible": t[0] || (t[0] = (m) => e.visible = m),
|
|
2480
2480
|
ref: "TopPopup",
|
|
2481
2481
|
titleText: "\u9644\u4EF6\u9884\u89C8",
|
|
2482
2482
|
isDrawer: "",
|
|
@@ -2490,7 +2490,7 @@ function xp(e, t, i, s, n, r) {
|
|
|
2490
2490
|
J(l, {
|
|
2491
2491
|
images: e.lists,
|
|
2492
2492
|
visible: e.visibleImg,
|
|
2493
|
-
"onUpdate:visible": t[1] || (t[1] = (
|
|
2493
|
+
"onUpdate:visible": t[1] || (t[1] = (m) => e.visibleImg = m),
|
|
2494
2494
|
indexd: e.indexd
|
|
2495
2495
|
}, null, 8, ["images", "visible", "indexd"])
|
|
2496
2496
|
]);
|
|
@@ -2609,13 +2609,13 @@ function Op(e, t) {
|
|
|
2609
2609
|
function l() {
|
|
2610
2610
|
i && clearTimeout(i), i = r = s = n = void 0;
|
|
2611
2611
|
}
|
|
2612
|
-
function
|
|
2612
|
+
function m() {
|
|
2613
2613
|
i && o(!0), l();
|
|
2614
2614
|
}
|
|
2615
2615
|
function h(...u) {
|
|
2616
2616
|
r = Date.now(), s = u, n = this, i || a(t);
|
|
2617
2617
|
}
|
|
2618
|
-
return h.flush =
|
|
2618
|
+
return h.flush = m, h.cancel = l, h;
|
|
2619
2619
|
}
|
|
2620
2620
|
function Gt(e, t) {
|
|
2621
2621
|
return e.bind(t);
|
|
@@ -3058,8 +3058,8 @@ function du(e, t) {
|
|
|
3058
3058
|
s.push(cn(o));
|
|
3059
3059
|
continue;
|
|
3060
3060
|
}
|
|
3061
|
-
const
|
|
3062
|
-
s.push(cn(
|
|
3061
|
+
const m = gs(o, r, l), h = gs(o, r, l * 0.5), u = gs(o, a, l), A = gs(o, a, l * 0.5);
|
|
3062
|
+
s.push(cn(m)), s.push(uu(h, A, u));
|
|
3063
3063
|
}
|
|
3064
3064
|
return s;
|
|
3065
3065
|
}
|
|
@@ -3312,9 +3312,9 @@ function Ou(e, t) {
|
|
|
3312
3312
|
l = l.lastChild;
|
|
3313
3313
|
if (l.firstChild == l.lastChild)
|
|
3314
3314
|
return l.removeChild(l.firstChild);
|
|
3315
|
-
for (var
|
|
3316
|
-
|
|
3317
|
-
return
|
|
3315
|
+
for (var m = t.createDocumentFragment(); l.firstChild; )
|
|
3316
|
+
m.appendChild(l.removeChild(l.firstChild));
|
|
3317
|
+
return m;
|
|
3318
3318
|
}
|
|
3319
3319
|
var et = Du;
|
|
3320
3320
|
function Pt(e, t) {
|
|
@@ -3356,7 +3356,7 @@ var Vu = Fu(function(e) {
|
|
|
3356
3356
|
a = l + a;
|
|
3357
3357
|
}
|
|
3358
3358
|
if (o) {
|
|
3359
|
-
var
|
|
3359
|
+
var m = Math.pow(s, o), l = Math.floor(Math.random() * m).toString(s);
|
|
3360
3360
|
a = l + a;
|
|
3361
3361
|
}
|
|
3362
3362
|
var h = parseInt(a, s);
|
|
@@ -3371,9 +3371,9 @@ var Vu = Fu(function(e) {
|
|
|
3371
3371
|
i += n;
|
|
3372
3372
|
else
|
|
3373
3373
|
throw new Error("too many ID collisions, use more bits");
|
|
3374
|
-
var
|
|
3375
|
-
} while (Object.hasOwnProperty.call(o,
|
|
3376
|
-
return o[
|
|
3374
|
+
var m = t(i, s);
|
|
3375
|
+
} while (Object.hasOwnProperty.call(o, m));
|
|
3376
|
+
return o[m] = a, m;
|
|
3377
3377
|
}, o = r.hats = {};
|
|
3378
3378
|
return r.get = function(a) {
|
|
3379
3379
|
return r.hats[a];
|
|
@@ -3414,7 +3414,7 @@ Dt.prototype.clear = function() {
|
|
|
3414
3414
|
var Qu = new Dt(), Uu = 10, As = 3, ju = 1.5, Ts = 10, gi = 0.95, _u = 1, Gu = 0.25;
|
|
3415
3415
|
function di(e, t, i, s, n, r, o) {
|
|
3416
3416
|
Ot.call(this, t, o);
|
|
3417
|
-
var a = e && e.defaultFillColor, l = e && e.defaultStrokeColor,
|
|
3417
|
+
var a = e && e.defaultFillColor, l = e && e.defaultStrokeColor, m = e && e.defaultLabelColor;
|
|
3418
3418
|
function h(y) {
|
|
3419
3419
|
return i.computeStyle(y, {
|
|
3420
3420
|
strokeLinecap: "round",
|
|
@@ -4044,7 +4044,7 @@ function di(e, t, i, s, n, r, o) {
|
|
|
4044
4044
|
box: E,
|
|
4045
4045
|
padding: 7,
|
|
4046
4046
|
style: {
|
|
4047
|
-
fill: Ui(p,
|
|
4047
|
+
fill: Ui(p, m, l, v.stroke)
|
|
4048
4048
|
}
|
|
4049
4049
|
});
|
|
4050
4050
|
}
|
|
@@ -4062,7 +4062,7 @@ function di(e, t, i, s, n, r, o) {
|
|
|
4062
4062
|
{},
|
|
4063
4063
|
r.getExternalStyle(),
|
|
4064
4064
|
{
|
|
4065
|
-
fill: Ui(p,
|
|
4065
|
+
fill: Ui(p, m, l, c.stroke)
|
|
4066
4066
|
}
|
|
4067
4067
|
)
|
|
4068
4068
|
});
|
|
@@ -4075,7 +4075,7 @@ function di(e, t, i, s, n, r, o) {
|
|
|
4075
4075
|
},
|
|
4076
4076
|
align: "center-middle",
|
|
4077
4077
|
style: {
|
|
4078
|
-
fill: Ui(c,
|
|
4078
|
+
fill: Ui(c, m, l, v.stroke)
|
|
4079
4079
|
}
|
|
4080
4080
|
});
|
|
4081
4081
|
if (w) {
|
|
@@ -4623,7 +4623,7 @@ function di(e, t, i, s, n, r, o) {
|
|
|
4623
4623
|
box: Ne,
|
|
4624
4624
|
align: "center-middle",
|
|
4625
4625
|
style: {
|
|
4626
|
-
fill: Ui(p,
|
|
4626
|
+
fill: Ui(p, m, l, c.stroke)
|
|
4627
4627
|
}
|
|
4628
4628
|
});
|
|
4629
4629
|
if (!E) {
|
|
@@ -4821,7 +4821,7 @@ function di(e, t, i, s, n, r, o) {
|
|
|
4821
4821
|
box: ji(p, c),
|
|
4822
4822
|
padding: 7,
|
|
4823
4823
|
style: {
|
|
4824
|
-
fill: Ui(p,
|
|
4824
|
+
fill: Ui(p, m, l, c.stroke)
|
|
4825
4825
|
}
|
|
4826
4826
|
}), E;
|
|
4827
4827
|
},
|
|
@@ -5016,20 +5016,20 @@ Ks.prototype.getDimensions = function(e, t) {
|
|
|
5016
5016
|
return this.layoutText(e, t).dimensions;
|
|
5017
5017
|
};
|
|
5018
5018
|
Ks.prototype.layoutText = function(e, t) {
|
|
5019
|
-
var i = Y({}, this._config.size, t.box), s = Y({}, this._config.style, t.style), n = Hu(t.align || this._config.align), r = Ku(t.padding !== void 0 ? t.padding : this._config.padding), o = t.fitBox || !1, a = ed(s), l = e.split(/\u00AD?\r?\n/),
|
|
5019
|
+
var i = Y({}, this._config.size, t.box), s = Y({}, this._config.style, t.style), n = Hu(t.align || this._config.align), r = Ku(t.padding !== void 0 ? t.padding : this._config.padding), o = t.fitBox || !1, a = ed(s), l = e.split(/\u00AD?\r?\n/), m = [], h = i.width - r.left - r.right, u = me("text");
|
|
5020
5020
|
ye(u, { x: 0, y: 0 }), ye(u, s);
|
|
5021
5021
|
var A = $u();
|
|
5022
5022
|
for (Me(A, u); l.length; )
|
|
5023
|
-
|
|
5023
|
+
m.push(Yu(l, h, u));
|
|
5024
5024
|
n.vertical === "middle" && (r.top = r.bottom = 0);
|
|
5025
|
-
var C = Si(
|
|
5025
|
+
var C = Si(m, function(te, M, b) {
|
|
5026
5026
|
return te + (a || M.height);
|
|
5027
|
-
}, 0) + r.top + r.bottom, P = Si(
|
|
5027
|
+
}, 0) + r.top + r.bottom, P = Si(m, function(te, M, b) {
|
|
5028
5028
|
return M.width > te ? M.width : te;
|
|
5029
5029
|
}, 0), R = r.top;
|
|
5030
|
-
n.vertical === "middle" && (R += (i.height - C) / 2), R -= (a ||
|
|
5030
|
+
n.vertical === "middle" && (R += (i.height - C) / 2), R -= (a || m[0].height) / 4;
|
|
5031
5031
|
var ee = me("text");
|
|
5032
|
-
ye(ee, s), j(
|
|
5032
|
+
ye(ee, s), j(m, function(te) {
|
|
5033
5033
|
var M;
|
|
5034
5034
|
switch (R += a || te.height, n.horizontal) {
|
|
5035
5035
|
case "left":
|
|
@@ -5349,8 +5349,8 @@ function nd() {
|
|
|
5349
5349
|
i.abspos ? (n = i.abspos.x, r = i.abspos.y) : (n = i.containerWidth * i.position.mx, r = i.containerHeight * i.position.my);
|
|
5350
5350
|
var o = {};
|
|
5351
5351
|
if (i.position) {
|
|
5352
|
-
for (var a = i.containerHeight / s.height * i.yScaleFactor, l = i.containerWidth / s.width * i.xScaleFactor,
|
|
5353
|
-
o["y" +
|
|
5352
|
+
for (var a = i.containerHeight / s.height * i.yScaleFactor, l = i.containerWidth / s.width * i.xScaleFactor, m = 0; m < s.heightElements.length; m++)
|
|
5353
|
+
o["y" + m] = s.heightElements[m] * a;
|
|
5354
5354
|
for (var h = 0; h < s.widthElements.length; h++)
|
|
5355
5355
|
o["x" + h] = s.widthElements[h] * l;
|
|
5356
5356
|
}
|
|
@@ -5420,11 +5420,11 @@ function hd(e) {
|
|
|
5420
5420
|
});
|
|
5421
5421
|
}
|
|
5422
5422
|
function fd(e) {
|
|
5423
|
-
for (var t = e.waypoints, i = t.reduce(function(
|
|
5423
|
+
for (var t = e.waypoints, i = t.reduce(function(m, h, u) {
|
|
5424
5424
|
var A = t[u - 1];
|
|
5425
5425
|
if (A) {
|
|
5426
|
-
var C =
|
|
5427
|
-
|
|
5426
|
+
var C = m[m.length - 1], P = C && C.endLength || 0, R = md(A, h);
|
|
5427
|
+
m.push({
|
|
5428
5428
|
start: A,
|
|
5429
5429
|
end: h,
|
|
5430
5430
|
startLength: P,
|
|
@@ -5432,9 +5432,9 @@ function fd(e) {
|
|
|
5432
5432
|
length: R
|
|
5433
5433
|
});
|
|
5434
5434
|
}
|
|
5435
|
-
return
|
|
5436
|
-
}, []), s = i.reduce(function(
|
|
5437
|
-
return
|
|
5435
|
+
return m;
|
|
5436
|
+
}, []), s = i.reduce(function(m, h) {
|
|
5437
|
+
return m + h.length;
|
|
5438
5438
|
}, 0), n = s / 2, r = 0, o = i[r]; o.endLength < n; )
|
|
5439
5439
|
o = i[++r];
|
|
5440
5440
|
var a = (n - o.startLength) / o.length, l = {
|
|
@@ -5489,16 +5489,16 @@ Rt.prototype.add = function(e, t, i) {
|
|
|
5489
5489
|
} else if (W(t, "bpmndi:BPMNShape")) {
|
|
5490
5490
|
var a = !ti(e, t), l = Ad(e);
|
|
5491
5491
|
n = i && (i.hidden || i.collapsed);
|
|
5492
|
-
var
|
|
5492
|
+
var m = t.bounds;
|
|
5493
5493
|
s = this._elementFactory.createShape(Es(e, t, {
|
|
5494
5494
|
collapsed: a,
|
|
5495
5495
|
hidden: n,
|
|
5496
|
-
x: Math.round(
|
|
5497
|
-
y: Math.round(
|
|
5498
|
-
width: Math.round(
|
|
5499
|
-
height: Math.round(
|
|
5496
|
+
x: Math.round(m.x),
|
|
5497
|
+
y: Math.round(m.y),
|
|
5498
|
+
width: Math.round(m.width),
|
|
5499
|
+
height: Math.round(m.height),
|
|
5500
5500
|
isFrame: l
|
|
5501
|
-
})), W(e, "bpmn:BoundaryEvent") && this._attachBoundary(e, s), W(e, "bpmn:Lane") && (r = 0), W(e, "bpmn:DataStoreReference") && (yd(i, Bn(
|
|
5501
|
+
})), W(e, "bpmn:BoundaryEvent") && this._attachBoundary(e, s), W(e, "bpmn:Lane") && (r = 0), W(e, "bpmn:DataStoreReference") && (yd(i, Bn(m)) || (i = this._canvas.findRoot(i))), this._canvas.addShape(s, i, r);
|
|
5502
5502
|
} else if (W(t, "bpmndi:BPMNEdge")) {
|
|
5503
5503
|
var h = this._getSource(e), u = this._getTarget(e);
|
|
5504
5504
|
n = i && (i.hidden || i.collapsed), s = this._elementFactory.createConnection(Es(e, t, {
|
|
@@ -5578,8 +5578,8 @@ function Zi(e, t) {
|
|
|
5578
5578
|
return j(e, function(o) {
|
|
5579
5579
|
var a = o;
|
|
5580
5580
|
o.waypoints && !t && (a = Zi(o.waypoints, !0));
|
|
5581
|
-
var l = a.x,
|
|
5582
|
-
(l < i || i === void 0) && (i = l), (
|
|
5581
|
+
var l = a.x, m = a.y, h = a.height || 0, u = a.width || 0;
|
|
5582
|
+
(l < i || i === void 0) && (i = l), (m < s || s === void 0) && (s = m), (l + u > n || n === void 0) && (n = l + u), (m + h > r || r === void 0) && (r = m + h);
|
|
5583
5583
|
}), {
|
|
5584
5584
|
x: i,
|
|
5585
5585
|
y: s,
|
|
@@ -5823,8 +5823,8 @@ _e.prototype.on = function(e, t, i, s, n, r) {
|
|
|
5823
5823
|
gt(e) || (e = [e]);
|
|
5824
5824
|
var o = this._eventBus;
|
|
5825
5825
|
j(e, function(a) {
|
|
5826
|
-
var l = ["commandStack", a, t].filter(function(
|
|
5827
|
-
return
|
|
5826
|
+
var l = ["commandStack", a, t].filter(function(m) {
|
|
5827
|
+
return m;
|
|
5828
5828
|
}).join(".");
|
|
5829
5829
|
o.on(l, i, n ? Id(s, r) : s, r);
|
|
5830
5830
|
});
|
|
@@ -5884,14 +5884,14 @@ function oa(e, t, i) {
|
|
|
5884
5884
|
n.appendChild(s);
|
|
5885
5885
|
var o = [];
|
|
5886
5886
|
e.on("element.changed", function(l) {
|
|
5887
|
-
var
|
|
5887
|
+
var m = l.element, h = be(m), u = At(o, function(A) {
|
|
5888
5888
|
return A === h;
|
|
5889
5889
|
});
|
|
5890
5890
|
!u || a();
|
|
5891
5891
|
});
|
|
5892
5892
|
function a(l) {
|
|
5893
5893
|
l && (o = Dd(l));
|
|
5894
|
-
var
|
|
5894
|
+
var m = o.flatMap(function(u) {
|
|
5895
5895
|
var A = i.findRoot(tr(u)) || i.findRoot(u.id);
|
|
5896
5896
|
if (!A && W(u, "bpmn:Process")) {
|
|
5897
5897
|
var C = t.find(function(ee) {
|
|
@@ -5908,8 +5908,8 @@ function oa(e, t, i) {
|
|
|
5908
5908
|
}), R;
|
|
5909
5909
|
});
|
|
5910
5910
|
s.innerHTML = "";
|
|
5911
|
-
var h =
|
|
5912
|
-
r.toggle(Md, h),
|
|
5911
|
+
var h = m.length > 1;
|
|
5912
|
+
r.toggle(Md, h), m.forEach(function(u) {
|
|
5913
5913
|
s.appendChild(u);
|
|
5914
5914
|
});
|
|
5915
5915
|
}
|
|
@@ -5933,10 +5933,10 @@ function aa(e, t) {
|
|
|
5933
5933
|
zoom: o.scale
|
|
5934
5934
|
}), i = r, !(!W(r, "bpmn:SubProcess") && !a)) {
|
|
5935
5935
|
a = a || { x: 0, y: 0, zoom: 1 };
|
|
5936
|
-
var l = (o.x - a.x) * o.scale,
|
|
5937
|
-
(l !== 0 ||
|
|
5936
|
+
var l = (o.x - a.x) * o.scale, m = (o.y - a.y) * o.scale;
|
|
5937
|
+
(l !== 0 || m !== 0) && t.scroll({
|
|
5938
5938
|
dx: l,
|
|
5939
|
-
dy:
|
|
5939
|
+
dy: m
|
|
5940
5940
|
}), a.zoom !== o.scale && t.zoom(a.zoom, { x: 0, y: 0 });
|
|
5941
5941
|
}
|
|
5942
5942
|
}), e.on("diagram.clear", function() {
|
|
@@ -6076,16 +6076,16 @@ function Yt(e, t, i, s, n) {
|
|
|
6076
6076
|
["shape.create", "shape.move", "shape.delete"],
|
|
6077
6077
|
vs,
|
|
6078
6078
|
function(o) {
|
|
6079
|
-
var a = o.oldParent, l = o.newParent || o.parent,
|
|
6080
|
-
r._canDrillDown(
|
|
6079
|
+
var a = o.oldParent, l = o.newParent || o.parent, m = o.shape;
|
|
6080
|
+
r._canDrillDown(m) && r._addOverlay(m), r._updateDrilldownOverlay(a), r._updateDrilldownOverlay(l), r._updateDrilldownOverlay(m);
|
|
6081
6081
|
},
|
|
6082
6082
|
!0
|
|
6083
6083
|
), this.reverted(
|
|
6084
6084
|
["shape.create", "shape.move", "shape.delete"],
|
|
6085
6085
|
vs,
|
|
6086
6086
|
function(o) {
|
|
6087
|
-
var a = o.oldParent, l = o.newParent || o.parent,
|
|
6088
|
-
r._canDrillDown(
|
|
6087
|
+
var a = o.oldParent, l = o.newParent || o.parent, m = o.shape;
|
|
6088
|
+
r._canDrillDown(m) && r._addOverlay(m), r._updateDrilldownOverlay(a), r._updateDrilldownOverlay(l), r._updateDrilldownOverlay(m);
|
|
6089
6089
|
},
|
|
6090
6090
|
!0
|
|
6091
6091
|
), t.on("import.render.complete", function() {
|
|
@@ -6197,7 +6197,7 @@ function ua(e, t, i) {
|
|
|
6197
6197
|
return r[I];
|
|
6198
6198
|
}
|
|
6199
6199
|
function a(I, V) {
|
|
6200
|
-
var O =
|
|
6200
|
+
var O = m[I] || Ys;
|
|
6201
6201
|
return !O(V);
|
|
6202
6202
|
}
|
|
6203
6203
|
var l = {
|
|
@@ -6209,7 +6209,7 @@ function ua(e, t, i) {
|
|
|
6209
6209
|
mouseover: "element.hover",
|
|
6210
6210
|
mouseout: "element.out",
|
|
6211
6211
|
mouseup: "element.mouseup"
|
|
6212
|
-
},
|
|
6212
|
+
}, m = {
|
|
6213
6213
|
"element.contextmenu": _d,
|
|
6214
6214
|
"element.mousedown": bs,
|
|
6215
6215
|
"element.mouseup": bs,
|
|
@@ -6227,7 +6227,7 @@ function ua(e, t, i) {
|
|
|
6227
6227
|
var Q = r[O] = function(U) {
|
|
6228
6228
|
n(O, U);
|
|
6229
6229
|
};
|
|
6230
|
-
_ && (
|
|
6230
|
+
_ && (m[O] = _), Q.$delegate = Ii.bind(I, u, V, Q);
|
|
6231
6231
|
}
|
|
6232
6232
|
function C(I, V, O) {
|
|
6233
6233
|
var _ = o(O);
|
|
@@ -6370,17 +6370,17 @@ function da(e, t) {
|
|
|
6370
6370
|
}), t.on("element.out", function(n) {
|
|
6371
6371
|
s(n.element, Fr);
|
|
6372
6372
|
}), t.on("selection.changed", function(n) {
|
|
6373
|
-
function r(
|
|
6374
|
-
s(
|
|
6373
|
+
function r(m) {
|
|
6374
|
+
s(m, Vr);
|
|
6375
6375
|
}
|
|
6376
|
-
function o(
|
|
6377
|
-
i(
|
|
6376
|
+
function o(m) {
|
|
6377
|
+
i(m, Vr);
|
|
6378
6378
|
}
|
|
6379
6379
|
var a = n.oldSelection, l = n.newSelection;
|
|
6380
|
-
j(a, function(
|
|
6381
|
-
l.indexOf(
|
|
6382
|
-
}), j(l, function(
|
|
6383
|
-
a.indexOf(
|
|
6380
|
+
j(a, function(m) {
|
|
6381
|
+
l.indexOf(m) === -1 && r(m);
|
|
6382
|
+
}), j(l, function(m) {
|
|
6383
|
+
a.indexOf(m) === -1 && o(m);
|
|
6384
6384
|
});
|
|
6385
6385
|
});
|
|
6386
6386
|
}
|
|
@@ -6390,11 +6390,11 @@ da.$inject = [
|
|
|
6390
6390
|
];
|
|
6391
6391
|
function ha(e, t, i, s) {
|
|
6392
6392
|
e.on("create.end", 500, function(n) {
|
|
6393
|
-
var r = n.context, o = r.canExecute, a = r.elements, l = r.hints || {},
|
|
6393
|
+
var r = n.context, o = r.canExecute, a = r.elements, l = r.hints || {}, m = l.autoSelect;
|
|
6394
6394
|
if (o) {
|
|
6395
|
-
if (
|
|
6395
|
+
if (m === !1)
|
|
6396
6396
|
return;
|
|
6397
|
-
gt(
|
|
6397
|
+
gt(m) ? t.select(m) : t.select(a.filter(qd));
|
|
6398
6398
|
}
|
|
6399
6399
|
}), e.on("connect.end", 500, function(n) {
|
|
6400
6400
|
var r = n.context, o = r.connection;
|
|
@@ -6488,7 +6488,7 @@ function fa(e, t) {
|
|
|
6488
6488
|
}
|
|
6489
6489
|
return i.get(M, b);
|
|
6490
6490
|
}
|
|
6491
|
-
function
|
|
6491
|
+
function m(M, b) {
|
|
6492
6492
|
if (typeof b > "u" && (b = {}), typeof M != "function")
|
|
6493
6493
|
if (ir(M))
|
|
6494
6494
|
M = Is(M.slice());
|
|
@@ -6504,14 +6504,14 @@ function fa(e, t) {
|
|
|
6504
6504
|
const {
|
|
6505
6505
|
fn: b,
|
|
6506
6506
|
dependencies: x
|
|
6507
|
-
} =
|
|
6507
|
+
} = m(M), D = Function.prototype.bind.call(b, null, ...x);
|
|
6508
6508
|
return new D();
|
|
6509
6509
|
}
|
|
6510
6510
|
function u(M, b, x) {
|
|
6511
6511
|
const {
|
|
6512
6512
|
fn: D,
|
|
6513
6513
|
dependencies: H
|
|
6514
|
-
} =
|
|
6514
|
+
} = m(M, x);
|
|
6515
6515
|
return D.apply(b, H);
|
|
6516
6516
|
}
|
|
6517
6517
|
function A(M) {
|
|
@@ -6964,7 +6964,7 @@ z.prototype.viewbox = function(e) {
|
|
|
6964
6964
|
if (e === void 0 && this._cachedViewbox)
|
|
6965
6965
|
return structuredClone(this._cachedViewbox);
|
|
6966
6966
|
const t = this._viewport, i = this.getSize();
|
|
6967
|
-
let s, n, r, o, a, l,
|
|
6967
|
+
let s, n, r, o, a, l, m;
|
|
6968
6968
|
if (e)
|
|
6969
6969
|
this._changeViewbox(function() {
|
|
6970
6970
|
a = Math.min(i.width / e.width, i.height / e.height);
|
|
@@ -6972,9 +6972,9 @@ z.prototype.viewbox = function(e) {
|
|
|
6972
6972
|
zi(t, h);
|
|
6973
6973
|
});
|
|
6974
6974
|
else
|
|
6975
|
-
return r = this._rootElement ? this.getActiveLayer() : null, s = r && r.getBBox() || {}, o = zi(t), n = o ? o.matrix : tu(), a = xs(n.a, 1e3), l = xs(-n.e || 0, 1e3),
|
|
6975
|
+
return r = this._rootElement ? this.getActiveLayer() : null, s = r && r.getBBox() || {}, o = zi(t), n = o ? o.matrix : tu(), a = xs(n.a, 1e3), l = xs(-n.e || 0, 1e3), m = xs(-n.f || 0, 1e3), e = this._cachedViewbox = {
|
|
6976
6976
|
x: l ? l / a : 0,
|
|
6977
|
-
y:
|
|
6977
|
+
y: m ? m / a : 0,
|
|
6978
6978
|
width: i.width / a,
|
|
6979
6979
|
height: i.height / a,
|
|
6980
6980
|
scale: a,
|
|
@@ -7008,16 +7008,16 @@ z.prototype.scrollToElement = function(e, t) {
|
|
|
7008
7008
|
left: t.left || i
|
|
7009
7009
|
};
|
|
7010
7010
|
const n = Zi(e), r = Sn(n), o = this.viewbox(), a = this.zoom();
|
|
7011
|
-
let l,
|
|
7011
|
+
let l, m;
|
|
7012
7012
|
o.y += t.top / a, o.x += t.left / a, o.width -= (t.right + t.left) / a, o.height -= (t.bottom + t.top) / a;
|
|
7013
7013
|
const h = Sn(o);
|
|
7014
7014
|
if (!(n.width < o.width && n.height < o.height))
|
|
7015
|
-
l = n.x - o.x,
|
|
7015
|
+
l = n.x - o.x, m = n.y - o.y;
|
|
7016
7016
|
else {
|
|
7017
7017
|
const A = Math.max(0, r.right - h.right), C = Math.min(0, r.left - h.left), P = Math.max(0, r.bottom - h.bottom), R = Math.min(0, r.top - h.top);
|
|
7018
|
-
l = A || C,
|
|
7018
|
+
l = A || C, m = P || R;
|
|
7019
7019
|
}
|
|
7020
|
-
this.scroll({ dx: -l * a, dy: -
|
|
7020
|
+
this.scroll({ dx: -l * a, dy: -m * a });
|
|
7021
7021
|
};
|
|
7022
7022
|
z.prototype.zoom = function(e, t) {
|
|
7023
7023
|
if (!e)
|
|
@@ -7053,10 +7053,10 @@ z.prototype._fitViewport = function(e) {
|
|
|
7053
7053
|
};
|
|
7054
7054
|
z.prototype._setZoom = function(e, t) {
|
|
7055
7055
|
const i = this._svg, s = this._viewport, n = i.createSVGMatrix(), r = i.createSVGPoint();
|
|
7056
|
-
let o, a, l,
|
|
7056
|
+
let o, a, l, m, h;
|
|
7057
7057
|
l = s.getCTM();
|
|
7058
7058
|
const u = l.a;
|
|
7059
|
-
return t ? (o = Y(r, t), a = o.matrixTransform(l.inverse()),
|
|
7059
|
+
return t ? (o = Y(r, t), a = o.matrixTransform(l.inverse()), m = n.translate(a.x, a.y).scale(1 / u * e).translate(-a.x, -a.y), h = l.multiply(m)) : h = n.scale(e), ya(this._viewport, h), h;
|
|
7060
7060
|
};
|
|
7061
7061
|
z.prototype.getSize = function() {
|
|
7062
7062
|
return {
|
|
@@ -7736,9 +7736,9 @@ Xt.prototype.registerType = function(e, t) {
|
|
|
7736
7736
|
};
|
|
7737
7737
|
Xt.prototype.mapTypes = function(e, t, i) {
|
|
7738
7738
|
var s = Pn(e.name) ? { name: e.name } : this.typeMap[e.name], n = this;
|
|
7739
|
-
function r(l,
|
|
7739
|
+
function r(l, m) {
|
|
7740
7740
|
var h = Ve(l, Pn(l) ? "" : e.prefix);
|
|
7741
|
-
n.mapTypes(h, t,
|
|
7741
|
+
n.mapTypes(h, t, m);
|
|
7742
7742
|
}
|
|
7743
7743
|
function o(l) {
|
|
7744
7744
|
return r(l, !0);
|
|
@@ -7939,7 +7939,7 @@ function Sh(e) {
|
|
|
7939
7939
|
function Pa(e) {
|
|
7940
7940
|
if (!this)
|
|
7941
7941
|
return new Pa(e);
|
|
7942
|
-
var t = e && e.proxy, i, s, n, r, o = Sh, a, l,
|
|
7942
|
+
var t = e && e.proxy, i, s, n, r, o = Sh, a, l, m, h, u = Jr, A = !1, C = !1, P = null, R = !1, ee;
|
|
7943
7943
|
function ae(b) {
|
|
7944
7944
|
b instanceof Error || (b = yi(b)), P = b, o(b, u);
|
|
7945
7945
|
}
|
|
@@ -7972,7 +7972,7 @@ function Pa(e) {
|
|
|
7972
7972
|
h = x;
|
|
7973
7973
|
break;
|
|
7974
7974
|
case "question":
|
|
7975
|
-
|
|
7975
|
+
m = x;
|
|
7976
7976
|
break;
|
|
7977
7977
|
case "comment":
|
|
7978
7978
|
l = x;
|
|
@@ -8130,7 +8130,7 @@ function Pa(e) {
|
|
|
8130
8130
|
if (oe === 63) {
|
|
8131
8131
|
if (U = b.indexOf("?>", Q), U === -1)
|
|
8132
8132
|
return ae("unclosed question");
|
|
8133
|
-
if (
|
|
8133
|
+
if (m && (m(b.substring(Q, U + 2), u), R))
|
|
8134
8134
|
return;
|
|
8135
8135
|
U += 2;
|
|
8136
8136
|
continue;
|
|
@@ -8319,8 +8319,8 @@ Qe.prototype.handleEnd = function() {
|
|
|
8319
8319
|
};
|
|
8320
8320
|
Qe.prototype.createElement = function(e) {
|
|
8321
8321
|
var t = e.attributes, i = this.type, s = Mt(i), n = this.context, r = new i({}), o = this.model, a;
|
|
8322
|
-
return j(t, function(l,
|
|
8323
|
-
var h = s.propertiesByName[
|
|
8322
|
+
return j(t, function(l, m) {
|
|
8323
|
+
var h = s.propertiesByName[m], u;
|
|
8324
8324
|
h && h.isReference ? h.isMany ? (u = l.split(" "), j(u, function(A) {
|
|
8325
8325
|
n.addReference({
|
|
8326
8326
|
element: r,
|
|
@@ -8331,20 +8331,20 @@ Qe.prototype.createElement = function(e) {
|
|
|
8331
8331
|
element: r,
|
|
8332
8332
|
property: h.ns.name,
|
|
8333
8333
|
id: l
|
|
8334
|
-
}) : (h ? l = rr(h.type, l) :
|
|
8335
|
-
message: "unknown attribute <" +
|
|
8334
|
+
}) : (h ? l = rr(h.type, l) : m === "xmlns" ? m = ":" + m : (a = Ve(m, s.ns.prefix), o.getPackage(a.prefix) && n.addWarning({
|
|
8335
|
+
message: "unknown attribute <" + m + ">",
|
|
8336
8336
|
element: r,
|
|
8337
|
-
property:
|
|
8337
|
+
property: m,
|
|
8338
8338
|
value: l
|
|
8339
|
-
})), r.set(
|
|
8339
|
+
})), r.set(m, l));
|
|
8340
8340
|
}), r;
|
|
8341
8341
|
};
|
|
8342
8342
|
Qe.prototype.getPropertyForNode = function(e) {
|
|
8343
8343
|
var t = e.name, i = Ve(t), s = this.type, n = this.model, r = Mt(s), o = i.name, a = r.propertiesByName[o];
|
|
8344
8344
|
if (a && !a.isAttr) {
|
|
8345
|
-
const
|
|
8346
|
-
if (
|
|
8347
|
-
const h = e.attributes[
|
|
8345
|
+
const m = Bh(a);
|
|
8346
|
+
if (m) {
|
|
8347
|
+
const h = e.attributes[m];
|
|
8348
8348
|
if (h) {
|
|
8349
8349
|
const u = Dh(h, e.ns, n), A = n.getType(u);
|
|
8350
8350
|
return Y({}, a, {
|
|
@@ -8356,15 +8356,15 @@ Qe.prototype.getPropertyForNode = function(e) {
|
|
|
8356
8356
|
}
|
|
8357
8357
|
var l = n.getPackage(i.prefix);
|
|
8358
8358
|
if (l) {
|
|
8359
|
-
const
|
|
8359
|
+
const m = Ra(i, l), h = n.getType(m);
|
|
8360
8360
|
if (a = At(r.properties, function(u) {
|
|
8361
8361
|
return !u.isVirtual && !u.isReference && !u.isAttribute && h.hasType(u.type);
|
|
8362
8362
|
}), a)
|
|
8363
8363
|
return Y({}, a, {
|
|
8364
8364
|
effectiveType: Mt(h).name
|
|
8365
8365
|
});
|
|
8366
|
-
} else if (a = At(r.properties, function(
|
|
8367
|
-
return !
|
|
8366
|
+
} else if (a = At(r.properties, function(m) {
|
|
8367
|
+
return !m.isReference && !m.isAttribute && m.type === "Element";
|
|
8368
8368
|
}), a)
|
|
8369
8369
|
return a;
|
|
8370
8370
|
throw Ht("unrecognized element <" + i.name + ">");
|
|
@@ -8426,7 +8426,7 @@ cr.prototype.fromXML = function(e, t, i) {
|
|
|
8426
8426
|
t instanceof Qe ? (s = t, t = {}) : typeof t == "string" ? (s = this.handler(t), t = {}) : typeof s == "string" && (s = this.handler(s));
|
|
8427
8427
|
var n = this.model, r = this.lax, o = new Oh(Y({}, t, { rootHandler: s })), a = new Pa({ proxy: !0 }), l = Rh();
|
|
8428
8428
|
s.context = o, l.push(s);
|
|
8429
|
-
function
|
|
8429
|
+
function m(x, D, H) {
|
|
8430
8430
|
var I = D(), V = I.line, O = I.column, _ = I.data;
|
|
8431
8431
|
_.charAt(0) === "<" && _.indexOf(" ") !== -1 && (_ = _.slice(0, _.indexOf(" ")) + ">");
|
|
8432
8432
|
var Q = "unparsable content " + (_ ? _ + " " : "") + `detected
|
|
@@ -8441,7 +8441,7 @@ cr.prototype.fromXML = function(e, t, i) {
|
|
|
8441
8441
|
throw Ht(Q);
|
|
8442
8442
|
}
|
|
8443
8443
|
function h(x, D) {
|
|
8444
|
-
return
|
|
8444
|
+
return m(x, D, !0);
|
|
8445
8445
|
}
|
|
8446
8446
|
function u() {
|
|
8447
8447
|
var x = o.elementsById, D = o.references, H, I;
|
|
@@ -8476,7 +8476,7 @@ cr.prototype.fromXML = function(e, t, i) {
|
|
|
8476
8476
|
try {
|
|
8477
8477
|
l.push(H.handleNode(x));
|
|
8478
8478
|
} catch (I) {
|
|
8479
|
-
|
|
8479
|
+
m(I, D, r) && l.push(new or());
|
|
8480
8480
|
}
|
|
8481
8481
|
}
|
|
8482
8482
|
function te(x, D) {
|
|
@@ -8507,7 +8507,7 @@ cr.prototype.fromXML = function(e, t, i) {
|
|
|
8507
8507
|
ae(_, I);
|
|
8508
8508
|
}).on("question", ee).on("closeTag", A).on("cdata", te).on("text", function(x, D, H) {
|
|
8509
8509
|
M(D(x), H);
|
|
8510
|
-
}).on("error",
|
|
8510
|
+
}).on("error", m).on("warn", h), new Promise(function(x, D) {
|
|
8511
8511
|
var H;
|
|
8512
8512
|
try {
|
|
8513
8513
|
a.parse(e), u();
|
|
@@ -8759,18 +8759,18 @@ ve.prototype.parseContainments = function(e) {
|
|
|
8759
8759
|
if (a || (r = [r]), n.isBody)
|
|
8760
8760
|
i.push(new pi().build(n, r[0]));
|
|
8761
8761
|
else if (Sa(n.type))
|
|
8762
|
-
j(r, function(
|
|
8763
|
-
i.push(new ur(t.addTagName(t.nsPropertyTagName(n))).build(n,
|
|
8762
|
+
j(r, function(m) {
|
|
8763
|
+
i.push(new ur(t.addTagName(t.nsPropertyTagName(n))).build(n, m));
|
|
8764
8764
|
});
|
|
8765
8765
|
else if (o)
|
|
8766
|
-
j(r, function(
|
|
8767
|
-
i.push(new pr(t.addTagName(t.nsPropertyTagName(n))).build(
|
|
8766
|
+
j(r, function(m) {
|
|
8767
|
+
i.push(new pr(t.addTagName(t.nsPropertyTagName(n))).build(m));
|
|
8768
8768
|
});
|
|
8769
8769
|
else {
|
|
8770
8770
|
var l = Oa(n);
|
|
8771
|
-
j(r, function(
|
|
8771
|
+
j(r, function(m) {
|
|
8772
8772
|
var h;
|
|
8773
|
-
l ? l === Da ? h = new ve(t, n) : h = new Zs(t, n, l) : h = new ve(t), i.push(h.build(
|
|
8773
|
+
l ? l === Da ? h = new ve(t, n) : h = new Zs(t, n, l) : h = new ve(t), i.push(h.build(m));
|
|
8774
8774
|
});
|
|
8775
8775
|
}
|
|
8776
8776
|
});
|
|
@@ -12557,7 +12557,7 @@ function Wf(e) {
|
|
|
12557
12557
|
function l(N, S) {
|
|
12558
12558
|
return e.root(N, s[N.id], S);
|
|
12559
12559
|
}
|
|
12560
|
-
function
|
|
12560
|
+
function m(N, S) {
|
|
12561
12561
|
try {
|
|
12562
12562
|
var K = s[N.id] && a(N, S);
|
|
12563
12563
|
return r(N), K;
|
|
@@ -12632,22 +12632,22 @@ function Wf(e) {
|
|
|
12632
12632
|
K.forEach(n(ee, S));
|
|
12633
12633
|
}
|
|
12634
12634
|
function te(N, S) {
|
|
12635
|
-
|
|
12635
|
+
m(N, S);
|
|
12636
12636
|
}
|
|
12637
12637
|
function M(N, S) {
|
|
12638
12638
|
j(N, n(te, S));
|
|
12639
12639
|
}
|
|
12640
12640
|
function b(N, S) {
|
|
12641
|
-
|
|
12641
|
+
m(N, S);
|
|
12642
12642
|
}
|
|
12643
12643
|
function x(N, S) {
|
|
12644
|
-
|
|
12644
|
+
m(N, S);
|
|
12645
12645
|
}
|
|
12646
12646
|
function D(N, S) {
|
|
12647
|
-
|
|
12647
|
+
m(N, S);
|
|
12648
12648
|
}
|
|
12649
12649
|
function H(N, S) {
|
|
12650
|
-
|
|
12650
|
+
m(N, S);
|
|
12651
12651
|
}
|
|
12652
12652
|
function I(N, S) {
|
|
12653
12653
|
j(N, function(K) {
|
|
@@ -12663,20 +12663,20 @@ function Wf(e) {
|
|
|
12663
12663
|
oe(S, K), I(S.artifacts, K);
|
|
12664
12664
|
};
|
|
12665
12665
|
function _(N, S) {
|
|
12666
|
-
var K =
|
|
12666
|
+
var K = m(N, S);
|
|
12667
12667
|
je(N, "bpmn:SubProcess") && O(N, K || S), je(N, "bpmn:Activity") && V(N.ioSpecification, S), i.push(function() {
|
|
12668
12668
|
j(N.dataInputAssociations, n(b, S)), j(N.dataOutputAssociations, n(b, S));
|
|
12669
12669
|
});
|
|
12670
12670
|
}
|
|
12671
12671
|
function Q(N, S) {
|
|
12672
|
-
|
|
12672
|
+
m(N, S);
|
|
12673
12673
|
}
|
|
12674
12674
|
function U(N, S) {
|
|
12675
|
-
|
|
12675
|
+
m(N, S);
|
|
12676
12676
|
}
|
|
12677
12677
|
function ie(N, S) {
|
|
12678
12678
|
i.push(function() {
|
|
12679
|
-
var K =
|
|
12679
|
+
var K = m(N, S);
|
|
12680
12680
|
N.childLaneSet && bt(N.childLaneSet, K || S), nt(N);
|
|
12681
12681
|
});
|
|
12682
12682
|
}
|
|
@@ -12705,7 +12705,7 @@ function Wf(e) {
|
|
|
12705
12705
|
});
|
|
12706
12706
|
}
|
|
12707
12707
|
function ht(N, S) {
|
|
12708
|
-
var K =
|
|
12708
|
+
var K = m(N, S), pe = N.processRef;
|
|
12709
12709
|
pe && ee(pe, K || S);
|
|
12710
12710
|
}
|
|
12711
12711
|
function Ee(N, S) {
|
|
@@ -12722,7 +12722,7 @@ function Wf(e) {
|
|
|
12722
12722
|
}
|
|
12723
12723
|
function Yf(e, t, i) {
|
|
12724
12724
|
var s, n, r, o, a = [];
|
|
12725
|
-
function l(
|
|
12725
|
+
function l(m, h) {
|
|
12726
12726
|
var u = {
|
|
12727
12727
|
root: function(R, ee) {
|
|
12728
12728
|
return s.add(R, ee);
|
|
@@ -12734,24 +12734,24 @@ function Yf(e, t, i) {
|
|
|
12734
12734
|
a.push({ message: R, context: ee });
|
|
12735
12735
|
}
|
|
12736
12736
|
}, A = new Wf(u);
|
|
12737
|
-
h = h ||
|
|
12738
|
-
var C = zf(
|
|
12737
|
+
h = h || m.diagrams && m.diagrams[0];
|
|
12738
|
+
var C = zf(m, h);
|
|
12739
12739
|
if (!C)
|
|
12740
12740
|
throw new Error("no diagram to display");
|
|
12741
12741
|
j(C, function(R) {
|
|
12742
|
-
A.handleDefinitions(
|
|
12742
|
+
A.handleDefinitions(m, R);
|
|
12743
12743
|
});
|
|
12744
12744
|
var P = h.plane.bpmnElement.id;
|
|
12745
12745
|
r.setRootElement(
|
|
12746
12746
|
r.findRoot(P + "_plane") || r.findRoot(P)
|
|
12747
12747
|
);
|
|
12748
12748
|
}
|
|
12749
|
-
return new Promise(function(
|
|
12749
|
+
return new Promise(function(m, h) {
|
|
12750
12750
|
try {
|
|
12751
12751
|
return s = e.get("bpmnImporter"), n = e.get("eventBus"), r = e.get("canvas"), n.fire("import.render.start", { definitions: t }), l(t, i), n.fire("import.render.complete", {
|
|
12752
12752
|
error: o,
|
|
12753
12753
|
warnings: a
|
|
12754
|
-
}),
|
|
12754
|
+
}), m({ warnings: a });
|
|
12755
12755
|
} catch (u) {
|
|
12756
12756
|
return u.warnings = a, h(u);
|
|
12757
12757
|
}
|
|
@@ -12762,21 +12762,21 @@ function zf(e, t) {
|
|
|
12762
12762
|
var i = t.plane.bpmnElement, s = i;
|
|
12763
12763
|
!W(i, "bpmn:Process") && !W(i, "bpmn:Collaboration") && (s = Zf(i));
|
|
12764
12764
|
var n;
|
|
12765
|
-
W(s, "bpmn:Collaboration") ? n = s : n = At(e.rootElements, function(
|
|
12766
|
-
if (!!W(
|
|
12767
|
-
return At(
|
|
12765
|
+
W(s, "bpmn:Collaboration") ? n = s : n = At(e.rootElements, function(m) {
|
|
12766
|
+
if (!!W(m, "bpmn:Collaboration"))
|
|
12767
|
+
return At(m.participants, function(h) {
|
|
12768
12768
|
return h.processRef === s;
|
|
12769
12769
|
});
|
|
12770
12770
|
});
|
|
12771
12771
|
var r = [s];
|
|
12772
|
-
n && (r = Pp(n.participants, function(
|
|
12773
|
-
return
|
|
12772
|
+
n && (r = Pp(n.participants, function(m) {
|
|
12773
|
+
return m.processRef;
|
|
12774
12774
|
}), r.push(n));
|
|
12775
12775
|
var o = Ua(r), a = [t], l = [i];
|
|
12776
|
-
return j(e.diagrams, function(
|
|
12777
|
-
if (!!
|
|
12778
|
-
var h =
|
|
12779
|
-
o.indexOf(h) !== -1 && l.indexOf(h) === -1 && (a.push(
|
|
12776
|
+
return j(e.diagrams, function(m) {
|
|
12777
|
+
if (!!m.plane) {
|
|
12778
|
+
var h = m.plane.bpmnElement;
|
|
12779
|
+
o.indexOf(h) !== -1 && l.indexOf(h) === -1 && (a.push(m), l.push(h));
|
|
12780
12780
|
}
|
|
12781
12781
|
}), a;
|
|
12782
12782
|
}
|
|
@@ -12855,8 +12855,8 @@ xe.prototype.importXML = async function(t, i) {
|
|
|
12855
12855
|
}), A;
|
|
12856
12856
|
}
|
|
12857
12857
|
let a = o.rootElement;
|
|
12858
|
-
const l = o.references,
|
|
12859
|
-
r = r.concat(
|
|
12858
|
+
const l = o.references, m = o.warnings, h = o.elementsById;
|
|
12859
|
+
r = r.concat(m), a = this._emit("import.parse.complete", n({
|
|
12860
12860
|
error: null,
|
|
12861
12861
|
definitions: a,
|
|
12862
12862
|
elementsById: h,
|
|
@@ -13065,8 +13065,8 @@ function Ja(e, t) {
|
|
|
13065
13065
|
a.focused ? e.on("element.mousedown", 500, s) : e.off("element.mousedown", s);
|
|
13066
13066
|
});
|
|
13067
13067
|
function n(a) {
|
|
13068
|
-
var l = i.start,
|
|
13069
|
-
if (!i.dragging && fm(u) > hm && (i.dragging = !0,
|
|
13068
|
+
var l = i.start, m = i.button, h = Rr(a), u = Kr(h, l);
|
|
13069
|
+
if (!i.dragging && fm(u) > hm && (i.dragging = !0, m === 0 && dm(e), qa("grab")), i.dragging) {
|
|
13070
13070
|
var A = i.last || i.start;
|
|
13071
13071
|
u = Kr(h, A), t.scroll({
|
|
13072
13072
|
dx: u.x,
|
|
@@ -13243,14 +13243,14 @@ const fn = {
|
|
|
13243
13243
|
return i;
|
|
13244
13244
|
};
|
|
13245
13245
|
function vm(e, t = "YYYY-MM-DD HH:mm:ss") {
|
|
13246
|
-
const i = new Date(e), s = i.getFullYear(), n = i.getMonth() + 1, r = i.getDate(), o = i.getHours(), a = i.getMinutes(), l = i.getSeconds(),
|
|
13246
|
+
const i = new Date(e), s = i.getFullYear(), n = i.getMonth() + 1, r = i.getDate(), o = i.getHours(), a = i.getMinutes(), l = i.getSeconds(), m = i.getDay(), u = {
|
|
13247
13247
|
YYYY: s,
|
|
13248
13248
|
MM: n,
|
|
13249
13249
|
DD: r,
|
|
13250
13250
|
HH: o,
|
|
13251
13251
|
mm: a,
|
|
13252
13252
|
ss: l,
|
|
13253
|
-
ww: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"][
|
|
13253
|
+
ww: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"][m]
|
|
13254
13254
|
};
|
|
13255
13255
|
for (let A in u)
|
|
13256
13256
|
t = t.replace(A, u[A]);
|
|
@@ -13277,16 +13277,16 @@ function bm(e) {
|
|
|
13277
13277
|
id: s.historyActivityId,
|
|
13278
13278
|
class: !o && s.historyActivityType != "candidate" ? "nodePrimary" : ""
|
|
13279
13279
|
};
|
|
13280
|
-
let
|
|
13280
|
+
let m = "";
|
|
13281
13281
|
if (n) {
|
|
13282
|
-
if (
|
|
13282
|
+
if (m = `<span title='${n}'>${n}</span><br>`, r && (m += `<span title='${r}'>${vm(
|
|
13283
13283
|
r,
|
|
13284
13284
|
"YYYY-MM-DD HH:mm"
|
|
13285
13285
|
)}</span><br>`), a && a.length > 0) {
|
|
13286
13286
|
let u, { type: A, fullMessage: C } = a.find((P) => P.action == "AddComment") || {};
|
|
13287
|
-
A == "assigneeComment" && (u = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + C, l.class = "nodeWarn"), A == "dispatchComment" && (u = "\u8C03\u5EA6\uFF1A" + C, l.class = "nodeWarn"), A == "transferComment" && (u = "\u8F6C\u529E\uFF1A" + C, l.class = "nodeWarn"), A == "delegateComment" && (u = "\u59D4\u6258\uFF1A" + C, l.class = "nodeWarn"), A == "rollbackComment" && (u = "\u9A73\u56DE\uFF1A" + C, l.class = "nodeError"), A == "terminateComment" && (u = "\u7EC8\u6B62\uFF1A" + C, l.class = "nodeError"), A == "addMultiInstanceComment" && (u = "\u52A0\u7B7E\uFF1A" + C, l.class = "nodeWarn"), A == "deleteMultiInstanceComment" && (u = "\u51CF\u7B7E\uFF1A" + C, l.class = "nodeError"), A == "withdrawComment" && (u = "\u64A4\u9500\uFF1A" + C, l.class = "nodeWarn"), A == "deleteProcessComment" && (u = "\u5220\u9664\u6D41\u7A0B\uFF1A" + C, l.class = "nodeError"), A == "cancelProcessComment" && (u = "\u64A4\u9500\u6D41\u7A0B\uFF1A" + C, l.class = "nodeError"), A == "comment" && (u = "\u5BA1\u6279\uFF1A" + C, l.class = "nodeSuccess"), u && (
|
|
13287
|
+
A == "assigneeComment" && (u = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + C, l.class = "nodeWarn"), A == "dispatchComment" && (u = "\u8C03\u5EA6\uFF1A" + C, l.class = "nodeWarn"), A == "transferComment" && (u = "\u8F6C\u529E\uFF1A" + C, l.class = "nodeWarn"), A == "delegateComment" && (u = "\u59D4\u6258\uFF1A" + C, l.class = "nodeWarn"), A == "rollbackComment" && (u = "\u9A73\u56DE\uFF1A" + C, l.class = "nodeError"), A == "terminateComment" && (u = "\u7EC8\u6B62\uFF1A" + C, l.class = "nodeError"), A == "addMultiInstanceComment" && (u = "\u52A0\u7B7E\uFF1A" + C, l.class = "nodeWarn"), A == "deleteMultiInstanceComment" && (u = "\u51CF\u7B7E\uFF1A" + C, l.class = "nodeError"), A == "withdrawComment" && (u = "\u64A4\u9500\uFF1A" + C, l.class = "nodeWarn"), A == "deleteProcessComment" && (u = "\u5220\u9664\u6D41\u7A0B\uFF1A" + C, l.class = "nodeError"), A == "cancelProcessComment" && (u = "\u64A4\u9500\u6D41\u7A0B\uFF1A" + C, l.class = "nodeError"), A == "comment" && (u = "\u5BA1\u6279\uFF1A" + C, l.class = "nodeSuccess"), u && (m += `<span title='${u}'>${u}</span>`);
|
|
13288
13288
|
}
|
|
13289
|
-
l.tooltip =
|
|
13289
|
+
l.tooltip = m;
|
|
13290
13290
|
}
|
|
13291
13291
|
s.historyActivityType == "sequenceFlow" ? l.class = "lineWarn" : !l.class && s.historyActivityType != "candidate" && (l.class = "nodeSuccess");
|
|
13292
13292
|
const h = i.findIndex((u) => u.id == s.historyActivityId);
|
|
@@ -13368,7 +13368,7 @@ const wm = {
|
|
|
13368
13368
|
},
|
|
13369
13369
|
enableTouchMove() {
|
|
13370
13370
|
const e = this.viewer.get("canvas"), t = e._svg, i = document.querySelector(".viewport"), s = document.querySelector(".djs-tooltip-container");
|
|
13371
|
-
let n = !1, r, o, a = 0, l = 0,
|
|
13371
|
+
let n = !1, r, o, a = 0, l = 0, m = 0, h = 0;
|
|
13372
13372
|
t.addEventListener("touchstart", (u) => {
|
|
13373
13373
|
n = !0;
|
|
13374
13374
|
const A = u.touches[0];
|
|
@@ -13376,12 +13376,12 @@ const wm = {
|
|
|
13376
13376
|
const C = i.getAttribute("transform").match(/matrix\(([^)]+)\)/)[1].split(/\s*,\s*|\s+/);
|
|
13377
13377
|
a = parseFloat(C[4]), l = parseFloat(C[5]);
|
|
13378
13378
|
const P = this.getTransformMatrix(s.style.transform);
|
|
13379
|
-
this.isAdd ? (
|
|
13379
|
+
this.isAdd ? (m = parseFloat(P[4]), h = parseFloat(P[5])) : (m = parseFloat(P[4]) + 30, h = parseFloat(P[5]) + 16, this.isAdd = !0);
|
|
13380
13380
|
}), t.addEventListener("touchmove", (u) => {
|
|
13381
13381
|
if (!n)
|
|
13382
13382
|
return;
|
|
13383
13383
|
const A = u.touches[0], C = A.clientX - r, P = A.clientY - o;
|
|
13384
|
-
l !== void 0 && (i.setAttribute("transform", `matrix(0.679276 0 0 0.679276 ${a + C} ${l + P})`), s.setAttribute("style", `position: absolute; width: 0px; height: 0px; transform: matrix(0.615, 0, 0, 0.615, ${
|
|
13384
|
+
l !== void 0 && (i.setAttribute("transform", `matrix(0.679276 0 0 0.679276 ${a + C} ${l + P})`), s.setAttribute("style", `position: absolute; width: 0px; height: 0px; transform: matrix(0.615, 0, 0, 0.615, ${m + C}, ${h + P});`)), e._cachedViewbox && (e._cachedViewbox.x = C, e._cachedViewbox.y = P), u.preventDefault();
|
|
13385
13385
|
}), t.addEventListener("touchend", () => {
|
|
13386
13386
|
n = !1;
|
|
13387
13387
|
});
|
|
@@ -13437,7 +13437,7 @@ const wm = {
|
|
|
13437
13437
|
class: "bpmn-look"
|
|
13438
13438
|
};
|
|
13439
13439
|
function km(e, t, i, s, n, r) {
|
|
13440
|
-
return d(),
|
|
13440
|
+
return d(), f("div", Cm, null, 512);
|
|
13441
13441
|
}
|
|
13442
13442
|
const Wa = /* @__PURE__ */ ke(wm, [["render", km], ["__scopeId", "data-v-634aec1f"]]), Tm = "data:image/png;base64,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", Em = "data:image/png;base64,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", hr = "data:image/png;base64,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", Im = Tt({
|
|
13443
13443
|
name: "TopTips",
|
|
@@ -13521,8 +13521,8 @@ const xm = { key: 0 }, Nm = {
|
|
|
13521
13521
|
class: "top-tipss-status-text"
|
|
13522
13522
|
};
|
|
13523
13523
|
function Qm(e, t, i, s, n, r) {
|
|
13524
|
-
return e.show ? (d(),
|
|
13525
|
-
e.statusTips ? (d(),
|
|
13524
|
+
return e.show ? (d(), f("div", xm, [
|
|
13525
|
+
e.statusTips ? (d(), f("div", {
|
|
13526
13526
|
key: 1,
|
|
13527
13527
|
class: "top-tipss",
|
|
13528
13528
|
style: we(
|
|
@@ -13530,27 +13530,27 @@ function Qm(e, t, i, s, n, r) {
|
|
|
13530
13530
|
)
|
|
13531
13531
|
}, [
|
|
13532
13532
|
g("div", Sm, [
|
|
13533
|
-
e.type == "loading" ? (d(),
|
|
13533
|
+
e.type == "loading" ? (d(), f("div", Bm, [
|
|
13534
13534
|
g("img", { src: e.loading }, null, 8, Pm),
|
|
13535
|
-
e.text ? (d(),
|
|
13535
|
+
e.text ? (d(), f("div", Mm, T(e.text), 1)) : k("", !0)
|
|
13536
13536
|
])) : k("", !0),
|
|
13537
|
-
e.type == "success" ? (d(),
|
|
13537
|
+
e.type == "success" ? (d(), f("div", Dm, [
|
|
13538
13538
|
g("img", { src: e.success }, null, 8, Om),
|
|
13539
|
-
e.text ? (d(),
|
|
13539
|
+
e.text ? (d(), f("div", Rm, T(e.text), 1)) : k("", !0)
|
|
13540
13540
|
])) : k("", !0),
|
|
13541
|
-
e.type == "error" ? (d(),
|
|
13541
|
+
e.type == "error" ? (d(), f("div", Lm, [
|
|
13542
13542
|
g("img", { src: e.error }, null, 8, Fm),
|
|
13543
|
-
e.text ? (d(),
|
|
13543
|
+
e.text ? (d(), f("div", Vm, T(e.text), 1)) : k("", !0)
|
|
13544
13544
|
])) : k("", !0)
|
|
13545
13545
|
])
|
|
13546
|
-
], 4)) : (d(),
|
|
13546
|
+
], 4)) : (d(), f("div", {
|
|
13547
13547
|
key: 0,
|
|
13548
13548
|
class: "top-tipss",
|
|
13549
13549
|
style: we(
|
|
13550
13550
|
e.show ? "visibility: visible; opacity: 1;" : "visibility: hidden; opacity: 0;"
|
|
13551
13551
|
)
|
|
13552
13552
|
}, [
|
|
13553
|
-
e.text ? (d(),
|
|
13553
|
+
e.text ? (d(), f("div", Nm, T(e.text), 1)) : k("", !0)
|
|
13554
13554
|
], 4)),
|
|
13555
13555
|
g("div", {
|
|
13556
13556
|
class: "top-tipss-mask",
|
|
@@ -13730,12 +13730,12 @@ const vt = /* @__PURE__ */ ke(Im, [["render", Qm], ["__scopeId", "data-v-239e459
|
|
|
13730
13730
|
if (this.filesArr.length > 0) {
|
|
13731
13731
|
for (let l = 0; l < this.filesArr.length; l++)
|
|
13732
13732
|
if (a.name == this.filesArr[l].name && s++, this.filesArr[l].name.includes(`(${s})`) && s++, s > 0) {
|
|
13733
|
-
let
|
|
13733
|
+
let m = a.name.lastIndexOf(
|
|
13734
13734
|
"."
|
|
13735
13735
|
);
|
|
13736
13736
|
a.name = `${a.name.substring(
|
|
13737
13737
|
0,
|
|
13738
|
-
|
|
13738
|
+
m
|
|
13739
13739
|
)} (${s}) .${a.name.substring(
|
|
13740
13740
|
a.name.lastIndexOf(
|
|
13741
13741
|
"."
|
|
@@ -13814,17 +13814,17 @@ const _m = { class: "attch-upload" }, Gm = {
|
|
|
13814
13814
|
class: "list-items-operation"
|
|
13815
13815
|
}, ug = ["onClick"], dg = ["src"];
|
|
13816
13816
|
function hg(e, t, i, s, n, r) {
|
|
13817
|
-
const o = q("TopTips"), a = q("PreviewImage"), l = q("PreView"),
|
|
13818
|
-
return d(),
|
|
13819
|
-
e.buttonLoading ? (d(),
|
|
13817
|
+
const o = q("TopTips"), a = q("PreviewImage"), l = q("PreView"), m = q("TopPopup");
|
|
13818
|
+
return d(), f("div", _m, [
|
|
13819
|
+
e.buttonLoading ? (d(), f("div", Gm)) : k("", !0),
|
|
13820
13820
|
g("div", qm, [
|
|
13821
13821
|
g("div", Jm, [
|
|
13822
13822
|
g("div", Hm, [
|
|
13823
13823
|
t[3] || (t[3] = re(" \u9644\u4EF6 ", -1)),
|
|
13824
|
-
e.requires ? (d(),
|
|
13824
|
+
e.requires ? (d(), f("span", Km, "*")) : k("", !0)
|
|
13825
13825
|
]),
|
|
13826
13826
|
g("div", Wm, [
|
|
13827
|
-
e.onlyShow ? k("", !0) : (d(),
|
|
13827
|
+
e.onlyShow ? k("", !0) : (d(), f("div", {
|
|
13828
13828
|
key: 0,
|
|
13829
13829
|
class: "upload-header-upload--item",
|
|
13830
13830
|
id: "inputfile",
|
|
@@ -13836,8 +13836,8 @@ function hg(e, t, i, s, n, r) {
|
|
|
13836
13836
|
])
|
|
13837
13837
|
]),
|
|
13838
13838
|
g("div", zm, [
|
|
13839
|
-
e.filesArr.length > 0 ? (d(),
|
|
13840
|
-
(d(!0),
|
|
13839
|
+
e.filesArr.length > 0 ? (d(), f("div", Zm, [
|
|
13840
|
+
(d(!0), f(F, null, Z(e.filesArr, (h, u) => (d(), f("div", {
|
|
13841
13841
|
class: "list-items",
|
|
13842
13842
|
key: h.uuid
|
|
13843
13843
|
}, [
|
|
@@ -13846,7 +13846,7 @@ function hg(e, t, i, s, n, r) {
|
|
|
13846
13846
|
h.name.substring(
|
|
13847
13847
|
h.name.lastIndexOf(".") + 1
|
|
13848
13848
|
).toLowerCase()
|
|
13849
|
-
) ? (d(),
|
|
13849
|
+
) ? (d(), f("img", {
|
|
13850
13850
|
key: 0,
|
|
13851
13851
|
class: "icon-img",
|
|
13852
13852
|
src: e.xls
|
|
@@ -13854,13 +13854,13 @@ function hg(e, t, i, s, n, r) {
|
|
|
13854
13854
|
h.name.substring(
|
|
13855
13855
|
h.name.lastIndexOf(".") + 1
|
|
13856
13856
|
).toLowerCase()
|
|
13857
|
-
) ? (d(),
|
|
13857
|
+
) ? (d(), f("img", {
|
|
13858
13858
|
key: 1,
|
|
13859
13859
|
class: "icon-img",
|
|
13860
13860
|
src: e.image
|
|
13861
13861
|
}, null, 8, eg)) : h.name.substring(
|
|
13862
13862
|
h.name.lastIndexOf(".") + 1
|
|
13863
|
-
).toLowerCase() == "pdf" ? (d(),
|
|
13863
|
+
).toLowerCase() == "pdf" ? (d(), f("img", {
|
|
13864
13864
|
key: 2,
|
|
13865
13865
|
class: "icon-img",
|
|
13866
13866
|
src: e.pdf
|
|
@@ -13868,7 +13868,7 @@ function hg(e, t, i, s, n, r) {
|
|
|
13868
13868
|
h.name.substring(
|
|
13869
13869
|
h.name.lastIndexOf(".") + 1
|
|
13870
13870
|
).toLowerCase()
|
|
13871
|
-
) ? (d(),
|
|
13871
|
+
) ? (d(), f("img", {
|
|
13872
13872
|
key: 3,
|
|
13873
13873
|
class: "icon-img",
|
|
13874
13874
|
src: e.doc
|
|
@@ -13876,11 +13876,11 @@ function hg(e, t, i, s, n, r) {
|
|
|
13876
13876
|
h.name.substring(
|
|
13877
13877
|
h.name.lastIndexOf(".") + 1
|
|
13878
13878
|
).toLowerCase()
|
|
13879
|
-
) ? (d(),
|
|
13879
|
+
) ? (d(), f("img", {
|
|
13880
13880
|
key: 4,
|
|
13881
13881
|
class: "icon-img",
|
|
13882
13882
|
src: e.zip
|
|
13883
|
-
}, null, 8, sg)) : (d(),
|
|
13883
|
+
}, null, 8, sg)) : (d(), f("img", {
|
|
13884
13884
|
key: 5,
|
|
13885
13885
|
class: "icon-img",
|
|
13886
13886
|
src: e.file
|
|
@@ -13902,7 +13902,7 @@ function hg(e, t, i, s, n, r) {
|
|
|
13902
13902
|
}, " \u9884\u89C8 ", 8, cg)
|
|
13903
13903
|
])
|
|
13904
13904
|
]),
|
|
13905
|
-
e.onlyShow ? k("", !0) : (d(),
|
|
13905
|
+
e.onlyShow ? k("", !0) : (d(), f("div", pg, [
|
|
13906
13906
|
g("div", {
|
|
13907
13907
|
onClick: (A) => e.handleDel(u, h),
|
|
13908
13908
|
class: "list-items-operation-img"
|
|
@@ -13926,7 +13926,7 @@ function hg(e, t, i, s, n, r) {
|
|
|
13926
13926
|
"onUpdate:visible": t[1] || (t[1] = (h) => e.visible = h),
|
|
13927
13927
|
indexd: e.indexd
|
|
13928
13928
|
}, null, 8, ["images", "visible", "indexd"]),
|
|
13929
|
-
J(
|
|
13929
|
+
J(m, {
|
|
13930
13930
|
visible: e.visibleS,
|
|
13931
13931
|
"onUpdate:visible": t[2] || (t[2] = (h) => e.visibleS = h),
|
|
13932
13932
|
ref: "TopPopup",
|
|
@@ -13995,21 +13995,21 @@ const fg = {
|
|
|
13995
13995
|
style: { color: "gray", "font-size": "12px" }
|
|
13996
13996
|
}, Cg = { key: 2 }, kg = { class: "p-file" }, Tg = ["onClick"], Eg = ["onClick"];
|
|
13997
13997
|
function Ig(e, t, i, s, n, r) {
|
|
13998
|
-
return d(),
|
|
13998
|
+
return d(), f("div", mg, [
|
|
13999
13999
|
g("div", null, [
|
|
14000
|
-
(d(!0),
|
|
14001
|
-
["candidate", "sequenceFlow"].includes(o.historyActivityType) ? k("", !0) : (d(),
|
|
14000
|
+
(d(!0), f(F, null, Z(i.flowList, (o, a) => (d(), f(F, null, [
|
|
14001
|
+
["candidate", "sequenceFlow"].includes(o.historyActivityType) ? k("", !0) : (d(), f("div", {
|
|
14002
14002
|
key: o.id,
|
|
14003
14003
|
timestamp: o.endTime || o.createTime,
|
|
14004
14004
|
placement: "top",
|
|
14005
14005
|
class: "flow-item"
|
|
14006
14006
|
}, [
|
|
14007
14007
|
g("p", null, T(o.assigneeName) + " \u5728 [" + T(o.createTime) + "] \u5F00\u59CB\u5904\u7406 [" + T(o.historyActivityType == "endEvent" ? "\u7ED3\u675F" : o.historyActivityName || "\u672A\u547D\u540D") + "] \u73AF\u8282 ", 1),
|
|
14008
|
-
o.historyActivityDurationTime ? (d(),
|
|
14009
|
-
o.comments && o.comments.length > 0 ? (d(!0),
|
|
14010
|
-
|
|
14011
|
-
n.commentMap[l.type] ? (d(),
|
|
14012
|
-
o.comments.filter((h) => h.action === "AddComment").length > 1 ? (d(),
|
|
14008
|
+
o.historyActivityDurationTime ? (d(), f("p", yg, " \u4EFB\u52A1\u5386\u65F6 [" + T(o.historyActivityDurationTime) + "] ", 1)) : k("", !0),
|
|
14009
|
+
o.comments && o.comments.length > 0 ? (d(!0), f(F, { key: 1 }, Z(o.comments.filter((l) => l.action === "AddComment"), (l, m) => (d(), f("p", { key: m }, [
|
|
14010
|
+
m < 1 ? (d(), f(F, { key: 0 }, [
|
|
14011
|
+
n.commentMap[l.type] ? (d(), f("span", Ag, T(n.commentMap[l.type]) + ": [" + T(l.fullMessage) + "] ", 1)) : k("", !0),
|
|
14012
|
+
o.comments.filter((h) => h.action === "AddComment").length > 1 ? (d(), f("span", {
|
|
14013
14013
|
key: 1,
|
|
14014
14014
|
style: { color: "#1989fa", float: "right" },
|
|
14015
14015
|
onClick: t[0] || (t[0] = (...h) => r.handleClick && r.handleClick(...h))
|
|
@@ -14019,20 +14019,20 @@ function Ig(e, t, i, s, n, r) {
|
|
|
14019
14019
|
class: he([n.isFlag ? "arrow-up" : "arrow-down"])
|
|
14020
14020
|
}, null, 2)
|
|
14021
14021
|
])) : k("", !0),
|
|
14022
|
-
l.time ? (d(),
|
|
14022
|
+
l.time ? (d(), f("p", vg, T(l.time), 1)) : k("", !0)
|
|
14023
14023
|
], 64)) : k("", !0),
|
|
14024
|
-
|
|
14025
|
-
n.commentMap[l.type] ? (d(),
|
|
14026
|
-
l.time ? (d(),
|
|
14024
|
+
m > 0 && n.isFlag ? (d(), f(F, { key: 1 }, [
|
|
14025
|
+
n.commentMap[l.type] ? (d(), f("span", bg, T(n.commentMap[l.type]) + ": [" + T(l.fullMessage) + "] ", 1)) : k("", !0),
|
|
14026
|
+
l.time ? (d(), f("p", wg, T(l.time), 1)) : k("", !0)
|
|
14027
14027
|
], 64)) : k("", !0)
|
|
14028
14028
|
]))), 128)) : k("", !0),
|
|
14029
|
-
o.endTime ? (d(),
|
|
14029
|
+
o.endTime ? (d(), f("p", Cg, "\u7ED3\u675F\u65F6\u95F4: [" + T(o.endTime) + "]", 1)) : k("", !0),
|
|
14030
14030
|
g("div", kg, [
|
|
14031
|
-
o.attachmentsFujian && o.attachmentsFujian.length > 0 ? (d(),
|
|
14031
|
+
o.attachmentsFujian && o.attachmentsFujian.length > 0 ? (d(), f("div", {
|
|
14032
14032
|
key: 0,
|
|
14033
14033
|
onClick: (l) => e.$emit("view", o.attachmentsFujian)
|
|
14034
14034
|
}, " \u67E5\u770B\u9644\u4EF6", 8, Tg)) : k("", !0),
|
|
14035
|
-
o.attachmentsQianzi && o.attachmentsQianzi.length > 0 ? (d(),
|
|
14035
|
+
o.attachmentsQianzi && o.attachmentsQianzi.length > 0 ? (d(), f("div", {
|
|
14036
14036
|
key: 1,
|
|
14037
14037
|
onClick: (l) => e.$emit("view", o.attachmentsQianzi)
|
|
14038
14038
|
}, " \u67E5\u770B\u7B7E\u5B57", 8, Eg)) : k("", !0)
|
|
@@ -14244,29 +14244,29 @@ const Sg = { class: "tops-tab" }, Bg = { class: "tops-tab-header" }, Pg = ["onCl
|
|
|
14244
14244
|
class: "textnone"
|
|
14245
14245
|
}, Vg = { class: "seal-list__item--option" }, Qg = { style: { "max-width": "100px" } }, Ug = { class: "seal-list__item--option" }, jg = { style: { "max-width": "100px" } }, _g = { class: "seal-list__item--option" }, Gg = { style: { "max-width": "100px" } };
|
|
14246
14246
|
function qg(e, t, i, s, n, r) {
|
|
14247
|
-
const o = q("BpmnLook"), a = q("processFlow"), l = q("ViewAttchList"),
|
|
14248
|
-
return d(),
|
|
14247
|
+
const o = q("BpmnLook"), a = q("processFlow"), l = q("ViewAttchList"), m = q("TopPopup"), h = q("PreviewImage");
|
|
14248
|
+
return d(), f("div", Sg, [
|
|
14249
14249
|
g("div", Bg, [
|
|
14250
|
-
(d(!0),
|
|
14250
|
+
(d(!0), f(F, null, Z(e.isTapList, (u, A) => (d(), f("div", {
|
|
14251
14251
|
class: he(["tops-tab-header-items", [u.key === e.active ? "active" : ""]]),
|
|
14252
14252
|
onClick: (C) => e.handleActive(u.key, A)
|
|
14253
14253
|
}, T(u.label), 11, Pg))), 256)),
|
|
14254
|
-
e.isTapList.length ? (d(),
|
|
14254
|
+
e.isTapList.length ? (d(), f("div", Mg)) : k("", !0)
|
|
14255
14255
|
]),
|
|
14256
14256
|
g("div", Dg, [
|
|
14257
|
-
(d(!0),
|
|
14257
|
+
(d(!0), f(F, null, Z(e.isTapList, (u) => Di((d(), f("div", {
|
|
14258
14258
|
key: u.key,
|
|
14259
14259
|
style: { height: "100%" },
|
|
14260
14260
|
class: he([u.key === "c" && "tops-tab-body-taskcommentlist"])
|
|
14261
14261
|
}, [
|
|
14262
14262
|
u.key === "a" && u.type === "default" ? Je(e.$slots, "default", { key: 0 }, void 0, !0) : k("", !0),
|
|
14263
|
-
e.active === u.key && u.key === "b" && u.type === "default" ? (d(),
|
|
14263
|
+
e.active === u.key && u.key === "b" && u.type === "default" ? (d(), f("div", {
|
|
14264
14264
|
key: 1,
|
|
14265
14265
|
class: "uph-tab-b",
|
|
14266
14266
|
style: { height: "100%" },
|
|
14267
14267
|
name: u.slot
|
|
14268
14268
|
}, [
|
|
14269
|
-
e.processXml ? (d(),
|
|
14269
|
+
e.processXml ? (d(), f("div", {
|
|
14270
14270
|
key: 0,
|
|
14271
14271
|
style: { padding: "10px 20px", color: "#1389ff" },
|
|
14272
14272
|
onClick: t[0] || (t[0] = () => e.visibleTack = !0)
|
|
@@ -14277,22 +14277,22 @@ function qg(e, t, i, s, n, r) {
|
|
|
14277
14277
|
ref: "PreviewRef",
|
|
14278
14278
|
diagram: e.processXml,
|
|
14279
14279
|
approvalData: e.approvalData
|
|
14280
|
-
}, null, 8, ["diagram", "approvalData"])) : (d(),
|
|
14280
|
+
}, null, 8, ["diagram", "approvalData"])) : (d(), f("div", Rg, " \u6682\u65E0\u6D41\u7A0B\u56FE "))
|
|
14281
14281
|
], 8, Og)) : k("", !0),
|
|
14282
|
-
u.key === "c" && u.type === "default" ? (d(),
|
|
14282
|
+
u.key === "c" && u.type === "default" ? (d(), f("div", Lg, [
|
|
14283
14283
|
u.key === "c" && e.ProcessInsObj.flow ? (d(), ge(a, {
|
|
14284
14284
|
key: 0,
|
|
14285
14285
|
request: e.ProcessInsObj.request,
|
|
14286
14286
|
"flow-list": e.formatFlow(e.ProcessInsObj.flow),
|
|
14287
14287
|
onView: e.viewList
|
|
14288
|
-
}, null, 8, ["request", "flow-list", "onView"])) : (d(),
|
|
14288
|
+
}, null, 8, ["request", "flow-list", "onView"])) : (d(), f("div", Fg, "\u6682\u65E0\u6570\u636E"))
|
|
14289
14289
|
])) : k("", !0),
|
|
14290
14290
|
u.type == "slot" ? Je(e.$slots, u.slot, { key: 3 }, void 0, !0) : k("", !0)
|
|
14291
14291
|
], 2)), [
|
|
14292
14292
|
[Za, e.active === u.key]
|
|
14293
14293
|
])), 128))
|
|
14294
14294
|
]),
|
|
14295
|
-
J(
|
|
14295
|
+
J(m, {
|
|
14296
14296
|
visible: e.visible,
|
|
14297
14297
|
"onUpdate:visible": t[1] || (t[1] = (u) => e.visible = u),
|
|
14298
14298
|
ref: "TopPopup",
|
|
@@ -14311,7 +14311,7 @@ function qg(e, t, i, s, n, r) {
|
|
|
14311
14311
|
"onUpdate:visible": t[2] || (t[2] = (u) => e.signPreViewVisible = u),
|
|
14312
14312
|
indexd: e.indexd
|
|
14313
14313
|
}, null, 8, ["images", "visible", "indexd"]),
|
|
14314
|
-
J(
|
|
14314
|
+
J(m, {
|
|
14315
14315
|
visible: e.visibleTack,
|
|
14316
14316
|
"onUpdate:visible": t[3] || (t[3] = (u) => e.visibleTack = u),
|
|
14317
14317
|
ref: "TopPopups",
|
|
@@ -14320,7 +14320,7 @@ function qg(e, t, i, s, n, r) {
|
|
|
14320
14320
|
width: "60vw"
|
|
14321
14321
|
}, {
|
|
14322
14322
|
default: Ae(() => [
|
|
14323
|
-
e.trackListss && e.trackListss.length ? (d(!0),
|
|
14323
|
+
e.trackListss && e.trackListss.length ? (d(!0), f(F, { key: 0 }, Z(e.trackListss, (u, A) => (d(), f("div", {
|
|
14324
14324
|
key: u.id,
|
|
14325
14325
|
class: "seal-list__item"
|
|
14326
14326
|
}, [
|
|
@@ -14437,12 +14437,12 @@ const Yg = { class: "top-select" }, zg = {
|
|
|
14437
14437
|
style: { position: "relative", "z-index": "80" }
|
|
14438
14438
|
}, Zg = ["src"], Xg = ["onClick"], $g = ["src"];
|
|
14439
14439
|
function ey(e, t, i, s, n, r) {
|
|
14440
|
-
return d(),
|
|
14441
|
-
e.isSlots ? (d(),
|
|
14440
|
+
return d(), f("div", Yg, [
|
|
14441
|
+
e.isSlots ? (d(), f("div", zg, [
|
|
14442
14442
|
Je(e.$slots, "header", {
|
|
14443
14443
|
data: { ...e.activeItem, placeholder: e.placeholder }
|
|
14444
14444
|
}, void 0, !0)
|
|
14445
|
-
])) : (d(),
|
|
14445
|
+
])) : (d(), f("div", {
|
|
14446
14446
|
key: 1,
|
|
14447
14447
|
class: he(["top-select-menu", [
|
|
14448
14448
|
e.border && "top-select-menu-border",
|
|
@@ -14451,31 +14451,31 @@ function ey(e, t, i, s, n, r) {
|
|
|
14451
14451
|
onClick: t[0] || (t[0] = (...o) => e.handleExpand && e.handleExpand(...o))
|
|
14452
14452
|
}, [
|
|
14453
14453
|
re(T(e.activeItem ? e.activeItem.name : e.placeholder) + " ", 1),
|
|
14454
|
-
e.disibled ? k("", !0) : (d(),
|
|
14454
|
+
e.disibled ? k("", !0) : (d(), f("img", {
|
|
14455
14455
|
key: 0,
|
|
14456
14456
|
class: he(["top-select-menu--arrow", [e.expand ? "arrow-active" : ""]]),
|
|
14457
14457
|
src: e.arrow
|
|
14458
14458
|
}, null, 10, Zg))
|
|
14459
14459
|
], 2)),
|
|
14460
|
-
e.maskShow ? (d(),
|
|
14460
|
+
e.maskShow ? (d(), f("div", {
|
|
14461
14461
|
key: 2,
|
|
14462
14462
|
class: "top-select-option-mask",
|
|
14463
14463
|
style: we(
|
|
14464
14464
|
e.expand ? "visibility: visible; opacity: .7;" : "visibility: hidden; opacity: 0;"
|
|
14465
14465
|
)
|
|
14466
14466
|
}, null, 4)) : k("", !0),
|
|
14467
|
-
e.lists && e.lists.length ? (d(),
|
|
14467
|
+
e.lists && e.lists.length ? (d(), f("div", {
|
|
14468
14468
|
key: 3,
|
|
14469
14469
|
class: he(["top-select-option", [e.border && "top-select-option-border"]]),
|
|
14470
14470
|
style: we(`${e.expand ? "transform: translateY(2%);visibility: visible; opacity: 1;" : "transform: translateY(-50%);visibility: hidden; opacity: 0"};${e.optionStyle ? e.optionStyle : ""}`)
|
|
14471
14471
|
}, [
|
|
14472
|
-
(d(!0),
|
|
14472
|
+
(d(!0), f(F, null, Z(e.lists, (o, a) => (d(), f("div", {
|
|
14473
14473
|
class: he(["option-items", [e.active == o.id ? "option-items-active" : ""]]),
|
|
14474
14474
|
key: o.id,
|
|
14475
14475
|
onClick: (l) => e.handleClick(o, a)
|
|
14476
14476
|
}, [
|
|
14477
14477
|
re(T(o.name) + " ", 1),
|
|
14478
|
-
e.active == o.id ? (d(),
|
|
14478
|
+
e.active == o.id ? (d(), f("img", {
|
|
14479
14479
|
key: 0,
|
|
14480
14480
|
class: "option-items-check",
|
|
14481
14481
|
src: e.check
|
|
@@ -14814,18 +14814,18 @@ const Ya = /* @__PURE__ */ ke(Wg, [["render", ey], ["__scopeId", "data-v-15c177a
|
|
|
14814
14814
|
taskPostIds: [s]
|
|
14815
14815
|
}).then((n) => {
|
|
14816
14816
|
let r = [], o = [], a = !1;
|
|
14817
|
-
n.data.map((
|
|
14818
|
-
|
|
14817
|
+
n.data.map((m) => {
|
|
14818
|
+
m.posts.map((h) => {
|
|
14819
14819
|
o.push(...h.users), h.users.length == 1 ? r.push(...h.users) : a = !0;
|
|
14820
14820
|
});
|
|
14821
14821
|
}), r.length > i.loopCardinality && i.loopCardinality > 0 && (a = !0), a && (r = []);
|
|
14822
14822
|
let l = [];
|
|
14823
|
-
n.data[0].posts.map((
|
|
14823
|
+
n.data[0].posts.map((m) => {
|
|
14824
14824
|
l.push({
|
|
14825
|
-
...
|
|
14825
|
+
...m,
|
|
14826
14826
|
projectPost: !this.businessDeptIdData,
|
|
14827
|
-
id:
|
|
14828
|
-
subjectId:
|
|
14827
|
+
id: m.users.map((h) => h.id),
|
|
14828
|
+
subjectId: m.subjectId
|
|
14829
14829
|
});
|
|
14830
14830
|
}), o.length == 0 && this.$set(i, "noPersonnel", !0), r.length > 0 && (this.personObjId = i.id, this.humanPerformerName = i.humanPerformerName, this.$set(i, "noPersonnel", !0), this.handleCallback(r)), i.positionArray = l;
|
|
14831
14831
|
});
|
|
@@ -14860,8 +14860,8 @@ const Ya = /* @__PURE__ */ ke(Wg, [["render", ey], ["__scopeId", "data-v-15c177a
|
|
|
14860
14860
|
}).then((s) => {
|
|
14861
14861
|
let n = [], r = [], o = !1;
|
|
14862
14862
|
s.data.map((l) => {
|
|
14863
|
-
l.posts.map((
|
|
14864
|
-
r.push(...
|
|
14863
|
+
l.posts.map((m) => {
|
|
14864
|
+
r.push(...m.users), m.users.length == 1 ? n.push(...m.users) : o = !0;
|
|
14865
14865
|
});
|
|
14866
14866
|
}), n.length > t.loopCardinality && t.loopCardinality > 0 && (o = !0), o && (n = []);
|
|
14867
14867
|
let a = [];
|
|
@@ -14869,7 +14869,7 @@ const Ya = /* @__PURE__ */ ke(Wg, [["render", ey], ["__scopeId", "data-v-15c177a
|
|
|
14869
14869
|
a.push({
|
|
14870
14870
|
...l,
|
|
14871
14871
|
projectPost: !(this.param.taskNode && this.param.taskNode[0].vars && this.param.taskNode[0].vars._businessDeptId),
|
|
14872
|
-
id: l.users.map((
|
|
14872
|
+
id: l.users.map((m) => m.id),
|
|
14873
14873
|
subjectId: l.subjectId
|
|
14874
14874
|
});
|
|
14875
14875
|
}), r.length == 0 && this.$set(t, "noPersonnel", !0), n.length > 0 && (this.personObjId = t.id, this.humanPerformerName = t.humanPerformerName, this.$set(t, "noPersonnel", !0), this.handleCallback(n)), t.positionArray = a;
|
|
@@ -15161,8 +15161,8 @@ const sy = { class: "sumbmitPopup-index-sumbit" }, ny = { class: "sumbmitPopup-s
|
|
|
15161
15161
|
class: "children"
|
|
15162
15162
|
}, Vy = ["onClick"], Qy = { style: { margin: "20px" } }, Uy = ["innerHTML"], jy = { class: "timeline" }, _y = { class: "item-top" }, Gy = { class: "top-spot" }, qy = { class: "top-title" }, Jy = { style: { color: "#009800" } };
|
|
15163
15163
|
function Hy(e, t, i, s, n, r) {
|
|
15164
|
-
const o = q("TopDownSelect"), a = q("TopPopup"), l = q("departPerson"),
|
|
15165
|
-
return d(),
|
|
15164
|
+
const o = q("TopDownSelect"), a = q("TopPopup"), l = q("departPerson"), m = q("BpmnLook"), h = q("PreviewImage"), u = q("TopTips");
|
|
15165
|
+
return d(), f("div", sy, [
|
|
15166
15166
|
t[16] || (t[16] = g("div", { class: "top-popup" }, null, -1)),
|
|
15167
15167
|
J(a, {
|
|
15168
15168
|
visible: e.show,
|
|
@@ -15210,7 +15210,7 @@ function Hy(e, t, i, s, n, r) {
|
|
|
15210
15210
|
}, T(e.selectDeptData.label ? e.selectDeptData.label : "\u8BF7\u9009\u62E9"), 3)
|
|
15211
15211
|
]),
|
|
15212
15212
|
g("div", ry, [
|
|
15213
|
-
e.checkedItem.id ? (d(),
|
|
15213
|
+
e.checkedItem.id ? (d(), f("div", {
|
|
15214
15214
|
key: 0,
|
|
15215
15215
|
class: "viewTrack",
|
|
15216
15216
|
onClick: t[2] || (t[2] = (...C) => e.handleFlowSelect && e.handleFlowSelect(...C))
|
|
@@ -15218,7 +15218,7 @@ function Hy(e, t, i, s, n, r) {
|
|
|
15218
15218
|
g("img", { src: e.ProcessImg }, null, 8, oy),
|
|
15219
15219
|
t[12] || (t[12] = re(" \u67E5\u770B\u6D41\u7A0B\u56FE ", -1))
|
|
15220
15220
|
])) : k("", !0),
|
|
15221
|
-
e.checkedItem.id && e.showFlowForecast ? (d(),
|
|
15221
|
+
e.checkedItem.id && e.showFlowForecast ? (d(), f("div", {
|
|
15222
15222
|
key: 1,
|
|
15223
15223
|
class: "viewTrack",
|
|
15224
15224
|
onClick: t[3] || (t[3] = (...C) => e.viewFlowForecast && e.viewFlowForecast(...C))
|
|
@@ -15228,11 +15228,11 @@ function Hy(e, t, i, s, n, r) {
|
|
|
15228
15228
|
]),
|
|
15229
15229
|
_: 1
|
|
15230
15230
|
}, 8, ["option", "onChange", "defaultValue", "disibled"]),
|
|
15231
|
-
e.showFirstPerson && e.firstPerson && e.firstPerson.length ? (d(),
|
|
15231
|
+
e.showFirstPerson && e.firstPerson && e.firstPerson.length ? (d(), f("div", ay, [
|
|
15232
15232
|
t[14] || (t[14] = g("div", { class: "person-views-title" }, "\u4E0B\u4E00\u6B65\u5904\u7406\u8282\u70B9", -1)),
|
|
15233
|
-
(d(!0),
|
|
15233
|
+
(d(!0), f(F, null, Z(e.firstPerson, (A, C) => {
|
|
15234
15234
|
var P;
|
|
15235
|
-
return d(),
|
|
15235
|
+
return d(), f("div", {
|
|
15236
15236
|
class: "views-items",
|
|
15237
15237
|
key: C
|
|
15238
15238
|
}, [
|
|
@@ -15240,35 +15240,35 @@ function Hy(e, t, i, s, n, r) {
|
|
|
15240
15240
|
g("div", cy, [
|
|
15241
15241
|
g("div", py, [
|
|
15242
15242
|
re(T(A.name) + " ", 1),
|
|
15243
|
-
C == 0 ? (d(),
|
|
15243
|
+
C == 0 ? (d(), f("span", uy, "*")) : k("", !0)
|
|
15244
15244
|
])
|
|
15245
15245
|
]),
|
|
15246
15246
|
g("div", dy, [
|
|
15247
|
-
e.partNode[A.id] && e.partNode[A.id].length ? (d(),
|
|
15248
|
-
(d(!0),
|
|
15249
|
-
e.partNode[A.id].length > 3 ? (d(),
|
|
15250
|
-
])) : A.routeTxt && A.routeTxt.userNames ? (d(),
|
|
15251
|
-
A.humanPerformerName == "\u56FA\u5B9A\u8D26\u6237" || A.humanPerformerName == "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173" || ((P = e.partNode[A.id]) == null ? void 0 : P.length) > 0 && A.noPersonnel ? (d(),
|
|
15247
|
+
e.partNode[A.id] && e.partNode[A.id].length ? (d(), f("div", hy, [
|
|
15248
|
+
(d(!0), f(F, null, Z(e.partNode[A.id], (R, ee) => (d(), f("span", { key: ee }, T(ee >= 3 ? "" : ee == 0 ? R : `,${R}`), 1))), 128)),
|
|
15249
|
+
e.partNode[A.id].length > 3 ? (d(), f("span", fy, "...\u7B49" + T(e.partNode[A.id].length) + "\u4EBA", 1)) : k("", !0)
|
|
15250
|
+
])) : A.routeTxt && A.routeTxt.userNames ? (d(), f("div", my, T(A.routeTxt.userNames), 1)) : k("", !0),
|
|
15251
|
+
A.humanPerformerName == "\u56FA\u5B9A\u8D26\u6237" || A.humanPerformerName == "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173" || ((P = e.partNode[A.id]) == null ? void 0 : P.length) > 0 && A.noPersonnel ? (d(), f("div", gy)) : A.humanPerformerName == "\u56FA\u5B9A\u8D26\u6237" || A.humanPerformerName == "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173" || A.noPersonnel ? (d(), f("div", yy, " \u6CA1\u6709\u53EF\u9009\u4EBA\u5458\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E ")) : (d(), f("div", {
|
|
15252
15252
|
key: 4,
|
|
15253
15253
|
class: "views-items-set-btn",
|
|
15254
15254
|
onClick: (R) => e.handleOpenPerson(A)
|
|
15255
15255
|
}, " \u8BBE\u7F6E ", 8, Ay))
|
|
15256
15256
|
])
|
|
15257
15257
|
]),
|
|
15258
|
-
A.routeTxt && A.routeTxt.length > 0 ? (d(),
|
|
15258
|
+
A.routeTxt && A.routeTxt.length > 0 ? (d(), f("div", vy, [
|
|
15259
15259
|
t[13] || (t[13] = g("div", { class: "views-items-name2" }, T("\u6240\u5C5E\u8303\u56F4"), -1)),
|
|
15260
15260
|
g("div", by, [
|
|
15261
|
-
(d(!0),
|
|
15261
|
+
(d(!0), f(F, null, Z(A.routeTxt, (R, ee) => (d(), f("div", {
|
|
15262
15262
|
key: R.type
|
|
15263
15263
|
}, [
|
|
15264
|
-
R.ids && R.ids.length > 0 ? (d(),
|
|
15264
|
+
R.ids && R.ids.length > 0 ? (d(), f("div", wy, [
|
|
15265
15265
|
g("div", Cy, [
|
|
15266
15266
|
g("b", {
|
|
15267
15267
|
class: he(["include include-type", ["include-" + R.type]])
|
|
15268
15268
|
}, T(R.type == "user" ? "\u7528\u6237" : R.type == "dept" ? "\u90E8\u95E8" : "\u5C97\u4F4D"), 3),
|
|
15269
15269
|
g("span", ky, T(R.name), 1)
|
|
15270
15270
|
]),
|
|
15271
|
-
ee !== A.routeTxt.length - 1 ? (d(),
|
|
15271
|
+
ee !== A.routeTxt.length - 1 ? (d(), f("div", {
|
|
15272
15272
|
key: 0,
|
|
15273
15273
|
class: he(["include include-assign", ["include-assign-" + (R.assigneeRetain ? "true" : "false")]])
|
|
15274
15274
|
}, T(A.assigneeRetain == "true" ? "\u4E14\u540C\u65F6\u6EE1\u8DB3" : "\u6216\u8005\u6EE1\u8DB3"), 3)) : k("", !0)
|
|
@@ -15279,24 +15279,24 @@ function Hy(e, t, i, s, n, r) {
|
|
|
15279
15279
|
]);
|
|
15280
15280
|
}), 128))
|
|
15281
15281
|
])) : k("", !0),
|
|
15282
|
-
e.personList && e.personList.length ? (d(),
|
|
15282
|
+
e.personList && e.personList.length ? (d(), f("div", Ty, [
|
|
15283
15283
|
t[15] || (t[15] = g("div", { class: "person-views-title" }, "\u5176\u4ED6\u5904\u7406\u8282\u70B9", -1)),
|
|
15284
|
-
(d(!0),
|
|
15284
|
+
(d(!0), f(F, null, Z(e.personList, (A, C) => (d(), f("div", Ey, [
|
|
15285
15285
|
g("div", Iy, T(A.name), 1),
|
|
15286
15286
|
g("div", xy, [
|
|
15287
|
-
A.noPersonnel ? k("", !0) : (d(),
|
|
15287
|
+
A.noPersonnel ? k("", !0) : (d(), f("div", {
|
|
15288
15288
|
key: 0,
|
|
15289
15289
|
class: "views-items-set-btn",
|
|
15290
15290
|
onClick: (P) => e.handleOpenPerson(A)
|
|
15291
15291
|
}, " \u8BBE\u7F6E ", 8, Ny)),
|
|
15292
|
-
e.partNode[A.id] && e.partNode[A.id].length ? (d(),
|
|
15293
|
-
(d(!0),
|
|
15294
|
-
e.partNode[A.id].length > 3 ? (d(),
|
|
15295
|
-
])) : A.noPersonnel ? (d(),
|
|
15292
|
+
e.partNode[A.id] && e.partNode[A.id].length ? (d(), f("div", Sy, [
|
|
15293
|
+
(d(!0), f(F, null, Z(e.partNode[A.id], (P, R) => (d(), f("span", null, T(R >= 3 ? "" : R == 0 ? P : `,${P}`), 1))), 256)),
|
|
15294
|
+
e.partNode[A.id].length > 3 ? (d(), f("span", By, "...\u7B49" + T(e.partNode[A.id].length) + "\u4EBA", 1)) : k("", !0)
|
|
15295
|
+
])) : A.noPersonnel ? (d(), f("div", Py, "\u6CA1\u6709\u53EF\u9009\u4EBA\u5458\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E")) : (d(), f("div", My))
|
|
15296
15296
|
])
|
|
15297
15297
|
]))), 256))
|
|
15298
15298
|
])) : k("", !0),
|
|
15299
|
-
!e.firstPerson && !e.firstPerson.length && !e.personList && !e.personList.length ? (d(),
|
|
15299
|
+
!e.firstPerson && !e.firstPerson.length && !e.personList && !e.personList.length ? (d(), f("div", Dy, " \u65E0\u9700\u8BBE\u7F6E ")) : k("", !0)
|
|
15300
15300
|
]),
|
|
15301
15301
|
_: 1
|
|
15302
15302
|
}, 8, ["visible", "comfig"]),
|
|
@@ -15335,7 +15335,7 @@ function Hy(e, t, i, s, n, r) {
|
|
|
15335
15335
|
}, {
|
|
15336
15336
|
default: Ae(() => [
|
|
15337
15337
|
g("div", Ry, [
|
|
15338
|
-
(d(!0),
|
|
15338
|
+
(d(!0), f(F, null, Z([...e.deptList], (A) => (d(), f("div", {
|
|
15339
15339
|
class: "node",
|
|
15340
15340
|
key: A.id
|
|
15341
15341
|
}, [
|
|
@@ -15343,8 +15343,8 @@ function Hy(e, t, i, s, n, r) {
|
|
|
15343
15343
|
class: "node-p",
|
|
15344
15344
|
onClick: (C) => e.handleClickDept(A)
|
|
15345
15345
|
}, T(A.label), 9, Ly),
|
|
15346
|
-
A.children ? (d(),
|
|
15347
|
-
(d(!0),
|
|
15346
|
+
A.children ? (d(), f("div", Fy, [
|
|
15347
|
+
(d(!0), f(F, null, Z(A.children, (C) => (d(), f("div", {
|
|
15348
15348
|
class: "node-s",
|
|
15349
15349
|
onClick: (P) => e.handleClickDept(C),
|
|
15350
15350
|
key: C.id
|
|
@@ -15367,7 +15367,7 @@ function Hy(e, t, i, s, n, r) {
|
|
|
15367
15367
|
comfig: e.handleSumbitFlow
|
|
15368
15368
|
}, {
|
|
15369
15369
|
default: Ae(() => [
|
|
15370
|
-
e.showFlow && e.processXml ? (d(), ge(
|
|
15370
|
+
e.showFlow && e.processXml ? (d(), ge(m, {
|
|
15371
15371
|
key: 0,
|
|
15372
15372
|
ref: "PreviewRef",
|
|
15373
15373
|
diagram: e.processXml,
|
|
@@ -15406,7 +15406,7 @@ function Hy(e, t, i, s, n, r) {
|
|
|
15406
15406
|
style: { "margin-left": "10px", "margin-bottom": "10px" }
|
|
15407
15407
|
}, null, 8, Uy),
|
|
15408
15408
|
g("div", jy, [
|
|
15409
|
-
(d(!0),
|
|
15409
|
+
(d(!0), f(F, null, Z(e.flowForecastData.processBudgetModelList, (A, C) => (d(), f("div", {
|
|
15410
15410
|
class: "timeline-item",
|
|
15411
15411
|
key: C
|
|
15412
15412
|
}, [
|
|
@@ -15506,9 +15506,9 @@ const Yy = {
|
|
|
15506
15506
|
}, Zy = ["onClick"], Xy = { class: "top-msg-items-text" }, $y = ["onClick"], eA = ["src"];
|
|
15507
15507
|
function tA(e, t, i, s, n, r) {
|
|
15508
15508
|
const o = q("TopPopup");
|
|
15509
|
-
return d(),
|
|
15510
|
-
i.visible ? (d(),
|
|
15511
|
-
(d(!0),
|
|
15509
|
+
return d(), f("div", null, [
|
|
15510
|
+
i.visible ? (d(), f("div", zy, [
|
|
15511
|
+
(d(!0), f(F, null, Z(n.listData, (a) => (d(), f("div", {
|
|
15512
15512
|
class: "top-msg-items",
|
|
15513
15513
|
onClick: (l) => r.handleMsg(a)
|
|
15514
15514
|
}, [
|
|
@@ -15707,10 +15707,10 @@ const iA = {
|
|
|
15707
15707
|
style: { color: "#888" }
|
|
15708
15708
|
}, vA = { style: { height: "100%" } };
|
|
15709
15709
|
function bA(e, t, i, s, n, r) {
|
|
15710
|
-
const o = q("TopTips"), a = q("departPerson"), l = q("TopPopup"),
|
|
15711
|
-
return d(),
|
|
15710
|
+
const o = q("TopTips"), a = q("departPerson"), l = q("TopPopup"), m = q("attchViews"), h = q("MsgList");
|
|
15711
|
+
return d(), f("div", sA, [
|
|
15712
15712
|
g("div", nA, [
|
|
15713
|
-
i.param.isMsg ? (d(),
|
|
15713
|
+
i.param.isMsg ? (d(), f("div", rA, [
|
|
15714
15714
|
g("div", {
|
|
15715
15715
|
class: "process-radio-item",
|
|
15716
15716
|
onClick: t[0] || (t[0] = (u) => r.handleOpenMsg()),
|
|
@@ -15736,7 +15736,7 @@ function bA(e, t, i, s, n, r) {
|
|
|
15736
15736
|
]),
|
|
15737
15737
|
g("div", lA, T(n.commentMsg.length) + "/200 ", 1)
|
|
15738
15738
|
]),
|
|
15739
|
-
i.param.isMsg ? (d(),
|
|
15739
|
+
i.param.isMsg ? (d(), f("div", cA, [
|
|
15740
15740
|
g("span", {
|
|
15741
15741
|
class: "msg-btn-click",
|
|
15742
15742
|
onClick: t[2] || (t[2] = (u) => r.handleMakeMsg())
|
|
@@ -15744,8 +15744,8 @@ function bA(e, t, i, s, n, r) {
|
|
|
15744
15744
|
])) : k("", !0)
|
|
15745
15745
|
])
|
|
15746
15746
|
]),
|
|
15747
|
-
(d(),
|
|
15748
|
-
n.nextNodeData.length ? (d(!0),
|
|
15747
|
+
(d(), f("div", pA, [
|
|
15748
|
+
n.nextNodeData.length ? (d(!0), f(F, { key: 0 }, Z(n.nextNodeData, (u) => (d(), f(F, null, [
|
|
15749
15749
|
t[8] || (t[8] = g("div", null, [
|
|
15750
15750
|
g("br"),
|
|
15751
15751
|
re(" \u5BA1\u6279\u4EBA "),
|
|
@@ -15756,14 +15756,14 @@ function bA(e, t, i, s, n, r) {
|
|
|
15756
15756
|
onClick: (A) => r.handleOpenPopup(u.id)
|
|
15757
15757
|
}, [
|
|
15758
15758
|
g("div", dA, [
|
|
15759
|
-
n.partNode[u.id] && n.partNode[u.id].length ? (d(),
|
|
15760
|
-
(d(!0),
|
|
15761
|
-
])) : (d(),
|
|
15759
|
+
n.partNode[u.id] && n.partNode[u.id].length ? (d(), f("div", hA, [
|
|
15760
|
+
(d(!0), f(F, null, Z(n.partNode[u.id], (A, C) => (d(), f("span", null, T(C == 0 ? A : `,${A}`), 1))), 256))
|
|
15761
|
+
])) : (d(), f("div", fA, t[7] || (t[7] = [
|
|
15762
15762
|
g("span", null, " \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ", -1)
|
|
15763
15763
|
])))
|
|
15764
15764
|
])
|
|
15765
15765
|
], 8, uA)
|
|
15766
|
-
], 64))), 256)) : n.outGatewayUserTaskModel.length ? (d(!0),
|
|
15766
|
+
], 64))), 256)) : n.outGatewayUserTaskModel.length ? (d(!0), f(F, { key: 1 }, Z(n.outGatewayUserTaskModel, (u) => (d(), f(F, null, [
|
|
15767
15767
|
t[10] || (t[10] = g("div", { class: "process-pc-label" }, [
|
|
15768
15768
|
g("br"),
|
|
15769
15769
|
re(" \u5BA1\u6279\u4EBA "),
|
|
@@ -15774,9 +15774,9 @@ function bA(e, t, i, s, n, r) {
|
|
|
15774
15774
|
onClick: (A) => r.handleOpenPopup(u.id)
|
|
15775
15775
|
}, [
|
|
15776
15776
|
g("div", gA, [
|
|
15777
|
-
n.partNode[u.id] && n.partNode[u.id].length ? (d(),
|
|
15778
|
-
(d(!0),
|
|
15779
|
-
])) : (d(),
|
|
15777
|
+
n.partNode[u.id] && n.partNode[u.id].length ? (d(), f("div", yA, [
|
|
15778
|
+
(d(!0), f(F, null, Z(n.partNode[u.id], (A, C) => (d(), f("span", null, T(C == 0 ? A : `,${A}`), 1))), 256))
|
|
15779
|
+
])) : (d(), f("div", AA, t[9] || (t[9] = [
|
|
15780
15780
|
g("span", null, " \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ", -1)
|
|
15781
15781
|
])))
|
|
15782
15782
|
])
|
|
@@ -15811,7 +15811,7 @@ function bA(e, t, i, s, n, r) {
|
|
|
15811
15811
|
]),
|
|
15812
15812
|
_: 1
|
|
15813
15813
|
}, 8, ["visible"]),
|
|
15814
|
-
n.labels == "5" ? (d(), ge(
|
|
15814
|
+
n.labels == "5" ? (d(), ge(m, {
|
|
15815
15815
|
key: 1,
|
|
15816
15816
|
limit: n.limit ? n.limit : -1,
|
|
15817
15817
|
requires: n.requires,
|
|
@@ -16038,10 +16038,10 @@ const CA = {
|
|
|
16038
16038
|
style: { color: "#888" }
|
|
16039
16039
|
}, QA = { style: { height: "100%" } };
|
|
16040
16040
|
function UA(e, t, i, s, n, r) {
|
|
16041
|
-
const o = q("TopTips"), a = q("departPerson"), l = q("TopPopup"),
|
|
16042
|
-
return d(),
|
|
16041
|
+
const o = q("TopTips"), a = q("departPerson"), l = q("TopPopup"), m = q("attchViews"), h = q("MsgList");
|
|
16042
|
+
return d(), f("div", kA, [
|
|
16043
16043
|
g("div", TA, [
|
|
16044
|
-
i.param.isMsg ? (d(),
|
|
16044
|
+
i.param.isMsg ? (d(), f("div", EA, [
|
|
16045
16045
|
g("div", {
|
|
16046
16046
|
class: "process-radio-item",
|
|
16047
16047
|
onClick: t[0] || (t[0] = (u) => r.handleOpenMsg()),
|
|
@@ -16067,7 +16067,7 @@ function UA(e, t, i, s, n, r) {
|
|
|
16067
16067
|
]),
|
|
16068
16068
|
g("div", NA, T(n.commentMsg.length) + "/200 ", 1)
|
|
16069
16069
|
]),
|
|
16070
|
-
i.param.isMsg ? (d(),
|
|
16070
|
+
i.param.isMsg ? (d(), f("div", SA, [
|
|
16071
16071
|
g("span", {
|
|
16072
16072
|
class: "msg-btn-click",
|
|
16073
16073
|
onClick: t[2] || (t[2] = (u) => r.handleMakeMsg())
|
|
@@ -16075,8 +16075,8 @@ function UA(e, t, i, s, n, r) {
|
|
|
16075
16075
|
])) : k("", !0)
|
|
16076
16076
|
])
|
|
16077
16077
|
]),
|
|
16078
|
-
(d(),
|
|
16079
|
-
n.nextNodeData.length ? (d(!0),
|
|
16078
|
+
(d(), f("div", BA, [
|
|
16079
|
+
n.nextNodeData.length ? (d(!0), f(F, { key: 0 }, Z(n.nextNodeData, (u) => (d(), f(F, null, [
|
|
16080
16080
|
t[8] || (t[8] = g("div", null, [
|
|
16081
16081
|
re(" \u5BA1\u6279\u4EBA "),
|
|
16082
16082
|
g("span", { class: "process-pc-label--re" }, "*")
|
|
@@ -16086,14 +16086,14 @@ function UA(e, t, i, s, n, r) {
|
|
|
16086
16086
|
onClick: (A) => r.handleOpenPopup(u.id)
|
|
16087
16087
|
}, [
|
|
16088
16088
|
g("div", MA, [
|
|
16089
|
-
n.partNode[u.id] && n.partNode[u.id].length ? (d(),
|
|
16090
|
-
(d(!0),
|
|
16091
|
-
])) : (d(),
|
|
16089
|
+
n.partNode[u.id] && n.partNode[u.id].length ? (d(), f("div", DA, [
|
|
16090
|
+
(d(!0), f(F, null, Z(n.partNode[u.id], (A, C) => (d(), f("span", null, T(C == 0 ? A : `,${A}`), 1))), 256))
|
|
16091
|
+
])) : (d(), f("div", OA, t[7] || (t[7] = [
|
|
16092
16092
|
g("span", null, " \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ", -1)
|
|
16093
16093
|
])))
|
|
16094
16094
|
])
|
|
16095
16095
|
], 8, PA)
|
|
16096
|
-
], 64))), 256)) : n.outGatewayUserTaskModel.length ? (d(!0),
|
|
16096
|
+
], 64))), 256)) : n.outGatewayUserTaskModel.length ? (d(!0), f(F, { key: 1 }, Z(n.outGatewayUserTaskModel, (u) => (d(), f(F, null, [
|
|
16097
16097
|
t[10] || (t[10] = g("div", { class: "process-pc-label" }, [
|
|
16098
16098
|
re(" \u5BA1\u6279\u4EBA "),
|
|
16099
16099
|
g("span", { class: "process-pc-label--re" }, "*")
|
|
@@ -16103,9 +16103,9 @@ function UA(e, t, i, s, n, r) {
|
|
|
16103
16103
|
onClick: (A) => r.handleOpenPopup(u.id)
|
|
16104
16104
|
}, [
|
|
16105
16105
|
g("div", LA, [
|
|
16106
|
-
n.partNode[u.id] && n.partNode[u.id].length ? (d(),
|
|
16107
|
-
(d(!0),
|
|
16108
|
-
])) : (d(),
|
|
16106
|
+
n.partNode[u.id] && n.partNode[u.id].length ? (d(), f("div", FA, [
|
|
16107
|
+
(d(!0), f(F, null, Z(n.partNode[u.id], (A, C) => (d(), f("span", null, T(C == 0 ? A : `,${A}`), 1))), 256))
|
|
16108
|
+
])) : (d(), f("div", VA, t[9] || (t[9] = [
|
|
16109
16109
|
g("span", null, " \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ", -1)
|
|
16110
16110
|
])))
|
|
16111
16111
|
])
|
|
@@ -16140,7 +16140,7 @@ function UA(e, t, i, s, n, r) {
|
|
|
16140
16140
|
]),
|
|
16141
16141
|
_: 1
|
|
16142
16142
|
}, 8, ["visible"]),
|
|
16143
|
-
n.labels == "1" ? (d(), ge(
|
|
16143
|
+
n.labels == "1" ? (d(), ge(m, {
|
|
16144
16144
|
key: 1,
|
|
16145
16145
|
limit: n.limit ? n.limit : -1,
|
|
16146
16146
|
requires: n.requires,
|
|
@@ -16241,15 +16241,19 @@ const GA = {
|
|
|
16241
16241
|
watch: {
|
|
16242
16242
|
items: {
|
|
16243
16243
|
handler(e, t) {
|
|
16244
|
-
e && e.length && (this.multiNodeParticipant = {}, this.partNode = {}, this.partNodeArr = {}, this.gateVars = {}, this
|
|
16245
|
-
if (i.userTaskModelDTO || (i.userTaskModelDTO = {
|
|
16244
|
+
e && e.length && (this.multiNodeParticipant = {}, this.partNode = {}, this.partNodeArr = {}, this.gateVars = {}, this.nodeItems = JSON.parse(JSON.stringify(e)), console.log("\u8FDB\u6765\u4E86", this.nodeItems), this.nodeItems.map((i) => {
|
|
16245
|
+
if (console.log("v", i, Array.isArray(i.assignees), i.assignees), i.userTaskModelDTO || (i.userTaskModelDTO = {
|
|
16246
16246
|
name: i.name,
|
|
16247
16247
|
humanPerformer: {
|
|
16248
16248
|
name: i.humanPerformerName
|
|
16249
16249
|
},
|
|
16250
16250
|
routeTxt: i.routeTxt,
|
|
16251
16251
|
participantList: i.participantList
|
|
16252
|
-
}), i.
|
|
16252
|
+
}), Array.isArray(i.assignees) && i.assignees.length && (this.multiNodeParticipant[i.id] || (this.multiNodeParticipant[i.id] = []), this.partNodeArr[i.id] || (this.partNodeArr[i.id] = []), i.assignees.forEach((s) => {
|
|
16253
|
+
console.log(this.partNodeArr, this.multiNodeParticipant, s, "\u6D4B\u8BD5");
|
|
16254
|
+
const n = this.partNodeArr[i.id].find((o) => o.name == s.name), r = this.multiNodeParticipant[i.id].find((o) => o == s.id);
|
|
16255
|
+
n || this.partNodeArr[i.id].push(s), r || (this.multiNodeParticipant[i.id].push(s.id), console.log("\u8FDB\u6765\u6765\u7740\u4E86"));
|
|
16256
|
+
})), i.userTaskModelDTO && i.userTaskModelDTO.participantList && i.userTaskModelDTO.participantList.length && i.userTaskModelDTO.humanPerformer && i.userTaskModelDTO.participantList.map((s) => {
|
|
16253
16257
|
this.multiNodeParticipant[i.id] || (this.multiNodeParticipant[i.id] = []), this.partNode[i.id] || (this.partNode[i.id] = []), this.partNodeArr[i.id] || (this.partNodeArr[i.id] = []), this.multiNodeParticipant[i.id].includes(s.id) || this.multiNodeParticipant[i.id].push(s.id), this.partNode[i.id].includes(s.name) || this.partNode[i.id].push(s.name), this.partNodeArr[i.id].find((n) => n.name == s.name) || this.partNodeArr[i.id].push(s);
|
|
16254
16258
|
}), (i.userTaskModelDTO.humanPerformer.name == "\u56FA\u5B9A\u8D26\u6237" || i.userTaskModelDTO.humanPerformer.name == "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173") && this.personMake.push(i.id), i.userTaskModelDTO.humanPerformer.name == "\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D") {
|
|
16255
16259
|
let s = {
|
|
@@ -16263,17 +16267,17 @@ const GA = {
|
|
|
16263
16267
|
taskPostIds: [s]
|
|
16264
16268
|
}).then((n) => {
|
|
16265
16269
|
let r = [], o = [], a = !1;
|
|
16266
|
-
n.data.map((
|
|
16267
|
-
|
|
16270
|
+
n.data.map((m) => {
|
|
16271
|
+
m.posts.map((h) => {
|
|
16268
16272
|
o.push(...h.users), h.users.length == 1 ? r.push(...h.users) : a = !0;
|
|
16269
16273
|
});
|
|
16270
16274
|
}), r.length > i.loopCardinality && i.loopCardinality > 0 && (a = !0), a && (r = []);
|
|
16271
16275
|
let l = [];
|
|
16272
|
-
n.data[0].posts.map((
|
|
16276
|
+
n.data[0].posts.map((m) => {
|
|
16273
16277
|
l.push({
|
|
16274
|
-
...
|
|
16278
|
+
...m,
|
|
16275
16279
|
projectPost: !(this.param.taskNode && this.param.taskNode[0].vars && this.param.taskNode[0].vars._businessDeptId),
|
|
16276
|
-
id:
|
|
16280
|
+
id: m.users.map((h) => h.id)
|
|
16277
16281
|
});
|
|
16278
16282
|
}), o.length == 0 && (i.noPersonnel = !0), r.length > 0 && (i.noPersonnel = !0, this.partObjId = i.id, this.handleCallback(r)), i.positionArray = l;
|
|
16279
16283
|
});
|
|
@@ -16286,7 +16290,7 @@ const GA = {
|
|
|
16286
16290
|
).then((s) => {
|
|
16287
16291
|
s.code == 200 && (this.personMakeList = s.data);
|
|
16288
16292
|
});
|
|
16289
|
-
}), this.checkType == "ExclusiveGatewayModel" && e.length == 1 && this.handleRadioClick(e[0]));
|
|
16293
|
+
}), this.$emit("onMultiNode", this.multiNodeParticipant), this.$emit("onMultiNodeObj", this.partNodeArr), this.$emit("onVars", this.gateVars), this.checkType == "ExclusiveGatewayModel" && e.length == 1 && this.handleRadioClick(e[0]));
|
|
16290
16294
|
},
|
|
16291
16295
|
immediate: !0,
|
|
16292
16296
|
deep: !0
|
|
@@ -16463,38 +16467,38 @@ const GA = {
|
|
|
16463
16467
|
}, KA = ["onClick"], WA = ["src"], YA = ["onClick"], zA = { class: "treenode-node" }, ZA = { key: 0 }, XA = {
|
|
16464
16468
|
key: 1,
|
|
16465
16469
|
class: "personselect"
|
|
16466
|
-
}, $A = { class: "personselect-name" },
|
|
16470
|
+
}, $A = { class: "personselect-name" }, e0 = { class: "items-person" }, t0 = ["onClick"], i0 = {
|
|
16467
16471
|
key: 1,
|
|
16468
16472
|
class: "items-person-name"
|
|
16469
|
-
},
|
|
16473
|
+
}, s0 = {
|
|
16470
16474
|
key: 2,
|
|
16471
16475
|
class: "items-person-name"
|
|
16472
|
-
},
|
|
16476
|
+
}, n0 = { class: "treenode-node" }, r0 = { key: 0 }, o0 = {
|
|
16473
16477
|
key: 1,
|
|
16474
16478
|
class: "personselect"
|
|
16475
|
-
},
|
|
16479
|
+
}, a0 = { class: "personselect-name" }, l0 = { class: "items-person" }, c0 = ["onClick"], p0 = {
|
|
16476
16480
|
key: 1,
|
|
16477
16481
|
class: "items-person-name"
|
|
16478
|
-
},
|
|
16482
|
+
}, u0 = {
|
|
16479
16483
|
key: 2,
|
|
16480
16484
|
class: "items-person-name"
|
|
16481
|
-
},
|
|
16485
|
+
}, d0 = {
|
|
16482
16486
|
key: 1,
|
|
16483
16487
|
class: "treenode-single"
|
|
16484
|
-
},
|
|
16488
|
+
}, h0 = { class: "treenode-single-items" }, f0 = { class: "personselect" }, m0 = { class: "personselect-name" }, g0 = {
|
|
16485
16489
|
key: 0,
|
|
16486
16490
|
class: "items-person"
|
|
16487
|
-
},
|
|
16491
|
+
}, y0 = ["onClick"], A0 = {
|
|
16488
16492
|
key: 1,
|
|
16489
16493
|
class: "items-person-name"
|
|
16490
|
-
},
|
|
16491
|
-
function
|
|
16492
|
-
const o = q("TreeNode", !0), a = q("departPerson"), l = q("TopPopup"),
|
|
16493
|
-
return n.nodeItems && n.nodeItems.length ? (d(),
|
|
16494
|
-
i.endNode ? k("", !0) : (d(),
|
|
16494
|
+
}, v0 = { class: "items-person-name" }, b0 = { key: 0 };
|
|
16495
|
+
function w0(e, t, i, s, n, r) {
|
|
16496
|
+
const o = q("TreeNode", !0), a = q("departPerson"), l = q("TopPopup"), m = q("TopTips");
|
|
16497
|
+
return n.nodeItems && n.nodeItems.length ? (d(), f("div", qA, [
|
|
16498
|
+
i.endNode ? k("", !0) : (d(), f("div", JA, [
|
|
16495
16499
|
g("div", HA, [
|
|
16496
|
-
(d(!0),
|
|
16497
|
-
i.checkType == "InclusiveGatewayModel" && n.nodeItems.length > 1 ? (d(),
|
|
16500
|
+
(d(!0), f(F, null, Z(n.nodeItems, (h) => (d(), f(F, null, [
|
|
16501
|
+
i.checkType == "InclusiveGatewayModel" && n.nodeItems.length > 1 ? (d(), f("div", {
|
|
16498
16502
|
key: 0,
|
|
16499
16503
|
class: he([
|
|
16500
16504
|
"treenode-checkbox",
|
|
@@ -16503,14 +16507,14 @@ function wv(e, t, i, s, n, r) {
|
|
|
16503
16507
|
onClick: (u) => r.handleCheckBoxClick(h)
|
|
16504
16508
|
}, [
|
|
16505
16509
|
g("span", null, [
|
|
16506
|
-
n.checkBoxArr.includes(h.id) ? (d(),
|
|
16510
|
+
n.checkBoxArr.includes(h.id) ? (d(), f("img", {
|
|
16507
16511
|
key: 0,
|
|
16508
16512
|
class: "treenode-checkbox-active-img",
|
|
16509
16513
|
src: r.check
|
|
16510
16514
|
}, null, 8, WA)) : k("", !0)
|
|
16511
16515
|
]),
|
|
16512
16516
|
re(" " + T(h.nodeName || h.name), 1)
|
|
16513
|
-
], 10, KA)) : i.checkType == "ExclusiveGatewayModel" && n.nodeItems.length > 1 ? (d(),
|
|
16517
|
+
], 10, KA)) : i.checkType == "ExclusiveGatewayModel" && n.nodeItems.length > 1 ? (d(), f("div", {
|
|
16514
16518
|
key: 1,
|
|
16515
16519
|
class: he(["treenode-radio", n.radioArr == h.id ? "treenode-radio-active" : ""]),
|
|
16516
16520
|
onClick: (u) => r.handleRadioClick(h)
|
|
@@ -16520,8 +16524,8 @@ function wv(e, t, i, s, n, r) {
|
|
|
16520
16524
|
], 10, YA)) : k("", !0)
|
|
16521
16525
|
], 64))), 256))
|
|
16522
16526
|
]),
|
|
16523
|
-
i.checkType == "InclusiveGatewayModel" && n.checkBoxItem && n.checkBoxItem.length ? (d(!0),
|
|
16524
|
-
h.childNode && h.childNode.length ? (d(),
|
|
16527
|
+
i.checkType == "InclusiveGatewayModel" && n.checkBoxItem && n.checkBoxItem.length ? (d(!0), f(F, { key: 0 }, Z(n.checkBoxItem, (h) => (d(), f("div", zA, [
|
|
16528
|
+
h.childNode && h.childNode.length ? (d(), f("div", ZA, [
|
|
16525
16529
|
J(o, {
|
|
16526
16530
|
items: h.childNode,
|
|
16527
16531
|
endNode: h.childNode.length == 1,
|
|
@@ -16531,20 +16535,20 @@ function wv(e, t, i, s, n, r) {
|
|
|
16531
16535
|
onOnMultiNode: r.onMultiNode,
|
|
16532
16536
|
onOnVars: r.onVars
|
|
16533
16537
|
}, null, 8, ["items", "endNode", "nodeType", "param", "checkType", "onOnMultiNode", "onOnVars"])
|
|
16534
|
-
])) : (d(),
|
|
16538
|
+
])) : (d(), f("div", XA, [
|
|
16535
16539
|
g("div", $A, T(h.name || h.nodeName), 1),
|
|
16536
|
-
g("div",
|
|
16537
|
-
h.humanPerformerName !== "\u56FA\u5B9A\u8D26\u6237" && h.humanPerformerName !== "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173" ? (d(),
|
|
16540
|
+
g("div", e0, [
|
|
16541
|
+
h.humanPerformerName !== "\u56FA\u5B9A\u8D26\u6237" && h.humanPerformerName !== "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173" ? (d(), f("div", {
|
|
16538
16542
|
key: 0,
|
|
16539
16543
|
class: "items-person-set",
|
|
16540
16544
|
onClick: Cs((u) => r.handleOpenPopup(h), ["stop"])
|
|
16541
|
-
}, " \u8BBE\u7F6E ", 8,
|
|
16542
|
-
h.humanPerformerName !== "\u56FA\u5B9A\u8D26\u6237" && h.humanPerformerName !== "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173" ? (d(),
|
|
16545
|
+
}, " \u8BBE\u7F6E ", 8, t0)) : k("", !0),
|
|
16546
|
+
h.humanPerformerName !== "\u56FA\u5B9A\u8D26\u6237" && h.humanPerformerName !== "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173" ? (d(), f("div", i0, T(n.partNode[h.id] ? n.partNode[h.id].join(",") : ""), 1)) : h.routeTxt && h.routeTxt.userNames ? (d(), f("div", s0, T(h.routeTxt.userNames), 1)) : k("", !0)
|
|
16543
16547
|
])
|
|
16544
16548
|
]))
|
|
16545
16549
|
]))), 256)) : k("", !0),
|
|
16546
|
-
i.checkType == "ExclusiveGatewayModel" && n.radioItem && n.radioItem.length ? (d(!0),
|
|
16547
|
-
h.childNode && h.childNode.length ? (d(),
|
|
16550
|
+
i.checkType == "ExclusiveGatewayModel" && n.radioItem && n.radioItem.length ? (d(!0), f(F, { key: 1 }, Z(n.radioItem, (h) => (d(), f("div", n0, [
|
|
16551
|
+
h.childNode && h.childNode.length ? (d(), f("div", r0, [
|
|
16548
16552
|
J(o, {
|
|
16549
16553
|
items: h.childNode,
|
|
16550
16554
|
endNode: h.childNode.length == 1,
|
|
@@ -16554,31 +16558,32 @@ function wv(e, t, i, s, n, r) {
|
|
|
16554
16558
|
onOnMultiNode: r.onMultiNode,
|
|
16555
16559
|
onOnVars: r.onVars
|
|
16556
16560
|
}, null, 8, ["items", "endNode", "nodeType", "param", "checkType", "onOnMultiNode", "onOnVars"])
|
|
16557
|
-
])) : (d(),
|
|
16558
|
-
g("div",
|
|
16559
|
-
g("div",
|
|
16560
|
-
h.humanPerformerName !== "\u56FA\u5B9A\u8D26\u6237" && h.humanPerformerName !== "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173" ? (d(),
|
|
16561
|
+
])) : (d(), f("div", o0, [
|
|
16562
|
+
g("div", a0, T(h.name || h.nodeName), 1),
|
|
16563
|
+
g("div", l0, [
|
|
16564
|
+
h.humanPerformerName !== "\u56FA\u5B9A\u8D26\u6237" && h.humanPerformerName !== "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173" ? (d(), f("div", {
|
|
16561
16565
|
key: 0,
|
|
16562
16566
|
class: "items-person-set",
|
|
16563
16567
|
onClick: Cs((u) => r.handleOpenPopup(h), ["stop"])
|
|
16564
|
-
}, " \u8BBE\u7F6E ", 8,
|
|
16565
|
-
h.humanPerformerName !== "\u56FA\u5B9A\u8D26\u6237" && h.humanPerformerName !== "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173" ? (d(),
|
|
16568
|
+
}, " \u8BBE\u7F6E ", 8, c0)) : k("", !0),
|
|
16569
|
+
h.humanPerformerName !== "\u56FA\u5B9A\u8D26\u6237" && h.humanPerformerName !== "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173" ? (d(), f("div", p0, T(n.partNode[h.id] ? n.partNode[h.id].join(",") : ""), 1)) : h.routeTxt && h.routeTxt.userNames ? (d(), f("div", u0, T(h.routeTxt.userNames), 1)) : k("", !0)
|
|
16566
16570
|
])
|
|
16567
16571
|
]))
|
|
16568
16572
|
]))), 256)) : k("", !0)
|
|
16569
16573
|
])),
|
|
16570
|
-
i.endNode ? (d(),
|
|
16571
|
-
(
|
|
16572
|
-
|
|
16573
|
-
|
|
16574
|
-
|
|
16575
|
-
|
|
16574
|
+
i.endNode ? (d(), f("div", d0, [
|
|
16575
|
+
g("pre", null, T(JSON.stringify(n.nodeItems, null, 2)), 1),
|
|
16576
|
+
(d(!0), f(F, null, Z(n.nodeItems, (h) => (d(), f("div", h0, [
|
|
16577
|
+
g("div", f0, [
|
|
16578
|
+
g("div", m0, T(h.name || h.nodeName), 1),
|
|
16579
|
+
h.nodeType !== "endEvent" ? (d(), f("div", g0, [
|
|
16580
|
+
h.setPersonnel ? (d(), f("div", A0, T((h.assignees || []).map((u) => u.name).join(",")), 1)) : (d(), f("div", {
|
|
16576
16581
|
key: 0,
|
|
16577
16582
|
class: "items-person-set",
|
|
16578
16583
|
onClick: Cs((u) => r.handleOpenPopup(h), ["stop"])
|
|
16579
|
-
}, " \u8BBE\u7F6E ", 8,
|
|
16580
|
-
g("div",
|
|
16581
|
-
!n.partNode[h.id] && h.humanPerformerName == "\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D" && h.noPersonnel ? (d(),
|
|
16584
|
+
}, " \u8BBE\u7F6E ", 8, y0)),
|
|
16585
|
+
g("div", v0, [
|
|
16586
|
+
!n.partNode[h.id] && h.humanPerformerName == "\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D" && h.noPersonnel ? (d(), f("div", b0, " \u6CA1\u6709\u53EF\u9009\u4EBA\u5458\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E ")) : k("", !0),
|
|
16582
16587
|
re(" " + T(n.partNode[h.id] ? n.partNode[h.id].join(",") : ""), 1)
|
|
16583
16588
|
])
|
|
16584
16589
|
])) : k("", !0)
|
|
@@ -16600,7 +16605,7 @@ function wv(e, t, i, s, n, r) {
|
|
|
16600
16605
|
]),
|
|
16601
16606
|
_: 1
|
|
16602
16607
|
}, 8, ["visible"]),
|
|
16603
|
-
J(
|
|
16608
|
+
J(m, {
|
|
16604
16609
|
ref: "topTips",
|
|
16605
16610
|
text: n.textTips,
|
|
16606
16611
|
statusTips: n.statusTips,
|
|
@@ -16608,11 +16613,11 @@ function wv(e, t, i, s, n, r) {
|
|
|
16608
16613
|
}, null, 8, ["text", "statusTips", "type"])
|
|
16609
16614
|
])) : k("", !0);
|
|
16610
16615
|
}
|
|
16611
|
-
const
|
|
16612
|
-
const
|
|
16616
|
+
const C0 = /* @__PURE__ */ ke(GA, [["render", w0], ["__scopeId", "data-v-368833a5"]]);
|
|
16617
|
+
const k0 = {
|
|
16613
16618
|
name: "tree-person",
|
|
16614
16619
|
components: {
|
|
16615
|
-
TreeNode:
|
|
16620
|
+
TreeNode: C0
|
|
16616
16621
|
},
|
|
16617
16622
|
props: {
|
|
16618
16623
|
items: {
|
|
@@ -16644,7 +16649,7 @@ const kv = {
|
|
|
16644
16649
|
childrenItems: [],
|
|
16645
16650
|
childrenEndItems: !1,
|
|
16646
16651
|
gateVars: {},
|
|
16647
|
-
multiNode:
|
|
16652
|
+
multiNode: {},
|
|
16648
16653
|
partNodeArr: {},
|
|
16649
16654
|
getVars: {}
|
|
16650
16655
|
};
|
|
@@ -16668,7 +16673,9 @@ const kv = {
|
|
|
16668
16673
|
return console.log(e, this.firstMultiCheck, "originItems"), e.filter((t) => this.firstMultiCheck.includes(t.nodeInfoDTO ? t.nodeInfoDTO.id : t.id));
|
|
16669
16674
|
},
|
|
16670
16675
|
onMultiNode(e) {
|
|
16671
|
-
|
|
16676
|
+
console.log(e, "onMultiNode"), Object.prototype.toString.call(e) == "[object Object]" && (Object.prototype.toString.call(this.multiNode) == "[object Object]" ? Object.keys(e).forEach((t) => {
|
|
16677
|
+
e[t] || (e[t] = [""]), e[t] && e[t].length > 1 ? this.multiNode[t] = e[t].filter((i) => i) : this.multiNode[t] = e[t];
|
|
16678
|
+
}) : this.multiNode = e), console.error(JSON.parse(JSON.stringify(e)), "onMultiNode \u8282\u70B9\u4FEE\u6539", JSON.parse(JSON.stringify(this.multiNode))), this.$emit("onMultiNode", this.multiNode);
|
|
16672
16679
|
},
|
|
16673
16680
|
onMultiNodeObj(e) {
|
|
16674
16681
|
this.partNodeArr = e, this.$emit("onMultiNodeObj", this.partNodeArr);
|
|
@@ -16716,58 +16723,58 @@ const kv = {
|
|
|
16716
16723
|
}
|
|
16717
16724
|
}
|
|
16718
16725
|
}
|
|
16719
|
-
},
|
|
16726
|
+
}, T0 = { class: "test" }, E0 = { key: 0 }, I0 = {
|
|
16720
16727
|
key: 0,
|
|
16721
16728
|
class: "treeperson-firstnode"
|
|
16722
|
-
},
|
|
16729
|
+
}, x0 = { class: "treeperson-title" }, N0 = ["onClick"], S0 = {
|
|
16723
16730
|
key: 1,
|
|
16724
16731
|
class: "treeperson-firstnode"
|
|
16725
|
-
},
|
|
16732
|
+
}, B0 = {
|
|
16726
16733
|
key: 2,
|
|
16727
16734
|
class: "treeperson-firstnode"
|
|
16728
|
-
},
|
|
16735
|
+
}, P0 = { class: "treeperson-title" }, M0 = ["onClick"], D0 = {
|
|
16729
16736
|
key: 3,
|
|
16730
16737
|
class: "treeperson-firstnode"
|
|
16731
|
-
},
|
|
16738
|
+
}, O0 = { class: "treeperson-title" }, R0 = ["onClick"], L0 = {
|
|
16732
16739
|
key: 0,
|
|
16733
16740
|
class: "treeperson-firstnode"
|
|
16734
|
-
},
|
|
16741
|
+
}, F0 = { class: "treeperson-title" }, V0 = ["onClick"], Q0 = {
|
|
16735
16742
|
key: 0,
|
|
16736
16743
|
class: "treeperson-firstnode"
|
|
16737
|
-
},
|
|
16738
|
-
function
|
|
16744
|
+
}, U0 = ["onClick"], j0 = { class: "treeperson-title" }, _0 = ["onClick"], G0 = { class: "treeperson-title" }, q0 = { key: 4 };
|
|
16745
|
+
function J0(e, t, i, s, n, r) {
|
|
16739
16746
|
const o = q("TreePerson", !0), a = q("TreeNode");
|
|
16740
|
-
return d(),
|
|
16741
|
-
n.nodeItems && n.nodeItems.length ? (d(),
|
|
16742
|
-
(d(!0),
|
|
16747
|
+
return d(), f("div", T0, [
|
|
16748
|
+
n.nodeItems && n.nodeItems.length ? (d(), f("div", E0, [
|
|
16749
|
+
(d(!0), f(F, null, Z(n.nodeItems, (l, m) => {
|
|
16743
16750
|
var h;
|
|
16744
|
-
return d(),
|
|
16751
|
+
return d(), f("div", {
|
|
16745
16752
|
class: "treeperson",
|
|
16746
|
-
key:
|
|
16753
|
+
key: m
|
|
16747
16754
|
}, [
|
|
16748
16755
|
g("pre", null, "\u65B0\uFF1A" + T(l.nodeInfoDTO ? l.nodeInfoDTO.nodeType : l.nodeType), 1),
|
|
16749
16756
|
g("pre", null, "\u65B0\uFF1A" + T(l.nodeType), 1),
|
|
16750
16757
|
g("pre", null, "\u65B0\uFF1A" + T((h = l.branches) == null ? void 0 : h.length), 1),
|
|
16751
16758
|
t[15] || (t[15] = g("hr", null, null, -1)),
|
|
16752
|
-
l.branches && l.branches.length ? (d(),
|
|
16753
|
-
i.nodeType == "nexting" && l.nodeType != "inclusiveGateway" ? (d(),
|
|
16754
|
-
l.nodeType == "exclusiveGateway" && l.branches.length > 1 ? (d(),
|
|
16755
|
-
g("div",
|
|
16759
|
+
l.branches && l.branches.length ? (d(), f(F, { key: 0 }, [
|
|
16760
|
+
i.nodeType == "nexting" && l.nodeType != "inclusiveGateway" ? (d(), f(F, { key: 0 }, [
|
|
16761
|
+
l.nodeType == "exclusiveGateway" && l.branches.length > 1 ? (d(), f("div", I0, [
|
|
16762
|
+
g("div", x0, [
|
|
16756
16763
|
re(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B91\uFF1A" + T(i.nodeType) + " ", 1),
|
|
16757
16764
|
t[0] || (t[0] = g("span", { class: "treeperson-title--re" }, "*", -1))
|
|
16758
16765
|
]),
|
|
16759
16766
|
g("pre", null, T(l.nodeType), 1),
|
|
16760
|
-
(d(!0),
|
|
16767
|
+
(d(!0), f(F, null, Z(l.branches, (u, A) => (d(), f("div", {
|
|
16761
16768
|
class: he(["treeperson-radio", n.firstCheck == (u.nodeInfoDTO ? u.nodeInfoDTO.id : u.id) ? "treeperson-radio-active" : ""]),
|
|
16762
16769
|
onClick: (C) => r.handleFirstNodeClick(u, l.branches),
|
|
16763
16770
|
key: A
|
|
16764
16771
|
}, [
|
|
16765
16772
|
t[1] || (t[1] = g("span", null, null, -1)),
|
|
16766
16773
|
re(" " + T(u.id.includes("Flow") ? u.nodeName || u.name : u.nodeInfoDTO ? u.nodeInfoDTO.nodeName || u.nodeInfoDTO.name || u.nodeName || u.name : u.nodeName || u.name), 1)
|
|
16767
|
-
], 10,
|
|
16768
|
-
])) : l.nodeType == "exclusiveGateway" && l.branches.length == 1 ? (d(),
|
|
16774
|
+
], 10, N0))), 128))
|
|
16775
|
+
])) : l.nodeType == "exclusiveGateway" && l.branches.length == 1 ? (d(), f("div", S0, [
|
|
16769
16776
|
g("pre", null, "\u7B2C\u4E8C\u79CD\u60C5\u51B5\uFF1A" + T(l.nodeType), 1),
|
|
16770
|
-
(d(!0),
|
|
16777
|
+
(d(!0), f(F, null, Z(l.branches, (u, A) => (d(), f("div", null, [
|
|
16771
16778
|
t[2] || (t[2] = g("span", null, null, -1)),
|
|
16772
16779
|
J(o, {
|
|
16773
16780
|
ref_for: !0,
|
|
@@ -16779,34 +16786,34 @@ function qv(e, t, i, s, n, r) {
|
|
|
16779
16786
|
onOnMultiNodeObj: r.onMultiNodeObj
|
|
16780
16787
|
}, null, 8, ["items", "param", "onOnMultiNode", "onOnMultiNodeObj"])
|
|
16781
16788
|
]))), 256))
|
|
16782
|
-
])) : l.nodeType == "inclusiveGateway" && l.branches.length >= 1 ? (d(),
|
|
16783
|
-
g("div",
|
|
16789
|
+
])) : l.nodeType == "inclusiveGateway" && l.branches.length >= 1 ? (d(), f("div", B0, [
|
|
16790
|
+
g("div", P0, [
|
|
16784
16791
|
re(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B91-2\uFF1A" + T(i.nodeType) + " ", 1),
|
|
16785
16792
|
t[3] || (t[3] = g("span", { class: "treeperson-title--re" }, "*", -1))
|
|
16786
16793
|
]),
|
|
16787
16794
|
g("pre", null, T(l.nodeType), 1),
|
|
16788
|
-
(d(!0),
|
|
16795
|
+
(d(!0), f(F, null, Z(l.branches, (u, A) => (d(), f("div", {
|
|
16789
16796
|
class: he(["treeperson-radio", n.firstCheck == (u.nodeInfoDTO ? u.nodeInfoDTO.id : u.id) ? "treeperson-radio-active" : ""]),
|
|
16790
16797
|
onClick: (C) => r.handleMultiFirstNodeClick(u),
|
|
16791
16798
|
key: A
|
|
16792
16799
|
}, [
|
|
16793
16800
|
t[4] || (t[4] = g("span", null, null, -1)),
|
|
16794
16801
|
re(" " + T(u.nodeInfoDTO ? u.nodeInfoDTO.nodeName || u.nodeInfoDTO.name : u.nodeName || u.name), 1)
|
|
16795
|
-
], 10,
|
|
16796
|
-
])) : (d(),
|
|
16797
|
-
g("div",
|
|
16802
|
+
], 10, M0))), 128))
|
|
16803
|
+
])) : (d(), f("div", D0, [
|
|
16804
|
+
g("div", O0, [
|
|
16798
16805
|
re(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B91-3\uFF1A" + T(i.nodeType) + " ", 1),
|
|
16799
16806
|
t[5] || (t[5] = g("span", { class: "treeperson-title--re" }, "*", -1))
|
|
16800
16807
|
]),
|
|
16801
16808
|
g("pre", null, T(l.nodeType), 1),
|
|
16802
|
-
(d(!0),
|
|
16809
|
+
(d(!0), f(F, null, Z(l.branches, (u, A) => (d(), f("div", {
|
|
16803
16810
|
class: he(["treeperson-radio", n.firstCheck == (u.nodeInfoDTO ? u.nodeInfoDTO.id : u.id) ? "treeperson-radio-active" : ""]),
|
|
16804
16811
|
onClick: (C) => r.handleFirstNodeClick(u, l.branches),
|
|
16805
16812
|
key: A
|
|
16806
16813
|
}, [
|
|
16807
16814
|
t[6] || (t[6] = g("span", null, null, -1)),
|
|
16808
16815
|
re(" " + T(u.nodeInfoDTO ? u.nodeInfoDTO.nodeName || u.nodeInfoDTO.name : u.nodeName || u.name), 1)
|
|
16809
|
-
], 10,
|
|
16816
|
+
], 10, R0))), 128))
|
|
16810
16817
|
])),
|
|
16811
16818
|
g("div", null, T(JSON.stringify(n.childrenItems, null, 2)), 1),
|
|
16812
16819
|
n.childrenItems && n.childrenItems.length > 0 && n.childrenItems[0].nodeInfoDTO && n.childrenItems[0].nodeInfoDTO.nodeType != "userTask" ? (d(), ge(o, {
|
|
@@ -16829,23 +16836,23 @@ function qv(e, t, i, s, n, r) {
|
|
|
16829
16836
|
onOnMultiNodeObj: r.onMultiNodeObj,
|
|
16830
16837
|
onOnVars: r.onVars
|
|
16831
16838
|
}, null, 8, ["items", "endNode", "nodeType", "param", "checkType", "onOnMultiNode", "onOnMultiNodeObj", "onOnVars"]))
|
|
16832
|
-
], 64)) : i.nodeType == "nexting" && l.nodeType == "inclusiveGateway" ? (d(),
|
|
16833
|
-
l.nodeType == "inclusiveGateway" && l.branches.length >= 1 ? (d(),
|
|
16834
|
-
g("div",
|
|
16839
|
+
], 64)) : i.nodeType == "nexting" && l.nodeType == "inclusiveGateway" ? (d(), f(F, { key: 1 }, [
|
|
16840
|
+
l.nodeType == "inclusiveGateway" && l.branches.length >= 1 ? (d(), f("div", L0, [
|
|
16841
|
+
g("div", F0, [
|
|
16835
16842
|
re(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B91-2-2\uFF1A" + T(i.nodeType) + " ", 1),
|
|
16836
16843
|
t[7] || (t[7] = g("span", { class: "treeperson-title--re" }, "*", -1))
|
|
16837
16844
|
]),
|
|
16838
16845
|
g("pre", null, T(l.nodeType), 1),
|
|
16839
|
-
(d(!0),
|
|
16846
|
+
(d(!0), f(F, null, Z(l.branches, (u, A) => (d(), f("div", {
|
|
16840
16847
|
class: he(["treeperson-checkbox", n.firstMultiCheck.includes(u.nodeInfoDTO ? u.nodeInfoDTO.id : u.id) ? "treeperson-checkbox-active" : ""]),
|
|
16841
16848
|
onClick: (C) => r.handleMultiFirstNodeClick(u, l.branches),
|
|
16842
16849
|
key: A
|
|
16843
16850
|
}, [
|
|
16844
16851
|
t[8] || (t[8] = g("span", null, null, -1)),
|
|
16845
16852
|
re(" " + T(u.nodeInfoDTO ? u.nodeInfoDTO.nodeName || u.nodeInfoDTO.name : u.nodeName || u.name), 1)
|
|
16846
|
-
], 10,
|
|
16853
|
+
], 10, V0))), 128))
|
|
16847
16854
|
])) : k("", !0),
|
|
16848
|
-
(d(!0),
|
|
16855
|
+
(d(!0), f(F, null, Z(r.filterMultiItems(l.branches), (u) => (d(), ge(a, {
|
|
16849
16856
|
items: u.branches && u.branches.length > 0 ? u.branches : [u.nodeInfoDTO ? u.nodeInfoDTO : u],
|
|
16850
16857
|
endNode: !0,
|
|
16851
16858
|
nodeType: i.nodeType,
|
|
@@ -16856,20 +16863,20 @@ function qv(e, t, i, s, n, r) {
|
|
|
16856
16863
|
onOnVars: r.onVars
|
|
16857
16864
|
}, null, 8, ["items", "nodeType", "param", "checkType", "onOnMultiNode", "onOnMultiNodeObj", "onOnVars"]))), 256))
|
|
16858
16865
|
], 64)) : k("", !0)
|
|
16859
|
-
], 64)) : l.nodeType == "exclusiveGateway" && l.branches && l.branches.length > 1 ? (d(),
|
|
16866
|
+
], 64)) : l.nodeType == "exclusiveGateway" && l.branches && l.branches.length > 1 ? (d(), f(F, { key: 1 }, [
|
|
16860
16867
|
t[10] || (t[10] = g("div", { class: "treeperson-title" }, [
|
|
16861
16868
|
re(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B92 "),
|
|
16862
16869
|
g("span", { class: "treeperson-title--re" }, "*")
|
|
16863
16870
|
], -1)),
|
|
16864
|
-
l.type == "ExclusiveGatewayModel" && l.branches.length == 1 ? k("", !0) : (d(),
|
|
16865
|
-
(d(!0),
|
|
16871
|
+
l.type == "ExclusiveGatewayModel" && l.branches.length == 1 ? k("", !0) : (d(), f("div", Q0, [
|
|
16872
|
+
(d(!0), f(F, null, Z(l.branches, (u, A) => (d(), f("div", {
|
|
16866
16873
|
class: he(["treeperson-checkbox", n.firstCheck == u.id ? "treeperson-checkbox-active" : ""]),
|
|
16867
16874
|
onClick: (C) => r.handleFirstNodeClick(u, l.branches),
|
|
16868
16875
|
key: A
|
|
16869
16876
|
}, [
|
|
16870
16877
|
t[9] || (t[9] = g("span", null, null, -1)),
|
|
16871
16878
|
re(" " + T(u.nodeName || u.name), 1)
|
|
16872
|
-
], 10,
|
|
16879
|
+
], 10, U0))), 128))
|
|
16873
16880
|
])),
|
|
16874
16881
|
J(a, {
|
|
16875
16882
|
items: n.childrenItems,
|
|
@@ -16881,7 +16888,7 @@ function qv(e, t, i, s, n, r) {
|
|
|
16881
16888
|
onOnMultiNodeObj: r.onMultiNodeObj,
|
|
16882
16889
|
onOnVars: r.onVars
|
|
16883
16890
|
}, null, 8, ["items", "endNode", "nodeType", "param", "checkType", "onOnMultiNode", "onOnMultiNodeObj", "onOnVars"])
|
|
16884
|
-
], 64)) : l.nodeType == "exclusiveGateway" && l.branches && l.branches.length == 1 ? (d(),
|
|
16891
|
+
], 64)) : l.nodeType == "exclusiveGateway" && l.branches && l.branches.length == 1 ? (d(), f(F, { key: 2 }, [
|
|
16885
16892
|
t[11] || (t[11] = g("div", { class: "treeperson-title" }, [
|
|
16886
16893
|
re(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B93 "),
|
|
16887
16894
|
g("span", { class: "treeperson-title--re" }, "*")
|
|
@@ -16907,22 +16914,22 @@ function qv(e, t, i, s, n, r) {
|
|
|
16907
16914
|
onOnMultiNodeObj: r.onMultiNodeObj,
|
|
16908
16915
|
onOnVars: r.onVars
|
|
16909
16916
|
}, null, 8, ["items", "param", "checkType", "onOnMultiNode", "onOnMultiNodeObj", "onOnVars"]))
|
|
16910
|
-
], 64)) : (d(),
|
|
16911
|
-
i.nodeType == "nexting" ? (d(),
|
|
16917
|
+
], 64)) : l.id || l.nodeInfoDTO && l.nodeInfoDTO.id ? (d(), f(F, { key: 3 }, [
|
|
16918
|
+
i.nodeType == "nexting" ? (d(), f(F, { key: 0 }, [
|
|
16912
16919
|
g("pre", null, "\u4E0A\uFF1A" + T(l.nodeInfoDTO ? l.nodeInfoDTO.nodeType : l.nodeType), 1),
|
|
16913
|
-
l.nodeInfoDTO && l.nodeInfoDTO.nodeType == "exclusiveGateway" ? (d(),
|
|
16914
|
-
g("div",
|
|
16920
|
+
l.nodeInfoDTO && l.nodeInfoDTO.nodeType == "exclusiveGateway" ? (d(), f(F, { key: 0 }, [
|
|
16921
|
+
g("div", j0, [
|
|
16915
16922
|
re(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B95\uFF1A" + T(i.nodeType) + " ", 1),
|
|
16916
16923
|
t[12] || (t[12] = g("span", { class: "treeperson-title--re" }, "*", -1))
|
|
16917
16924
|
]),
|
|
16918
|
-
(d(!0),
|
|
16925
|
+
(d(!0), f(F, null, Z(l.nodeInfoDTO.branches, (u, A) => (d(), f("div", {
|
|
16919
16926
|
class: he(["treeperson-radio", n.firstCheck == (u.nodeInfoDTO ? u.nodeInfoDTO.id : u.id) ? "treeperson-radio-active" : ""]),
|
|
16920
16927
|
onClick: (C) => r.handleFirstNodeClick(u, l.nodeInfoDTO.branches),
|
|
16921
16928
|
key: A
|
|
16922
16929
|
}, [
|
|
16923
16930
|
t[13] || (t[13] = g("span", null, null, -1)),
|
|
16924
16931
|
re(" " + T(u.nodeName || u.name), 1)
|
|
16925
|
-
], 10,
|
|
16932
|
+
], 10, _0))), 128)),
|
|
16926
16933
|
g("pre", null, "firstCheckItem: " + T(JSON.stringify(n.firstCheckItem, null, 2)), 1),
|
|
16927
16934
|
(d(), ge(o, {
|
|
16928
16935
|
key: n.firstCheck,
|
|
@@ -16934,8 +16941,8 @@ function qv(e, t, i, s, n, r) {
|
|
|
16934
16941
|
onOnMultiNode: r.onMultiNode,
|
|
16935
16942
|
onOnMultiNodeObj: r.onMultiNodeObj
|
|
16936
16943
|
}, null, 8, ["items", "param", "onOnMultiNode", "onOnMultiNodeObj"]))
|
|
16937
|
-
], 64)) : (d(),
|
|
16938
|
-
g("div",
|
|
16944
|
+
], 64)) : (d(), f(F, { key: 1 }, [
|
|
16945
|
+
g("div", G0, [
|
|
16939
16946
|
re(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B94\uFF1A" + T(i.nodeType) + " ", 1),
|
|
16940
16947
|
t[14] || (t[14] = g("span", { class: "treeperson-title--re" }, "*", -1))
|
|
16941
16948
|
]),
|
|
@@ -16962,14 +16969,14 @@ function qv(e, t, i, s, n, r) {
|
|
|
16962
16969
|
onOnMultiNodeObj: r.onMultiNodeObj,
|
|
16963
16970
|
onOnVars: r.onVars
|
|
16964
16971
|
}, null, 8, ["items", "param", "checkType", "onOnMultiNode", "onOnMultiNodeObj", "onOnVars"]))
|
|
16965
|
-
], 64))
|
|
16972
|
+
], 64)) : (d(), f("div", q0, "\u7A7A"))
|
|
16966
16973
|
]);
|
|
16967
16974
|
}), 128))
|
|
16968
16975
|
])) : k("", !0)
|
|
16969
16976
|
]);
|
|
16970
16977
|
}
|
|
16971
|
-
const
|
|
16972
|
-
const
|
|
16978
|
+
const H0 = /* @__PURE__ */ ke(k0, [["render", J0], ["__scopeId", "data-v-9f92077f"]]);
|
|
16979
|
+
const K0 = {
|
|
16973
16980
|
data() {
|
|
16974
16981
|
},
|
|
16975
16982
|
props: {
|
|
@@ -17037,9 +17044,9 @@ const Hv = {
|
|
|
17037
17044
|
e.append ? e.append(this.$el) : e.appendChild(this.$el), document.documentElement.scrollTop || document.body.scrollTop;
|
|
17038
17045
|
});
|
|
17039
17046
|
}
|
|
17040
|
-
},
|
|
17041
|
-
function
|
|
17042
|
-
return d(),
|
|
17047
|
+
}, W0 = { class: "top-popup-header" }, Y0 = { class: "header-title" }, z0 = { class: "top-popup-body" }, Z0 = { class: "top-popup-drawer--body" }, X0 = { class: "top-tips-header" }, $0 = { class: "top-tips-body" }, ev = { class: "top-tips-footer" };
|
|
17048
|
+
function tv(e, t, i, s, n, r) {
|
|
17049
|
+
return d(), f("div", {
|
|
17043
17050
|
class: he(["top-popup-zindex", i.className]),
|
|
17044
17051
|
style: we(`${i.isIndex ? `z-index:${i.isIndex}` : ""}`)
|
|
17045
17052
|
}, [
|
|
@@ -17050,45 +17057,45 @@ function e0(e, t, i, s, n, r) {
|
|
|
17050
17057
|
),
|
|
17051
17058
|
onClick: t[0] || (t[0] = (o) => i.isMaskClose && r.handleClose())
|
|
17052
17059
|
}, null, 4),
|
|
17053
|
-
!i.isTips && !i.isDrawer ? (d(),
|
|
17060
|
+
!i.isTips && !i.isDrawer ? (d(), f("div", {
|
|
17054
17061
|
key: 0,
|
|
17055
17062
|
class: "top-popup",
|
|
17056
17063
|
style: we(
|
|
17057
17064
|
n.show ? "transform: translateY(0)" : "transform: translateY(150%)"
|
|
17058
17065
|
)
|
|
17059
17066
|
}, [
|
|
17060
|
-
g("div",
|
|
17067
|
+
g("div", W0, [
|
|
17061
17068
|
g("div", {
|
|
17062
17069
|
class: "header-cancel",
|
|
17063
17070
|
onClick: t[1] || (t[1] = (...o) => r.handleCancel && r.handleCancel(...o))
|
|
17064
17071
|
}, T(i.cancelText), 1),
|
|
17065
|
-
g("div",
|
|
17072
|
+
g("div", Y0, T(i.titleText), 1),
|
|
17066
17073
|
g("div", {
|
|
17067
17074
|
class: "header-comfig",
|
|
17068
17075
|
onClick: t[2] || (t[2] = (...o) => r.handleComfig && r.handleComfig(...o))
|
|
17069
17076
|
}, T(i.comfigText), 1)
|
|
17070
17077
|
]),
|
|
17071
|
-
g("div",
|
|
17078
|
+
g("div", z0, [
|
|
17072
17079
|
Je(e.$slots, "default", {}, void 0, !0)
|
|
17073
17080
|
])
|
|
17074
|
-
], 4)) : !i.isTips && i.isDrawer ? (d(),
|
|
17081
|
+
], 4)) : !i.isTips && i.isDrawer ? (d(), f("div", {
|
|
17075
17082
|
key: 1,
|
|
17076
17083
|
class: he(["top-popup-drawer", n.show ? "top-popup-drawer--active" : ""]),
|
|
17077
17084
|
style: we(i.width ? `width:${i.width};` : "")
|
|
17078
17085
|
}, [
|
|
17079
|
-
g("div",
|
|
17086
|
+
g("div", Z0, [
|
|
17080
17087
|
Je(e.$slots, "default", {}, void 0, !0)
|
|
17081
17088
|
])
|
|
17082
|
-
], 6)) : i.isTips && !i.isDrawer ? (d(),
|
|
17089
|
+
], 6)) : i.isTips && !i.isDrawer ? (d(), f("div", {
|
|
17083
17090
|
key: 2,
|
|
17084
17091
|
class: "top-tips",
|
|
17085
17092
|
style: we(
|
|
17086
17093
|
n.show ? "visibility: visible; opacity: 1; transform: scale(1)" : "visibility: hidden; opacity: 0; transform: scale(1.2)"
|
|
17087
17094
|
)
|
|
17088
17095
|
}, [
|
|
17089
|
-
g("div",
|
|
17090
|
-
g("div",
|
|
17091
|
-
g("div",
|
|
17096
|
+
g("div", X0, T(i.titleText), 1),
|
|
17097
|
+
g("div", $0, T(i.context), 1),
|
|
17098
|
+
g("div", ev, [
|
|
17092
17099
|
g("div", {
|
|
17093
17100
|
class: "top-tips-btn",
|
|
17094
17101
|
onClick: t[3] || (t[3] = (...o) => r.handleCancel && r.handleCancel(...o))
|
|
@@ -17101,8 +17108,8 @@ function e0(e, t, i, s, n, r) {
|
|
|
17101
17108
|
], 4)) : k("", !0)
|
|
17102
17109
|
], 6);
|
|
17103
17110
|
}
|
|
17104
|
-
const za = /* @__PURE__ */ ke(
|
|
17105
|
-
const
|
|
17111
|
+
const za = /* @__PURE__ */ ke(K0, [["render", tv], ["__scopeId", "data-v-06a80662"]]);
|
|
17112
|
+
const iv = {
|
|
17106
17113
|
props: {
|
|
17107
17114
|
request: {
|
|
17108
17115
|
type: Function,
|
|
@@ -17242,8 +17249,8 @@ const t0 = {
|
|
|
17242
17249
|
s * Math.abs(Math.sin(r)),
|
|
17243
17250
|
n * Math.abs(Math.cos(r))
|
|
17244
17251
|
);
|
|
17245
|
-
const l = document.createElement("canvas"),
|
|
17246
|
-
l.width = o, l.height = a,
|
|
17252
|
+
const l = document.createElement("canvas"), m = l.getContext("2d");
|
|
17253
|
+
l.width = o, l.height = a, m.translate(o / 2, a / 2), m.rotate(r), m.drawImage(e, -s / 2, -n / 2, s, n), l.toBlob((h) => {
|
|
17247
17254
|
this.uploadImage(h);
|
|
17248
17255
|
}, "image/png", 0.95);
|
|
17249
17256
|
},
|
|
@@ -17292,18 +17299,18 @@ const t0 = {
|
|
|
17292
17299
|
beforeDestroy() {
|
|
17293
17300
|
document.removeEventListener("touchmove", this.disableWeChatScroll);
|
|
17294
17301
|
}
|
|
17295
|
-
},
|
|
17302
|
+
}, sv = { class: "canvas-container" }, nv = {
|
|
17296
17303
|
key: 0,
|
|
17297
17304
|
class: "tips"
|
|
17298
|
-
},
|
|
17299
|
-
function
|
|
17305
|
+
}, rv = { class: "history" }, ov = ["src"], av = ["src"], lv = ["src"], cv = { class: "actions-area" };
|
|
17306
|
+
function pv(e, t, i, s, n, r) {
|
|
17300
17307
|
const o = q("signDrawer");
|
|
17301
|
-
return d(),
|
|
17308
|
+
return d(), f("div", {
|
|
17302
17309
|
class: "sign-container",
|
|
17303
17310
|
style: we(r.setDynamicVars)
|
|
17304
17311
|
}, [
|
|
17305
|
-
g("div",
|
|
17306
|
-
n.paths.length == 0 && n.currentPath.length == 0 ? (d(),
|
|
17312
|
+
g("div", sv, [
|
|
17313
|
+
n.paths.length == 0 && n.currentPath.length == 0 ? (d(), f("div", nv, "\u8BF7\u5728\u6B64\u533A\u57DF\u7B7E\u5B57")) : k("", !0),
|
|
17307
17314
|
g("canvas", {
|
|
17308
17315
|
ref: "canvasRef",
|
|
17309
17316
|
onTouchmove: t[0] || (t[0] = (...a) => r.draw && r.draw(...a)),
|
|
@@ -17314,40 +17321,40 @@ function c0(e, t, i, s, n, r) {
|
|
|
17314
17321
|
class: he({ "uni-canvas-style": r.isUniCanvas() })
|
|
17315
17322
|
}, null, 34)
|
|
17316
17323
|
]),
|
|
17317
|
-
g("div",
|
|
17324
|
+
g("div", rv, [
|
|
17318
17325
|
g("div", {
|
|
17319
17326
|
class: "img-grid",
|
|
17320
17327
|
onClick: t[3] || (t[3] = (a) => r.useHistory(0))
|
|
17321
17328
|
}, [
|
|
17322
|
-
n.historyPics[0] ? (d(),
|
|
17329
|
+
n.historyPics[0] ? (d(), f("img", {
|
|
17323
17330
|
key: 0,
|
|
17324
17331
|
src: n.historyPics[0] ? n.historyPics[0].url : "",
|
|
17325
17332
|
fit: "scale-down"
|
|
17326
|
-
}, null, 8,
|
|
17333
|
+
}, null, 8, ov)) : k("", !0)
|
|
17327
17334
|
]),
|
|
17328
17335
|
g("div", {
|
|
17329
17336
|
class: "img-grid",
|
|
17330
17337
|
onClick: t[4] || (t[4] = (a) => r.useHistory(1))
|
|
17331
17338
|
}, [
|
|
17332
|
-
n.historyPics[1] && n.historyPics[1].url ? (d(),
|
|
17339
|
+
n.historyPics[1] && n.historyPics[1].url ? (d(), f("img", {
|
|
17333
17340
|
key: 0,
|
|
17334
17341
|
src: n.historyPics[1].url,
|
|
17335
17342
|
fit: "scale-down"
|
|
17336
|
-
}, null, 8,
|
|
17343
|
+
}, null, 8, av)) : k("", !0)
|
|
17337
17344
|
]),
|
|
17338
17345
|
g("div", {
|
|
17339
17346
|
class: "img-grid",
|
|
17340
17347
|
onClick: t[5] || (t[5] = (a) => r.useHistory(2)),
|
|
17341
17348
|
style: { "margin-right": "10rpx" }
|
|
17342
17349
|
}, [
|
|
17343
|
-
n.historyPics[2] && n.historyPics[2].url ? (d(),
|
|
17350
|
+
n.historyPics[2] && n.historyPics[2].url ? (d(), f("img", {
|
|
17344
17351
|
key: 0,
|
|
17345
17352
|
src: n.historyPics[2].url,
|
|
17346
17353
|
fit: "scale-down"
|
|
17347
|
-
}, null, 8,
|
|
17354
|
+
}, null, 8, lv)) : k("", !0)
|
|
17348
17355
|
])
|
|
17349
17356
|
]),
|
|
17350
|
-
g("div",
|
|
17357
|
+
g("div", cv, [
|
|
17351
17358
|
g("button", {
|
|
17352
17359
|
onClick: t[6] || (t[6] = (...a) => r.confirmSave && r.confirmSave(...a)),
|
|
17353
17360
|
class: "btns-common cmf-btn"
|
|
@@ -17377,8 +17384,8 @@ function c0(e, t, i, s, n, r) {
|
|
|
17377
17384
|
}, null, 8, ["visible", "comfig"])
|
|
17378
17385
|
], 4);
|
|
17379
17386
|
}
|
|
17380
|
-
const
|
|
17381
|
-
const
|
|
17387
|
+
const uv = /* @__PURE__ */ ke(iv, [["render", pv], ["__scopeId", "data-v-d91bfd13"]]);
|
|
17388
|
+
const dv = {
|
|
17382
17389
|
name: "complete",
|
|
17383
17390
|
props: {
|
|
17384
17391
|
param: {
|
|
@@ -17393,8 +17400,8 @@ const u0 = {
|
|
|
17393
17400
|
TopPopup: pt,
|
|
17394
17401
|
departPerson: Wt,
|
|
17395
17402
|
MsgList: cs,
|
|
17396
|
-
TreePerson:
|
|
17397
|
-
TopSign:
|
|
17403
|
+
TreePerson: H0,
|
|
17404
|
+
TopSign: uv,
|
|
17398
17405
|
signDrawer: za
|
|
17399
17406
|
},
|
|
17400
17407
|
computed: {
|
|
@@ -17419,13 +17426,17 @@ const u0 = {
|
|
|
17419
17426
|
let s = "";
|
|
17420
17427
|
const n = t.every((r) => {
|
|
17421
17428
|
console.log(r, "item");
|
|
17422
|
-
|
|
17423
|
-
|
|
17429
|
+
let o = this.multiNodeParticipant[r.id];
|
|
17430
|
+
o = o.filter((l) => l);
|
|
17431
|
+
const a = o && o.length > 0;
|
|
17432
|
+
return a || (s = r), console.log(a, "v"), a;
|
|
17424
17433
|
});
|
|
17425
17434
|
return console.log(n, "hasV", s), n ? !1 : s.name;
|
|
17426
17435
|
} else if (this.nextNodeData[0].nodeType == "exclusiveGateway" && this.nextNodeData[0].branches && this.nextNodeData[0].branches.length == 1) {
|
|
17427
17436
|
const s = this.findUserTaskNode(this.nextNodeData[0].branches[0]);
|
|
17428
|
-
|
|
17437
|
+
let n = (this.multiNodeParticipant[s.id] || []).filter((o) => o);
|
|
17438
|
+
const r = n && n.length > 0;
|
|
17439
|
+
return console.log(this.nextNodeData[0].branches[0], s, "nbnNode", r), r ? !1 : s.name;
|
|
17429
17440
|
} else if (this.nextNodeData[0].nodeType == "exclusiveGateway" && this.nextNodeData[0].branches && this.nextNodeData[0].branches.length > 1) {
|
|
17430
17441
|
const s = this.$refs.TreePersonRef.childrenItems || null;
|
|
17431
17442
|
if (s && s.length > 0) {
|
|
@@ -17437,7 +17448,8 @@ const u0 = {
|
|
|
17437
17448
|
} else
|
|
17438
17449
|
return this.pureTip = !0, "\u8BF7\u9009\u62E9\u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9";
|
|
17439
17450
|
}
|
|
17440
|
-
}
|
|
17451
|
+
} else
|
|
17452
|
+
return !1;
|
|
17441
17453
|
if (this.nextNodeData.length == 1 && this.nextNodeData[0].userTaskModelDTO && this.taskNode && this.taskNode.length > 0 && this.taskNode[0].taskState != 4 && this.taskNode[0].taskState != 11) {
|
|
17442
17454
|
let e = this.nextNodeData[0].userTaskModelDTO.humanPerformer.name;
|
|
17443
17455
|
if (e != "\u56FA\u5B9A\u8D26\u6237" && e != "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173" && JSON.stringify(this.multiNodeParticipant) == "{}")
|
|
@@ -17712,7 +17724,7 @@ const u0 = {
|
|
|
17712
17724
|
let s = 0;
|
|
17713
17725
|
if (this.radioCheckNameList.map((n, r) => {
|
|
17714
17726
|
(!this.multiNodeParticipant[n] || !this.multiNodeParticipant[n].length) && this.radioCheckChild.map((o, a) => {
|
|
17715
|
-
o.id == n && (o.humanPerformerName !== "\u56FA\u5B9A\u8D26\u6237" || o.humanPerformerName !== "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173") && (!o.childNode || !o.childNode.length ? s += 1 : this.radioCheckNode.map((l,
|
|
17727
|
+
o.id == n && (o.humanPerformerName !== "\u56FA\u5B9A\u8D26\u6237" || o.humanPerformerName !== "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173") && (!o.childNode || !o.childNode.length ? s += 1 : this.radioCheckNode.map((l, m) => {
|
|
17716
17728
|
(!this.multiNodeParticipant[l] || !this.multiNodeParticipant[l].length) && (s += 1), e[l] = this.multiNodeParticipant[l];
|
|
17717
17729
|
}));
|
|
17718
17730
|
}), e[n] = this.multiNodeParticipant[n];
|
|
@@ -17722,7 +17734,7 @@ const u0 = {
|
|
|
17722
17734
|
}
|
|
17723
17735
|
}
|
|
17724
17736
|
} else {
|
|
17725
|
-
if (this.multiNodeParticipant[this.partObjId] && !this.multiNodeParticipant[this.partObjId].length) {
|
|
17737
|
+
if (console.error(this.multiNodeParticipant, "\u6D4B\u8BD5 multiNodeParticipant \u7A7A\u503C\u60C5\u51B5"), this.multiNodeParticipant[this.partObjId] && !this.multiNodeParticipant[this.partObjId].length) {
|
|
17726
17738
|
this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!", !1, "success");
|
|
17727
17739
|
return;
|
|
17728
17740
|
}
|
|
@@ -17743,7 +17755,17 @@ const u0 = {
|
|
|
17743
17755
|
i.setPersonnel ? t = i.assignees : t = (this.partNodeArr[i.id] || []).map((s) => ({
|
|
17744
17756
|
id: s.id,
|
|
17745
17757
|
name: s.name
|
|
17746
|
-
})),
|
|
17758
|
+
})), Date.now() && console.log("\u63D0\u4EA4\u6570\u636E", {
|
|
17759
|
+
pass: !0,
|
|
17760
|
+
assignees: t,
|
|
17761
|
+
processInstanceId: this.param.processInstId,
|
|
17762
|
+
actionName: this.param.actionComplete,
|
|
17763
|
+
commentMsg: this.commentMsg,
|
|
17764
|
+
taskId: this.param.taskInstId,
|
|
17765
|
+
vars: this.param.vars || this.gateVars,
|
|
17766
|
+
multiNodeParticipant: e,
|
|
17767
|
+
attachment: this.attchLists
|
|
17768
|
+
}), await this.param.request.post("/bladex/blade-workflow/tis/complete", {
|
|
17747
17769
|
pass: !0,
|
|
17748
17770
|
assignees: t,
|
|
17749
17771
|
processInstanceId: this.param.processInstId,
|
|
@@ -17781,8 +17803,8 @@ const u0 = {
|
|
|
17781
17803
|
let n = 0;
|
|
17782
17804
|
if (this.radioCheckNameList.map((r, o) => {
|
|
17783
17805
|
(!this.multiNodeParticipant[r] || !this.multiNodeParticipant[r].length) && this.radioCheckChild.map((a, l) => {
|
|
17784
|
-
a.id == r && (a.humanPerformerName !== "\u56FA\u5B9A\u8D26\u6237" || a.humanPerformerName !== "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173") && (!a.childNode || !a.childNode.length ? n += 1 : this.radioCheckNode.map((
|
|
17785
|
-
(!this.multiNodeParticipant[
|
|
17806
|
+
a.id == r && (a.humanPerformerName !== "\u56FA\u5B9A\u8D26\u6237" || a.humanPerformerName !== "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173") && (!a.childNode || !a.childNode.length ? n += 1 : this.radioCheckNode.map((m, h) => {
|
|
17807
|
+
(!this.multiNodeParticipant[m] || !this.multiNodeParticipant[m].length) && (n += 1), t[m] = this.multiNodeParticipant[m];
|
|
17786
17808
|
}));
|
|
17787
17809
|
}), t[r] = this.multiNodeParticipant[r];
|
|
17788
17810
|
}), n > 0) {
|
|
@@ -17897,47 +17919,47 @@ const u0 = {
|
|
|
17897
17919
|
this.signVisible = !1;
|
|
17898
17920
|
}
|
|
17899
17921
|
}
|
|
17900
|
-
},
|
|
17922
|
+
}, hv = { class: "process-popup-content" }, fv = {
|
|
17901
17923
|
key: 0,
|
|
17902
17924
|
class: "process-popup-content-msg"
|
|
17903
|
-
},
|
|
17925
|
+
}, mv = {
|
|
17904
17926
|
key: 0,
|
|
17905
17927
|
class: "process-pc-label"
|
|
17906
|
-
},
|
|
17928
|
+
}, gv = {
|
|
17907
17929
|
key: 1,
|
|
17908
17930
|
class: "process-pc-value",
|
|
17909
17931
|
style: { display: "flex" }
|
|
17910
|
-
},
|
|
17932
|
+
}, yv = {
|
|
17911
17933
|
class: "process-radio",
|
|
17912
17934
|
style: { width: "100%" }
|
|
17913
|
-
},
|
|
17935
|
+
}, Av = ["onClick"], vv = ["onClick"], bv = { key: 2 }, wv = { class: "process-pc-label" }, Cv = {
|
|
17914
17936
|
key: 0,
|
|
17915
17937
|
class: "process-pc-label--re"
|
|
17916
|
-
},
|
|
17938
|
+
}, kv = { class: "process-pc-value" }, Tv = { class: "process-popup-textarea" }, Ev = { class: "process-popup-textarea-num" }, Iv = {
|
|
17917
17939
|
key: 0,
|
|
17918
17940
|
class: "msg-btn"
|
|
17919
|
-
},
|
|
17920
|
-
function
|
|
17921
|
-
const o = q("TreePerson"), a = q("TopTips"), l = q("departPerson"),
|
|
17922
|
-
return d(),
|
|
17923
|
-
i.param.ProcessInsObj && i.param.ProcessInsObj.processDefId != "obj_94014ede99b6495d8f6d5977314faa15" ? (d(),
|
|
17924
|
-
i.param.isQuickReply ? (d(),
|
|
17925
|
-
i.param.isQuickReply ? (d(),
|
|
17926
|
-
g("div",
|
|
17927
|
-
i.param.isDocument ? (d(!0),
|
|
17941
|
+
}, xv = { class: "process-popup-content-person" }, Nv = { key: 0 }, Sv = { style: { height: "100%" } }, Bv = { style: { height: "100%" } };
|
|
17942
|
+
function Pv(e, t, i, s, n, r) {
|
|
17943
|
+
const o = q("TreePerson"), a = q("TopTips"), l = q("departPerson"), m = q("TopPopup"), h = q("MsgList"), u = q("attchViews"), A = q("TopSign"), C = q("signDrawer");
|
|
17944
|
+
return d(), f("div", hv, [
|
|
17945
|
+
i.param.ProcessInsObj && i.param.ProcessInsObj.processDefId != "obj_94014ede99b6495d8f6d5977314faa15" ? (d(), f("div", fv, [
|
|
17946
|
+
i.param.isQuickReply ? (d(), f("div", mv, "\u5FEB\u6377\u56DE\u590D")) : k("", !0),
|
|
17947
|
+
i.param.isQuickReply ? (d(), f("div", gv, [
|
|
17948
|
+
g("div", yv, [
|
|
17949
|
+
i.param.isDocument ? (d(!0), f(F, { key: 0 }, Z(n.msgCheckList, (P) => (d(), f("div", {
|
|
17928
17950
|
class: he(["process-radio-item", P == n.commentMsg ? "process-radio-item--check" : ""]),
|
|
17929
17951
|
onClick: () => n.commentMsg = P
|
|
17930
17952
|
}, [
|
|
17931
17953
|
t[8] || (t[8] = g("span", null, null, -1)),
|
|
17932
17954
|
re(" " + T(P), 1)
|
|
17933
|
-
], 10,
|
|
17955
|
+
], 10, Av))), 256)) : (d(!0), f(F, { key: 1 }, Z(n.msgCheckListS, (P) => (d(), f("div", {
|
|
17934
17956
|
class: he(["process-radio-item", P == n.commentMsg ? "process-radio-item--check" : ""]),
|
|
17935
17957
|
onClick: () => n.commentMsg = P
|
|
17936
17958
|
}, [
|
|
17937
17959
|
t[9] || (t[9] = g("span", null, null, -1)),
|
|
17938
17960
|
re(" " + T(P), 1)
|
|
17939
|
-
], 10,
|
|
17940
|
-
i.param.isMsg ? (d(),
|
|
17961
|
+
], 10, vv))), 256)),
|
|
17962
|
+
i.param.isMsg ? (d(), f("div", {
|
|
17941
17963
|
key: 2,
|
|
17942
17964
|
class: "process-radio-item",
|
|
17943
17965
|
onClick: t[0] || (t[0] = (P) => r.handleOpenMsg()),
|
|
@@ -17945,19 +17967,19 @@ function B0(e, t, i, s, n, r) {
|
|
|
17945
17967
|
}, " \u5E38\u7528\u610F\u89C1 ")) : k("", !0)
|
|
17946
17968
|
])
|
|
17947
17969
|
])) : k("", !0),
|
|
17948
|
-
i.param.isMsg && !i.param.isQuickReply ? (d(),
|
|
17970
|
+
i.param.isMsg && !i.param.isQuickReply ? (d(), f("div", bv, [
|
|
17949
17971
|
g("div", {
|
|
17950
17972
|
class: "process-radio-item",
|
|
17951
17973
|
onClick: t[1] || (t[1] = (P) => r.handleOpenMsg()),
|
|
17952
17974
|
style: { color: "#1389ff", "font-size": "14px" }
|
|
17953
17975
|
}, " \u5E38\u7528\u610F\u89C1 ")
|
|
17954
17976
|
])) : k("", !0),
|
|
17955
|
-
g("div",
|
|
17977
|
+
g("div", wv, [
|
|
17956
17978
|
t[10] || (t[10] = re(" \u5BA1\u6279\u610F\u89C1 ", -1)),
|
|
17957
|
-
i.param.isRequire ? (d(),
|
|
17979
|
+
i.param.isRequire ? (d(), f("span", Cv, "*")) : k("", !0)
|
|
17958
17980
|
]),
|
|
17959
|
-
g("div",
|
|
17960
|
-
g("div",
|
|
17981
|
+
g("div", kv, [
|
|
17982
|
+
g("div", Tv, [
|
|
17961
17983
|
Di(g("textarea", {
|
|
17962
17984
|
"onUpdate:modelValue": t[2] || (t[2] = (P) => n.commentMsg = P),
|
|
17963
17985
|
class: "textarea-item",
|
|
@@ -17969,9 +17991,9 @@ function B0(e, t, i, s, n, r) {
|
|
|
17969
17991
|
}, null, 512), [
|
|
17970
17992
|
[Xi, n.commentMsg]
|
|
17971
17993
|
]),
|
|
17972
|
-
g("div",
|
|
17994
|
+
g("div", Ev, T(n.commentMsg.length) + "/200 ", 1)
|
|
17973
17995
|
]),
|
|
17974
|
-
i.param.isMsg ? (d(),
|
|
17996
|
+
i.param.isMsg ? (d(), f("div", Iv, [
|
|
17975
17997
|
g("span", {
|
|
17976
17998
|
class: "msg-btn-click",
|
|
17977
17999
|
onClick: t[3] || (t[3] = (P) => r.handleMakeMsg())
|
|
@@ -17979,8 +18001,8 @@ function B0(e, t, i, s, n, r) {
|
|
|
17979
18001
|
])) : k("", !0)
|
|
17980
18002
|
])
|
|
17981
18003
|
])) : k("", !0),
|
|
17982
|
-
g("div",
|
|
17983
|
-
n.nextNodeData.length == 1 && n.nextNodeData[0].nodeType == "endEvent" ? (d(),
|
|
18004
|
+
g("div", xv, [
|
|
18005
|
+
n.nextNodeData.length == 1 && n.nextNodeData[0].nodeType == "endEvent" ? (d(), f("div", Nv, " \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")) : (d(), ge(o, {
|
|
17984
18006
|
key: 1,
|
|
17985
18007
|
ref: "TreePersonRef",
|
|
17986
18008
|
items: n.nextNodeData,
|
|
@@ -17997,7 +18019,7 @@ function B0(e, t, i, s, n, r) {
|
|
|
17997
18019
|
statusTips: n.statusTips,
|
|
17998
18020
|
type: n.typeTips
|
|
17999
18021
|
}, null, 8, ["text", "statusTips", "type"]),
|
|
18000
|
-
J(
|
|
18022
|
+
J(m, {
|
|
18001
18023
|
visible: n.visible,
|
|
18002
18024
|
"onUpdate:visible": t[4] || (t[4] = (P) => n.visible = P),
|
|
18003
18025
|
ref: "TopPopup",
|
|
@@ -18005,7 +18027,7 @@ function B0(e, t, i, s, n, r) {
|
|
|
18005
18027
|
isDrawer: !0
|
|
18006
18028
|
}, {
|
|
18007
18029
|
default: Ae(() => [
|
|
18008
|
-
g("div",
|
|
18030
|
+
g("div", Sv, [
|
|
18009
18031
|
n.visible ? (d(), ge(l, Kt({
|
|
18010
18032
|
key: 0,
|
|
18011
18033
|
isTitle: !1,
|
|
@@ -18018,7 +18040,7 @@ function B0(e, t, i, s, n, r) {
|
|
|
18018
18040
|
]),
|
|
18019
18041
|
_: 1
|
|
18020
18042
|
}, 8, ["visible"]),
|
|
18021
|
-
J(
|
|
18043
|
+
J(m, {
|
|
18022
18044
|
visible: n.visibleListMsg,
|
|
18023
18045
|
"onUpdate:visible": t[5] || (t[5] = (P) => n.visibleListMsg = P),
|
|
18024
18046
|
ref: "TopPopup",
|
|
@@ -18036,7 +18058,7 @@ function B0(e, t, i, s, n, r) {
|
|
|
18036
18058
|
]),
|
|
18037
18059
|
_: 1
|
|
18038
18060
|
}, 8, ["visible"]),
|
|
18039
|
-
J(
|
|
18061
|
+
J(m, {
|
|
18040
18062
|
titleText: "\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",
|
|
18041
18063
|
isTips: !0,
|
|
18042
18064
|
context: `\u5C06${n.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,
|
|
@@ -18062,7 +18084,7 @@ function B0(e, t, i, s, n, r) {
|
|
|
18062
18084
|
width: "100vw"
|
|
18063
18085
|
}, {
|
|
18064
18086
|
default: Ae(() => [
|
|
18065
|
-
g("div",
|
|
18087
|
+
g("div", Bv, [
|
|
18066
18088
|
n.signVisible ? (d(), ge(A, {
|
|
18067
18089
|
key: 0,
|
|
18068
18090
|
request: i.param.request,
|
|
@@ -18076,8 +18098,8 @@ function B0(e, t, i, s, n, r) {
|
|
|
18076
18098
|
}, 8, ["visible"])
|
|
18077
18099
|
]);
|
|
18078
18100
|
}
|
|
18079
|
-
const Wr = /* @__PURE__ */ ke(
|
|
18080
|
-
const
|
|
18101
|
+
const Wr = /* @__PURE__ */ ke(dv, [["render", Pv], ["__scopeId", "data-v-758507de"]]);
|
|
18102
|
+
const Mv = {
|
|
18081
18103
|
name: "cancel",
|
|
18082
18104
|
props: {
|
|
18083
18105
|
param: {
|
|
@@ -18227,25 +18249,25 @@ const P0 = {
|
|
|
18227
18249
|
this.param.endFunction && this.param.endFunction("\u62D2\u7EDD");
|
|
18228
18250
|
}
|
|
18229
18251
|
}
|
|
18230
|
-
},
|
|
18252
|
+
}, Dv = { class: "process-popup-content" }, Ov = { class: "process-popup-content-msg" }, Rv = { key: 0 }, Lv = { class: "process-pc-value" }, Fv = { class: "process-popup-textarea" }, Vv = { class: "process-popup-textarea-num" }, Qv = {
|
|
18231
18253
|
key: 0,
|
|
18232
18254
|
class: "msg-btn"
|
|
18233
|
-
},
|
|
18255
|
+
}, Uv = {
|
|
18234
18256
|
key: 0,
|
|
18235
18257
|
class: "process-popup-content-person"
|
|
18236
|
-
},
|
|
18258
|
+
}, jv = ["onClick"], _v = { class: "process-pc-value--people" }, Gv = {
|
|
18237
18259
|
key: 0,
|
|
18238
18260
|
class: "process-pc-value--data"
|
|
18239
|
-
},
|
|
18261
|
+
}, qv = {
|
|
18240
18262
|
key: 1,
|
|
18241
18263
|
class: "process-pc-value--data",
|
|
18242
18264
|
style: { color: "#888" }
|
|
18243
|
-
},
|
|
18244
|
-
function
|
|
18245
|
-
const o = q("TopTips"), a = q("departPerson"), l = q("TopPopup"),
|
|
18246
|
-
return d(),
|
|
18247
|
-
g("div",
|
|
18248
|
-
i.param.isMsg ? (d(),
|
|
18265
|
+
}, Jv = { style: { "font-size": "15px" } }, Hv = { style: { height: "100%" } };
|
|
18266
|
+
function Kv(e, t, i, s, n, r) {
|
|
18267
|
+
const o = q("TopTips"), a = q("departPerson"), l = q("TopPopup"), m = q("attchViews"), h = q("MsgList");
|
|
18268
|
+
return d(), f("div", Dv, [
|
|
18269
|
+
g("div", Ov, [
|
|
18270
|
+
i.param.isMsg ? (d(), f("div", Rv, [
|
|
18249
18271
|
g("div", {
|
|
18250
18272
|
class: "process-radio-item",
|
|
18251
18273
|
onClick: t[0] || (t[0] = (u) => r.handleOpenMsg()),
|
|
@@ -18256,8 +18278,8 @@ function H0(e, t, i, s, n, r) {
|
|
|
18256
18278
|
re(" \u62D2\u7EDD\u7406\u7531\uFF1A "),
|
|
18257
18279
|
g("span", { class: "process-pc-label--re" }, "*")
|
|
18258
18280
|
], -1)),
|
|
18259
|
-
g("div",
|
|
18260
|
-
g("div",
|
|
18281
|
+
g("div", Lv, [
|
|
18282
|
+
g("div", Fv, [
|
|
18261
18283
|
Di(g("textarea", {
|
|
18262
18284
|
"onUpdate:modelValue": t[1] || (t[1] = (u) => n.commentMsg = u),
|
|
18263
18285
|
class: "textarea-item",
|
|
@@ -18269,9 +18291,9 @@ function H0(e, t, i, s, n, r) {
|
|
|
18269
18291
|
}, null, 512), [
|
|
18270
18292
|
[Xi, n.commentMsg]
|
|
18271
18293
|
]),
|
|
18272
|
-
g("div",
|
|
18294
|
+
g("div", Vv, T(n.commentMsg.length) + "/200 ", 1)
|
|
18273
18295
|
]),
|
|
18274
|
-
i.param.isMsg ? (d(),
|
|
18296
|
+
i.param.isMsg ? (d(), f("div", Qv, [
|
|
18275
18297
|
g("span", {
|
|
18276
18298
|
class: "msg-btn-click",
|
|
18277
18299
|
onClick: t[2] || (t[2] = (u) => r.handleMakeMsg())
|
|
@@ -18279,13 +18301,13 @@ function H0(e, t, i, s, n, r) {
|
|
|
18279
18301
|
])) : k("", !0)
|
|
18280
18302
|
])
|
|
18281
18303
|
]),
|
|
18282
|
-
n.taskNode && n.taskNode.length > 0 && n.taskNode[0].taskState != 4 ? (d(),
|
|
18283
|
-
n.nextNodeData.length ? (d(!0),
|
|
18304
|
+
n.taskNode && n.taskNode.length > 0 && n.taskNode[0].taskState != 4 ? (d(), f("div", Uv, [
|
|
18305
|
+
n.nextNodeData.length ? (d(!0), f(F, { key: 0 }, Z(n.nextNodeData, (u) => {
|
|
18284
18306
|
var A, C;
|
|
18285
|
-
return d(),
|
|
18307
|
+
return d(), f(F, null, [
|
|
18286
18308
|
r.isOption(
|
|
18287
18309
|
(C = (A = u == null ? void 0 : u.userTaskModelDTO) == null ? void 0 : A.humanPerformer) == null ? void 0 : C.name
|
|
18288
|
-
) ? (d(),
|
|
18310
|
+
) ? (d(), f(F, { key: 0 }, [
|
|
18289
18311
|
g("div", null, [
|
|
18290
18312
|
re(T(u.userTaskModelDTO.name) + " ", 1),
|
|
18291
18313
|
t[8] || (t[8] = g("br", null, null, -1)),
|
|
@@ -18296,19 +18318,19 @@ function H0(e, t, i, s, n, r) {
|
|
|
18296
18318
|
class: "process-pc-value",
|
|
18297
18319
|
onClick: (P) => r.handleOpenPopup(u.id)
|
|
18298
18320
|
}, [
|
|
18299
|
-
g("div",
|
|
18300
|
-
n.partNode[u.id] && n.partNode[u.id].length ? (d(),
|
|
18301
|
-
(d(!0),
|
|
18302
|
-
])) : (d(),
|
|
18321
|
+
g("div", _v, [
|
|
18322
|
+
n.partNode[u.id] && n.partNode[u.id].length ? (d(), f("div", Gv, [
|
|
18323
|
+
(d(!0), f(F, null, Z(n.partNode[u.id], (P, R) => (d(), f("span", null, T(R == 0 ? P : `,${P}`), 1))), 256))
|
|
18324
|
+
])) : (d(), f("div", qv, t[11] || (t[11] = [
|
|
18303
18325
|
g("span", null, " \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ", -1)
|
|
18304
18326
|
])))
|
|
18305
18327
|
])
|
|
18306
|
-
], 8,
|
|
18328
|
+
], 8, jv)
|
|
18307
18329
|
], 64)) : k("", !0)
|
|
18308
18330
|
], 64);
|
|
18309
|
-
}), 256)) : n.outGatewayUserTaskModel.length ? (d(!0),
|
|
18310
|
-
r.isOption(u.humanPerformerName) ? (d(),
|
|
18311
|
-
g("div",
|
|
18331
|
+
}), 256)) : n.outGatewayUserTaskModel.length ? (d(!0), f(F, { key: 1 }, Z(n.outGatewayUserTaskModel, (u) => (d(), f(F, null, [
|
|
18332
|
+
r.isOption(u.humanPerformerName) ? (d(), f(F, { key: 0 }, [
|
|
18333
|
+
g("div", Jv, T(u.name), 1),
|
|
18312
18334
|
t[13] || (t[13] = g("div", { class: "process-pc-label" }, [
|
|
18313
18335
|
re(" \u5BA1\u6279\u4EBA "),
|
|
18314
18336
|
g("span", { class: "process-pc-label--re" }, "*")
|
|
@@ -18336,7 +18358,7 @@ function H0(e, t, i, s, n, r) {
|
|
|
18336
18358
|
isDrawer: !0
|
|
18337
18359
|
}, {
|
|
18338
18360
|
default: Ae(() => [
|
|
18339
|
-
g("div",
|
|
18361
|
+
g("div", Hv, [
|
|
18340
18362
|
n.visible ? (d(), ge(a, Kt({
|
|
18341
18363
|
key: 0,
|
|
18342
18364
|
isTitle: !1,
|
|
@@ -18350,7 +18372,7 @@ function H0(e, t, i, s, n, r) {
|
|
|
18350
18372
|
]),
|
|
18351
18373
|
_: 1
|
|
18352
18374
|
}, 8, ["visible"]),
|
|
18353
|
-
n.labels == "\u62D2\u7EDD" ? (d(), ge(
|
|
18375
|
+
n.labels == "\u62D2\u7EDD" ? (d(), ge(m, {
|
|
18354
18376
|
key: 1,
|
|
18355
18377
|
limit: n.limit ? n.limit : -1,
|
|
18356
18378
|
requires: n.requires,
|
|
@@ -18387,8 +18409,8 @@ function H0(e, t, i, s, n, r) {
|
|
|
18387
18409
|
}, null, 8, ["context", "cancel", "comfig", "visible"])
|
|
18388
18410
|
]);
|
|
18389
18411
|
}
|
|
18390
|
-
const
|
|
18391
|
-
const
|
|
18412
|
+
const Wv = /* @__PURE__ */ ke(Mv, [["render", Kv], ["__scopeId", "data-v-672706e4"]]);
|
|
18413
|
+
const Yv = {
|
|
18392
18414
|
name: "backNode",
|
|
18393
18415
|
props: {
|
|
18394
18416
|
param: {
|
|
@@ -18556,14 +18578,14 @@ const W0 = {
|
|
|
18556
18578
|
this.param.endFunction && this.param.endFunction("\u9000\u56DE");
|
|
18557
18579
|
}
|
|
18558
18580
|
}
|
|
18559
|
-
},
|
|
18581
|
+
}, zv = { class: "process-popup-content" }, Zv = { class: "process-popup-content-msg" }, Xv = {
|
|
18560
18582
|
class: "process-pc-value",
|
|
18561
18583
|
style: { display: "inline-block", width: "50%" }
|
|
18562
|
-
},
|
|
18563
|
-
function
|
|
18564
|
-
const o = q("TopDownSelect"), a = q("TopTips"), l = q("MsgList"),
|
|
18565
|
-
return d(),
|
|
18566
|
-
g("div",
|
|
18584
|
+
}, $v = { class: "process-pc-value" }, eb = { class: "process-popup-textarea" }, tb = { class: "process-popup-textarea-num" };
|
|
18585
|
+
function ib(e, t, i, s, n, r) {
|
|
18586
|
+
const o = q("TopDownSelect"), a = q("TopTips"), l = q("MsgList"), m = q("TopPopup"), h = q("attchViews");
|
|
18587
|
+
return d(), f("div", zv, [
|
|
18588
|
+
g("div", Zv, [
|
|
18567
18589
|
t[3] || (t[3] = g("div", {
|
|
18568
18590
|
class: "process-pc-label",
|
|
18569
18591
|
style: { "background-color": "#fff", position: "relative", "z-index": "199", display: "inline-block", width: "50%" }
|
|
@@ -18571,7 +18593,7 @@ function tb(e, t, i, s, n, r) {
|
|
|
18571
18593
|
re(" \u9000\u56DE\u8282\u70B9\uFF1A "),
|
|
18572
18594
|
g("span", { class: "process-pc-label--re" }, "*")
|
|
18573
18595
|
], -1)),
|
|
18574
|
-
g("div",
|
|
18596
|
+
g("div", Xv, [
|
|
18575
18597
|
J(o, {
|
|
18576
18598
|
option: n.option,
|
|
18577
18599
|
onChange: r.handleChange,
|
|
@@ -18584,8 +18606,8 @@ function tb(e, t, i, s, n, r) {
|
|
|
18584
18606
|
re(" \u9000\u56DE\u7406\u7531\uFF1A "),
|
|
18585
18607
|
g("span", { class: "process-pc-label--re" }, "*")
|
|
18586
18608
|
], -1)),
|
|
18587
|
-
g("div",
|
|
18588
|
-
g("div",
|
|
18609
|
+
g("div", $v, [
|
|
18610
|
+
g("div", eb, [
|
|
18589
18611
|
Di(g("textarea", {
|
|
18590
18612
|
"onUpdate:modelValue": t[0] || (t[0] = (u) => n.commentMsg = u),
|
|
18591
18613
|
class: "textarea-item",
|
|
@@ -18597,7 +18619,7 @@ function tb(e, t, i, s, n, r) {
|
|
|
18597
18619
|
}, null, 512), [
|
|
18598
18620
|
[Xi, n.commentMsg]
|
|
18599
18621
|
]),
|
|
18600
|
-
g("div",
|
|
18622
|
+
g("div", tb, T(n.commentMsg.length) + "/200 ", 1)
|
|
18601
18623
|
])
|
|
18602
18624
|
])
|
|
18603
18625
|
]),
|
|
@@ -18607,7 +18629,7 @@ function tb(e, t, i, s, n, r) {
|
|
|
18607
18629
|
statusTips: n.statusTips,
|
|
18608
18630
|
type: n.typeTips
|
|
18609
18631
|
}, null, 8, ["text", "statusTips", "type"]),
|
|
18610
|
-
J(
|
|
18632
|
+
J(m, {
|
|
18611
18633
|
visible: n.visibleListMsg,
|
|
18612
18634
|
"onUpdate:visible": t[1] || (t[1] = (u) => n.visibleListMsg = u),
|
|
18613
18635
|
ref: "TopPopup",
|
|
@@ -18625,7 +18647,7 @@ function tb(e, t, i, s, n, r) {
|
|
|
18625
18647
|
]),
|
|
18626
18648
|
_: 1
|
|
18627
18649
|
}, 8, ["visible"]),
|
|
18628
|
-
J(
|
|
18650
|
+
J(m, {
|
|
18629
18651
|
titleText: "\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",
|
|
18630
18652
|
isTips: !0,
|
|
18631
18653
|
context: `\u5C06${n.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,
|
|
@@ -18644,8 +18666,8 @@ function tb(e, t, i, s, n, r) {
|
|
|
18644
18666
|
}, null, 8, ["limit", "requires", "request", "linkUrl", "onGetValue"])) : k("", !0)
|
|
18645
18667
|
]);
|
|
18646
18668
|
}
|
|
18647
|
-
const
|
|
18648
|
-
const
|
|
18669
|
+
const sb = /* @__PURE__ */ ke(Yv, [["render", ib], ["__scopeId", "data-v-2790b2f8"]]);
|
|
18670
|
+
const nb = {
|
|
18649
18671
|
name: "ccTask",
|
|
18650
18672
|
props: {
|
|
18651
18673
|
param: {
|
|
@@ -18746,10 +18768,10 @@ const sb = {
|
|
|
18746
18768
|
this.param.endFunction && this.param.endFunction("ccTask");
|
|
18747
18769
|
}
|
|
18748
18770
|
}
|
|
18749
|
-
},
|
|
18750
|
-
function
|
|
18771
|
+
}, rb = { style: { height: "100%" } };
|
|
18772
|
+
function ob(e, t, i, s, n, r) {
|
|
18751
18773
|
const o = q("departPerson"), a = q("TopTips");
|
|
18752
|
-
return d(),
|
|
18774
|
+
return d(), f("div", rb, [
|
|
18753
18775
|
i.param.visible ? (d(), ge(o, Kt({
|
|
18754
18776
|
key: 0,
|
|
18755
18777
|
isTitle: !1,
|
|
@@ -18766,8 +18788,8 @@ function rb(e, t, i, s, n, r) {
|
|
|
18766
18788
|
}, null, 8, ["text", "statusTips", "type"])
|
|
18767
18789
|
]);
|
|
18768
18790
|
}
|
|
18769
|
-
const
|
|
18770
|
-
const
|
|
18791
|
+
const ab = /* @__PURE__ */ ke(nb, [["render", ob]]);
|
|
18792
|
+
const lb = {
|
|
18771
18793
|
name: "nf-button",
|
|
18772
18794
|
components: {
|
|
18773
18795
|
TopTips: vt
|
|
@@ -18855,29 +18877,29 @@ const ab = {
|
|
|
18855
18877
|
return this.buttonList.find((t) => t.buttonKey == e);
|
|
18856
18878
|
}
|
|
18857
18879
|
}
|
|
18858
|
-
},
|
|
18859
|
-
function
|
|
18860
|
-
return d(),
|
|
18861
|
-
i.process.status == "todo" ? (d(),
|
|
18862
|
-
r.getButton("wf_pass") ? (d(),
|
|
18880
|
+
}, cb = { class: "process-btns" }, pb = ["disabled"], ub = { key: 0 }, db = { key: 1 }, hb = ["disabled"], fb = { key: 0 }, mb = { key: 1 }, gb = ["disabled"], yb = ["disabled"], Ab = ["disabled"], vb = ["disabled"], bb = ["disabled"], wb = ["disabled"], Cb = ["disabled"], kb = ["disabled"], Tb = ["disabled"];
|
|
18881
|
+
function Eb(e, t, i, s, n, r) {
|
|
18882
|
+
return d(), f("div", cb, [
|
|
18883
|
+
i.process.status == "todo" ? (d(), f(F, { key: 0 }, [
|
|
18884
|
+
r.getButton("wf_pass") ? (d(), f("button", {
|
|
18863
18885
|
key: 0,
|
|
18864
18886
|
class: "process-button success",
|
|
18865
18887
|
size: "default",
|
|
18866
18888
|
disabled: i.loading,
|
|
18867
18889
|
onClick: t[0] || (t[0] = (o) => e.$emit("examine", !0, ["recall", "reject"].includes(i.process.processIsFinished) ? "\u91CD\u65B0\u63D0\u4EA4" : r.getButton("wf_pass").name))
|
|
18868
18890
|
}, [
|
|
18869
|
-
["recall", "reject"].includes(i.process.processIsFinished) ? (d(),
|
|
18870
|
-
], 8,
|
|
18871
|
-
r.getButton("wf_reject") ? (d(),
|
|
18891
|
+
["recall", "reject"].includes(i.process.processIsFinished) ? (d(), f("span", ub, "\u91CD\u65B0\u63D0\u4EA4")) : (d(), f("span", db, T(r.getButton("wf_pass").name), 1))
|
|
18892
|
+
], 8, pb)) : k("", !0),
|
|
18893
|
+
r.getButton("wf_reject") ? (d(), f("button", {
|
|
18872
18894
|
key: 1,
|
|
18873
18895
|
class: "process-button danger",
|
|
18874
18896
|
size: "default",
|
|
18875
18897
|
disabled: i.loading,
|
|
18876
18898
|
onClick: t[1] || (t[1] = (o) => e.$emit("examine", !1, (n.backNodes.length > 1, r.getButton("wf_reject").name)))
|
|
18877
18899
|
}, [
|
|
18878
|
-
n.backNodes.length > 1 ? (d(),
|
|
18879
|
-
], 8,
|
|
18880
|
-
i.uid == (i.process.variables || {}).applyUserId ? (d(),
|
|
18900
|
+
n.backNodes.length > 1 ? (d(), f("span", fb, T(r.getButton("wf_reject").name), 1)) : (d(), f("span", mb, T(r.getButton("wf_reject").name), 1))
|
|
18901
|
+
], 8, hb)) : k("", !0),
|
|
18902
|
+
i.uid == (i.process.variables || {}).applyUserId ? (d(), f("button", {
|
|
18881
18903
|
key: 2,
|
|
18882
18904
|
size: "default",
|
|
18883
18905
|
class: "process-button info",
|
|
@@ -18885,36 +18907,36 @@ function Tb(e, t, i, s, n, r) {
|
|
|
18885
18907
|
onClick: t[2] || (t[2] = (o) => e.$emit("reminders"))
|
|
18886
18908
|
}, t[11] || (t[11] = [
|
|
18887
18909
|
g("span", null, "\u50AC\u529E", -1)
|
|
18888
|
-
]), 8,
|
|
18889
|
-
r.getButton("wf_transfer") ? (d(),
|
|
18910
|
+
]), 8, gb)) : k("", !0),
|
|
18911
|
+
r.getButton("wf_transfer") ? (d(), f("button", {
|
|
18890
18912
|
key: 3,
|
|
18891
18913
|
class: "process-button primary",
|
|
18892
18914
|
size: "default",
|
|
18893
18915
|
disabled: i.loading,
|
|
18894
18916
|
onClick: t[3] || (t[3] = (o) => e.$emit("user-select", { type: "transfer", checkType: "radio", name: r.getButton("wf_transfer").name }))
|
|
18895
|
-
}, T(r.getButton("wf_transfer").name), 9,
|
|
18896
|
-
r.getButton("wf_delegate") ? (d(),
|
|
18917
|
+
}, T(r.getButton("wf_transfer").name), 9, yb)) : k("", !0),
|
|
18918
|
+
r.getButton("wf_delegate") ? (d(), f("button", {
|
|
18897
18919
|
key: 4,
|
|
18898
18920
|
class: "process-button warning",
|
|
18899
18921
|
size: "default",
|
|
18900
18922
|
disabled: i.loading,
|
|
18901
18923
|
onClick: t[4] || (t[4] = (o) => e.$emit("user-select", { type: "delegate", checkType: "radio", name: r.getButton("wf_delegate").name }))
|
|
18902
|
-
}, T(r.getButton("wf_delegate").name), 9,
|
|
18903
|
-
r.getButton("wf_rollback") ? (d(),
|
|
18924
|
+
}, T(r.getButton("wf_delegate").name), 9, Ab)) : k("", !0),
|
|
18925
|
+
r.getButton("wf_rollback") ? (d(), f("button", {
|
|
18904
18926
|
key: 5,
|
|
18905
18927
|
class: "process-button success",
|
|
18906
18928
|
size: "default",
|
|
18907
18929
|
disabled: i.loading,
|
|
18908
18930
|
onClick: t[5] || (t[5] = (o) => e.$emit("rollback", r.getButton("wf_rollback").name))
|
|
18909
|
-
}, T(r.getButton("wf_rollback").name), 9,
|
|
18910
|
-
r.getButton("wf_terminate") ? (d(),
|
|
18931
|
+
}, T(r.getButton("wf_rollback").name), 9, vb)) : k("", !0),
|
|
18932
|
+
r.getButton("wf_terminate") ? (d(), f("button", {
|
|
18911
18933
|
key: 6,
|
|
18912
18934
|
class: "process-button danger",
|
|
18913
18935
|
size: "default",
|
|
18914
18936
|
disabled: i.loading,
|
|
18915
18937
|
onClick: t[6] || (t[6] = (o) => e.$emit("terminate"))
|
|
18916
|
-
}, T(r.getButton("wf_terminate").name), 9,
|
|
18917
|
-
i.process.isMultiInstance && r.getButton("wf_add_instance") ? (d(),
|
|
18938
|
+
}, T(r.getButton("wf_terminate").name), 9, bb)) : k("", !0),
|
|
18939
|
+
i.process.isMultiInstance && r.getButton("wf_add_instance") ? (d(), f("button", {
|
|
18918
18940
|
key: 7,
|
|
18919
18941
|
class: "process-button primary",
|
|
18920
18942
|
size: "default",
|
|
@@ -18924,8 +18946,8 @@ function Tb(e, t, i, s, n, r) {
|
|
|
18924
18946
|
checkType: "checkbox",
|
|
18925
18947
|
name: r.getButton("wf_add_instance").name
|
|
18926
18948
|
}))
|
|
18927
|
-
}, T(r.getButton("wf_add_instance").name), 9,
|
|
18928
|
-
r.getButton("wf_cctask") ? (d(),
|
|
18949
|
+
}, T(r.getButton("wf_add_instance").name), 9, wb)) : k("", !0),
|
|
18950
|
+
r.getButton("wf_cctask") ? (d(), f("button", {
|
|
18929
18951
|
key: 8,
|
|
18930
18952
|
class: "process-button info",
|
|
18931
18953
|
size: "default",
|
|
@@ -18933,28 +18955,28 @@ function Tb(e, t, i, s, n, r) {
|
|
|
18933
18955
|
onClick: t[8] || (t[8] = (o) => e.$emit("circulate", r.getButton("wf_cctask").name))
|
|
18934
18956
|
}, [
|
|
18935
18957
|
g("span", null, T(r.getButton("wf_cctask").name), 1)
|
|
18936
|
-
], 8,
|
|
18958
|
+
], 8, Cb)) : k("", !0)
|
|
18937
18959
|
], 64)) : k("", !0),
|
|
18938
|
-
i.process.isOwner && i.process.isReturnable && !["recall", "reject"].includes(i.process.processIsFinished) ? (d(),
|
|
18960
|
+
i.process.isOwner && i.process.isReturnable && !["recall", "reject"].includes(i.process.processIsFinished) ? (d(), f("button", {
|
|
18939
18961
|
key: 1,
|
|
18940
18962
|
class: "process-button danger",
|
|
18941
18963
|
size: "default",
|
|
18942
18964
|
disabled: i.loading,
|
|
18943
18965
|
onClick: t[9] || (t[9] = (o) => e.$emit("withdraw", "\u64A4\u9500"))
|
|
18944
|
-
}, " \u64A4\u9500 ", 8,
|
|
18945
|
-
r.getButton("wf_print") ? (d(),
|
|
18966
|
+
}, " \u64A4\u9500 ", 8, kb)) : k("", !0),
|
|
18967
|
+
r.getButton("wf_print") ? (d(), f("button", {
|
|
18946
18968
|
key: 2,
|
|
18947
18969
|
class: "process-button info",
|
|
18948
18970
|
size: "default",
|
|
18949
18971
|
disabled: i.loading,
|
|
18950
18972
|
onClick: t[10] || (t[10] = (o) => e.$emit("print"))
|
|
18951
|
-
}, T(r.getButton("wf_print").name), 9,
|
|
18973
|
+
}, T(r.getButton("wf_print").name), 9, Tb)) : k("", !0)
|
|
18952
18974
|
]);
|
|
18953
18975
|
}
|
|
18954
|
-
const
|
|
18976
|
+
const Ib = /* @__PURE__ */ ke(lb, [["render", Eb], ["__scopeId", "data-v-8c1d1cae"]]), xb = Tt({
|
|
18955
18977
|
name: "TopProcess",
|
|
18956
18978
|
components: {
|
|
18957
|
-
processBtns:
|
|
18979
|
+
processBtns: Ib,
|
|
18958
18980
|
TopTab: Jg,
|
|
18959
18981
|
TopPopup: pt,
|
|
18960
18982
|
TopTips: vt,
|
|
@@ -19298,7 +19320,7 @@ const Eb = /* @__PURE__ */ ke(ab, [["render", Tb], ["__scopeId", "data-v-8c1d1ca
|
|
|
19298
19320
|
}) : this.showOperation(Wr, e);
|
|
19299
19321
|
},
|
|
19300
19322
|
handleCancel(e) {
|
|
19301
|
-
this.showOperation(
|
|
19323
|
+
this.showOperation(Wv, e);
|
|
19302
19324
|
},
|
|
19303
19325
|
handleUserSelect({ type: e, checkType: t, name: i }) {
|
|
19304
19326
|
e == "transfer" ? this.handleTransfer(i) : e == "addInstance" && this.handleAddInstance(i);
|
|
@@ -19313,7 +19335,7 @@ const Eb = /* @__PURE__ */ ke(ab, [["render", Tb], ["__scopeId", "data-v-8c1d1ca
|
|
|
19313
19335
|
console.log("handlePrint");
|
|
19314
19336
|
},
|
|
19315
19337
|
handleRollbackTask(e) {
|
|
19316
|
-
console.log("handleRollbackTask"), this.showOperation(
|
|
19338
|
+
console.log("handleRollbackTask"), this.showOperation(sb, e);
|
|
19317
19339
|
},
|
|
19318
19340
|
handleTerminateProcess() {
|
|
19319
19341
|
console.log("handleTerminateProcess");
|
|
@@ -19326,7 +19348,7 @@ const Eb = /* @__PURE__ */ ke(ab, [["render", Tb], ["__scopeId", "data-v-8c1d1ca
|
|
|
19326
19348
|
},
|
|
19327
19349
|
handleCirculate(e) {
|
|
19328
19350
|
console.log(e, "\u6284\u9001"), this.showOperation(
|
|
19329
|
-
|
|
19351
|
+
ab,
|
|
19330
19352
|
e,
|
|
19331
19353
|
this.request,
|
|
19332
19354
|
this.taskObj.ccTaskButtonAnnex,
|
|
@@ -19566,33 +19588,33 @@ const Eb = /* @__PURE__ */ ke(ab, [["render", Tb], ["__scopeId", "data-v-8c1d1ca
|
|
|
19566
19588
|
}
|
|
19567
19589
|
}
|
|
19568
19590
|
});
|
|
19569
|
-
const
|
|
19591
|
+
const Nb = { class: "process-warp" }, Sb = {
|
|
19570
19592
|
key: 0,
|
|
19571
19593
|
class: "process-main",
|
|
19572
19594
|
id: "process-header",
|
|
19573
19595
|
ref: "processheader"
|
|
19574
|
-
},
|
|
19596
|
+
}, Bb = { class: "process-ml-item border" }, Pb = { class: "process-mli-value" }, Mb = { class: "process-ml-item border" }, Db = { class: "process-mli-value" }, Ob = {
|
|
19575
19597
|
key: 0,
|
|
19576
19598
|
class: "process-ml-item"
|
|
19577
|
-
},
|
|
19599
|
+
}, Rb = {
|
|
19578
19600
|
class: "process-mli-value",
|
|
19579
19601
|
style: { width: "50%", "text-align": "right" }
|
|
19580
|
-
},
|
|
19602
|
+
}, Lb = { class: "process-mliv-jd" }, Fb = ["slot"], Vb = {
|
|
19581
19603
|
slot: "default",
|
|
19582
19604
|
style: { height: "100%" }
|
|
19583
|
-
},
|
|
19605
|
+
}, Qb = ["slot"], Ub = {
|
|
19584
19606
|
key: 0,
|
|
19585
19607
|
class: "footBtnRow"
|
|
19586
|
-
},
|
|
19587
|
-
function
|
|
19588
|
-
const o = q("TopTab"), a = q("TopPopup"), l = q("TopTips"),
|
|
19589
|
-
return d(),
|
|
19590
|
-
g("div",
|
|
19591
|
-
(e.formData.currentState || e.processStatus.bizStatusName || e.processStatus.status) && !e.hideHeader ? (d(),
|
|
19592
|
-
g("div",
|
|
19608
|
+
}, jb = ["onClick"], _b = { slot: "completeSlot" }, Gb = ["onClick"], qb = ["onClick"], Jb = { slot: "completeSlot" };
|
|
19609
|
+
function Hb(e, t, i, s, n, r) {
|
|
19610
|
+
const o = q("TopTab"), a = q("TopPopup"), l = q("TopTips"), m = q("TopSumbitPopup");
|
|
19611
|
+
return d(), f("div", null, [
|
|
19612
|
+
g("div", Nb, [
|
|
19613
|
+
(e.formData.currentState || e.processStatus.bizStatusName || e.processStatus.status) && !e.hideHeader ? (d(), f("div", Sb, [
|
|
19614
|
+
g("div", Bb, [
|
|
19593
19615
|
t[5] || (t[5] = g("div", { class: "process-mli-name" }, "\u6D41\u7A0B\u72B6\u6001", -1)),
|
|
19594
|
-
g("div",
|
|
19595
|
-
e.formData.currentState || e.processStatus.bizStatusName || e.processStatus.status ? (d(),
|
|
19616
|
+
g("div", Pb, [
|
|
19617
|
+
e.formData.currentState || e.processStatus.bizStatusName || e.processStatus.status ? (d(), f("div", {
|
|
19596
19618
|
key: 0,
|
|
19597
19619
|
class: "process-mliv-dd",
|
|
19598
19620
|
style: we({
|
|
@@ -19603,16 +19625,16 @@ function Jb(e, t, i, s, n, r) {
|
|
|
19603
19625
|
}, T(e.formData.currentState || e.processStatus.bizStatusName || e.processStatus.status), 5)) : k("", !0)
|
|
19604
19626
|
])
|
|
19605
19627
|
]),
|
|
19606
|
-
g("div",
|
|
19628
|
+
g("div", Mb, [
|
|
19607
19629
|
t[6] || (t[6] = g("div", { class: "process-mli-name" }, "\u6D41\u7A0B\u53D1\u8D77\u65F6\u95F4", -1)),
|
|
19608
|
-
g("div",
|
|
19630
|
+
g("div", Db, [
|
|
19609
19631
|
g("span", null, T(e.processStatus.createTime), 1)
|
|
19610
19632
|
])
|
|
19611
19633
|
]),
|
|
19612
|
-
e.processStatus.allUserNames && e.processStatus.allUserNames.length ? (d(),
|
|
19634
|
+
e.processStatus.allUserNames && e.processStatus.allUserNames.length ? (d(), f("div", Ob, [
|
|
19613
19635
|
t[7] || (t[7] = g("div", { class: "process-mli-name" }, "\u5BA1\u6279\u8282\u70B9", -1)),
|
|
19614
|
-
g("div",
|
|
19615
|
-
g("span",
|
|
19636
|
+
g("div", Rb, [
|
|
19637
|
+
g("span", Lb, T(`${e.processStatus.taskState == 4 ? e.processStatus.currUserName : e.processStatus.allUserNames.toString()}\u5BA1\u6279\u4E2D`), 1)
|
|
19616
19638
|
])
|
|
19617
19639
|
])) : k("", !0)
|
|
19618
19640
|
], 512)) : k("", !0),
|
|
@@ -19632,51 +19654,51 @@ function Jb(e, t, i, s, n, r) {
|
|
|
19632
19654
|
trackList: e.trackList
|
|
19633
19655
|
}, {
|
|
19634
19656
|
default: Ae(() => [
|
|
19635
|
-
e.selfTapList && e.selfTapList.length ? (d(!0),
|
|
19657
|
+
e.selfTapList && e.selfTapList.length ? (d(!0), f(F, { key: 0 }, Z(e.selfTapList, (h, u) => (d(), f("div", {
|
|
19636
19658
|
key: u,
|
|
19637
19659
|
slot: h.slot,
|
|
19638
19660
|
style: { height: "100%" }
|
|
19639
19661
|
}, [
|
|
19640
19662
|
Je(e.$slots, h.slot, {}, void 0, !0)
|
|
19641
|
-
], 8,
|
|
19642
|
-
g("div",
|
|
19663
|
+
], 8, Fb))), 128)) : (d(), f(F, { key: 1 }, [
|
|
19664
|
+
g("div", Vb, [
|
|
19643
19665
|
Je(e.$slots, "default", {}, void 0, !0)
|
|
19644
19666
|
]),
|
|
19645
|
-
(d(!0),
|
|
19667
|
+
(d(!0), f(F, null, Z(e.tapList, (h, u) => (d(), f("div", {
|
|
19646
19668
|
style: { height: "100%" },
|
|
19647
19669
|
key: u,
|
|
19648
19670
|
slot: h.slot
|
|
19649
19671
|
}, [
|
|
19650
19672
|
Je(e.$slots, h.slot, {}, void 0, !0)
|
|
19651
|
-
], 8,
|
|
19673
|
+
], 8, Qb))), 128))
|
|
19652
19674
|
], 64))
|
|
19653
19675
|
]),
|
|
19654
19676
|
_: 3
|
|
19655
19677
|
}, 8, ["ProcessInsObj", "processXml", "approvalData", "tapList", "selfTapList", "processIntId", "track", "taskComment", "trackList"])
|
|
19656
19678
|
], 4),
|
|
19657
|
-
e.isView ? k("", !0) : (d(),
|
|
19679
|
+
e.isView ? k("", !0) : (d(), f("div", {
|
|
19658
19680
|
key: 1,
|
|
19659
19681
|
class: "process-btn",
|
|
19660
19682
|
id: "process-footer",
|
|
19661
19683
|
style: we({ bottom: e.processBtn })
|
|
19662
19684
|
}, [
|
|
19663
|
-
e.isAdditional ? (d(),
|
|
19685
|
+
e.isAdditional ? (d(), f("div", Ub, [
|
|
19664
19686
|
Je(e.$slots, "btn", { data: e.processStatus }, void 0, !0)
|
|
19665
|
-
])) : (d(),
|
|
19666
|
-
e.isDocument && (e.formData.currentState == "\u7F16\u6587\u53F7\u5957\u7EA2" || e.formData.currentState == "\u76D6\u7AE0") ? (d(),
|
|
19687
|
+
])) : (d(), f(F, { key: 1 }, [
|
|
19688
|
+
e.isDocument && (e.formData.currentState == "\u7F16\u6587\u53F7\u5957\u7EA2" || e.formData.currentState == "\u76D6\u7AE0") ? (d(), f("div", {
|
|
19667
19689
|
key: 0,
|
|
19668
19690
|
class: "top-button",
|
|
19669
19691
|
style: we(e.getBtnStyle("default"))
|
|
19670
|
-
}, " \u8BF7\u53BBPC\u7AEF\u5904\u7406\u8BE5\u6D41\u7A0B ", 4)) : (d(),
|
|
19671
|
-
e.formData.currentState != "\u5DF2\u5B8C\u6210" || e.processStatus.status != "\u5DF2\u5B8C\u6210" || e.processStatus.bizStatusName != "\u5DF2\u5B8C\u6210" ? (d(!0),
|
|
19672
|
-
u < 3 ? (d(),
|
|
19692
|
+
}, " \u8BF7\u53BBPC\u7AEF\u5904\u7406\u8BE5\u6D41\u7A0B ", 4)) : (d(), f(F, { key: 1 }, [
|
|
19693
|
+
e.formData.currentState != "\u5DF2\u5B8C\u6210" || e.processStatus.status != "\u5DF2\u5B8C\u6210" || e.processStatus.bizStatusName != "\u5DF2\u5B8C\u6210" ? (d(!0), f(F, { key: 0 }, Z(e.operBtn, (h, u) => (d(), f(F, null, [
|
|
19694
|
+
u < 3 ? (d(), f("div", {
|
|
19673
19695
|
class: "top-button",
|
|
19674
19696
|
style: we(e.getBtnStyle(h.btnProps.type.toString())),
|
|
19675
19697
|
key: h.name,
|
|
19676
19698
|
onClick: (A) => h.click(h.name)
|
|
19677
|
-
}, T(h.name), 13,
|
|
19699
|
+
}, T(h.name), 13, jb)) : k("", !0)
|
|
19678
19700
|
], 64))), 256)) : k("", !0),
|
|
19679
|
-
e.operBtn.length > 3 && e.actionBtn && e.actionBtn.length ? (d(),
|
|
19701
|
+
e.operBtn.length > 3 && e.actionBtn && e.actionBtn.length ? (d(), f("div", {
|
|
19680
19702
|
key: 1,
|
|
19681
19703
|
class: "elips",
|
|
19682
19704
|
onClick: t[0] || (t[0] = (...h) => e.handleActionOpen && e.handleActionOpen(...h))
|
|
@@ -19705,7 +19727,7 @@ function Jb(e, t, i, s, n, r) {
|
|
|
19705
19727
|
onHandleClosePopup1: e.handleClosePopup1
|
|
19706
19728
|
}, {
|
|
19707
19729
|
default: Ae(() => [
|
|
19708
|
-
g("div",
|
|
19730
|
+
g("div", _b, [
|
|
19709
19731
|
Je(e.$slots, "completeSlot", {}, void 0, !0)
|
|
19710
19732
|
])
|
|
19711
19733
|
]),
|
|
@@ -19728,22 +19750,22 @@ function Jb(e, t, i, s, n, r) {
|
|
|
19728
19750
|
statusTips: e.statusTips,
|
|
19729
19751
|
type: e.typeTips
|
|
19730
19752
|
}, null, 8, ["text", "statusTips", "type"]),
|
|
19731
|
-
e.actionBtn && e.actionBtn.length || e.taskNodeList && e.taskNodeList.length ? (d(),
|
|
19753
|
+
e.actionBtn && e.actionBtn.length || e.taskNodeList && e.taskNodeList.length ? (d(), f("div", {
|
|
19732
19754
|
key: 0,
|
|
19733
19755
|
class: "top-elips",
|
|
19734
19756
|
style: we(
|
|
19735
19757
|
e.actionShow ? "transform: translateY(0)" : "transform: translateY(100%)"
|
|
19736
19758
|
)
|
|
19737
19759
|
}, [
|
|
19738
|
-
e.taskNodeShow ? (d(!0),
|
|
19760
|
+
e.taskNodeShow ? (d(!0), f(F, { key: 0 }, Z(e.taskNodeList, (h) => (d(), f("div", {
|
|
19739
19761
|
class: "top-elips-items",
|
|
19740
19762
|
onClick: (u) => e.handleGet(h),
|
|
19741
19763
|
key: h.taskId
|
|
19742
|
-
}, T(h.name), 9,
|
|
19764
|
+
}, T(h.name), 9, Gb))), 128)) : (d(!0), f(F, { key: 1 }, Z(e.actionBtn, (h) => (d(), f("div", {
|
|
19743
19765
|
class: "top-elips-items",
|
|
19744
19766
|
onClick: (u) => h.click(h.name),
|
|
19745
19767
|
key: h.name
|
|
19746
|
-
}, T(h.name), 9,
|
|
19768
|
+
}, T(h.name), 9, qb))), 128)),
|
|
19747
19769
|
g("div", {
|
|
19748
19770
|
class: "top-elips-items top-elips-items--cancel",
|
|
19749
19771
|
onClick: t[2] || (t[2] = (...h) => e.handleActionClose && e.handleActionClose(...h))
|
|
@@ -19756,7 +19778,7 @@ function Jb(e, t, i, s, n, r) {
|
|
|
19756
19778
|
e.actionShow ? "visibility: visible; opacity: .7;" : "visibility: hidden; opacity: 0;"
|
|
19757
19779
|
)
|
|
19758
19780
|
}, null, 4),
|
|
19759
|
-
J(
|
|
19781
|
+
J(m, Kt({
|
|
19760
19782
|
visible: e.visibleSong,
|
|
19761
19783
|
ref: "actionPop",
|
|
19762
19784
|
request: e.request,
|
|
@@ -19785,7 +19807,7 @@ function Jb(e, t, i, s, n, r) {
|
|
|
19785
19807
|
onHandleClosecctaskTopPopup: e.handleClosecctaskTopPopup
|
|
19786
19808
|
}, {
|
|
19787
19809
|
default: Ae(() => [
|
|
19788
|
-
g("div",
|
|
19810
|
+
g("div", Jb, [
|
|
19789
19811
|
Je(e.$slots, "completeSlot", {}, void 0, !0)
|
|
19790
19812
|
])
|
|
19791
19813
|
]),
|
|
@@ -19796,9 +19818,9 @@ function Jb(e, t, i, s, n, r) {
|
|
|
19796
19818
|
}, 8, ["titleText", "visible"])
|
|
19797
19819
|
]);
|
|
19798
19820
|
}
|
|
19799
|
-
const
|
|
19821
|
+
const zb = /* @__PURE__ */ ke(xb, [["render", Hb], ["__scopeId", "data-v-85849ed7"]]);
|
|
19800
19822
|
export {
|
|
19801
|
-
|
|
19823
|
+
zb as TopProcess,
|
|
19802
19824
|
Ky as TopSumbitPopup,
|
|
19803
19825
|
Np as ViewAttchList,
|
|
19804
19826
|
Vi as attchViews
|