ui-process-h5 2.5.13-beta → 2.5.14-beta
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/README.md +211 -211
- package/package.json +31 -31
- package/scripts/postinstall.mjs +14 -14
- package/scripts/switch-cli.mjs +4 -4
- package/scripts/utils.mjs +60 -60
- package/v2/style.css +1 -1
- package/v2/ui-process-h5.js +1209 -1153
- package/v2/ui-process-h5.umd.cjs +8 -8
- package/v2.7/style.css +1 -1
- package/v2.7/ui-process-h5.js +128 -71
- package/v2.7/ui-process-h5.umd.cjs +6 -6
- package/v3/style.css +1 -1
- package/v3/ui-process-h5.js +1975 -1626
- package/v3/ui-process-h5.umd.cjs +20 -4
package/v2.7/ui-process-h5.js
CHANGED
|
@@ -1349,8 +1349,8 @@ function Vr(e, s, t, i, a) {
|
|
|
1349
1349
|
var g = e.$options._parentListeners;
|
|
1350
1350
|
if (e._listenersProxy && Gt(e._listenersProxy, t, g || q, e, "$listeners"), e.$listeners = e.$options._parentListeners = t, _a(e, t, g), s && e.$options.props) {
|
|
1351
1351
|
be(!1);
|
|
1352
|
-
for (var v = e._props, k = e.$options._propKeys || [],
|
|
1353
|
-
var G = k[
|
|
1352
|
+
for (var v = e._props, k = e.$options._propKeys || [], P = 0; P < k.length; P++) {
|
|
1353
|
+
var G = k[P], oe = e.$options.props;
|
|
1354
1354
|
v[G] = Ks(G, oe, s, e);
|
|
1355
1355
|
}
|
|
1356
1356
|
be(!0), e.$options.propsData = s;
|
|
@@ -1506,8 +1506,8 @@ function Gs(e, s, t, i, a) {
|
|
|
1506
1506
|
return ot(i, e.scopedSlots, this.slots());
|
|
1507
1507
|
}
|
|
1508
1508
|
}), l && (this.$options = r, this.$slots = this.slots(), this.$scopedSlots = ot(i, e.scopedSlots, this.$slots)), r._scopeId ? this._c = function(h, g, v, k) {
|
|
1509
|
-
var
|
|
1510
|
-
return
|
|
1509
|
+
var P = Jt(o, h, g, v, k, u);
|
|
1510
|
+
return P && !I(P) && (P.fnScopeId = r._scopeId, P.fnContext = i), P;
|
|
1511
1511
|
} : this._c = function(h, g, v, k) {
|
|
1512
1512
|
return Jt(o, h, g, v, k, u);
|
|
1513
1513
|
};
|
|
@@ -2147,14 +2147,14 @@ function Qo(e) {
|
|
|
2147
2147
|
t[a] !== i[a] && (s || (s = {}), s[a] = t[a]);
|
|
2148
2148
|
return s;
|
|
2149
2149
|
}
|
|
2150
|
-
function
|
|
2151
|
-
process.env.NODE_ENV !== "production" && !(this instanceof
|
|
2150
|
+
function M(e) {
|
|
2151
|
+
process.env.NODE_ENV !== "production" && !(this instanceof M) && m("Vue is a constructor and should be called with the `new` keyword"), this._init(e);
|
|
2152
2152
|
}
|
|
2153
|
-
Mo(
|
|
2154
|
-
Oo(
|
|
2155
|
-
Qr(
|
|
2156
|
-
Fr(
|
|
2157
|
-
Ir(
|
|
2153
|
+
Mo(M);
|
|
2154
|
+
Oo(M);
|
|
2155
|
+
Qr(M);
|
|
2156
|
+
Fr(M);
|
|
2157
|
+
Ir(M);
|
|
2158
2158
|
function Lo(e) {
|
|
2159
2159
|
e.use = function(s) {
|
|
2160
2160
|
var t = this._installedPlugins || (this._installedPlugins = []);
|
|
@@ -2298,19 +2298,19 @@ function jo(e) {
|
|
|
2298
2298
|
e.options[t + "s"] = /* @__PURE__ */ Object.create(null);
|
|
2299
2299
|
}), e.options._base = e, D(e.options.components, Ro), Lo(e), Fo(e), Uo(e), Jo(e);
|
|
2300
2300
|
}
|
|
2301
|
-
jo(
|
|
2302
|
-
Object.defineProperty(
|
|
2301
|
+
jo(M);
|
|
2302
|
+
Object.defineProperty(M.prototype, "$isServer", {
|
|
2303
2303
|
get: At
|
|
2304
2304
|
});
|
|
2305
|
-
Object.defineProperty(
|
|
2305
|
+
Object.defineProperty(M.prototype, "$ssrContext", {
|
|
2306
2306
|
get: function() {
|
|
2307
2307
|
return this.$vnode && this.$vnode.ssrContext;
|
|
2308
2308
|
}
|
|
2309
2309
|
});
|
|
2310
|
-
Object.defineProperty(
|
|
2310
|
+
Object.defineProperty(M, "FunctionalRenderContext", {
|
|
2311
2311
|
value: Gs
|
|
2312
2312
|
});
|
|
2313
|
-
|
|
2313
|
+
M.version = xr;
|
|
2314
2314
|
var Ko = Z("style,class"), Yo = Z("input,textarea,option,select,progress"), _o = function(e, s, t) {
|
|
2315
2315
|
return t === "value" && Yo(e) && s !== "button" || t === "selected" && e === "option" || t === "checked" && e === "input" || t === "muted" && e === "video";
|
|
2316
2316
|
}, sn = Z("contenteditable,draggable,spellcheck"), Ho = Z("events,caret,typing,plaintext-only"), Wo = function(e, s) {
|
|
@@ -2528,13 +2528,13 @@ function Tl(e) {
|
|
|
2528
2528
|
if (d(y)) {
|
|
2529
2529
|
var N = d(p.componentInstance) && y.keepAlive;
|
|
2530
2530
|
if (d(y = y.hook) && d(y = y.init) && y(p, !1), d(p.componentInstance))
|
|
2531
|
-
return k(p, c), G(f, p.elm, A), S(N) &&
|
|
2531
|
+
return k(p, c), G(f, p.elm, A), S(N) && P(p, c, f, A), !0;
|
|
2532
2532
|
}
|
|
2533
2533
|
}
|
|
2534
2534
|
function k(p, c) {
|
|
2535
2535
|
d(p.data.pendingInsert) && (c.push.apply(c, p.data.pendingInsert), p.data.pendingInsert = null), p.elm = p.componentInstance.$el, Y(p) ? (_(p, c), Be(p)) : (We(p), c.push(p));
|
|
2536
2536
|
}
|
|
2537
|
-
function
|
|
2537
|
+
function P(p, c, f, A) {
|
|
2538
2538
|
for (var y, N = p; N.componentInstance; )
|
|
2539
2539
|
if (N = N.componentInstance._vnode, d(y = N.data) && d(y = y.transition)) {
|
|
2540
2540
|
for (y = 0; y < i.activate.length; ++y)
|
|
@@ -3106,11 +3106,11 @@ function Ns(e, s) {
|
|
|
3106
3106
|
d(t._leaveCb) && (t._leaveCb.cancelled = !0, t._leaveCb());
|
|
3107
3107
|
var i = un(e.data.transition);
|
|
3108
3108
|
if (!C(i) && !(d(t._enterCb) || t.nodeType !== 1)) {
|
|
3109
|
-
for (var a = i.css, n = i.type, r = i.enterClass, o = i.enterToClass, l = i.enterActiveClass, u = i.appearClass, h = i.appearToClass, g = i.appearActiveClass, v = i.beforeEnter, k = i.enter,
|
|
3109
|
+
for (var a = i.css, n = i.type, r = i.enterClass, o = i.enterToClass, l = i.enterActiveClass, u = i.appearClass, h = i.appearToClass, g = i.appearActiveClass, v = i.beforeEnter, k = i.enter, P = i.afterEnter, G = i.enterCancelled, oe = i.beforeAppear, Y = i.appear, _ = i.afterAppear, Be = i.appearCancelled, Re = i.duration, xe = Le, le = Le.$vnode; le && le.parent; )
|
|
3110
3110
|
xe = le.context, le = le.parent;
|
|
3111
3111
|
var ee = !xe._isMounted || !e.isRootInsert;
|
|
3112
3112
|
if (!(ee && !Y && Y !== "")) {
|
|
3113
|
-
var st = ee && u ? u : r, je = ee && g ? g : l, It = ee && h ? h : o, ce = ee && oe || v, me = ee && O(Y) ? Y : k, De = ee && _ ||
|
|
3113
|
+
var st = ee && u ? u : r, je = ee && g ? g : l, It = ee && h ? h : o, ce = ee && oe || v, me = ee && O(Y) ? Y : k, De = ee && _ || P, Tt = ee && Be || G, ge = lt(V(Re) ? Re.enter : Re);
|
|
3114
3114
|
process.env.NODE_ENV !== "production" && ge != null && vn(ge, "enter", e);
|
|
3115
3115
|
var Ke = a !== !1 && !$e, p = Xs(me), c = t._enterCb = Lt(function() {
|
|
3116
3116
|
Ke && (de(t, It), de(t, je)), c.cancelled ? (Ke && de(t, st), Tt && Tt(t)) : De && De(t), t._enterCb = null;
|
|
@@ -3132,7 +3132,7 @@ function An(e, s) {
|
|
|
3132
3132
|
return s();
|
|
3133
3133
|
if (d(t._leaveCb))
|
|
3134
3134
|
return;
|
|
3135
|
-
var a = i.css, n = i.type, r = i.leaveClass, o = i.leaveToClass, l = i.leaveActiveClass, u = i.beforeLeave, h = i.leave, g = i.afterLeave, v = i.leaveCancelled, k = i.delayLeave,
|
|
3135
|
+
var a = i.css, n = i.type, r = i.leaveClass, o = i.leaveToClass, l = i.leaveActiveClass, u = i.beforeLeave, h = i.leave, g = i.afterLeave, v = i.leaveCancelled, k = i.delayLeave, P = i.duration, G = a !== !1 && !$e, oe = Xs(h), Y = lt(V(P) ? P.leave : P);
|
|
3136
3136
|
process.env.NODE_ENV !== "production" && d(Y) && vn(Y, "leave", e);
|
|
3137
3137
|
var _ = t._leaveCb = Lt(function() {
|
|
3138
3138
|
t.parentNode && t.parentNode._pending && (t.parentNode._pending[e.key] = null), G && (de(t, o), de(t, l)), _.cancelled ? (G && de(t, r), v && v(t)) : (s(), g && g(t)), t._leaveCb = null;
|
|
@@ -3432,23 +3432,24 @@ var oc = {
|
|
|
3432
3432
|
Transition: sc,
|
|
3433
3433
|
TransitionGroup: ic
|
|
3434
3434
|
};
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
D(
|
|
3441
|
-
D(
|
|
3442
|
-
|
|
3443
|
-
|
|
3435
|
+
M.config.mustUseProp = _o;
|
|
3436
|
+
M.config.isReservedTag = nn;
|
|
3437
|
+
M.config.isReservedAttr = Ko;
|
|
3438
|
+
M.config.getTagNamespace = il;
|
|
3439
|
+
M.config.isUnknownElement = al;
|
|
3440
|
+
D(M.options.directives, zl);
|
|
3441
|
+
D(M.options.components, oc);
|
|
3442
|
+
M.prototype.__patch__ = K ? Hl : Q;
|
|
3443
|
+
M.prototype.$mount = function(e, s) {
|
|
3444
3444
|
return e = e && K ? nl(e) : void 0, Ur(this, e, s);
|
|
3445
3445
|
};
|
|
3446
3446
|
K && setTimeout(function() {
|
|
3447
|
-
x.devtools && (Ft ? Ft.emit("init",
|
|
3447
|
+
x.devtools && (Ft ? Ft.emit("init", M) : process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && console[console.info ? "info" : "log"](`Download the Vue Devtools extension for a better development experience:
|
|
3448
3448
|
https://github.com/vuejs/vue-devtools`)), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && x.productionTip !== !1 && typeof console < "u" && console[console.info ? "info" : "log"](`You are running Vue in development mode.
|
|
3449
3449
|
Make sure to turn on production mode when deploying for production.
|
|
3450
3450
|
See more tips at https://vuejs.org/guide/deployment.html`);
|
|
3451
3451
|
}, 0);
|
|
3452
|
+
M.util.warn;
|
|
3452
3453
|
const lc = {
|
|
3453
3454
|
name: "TopPopup",
|
|
3454
3455
|
props: {
|
|
@@ -3606,8 +3607,8 @@ function F(e, s, t, i, a, n, r, o) {
|
|
|
3606
3607
|
if (l.functional) {
|
|
3607
3608
|
l._injectStyles = u;
|
|
3608
3609
|
var h = l.render;
|
|
3609
|
-
l.render = function(k,
|
|
3610
|
-
return u.call(
|
|
3610
|
+
l.render = function(k, P) {
|
|
3611
|
+
return u.call(P), h(k, P);
|
|
3611
3612
|
};
|
|
3612
3613
|
} else {
|
|
3613
3614
|
var g = l.beforeCreate;
|
|
@@ -3625,7 +3626,7 @@ var uc = /* @__PURE__ */ F(
|
|
|
3625
3626
|
pc,
|
|
3626
3627
|
!1,
|
|
3627
3628
|
dc,
|
|
3628
|
-
"
|
|
3629
|
+
"210912ea",
|
|
3629
3630
|
null,
|
|
3630
3631
|
null
|
|
3631
3632
|
);
|
|
@@ -3925,7 +3926,7 @@ var Ic = /* @__PURE__ */ F(
|
|
|
3925
3926
|
Cc,
|
|
3926
3927
|
!1,
|
|
3927
3928
|
Tc,
|
|
3928
|
-
"
|
|
3929
|
+
"50bc4264",
|
|
3929
3930
|
null,
|
|
3930
3931
|
null
|
|
3931
3932
|
);
|
|
@@ -4141,7 +4142,7 @@ var Ec = /* @__PURE__ */ F(
|
|
|
4141
4142
|
Nc,
|
|
4142
4143
|
!1,
|
|
4143
4144
|
wc,
|
|
4144
|
-
"
|
|
4145
|
+
"40105646",
|
|
4145
4146
|
null,
|
|
4146
4147
|
null
|
|
4147
4148
|
);
|
|
@@ -4469,7 +4470,7 @@ var Sc = /* @__PURE__ */ F(
|
|
|
4469
4470
|
Oc,
|
|
4470
4471
|
!1,
|
|
4471
4472
|
Mc,
|
|
4472
|
-
"
|
|
4473
|
+
"00350ac6",
|
|
4473
4474
|
null,
|
|
4474
4475
|
null
|
|
4475
4476
|
);
|
|
@@ -4586,7 +4587,7 @@ var Gc = /* @__PURE__ */ F(
|
|
|
4586
4587
|
Vc,
|
|
4587
4588
|
!1,
|
|
4588
4589
|
Jc,
|
|
4589
|
-
"
|
|
4590
|
+
"14feaea8",
|
|
4590
4591
|
null,
|
|
4591
4592
|
null
|
|
4592
4593
|
);
|
|
@@ -4741,7 +4742,7 @@ var _c = /* @__PURE__ */ F(
|
|
|
4741
4742
|
Yc,
|
|
4742
4743
|
!1,
|
|
4743
4744
|
Hc,
|
|
4744
|
-
"
|
|
4745
|
+
"2d2ad14a",
|
|
4745
4746
|
null,
|
|
4746
4747
|
null
|
|
4747
4748
|
);
|
|
@@ -5425,7 +5426,7 @@ var $c = /* @__PURE__ */ F(
|
|
|
5425
5426
|
Xc,
|
|
5426
5427
|
!1,
|
|
5427
5428
|
ep,
|
|
5428
|
-
"
|
|
5429
|
+
"74e8bcfc",
|
|
5429
5430
|
null,
|
|
5430
5431
|
null
|
|
5431
5432
|
);
|
|
@@ -5816,7 +5817,7 @@ var rp = /* @__PURE__ */ F(
|
|
|
5816
5817
|
np,
|
|
5817
5818
|
!1,
|
|
5818
5819
|
op,
|
|
5819
|
-
"
|
|
5820
|
+
"91a8c922",
|
|
5820
5821
|
null,
|
|
5821
5822
|
null
|
|
5822
5823
|
);
|
|
@@ -5945,7 +5946,7 @@ var dp = /* @__PURE__ */ F(
|
|
|
5945
5946
|
pp,
|
|
5946
5947
|
!1,
|
|
5947
5948
|
hp,
|
|
5948
|
-
"
|
|
5949
|
+
"31f47025",
|
|
5949
5950
|
null,
|
|
5950
5951
|
null
|
|
5951
5952
|
);
|
|
@@ -6310,7 +6311,7 @@ var Ap = /* @__PURE__ */ F(
|
|
|
6310
6311
|
mp,
|
|
6311
6312
|
!1,
|
|
6312
6313
|
vp,
|
|
6313
|
-
"
|
|
6314
|
+
"fa1f7e38",
|
|
6314
6315
|
null,
|
|
6315
6316
|
null
|
|
6316
6317
|
);
|
|
@@ -6674,7 +6675,7 @@ var bp = /* @__PURE__ */ F(
|
|
|
6674
6675
|
Ip,
|
|
6675
6676
|
!1,
|
|
6676
6677
|
kp,
|
|
6677
|
-
"
|
|
6678
|
+
"14849a65",
|
|
6678
6679
|
null,
|
|
6679
6680
|
null
|
|
6680
6681
|
);
|
|
@@ -7115,7 +7116,7 @@ var Dp = /* @__PURE__ */ F(
|
|
|
7115
7116
|
Bp,
|
|
7116
7117
|
!1,
|
|
7117
7118
|
Op,
|
|
7118
|
-
"
|
|
7119
|
+
"d1b94362",
|
|
7119
7120
|
null,
|
|
7120
7121
|
null
|
|
7121
7122
|
);
|
|
@@ -7281,7 +7282,7 @@ var Lp = /* @__PURE__ */ F(
|
|
|
7281
7282
|
Pp,
|
|
7282
7283
|
!1,
|
|
7283
7284
|
Fp,
|
|
7284
|
-
"
|
|
7285
|
+
"c8f9bc8e",
|
|
7285
7286
|
null,
|
|
7286
7287
|
null
|
|
7287
7288
|
);
|
|
@@ -7395,17 +7396,7 @@ var Vp = function() {
|
|
|
7395
7396
|
return e.handleMakeMsg();
|
|
7396
7397
|
}
|
|
7397
7398
|
}
|
|
7398
|
-
}, [e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]) : e._e()])]) : e._e(), e.
|
|
7399
|
-
staticClass: "process-pc-label"
|
|
7400
|
-
}, [e._v(" \u5BA1\u6279\u7B7E\u5B57"), t("span", {
|
|
7401
|
-
staticClass: "process-pc-label--re"
|
|
7402
|
-
}, [e._v("*")])]) : e._e(), e.hasSign ? t("div", {
|
|
7403
|
-
staticClass: "process-pc-value"
|
|
7404
|
-
}, [t("span", {
|
|
7405
|
-
on: {
|
|
7406
|
-
click: e.toSign
|
|
7407
|
-
}
|
|
7408
|
-
}, [e._v("\u53BB\u7B7E\u5B57")])]) : e._e(), e.taskNode && e.taskNode.length > 0 && e.taskNode[0].taskState != 4 && e.taskNode[0].taskState != 11 ? t("div", {
|
|
7399
|
+
}, [e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]) : e._e()])]) : e._e(), e.taskNode && e.taskNode.length > 0 && e.taskNode[0].taskState != 4 && e.taskNode[0].taskState != 11 ? t("div", {
|
|
7409
7400
|
staticClass: "process-popup-content-person"
|
|
7410
7401
|
}, [e.nextNodeData.length ? [e.nextNodeData.length == 1 && e.nextNodeData[0].type == "endEvent" ? t("div", [e._v(" \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")]) : t("TreePerson", {
|
|
7411
7402
|
attrs: {
|
|
@@ -7561,7 +7552,7 @@ const Jp = {
|
|
|
7561
7552
|
}
|
|
7562
7553
|
return !1;
|
|
7563
7554
|
},
|
|
7564
|
-
|
|
7555
|
+
signRequired() {
|
|
7565
7556
|
if (this.param.taskObj.activityExtendAttributes) {
|
|
7566
7557
|
let e = JSON.parse(this.param.taskObj.activityExtendAttributes);
|
|
7567
7558
|
return e.find((s) => s.key == "\u7B7E\u5B57") ? e.find((s) => s.key == "\u7B7E\u5B57").value == "1" : !1;
|
|
@@ -7796,14 +7787,13 @@ const Jp = {
|
|
|
7796
7787
|
this.visibleListMsg = !0;
|
|
7797
7788
|
},
|
|
7798
7789
|
async confirm() {
|
|
7790
|
+
this.signRequired ? this.signConfirm() : this.commonConfirm();
|
|
7791
|
+
},
|
|
7792
|
+
async commonConfirm() {
|
|
7799
7793
|
if (this.param.ProcessInsObj.processDefId == "obj_94014ede99b6495d8f6d5977314faa15" && (this.commentMsg = "\u540C\u610F"), !this.commentMsg && this.param.isRequire) {
|
|
7800
7794
|
this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!", !1, "success");
|
|
7801
7795
|
return;
|
|
7802
7796
|
}
|
|
7803
|
-
if (this.hasSign && !this.digitalSignature) {
|
|
7804
|
-
this.handleTips("\u8BF7\u7B7E\u5B57!", !1, "success");
|
|
7805
|
-
return;
|
|
7806
|
-
}
|
|
7807
7797
|
if (this.requires && this.attchLists.length <= 0) {
|
|
7808
7798
|
this.handleTips("\u8BF7\u4E0A\u4F20\u9644\u4EF6!", !1, "success");
|
|
7809
7799
|
return;
|
|
@@ -7839,7 +7829,11 @@ const Jp = {
|
|
|
7839
7829
|
}
|
|
7840
7830
|
e = this.multiNodeParticipant;
|
|
7841
7831
|
}
|
|
7842
|
-
|
|
7832
|
+
if (this.signRequired) {
|
|
7833
|
+
this.signVisible = !0;
|
|
7834
|
+
return;
|
|
7835
|
+
}
|
|
7836
|
+
this.param.beforeFunction && !await this.param.beforeFunction() || (this.handleTips("", !0, "loading"), this.param.actionComplete, this.commentMsg, this.param.taskInstId, this.param.vars || this.gateVars, await this.param.request.post("/aws/tis/complete", {
|
|
7843
7837
|
actionName: this.param.actionComplete,
|
|
7844
7838
|
commentMsg: this.commentMsg,
|
|
7845
7839
|
taskInstId: this.param.taskInstId,
|
|
@@ -7856,6 +7850,72 @@ const Jp = {
|
|
|
7856
7850
|
this.handleTips(s.msg, !0, "error");
|
|
7857
7851
|
}));
|
|
7858
7852
|
},
|
|
7853
|
+
async signConfirm(e = !0) {
|
|
7854
|
+
if (this.param.ProcessInsObj.processDefId == "obj_94014ede99b6495d8f6d5977314faa15" && (this.commentMsg = "\u540C\u610F"), !this.commentMsg && this.param.isRequire) {
|
|
7855
|
+
this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!", !1, "success");
|
|
7856
|
+
return;
|
|
7857
|
+
}
|
|
7858
|
+
if (this.requires && this.attchLists.length <= 0) {
|
|
7859
|
+
this.handleTips("\u8BF7\u4E0A\u4F20\u9644\u4EF6!", !1, "success");
|
|
7860
|
+
return;
|
|
7861
|
+
}
|
|
7862
|
+
if (this.isSelectPerson !== !1) {
|
|
7863
|
+
this.handleTips(
|
|
7864
|
+
"\u8BF7\u9009\u62E9[" + this.isSelectPerson + "]\u5BA1\u6279\u4EBA!",
|
|
7865
|
+
!1,
|
|
7866
|
+
"success"
|
|
7867
|
+
);
|
|
7868
|
+
return;
|
|
7869
|
+
}
|
|
7870
|
+
this.commentMsg || (this.commentMsg = " ");
|
|
7871
|
+
let s = {};
|
|
7872
|
+
if (this.radioCheckNameList && this.radioCheckNameList.length) {
|
|
7873
|
+
if (this.radioCheckChild[0].type !== "EndEventModel") {
|
|
7874
|
+
let t = 0;
|
|
7875
|
+
if (this.radioCheckNameList.map((i, a) => {
|
|
7876
|
+
(!this.multiNodeParticipant[i] || !this.multiNodeParticipant[i].length) && this.radioCheckChild.map((n, r) => {
|
|
7877
|
+
n.id == i && (n.humanPerformerName !== "\u56FA\u5B9A\u8D26\u6237" || n.humanPerformerName !== "\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173") && (!n.childNode || !n.childNode.length ? t += 1 : this.radioCheckNode.map((o, l) => {
|
|
7878
|
+
(!this.multiNodeParticipant[o] || !this.multiNodeParticipant[o].length) && (t += 1), s[o] = this.multiNodeParticipant[o];
|
|
7879
|
+
}));
|
|
7880
|
+
}), s[i] = this.multiNodeParticipant[i];
|
|
7881
|
+
}), t > 0) {
|
|
7882
|
+
this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!", !1, "success");
|
|
7883
|
+
return;
|
|
7884
|
+
}
|
|
7885
|
+
}
|
|
7886
|
+
} else {
|
|
7887
|
+
if (this.multiNodeParticipant[this.partObjId] && !this.multiNodeParticipant[this.partObjId].length) {
|
|
7888
|
+
this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!", !1, "success");
|
|
7889
|
+
return;
|
|
7890
|
+
}
|
|
7891
|
+
s = this.multiNodeParticipant;
|
|
7892
|
+
}
|
|
7893
|
+
if (e) {
|
|
7894
|
+
this.signVisible = !0;
|
|
7895
|
+
return;
|
|
7896
|
+
}
|
|
7897
|
+
if (!this.digitalSignature) {
|
|
7898
|
+
this.handleTips("\u8BF7\u7B7E\u5B57!", !1, "success");
|
|
7899
|
+
return;
|
|
7900
|
+
}
|
|
7901
|
+
this.param.beforeFunction && !await this.param.beforeFunction() || (this.handleTips("", !0, "loading"), this.signVisible = !1, await this.param.request.post("/aws/tis/complete", {
|
|
7902
|
+
actionName: this.param.actionComplete,
|
|
7903
|
+
commentMsg: this.commentMsg,
|
|
7904
|
+
taskInstId: this.param.taskInstId,
|
|
7905
|
+
vars: this.param.vars || this.gateVars,
|
|
7906
|
+
multiNodeParticipant: s,
|
|
7907
|
+
digitalSignature: this.digitalSignature
|
|
7908
|
+
}).then((t) => {
|
|
7909
|
+
if (t.code == 200) {
|
|
7910
|
+
if (this.attchLists.length > 0) {
|
|
7911
|
+
this.uploadAttch();
|
|
7912
|
+
return;
|
|
7913
|
+
}
|
|
7914
|
+
this.$emit("handleClosePopup1"), this.handleTips("\u63D0\u4EA4\u6210\u529F!", !1, "success"), window.top.postMessage("success", "*"), this.handleFinal(), this.commentMsg = "";
|
|
7915
|
+
} else
|
|
7916
|
+
this.handleTips(t.msg, !0, "error");
|
|
7917
|
+
}));
|
|
7918
|
+
},
|
|
7859
7919
|
makeDelegateTaskButtonAnnex() {
|
|
7860
7920
|
if (this.param.annex && this.param.annex.length) {
|
|
7861
7921
|
this.otherList = this.param.annex;
|
|
@@ -7902,11 +7962,8 @@ const Jp = {
|
|
|
7902
7962
|
onVars(e) {
|
|
7903
7963
|
this.gateVars = e;
|
|
7904
7964
|
},
|
|
7905
|
-
tosign() {
|
|
7906
|
-
this.signVisible = !0;
|
|
7907
|
-
},
|
|
7908
7965
|
handleSignature(e, s) {
|
|
7909
|
-
this.digitalSignature = e, s && (this.signVisible = !1);
|
|
7966
|
+
this.digitalSignature = e, s && (this.signVisible = !1, this.signConfirm(!1));
|
|
7910
7967
|
}
|
|
7911
7968
|
}
|
|
7912
7969
|
}, Aa = {};
|
|
@@ -7916,7 +7973,7 @@ var qp = /* @__PURE__ */ F(
|
|
|
7916
7973
|
Gp,
|
|
7917
7974
|
!1,
|
|
7918
7975
|
Rp,
|
|
7919
|
-
"
|
|
7976
|
+
"93ba1dd2",
|
|
7920
7977
|
null,
|
|
7921
7978
|
null
|
|
7922
7979
|
);
|
|
@@ -8268,7 +8325,7 @@ var Hp = /* @__PURE__ */ F(
|
|
|
8268
8325
|
Yp,
|
|
8269
8326
|
!1,
|
|
8270
8327
|
Wp,
|
|
8271
|
-
"
|
|
8328
|
+
"662bc3da",
|
|
8272
8329
|
null,
|
|
8273
8330
|
null
|
|
8274
8331
|
);
|
|
@@ -8578,7 +8635,7 @@ var eu = /* @__PURE__ */ F(
|
|
|
8578
8635
|
Xp,
|
|
8579
8636
|
!1,
|
|
8580
8637
|
tu,
|
|
8581
|
-
"
|
|
8638
|
+
"73ae14be",
|
|
8582
8639
|
null,
|
|
8583
8640
|
null
|
|
8584
8641
|
);
|
|
@@ -9509,7 +9566,7 @@ var du = /* @__PURE__ */ F(
|
|
|
9509
9566
|
uu,
|
|
9510
9567
|
!1,
|
|
9511
9568
|
hu,
|
|
9512
|
-
"
|
|
9569
|
+
"ca7d686a",
|
|
9513
9570
|
null,
|
|
9514
9571
|
null
|
|
9515
9572
|
);
|