nbb-component-ui 1.6.0 → 1.6.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/dist/index.es.js CHANGED
@@ -1,371 +1,360 @@
1
- import { defineComponent as dt, resolveComponent as Z, openBlock as I, createElementBlock as U, createElementVNode as Y, toDisplayString as m, unref as K, createCommentVNode as P, createVNode as R, withCtx as J, Fragment as ht, renderList as Mt, createBlock as lt, createTextVNode as tt, ref as X, watch as wt } from "vue";
2
- import { ElMessage as ct } from "element-plus";
3
- const Dt = (a) => yt().get({
4
- url: "/system/bpm/process-instance/get-approval-detail",
5
- params: {
6
- processInstanceId: a
7
- }
8
- }), bt = (a) => yt().get({
9
- url: "/system/bpm/task/list-by-process-instance-id",
10
- params: {
11
- processInstanceId: a
12
- }
13
- });
14
- var pt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
15
- function $t(a) {
16
- return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
1
+ import { defineComponent as fe, resolveComponent as V, openBlock as $, createElementBlock as I, createElementVNode as k, toDisplayString as y, unref as X, createCommentVNode as C, createVNode as Q, withCtx as Y, Fragment as ue, renderList as he, createBlock as re, createTextVNode as ee, ref as Z, watch as Ne } from "vue";
2
+ import { ElMessage as Te } from "element-plus";
3
+ var pe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
4
+ function me(r) {
5
+ return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
17
6
  }
18
- var gt = { exports: {} };
19
- (function(a, d) {
20
- (function(l, v) {
21
- a.exports = v();
22
- })(pt, function() {
23
- var l = 1e3, v = 6e4, g = 36e5, H = "millisecond", D = "second", y = "minute", f = "hour", x = "day", j = "week", b = "month", T = "quarter", r = "year", p = "date", o = "Invalid Date", k = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, N = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, L = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(i) {
24
- var n = ["th", "st", "nd", "rd"], t = i % 100;
25
- return "[" + i + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
26
- } }, O = function(i, n, t) {
27
- var s = String(i);
28
- return !s || s.length >= n ? i : "" + Array(n + 1 - s.length).join(t) + i;
29
- }, z = { s: O, z: function(i) {
30
- var n = -i.utcOffset(), t = Math.abs(n), s = Math.floor(t / 60), e = t % 60;
31
- return (n <= 0 ? "+" : "-") + O(s, 2, "0") + ":" + O(e, 2, "0");
32
- }, m: function i(n, t) {
33
- if (n.date() < t.date())
34
- return -i(t, n);
35
- var s = 12 * (t.year() - n.year()) + (t.month() - n.month()), e = n.clone().add(s, b), c = t - e < 0, u = n.clone().add(s + (c ? -1 : 1), b);
36
- return +(-(s + (t - e) / (c ? e - u : u - e)) || 0);
37
- }, a: function(i) {
38
- return i < 0 ? Math.ceil(i) || 0 : Math.floor(i);
39
- }, p: function(i) {
40
- return { M: b, y: r, w: j, d: x, D: p, h: f, m: y, s: D, ms: H, Q: T }[i] || String(i || "").toLowerCase().replace(/s$/, "");
41
- }, u: function(i) {
42
- return i === void 0;
43
- } }, q = "en", W = {};
44
- W[q] = L;
45
- var G = "$isDayjsObject", et = function(i) {
46
- return i instanceof rt || !(!i || !i[G]);
47
- }, A = function i(n, t, s) {
48
- var e;
49
- if (!n)
50
- return q;
51
- if (typeof n == "string") {
52
- var c = n.toLowerCase();
53
- W[c] && (e = c), t && (W[c] = t, e = c);
54
- var u = n.split("-");
55
- if (!e && u.length > 1)
56
- return i(u[0]);
7
+ var be = { exports: {} };
8
+ (function(r, u) {
9
+ (function(c, w) {
10
+ r.exports = w();
11
+ })(pe, function() {
12
+ var c = 1e3, w = 6e4, g = 36e5, F = "millisecond", v = "second", M = "minute", f = "hour", P = "day", L = "week", _ = "month", S = "quarter", i = "year", b = "date", s = "Invalid Date", x = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, R = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, U = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(o) {
13
+ var t = ["th", "st", "nd", "rd"], e = o % 100;
14
+ return "[" + o + (t[(e - 20) % 10] || t[e] || t[0]) + "]";
15
+ } }, D = function(o, t, e) {
16
+ var a = String(o);
17
+ return !a || a.length >= t ? o : "" + Array(t + 1 - a.length).join(e) + o;
18
+ }, j = { s: D, z: function(o) {
19
+ var t = -o.utcOffset(), e = Math.abs(t), a = Math.floor(e / 60), n = e % 60;
20
+ return (t <= 0 ? "+" : "-") + D(a, 2, "0") + ":" + D(n, 2, "0");
21
+ }, m: function o(t, e) {
22
+ if (t.date() < e.date())
23
+ return -o(e, t);
24
+ var a = 12 * (e.year() - t.year()) + (e.month() - t.month()), n = t.clone().add(a, _), l = e - n < 0, d = t.clone().add(a + (l ? -1 : 1), _);
25
+ return +(-(a + (e - n) / (l ? n - d : d - n)) || 0);
26
+ }, a: function(o) {
27
+ return o < 0 ? Math.ceil(o) || 0 : Math.floor(o);
28
+ }, p: function(o) {
29
+ return { M: _, y: i, w: L, d: P, D: b, h: f, m: M, s: v, ms: F, Q: S }[o] || String(o || "").toLowerCase().replace(/s$/, "");
30
+ }, u: function(o) {
31
+ return o === void 0;
32
+ } }, H = "en", q = {};
33
+ q[H] = U;
34
+ var J = "$isDayjsObject", ne = function(o) {
35
+ return o instanceof ie || !(!o || !o[J]);
36
+ }, O = function o(t, e, a) {
37
+ var n;
38
+ if (!t)
39
+ return H;
40
+ if (typeof t == "string") {
41
+ var l = t.toLowerCase();
42
+ q[l] && (n = l), e && (q[l] = e, n = l);
43
+ var d = t.split("-");
44
+ if (!n && d.length > 1)
45
+ return o(d[0]);
57
46
  } else {
58
- var $ = n.name;
59
- W[$] = n, e = $;
47
+ var m = t.name;
48
+ q[m] = t, n = m;
60
49
  }
61
- return !s && e && (q = e), e || !s && q;
62
- }, M = function(i, n) {
63
- if (et(i))
64
- return i.clone();
65
- var t = typeof n == "object" ? n : {};
66
- return t.date = i, t.args = arguments, new rt(t);
67
- }, h = z;
68
- h.l = A, h.i = et, h.w = function(i, n) {
69
- return M(i, { locale: n.$L, utc: n.$u, x: n.$x, $offset: n.$offset });
50
+ return !a && n && (H = n), n || !a && H;
51
+ }, N = function(o, t) {
52
+ if (ne(o))
53
+ return o.clone();
54
+ var e = typeof t == "object" ? t : {};
55
+ return e.date = o, e.args = arguments, new ie(e);
56
+ }, p = j;
57
+ p.l = O, p.i = ne, p.w = function(o, t) {
58
+ return N(o, { locale: t.$L, utc: t.$u, x: t.$x, $offset: t.$offset });
70
59
  };
71
- var rt = function() {
72
- function i(t) {
73
- this.$L = A(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[G] = !0;
60
+ var ie = function() {
61
+ function o(e) {
62
+ this.$L = O(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[J] = !0;
74
63
  }
75
- var n = i.prototype;
76
- return n.parse = function(t) {
77
- this.$d = function(s) {
78
- var e = s.date, c = s.utc;
79
- if (e === null)
64
+ var t = o.prototype;
65
+ return t.parse = function(e) {
66
+ this.$d = function(a) {
67
+ var n = a.date, l = a.utc;
68
+ if (n === null)
80
69
  return /* @__PURE__ */ new Date(NaN);
81
- if (h.u(e))
70
+ if (p.u(n))
82
71
  return /* @__PURE__ */ new Date();
83
- if (e instanceof Date)
84
- return new Date(e);
85
- if (typeof e == "string" && !/Z$/i.test(e)) {
86
- var u = e.match(k);
87
- if (u) {
88
- var $ = u[2] - 1 || 0, _ = (u[7] || "0").substring(0, 3);
89
- return c ? new Date(Date.UTC(u[1], $, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, _)) : new Date(u[1], $, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, _);
72
+ if (n instanceof Date)
73
+ return new Date(n);
74
+ if (typeof n == "string" && !/Z$/i.test(n)) {
75
+ var d = n.match(x);
76
+ if (d) {
77
+ var m = d[2] - 1 || 0, h = (d[7] || "0").substring(0, 3);
78
+ return l ? new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, h)) : new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, h);
90
79
  }
91
80
  }
92
- return new Date(e);
93
- }(t), this.init();
94
- }, n.init = function() {
95
- var t = this.$d;
96
- this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
97
- }, n.$utils = function() {
98
- return h;
99
- }, n.isValid = function() {
100
- return this.$d.toString() !== o;
101
- }, n.isSame = function(t, s) {
102
- var e = M(t);
103
- return this.startOf(s) <= e && e <= this.endOf(s);
104
- }, n.isAfter = function(t, s) {
105
- return M(t) < this.startOf(s);
106
- }, n.isBefore = function(t, s) {
107
- return this.endOf(s) < M(t);
108
- }, n.$g = function(t, s, e) {
109
- return h.u(t) ? this[s] : this.set(e, t);
110
- }, n.unix = function() {
81
+ return new Date(n);
82
+ }(e), this.init();
83
+ }, t.init = function() {
84
+ var e = this.$d;
85
+ this.$y = e.getFullYear(), this.$M = e.getMonth(), this.$D = e.getDate(), this.$W = e.getDay(), this.$H = e.getHours(), this.$m = e.getMinutes(), this.$s = e.getSeconds(), this.$ms = e.getMilliseconds();
86
+ }, t.$utils = function() {
87
+ return p;
88
+ }, t.isValid = function() {
89
+ return this.$d.toString() !== s;
90
+ }, t.isSame = function(e, a) {
91
+ var n = N(e);
92
+ return this.startOf(a) <= n && n <= this.endOf(a);
93
+ }, t.isAfter = function(e, a) {
94
+ return N(e) < this.startOf(a);
95
+ }, t.isBefore = function(e, a) {
96
+ return this.endOf(a) < N(e);
97
+ }, t.$g = function(e, a, n) {
98
+ return p.u(e) ? this[a] : this.set(n, e);
99
+ }, t.unix = function() {
111
100
  return Math.floor(this.valueOf() / 1e3);
112
- }, n.valueOf = function() {
101
+ }, t.valueOf = function() {
113
102
  return this.$d.getTime();
114
- }, n.startOf = function(t, s) {
115
- var e = this, c = !!h.u(s) || s, u = h.p(t), $ = function(V, C) {
116
- var E = h.w(e.$u ? Date.UTC(e.$y, C, V) : new Date(e.$y, C, V), e);
117
- return c ? E : E.endOf(x);
118
- }, _ = function(V, C) {
119
- return h.w(e.toDate()[V].apply(e.toDate("s"), (c ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(C)), e);
120
- }, w = this.$W, S = this.$M, F = this.$D, Q = "set" + (this.$u ? "UTC" : "");
121
- switch (u) {
122
- case r:
123
- return c ? $(1, 0) : $(31, 11);
103
+ }, t.startOf = function(e, a) {
104
+ var n = this, l = !!p.u(a) || a, d = p.p(e), m = function(W, A) {
105
+ var z = p.w(n.$u ? Date.UTC(n.$y, A, W) : new Date(n.$y, A, W), n);
106
+ return l ? z : z.endOf(P);
107
+ }, h = function(W, A) {
108
+ return p.w(n.toDate()[W].apply(n.toDate("s"), (l ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(A)), n);
109
+ }, T = this.$W, E = this.$M, B = this.$D, K = "set" + (this.$u ? "UTC" : "");
110
+ switch (d) {
111
+ case i:
112
+ return l ? m(1, 0) : m(31, 11);
113
+ case _:
114
+ return l ? m(1, E) : m(0, E + 1);
115
+ case L:
116
+ var G = this.$locale().weekStart || 0, te = (T < G ? T + 7 : T) - G;
117
+ return m(l ? B - te : B + (6 - te), E);
118
+ case P:
124
119
  case b:
125
- return c ? $(1, S) : $(0, S + 1);
126
- case j:
127
- var B = this.$locale().weekStart || 0, nt = (w < B ? w + 7 : w) - B;
128
- return $(c ? F - nt : F + (6 - nt), S);
129
- case x:
130
- case p:
131
- return _(Q + "Hours", 0);
120
+ return h(K + "Hours", 0);
132
121
  case f:
133
- return _(Q + "Minutes", 1);
134
- case y:
135
- return _(Q + "Seconds", 2);
136
- case D:
137
- return _(Q + "Milliseconds", 3);
122
+ return h(K + "Minutes", 1);
123
+ case M:
124
+ return h(K + "Seconds", 2);
125
+ case v:
126
+ return h(K + "Milliseconds", 3);
138
127
  default:
139
128
  return this.clone();
140
129
  }
141
- }, n.endOf = function(t) {
142
- return this.startOf(t, !1);
143
- }, n.$set = function(t, s) {
144
- var e, c = h.p(t), u = "set" + (this.$u ? "UTC" : ""), $ = (e = {}, e[x] = u + "Date", e[p] = u + "Date", e[b] = u + "Month", e[r] = u + "FullYear", e[f] = u + "Hours", e[y] = u + "Minutes", e[D] = u + "Seconds", e[H] = u + "Milliseconds", e)[c], _ = c === x ? this.$D + (s - this.$W) : s;
145
- if (c === b || c === r) {
146
- var w = this.clone().set(p, 1);
147
- w.$d[$](_), w.init(), this.$d = w.set(p, Math.min(this.$D, w.daysInMonth())).$d;
130
+ }, t.endOf = function(e) {
131
+ return this.startOf(e, !1);
132
+ }, t.$set = function(e, a) {
133
+ var n, l = p.p(e), d = "set" + (this.$u ? "UTC" : ""), m = (n = {}, n[P] = d + "Date", n[b] = d + "Date", n[_] = d + "Month", n[i] = d + "FullYear", n[f] = d + "Hours", n[M] = d + "Minutes", n[v] = d + "Seconds", n[F] = d + "Milliseconds", n)[l], h = l === P ? this.$D + (a - this.$W) : a;
134
+ if (l === _ || l === i) {
135
+ var T = this.clone().set(b, 1);
136
+ T.$d[m](h), T.init(), this.$d = T.set(b, Math.min(this.$D, T.daysInMonth())).$d;
148
137
  } else
149
- $ && this.$d[$](_);
138
+ m && this.$d[m](h);
150
139
  return this.init(), this;
151
- }, n.set = function(t, s) {
152
- return this.clone().$set(t, s);
153
- }, n.get = function(t) {
154
- return this[h.p(t)]();
155
- }, n.add = function(t, s) {
156
- var e, c = this;
157
- t = Number(t);
158
- var u = h.p(s), $ = function(S) {
159
- var F = M(c);
160
- return h.w(F.date(F.date() + Math.round(S * t)), c);
140
+ }, t.set = function(e, a) {
141
+ return this.clone().$set(e, a);
142
+ }, t.get = function(e) {
143
+ return this[p.p(e)]();
144
+ }, t.add = function(e, a) {
145
+ var n, l = this;
146
+ e = Number(e);
147
+ var d = p.p(a), m = function(E) {
148
+ var B = N(l);
149
+ return p.w(B.date(B.date() + Math.round(E * e)), l);
161
150
  };
162
- if (u === b)
163
- return this.set(b, this.$M + t);
164
- if (u === r)
165
- return this.set(r, this.$y + t);
166
- if (u === x)
167
- return $(1);
168
- if (u === j)
169
- return $(7);
170
- var _ = (e = {}, e[y] = v, e[f] = g, e[D] = l, e)[u] || 1, w = this.$d.getTime() + t * _;
171
- return h.w(w, this);
172
- }, n.subtract = function(t, s) {
173
- return this.add(-1 * t, s);
174
- }, n.format = function(t) {
175
- var s = this, e = this.$locale();
151
+ if (d === _)
152
+ return this.set(_, this.$M + e);
153
+ if (d === i)
154
+ return this.set(i, this.$y + e);
155
+ if (d === P)
156
+ return m(1);
157
+ if (d === L)
158
+ return m(7);
159
+ var h = (n = {}, n[M] = w, n[f] = g, n[v] = c, n)[d] || 1, T = this.$d.getTime() + e * h;
160
+ return p.w(T, this);
161
+ }, t.subtract = function(e, a) {
162
+ return this.add(-1 * e, a);
163
+ }, t.format = function(e) {
164
+ var a = this, n = this.$locale();
176
165
  if (!this.isValid())
177
- return e.invalidDate || o;
178
- var c = t || "YYYY-MM-DDTHH:mm:ssZ", u = h.z(this), $ = this.$H, _ = this.$m, w = this.$M, S = e.weekdays, F = e.months, Q = e.meridiem, B = function(C, E, st, ot) {
179
- return C && (C[E] || C(s, c)) || st[E].slice(0, ot);
180
- }, nt = function(C) {
181
- return h.s($ % 12 || 12, C, "0");
182
- }, V = Q || function(C, E, st) {
183
- var ot = C < 12 ? "AM" : "PM";
184
- return st ? ot.toLowerCase() : ot;
166
+ return n.invalidDate || s;
167
+ var l = e || "YYYY-MM-DDTHH:mm:ssZ", d = p.z(this), m = this.$H, h = this.$m, T = this.$M, E = n.weekdays, B = n.months, K = n.meridiem, G = function(A, z, ae, se) {
168
+ return A && (A[z] || A(a, l)) || ae[z].slice(0, se);
169
+ }, te = function(A) {
170
+ return p.s(m % 12 || 12, A, "0");
171
+ }, W = K || function(A, z, ae) {
172
+ var se = A < 12 ? "AM" : "PM";
173
+ return ae ? se.toLowerCase() : se;
185
174
  };
186
- return c.replace(N, function(C, E) {
187
- return E || function(st) {
188
- switch (st) {
175
+ return l.replace(R, function(A, z) {
176
+ return z || function(ae) {
177
+ switch (ae) {
189
178
  case "YY":
190
- return String(s.$y).slice(-2);
179
+ return String(a.$y).slice(-2);
191
180
  case "YYYY":
192
- return h.s(s.$y, 4, "0");
181
+ return p.s(a.$y, 4, "0");
193
182
  case "M":
194
- return w + 1;
183
+ return T + 1;
195
184
  case "MM":
196
- return h.s(w + 1, 2, "0");
185
+ return p.s(T + 1, 2, "0");
197
186
  case "MMM":
198
- return B(e.monthsShort, w, F, 3);
187
+ return G(n.monthsShort, T, B, 3);
199
188
  case "MMMM":
200
- return B(F, w);
189
+ return G(B, T);
201
190
  case "D":
202
- return s.$D;
191
+ return a.$D;
203
192
  case "DD":
204
- return h.s(s.$D, 2, "0");
193
+ return p.s(a.$D, 2, "0");
205
194
  case "d":
206
- return String(s.$W);
195
+ return String(a.$W);
207
196
  case "dd":
208
- return B(e.weekdaysMin, s.$W, S, 2);
197
+ return G(n.weekdaysMin, a.$W, E, 2);
209
198
  case "ddd":
210
- return B(e.weekdaysShort, s.$W, S, 3);
199
+ return G(n.weekdaysShort, a.$W, E, 3);
211
200
  case "dddd":
212
- return S[s.$W];
201
+ return E[a.$W];
213
202
  case "H":
214
- return String($);
203
+ return String(m);
215
204
  case "HH":
216
- return h.s($, 2, "0");
205
+ return p.s(m, 2, "0");
217
206
  case "h":
218
- return nt(1);
207
+ return te(1);
219
208
  case "hh":
220
- return nt(2);
209
+ return te(2);
221
210
  case "a":
222
- return V($, _, !0);
211
+ return W(m, h, !0);
223
212
  case "A":
224
- return V($, _, !1);
213
+ return W(m, h, !1);
225
214
  case "m":
226
- return String(_);
215
+ return String(h);
227
216
  case "mm":
228
- return h.s(_, 2, "0");
217
+ return p.s(h, 2, "0");
229
218
  case "s":
230
- return String(s.$s);
219
+ return String(a.$s);
231
220
  case "ss":
232
- return h.s(s.$s, 2, "0");
221
+ return p.s(a.$s, 2, "0");
233
222
  case "SSS":
234
- return h.s(s.$ms, 3, "0");
223
+ return p.s(a.$ms, 3, "0");
235
224
  case "Z":
236
- return u;
225
+ return d;
237
226
  }
238
227
  return null;
239
- }(C) || u.replace(":", "");
228
+ }(A) || d.replace(":", "");
240
229
  });
241
- }, n.utcOffset = function() {
230
+ }, t.utcOffset = function() {
242
231
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
243
- }, n.diff = function(t, s, e) {
244
- var c, u = this, $ = h.p(s), _ = M(t), w = (_.utcOffset() - this.utcOffset()) * v, S = this - _, F = function() {
245
- return h.m(u, _);
232
+ }, t.diff = function(e, a, n) {
233
+ var l, d = this, m = p.p(a), h = N(e), T = (h.utcOffset() - this.utcOffset()) * w, E = this - h, B = function() {
234
+ return p.m(d, h);
246
235
  };
247
- switch ($) {
248
- case r:
249
- c = F() / 12;
236
+ switch (m) {
237
+ case i:
238
+ l = B() / 12;
250
239
  break;
251
- case b:
252
- c = F();
240
+ case _:
241
+ l = B();
253
242
  break;
254
- case T:
255
- c = F() / 3;
243
+ case S:
244
+ l = B() / 3;
256
245
  break;
257
- case j:
258
- c = (S - w) / 6048e5;
246
+ case L:
247
+ l = (E - T) / 6048e5;
259
248
  break;
260
- case x:
261
- c = (S - w) / 864e5;
249
+ case P:
250
+ l = (E - T) / 864e5;
262
251
  break;
263
252
  case f:
264
- c = S / g;
253
+ l = E / g;
265
254
  break;
266
- case y:
267
- c = S / v;
255
+ case M:
256
+ l = E / w;
268
257
  break;
269
- case D:
270
- c = S / l;
258
+ case v:
259
+ l = E / c;
271
260
  break;
272
261
  default:
273
- c = S;
262
+ l = E;
274
263
  }
275
- return e ? c : h.a(c);
276
- }, n.daysInMonth = function() {
277
- return this.endOf(b).$D;
278
- }, n.$locale = function() {
279
- return W[this.$L];
280
- }, n.locale = function(t, s) {
281
- if (!t)
264
+ return n ? l : p.a(l);
265
+ }, t.daysInMonth = function() {
266
+ return this.endOf(_).$D;
267
+ }, t.$locale = function() {
268
+ return q[this.$L];
269
+ }, t.locale = function(e, a) {
270
+ if (!e)
282
271
  return this.$L;
283
- var e = this.clone(), c = A(t, s, !0);
284
- return c && (e.$L = c), e;
285
- }, n.clone = function() {
286
- return h.w(this.$d, this);
287
- }, n.toDate = function() {
272
+ var n = this.clone(), l = O(e, a, !0);
273
+ return l && (n.$L = l), n;
274
+ }, t.clone = function() {
275
+ return p.w(this.$d, this);
276
+ }, t.toDate = function() {
288
277
  return new Date(this.valueOf());
289
- }, n.toJSON = function() {
278
+ }, t.toJSON = function() {
290
279
  return this.isValid() ? this.toISOString() : null;
291
- }, n.toISOString = function() {
280
+ }, t.toISOString = function() {
292
281
  return this.$d.toISOString();
293
- }, n.toString = function() {
282
+ }, t.toString = function() {
294
283
  return this.$d.toUTCString();
295
- }, i;
296
- }(), ut = rt.prototype;
297
- return M.prototype = ut, [["$ms", H], ["$s", D], ["$m", y], ["$H", f], ["$W", x], ["$M", b], ["$y", r], ["$D", p]].forEach(function(i) {
298
- ut[i[1]] = function(n) {
299
- return this.$g(n, i[0], i[1]);
284
+ }, o;
285
+ }(), de = ie.prototype;
286
+ return N.prototype = de, [["$ms", F], ["$s", v], ["$m", M], ["$H", f], ["$W", P], ["$M", _], ["$y", i], ["$D", b]].forEach(function(o) {
287
+ de[o[1]] = function(t) {
288
+ return this.$g(t, o[0], o[1]);
300
289
  };
301
- }), M.extend = function(i, n) {
302
- return i.$i || (i(n, rt, M), i.$i = !0), M;
303
- }, M.locale = A, M.isDayjs = et, M.unix = function(i) {
304
- return M(1e3 * i);
305
- }, M.en = W[q], M.Ls = W, M.p = {}, M;
290
+ }), N.extend = function(o, t) {
291
+ return o.$i || (o(t, ie, N), o.$i = !0), N;
292
+ }, N.locale = O, N.isDayjs = ne, N.unix = function(o) {
293
+ return N(1e3 * o);
294
+ }, N.en = q[H], N.Ls = q, N.p = {}, N;
306
295
  });
307
- })(gt);
308
- var Tt = gt.exports;
309
- const mt = /* @__PURE__ */ $t(Tt);
310
- var vt = { exports: {} };
311
- (function(a, d) {
312
- (function(l, v) {
313
- a.exports = v();
314
- })(pt, function() {
315
- var l = "minute", v = /[+-]\d\d(?::?\d\d)?/g, g = /([+-]|\d\d)/g;
316
- return function(H, D, y) {
317
- var f = D.prototype;
318
- y.utc = function(o) {
319
- var k = { date: o, utc: !0, args: arguments };
320
- return new D(k);
321
- }, f.utc = function(o) {
322
- var k = y(this.toDate(), { locale: this.$L, utc: !0 });
323
- return o ? k.add(this.utcOffset(), l) : k;
296
+ })(be);
297
+ var ve = be.exports;
298
+ const ge = /* @__PURE__ */ me(ve);
299
+ var ye = { exports: {} };
300
+ (function(r, u) {
301
+ (function(c, w) {
302
+ r.exports = w();
303
+ })(pe, function() {
304
+ var c = "minute", w = /[+-]\d\d(?::?\d\d)?/g, g = /([+-]|\d\d)/g;
305
+ return function(F, v, M) {
306
+ var f = v.prototype;
307
+ M.utc = function(s) {
308
+ var x = { date: s, utc: !0, args: arguments };
309
+ return new v(x);
310
+ }, f.utc = function(s) {
311
+ var x = M(this.toDate(), { locale: this.$L, utc: !0 });
312
+ return s ? x.add(this.utcOffset(), c) : x;
324
313
  }, f.local = function() {
325
- return y(this.toDate(), { locale: this.$L, utc: !1 });
314
+ return M(this.toDate(), { locale: this.$L, utc: !1 });
326
315
  };
327
- var x = f.parse;
328
- f.parse = function(o) {
329
- o.utc && (this.$u = !0), this.$utils().u(o.$offset) || (this.$offset = o.$offset), x.call(this, o);
316
+ var P = f.parse;
317
+ f.parse = function(s) {
318
+ s.utc && (this.$u = !0), this.$utils().u(s.$offset) || (this.$offset = s.$offset), P.call(this, s);
330
319
  };
331
- var j = f.init;
320
+ var L = f.init;
332
321
  f.init = function() {
333
322
  if (this.$u) {
334
- var o = this.$d;
335
- this.$y = o.getUTCFullYear(), this.$M = o.getUTCMonth(), this.$D = o.getUTCDate(), this.$W = o.getUTCDay(), this.$H = o.getUTCHours(), this.$m = o.getUTCMinutes(), this.$s = o.getUTCSeconds(), this.$ms = o.getUTCMilliseconds();
323
+ var s = this.$d;
324
+ this.$y = s.getUTCFullYear(), this.$M = s.getUTCMonth(), this.$D = s.getUTCDate(), this.$W = s.getUTCDay(), this.$H = s.getUTCHours(), this.$m = s.getUTCMinutes(), this.$s = s.getUTCSeconds(), this.$ms = s.getUTCMilliseconds();
336
325
  } else
337
- j.call(this);
326
+ L.call(this);
338
327
  };
339
- var b = f.utcOffset;
340
- f.utcOffset = function(o, k) {
341
- var N = this.$utils().u;
342
- if (N(o))
343
- return this.$u ? 0 : N(this.$offset) ? b.call(this) : this.$offset;
344
- if (typeof o == "string" && (o = function(q) {
345
- q === void 0 && (q = "");
346
- var W = q.match(v);
347
- if (!W)
328
+ var _ = f.utcOffset;
329
+ f.utcOffset = function(s, x) {
330
+ var R = this.$utils().u;
331
+ if (R(s))
332
+ return this.$u ? 0 : R(this.$offset) ? _.call(this) : this.$offset;
333
+ if (typeof s == "string" && (s = function(H) {
334
+ H === void 0 && (H = "");
335
+ var q = H.match(w);
336
+ if (!q)
348
337
  return null;
349
- var G = ("" + W[0]).match(g) || ["-", 0, 0], et = G[0], A = 60 * +G[1] + +G[2];
350
- return A === 0 ? 0 : et === "+" ? A : -A;
351
- }(o), o === null))
338
+ var J = ("" + q[0]).match(g) || ["-", 0, 0], ne = J[0], O = 60 * +J[1] + +J[2];
339
+ return O === 0 ? 0 : ne === "+" ? O : -O;
340
+ }(s), s === null))
352
341
  return this;
353
- var L = Math.abs(o) <= 16 ? 60 * o : o;
354
- if (L === 0)
355
- return this.utc(k);
356
- var O = this.clone();
357
- if (k)
358
- return O.$offset = L, O.$u = !1, O;
359
- var z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
360
- return (O = this.local().add(L + z, l)).$offset = L, O.$x.$localOffset = z, O;
342
+ var U = Math.abs(s) <= 16 ? 60 * s : s;
343
+ if (U === 0)
344
+ return this.utc(x);
345
+ var D = this.clone();
346
+ if (x)
347
+ return D.$offset = U, D.$u = !1, D;
348
+ var j = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
349
+ return (D = this.local().add(U + j, c)).$offset = U, D.$x.$localOffset = j, D;
361
350
  };
362
- var T = f.format;
363
- f.format = function(o) {
364
- var k = o || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
365
- return T.call(this, k);
351
+ var S = f.format;
352
+ f.format = function(s) {
353
+ var x = s || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
354
+ return S.call(this, x);
366
355
  }, f.valueOf = function() {
367
- var o = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
368
- return this.$d.valueOf() - 6e4 * o;
356
+ var s = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
357
+ return this.$d.valueOf() - 6e4 * s;
369
358
  }, f.isUTC = function() {
370
359
  return !!this.$u;
371
360
  }, f.toISOString = function() {
@@ -373,32 +362,32 @@ var vt = { exports: {} };
373
362
  }, f.toString = function() {
374
363
  return this.toDate().toUTCString();
375
364
  };
376
- var r = f.toDate;
377
- f.toDate = function(o) {
378
- return o === "s" && this.$offset ? y(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : r.call(this);
365
+ var i = f.toDate;
366
+ f.toDate = function(s) {
367
+ return s === "s" && this.$offset ? M(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : i.call(this);
379
368
  };
380
- var p = f.diff;
381
- f.diff = function(o, k, N) {
382
- if (o && this.$u === o.$u)
383
- return p.call(this, o, k, N);
384
- var L = this.local(), O = y(o).local();
385
- return p.call(L, O, k, N);
369
+ var b = f.diff;
370
+ f.diff = function(s, x, R) {
371
+ if (s && this.$u === s.$u)
372
+ return b.call(this, s, x, R);
373
+ var U = this.local(), D = M(s).local();
374
+ return b.call(U, D, x, R);
386
375
  };
387
376
  };
388
377
  });
389
- })(vt);
390
- var kt = vt.exports;
391
- const St = /* @__PURE__ */ $t(kt);
392
- mt.extend(St);
393
- function Ot() {
394
- let a = (/* @__PURE__ */ new Date()).getTimezoneOffset();
395
- const d = Math.abs(Math.floor(a / 60)), l = a < 0 ? "+" : "-";
396
- return a = Math.abs(a % 60), l + d.toString().padStart(2, "0") + a.toString().padStart(2, "0");
378
+ })(ye);
379
+ var Me = ye.exports;
380
+ const _e = /* @__PURE__ */ me(Me);
381
+ ge.extend(_e);
382
+ function Se() {
383
+ let r = (/* @__PURE__ */ new Date()).getTimezoneOffset();
384
+ const u = Math.abs(Math.floor(r / 60)), c = r < 0 ? "+" : "-";
385
+ return r = Math.abs(r % 60), c + u.toString().padStart(2, "0") + r.toString().padStart(2, "0");
397
386
  }
398
- function at(a, d, l) {
399
- return a ? (d === void 0 && (d = "YYYY-MM-DD HH:mm:ss"), l || (l = Ot()), mt.utc(a).utcOffset(l).format(d)) : "";
387
+ function oe(r, u, c) {
388
+ return r ? (u === void 0 && (u = "YYYY-MM-DD HH:mm:ss"), c || (c = Se()), ge.utc(r).utcOffset(c).format(u)) : "";
400
389
  }
401
- const It = {
390
+ const xe = {
402
391
  cn: {
403
392
  seconds: "秒",
404
393
  minutes: "分钟",
@@ -412,46 +401,46 @@ const It = {
412
401
  days: "d"
413
402
  }
414
403
  };
415
- function ft(a, d = "cn") {
416
- const l = It[d], v = Math.floor(a / (24 * 60 * 60 * 1e3)), g = Math.floor(a / (60 * 60 * 1e3) - v * 24), H = Math.floor(a / (60 * 1e3) - v * 24 * 60 - g * 60), D = Math.floor(a / 1e3 - v * 24 * 60 * 60 - g * 60 * 60 - H * 60);
417
- return v > 0 ? v + l.days + g + l.hours + H + l.minutes : g > 0 ? g + l.hours + H + l.minutes : H > 0 ? H + l.minutes : D > 0 ? D + l.seconds : 0 + l.seconds;
404
+ function ce(r, u = "cn") {
405
+ const c = xe[u], w = Math.floor(r / (24 * 60 * 60 * 1e3)), g = Math.floor(r / (60 * 60 * 1e3) - w * 24), F = Math.floor(r / (60 * 1e3) - w * 24 * 60 - g * 60), v = Math.floor(r / 1e3 - w * 24 * 60 * 60 - g * 60 * 60 - F * 60);
406
+ return w > 0 ? w + c.days + g + c.hours + F + c.minutes : g > 0 ? g + c.hours + F + c.minutes : F > 0 ? F + c.minutes : v > 0 ? v + c.seconds : 0 + c.seconds;
418
407
  }
419
- const xt = { class: "scroll-area" }, Ct = { class: "flow-header flex justify-between" }, Yt = { class: "text-18px font-bold" }, Ht = {
408
+ const Ee = { class: "scroll-area" }, De = { class: "flow-header flex justify-between" }, $e = { class: "text-18px font-bold" }, Pe = {
420
409
  class: "text-14px font-bold",
421
410
  style: { color: "#005aae" }
422
- }, Ut = { class: "flex items-center" }, Ft = { class: "flow-start" }, Lt = { key: 0 }, Pt = { class: "mt-30px block" }, jt = ["src"], Nt = { style: { "font-weight": "700" } }, Wt = {
411
+ }, Ae = { class: "flex items-center" }, ke = { class: "flow-start" }, Fe = { key: 0 }, Ie = { class: "mt-30px block" }, Be = ["src"], Ue = { style: { "font-weight": "700" } }, Ce = {
423
412
  key: 0,
424
413
  style: { "margin-right": "30px", "font-weight": "normal" }
425
- }, qt = {
414
+ }, Le = {
426
415
  key: 1,
427
416
  style: { "margin-right": "30px", "font-weight": "normal" }
428
- }, At = {
417
+ }, Re = {
429
418
  key: 0,
430
419
  style: { "font-weight": "normal" }
431
- }, Et = {
420
+ }, qe = {
432
421
  key: 1,
433
422
  style: { "font-weight": "normal", color: "#8a909c" }
434
- }, zt = {
423
+ }, He = {
435
424
  key: 2,
436
425
  style: { "font-weight": "normal" }
437
- }, Bt = {
426
+ }, Oe = {
438
427
  key: 3,
439
428
  style: { "font-weight": "normal", color: "#8a909c" }
440
- }, Vt = {
429
+ }, ze = {
441
430
  key: 4,
442
431
  style: { "margin-left": "30px", "font-weight": "normal" }
443
- }, Zt = {
432
+ }, je = {
444
433
  key: 5,
445
434
  style: { "font-weight": "normal", color: "#8a909c" }
446
- }, Jt = { key: 2 }, Rt = /* @__PURE__ */ dt({
435
+ }, Ge = { key: 2 }, We = /* @__PURE__ */ fe({
447
436
  name: "BpmProcessInstanceTaskList",
448
437
  __name: "CmcFlowList",
449
438
  props: {
450
439
  processInstance: {},
451
440
  tasks: {}
452
441
  },
453
- setup(a) {
454
- const d = (g) => g, l = {
442
+ setup(r) {
443
+ const u = (g) => g, c = {
455
444
  1: "svg-icon:approvalPending",
456
445
  // 审批中
457
446
  2: "svg-icon:approvalPass",
@@ -460,98 +449,98 @@ const xt = { class: "scroll-area" }, Ct = { class: "flow-header flex justify-bet
460
449
  // 拒绝
461
450
  4: "svg-icon:approvalCanceled"
462
451
  // 取消
463
- }, v = (g) => [0, 1, 6, 7].includes(g.status) ? "primary" : g.status === 2 ? "success" : g.status === 3 ? "danger" : g.status === 4 ? "info" : g.status === 5 ? "warning" : "";
464
- return (g, H) => {
465
- var T;
466
- const D = Z("Icon"), y = Z("dict-tag"), f = Z("el-tag"), x = Z("el-card"), j = Z("el-timeline-item"), b = Z("el-timeline");
467
- return I(), U("div", xt, [
468
- Y("div", Ct, [
469
- Y("div", Yt, [
470
- Y("span", null, m(d("processFlow.flow")), 1),
471
- Y("span", null, m(a.processInstance.id), 1)
452
+ }, w = (g) => [0, 1, 6, 7].includes(g.status) ? "primary" : g.status === 2 ? "success" : g.status === 3 ? "danger" : g.status === 4 ? "info" : g.status === 5 ? "warning" : "";
453
+ return (g, F) => {
454
+ var S;
455
+ const v = V("Icon"), M = V("dict-tag"), f = V("el-tag"), P = V("el-card"), L = V("el-timeline-item"), _ = V("el-timeline");
456
+ return $(), I("div", Ee, [
457
+ k("div", De, [
458
+ k("div", $e, [
459
+ k("span", null, y(u("processFlow.flow")), 1),
460
+ k("span", null, y(r.processInstance.id), 1)
472
461
  ]),
473
- Y("div", Ht, [
474
- Y("span", null, m(a.processInstance.name), 1)
462
+ k("div", Pe, [
463
+ k("span", null, y(r.processInstance.name), 1)
475
464
  ])
476
465
  ]),
477
- Y("div", Ut, [
478
- Y("div", Ft, [
479
- Y("p", null, m(d("processFlow.startTime")) + m(K(at)(a.processInstance.startTime)), 1),
480
- Y("p", null, m(d("processFlow.endTime")) + m(K(at)(a.processInstance.endTime)), 1),
481
- a.processInstance.durationInMillis ? (I(), U("p", Lt, m(d("processFlow.duration")) + m(K(ft)((T = a.processInstance) == null ? void 0 : T.durationInMillis)), 1)) : P("", !0)
466
+ k("div", Ae, [
467
+ k("div", ke, [
468
+ k("p", null, y(u("processFlow.startTime")) + y(X(oe)(r.processInstance.startTime)), 1),
469
+ k("p", null, y(u("processFlow.endTime")) + y(X(oe)(r.processInstance.endTime)), 1),
470
+ r.processInstance.durationInMillis ? ($(), I("p", Fe, y(u("processFlow.duration")) + y(X(ce)((S = r.processInstance) == null ? void 0 : S.durationInMillis)), 1)) : C("", !0)
482
471
  ]),
483
- R(D, {
472
+ Q(v, {
484
473
  size: 100,
485
- icon: l[a.processInstance.status] || "svg-icon:approvalPending"
474
+ icon: c[r.processInstance.status] || "svg-icon:approvalPending"
486
475
  }, null, 8, ["icon"])
487
476
  ]),
488
- Y("div", Pt, [
489
- R(b, null, {
490
- default: J(() => [
491
- (I(!0), U(ht, null, Mt(a.tasks, (r, p) => (I(), lt(j, {
492
- key: p,
493
- type: v(r) || "info"
477
+ k("div", Ie, [
478
+ Q(_, null, {
479
+ default: Y(() => [
480
+ ($(!0), I(ue, null, he(r.tasks, (i, b) => ($(), re(L, {
481
+ key: b,
482
+ type: w(i) || "info"
494
483
  }, {
495
- dot: J(() => {
496
- var o;
484
+ dot: Y(() => {
485
+ var s;
497
486
  return [
498
- Y("img", {
499
- src: ((o = r == null ? void 0 : r.assigneeUser) == null ? void 0 : o.avatar) || "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",
487
+ k("img", {
488
+ src: ((s = i == null ? void 0 : i.assigneeUser) == null ? void 0 : s.avatar) || "https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png",
500
489
  class: "avatar-wrap"
501
- }, null, 8, jt)
490
+ }, null, 8, Be)
502
491
  ];
503
492
  }),
504
- default: J(() => [
505
- Y("p", Nt, [
506
- tt(m(r.name) + " ", 1),
507
- r.status ? (I(), lt(y, {
493
+ default: Y(() => [
494
+ k("p", Ue, [
495
+ ee(y(i.name) + " ", 1),
496
+ i.status ? ($(), re(M, {
508
497
  key: 0,
509
498
  type: "bpm_task_status",
510
- value: r.status || ""
511
- }, null, 8, ["value"])) : P("", !0)
499
+ value: i.status || ""
500
+ }, null, 8, ["value"])) : C("", !0)
512
501
  ]),
513
- R(x, { "body-style": { padding: "10px" } }, {
514
- default: J(() => {
515
- var o, k, N, L;
502
+ Q(P, { "body-style": { padding: "10px" } }, {
503
+ default: Y(() => {
504
+ var s, x, R, U;
516
505
  return [
517
- p === 0 ? (I(), U("label", Wt, [
518
- tt(m(((o = r.assigneeUser) == null ? void 0 : o.nickname) || ((k = r.ownerUser) == null ? void 0 : k.nickname)) + " ", 1),
519
- R(f, {
506
+ b === 0 ? ($(), I("label", Ce, [
507
+ ee(y(((s = i.assigneeUser) == null ? void 0 : s.nickname) || ((x = i.ownerUser) == null ? void 0 : x.nickname)) + " ", 1),
508
+ Q(f, {
520
509
  size: "small",
521
510
  type: "info",
522
511
  style: { "vertical-align": "1px" }
523
512
  }, {
524
- default: J(() => {
525
- var O, z;
513
+ default: Y(() => {
514
+ var D, j;
526
515
  return [
527
- tt(m((z = (O = a.processInstance) == null ? void 0 : O.startUser) == null ? void 0 : z.deptName), 1)
516
+ ee(y((j = (D = r.processInstance) == null ? void 0 : D.startUser) == null ? void 0 : j.deptName), 1)
528
517
  ];
529
518
  }),
530
519
  _: 1
531
520
  })
532
- ])) : P("", !0),
533
- r.assigneeUser ? (I(), U("label", qt, [
534
- tt(m(d("processFlow.approver")) + m(((N = r.assigneeUser) == null ? void 0 : N.nickname) || ((L = r.ownerUser) == null ? void 0 : L.nickname)) + " ", 1),
535
- R(f, {
521
+ ])) : C("", !0),
522
+ i.assigneeUser ? ($(), I("label", Le, [
523
+ ee(y(u("processFlow.approver")) + y(((R = i.assigneeUser) == null ? void 0 : R.nickname) || ((U = i.ownerUser) == null ? void 0 : U.nickname)) + " ", 1),
524
+ Q(f, {
536
525
  size: "small",
537
526
  type: "info",
538
527
  style: { "vertical-align": "1px" }
539
528
  }, {
540
- default: J(() => [
541
- tt(m(r.assigneeUser.deptName), 1)
529
+ default: Y(() => [
530
+ ee(y(i.assigneeUser.deptName), 1)
542
531
  ]),
543
532
  _: 2
544
533
  }, 1024)
545
- ])) : P("", !0),
546
- Y("div", null, [
547
- r.createTime && !r.endTime ? (I(), U("label", At, m(d("processFlow.createTime")), 1)) : P("", !0),
548
- r.createTime && !r.endTime ? (I(), U("label", Et, m(K(at)(r == null ? void 0 : r.createTime, "MM-DD HH:mm")), 1)) : P("", !0),
549
- r.endTime ? (I(), U("label", zt, m(d("processFlow.approvalTime")), 1)) : P("", !0),
550
- r.endTime ? (I(), U("label", Bt, m(K(at)(r == null ? void 0 : r.endTime, "MM-DD HH:mm")), 1)) : P("", !0),
551
- r.durationInMillis ? (I(), U("label", Vt, m(d("processFlow.duration")), 1)) : P("", !0),
552
- r.durationInMillis ? (I(), U("label", Zt, m(K(ft)(r == null ? void 0 : r.durationInMillis)), 1)) : P("", !0)
534
+ ])) : C("", !0),
535
+ k("div", null, [
536
+ i.createTime && !i.endTime ? ($(), I("label", Re, y(u("processFlow.createTime")), 1)) : C("", !0),
537
+ i.createTime && !i.endTime ? ($(), I("label", qe, y(X(oe)(i == null ? void 0 : i.createTime, "MM-DD HH:mm")), 1)) : C("", !0),
538
+ i.endTime ? ($(), I("label", He, y(u("processFlow.approvalTime")), 1)) : C("", !0),
539
+ i.endTime ? ($(), I("label", Oe, y(X(oe)(i == null ? void 0 : i.endTime, "MM-DD HH:mm")), 1)) : C("", !0),
540
+ i.durationInMillis ? ($(), I("label", ze, y(u("processFlow.duration")), 1)) : C("", !0),
541
+ i.durationInMillis ? ($(), I("label", je, y(X(ce)(i == null ? void 0 : i.durationInMillis)), 1)) : C("", !0)
553
542
  ]),
554
- r.reason ? (I(), U("div", Jt, m(d("processFlow.approvalSuggestion")) + m(r.reason), 1)) : P("", !0)
543
+ i.reason ? ($(), I("div", Ge, y(u("processFlow.approvalSuggestion")) + y(i.reason), 1)) : C("", !0)
555
544
  ];
556
545
  }),
557
546
  _: 2
@@ -567,83 +556,714 @@ const xt = { class: "scroll-area" }, Ct = { class: "flow-header flex justify-bet
567
556
  };
568
557
  }
569
558
  });
570
- const _t = (a, d) => {
571
- const l = a.__vccOpts || a;
572
- for (const [v, g] of d)
573
- l[v] = g;
574
- return l;
575
- }, Gt = /* @__PURE__ */ _t(Rt, [["__scopeId", "data-v-f8ad04ec"]]), Qt = /* @__PURE__ */ dt({
559
+ const we = (r, u) => {
560
+ const c = r.__vccOpts || r;
561
+ for (const [w, g] of u)
562
+ c[w] = g;
563
+ return c;
564
+ }, Ve = /* @__PURE__ */ we(We, [["__scopeId", "data-v-f8ad04ec"]]), Ye = /* @__PURE__ */ fe({
576
565
  __name: "CmcProcessFlow",
577
566
  props: {
578
- processInstanceId: {},
579
- request: {}
567
+ processInstanceId: {}
580
568
  },
581
- setup(a) {
582
- const d = a, l = X(!1), v = X({}), g = X({}), H = X(""), D = X([]), y = X(""), f = (T) => {
583
- y.value = T, x(), j();
584
- }, x = async () => {
585
- var T, r;
569
+ setup(r) {
570
+ const u = r, c = Z(!1), w = Z({}), g = Z({}), F = Z(""), v = Z([]), M = Z(""), f = (S) => {
571
+ M.value = S, P(), L();
572
+ }, P = async () => {
573
+ var S, i;
586
574
  try {
587
- l.value = !0;
588
- const p = await Dt(y.value);
589
- if (!p) {
590
- ct.error("查询不到审批详情信息!");
591
- return;
592
- }
593
- if (!p.processDefinition || !p.processInstance) {
594
- ct.error("查询不到流程信息!");
595
- return;
596
- }
597
- v.value = p == null ? void 0 : p.processInstance, H.value = (r = (T = p == null ? void 0 : p.processInstance) == null ? void 0 : T.formVariables) == null ? void 0 : r.applicationPrefix, g.value = p == null ? void 0 : p.todoTask;
575
+ c.value = !0;
576
+ const b = {
577
+ status: 1,
578
+ activityNodes: [
579
+ {
580
+ id: "StartUserNode",
581
+ name: "发起人",
582
+ nodeType: 10,
583
+ status: 2,
584
+ startTime: "2026-04-03T14:19:25+0800",
585
+ endTime: "2026-04-03T14:19:26+0800",
586
+ tasks: [
587
+ {
588
+ id: "0fff48cd-2f25-11f1-9259-fa163e43f4f0",
589
+ ownerUser: null,
590
+ assigneeUser: {
591
+ id: 207,
592
+ nickname: "集运管理员",
593
+ avatar: "https://cos-di.sinolines.com.cn/cos-download/v1/pvf/1/cmclinks-private-cos/b8e014d5df9d15e72c3d38f6fd388086/avator.png?expires=1774442024791&signature=0101EhRCzjRM:NDA4NEVFMkM1NEU3QkM4NTBEM0UwRDAzRTYxNjJENTM0QTFBRDVGMg==",
594
+ deptId: "1000000000000010322",
595
+ deptName: "外运集运"
596
+ },
597
+ status: 2,
598
+ reason: "发起人节点首次自动通过",
599
+ signPicUrl: null
600
+ }
601
+ ],
602
+ candidateStrategy: 36,
603
+ candidateUsers: [],
604
+ processInstanceId: null
605
+ },
606
+ {
607
+ id: "Activity_7e06529d-e9fa-4062-a1ae-18742609590d",
608
+ name: "L1或签审批",
609
+ nodeType: 11,
610
+ status: 1,
611
+ startTime: "2026-04-03T14:19:26+0800",
612
+ endTime: null,
613
+ tasks: [
614
+ {
615
+ id: "106117fa-2f25-11f1-9259-fa163e43f4f0",
616
+ ownerUser: null,
617
+ assigneeUser: {
618
+ id: 207,
619
+ nickname: "集运管理员",
620
+ avatar: "https://cos-di.sinolines.com.cn/cos-download/v1/pvf/1/cmclinks-private-cos/b8e014d5df9d15e72c3d38f6fd388086/avator.png?expires=1774442024791&signature=0101EhRCzjRM:NDA4NEVFMkM1NEU3QkM4NTBEM0UwRDAzRTYxNjJENTM0QTFBRDVGMg==",
621
+ deptId: "1000000000000010322",
622
+ deptName: "外运集运"
623
+ },
624
+ status: 1,
625
+ reason: null,
626
+ signPicUrl: null
627
+ }
628
+ ],
629
+ candidateStrategy: 60,
630
+ candidateUsers: [],
631
+ processInstanceId: null
632
+ },
633
+ {
634
+ id: "Activity_82540b22-2616-4924-9554-8466e1201240",
635
+ name: "L2会签审批",
636
+ nodeType: 11,
637
+ status: -1,
638
+ startTime: null,
639
+ endTime: null,
640
+ tasks: null,
641
+ candidateStrategy: 60,
642
+ candidateUsers: [
643
+ {
644
+ id: 207,
645
+ nickname: "集运管理员",
646
+ avatar: "https://cos-di.sinolines.com.cn/cos-download/v1/pvf/1/cmclinks-private-cos/b8e014d5df9d15e72c3d38f6fd388086/avator.png?expires=1774442024791&signature=0101EhRCzjRM:NDA4NEVFMkM1NEU3QkM4NTBEM0UwRDAzRTYxNjJENTM0QTFBRDVGMg==",
647
+ deptId: "1000000000000010322",
648
+ deptName: "外运集运"
649
+ }
650
+ ],
651
+ processInstanceId: null
652
+ },
653
+ {
654
+ id: "Activity_cae2e97a-b778-4480-94a7-c0652ca4cf4f",
655
+ name: "L3审批",
656
+ nodeType: 11,
657
+ status: -1,
658
+ startTime: null,
659
+ endTime: null,
660
+ tasks: null,
661
+ candidateStrategy: 60,
662
+ candidateUsers: [
663
+ {
664
+ id: 207,
665
+ nickname: "集运管理员",
666
+ avatar: "https://cos-di.sinolines.com.cn/cos-download/v1/pvf/1/cmclinks-private-cos/b8e014d5df9d15e72c3d38f6fd388086/avator.png?expires=1774442024791&signature=0101EhRCzjRM:NDA4NEVFMkM1NEU3QkM4NTBEM0UwRDAzRTYxNjJENTM0QTFBRDVGMg==",
667
+ deptId: "1000000000000010322",
668
+ deptName: "外运集运"
669
+ }
670
+ ],
671
+ processInstanceId: null
672
+ },
673
+ {
674
+ id: "EndEvent",
675
+ name: "结束",
676
+ nodeType: 1,
677
+ status: -1,
678
+ startTime: null,
679
+ endTime: null,
680
+ tasks: null,
681
+ candidateStrategy: null,
682
+ candidateUsers: [],
683
+ processInstanceId: null
684
+ }
685
+ ],
686
+ formFieldsPermission: {
687
+ deptId: "1",
688
+ zhiShu: "1",
689
+ gangWei: "1",
690
+ fenGuan: "1"
691
+ },
692
+ todoTask: {
693
+ id: "106117fa-2f25-11f1-9259-fa163e43f4f0",
694
+ name: "L1或签审批",
695
+ createTime: "2026-04-03T14:19:26+0800",
696
+ endTime: null,
697
+ durationInMillis: null,
698
+ status: 1,
699
+ reason: null,
700
+ ownerUser: null,
701
+ assigneeUser: {
702
+ id: 207,
703
+ nickname: "集运管理员",
704
+ avatar: "https://cos-di.sinolines.com.cn/cos-download/v1/pvf/1/cmclinks-private-cos/b8e014d5df9d15e72c3d38f6fd388086/avator.png?expires=1774442024791&signature=0101EhRCzjRM:NDA4NEVFMkM1NEU3QkM4NTBEM0UwRDAzRTYxNjJENTM0QTFBRDVGMg==",
705
+ deptId: "1000000000000010322",
706
+ deptName: "外运集运"
707
+ },
708
+ taskDefinitionKey: "Activity_7e06529d-e9fa-4062-a1ae-18742609590d",
709
+ processInstanceId: "0ffc3c74-2f25-11f1-9259-fa163e43f4f0",
710
+ processInstance: null,
711
+ parentTaskId: null,
712
+ children: [],
713
+ formId: null,
714
+ formName: null,
715
+ formConf: null,
716
+ formFields: null,
717
+ formVariables: null,
718
+ buttonsSetting: {
719
+ 1: {
720
+ displayName: "通过",
721
+ enable: !0
722
+ },
723
+ 2: {
724
+ displayName: "拒绝",
725
+ enable: !0
726
+ },
727
+ 3: {
728
+ displayName: "转办",
729
+ enable: !0
730
+ },
731
+ 4: {
732
+ displayName: "委派",
733
+ enable: !0
734
+ },
735
+ 5: {
736
+ displayName: "加签",
737
+ enable: !0
738
+ },
739
+ 6: {
740
+ displayName: "退回",
741
+ enable: !0
742
+ }
743
+ },
744
+ signEnable: !1,
745
+ reasonRequire: !1,
746
+ nodeType: 11,
747
+ timeout: null,
748
+ categoryName: null,
749
+ deptName: null,
750
+ roleName: null,
751
+ proxyRoleName: null,
752
+ proxyNickName: null,
753
+ proxyDeptName: null,
754
+ proxyUserId: null,
755
+ proxyFlag: null,
756
+ customVariables: null,
757
+ category: "edi",
758
+ priority: 95
759
+ },
760
+ processDefinition: {
761
+ icon: "https://cos-di.sinolines.com.cn/cos-download/v1/pvf/1/cmclinks-private-cos/44dfaa7b271cd6cde7f394f6aea3e24b/1.png?expires=1768910930044764&signature=0101EhRCzjRM:Mzc4OTE2MDMyNjEyQzM2RkUzNkM5RjIzRjc4MEM4Q0RFQUUwRjIwMw==",
762
+ description: "",
763
+ approvalTimeout: 1,
764
+ priority: 90,
765
+ type: null,
766
+ formType: 10,
767
+ formId: "1995677721519898626",
768
+ formCustomCreatePath: "/a",
769
+ formCustomViewPath: "/b",
770
+ visible: !0,
771
+ startUserIds: [],
772
+ startDeptIds: [],
773
+ managerUserIds: [
774
+ 207
775
+ ],
776
+ sort: 1762130143976,
777
+ allowCancelRunningProcess: !0,
778
+ allowWithdrawTask: !1,
779
+ processIdRule: {
780
+ enable: !1,
781
+ prefix: "",
782
+ infix: "",
783
+ postfix: "",
784
+ length: 5
785
+ },
786
+ autoApprovalType: 2,
787
+ sendMsgTypeSetting: [
788
+ "MAIL"
789
+ ],
790
+ titleSetting: {
791
+ enable: !1,
792
+ title: ""
793
+ },
794
+ summarySetting: {
795
+ enable: !1,
796
+ summary: []
797
+ },
798
+ processBeforeTriggerSetting: null,
799
+ processAfterTriggerSetting: null,
800
+ taskBeforeTriggerSetting: null,
801
+ taskAfterTriggerSetting: null,
802
+ id: "simple-multi-node-simple:74:85fd64b1-2ca8-11f1-b052-fa163ecf527b",
803
+ version: 74,
804
+ name: "连续多节点simple设计器",
805
+ key: "simple-multi-node-simple",
806
+ category: "edi",
807
+ categoryName: null,
808
+ modelType: 20,
809
+ modelId: "084d6e51-b84d-11f0-a9da-fa163ecf527b",
810
+ formConf: '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"default","labelWidth":"100px"},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"}}',
811
+ formFields: [
812
+ '{"type":"input","field":"fenGuan","title":"分管领导","info":"","$required":true,"_fc_id":"id_Fi7kminy00nsafc","name":"ref_Fq5eminy00nsagc","display":true,"hidden":false,"_fc_drag_tag":"input"}',
813
+ '{"type":"input","field":"gangWei","title":"岗位","info":"","$required":true,"_fc_id":"id_Ftwominy1gozalc","name":"ref_F0onminy1gozamc","display":true,"hidden":false,"_fc_drag_tag":"input"}',
814
+ '{"type":"DeptSelect","field":"deptId","title":"部门","info":"","$required":true,"props":{"checkStrictly":true},"_fc_id":"id_Fv2nminyehg2anc","name":"ref_Fzoiminyehg2aoc","display":true,"hidden":false,"_fc_drag_tag":"DeptSelect"}',
815
+ '{"type":"UserSelect","field":"zhiShu","title":"直属领导","info":"","$required":true,"props":{"checkStrictly":false},"_fc_id":"id_Fsrnmipach61abc","name":"ref_Fcuhmipach61acc","display":true,"hidden":false,"_fc_drag_tag":"UserSelect"}'
816
+ ],
817
+ formName: null,
818
+ suspensionState: 1,
819
+ deploymentTime: null,
820
+ bpmnXml: `<?xml version="1.0" encoding="UTF-8"?>
821
+ <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:flowable="http://flowable.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.omg.org/spec/BPMN/20100524/MODEL">
822
+ <process id="simple-multi-node-simple" name="连续多节点simple设计器" isExecutable="true">
823
+ <startEvent id="StartEvent" name="开始"></startEvent>
824
+ <userTask id="StartUserNode" name="发起人">
825
+ <extensionElements>
826
+ <flowable:approveType><![CDATA[1]]></flowable:approveType>
827
+ <flowable:candidateStrategy><![CDATA[36]]></flowable:candidateStrategy>
828
+ <flowable:fieldsPermission field="fenGuan" title="分管领导" permission="2"></flowable:fieldsPermission>
829
+ <flowable:fieldsPermission field="gangWei" title="岗位" permission="2"></flowable:fieldsPermission>
830
+ <flowable:fieldsPermission field="deptId" title="部门" permission="2"></flowable:fieldsPermission>
831
+ <flowable:fieldsPermission field="zhiShu" title="直属领导" permission="2"></flowable:fieldsPermission>
832
+ <flowable:buttonsSetting displayName="提交" enable="true" id="1"></flowable:buttonsSetting>
833
+ <flowable:buttonsSetting displayName="拒绝" enable="false" id="2"></flowable:buttonsSetting>
834
+ <flowable:buttonsSetting displayName="抄送" enable="false" id="7"></flowable:buttonsSetting>
835
+ <flowable:buttonsSetting displayName="转办" enable="false" id="3"></flowable:buttonsSetting>
836
+ <flowable:buttonsSetting displayName="委派" enable="false" id="4"></flowable:buttonsSetting>
837
+ <flowable:buttonsSetting displayName="加签" enable="false" id="5"></flowable:buttonsSetting>
838
+ <flowable:buttonsSetting displayName="退回" enable="false" id="6"></flowable:buttonsSetting>
839
+ <flowable:assignStartUserHandlerType><![CDATA[2]]></flowable:assignStartUserHandlerType>
840
+ </extensionElements>
841
+ </userTask>
842
+ <exclusiveGateway id="GateWay_4d54e0c7-ad05-4c78-a117-b31b9ff8c7d1" default="Flow_928eac73-294a-425f-bf01-9c045d29a92f"></exclusiveGateway>
843
+ <userTask id="Activity_7e06529d-e9fa-4062-a1ae-18742609590d" name="L1或签审批">
844
+ <extensionElements>
845
+ <flowable:approveType><![CDATA[1]]></flowable:approveType>
846
+ <flowable:candidateStrategy><![CDATA[60]]></flowable:candidateStrategy>
847
+ <flowable:candidateParam><![CDATA[\${L1UserList}]]></flowable:candidateParam>
848
+ <flowable:fieldsPermission field="fenGuan" title="分管领导" permission="1"></flowable:fieldsPermission>
849
+ <flowable:fieldsPermission field="gangWei" title="岗位" permission="1"></flowable:fieldsPermission>
850
+ <flowable:fieldsPermission field="deptId" title="部门" permission="1"></flowable:fieldsPermission>
851
+ <flowable:fieldsPermission field="zhiShu" title="直属领导" permission="1"></flowable:fieldsPermission>
852
+ <flowable:buttonsSetting displayName="通过" enable="true" id="1"></flowable:buttonsSetting>
853
+ <flowable:buttonsSetting displayName="拒绝" enable="true" id="2"></flowable:buttonsSetting>
854
+ <flowable:buttonsSetting displayName="转办" enable="true" id="3"></flowable:buttonsSetting>
855
+ <flowable:buttonsSetting displayName="委派" enable="true" id="4"></flowable:buttonsSetting>
856
+ <flowable:buttonsSetting displayName="加签" enable="true" id="5"></flowable:buttonsSetting>
857
+ <flowable:buttonsSetting displayName="退回" enable="true" id="6"></flowable:buttonsSetting>
858
+ <flowable:extendProcessSendSetting><![CDATA[true]]></flowable:extendProcessSendSetting>
859
+ <flowable:approveMethod><![CDATA[3]]></flowable:approveMethod>
860
+ <flowable:rejectHandlerType><![CDATA[1]]></flowable:rejectHandlerType>
861
+ <flowable:assignStartUserHandlerType><![CDATA[1]]></flowable:assignStartUserHandlerType>
862
+ <flowable:assignEmptyHandlerType><![CDATA[1]]></flowable:assignEmptyHandlerType>
863
+ <flowable:signEnable><![CDATA[false]]></flowable:signEnable>
864
+ <flowable:reasonRequire><![CDATA[false]]></flowable:reasonRequire>
865
+ <flowable:nodeType><![CDATA[11]]></flowable:nodeType>
866
+ </extensionElements>
867
+ <multiInstanceLoopCharacteristics isSequential="false" flowable:collection="\${coll_userList}">
868
+ <completionCondition>\${ nrOfCompletedInstances &gt; 0 }</completionCondition>
869
+ </multiInstanceLoopCharacteristics>
870
+ </userTask>
871
+ <exclusiveGateway id="GateWay_5b39e96c-80a3-4be3-b1b1-ad9c55c52563" default="Flow_c35e6e1c-2249-45b2-bfd2-92dc4f141426"></exclusiveGateway>
872
+ <userTask id="Activity_82540b22-2616-4924-9554-8466e1201240" name="L2会签审批">
873
+ <extensionElements>
874
+ <flowable:approveType><![CDATA[1]]></flowable:approveType>
875
+ <flowable:candidateStrategy><![CDATA[60]]></flowable:candidateStrategy>
876
+ <flowable:candidateParam><![CDATA[\${L2UserList}]]></flowable:candidateParam>
877
+ <flowable:fieldsPermission field="days" title="请假天数" permission="1"></flowable:fieldsPermission>
878
+ <flowable:buttonsSetting displayName="通过" enable="true" id="1"></flowable:buttonsSetting>
879
+ <flowable:buttonsSetting displayName="拒绝" enable="true" id="2"></flowable:buttonsSetting>
880
+ <flowable:buttonsSetting displayName="转办" enable="true" id="3"></flowable:buttonsSetting>
881
+ <flowable:buttonsSetting displayName="委派" enable="true" id="4"></flowable:buttonsSetting>
882
+ <flowable:buttonsSetting displayName="加签" enable="true" id="5"></flowable:buttonsSetting>
883
+ <flowable:buttonsSetting displayName="退回" enable="true" id="6"></flowable:buttonsSetting>
884
+ <flowable:extendProcessSendSetting><![CDATA[null]]></flowable:extendProcessSendSetting>
885
+ <flowable:approveMethod><![CDATA[2]]></flowable:approveMethod>
886
+ <flowable:rejectHandlerType><![CDATA[1]]></flowable:rejectHandlerType>
887
+ <flowable:assignStartUserHandlerType><![CDATA[1]]></flowable:assignStartUserHandlerType>
888
+ <flowable:assignEmptyHandlerType><![CDATA[1]]></flowable:assignEmptyHandlerType>
889
+ <flowable:signEnable><![CDATA[false]]></flowable:signEnable>
890
+ <flowable:reasonRequire><![CDATA[false]]></flowable:reasonRequire>
891
+ <flowable:nodeType><![CDATA[11]]></flowable:nodeType>
892
+ </extensionElements>
893
+ <multiInstanceLoopCharacteristics isSequential="false" flowable:collection="\${coll_userList}">
894
+ <completionCondition>\${ nrOfCompletedInstances/nrOfInstances &gt;= 1.00}</completionCondition>
895
+ </multiInstanceLoopCharacteristics>
896
+ </userTask>
897
+ <exclusiveGateway id="GateWay_f6496e3b-2adf-406b-a6aa-087682eab021" default="Flow_1d7a231a-cd17-46c0-b9d4-25b3403bfe3c"></exclusiveGateway>
898
+ <userTask id="Activity_cae2e97a-b778-4480-94a7-c0652ca4cf4f" name="L3审批">
899
+ <extensionElements>
900
+ <flowable:approveType><![CDATA[1]]></flowable:approveType>
901
+ <flowable:candidateStrategy><![CDATA[60]]></flowable:candidateStrategy>
902
+ <flowable:candidateParam><![CDATA[\${L3UserList}]]></flowable:candidateParam>
903
+ <flowable:fieldsPermission field="fenGuan" title="分管领导" permission="1"></flowable:fieldsPermission>
904
+ <flowable:fieldsPermission field="gangWei" title="岗位" permission="1"></flowable:fieldsPermission>
905
+ <flowable:fieldsPermission field="deptId" title="部门" permission="1"></flowable:fieldsPermission>
906
+ <flowable:fieldsPermission field="zhiShu" title="直属领导" permission="1"></flowable:fieldsPermission>
907
+ <flowable:buttonsSetting displayName="通过" enable="true" id="1"></flowable:buttonsSetting>
908
+ <flowable:buttonsSetting displayName="拒绝" enable="true" id="2"></flowable:buttonsSetting>
909
+ <flowable:buttonsSetting displayName="转办" enable="true" id="3"></flowable:buttonsSetting>
910
+ <flowable:buttonsSetting displayName="委派" enable="true" id="4"></flowable:buttonsSetting>
911
+ <flowable:buttonsSetting displayName="加签" enable="true" id="5"></flowable:buttonsSetting>
912
+ <flowable:buttonsSetting displayName="退回" enable="true" id="6"></flowable:buttonsSetting>
913
+ <flowable:extendProcessSendSetting><![CDATA[true]]></flowable:extendProcessSendSetting>
914
+ <flowable:approveMethod><![CDATA[4]]></flowable:approveMethod>
915
+ <flowable:rejectHandlerType><![CDATA[1]]></flowable:rejectHandlerType>
916
+ <flowable:assignStartUserHandlerType><![CDATA[1]]></flowable:assignStartUserHandlerType>
917
+ <flowable:assignEmptyHandlerType><![CDATA[1]]></flowable:assignEmptyHandlerType>
918
+ <flowable:signEnable><![CDATA[false]]></flowable:signEnable>
919
+ <flowable:reasonRequire><![CDATA[false]]></flowable:reasonRequire>
920
+ <flowable:nodeType><![CDATA[11]]></flowable:nodeType>
921
+ </extensionElements>
922
+ <multiInstanceLoopCharacteristics isSequential="true" flowable:collection="\${coll_userList}">
923
+ <loopCardinality>1</loopCardinality>
924
+ <completionCondition>\${ nrOfCompletedInstances &gt;= nrOfInstances }</completionCondition>
925
+ </multiInstanceLoopCharacteristics>
926
+ </userTask>
927
+ <endEvent id="EndEvent" name="结束"></endEvent>
928
+ <sequenceFlow id="sequenceFlow-f434973e-3ae2-4f01-bb38-49dee26aed04" sourceRef="StartEvent" targetRef="StartUserNode"></sequenceFlow>
929
+ <sequenceFlow id="sequenceFlow-3319ffd6-e602-44ad-9045-4f19376b83e9" sourceRef="StartUserNode" targetRef="GateWay_4d54e0c7-ad05-4c78-a117-b31b9ff8c7d1"></sequenceFlow>
930
+ <sequenceFlow id="Flow_026df4de-49c1-43ba-9a98-28f0568776d0" name="L1审批存在用户" sourceRef="GateWay_4d54e0c7-ad05-4c78-a117-b31b9ff8c7d1" targetRef="Activity_7e06529d-e9fa-4062-a1ae-18742609590d">
931
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[\${L1UserList.size() > 0}]]></conditionExpression>
932
+ </sequenceFlow>
933
+ <sequenceFlow id="sequenceFlow-122adc53-accc-4da5-ba34-92f3b11e8789" sourceRef="Activity_7e06529d-e9fa-4062-a1ae-18742609590d" targetRef="GateWay_5b39e96c-80a3-4be3-b1b1-ad9c55c52563"></sequenceFlow>
934
+ <sequenceFlow id="Flow_928eac73-294a-425f-bf01-9c045d29a92f" name="L1审批不存在用户" sourceRef="GateWay_4d54e0c7-ad05-4c78-a117-b31b9ff8c7d1" targetRef="GateWay_5b39e96c-80a3-4be3-b1b1-ad9c55c52563"></sequenceFlow>
935
+ <sequenceFlow id="Flow_8ca2525a-0c23-4f05-a843-36c364facb96" name="L2审批存在用户" sourceRef="GateWay_5b39e96c-80a3-4be3-b1b1-ad9c55c52563" targetRef="Activity_82540b22-2616-4924-9554-8466e1201240">
936
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[\${L2UserList.size() > 0}]]></conditionExpression>
937
+ </sequenceFlow>
938
+ <sequenceFlow id="sequenceFlow-b88a1c83-a42b-46c2-a92d-ba6798fed1de" sourceRef="Activity_82540b22-2616-4924-9554-8466e1201240" targetRef="GateWay_f6496e3b-2adf-406b-a6aa-087682eab021"></sequenceFlow>
939
+ <sequenceFlow id="Flow_c35e6e1c-2249-45b2-bfd2-92dc4f141426" name="L2审批不存在用户" sourceRef="GateWay_5b39e96c-80a3-4be3-b1b1-ad9c55c52563" targetRef="GateWay_f6496e3b-2adf-406b-a6aa-087682eab021"></sequenceFlow>
940
+ <sequenceFlow id="Flow_b1c94590-0170-41af-a462-f02b6f86f7d0" name="L3审批存在用户" sourceRef="GateWay_f6496e3b-2adf-406b-a6aa-087682eab021" targetRef="Activity_cae2e97a-b778-4480-94a7-c0652ca4cf4f">
941
+ <conditionExpression xsi:type="tFormalExpression"><![CDATA[\${L3UserList.size() > 0}]]></conditionExpression>
942
+ </sequenceFlow>
943
+ <sequenceFlow id="sequenceFlow-e688ab64-9229-4125-86fe-4bbdb6668ccb" sourceRef="Activity_cae2e97a-b778-4480-94a7-c0652ca4cf4f" targetRef="EndEvent"></sequenceFlow>
944
+ <sequenceFlow id="Flow_1d7a231a-cd17-46c0-b9d4-25b3403bfe3c" name="L3审批不存在用户" sourceRef="GateWay_f6496e3b-2adf-406b-a6aa-087682eab021" targetRef="EndEvent"></sequenceFlow>
945
+ </process>
946
+ <bpmndi:BPMNDiagram id="BPMNDiagram_simple-multi-node-simple">
947
+ <bpmndi:BPMNPlane bpmnElement="simple-multi-node-simple" id="BPMNPlane_simple-multi-node-simple">
948
+ <bpmndi:BPMNShape bpmnElement="StartUserNode" id="BPMNShape_StartUserNode">
949
+ <omgdc:Bounds height="60.0" width="100.0" x="80.0" y="59.0"></omgdc:Bounds>
950
+ </bpmndi:BPMNShape>
951
+ <bpmndi:BPMNShape bpmnElement="GateWay_5b39e96c-80a3-4be3-b1b1-ad9c55c52563" id="BPMNShape_GateWay_5b39e96c-80a3-4be3-b1b1-ad9c55c52563">
952
+ <omgdc:Bounds height="40.0" width="40.0" x="470.0" y="60.0"></omgdc:Bounds>
953
+ </bpmndi:BPMNShape>
954
+ <bpmndi:BPMNShape bpmnElement="Activity_cae2e97a-b778-4480-94a7-c0652ca4cf4f" id="BPMNShape_Activity_cae2e97a-b778-4480-94a7-c0652ca4cf4f">
955
+ <omgdc:Bounds height="60.0" width="100.0" x="800.0" y="100.0"></omgdc:Bounds>
956
+ </bpmndi:BPMNShape>
957
+ <bpmndi:BPMNShape bpmnElement="GateWay_4d54e0c7-ad05-4c78-a117-b31b9ff8c7d1" id="BPMNShape_GateWay_4d54e0c7-ad05-4c78-a117-b31b9ff8c7d1">
958
+ <omgdc:Bounds height="40.0" width="40.0" x="230.0" y="72.0"></omgdc:Bounds>
959
+ </bpmndi:BPMNShape>
960
+ <bpmndi:BPMNShape bpmnElement="Activity_7e06529d-e9fa-4062-a1ae-18742609590d" id="BPMNShape_Activity_7e06529d-e9fa-4062-a1ae-18742609590d">
961
+ <omgdc:Bounds height="60.0" width="100.0" x="320.0" y="0.0"></omgdc:Bounds>
962
+ </bpmndi:BPMNShape>
963
+ <bpmndi:BPMNShape bpmnElement="StartEvent" id="BPMNShape_StartEvent">
964
+ <omgdc:Bounds height="30.0" width="30.0" x="0.0" y="74.0"></omgdc:Bounds>
965
+ </bpmndi:BPMNShape>
966
+ <bpmndi:BPMNShape bpmnElement="Activity_82540b22-2616-4924-9554-8466e1201240" id="BPMNShape_Activity_82540b22-2616-4924-9554-8466e1201240">
967
+ <omgdc:Bounds height="60.0" width="100.0" x="560.0" y="100.0"></omgdc:Bounds>
968
+ </bpmndi:BPMNShape>
969
+ <bpmndi:BPMNShape bpmnElement="EndEvent" id="BPMNShape_EndEvent">
970
+ <omgdc:Bounds height="30.0" width="30.0" x="950.0" y="50.0"></omgdc:Bounds>
971
+ </bpmndi:BPMNShape>
972
+ <bpmndi:BPMNShape bpmnElement="GateWay_f6496e3b-2adf-406b-a6aa-087682eab021" id="BPMNShape_GateWay_f6496e3b-2adf-406b-a6aa-087682eab021">
973
+ <omgdc:Bounds height="40.0" width="40.0" x="710.0" y="45.0"></omgdc:Bounds>
974
+ </bpmndi:BPMNShape>
975
+ <bpmndi:BPMNEdge bpmnElement="Flow_026df4de-49c1-43ba-9a98-28f0568776d0" id="BPMNEdge_Flow_026df4de-49c1-43ba-9a98-28f0568776d0">
976
+ <omgdi:waypoint x="270.0" y="84.0"></omgdi:waypoint>
977
+ <omgdi:waypoint x="282.0" y="84.0"></omgdi:waypoint>
978
+ <omgdi:waypoint x="282.0" y="30.0"></omgdi:waypoint>
979
+ <omgdi:waypoint x="320.0" y="30.0"></omgdi:waypoint>
980
+ </bpmndi:BPMNEdge>
981
+ <bpmndi:BPMNEdge bpmnElement="sequenceFlow-b88a1c83-a42b-46c2-a92d-ba6798fed1de" id="BPMNEdge_sequenceFlow-b88a1c83-a42b-46c2-a92d-ba6798fed1de">
982
+ <omgdi:waypoint x="660.0" y="130.0"></omgdi:waypoint>
983
+ <omgdi:waypoint x="672.0" y="130.0"></omgdi:waypoint>
984
+ <omgdi:waypoint x="672.0" y="65.0"></omgdi:waypoint>
985
+ <omgdi:waypoint x="710.0" y="65.0"></omgdi:waypoint>
986
+ </bpmndi:BPMNEdge>
987
+ <bpmndi:BPMNEdge bpmnElement="Flow_928eac73-294a-425f-bf01-9c045d29a92f" id="BPMNEdge_Flow_928eac73-294a-425f-bf01-9c045d29a92f">
988
+ <omgdi:waypoint x="270.0" y="99.0"></omgdi:waypoint>
989
+ <omgdi:waypoint x="282.0" y="99.0"></omgdi:waypoint>
990
+ <omgdi:waypoint x="282.0" y="80.0"></omgdi:waypoint>
991
+ <omgdi:waypoint x="470.0" y="80.0"></omgdi:waypoint>
992
+ </bpmndi:BPMNEdge>
993
+ <bpmndi:BPMNEdge bpmnElement="sequenceFlow-122adc53-accc-4da5-ba34-92f3b11e8789" id="BPMNEdge_sequenceFlow-122adc53-accc-4da5-ba34-92f3b11e8789">
994
+ <omgdi:waypoint x="420.0" y="30.0"></omgdi:waypoint>
995
+ <omgdi:waypoint x="432.0" y="30.0"></omgdi:waypoint>
996
+ <omgdi:waypoint x="432.0" y="80.0"></omgdi:waypoint>
997
+ <omgdi:waypoint x="470.0" y="80.0"></omgdi:waypoint>
998
+ </bpmndi:BPMNEdge>
999
+ <bpmndi:BPMNEdge bpmnElement="Flow_1d7a231a-cd17-46c0-b9d4-25b3403bfe3c" id="BPMNEdge_Flow_1d7a231a-cd17-46c0-b9d4-25b3403bfe3c">
1000
+ <omgdi:waypoint x="750.0" y="57.0"></omgdi:waypoint>
1001
+ <omgdi:waypoint x="762.0" y="57.0"></omgdi:waypoint>
1002
+ <omgdi:waypoint x="762.0" y="65.0"></omgdi:waypoint>
1003
+ <omgdi:waypoint x="950.0" y="65.0"></omgdi:waypoint>
1004
+ </bpmndi:BPMNEdge>
1005
+ <bpmndi:BPMNEdge bpmnElement="Flow_c35e6e1c-2249-45b2-bfd2-92dc4f141426" id="BPMNEdge_Flow_c35e6e1c-2249-45b2-bfd2-92dc4f141426">
1006
+ <omgdi:waypoint x="510.0" y="72.0"></omgdi:waypoint>
1007
+ <omgdi:waypoint x="522.0" y="72.0"></omgdi:waypoint>
1008
+ <omgdi:waypoint x="522.0" y="65.0"></omgdi:waypoint>
1009
+ <omgdi:waypoint x="710.0" y="65.0"></omgdi:waypoint>
1010
+ </bpmndi:BPMNEdge>
1011
+ <bpmndi:BPMNEdge bpmnElement="sequenceFlow-e688ab64-9229-4125-86fe-4bbdb6668ccb" id="BPMNEdge_sequenceFlow-e688ab64-9229-4125-86fe-4bbdb6668ccb">
1012
+ <omgdi:waypoint x="900.0" y="130.0"></omgdi:waypoint>
1013
+ <omgdi:waypoint x="912.0" y="130.0"></omgdi:waypoint>
1014
+ <omgdi:waypoint x="912.0" y="65.0"></omgdi:waypoint>
1015
+ <omgdi:waypoint x="950.0" y="65.0"></omgdi:waypoint>
1016
+ </bpmndi:BPMNEdge>
1017
+ <bpmndi:BPMNEdge bpmnElement="sequenceFlow-f434973e-3ae2-4f01-bb38-49dee26aed04" id="BPMNEdge_sequenceFlow-f434973e-3ae2-4f01-bb38-49dee26aed04">
1018
+ <omgdi:waypoint x="30.0" y="89.0"></omgdi:waypoint>
1019
+ <omgdi:waypoint x="80.0" y="89.0"></omgdi:waypoint>
1020
+ </bpmndi:BPMNEdge>
1021
+ <bpmndi:BPMNEdge bpmnElement="sequenceFlow-3319ffd6-e602-44ad-9045-4f19376b83e9" id="BPMNEdge_sequenceFlow-3319ffd6-e602-44ad-9045-4f19376b83e9">
1022
+ <omgdi:waypoint x="180.0" y="89.0"></omgdi:waypoint>
1023
+ <omgdi:waypoint x="192.0" y="89.0"></omgdi:waypoint>
1024
+ <omgdi:waypoint x="192.0" y="92.0"></omgdi:waypoint>
1025
+ <omgdi:waypoint x="230.0" y="92.0"></omgdi:waypoint>
1026
+ </bpmndi:BPMNEdge>
1027
+ <bpmndi:BPMNEdge bpmnElement="Flow_8ca2525a-0c23-4f05-a843-36c364facb96" id="BPMNEdge_Flow_8ca2525a-0c23-4f05-a843-36c364facb96">
1028
+ <omgdi:waypoint x="510.0" y="87.0"></omgdi:waypoint>
1029
+ <omgdi:waypoint x="522.0" y="87.0"></omgdi:waypoint>
1030
+ <omgdi:waypoint x="522.0" y="130.0"></omgdi:waypoint>
1031
+ <omgdi:waypoint x="560.0" y="130.0"></omgdi:waypoint>
1032
+ </bpmndi:BPMNEdge>
1033
+ <bpmndi:BPMNEdge bpmnElement="Flow_b1c94590-0170-41af-a462-f02b6f86f7d0" id="BPMNEdge_Flow_b1c94590-0170-41af-a462-f02b6f86f7d0">
1034
+ <omgdi:waypoint x="750.0" y="72.0"></omgdi:waypoint>
1035
+ <omgdi:waypoint x="762.0" y="72.0"></omgdi:waypoint>
1036
+ <omgdi:waypoint x="762.0" y="130.0"></omgdi:waypoint>
1037
+ <omgdi:waypoint x="800.0" y="130.0"></omgdi:waypoint>
1038
+ </bpmndi:BPMNEdge>
1039
+ </bpmndi:BPMNPlane>
1040
+ </bpmndi:BPMNDiagram>
1041
+ </definitions>`,
1042
+ simpleModel: '{"id":"StartUserNode","type":10,"name":"发起人","showText":"已设置","childNode":{"id":"GateWay_4d54e0c7-ad05-4c78-a117-b31b9ff8c7d1","type":51,"name":"条件分支","childNode":{"id":"GateWay_5b39e96c-80a3-4be3-b1b1-ad9c55c52563","type":51,"name":"条件分支","childNode":{"id":"GateWay_f6496e3b-2adf-406b-a6aa-087682eab021","type":51,"name":"条件分支","childNode":{"id":"EndEvent","type":1,"name":"结束"},"conditionNodes":[{"id":"Flow_b1c94590-0170-41af-a462-f02b6f86f7d0","type":50,"name":"L3审批存在用户","showText":"表达式:${L3UserList.size() > 0}","childNode":{"id":"Activity_cae2e97a-b778-4480-94a7-c0652ca4cf4f","type":11,"name":"L3审批","showText":"流程表达式:${L3UserList}","candidateStrategy":60,"candidateParam":"${L3UserList}","approveType":1,"approveMethod":4,"fieldsPermission":[{"field":"fenGuan","title":"分管领导","permission":"1"},{"field":"gangWei","title":"岗位","permission":"1"},{"field":"deptId","title":"部门","permission":"1"},{"field":"zhiShu","title":"直属领导","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"skipExpression":"","extendProcessSendSetting":true,"rejectHandler":{"type":1},"timeoutHandler":{"enable":false},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1},"taskCreateListener":{"enable":false,"header":[],"body":[]},"taskAssignListener":{"enable":false,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"header":[],"body":[]}},"conditionSetting":{"conditionType":1,"conditionExpression":"${L3UserList.size() > 0}","defaultFlow":false}},{"id":"Flow_1d7a231a-cd17-46c0-b9d4-25b3403bfe3c","type":50,"name":"L3审批不存在用户","showText":"未满足其它条件时,将进入此分支","conditionSetting":{"defaultFlow":true}}]},"conditionNodes":[{"id":"Flow_8ca2525a-0c23-4f05-a843-36c364facb96","type":50,"name":"L2审批存在用户","showText":"表达式:${L2UserList.size() > 0}","childNode":{"id":"Activity_82540b22-2616-4924-9554-8466e1201240","type":11,"name":"L2会签审批","showText":"流程表达式:${L2UserList}","candidateStrategy":60,"candidateParam":"${L2UserList}","approveType":1,"approveMethod":2,"approveRatio":100,"fieldsPermission":[{"field":"days","title":"请假天数","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"skipExpression":"","rejectHandler":{"type":1},"timeoutHandler":{"enable":false},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1},"taskCreateListener":{"enable":false,"header":[],"body":[]},"taskAssignListener":{"enable":false,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"header":[],"body":[]}},"conditionSetting":{"conditionType":1,"conditionExpression":"${L2UserList.size() > 0}","defaultFlow":false}},{"id":"Flow_c35e6e1c-2249-45b2-bfd2-92dc4f141426","type":50,"name":"L2审批不存在用户","showText":"未满足其它条件时,将进入此分支","conditionSetting":{"defaultFlow":true}}]},"conditionNodes":[{"id":"Flow_026df4de-49c1-43ba-9a98-28f0568776d0","type":50,"name":"L1审批存在用户","showText":"表达式:${L1UserList.size() > 0}","childNode":{"id":"Activity_7e06529d-e9fa-4062-a1ae-18742609590d","type":11,"name":"L1或签审批","showText":"流程表达式:${L1UserList}","candidateStrategy":60,"candidateParam":"${L1UserList}","approveType":1,"approveMethod":3,"fieldsPermission":[{"field":"fenGuan","title":"分管领导","permission":"1"},{"field":"gangWei","title":"岗位","permission":"1"},{"field":"deptId","title":"部门","permission":"1"},{"field":"zhiShu","title":"直属领导","permission":"1"}],"buttonsSetting":[{"id":1,"displayName":"通过","enable":true},{"id":2,"displayName":"拒绝","enable":true},{"id":3,"displayName":"转办","enable":true},{"id":4,"displayName":"委派","enable":true},{"id":5,"displayName":"加签","enable":true},{"id":6,"displayName":"退回","enable":true}],"signEnable":false,"reasonRequire":false,"skipExpression":"","extendProcessSendSetting":true,"rejectHandler":{"type":1},"timeoutHandler":{"enable":false},"assignStartUserHandlerType":1,"assignEmptyHandler":{"type":1},"taskCreateListener":{"enable":false,"header":[],"body":[]},"taskAssignListener":{"enable":false,"header":[],"body":[]},"taskCompleteListener":{"enable":false,"header":[],"body":[]}},"conditionSetting":{"conditionType":1,"conditionExpression":"${L1UserList.size() > 0}","defaultFlow":false}},{"id":"Flow_928eac73-294a-425f-bf01-9c045d29a92f","type":50,"name":"L1审批不存在用户","showText":"未满足其它条件时,将进入此分支","conditionSetting":{"defaultFlow":true}}]},"fieldsPermission":[{"field":"fenGuan","title":"分管领导","permission":"2"},{"field":"gangWei","title":"岗位","permission":"2"},{"field":"deptId","title":"部门","permission":"2"},{"field":"zhiShu","title":"直属领导","permission":"2"}],"buttonsSetting":[{"id":1,"displayName":"提交","enable":true},{"id":2,"displayName":"拒绝","enable":false},{"id":7,"displayName":"抄送","enable":false},{"id":3,"displayName":"转办","enable":false},{"id":4,"displayName":"委派","enable":false},{"id":5,"displayName":"加签","enable":false},{"id":6,"displayName":"退回","enable":false}]}'
1043
+ },
1044
+ processInstance: {
1045
+ id: "0ffc3c74-2f25-11f1-9259-fa163e43f4f0",
1046
+ name: "连续多节点simple设计器",
1047
+ summary: null,
1048
+ category: null,
1049
+ categoryName: null,
1050
+ status: 1,
1051
+ startTime: "2026-04-03T14:19:25+0800",
1052
+ endTime: null,
1053
+ durationInMillis: null,
1054
+ formVariables: {
1055
+ _FLOWABLE_SKIP_EXPRESSION_ENABLED: !0,
1056
+ approvalDialogComponentPath: "/line/testSimpleMutilNode/DialogDetail.vue",
1057
+ L2ApproveType: 1,
1058
+ customVariables: {},
1059
+ L2UserList: [
1060
+ 207
1061
+ ],
1062
+ PROCESS_START_USER_ID: 207,
1063
+ approvalPageOpenType: "openDialog",
1064
+ L1ApproveType: 2,
1065
+ L3UserList: [
1066
+ 207
1067
+ ],
1068
+ USER_ID_207: {
1069
+ userId: 207,
1070
+ id: "1000000000000010322",
1071
+ name: "外运集运",
1072
+ roleId: 170,
1073
+ roleName: "租户管理员",
1074
+ nickName: "集运管理员"
1075
+ },
1076
+ L1UserList: [
1077
+ 207
1078
+ ],
1079
+ L3ApproveType: 2,
1080
+ applicationPrefix: "/svl",
1081
+ approvalRouteUrl: "/line/bpmSimpleMutilNode/detail"
1082
+ },
1083
+ businessKey: "2039950881344360448",
1084
+ startUser: {
1085
+ id: 207,
1086
+ nickname: "集运管理员",
1087
+ avatar: "https://cos-di.sinolines.com.cn/cos-download/v1/pvf/1/cmclinks-private-cos/b8e014d5df9d15e72c3d38f6fd388086/avator.png?expires=1774442024791&signature=0101EhRCzjRM:NDA4NEVFMkM1NEU3QkM4NTBEM0UwRDAzRTYxNjJENTM0QTFBRDVGMg==",
1088
+ deptId: "1000000000000010322",
1089
+ deptName: "外运集运"
1090
+ },
1091
+ processDefinitionId: "simple-multi-node-simple:74:85fd64b1-2ca8-11f1-b052-fa163ecf527b",
1092
+ processDefinition: null,
1093
+ tasks: null
1094
+ }
1095
+ };
1096
+ w.value = b == null ? void 0 : b.processInstance, F.value = (i = (S = b == null ? void 0 : b.processInstance) == null ? void 0 : S.formVariables) == null ? void 0 : i.applicationPrefix, g.value = b == null ? void 0 : b.todoTask;
598
1097
  } finally {
599
- l.value = !1;
1098
+ c.value = !1;
600
1099
  }
601
- }, j = async () => {
602
- D.value = await bt(y.value);
1100
+ }, L = async () => {
1101
+ v.value = [
1102
+ {
1103
+ id: "0fff48cd-2f25-11f1-9259-fa163e43f4f0",
1104
+ name: "发起人",
1105
+ createTime: "2026-04-03T14:19:25+0800",
1106
+ endTime: "2026-04-03T14:19:26+0800",
1107
+ durationInMillis: 618,
1108
+ status: 2,
1109
+ reason: "发起人节点首次自动通过",
1110
+ ownerUser: null,
1111
+ assigneeUser: {
1112
+ id: 207,
1113
+ nickname: "集运管理员",
1114
+ avatar: "https://cos-di.sinolines.com.cn/cos-download/v1/pvf/1/cmclinks-private-cos/b8e014d5df9d15e72c3d38f6fd388086/avator.png?expires=1774442024791&signature=0101EhRCzjRM:NDA4NEVFMkM1NEU3QkM4NTBEM0UwRDAzRTYxNjJENTM0QTFBRDVGMg==",
1115
+ deptId: "1000000000000010322",
1116
+ deptName: "外运集运"
1117
+ },
1118
+ taskDefinitionKey: "StartUserNode",
1119
+ processInstanceId: "0ffc3c74-2f25-11f1-9259-fa163e43f4f0",
1120
+ processInstance: {
1121
+ id: "0ffc3c74-2f25-11f1-9259-fa163e43f4f0",
1122
+ name: "连续多节点simple设计器",
1123
+ createTime: null,
1124
+ processDefinitionId: "simple-multi-node-simple:74:85fd64b1-2ca8-11f1-b052-fa163ecf527b",
1125
+ businessKey: "2039950881344360448",
1126
+ summary: null,
1127
+ startUser: {
1128
+ id: 207,
1129
+ nickname: "集运管理员",
1130
+ avatar: "https://cos-di.sinolines.com.cn/cos-download/v1/pvf/1/cmclinks-private-cos/b8e014d5df9d15e72c3d38f6fd388086/avator.png?expires=1774442024791&signature=0101EhRCzjRM:NDA4NEVFMkM1NEU3QkM4NTBEM0UwRDAzRTYxNjJENTM0QTFBRDVGMg==",
1131
+ deptId: "1000000000000010322",
1132
+ deptName: null
1133
+ },
1134
+ deptName: null,
1135
+ formVariables: null
1136
+ },
1137
+ parentTaskId: null,
1138
+ children: null,
1139
+ formId: null,
1140
+ formName: null,
1141
+ formConf: null,
1142
+ formFields: null,
1143
+ formVariables: null,
1144
+ buttonsSetting: null,
1145
+ signEnable: null,
1146
+ reasonRequire: null,
1147
+ nodeType: null,
1148
+ timeout: null,
1149
+ categoryName: null,
1150
+ deptName: "外运集运",
1151
+ roleName: "租户管理员",
1152
+ proxyRoleName: null,
1153
+ proxyNickName: null,
1154
+ proxyDeptName: null,
1155
+ proxyUserId: null,
1156
+ proxyFlag: null,
1157
+ customVariables: null,
1158
+ category: "edi",
1159
+ priority: 50,
1160
+ editable: !0
1161
+ },
1162
+ {
1163
+ id: "106117fa-2f25-11f1-9259-fa163e43f4f0",
1164
+ name: "L1或签审批",
1165
+ createTime: "2026-04-03T14:19:26+0800",
1166
+ endTime: null,
1167
+ durationInMillis: null,
1168
+ status: 1,
1169
+ reason: null,
1170
+ ownerUser: null,
1171
+ assigneeUser: {
1172
+ id: 207,
1173
+ nickname: "集运管理员",
1174
+ avatar: "https://cos-di.sinolines.com.cn/cos-download/v1/pvf/1/cmclinks-private-cos/b8e014d5df9d15e72c3d38f6fd388086/avator.png?expires=1774442024791&signature=0101EhRCzjRM:NDA4NEVFMkM1NEU3QkM4NTBEM0UwRDAzRTYxNjJENTM0QTFBRDVGMg==",
1175
+ deptId: "1000000000000010322",
1176
+ deptName: "外运集运"
1177
+ },
1178
+ taskDefinitionKey: "Activity_7e06529d-e9fa-4062-a1ae-18742609590d",
1179
+ processInstanceId: "0ffc3c74-2f25-11f1-9259-fa163e43f4f0",
1180
+ processInstance: {
1181
+ id: "0ffc3c74-2f25-11f1-9259-fa163e43f4f0",
1182
+ name: "连续多节点simple设计器",
1183
+ createTime: null,
1184
+ processDefinitionId: "simple-multi-node-simple:74:85fd64b1-2ca8-11f1-b052-fa163ecf527b",
1185
+ businessKey: "2039950881344360448",
1186
+ summary: null,
1187
+ startUser: {
1188
+ id: 207,
1189
+ nickname: "集运管理员",
1190
+ avatar: "https://cos-di.sinolines.com.cn/cos-download/v1/pvf/1/cmclinks-private-cos/b8e014d5df9d15e72c3d38f6fd388086/avator.png?expires=1774442024791&signature=0101EhRCzjRM:NDA4NEVFMkM1NEU3QkM4NTBEM0UwRDAzRTYxNjJENTM0QTFBRDVGMg==",
1191
+ deptId: "1000000000000010322",
1192
+ deptName: null
1193
+ },
1194
+ deptName: null,
1195
+ formVariables: null
1196
+ },
1197
+ parentTaskId: null,
1198
+ children: null,
1199
+ formId: null,
1200
+ formName: null,
1201
+ formConf: null,
1202
+ formFields: null,
1203
+ formVariables: null,
1204
+ buttonsSetting: null,
1205
+ signEnable: null,
1206
+ reasonRequire: null,
1207
+ nodeType: null,
1208
+ timeout: null,
1209
+ categoryName: null,
1210
+ deptName: "外运集运",
1211
+ roleName: "租户管理员",
1212
+ proxyRoleName: null,
1213
+ proxyNickName: null,
1214
+ proxyDeptName: null,
1215
+ proxyUserId: null,
1216
+ proxyFlag: null,
1217
+ customVariables: null,
1218
+ category: "edi",
1219
+ priority: 95,
1220
+ editable: !0
1221
+ }
1222
+ ];
603
1223
  };
604
- wt(
605
- () => d.processInstanceId,
606
- (T) => {
607
- T && T !== y.value && f(T);
1224
+ Ne(
1225
+ () => u.processInstanceId,
1226
+ (S) => {
1227
+ S && S !== M.value && f(S);
608
1228
  },
609
1229
  { immediate: !0, deep: !0 }
610
1230
  );
611
- const b = () => {
612
- ct.success("aaa!");
1231
+ const _ = () => {
1232
+ Te.success("aaa!");
613
1233
  };
614
- return (T, r) => {
615
- const p = Z("el-button");
616
- return I(), U(ht, null, [
617
- R(p, { onClick: b }, {
618
- default: J(() => [...r[0] || (r[0] = [
619
- tt("测试按钮10", -1)
1234
+ return (S, i) => {
1235
+ const b = V("el-button");
1236
+ return $(), I(ue, null, [
1237
+ Q(b, { onClick: _ }, {
1238
+ default: Y(() => [...i[0] || (i[0] = [
1239
+ ee("测试按钮10", -1)
620
1240
  ])]),
621
1241
  _: 1
622
1242
  }),
623
- R(Gt, {
624
- "process-instance": v.value,
625
- tasks: D.value
1243
+ Q(Ve, {
1244
+ "process-instance": w.value,
1245
+ tasks: v.value
626
1246
  }, null, 8, ["process-instance", "tasks"])
627
1247
  ], 64);
628
1248
  };
629
1249
  }
630
1250
  });
631
- const Kt = /* @__PURE__ */ _t(Qt, [["__scopeId", "data-v-a8376ef8"]]);
632
- let it = null;
633
- const ee = {
634
- install(a, d) {
635
- if (console.log("插件install执行,options:", d), !(d != null && d.request))
1251
+ const Qe = /* @__PURE__ */ we(Ye, [["__scopeId", "data-v-2f2d542f"]]);
1252
+ let le = null;
1253
+ const Xe = {
1254
+ install(r, u) {
1255
+ if (console.log("插件install执行,options:", u), !(u != null && u.request))
636
1256
  throw new Error("请在 app.use(NbbComponentUi) 时传入 { request }");
637
- it = d.request, a.component("CmcProcessFlow", Kt);
1257
+ le = u.request, r.component("CmcProcessFlow", Qe);
638
1258
  }
639
1259
  };
640
- function yt() {
641
- if (console.log("getRequest", it), !it)
1260
+ function Ze() {
1261
+ if (console.log("getRequest", le), !le)
642
1262
  throw new Error("没有_request对象");
643
- return it;
1263
+ return le;
644
1264
  }
645
1265
  export {
646
- Kt as CmcProcessFlow,
647
- ee as default,
648
- yt as getRequest
1266
+ Qe as CmcProcessFlow,
1267
+ Xe as default,
1268
+ Ze as getRequest
649
1269
  };