ddy-process-pc-vue3 1.0.1-rc.2.67 → 1.0.1-rc.2.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/v2/ddy-process-pc-vue3.js +41 -34
- package/v2/ddy-process-pc-vue3.umd.cjs +2 -2
- package/v2/style.css +1 -1
- package/v2.7/ddy-process-pc-vue3.js +41 -34
- package/v2.7/ddy-process-pc-vue3.umd.cjs +2 -2
- package/v2.7/style.css +1 -1
- package/v3/ddy-process-pc-vue3.js +42 -35
- package/v3/ddy-process-pc-vue3.umd.cjs +18 -18
- package/v3/style.css +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { resolveComponent as ye, openBlock as w, createElementBlock as P, createElementVNode as F, Fragment as Ce, toDisplayString as pe, createCommentVNode as te, createVNode as U, mergeProps as ct, renderList as Qe, withCtx as q, createBlock as oe, withModifiers as Ve, renderSlot as ce, createTextVNode as et, normalizeClass as N, normalizeStyle as Ne, resolveDirective as Mr, withDirectives as Ge, defineComponent as Z, warn as ZE, isVNode as no, Comment as Nh, computed as k, getCurrentInstance as st, watch as ve, unref as s, onMounted as it, watchEffect as In, onBeforeUnmount as Wt, isRef as Go, ref as B, inject as Le, onScopeDispose as eT, shallowRef as Vt, onUnmounted as fa, h as Be, Teleport as Ti, onBeforeMount as Ah, nextTick as De, provide as yt, useSlots as Oo, Transition as mo, resolveDynamicComponent as dt, vShow as It, toRef as Yt, reactive as Pt, toRefs as ko, onUpdated as ha, TransitionGroup as d_, useAttrs as ma, cloneVNode as tT, Text as p_, readonly as f_, onDeactivated as oT, withKeys as St, createSlots as mr, normalizeProps as En, toRaw as ra, vModelCheckbox as Tu, vModelRadio as h_, onBeforeUpdate as nT, vModelText as Mh, toHandlers as rT, guardReactiveProps as dd, markRaw as Xi, effectScope as lT, triggerRef as Di, createApp as aT, shallowReactive as iT, render as ei } from "vue";
|
|
2
2
|
import { departPerson as sT } from "checked-pick-pc";
|
|
3
|
-
const cT = "ddy-process-pc-vue3", uT = "1.0.1-rc.2.
|
|
3
|
+
const cT = "ddy-process-pc-vue3", uT = "1.0.1-rc.2.71", dT = "> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6", pT = "./ddy-process-pc-vue3.umd.cjs", fT = "./style.css", hT = "module", mT = {
|
|
4
4
|
".": {
|
|
5
5
|
import: "./ddy-process-pc-vue3.js",
|
|
6
6
|
require: "./ddy-process-pc-vue3.umd.cjs"
|
|
@@ -53135,7 +53135,7 @@ function vle(e, t, o, n, r, l) {
|
|
|
53135
53135
|
onWheel: t[0] || (t[0] = (...a) => l.handleWheel && l.handleWheel(...a))
|
|
53136
53136
|
}, null, 544);
|
|
53137
53137
|
}
|
|
53138
|
-
const QE = /* @__PURE__ */ bo(gle, [["render", vle], ["__scopeId", "data-v-
|
|
53138
|
+
const QE = /* @__PURE__ */ bo(gle, [["render", vle], ["__scopeId", "data-v-98f40b9a"]]);
|
|
53139
53139
|
const ble = {
|
|
53140
53140
|
components: {
|
|
53141
53141
|
processBtns: dee,
|
|
@@ -53770,80 +53770,87 @@ const ble = {
|
|
|
53770
53770
|
if (!t)
|
|
53771
53771
|
return e;
|
|
53772
53772
|
if (t.status == "todo" && t.isMultiInstance && this.getButton("wf_add_instance")) {
|
|
53773
|
-
let
|
|
53774
|
-
|
|
53773
|
+
let n = {};
|
|
53774
|
+
n.name = this.getButton("wf_add_instance").name, n.btnProps = { type: "primary" }, n.key = "sign", n.click = () => {
|
|
53775
53775
|
this.handleUserSelect({
|
|
53776
53776
|
type: "addInstance",
|
|
53777
53777
|
checkType: "checkbox",
|
|
53778
53778
|
name: this.getButton("wf_add_instance").name
|
|
53779
53779
|
});
|
|
53780
|
-
}, e.push(
|
|
53780
|
+
}, e.push(n);
|
|
53781
53781
|
}
|
|
53782
53782
|
if (t.status == "todo" && this.getButton("wf_transfer")) {
|
|
53783
|
-
let
|
|
53784
|
-
|
|
53783
|
+
let n = {};
|
|
53784
|
+
n.name = this.getButton("wf_transfer").name, n.key = "delegate", n.click = () => {
|
|
53785
53785
|
this.handleUserSelect({
|
|
53786
53786
|
type: "transfer",
|
|
53787
53787
|
checkType: "radio",
|
|
53788
53788
|
name: this.getButton("wf_transfer").name
|
|
53789
53789
|
});
|
|
53790
|
-
}, e.push(
|
|
53790
|
+
}, e.push(n);
|
|
53791
53791
|
}
|
|
53792
53792
|
if (t.status == "todo" && this.getButton("wf_delegate")) {
|
|
53793
|
-
let
|
|
53794
|
-
|
|
53793
|
+
let n = {};
|
|
53794
|
+
n.name = this.getButton("wf_delegate").name, n.btnProps = { type: "warning" }, n.key = "cc2", n.click = () => {
|
|
53795
53795
|
this.handleUserSelect({
|
|
53796
53796
|
type: "delegate",
|
|
53797
53797
|
checkType: "radio",
|
|
53798
53798
|
name: this.getButton("wf_delegate").name
|
|
53799
53799
|
});
|
|
53800
|
-
}, e.push(
|
|
53800
|
+
}, e.push(n);
|
|
53801
53801
|
}
|
|
53802
53802
|
if (t.status == "todo" && this.getButton("wf_terminate")) {
|
|
53803
|
-
let
|
|
53804
|
-
|
|
53803
|
+
let n = {};
|
|
53804
|
+
n.name = this.getButton("wf_terminate").name, n.btnProps = { type: "danger" }, n.key = "cc3", n.click = () => {
|
|
53805
53805
|
this.handleTerminateProcess();
|
|
53806
|
-
}, e.push(
|
|
53806
|
+
}, e.push(n);
|
|
53807
53807
|
}
|
|
53808
53808
|
if (t.status == "todo" && this.getButton("wf_cctask")) {
|
|
53809
|
-
let
|
|
53810
|
-
|
|
53809
|
+
let n = {};
|
|
53810
|
+
n.name = this.getButton("wf_cctask").name, n.btnProps = { type: "primary" }, n.key = "cc", n.click = () => {
|
|
53811
53811
|
this.handleCirculate(this.getButton("wf_cctask").name);
|
|
53812
|
-
}, e.push(
|
|
53812
|
+
}, e.push(n);
|
|
53813
53813
|
}
|
|
53814
53814
|
if (t.status == "todo" && this.userId == (t.variables || {}).applyUserId) {
|
|
53815
|
-
let
|
|
53816
|
-
|
|
53815
|
+
let n = {};
|
|
53816
|
+
n.name = "\u50AC\u529E", n.key = "self", n.click = () => {
|
|
53817
53817
|
this.handleReminders();
|
|
53818
|
-
}, e.push(
|
|
53818
|
+
}, e.push(n);
|
|
53819
53819
|
}
|
|
53820
53820
|
if (t.isOwner && t.isReturnable && !["recall", "reject"].includes(t.processIsFinished)) {
|
|
53821
|
-
let
|
|
53822
|
-
|
|
53821
|
+
let n = {};
|
|
53822
|
+
n.name = "\u64A4\u9500", n.btnProps = { type: "danger" }, n.key = "self", n.click = () => {
|
|
53823
53823
|
this.handleWithdrawTask("\u64A4\u9500");
|
|
53824
|
-
}, e.push(
|
|
53824
|
+
}, e.push(n);
|
|
53825
53825
|
}
|
|
53826
53826
|
if (t.status == "todo" && this.getButton("wf_reject")) {
|
|
53827
|
-
let
|
|
53828
|
-
|
|
53827
|
+
let n = {};
|
|
53828
|
+
n.name = this.getButton("wf_reject").name, n.btnProps = { type: "danger" }, n.key = "refuse", n.click = () => {
|
|
53829
53829
|
this.handleExamine(!1, this.getButton("wf_reject").name);
|
|
53830
|
-
}, e.push(
|
|
53830
|
+
}, e.push(n);
|
|
53831
53831
|
}
|
|
53832
53832
|
if (t.status == "todo" && this.getButton("wf_pass")) {
|
|
53833
|
-
let
|
|
53834
|
-
|
|
53833
|
+
let n = {};
|
|
53834
|
+
n.name = this.getButton("wf_pass").name, n.btnProps = { type: "primary" }, n.key = "complete", n.click = () => {
|
|
53835
53835
|
this.before ? this.before().then(() => {
|
|
53836
53836
|
this.handleExamine(!0, this.getButton("wf_pass").name);
|
|
53837
53837
|
}) : this.handleExamine(!0, this.getButton("wf_pass").name);
|
|
53838
|
-
}, e.push(
|
|
53838
|
+
}, e.push(n);
|
|
53839
53839
|
}
|
|
53840
53840
|
if (t.status == "todo" && this.getButton("wf_rollback")) {
|
|
53841
|
-
let
|
|
53842
|
-
|
|
53841
|
+
let n = {};
|
|
53842
|
+
n.name = this.getButton("wf_rollback").name, n.btnProps = { type: "danger" }, n.key = "back", n.click = () => {
|
|
53843
53843
|
this.handleRollbackTask(this.getButton("wf_rollback").name);
|
|
53844
|
-
}, e.unshift(
|
|
53845
|
-
}
|
|
53846
|
-
return
|
|
53844
|
+
}, e.unshift(n);
|
|
53845
|
+
}
|
|
53846
|
+
return ["wf_edit"].map((n) => {
|
|
53847
|
+
if (t.status == "todo" && this.getButton(n)) {
|
|
53848
|
+
let r = {};
|
|
53849
|
+
r.name = this.getButton(n).name, r.btnProps = {}, r.key = r.name, r.click = () => {
|
|
53850
|
+
this.clickCustomButton(r.name);
|
|
53851
|
+
}, e.unshift(r);
|
|
53852
|
+
}
|
|
53853
|
+
}), e;
|
|
53847
53854
|
},
|
|
53848
53855
|
straightenBtns(e = !0) {
|
|
53849
53856
|
let t = [];
|
|
@@ -54289,7 +54296,7 @@ function Tle(e, t, o, n, r, l) {
|
|
|
54289
54296
|
[C, r.boxLoading && !o.isButton]
|
|
54290
54297
|
]);
|
|
54291
54298
|
}
|
|
54292
|
-
const Ile = /* @__PURE__ */ bo(ble, [["render", Tle], ["__scopeId", "data-v-
|
|
54299
|
+
const Ile = /* @__PURE__ */ bo(ble, [["render", Tle], ["__scopeId", "data-v-a4c8240b"]]), Ole = async (e, t) => {
|
|
54293
54300
|
const o = t || {}, n = o.dragElement || (o.targetClassName ? JE(e, o.targetClassName) : e.querySelector(".el-dialog"));
|
|
54294
54301
|
let r;
|
|
54295
54302
|
new IntersectionObserver((_) => {
|