nbb-component-ui 1.5.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 +1057 -437
- package/dist/index.umd.js +222 -1
- package/dist/src/ProcessFlow/src/CmcProcessFlow.vue.d.ts +0 -1
- package/dist/style.css +1 -1
- package/package.json +3 -2
- package/src/ProcessFlow/src/CmcProcessFlow.vue +433 -13
package/dist/index.es.js
CHANGED
|
@@ -1,371 +1,360 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ElMessage as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
|
19
|
-
(function(
|
|
20
|
-
(function(
|
|
21
|
-
|
|
22
|
-
})(
|
|
23
|
-
var
|
|
24
|
-
var
|
|
25
|
-
return "[" +
|
|
26
|
-
} },
|
|
27
|
-
var
|
|
28
|
-
return !
|
|
29
|
-
},
|
|
30
|
-
var
|
|
31
|
-
return (
|
|
32
|
-
}, m: function
|
|
33
|
-
if (
|
|
34
|
-
return -
|
|
35
|
-
var
|
|
36
|
-
return +(-(
|
|
37
|
-
}, a: function(
|
|
38
|
-
return
|
|
39
|
-
}, p: function(
|
|
40
|
-
return { M:
|
|
41
|
-
}, u: function(
|
|
42
|
-
return
|
|
43
|
-
} },
|
|
44
|
-
|
|
45
|
-
var
|
|
46
|
-
return
|
|
47
|
-
},
|
|
48
|
-
var
|
|
49
|
-
if (!
|
|
50
|
-
return
|
|
51
|
-
if (typeof
|
|
52
|
-
var
|
|
53
|
-
|
|
54
|
-
var
|
|
55
|
-
if (!
|
|
56
|
-
return
|
|
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
|
|
59
|
-
|
|
47
|
+
var m = t.name;
|
|
48
|
+
q[m] = t, n = m;
|
|
60
49
|
}
|
|
61
|
-
return !
|
|
62
|
-
},
|
|
63
|
-
if (
|
|
64
|
-
return
|
|
65
|
-
var
|
|
66
|
-
return
|
|
67
|
-
},
|
|
68
|
-
|
|
69
|
-
return
|
|
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
|
|
72
|
-
function
|
|
73
|
-
this.$L =
|
|
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
|
|
76
|
-
return
|
|
77
|
-
this.$d = function(
|
|
78
|
-
var
|
|
79
|
-
if (
|
|
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 (
|
|
70
|
+
if (p.u(n))
|
|
82
71
|
return /* @__PURE__ */ new Date();
|
|
83
|
-
if (
|
|
84
|
-
return new Date(
|
|
85
|
-
if (typeof
|
|
86
|
-
var
|
|
87
|
-
if (
|
|
88
|
-
var
|
|
89
|
-
return
|
|
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(
|
|
93
|
-
}(
|
|
94
|
-
},
|
|
95
|
-
var
|
|
96
|
-
this.$y =
|
|
97
|
-
},
|
|
98
|
-
return
|
|
99
|
-
},
|
|
100
|
-
return this.$d.toString() !==
|
|
101
|
-
},
|
|
102
|
-
var
|
|
103
|
-
return this.startOf(
|
|
104
|
-
},
|
|
105
|
-
return
|
|
106
|
-
},
|
|
107
|
-
return this.endOf(
|
|
108
|
-
},
|
|
109
|
-
return
|
|
110
|
-
},
|
|
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
|
-
},
|
|
101
|
+
}, t.valueOf = function() {
|
|
113
102
|
return this.$d.getTime();
|
|
114
|
-
},
|
|
115
|
-
var
|
|
116
|
-
var
|
|
117
|
-
return
|
|
118
|
-
},
|
|
119
|
-
return
|
|
120
|
-
},
|
|
121
|
-
switch (
|
|
122
|
-
case
|
|
123
|
-
return
|
|
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
|
|
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
|
|
134
|
-
case
|
|
135
|
-
return
|
|
136
|
-
case
|
|
137
|
-
return
|
|
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
|
-
},
|
|
142
|
-
return this.startOf(
|
|
143
|
-
},
|
|
144
|
-
var
|
|
145
|
-
if (
|
|
146
|
-
var
|
|
147
|
-
|
|
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
|
-
|
|
138
|
+
m && this.$d[m](h);
|
|
150
139
|
return this.init(), this;
|
|
151
|
-
},
|
|
152
|
-
return this.clone().$set(
|
|
153
|
-
},
|
|
154
|
-
return this[
|
|
155
|
-
},
|
|
156
|
-
var
|
|
157
|
-
|
|
158
|
-
var
|
|
159
|
-
var
|
|
160
|
-
return
|
|
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 (
|
|
163
|
-
return this.set(
|
|
164
|
-
if (
|
|
165
|
-
return this.set(
|
|
166
|
-
if (
|
|
167
|
-
return
|
|
168
|
-
if (
|
|
169
|
-
return
|
|
170
|
-
var
|
|
171
|
-
return
|
|
172
|
-
},
|
|
173
|
-
return this.add(-1 *
|
|
174
|
-
},
|
|
175
|
-
var
|
|
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
|
|
178
|
-
var
|
|
179
|
-
return
|
|
180
|
-
},
|
|
181
|
-
return
|
|
182
|
-
},
|
|
183
|
-
var
|
|
184
|
-
return
|
|
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
|
|
187
|
-
return
|
|
188
|
-
switch (
|
|
175
|
+
return l.replace(R, function(A, z) {
|
|
176
|
+
return z || function(ae) {
|
|
177
|
+
switch (ae) {
|
|
189
178
|
case "YY":
|
|
190
|
-
return String(
|
|
179
|
+
return String(a.$y).slice(-2);
|
|
191
180
|
case "YYYY":
|
|
192
|
-
return
|
|
181
|
+
return p.s(a.$y, 4, "0");
|
|
193
182
|
case "M":
|
|
194
|
-
return
|
|
183
|
+
return T + 1;
|
|
195
184
|
case "MM":
|
|
196
|
-
return
|
|
185
|
+
return p.s(T + 1, 2, "0");
|
|
197
186
|
case "MMM":
|
|
198
|
-
return
|
|
187
|
+
return G(n.monthsShort, T, B, 3);
|
|
199
188
|
case "MMMM":
|
|
200
|
-
return B
|
|
189
|
+
return G(B, T);
|
|
201
190
|
case "D":
|
|
202
|
-
return
|
|
191
|
+
return a.$D;
|
|
203
192
|
case "DD":
|
|
204
|
-
return
|
|
193
|
+
return p.s(a.$D, 2, "0");
|
|
205
194
|
case "d":
|
|
206
|
-
return String(
|
|
195
|
+
return String(a.$W);
|
|
207
196
|
case "dd":
|
|
208
|
-
return
|
|
197
|
+
return G(n.weekdaysMin, a.$W, E, 2);
|
|
209
198
|
case "ddd":
|
|
210
|
-
return
|
|
199
|
+
return G(n.weekdaysShort, a.$W, E, 3);
|
|
211
200
|
case "dddd":
|
|
212
|
-
return
|
|
201
|
+
return E[a.$W];
|
|
213
202
|
case "H":
|
|
214
|
-
return String(
|
|
203
|
+
return String(m);
|
|
215
204
|
case "HH":
|
|
216
|
-
return
|
|
205
|
+
return p.s(m, 2, "0");
|
|
217
206
|
case "h":
|
|
218
|
-
return
|
|
207
|
+
return te(1);
|
|
219
208
|
case "hh":
|
|
220
|
-
return
|
|
209
|
+
return te(2);
|
|
221
210
|
case "a":
|
|
222
|
-
return
|
|
211
|
+
return W(m, h, !0);
|
|
223
212
|
case "A":
|
|
224
|
-
return
|
|
213
|
+
return W(m, h, !1);
|
|
225
214
|
case "m":
|
|
226
|
-
return String(
|
|
215
|
+
return String(h);
|
|
227
216
|
case "mm":
|
|
228
|
-
return
|
|
217
|
+
return p.s(h, 2, "0");
|
|
229
218
|
case "s":
|
|
230
|
-
return String(
|
|
219
|
+
return String(a.$s);
|
|
231
220
|
case "ss":
|
|
232
|
-
return
|
|
221
|
+
return p.s(a.$s, 2, "0");
|
|
233
222
|
case "SSS":
|
|
234
|
-
return
|
|
223
|
+
return p.s(a.$ms, 3, "0");
|
|
235
224
|
case "Z":
|
|
236
|
-
return
|
|
225
|
+
return d;
|
|
237
226
|
}
|
|
238
227
|
return null;
|
|
239
|
-
}(
|
|
228
|
+
}(A) || d.replace(":", "");
|
|
240
229
|
});
|
|
241
|
-
},
|
|
230
|
+
}, t.utcOffset = function() {
|
|
242
231
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
243
|
-
},
|
|
244
|
-
var
|
|
245
|
-
return
|
|
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
|
|
249
|
-
|
|
236
|
+
switch (m) {
|
|
237
|
+
case i:
|
|
238
|
+
l = B() / 12;
|
|
250
239
|
break;
|
|
251
|
-
case
|
|
252
|
-
|
|
240
|
+
case _:
|
|
241
|
+
l = B();
|
|
253
242
|
break;
|
|
254
|
-
case
|
|
255
|
-
|
|
243
|
+
case S:
|
|
244
|
+
l = B() / 3;
|
|
256
245
|
break;
|
|
257
|
-
case
|
|
258
|
-
|
|
246
|
+
case L:
|
|
247
|
+
l = (E - T) / 6048e5;
|
|
259
248
|
break;
|
|
260
|
-
case
|
|
261
|
-
|
|
249
|
+
case P:
|
|
250
|
+
l = (E - T) / 864e5;
|
|
262
251
|
break;
|
|
263
252
|
case f:
|
|
264
|
-
|
|
253
|
+
l = E / g;
|
|
265
254
|
break;
|
|
266
|
-
case
|
|
267
|
-
|
|
255
|
+
case M:
|
|
256
|
+
l = E / w;
|
|
268
257
|
break;
|
|
269
|
-
case
|
|
270
|
-
|
|
258
|
+
case v:
|
|
259
|
+
l = E / c;
|
|
271
260
|
break;
|
|
272
261
|
default:
|
|
273
|
-
|
|
262
|
+
l = E;
|
|
274
263
|
}
|
|
275
|
-
return
|
|
276
|
-
},
|
|
277
|
-
return this.endOf(
|
|
278
|
-
},
|
|
279
|
-
return
|
|
280
|
-
},
|
|
281
|
-
if (!
|
|
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
|
|
284
|
-
return
|
|
285
|
-
},
|
|
286
|
-
return
|
|
287
|
-
},
|
|
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
|
-
},
|
|
278
|
+
}, t.toJSON = function() {
|
|
290
279
|
return this.isValid() ? this.toISOString() : null;
|
|
291
|
-
},
|
|
280
|
+
}, t.toISOString = function() {
|
|
292
281
|
return this.$d.toISOString();
|
|
293
|
-
},
|
|
282
|
+
}, t.toString = function() {
|
|
294
283
|
return this.$d.toUTCString();
|
|
295
|
-
},
|
|
296
|
-
}(),
|
|
297
|
-
return
|
|
298
|
-
|
|
299
|
-
return this.$g(
|
|
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
|
-
}),
|
|
302
|
-
return
|
|
303
|
-
},
|
|
304
|
-
return
|
|
305
|
-
},
|
|
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
|
-
})(
|
|
308
|
-
var
|
|
309
|
-
const
|
|
310
|
-
var
|
|
311
|
-
(function(
|
|
312
|
-
(function(
|
|
313
|
-
|
|
314
|
-
})(
|
|
315
|
-
var
|
|
316
|
-
return function(
|
|
317
|
-
var f =
|
|
318
|
-
|
|
319
|
-
var
|
|
320
|
-
return new
|
|
321
|
-
}, f.utc = function(
|
|
322
|
-
var
|
|
323
|
-
return
|
|
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
|
|
314
|
+
return M(this.toDate(), { locale: this.$L, utc: !1 });
|
|
326
315
|
};
|
|
327
|
-
var
|
|
328
|
-
f.parse = function(
|
|
329
|
-
|
|
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
|
|
320
|
+
var L = f.init;
|
|
332
321
|
f.init = function() {
|
|
333
322
|
if (this.$u) {
|
|
334
|
-
var
|
|
335
|
-
this.$y =
|
|
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
|
-
|
|
326
|
+
L.call(this);
|
|
338
327
|
};
|
|
339
|
-
var
|
|
340
|
-
f.utcOffset = function(
|
|
341
|
-
var
|
|
342
|
-
if (
|
|
343
|
-
return this.$u ? 0 :
|
|
344
|
-
if (typeof
|
|
345
|
-
|
|
346
|
-
var
|
|
347
|
-
if (!
|
|
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
|
|
350
|
-
return
|
|
351
|
-
}(
|
|
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
|
|
354
|
-
if (
|
|
355
|
-
return this.utc(
|
|
356
|
-
var
|
|
357
|
-
if (
|
|
358
|
-
return
|
|
359
|
-
var
|
|
360
|
-
return (
|
|
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
|
|
363
|
-
f.format = function(
|
|
364
|
-
var
|
|
365
|
-
return
|
|
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
|
|
368
|
-
return this.$d.valueOf() - 6e4 *
|
|
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
|
|
377
|
-
f.toDate = function(
|
|
378
|
-
return
|
|
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
|
|
381
|
-
f.diff = function(
|
|
382
|
-
if (
|
|
383
|
-
return
|
|
384
|
-
var
|
|
385
|
-
return
|
|
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
|
-
})(
|
|
390
|
-
var
|
|
391
|
-
const
|
|
392
|
-
|
|
393
|
-
function
|
|
394
|
-
let
|
|
395
|
-
const
|
|
396
|
-
return
|
|
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
|
|
399
|
-
return
|
|
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
|
|
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
|
|
416
|
-
const
|
|
417
|
-
return
|
|
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
|
|
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
|
-
},
|
|
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
|
-
},
|
|
414
|
+
}, Le = {
|
|
426
415
|
key: 1,
|
|
427
416
|
style: { "margin-right": "30px", "font-weight": "normal" }
|
|
428
|
-
},
|
|
417
|
+
}, Re = {
|
|
429
418
|
key: 0,
|
|
430
419
|
style: { "font-weight": "normal" }
|
|
431
|
-
},
|
|
420
|
+
}, qe = {
|
|
432
421
|
key: 1,
|
|
433
422
|
style: { "font-weight": "normal", color: "#8a909c" }
|
|
434
|
-
},
|
|
423
|
+
}, He = {
|
|
435
424
|
key: 2,
|
|
436
425
|
style: { "font-weight": "normal" }
|
|
437
|
-
},
|
|
426
|
+
}, Oe = {
|
|
438
427
|
key: 3,
|
|
439
428
|
style: { "font-weight": "normal", color: "#8a909c" }
|
|
440
|
-
},
|
|
429
|
+
}, ze = {
|
|
441
430
|
key: 4,
|
|
442
431
|
style: { "margin-left": "30px", "font-weight": "normal" }
|
|
443
|
-
},
|
|
432
|
+
}, je = {
|
|
444
433
|
key: 5,
|
|
445
434
|
style: { "font-weight": "normal", color: "#8a909c" }
|
|
446
|
-
},
|
|
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(
|
|
454
|
-
const
|
|
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
|
-
},
|
|
464
|
-
return (g,
|
|
465
|
-
var
|
|
466
|
-
const
|
|
467
|
-
return
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
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
|
-
|
|
474
|
-
|
|
462
|
+
k("div", Pe, [
|
|
463
|
+
k("span", null, y(r.processInstance.name), 1)
|
|
475
464
|
])
|
|
476
465
|
]),
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
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
|
-
|
|
472
|
+
Q(v, {
|
|
484
473
|
size: 100,
|
|
485
|
-
icon:
|
|
474
|
+
icon: c[r.processInstance.status] || "svg-icon:approvalPending"
|
|
486
475
|
}, null, 8, ["icon"])
|
|
487
476
|
]),
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
default:
|
|
491
|
-
(
|
|
492
|
-
key:
|
|
493
|
-
type:
|
|
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:
|
|
496
|
-
var
|
|
484
|
+
dot: Y(() => {
|
|
485
|
+
var s;
|
|
497
486
|
return [
|
|
498
|
-
|
|
499
|
-
src: ((
|
|
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,
|
|
490
|
+
}, null, 8, Be)
|
|
502
491
|
];
|
|
503
492
|
}),
|
|
504
|
-
default:
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
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:
|
|
511
|
-
}, null, 8, ["value"])) :
|
|
499
|
+
value: i.status || ""
|
|
500
|
+
}, null, 8, ["value"])) : C("", !0)
|
|
512
501
|
]),
|
|
513
|
-
|
|
514
|
-
default:
|
|
515
|
-
var
|
|
502
|
+
Q(P, { "body-style": { padding: "10px" } }, {
|
|
503
|
+
default: Y(() => {
|
|
504
|
+
var s, x, R, U;
|
|
516
505
|
return [
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
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:
|
|
525
|
-
var
|
|
513
|
+
default: Y(() => {
|
|
514
|
+
var D, j;
|
|
526
515
|
return [
|
|
527
|
-
|
|
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
|
-
])) :
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
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:
|
|
541
|
-
|
|
529
|
+
default: Y(() => [
|
|
530
|
+
ee(y(i.assigneeUser.deptName), 1)
|
|
542
531
|
]),
|
|
543
532
|
_: 2
|
|
544
533
|
}, 1024)
|
|
545
|
-
])) :
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
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
|
-
|
|
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
|
|
571
|
-
const
|
|
572
|
-
for (const [
|
|
573
|
-
|
|
574
|
-
return
|
|
575
|
-
},
|
|
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(
|
|
582
|
-
const
|
|
583
|
-
|
|
584
|
-
},
|
|
585
|
-
var
|
|
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
|
-
|
|
588
|
-
const
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
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 > 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 >= 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 >= 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
|
-
|
|
1098
|
+
c.value = !1;
|
|
600
1099
|
}
|
|
601
|
-
},
|
|
602
|
-
|
|
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
|
-
|
|
605
|
-
() =>
|
|
606
|
-
(
|
|
607
|
-
|
|
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
|
|
612
|
-
|
|
1231
|
+
const _ = () => {
|
|
1232
|
+
Te.success("aaa!");
|
|
613
1233
|
};
|
|
614
|
-
return (
|
|
615
|
-
const
|
|
616
|
-
return
|
|
617
|
-
|
|
618
|
-
default:
|
|
619
|
-
|
|
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
|
-
|
|
624
|
-
"process-instance":
|
|
625
|
-
tasks:
|
|
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
|
|
632
|
-
let
|
|
633
|
-
const
|
|
634
|
-
install(
|
|
635
|
-
if (console.log("插件install执行,options:",
|
|
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
|
-
|
|
1257
|
+
le = u.request, r.component("CmcProcessFlow", Qe);
|
|
638
1258
|
}
|
|
639
1259
|
};
|
|
640
|
-
function
|
|
641
|
-
if (console.log("getRequest",
|
|
1260
|
+
function Ze() {
|
|
1261
|
+
if (console.log("getRequest", le), !le)
|
|
642
1262
|
throw new Error("没有_request对象");
|
|
643
|
-
return
|
|
1263
|
+
return le;
|
|
644
1264
|
}
|
|
645
1265
|
export {
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
1266
|
+
Qe as CmcProcessFlow,
|
|
1267
|
+
Xe as default,
|
|
1268
|
+
Ze as getRequest
|
|
649
1269
|
};
|