lyflowchart 1.0.152 → 1.0.157
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/{ActionsConfig-BrfcGMc2.js → ActionsConfig-gWnpd8yJ.js} +2 -2
- package/dist/{ApprovalEditorModal-HuU6SRJe.js → ApprovalEditorModal-Bvxrg96y.js} +1 -1
- package/dist/{CancelModal-BUi3ieI8.js → CancelModal-CgQeC543.js} +1 -1
- package/dist/{Cell_click_approve-DiMuUB1k.js → Cell_click_approve-DMXnrtxc.js} +16 -16
- package/dist/{JsonTags-BbWLqghI.js → JsonTags-DQdw3WxB.js} +1 -1
- package/dist/{MyProcess-C6fgOFiw.js → MyProcess-SGZ_-9C3.js} +17 -17
- package/dist/{approval-BlbNEsGQ.js → approval-DfU1MtBL.js} +1 -1
- package/dist/{approval-1GfOMaS4.js → approval-ekd9_mwq.js} +35 -35
- package/dist/{approvalHistory-D-5rRWNw.js → approvalHistory-DsHMvx1n.js} +35 -35
- package/dist/{approvalHistoryViewModal-DgLpv2ot.js → approvalHistoryViewModal-UzVPPpNH.js} +9 -9
- package/dist/{approvalPageConfig-4VU81v-x.js → approvalPageConfig-BA2SXnnv.js} +79 -79
- package/dist/{approveLeftConfig-BOU_UgHp.js → approveLeftConfig-Cskh4ezK.js} +16 -16
- package/dist/{codeHistoryViewModal-BfSjIbEU.js → codeHistoryViewModal-BIktV_o6.js} +8 -8
- package/dist/{columnTables-DFwoawLF.js → columnTables-DdOJYJq9.js} +211 -172
- package/dist/components/approval/components/TableSummary.vue.d.ts +20 -0
- package/dist/components/approval/components/approvalPageConfig/ColumnConfig.vue.d.ts +12 -0
- package/dist/components/approval/components/approvalPageConfig/leftColumn.vue.d.ts +12 -0
- package/dist/components/approval/components/approvalPageConfig/tableConfig.vue.d.ts +12 -0
- package/dist/components/approval/components/columnDataList.vue.d.ts +25 -2
- package/dist/components/approval/components/columnTables.vue.d.ts +25 -2
- package/dist/components/approval/components/drawerDataList.vue.d.ts +25 -2
- package/dist/components/approval/components/drawerTablesList.vue.d.ts +25 -2
- package/dist/components/approval/components/modelTablesList.vue.d.ts +25 -2
- package/dist/components/approval/components/table.vue.d.ts +25 -2
- package/dist/components/approval/typing.d.ts +3 -1
- package/dist/{core-BkpI8NUK.js → core-o5mxWnrL.js} +68 -68
- package/dist/{dataStoreSettingHistoryViewModal-D_so-KLp.js → dataStoreSettingHistoryViewModal-DjSRPgQC.js} +9 -9
- package/dist/{debugCode-CQm5weGM.js → debugCode-CTU6KCej.js} +19 -19
- package/dist/{default-kv1XZD9P.js → default-CFd6cRxl.js} +1 -1
- package/dist/{flowHistoryViewModal-D8DJP7Te.js → flowHistoryViewModal-CaGj3LP4.js} +9 -9
- package/dist/index.js +25 -25
- package/dist/{init-plugin-fQTSQzui.js → init-plugin-CpYzRii0.js} +7 -3
- package/dist/init-plugin.d.ts +13 -0
- package/dist/{leftColumn-OrLOxcyw.js → leftColumn-CLixXPdW.js} +3 -3
- package/dist/lyflowchart.css +1 -1
- package/dist/{middleColumn-DUBZPkDG.js → middleColumn-CTOCcPnB.js} +12 -12
- package/dist/{recordActions-3vqHADOf.js → recordActions-z7hvfqGR.js} +1 -1
- package/dist/{tableConfig-W9yGeZs-.js → tableConfig-0LuPJS0X.js} +740 -585
- package/dist/{tableModal-H0SGP8PM.js → tableModal-CbEn3HNo.js} +2 -2
- package/dist/{useApprovalRecordActions-B82xPY8g.js → useApprovalRecordActions-6IFZrwvr.js} +10 -10
- package/dist/{utils-B1lkML14.js → utils-DRldFEoM.js} +9 -9
- package/dist/{viewer-C_OHXXRU.js → viewer-BDGXjryM.js} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { S as t, o as n } from "./utils-
|
|
1
|
+
import { b as e } from "./init-plugin-CpYzRii0.js";
|
|
2
|
+
import { S as t, o as n } from "./utils-DRldFEoM.js";
|
|
3
3
|
import { t as r } from "./example_code-DKjqP7KK.js";
|
|
4
4
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, normalizeClass as p, openBlock as m, ref as h, renderList as g, resolveComponent as _, shallowRef as v, toDisplayString as y, toRaw as b, withCtx as x, withModifiers as S } from "vue";
|
|
5
5
|
import { CopyOutlined as C, DeleteOutlined as w, DownOutlined as T, HolderOutlined as E, NodeCollapseOutlined as D, NodeExpandOutlined as O, RightOutlined as k } from "@ant-design/icons-vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./core-
|
|
1
|
+
import { t as e } from "./core-o5mxWnrL.js";
|
|
2
2
|
import { createBlock as t, createCommentVNode as n, defineComponent as r, mergeModels as i, openBlock as a, resolveComponent as o, useModel as s, withCtx as c } from "vue";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region src/components/approval/ApprovalEditorModal.vue
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as e } from "./init-plugin-
|
|
1
|
+
import { o as e } from "./init-plugin-CpYzRii0.js";
|
|
2
2
|
import { createBlock as t, createVNode as n, defineComponent as r, mergeModels as i, openBlock as a, reactive as o, ref as s, resolveComponent as c, useModel as l, withCtx as u } from "vue";
|
|
3
3
|
import { message as d } from "ant-design-vue";
|
|
4
4
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as r, r as i } from "./useApprovalRecordActions-
|
|
3
|
-
import { t as a } from "./CancelModal-
|
|
1
|
+
import { c as e, o as t, y as n } from "./init-plugin-CpYzRii0.js";
|
|
2
|
+
import { n as r, r as i } from "./useApprovalRecordActions-6IFZrwvr.js";
|
|
3
|
+
import { t as a } from "./CancelModal-CgQeC543.js";
|
|
4
4
|
import { Fragment as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineAsyncComponent as p, defineComponent as m, isRef as h, mergeProps as g, openBlock as _, reactive as v, ref as y, resolveComponent as b, toDisplayString as x, unref as S, withCtx as C } from "vue";
|
|
5
5
|
import { Modal as w, message as T } from "ant-design-vue";
|
|
6
6
|
//#region src/components/Cell_click_approve.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -16,7 +16,7 @@ var E = { style: {
|
|
|
16
16
|
__name: "Cell_click_approve",
|
|
17
17
|
props: { cmpObj: {} },
|
|
18
18
|
setup(m) {
|
|
19
|
-
let D = m, O =
|
|
19
|
+
let D = m, O = n().currentOrg, k = y(!1), A = y(!1), j = y(!1), M = y(!1), N = y(!1), P = y(null), F = y(null), I = y(null), { canShow: L, runAction: R, loading: z, editorOpen: B, editorProps: V, removeOpen: H, removeProps: U } = r({
|
|
20
20
|
recordId: () => k.value ? D.cmpObj?.record?.id : null,
|
|
21
21
|
modelType: () => D.cmpObj?.record?.menu_flag,
|
|
22
22
|
getPrintElement: () => F.value,
|
|
@@ -26,9 +26,9 @@ var E = { style: {
|
|
|
26
26
|
}
|
|
27
27
|
}), W = async (e) => {
|
|
28
28
|
await R(e), (B.value || H.value) && (k.value = !1);
|
|
29
|
-
}, G = p(() => import("./ApprovalEditorModal-
|
|
29
|
+
}, G = p(() => import("./ApprovalEditorModal-Bvxrg96y.js")), K = async () => {
|
|
30
30
|
k.value = !0;
|
|
31
|
-
let e = await
|
|
31
|
+
let e = await t({
|
|
32
32
|
org_id: O?.id,
|
|
33
33
|
approve_record_id: D.cmpObj.record.id
|
|
34
34
|
}, "/approve/get_approve_record_info");
|
|
@@ -42,7 +42,7 @@ var E = { style: {
|
|
|
42
42
|
title: "提示",
|
|
43
43
|
content: "是否确认要发起审批",
|
|
44
44
|
async onOk() {
|
|
45
|
-
|
|
45
|
+
t({
|
|
46
46
|
org_id: O?.id,
|
|
47
47
|
approve_record_id: e.id
|
|
48
48
|
}, "/approve/commit_approve_record").then(() => {
|
|
@@ -60,7 +60,7 @@ var E = { style: {
|
|
|
60
60
|
title: "提示",
|
|
61
61
|
content: "是否确认要撤销审批",
|
|
62
62
|
async onOk() {
|
|
63
|
-
|
|
63
|
+
t({
|
|
64
64
|
org_id: O?.id,
|
|
65
65
|
approve_record_id: e.id
|
|
66
66
|
}, "/approve/cancel_approve_record").then(() => {
|
|
@@ -73,9 +73,9 @@ var E = { style: {
|
|
|
73
73
|
j.value = !1;
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
|
-
}, Z = (
|
|
76
|
+
}, Z = (n) => {
|
|
77
77
|
let r = v({});
|
|
78
|
-
|
|
78
|
+
n == "refuse" ? (r.comment = [{
|
|
79
79
|
required: !0,
|
|
80
80
|
message: "请输入审批意见"
|
|
81
81
|
}], N.value = !0) : M.value = !0;
|
|
@@ -104,14 +104,14 @@ var E = { style: {
|
|
|
104
104
|
model: v({ comment: null })
|
|
105
105
|
},
|
|
106
106
|
options: {},
|
|
107
|
-
ok: (
|
|
108
|
-
i.open = !1,
|
|
107
|
+
ok: (e) => new Promise(function(r) {
|
|
108
|
+
i.open = !1, t({
|
|
109
109
|
org_id: O?.id,
|
|
110
110
|
task_id: P.value,
|
|
111
|
-
comment:
|
|
112
|
-
approval_result:
|
|
111
|
+
comment: e.comment,
|
|
112
|
+
approval_result: n
|
|
113
113
|
}, "/lyapprove/claim_and_complete_task").then(() => {
|
|
114
|
-
T.success(
|
|
114
|
+
T.success(n == "refuse" ? "审批拒绝" : "审批通过"), J(), r(null);
|
|
115
115
|
}).finally(() => {
|
|
116
116
|
M.value = !1, N.value = !1;
|
|
117
117
|
});
|
|
@@ -120,7 +120,7 @@ var E = { style: {
|
|
|
120
120
|
i.open = !1;
|
|
121
121
|
}
|
|
122
122
|
});
|
|
123
|
-
|
|
123
|
+
e(i);
|
|
124
124
|
};
|
|
125
125
|
return (e, t) => {
|
|
126
126
|
let n = b("a-button"), r = b("a-drawer");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as e } from "./init-plugin-CpYzRii0.js";
|
|
2
2
|
import { createBlock as t, createElementVNode as n, createTextVNode as r, createVNode as i, defineComponent as a, openBlock as o, resolveComponent as s, toDisplayString as c, withCtx as l } from "vue";
|
|
3
3
|
//#region src/components/approval/components/approvalPageConfig/JsonTags.vue?vue&type=script&lang.ts
|
|
4
4
|
var u = a({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as e, $t as t, A as n, At as r, B as i, Bt as a, C as o, Cn as s, Ct as c, D as l, Dn as u, Dt as d, E as f, En as p, Et as m, F as h, Ft as g, G as _, Gt as v, H as y, Ht as b, I as x, It as S, J as C, Jt as w, K as T, Kt as ee, L as te, Lt as E, M as D, Mt as ne, N as re, Nt as O, O as ie, Ot as k, P as ae, Pt as oe, Q as se, Qt as ce, R as le, Rt as ue, S as de, Sn as fe, St as A, T as pe, Tn as me, Tt as he, U as ge, Ut as j, V as _e, Vt as ve, W as ye, Wt as be, X as xe, Xt as Se, Y as Ce, Yt as we, Z as Te, Zt as M, _ as Ee, _n as De, _t as Oe, a as ke, an as Ae, at as N, b as je, bn as Me, bt as Ne, c as Pe, cn as P, ct as F, d as Fe, dn as Ie, dt as I, en as Le, et as Re, f as ze, fn as Be, ft as Ve, g as L, gn as He, gt as Ue, h as We, hn as Ge, ht as Ke, i as qe, in as Je, it as Ye, j as Xe, jt as Ze, k as Qe, kn as $e, kt as R, l as et, ln as tt, lt as nt, m as rt, mn as it, mt as at, n as ot, nn as st, nt as ct, o as lt, on as ut, ot as dt, p as ft, pn as pt, pt as mt, q as z, qt as B, r as ht, rn as gt, rt as _t, s as vt, sn as yt, st as bt, tn as V, tt as H, u as U, un as xt, ut as St, v as Ct, vn as wt, vt as Tt, w as W, wn as Et, wt as Dt, x as Ot, xn as kt, xt as At, y as jt, yn as Mt, yt as Nt, z as Pt, zt as Ft } from "./viewer-
|
|
2
|
-
import {
|
|
1
|
+
import { $ as e, $t as t, A as n, At as r, B as i, Bt as a, C as o, Cn as s, Ct as c, D as l, Dn as u, Dt as d, E as f, En as p, Et as m, F as h, Ft as g, G as _, Gt as v, H as y, Ht as b, I as x, It as S, J as C, Jt as w, K as T, Kt as ee, L as te, Lt as E, M as D, Mt as ne, N as re, Nt as O, O as ie, Ot as k, P as ae, Pt as oe, Q as se, Qt as ce, R as le, Rt as ue, S as de, Sn as fe, St as A, T as pe, Tn as me, Tt as he, U as ge, Ut as j, V as _e, Vt as ve, W as ye, Wt as be, X as xe, Xt as Se, Y as Ce, Yt as we, Z as Te, Zt as M, _ as Ee, _n as De, _t as Oe, a as ke, an as Ae, at as N, b as je, bn as Me, bt as Ne, c as Pe, cn as P, ct as F, d as Fe, dn as Ie, dt as I, en as Le, et as Re, f as ze, fn as Be, ft as Ve, g as L, gn as He, gt as Ue, h as We, hn as Ge, ht as Ke, i as qe, in as Je, it as Ye, j as Xe, jt as Ze, k as Qe, kn as $e, kt as R, l as et, ln as tt, lt as nt, m as rt, mn as it, mt as at, n as ot, nn as st, nt as ct, o as lt, on as ut, ot as dt, p as ft, pn as pt, pt as mt, q as z, qt as B, r as ht, rn as gt, rt as _t, s as vt, sn as yt, st as bt, tn as V, tt as H, u as U, un as xt, ut as St, v as Ct, vn as wt, vt as Tt, w as W, wn as Et, wt as Dt, x as Ot, xn as kt, xt as At, y as jt, yn as Mt, yt as Nt, z as Pt, zt as Ft } from "./viewer-BDGXjryM.js";
|
|
2
|
+
import { b as It, v as Lt, y as Rt } from "./init-plugin-CpYzRii0.js";
|
|
3
3
|
import { Fragment as zt, computed as Bt, createBlock as G, createCommentVNode as Vt, createElementBlock as K, createElementVNode as Ht, createTextVNode as q, createVNode as J, defineComponent as Ut, inject as Wt, nextTick as Gt, normalizeClass as Kt, normalizeStyle as qt, onMounted as Jt, openBlock as Y, provide as Yt, reactive as Xt, ref as X, renderList as Zt, resolveComponent as Z, toDisplayString as Qt, vShow as $t, watch as en, withCtx as Q, withDirectives as tn, withKeys as nn } from "vue";
|
|
4
4
|
import { CodeOutlined as rn, PlusOutlined as an, QuestionCircleOutlined as on, RedoOutlined as sn, SearchOutlined as cn, SyncOutlined as ln, TeamOutlined as un, UploadOutlined as dn, UserOutlined as fn } from "@ant-design/icons-vue";
|
|
5
5
|
import { Modal as pn, message as mn } from "ant-design-vue";
|
|
@@ -20662,7 +20662,7 @@ function wx(e, t, n, r, i, a) {
|
|
|
20662
20662
|
_: 1
|
|
20663
20663
|
}, 8, ["model", "rules"]);
|
|
20664
20664
|
}
|
|
20665
|
-
var Tx = /* @__PURE__ */
|
|
20665
|
+
var Tx = /* @__PURE__ */ It(Cx, [["render", wx]]), Ex = Ut({
|
|
20666
20666
|
name: "FlowUser",
|
|
20667
20667
|
props: {
|
|
20668
20668
|
selectValues: {
|
|
@@ -20891,7 +20891,7 @@ function jx(e, t, n, r, i, a) {
|
|
|
20891
20891
|
"onChange"
|
|
20892
20892
|
])) : Vt("", !0)])])]);
|
|
20893
20893
|
}
|
|
20894
|
-
var Mx = /* @__PURE__ */
|
|
20894
|
+
var Mx = /* @__PURE__ */ It(Ex, [["render", jx], ["__scopeId", "data-v-44837661"]]), Nx = Ut({
|
|
20895
20895
|
name: "FlowRole",
|
|
20896
20896
|
props: {
|
|
20897
20897
|
selectValues: {
|
|
@@ -21077,7 +21077,7 @@ function Fx(e, t, n, r, i, a) {
|
|
|
21077
21077
|
"onChange"
|
|
21078
21078
|
])) : Vt("", !0)]);
|
|
21079
21079
|
}
|
|
21080
|
-
var Ix = /* @__PURE__ */
|
|
21080
|
+
var Ix = /* @__PURE__ */ It(Nx, [["render", Fx], ["__scopeId", "data-v-b83a9bc2"]]), Lx = {
|
|
21081
21081
|
string: "字符串",
|
|
21082
21082
|
fixed: "系统指定",
|
|
21083
21083
|
dynamic: "动态选择"
|
|
@@ -21255,7 +21255,7 @@ var Vx = Ut({
|
|
|
21255
21255
|
components: {
|
|
21256
21256
|
FlowUser: Mx,
|
|
21257
21257
|
FlowRole: Ix,
|
|
21258
|
-
FlowExp: /* @__PURE__ */
|
|
21258
|
+
FlowExp: /* @__PURE__ */ It(Rx, [["render", Bx], ["__scopeId", "data-v-8afeeb4c"]]),
|
|
21259
21259
|
UserOutlined: fn,
|
|
21260
21260
|
TeamOutlined: un,
|
|
21261
21261
|
CodeOutlined: rn,
|
|
@@ -21702,7 +21702,7 @@ function Ux(e, t, n, r, i, a) {
|
|
|
21702
21702
|
}, 8, ["open"])
|
|
21703
21703
|
]);
|
|
21704
21704
|
}
|
|
21705
|
-
var Wx = /* @__PURE__ */
|
|
21705
|
+
var Wx = /* @__PURE__ */ It(Vx, [["render", Ux], ["__scopeId", "data-v-03e91aa5"]]), Gx = {
|
|
21706
21706
|
input: [
|
|
21707
21707
|
"eq",
|
|
21708
21708
|
"contains",
|
|
@@ -22028,7 +22028,7 @@ function Qx(e, t, n, r, i, a) {
|
|
|
22028
22028
|
"placeholder"
|
|
22029
22029
|
]);
|
|
22030
22030
|
}
|
|
22031
|
-
var $x = /* @__PURE__ */
|
|
22031
|
+
var $x = /* @__PURE__ */ It(Jx, [["render", Qx], ["__scopeId", "data-v-99361bec"]]), eS = Ut({
|
|
22032
22032
|
name: "ValueInput2",
|
|
22033
22033
|
components: {},
|
|
22034
22034
|
props: {
|
|
@@ -22160,7 +22160,7 @@ function oS(e, t, n, r, i, a) {
|
|
|
22160
22160
|
"onSearch"
|
|
22161
22161
|
]);
|
|
22162
22162
|
}
|
|
22163
|
-
var sS = /* @__PURE__ */
|
|
22163
|
+
var sS = /* @__PURE__ */ It(eS, [["render", oS]]), cS = Ut({
|
|
22164
22164
|
props: {
|
|
22165
22165
|
value: {
|
|
22166
22166
|
type: String,
|
|
@@ -22303,7 +22303,7 @@ var mS = Ut({
|
|
|
22303
22303
|
components: {
|
|
22304
22304
|
JsonTags2: $x,
|
|
22305
22305
|
ValueInput2: sS,
|
|
22306
|
-
ColumnNameField2: /* @__PURE__ */
|
|
22306
|
+
ColumnNameField2: /* @__PURE__ */ It(cS, [["render", pS], ["__scopeId", "data-v-d8b28df1"]]),
|
|
22307
22307
|
QuestionCircleOutlined: on
|
|
22308
22308
|
},
|
|
22309
22309
|
setup(e) {
|
|
@@ -22338,7 +22338,7 @@ var mS = Ut({
|
|
|
22338
22338
|
else if (t.type == "timerangepicker") e.format = t.format, e.valueFormat = t.valueFormat, e.value = [];
|
|
22339
22339
|
else if (t.type == "remoteselectpro") {
|
|
22340
22340
|
e.labelKey = t.labelKey, e.valueKey = t.valueKey;
|
|
22341
|
-
let n =
|
|
22341
|
+
let n = Rt(), r;
|
|
22342
22342
|
r = t.queryType == "advanced" ? t.searchConditions : t.simpleSearchConditions;
|
|
22343
22343
|
let i = (await Lt().post(t.postUrl, {
|
|
22344
22344
|
...r,
|
|
@@ -22350,7 +22350,7 @@ var mS = Ut({
|
|
|
22350
22350
|
f.value[e.field_name] = i, mn.success("获取数据成功");
|
|
22351
22351
|
} else if (t.type == "remotetreeselectpro") {
|
|
22352
22352
|
e.labelKey = t.labelKey, e.valueKey = t.valueKey;
|
|
22353
|
-
let n =
|
|
22353
|
+
let n = Rt(), r;
|
|
22354
22354
|
r = t.queryType == "advanced" ? t.searchConditions : t.simpleSearchConditions;
|
|
22355
22355
|
let i = (await Lt().post(t.postUrl, {
|
|
22356
22356
|
...r,
|
|
@@ -22362,7 +22362,7 @@ var mS = Ut({
|
|
|
22362
22362
|
f.value[e.field_name] = i, mn.success("获取数据成功");
|
|
22363
22363
|
} else if (t.type == "remotecascaderpro") {
|
|
22364
22364
|
e.value = [], e.labelKey = t.labelKey, e.valueKey = t.valueKey;
|
|
22365
|
-
let n =
|
|
22365
|
+
let n = Rt(), r;
|
|
22366
22366
|
r = t.queryType == "advanced" ? t.searchConditions : t.simpleSearchConditions;
|
|
22367
22367
|
let i = (await Lt().post(t.postUrl, {
|
|
22368
22368
|
...r,
|
|
@@ -23280,7 +23280,7 @@ function hS(e, t, n, r, i, a) {
|
|
|
23280
23280
|
_: 1
|
|
23281
23281
|
})]);
|
|
23282
23282
|
}
|
|
23283
|
-
var gS = /* @__PURE__ */
|
|
23283
|
+
var gS = /* @__PURE__ */ It(mS, [["render", hS], ["__scopeId", "data-v-a75313d9"]]), _S = {
|
|
23284
23284
|
"Activate the global connect tool": "激活全局连接工具",
|
|
23285
23285
|
"Append {type}": "添加 {type}",
|
|
23286
23286
|
"Append Task": "添加任务",
|
|
@@ -23637,7 +23637,7 @@ function SS(e, t, n, r, i, a) {
|
|
|
23637
23637
|
_: 1
|
|
23638
23638
|
}, 8, ["activeKey"])]);
|
|
23639
23639
|
}
|
|
23640
|
-
var CS = /* @__PURE__ */
|
|
23640
|
+
var CS = /* @__PURE__ */ It(bS, [["render", SS], ["__scopeId", "data-v-fcdd90e8"]]);
|
|
23641
23641
|
//#endregion
|
|
23642
23642
|
//#region src/components/Process/customPanel/customTranslate.js
|
|
23643
23643
|
function wS(e, t) {
|
|
@@ -26134,7 +26134,7 @@ function YC(e, t, n, r, i, a) {
|
|
|
26134
26134
|
"global-options": e.globalOptions
|
|
26135
26135
|
}, null, 8, ["form-data", "global-options"])) : Vt("", !0)])])])])], 2);
|
|
26136
26136
|
}
|
|
26137
|
-
var XC = /* @__PURE__ */
|
|
26137
|
+
var XC = /* @__PURE__ */ It(zC, [["render", YC], ["__scopeId", "data-v-ba095815"]]), ZC = /* @__PURE__ */ $e((/* @__PURE__ */ u(((e, t) => {
|
|
26138
26138
|
function n(e) {
|
|
26139
26139
|
var t = " ";
|
|
26140
26140
|
if (isNaN(parseInt(e))) t = e;
|
|
@@ -26429,6 +26429,6 @@ function rw(e, t, n, r, i, a) {
|
|
|
26429
26429
|
"onAfterOpenChange"
|
|
26430
26430
|
])]);
|
|
26431
26431
|
}
|
|
26432
|
-
var iw = /* @__PURE__ */
|
|
26432
|
+
var iw = /* @__PURE__ */ It($C, [["render", rw], ["__scopeId", "data-v-717574a2"]]);
|
|
26433
26433
|
//#endregion
|
|
26434
26434
|
export { hn as n, iw as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { C as n, d as r } from "./utils-
|
|
1
|
+
import { d as e, o as t } from "./init-plugin-CpYzRii0.js";
|
|
2
|
+
import { C as n, d as r } from "./utils-DRldFEoM.js";
|
|
3
3
|
import { cloneDeep as i } from "lodash";
|
|
4
4
|
var a = (async () => {
|
|
5
5
|
let e = /* @__PURE__ */ Object.assign({ "./v0001.ts": () => import("./v0001-OaBeBCXI.js") }), t = Object.keys(e).map(async (t) => {
|
|
@@ -17,20 +17,20 @@ var a = (async () => {
|
|
|
17
17
|
let t = await a, n = e.version || 0, r = t.filter((e) => e.version > n), i = { ...e };
|
|
18
18
|
for (let e of r) i = e.script(i), i.version = e.version;
|
|
19
19
|
return i;
|
|
20
|
-
}, s = {}, c = async (
|
|
21
|
-
if (Object.keys(s).length > 0) return s[
|
|
20
|
+
}, s = {}, c = async (t) => {
|
|
21
|
+
if (Object.keys(s).length > 0) return s[t] ? (await s[t]()).default : (await s.default()).default;
|
|
22
22
|
let n = {
|
|
23
23
|
.../* @__PURE__ */ Object.assign({
|
|
24
|
-
"./configs/approval/default.ts": () => import("./default-
|
|
25
|
-
"./configs/approval/recordActions.ts": () => import("./recordActions-
|
|
24
|
+
"./configs/approval/default.ts": () => import("./default-CFd6cRxl.js"),
|
|
25
|
+
"./configs/approval/recordActions.ts": () => import("./recordActions-z7hvfqGR.js").then((e) => e.i)
|
|
26
26
|
}),
|
|
27
|
-
...
|
|
27
|
+
...e()
|
|
28
28
|
};
|
|
29
29
|
for (let e in n) {
|
|
30
30
|
let t = e.split("/"), r = t[t.length - 1].replace(".ts", "");
|
|
31
31
|
s[r] = n[e];
|
|
32
32
|
}
|
|
33
|
-
return s[
|
|
33
|
+
return s[t] ? (await s[t]()).default : (await s.default()).default;
|
|
34
34
|
}, l = {
|
|
35
35
|
baseColumns: ["columns", (e, t) => {
|
|
36
36
|
if (e) return e.forEach((e) => {
|
|
@@ -64,34 +64,34 @@ var a = (async () => {
|
|
|
64
64
|
e.showCode?.enable && t[e.showCode.action_code_id] && (e.showCode.code = t[e.showCode.action_code_id].code), e.disableCode?.enable && t[e.disableCode.action_code_id] && (e.disableCode.code = t[e.disableCode.action_code_id].code), n && (e.action_code_id = r(), e.showCode?.enable && (e.showCode.action_code_id = r()), e.disableCode?.enable && (e.disableCode.action_code_id = r()));
|
|
65
65
|
}, m = (e, t, n) => {
|
|
66
66
|
for (let r of e) p(r, t, n);
|
|
67
|
-
}, h = async (
|
|
68
|
-
if (
|
|
67
|
+
}, h = async (e, n, r) => {
|
|
68
|
+
if (e.tables) {
|
|
69
69
|
let i = [];
|
|
70
|
-
for (let a of
|
|
71
|
-
let
|
|
70
|
+
for (let a of e.tables) a.id ||= Math.random().toString(36).substr(2), a.group_title ||= a.title, a.actions && m(a.actions, n, r), a.row_actions && m(a.row_actions, n, r), a.is_normal_model && i.push((async () => {
|
|
71
|
+
let e = a.modelType.split("-")[0], n = a.modelType.split("-")[1], r = await t({
|
|
72
72
|
api_url: a.list_url,
|
|
73
73
|
model_name: n
|
|
74
|
-
}, `/${
|
|
74
|
+
}, `/${e}/override_column_config`, !1, { skip_error: !0 });
|
|
75
75
|
r && u(a, r);
|
|
76
76
|
})());
|
|
77
77
|
await Promise.all(i);
|
|
78
78
|
}
|
|
79
|
-
}, g = async (
|
|
80
|
-
if (!
|
|
81
|
-
|
|
79
|
+
}, g = async (e, n) => {
|
|
80
|
+
if (!e) return e;
|
|
81
|
+
e.number_prefix ??= "FHD", e.number_suffix ??= "", e.number_digit_place ||= 6;
|
|
82
82
|
let r = !1;
|
|
83
|
-
|
|
84
|
-
let i =
|
|
85
|
-
for (let
|
|
86
|
-
else if (
|
|
87
|
-
else if (
|
|
88
|
-
let n =
|
|
89
|
-
api_url:
|
|
83
|
+
e.renew_id && (r = !0, delete e.renew_id);
|
|
84
|
+
let i = e?.columns || [];
|
|
85
|
+
for (let e of i) if (e.type === "tables") await h(e, n, r);
|
|
86
|
+
else if (e.type === "form") e.actions && m(e.actions, n, r), e.form?.dynamicFieldList && f(e.form.dynamicFieldList, n, r);
|
|
87
|
+
else if (e.type === "data_list" && (e.table?.actions && m(e.table.actions, n, r), e.table?.row_actions && m(e.table.row_actions, n, r), e.table?.is_normal_model)) {
|
|
88
|
+
let n = e.table.modelType.split("-")[0], r = e.table.modelType.split("-")[1], i = await t({
|
|
89
|
+
api_url: e.table.list_url,
|
|
90
90
|
model_name: r
|
|
91
91
|
}, `/${n}/override_column_config`, !1, { skip_error: !0 });
|
|
92
|
-
i && u(
|
|
92
|
+
i && u(e.table, i);
|
|
93
93
|
}
|
|
94
|
-
return
|
|
94
|
+
return e;
|
|
95
95
|
}, _ = (e, t, n, r, a, o = null) => {
|
|
96
96
|
let s = i(e), c = {};
|
|
97
97
|
for (let e of Object.keys(t)) {
|
|
@@ -123,11 +123,11 @@ var a = (async () => {
|
|
|
123
123
|
}
|
|
124
124
|
let f = i(e);
|
|
125
125
|
return Object.assign(f, t), Object.assign(f, { columns: d }), f;
|
|
126
|
-
}, y = async (
|
|
127
|
-
let i = await c(
|
|
128
|
-
menu_flag:
|
|
126
|
+
}, y = async (e, n = null, r = null) => {
|
|
127
|
+
let i = await c(e), [a, s] = await Promise.all([t({
|
|
128
|
+
menu_flag: e,
|
|
129
129
|
history_id: r
|
|
130
|
-
}, "/approve/get_page_setting"),
|
|
130
|
+
}, "/approve/get_page_setting"), t({ menu_flag: e }, "/approve/get_action_code_for_menu")]), l = i();
|
|
131
131
|
n instanceof Array && (n.length = 0);
|
|
132
132
|
let u = null, d = null;
|
|
133
133
|
a && (u = a.content, d = a.history_id);
|
|
@@ -136,9 +136,9 @@ var a = (async () => {
|
|
|
136
136
|
config: f,
|
|
137
137
|
current_history_id: d
|
|
138
138
|
};
|
|
139
|
-
}, b = async (
|
|
140
|
-
let r = await
|
|
141
|
-
menu_flag:
|
|
139
|
+
}, b = async (e, n = null) => {
|
|
140
|
+
let r = await t({
|
|
141
|
+
menu_flag: e,
|
|
142
142
|
history_id: n
|
|
143
143
|
}, "/approve/get_flow_setting");
|
|
144
144
|
return {
|
|
@@ -153,9 +153,9 @@ var a = (async () => {
|
|
|
153
153
|
}, x = (e) => {
|
|
154
154
|
n(e);
|
|
155
155
|
for (let t of e) t.key ||= r(), t.import_type ||= "pass_import", (t.order === null || t.order === void 0) && (t.order = 0);
|
|
156
|
-
}, S = async (
|
|
157
|
-
let r = await
|
|
158
|
-
menu_flag:
|
|
156
|
+
}, S = async (e, n = null) => {
|
|
157
|
+
let r = await t({
|
|
158
|
+
menu_flag: e,
|
|
159
159
|
history_id: n
|
|
160
160
|
}, "/approve/get_data_store_setting"), i = [], a = null;
|
|
161
161
|
return r && (i = r.content || [], a = r.history_id), x(i), i.sort((e, t) => (e.order || 0) - (t.order || 0)), {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as e,
|
|
2
|
-
import { C as a } from "./utils-
|
|
3
|
-
import { t as o } from "./approveLeftConfig-
|
|
1
|
+
import { _ as e, b as t, c as n, o as r, y as i } from "./init-plugin-CpYzRii0.js";
|
|
2
|
+
import { C as a } from "./utils-DRldFEoM.js";
|
|
3
|
+
import { t as o } from "./approveLeftConfig-Cskh4ezK.js";
|
|
4
4
|
import { Fragment as s, computed as c, createBlock as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineAsyncComponent as m, defineComponent as h, normalizeStyle as g, onMounted as _, openBlock as v, reactive as y, ref as b, resolveComponent as x, toDisplayString as S, watch as C, withCtx as w } from "vue";
|
|
5
5
|
import { Modal as T, message as E } from "ant-design-vue";
|
|
6
6
|
import { useI18n as D } from "vue-i18n";
|
|
@@ -19,8 +19,8 @@ var O = h({
|
|
|
19
19
|
},
|
|
20
20
|
components: {},
|
|
21
21
|
emits: ["changeHistory"],
|
|
22
|
-
setup(
|
|
23
|
-
let o =
|
|
22
|
+
setup(t, { emit: a }) {
|
|
23
|
+
let o = e(), { t: s } = D(), l = b(!1), u = i().currentOrg, d = b(!1), f = b([]), p = b(1), m = b(10), h = b(0), g = b([]), v = [
|
|
24
24
|
{
|
|
25
25
|
title: "ID",
|
|
26
26
|
dataIndex: "id",
|
|
@@ -42,12 +42,12 @@ var O = h({
|
|
|
42
42
|
width: 220
|
|
43
43
|
}
|
|
44
44
|
], x = b([]), S = () => {
|
|
45
|
-
if (!
|
|
45
|
+
if (!t.modelType) return;
|
|
46
46
|
l.value = !0;
|
|
47
47
|
let e = [{
|
|
48
48
|
field_name: "page_setting__menu_flag",
|
|
49
49
|
operator: "eq",
|
|
50
|
-
value: [
|
|
50
|
+
value: [t.modelType],
|
|
51
51
|
format: "input",
|
|
52
52
|
class_name: "str"
|
|
53
53
|
}];
|
|
@@ -88,11 +88,11 @@ var O = h({
|
|
|
88
88
|
}, M = (e, t) => {
|
|
89
89
|
p.value === e && m.value === t || (p.value = e || 1, m.value = t || 50, S());
|
|
90
90
|
}, N = (e) => e / 2, P = (e) => {
|
|
91
|
-
|
|
91
|
+
n(y({
|
|
92
92
|
component: "approvalHistoryViewModal",
|
|
93
93
|
history_ids: e,
|
|
94
94
|
org_id: u?.id,
|
|
95
|
-
height:
|
|
95
|
+
height: t.height,
|
|
96
96
|
ok: (e) => {},
|
|
97
97
|
cancel: () => {}
|
|
98
98
|
}));
|
|
@@ -132,14 +132,14 @@ var O = h({
|
|
|
132
132
|
}, L = async (e) => {
|
|
133
133
|
l.value = !0;
|
|
134
134
|
try {
|
|
135
|
-
await I(e, u?.id,
|
|
135
|
+
await I(e, u?.id, t.modelType) ? (a("changeHistory"), E.success(s("应用成功"))) : E.error(s("应用失败"));
|
|
136
136
|
} catch {
|
|
137
137
|
E.error(s("应用失败"));
|
|
138
138
|
} finally {
|
|
139
139
|
l.value = !1;
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
|
-
return C(() =>
|
|
142
|
+
return C(() => t.modelType, () => {
|
|
143
143
|
S();
|
|
144
144
|
}), _(() => {
|
|
145
145
|
S();
|
|
@@ -260,7 +260,7 @@ function M(e, t, n, r, i, a) {
|
|
|
260
260
|
"scroll"
|
|
261
261
|
])], 64);
|
|
262
262
|
}
|
|
263
|
-
var N = /* @__PURE__ */
|
|
263
|
+
var N = /* @__PURE__ */ t(O, [["render", M], ["__scopeId", "data-v-4d4b9bc9"]]), P = h({
|
|
264
264
|
name: "flowSettingHistory",
|
|
265
265
|
props: {
|
|
266
266
|
modelType: {
|
|
@@ -274,8 +274,8 @@ var N = /* @__PURE__ */ i(O, [["render", M], ["__scopeId", "data-v-4d4b9bc9"]]),
|
|
|
274
274
|
},
|
|
275
275
|
components: {},
|
|
276
276
|
emits: ["changeHistory"],
|
|
277
|
-
setup(
|
|
278
|
-
let o =
|
|
277
|
+
setup(t, { emit: a }) {
|
|
278
|
+
let o = e(), { t: s } = D(), l = b(!1), u = i().currentOrg, d = b(!1), f = b([]), p = b(1), m = b(10), h = b(0), g = b([]), v = [
|
|
279
279
|
{
|
|
280
280
|
title: "ID",
|
|
281
281
|
dataIndex: "id",
|
|
@@ -297,12 +297,12 @@ var N = /* @__PURE__ */ i(O, [["render", M], ["__scopeId", "data-v-4d4b9bc9"]]),
|
|
|
297
297
|
width: 220
|
|
298
298
|
}
|
|
299
299
|
], x = b([]), S = () => {
|
|
300
|
-
if (!
|
|
300
|
+
if (!t.modelType) return;
|
|
301
301
|
l.value = !0;
|
|
302
302
|
let e = [{
|
|
303
303
|
field_name: "flow_setting__menu_flag",
|
|
304
304
|
operator: "eq",
|
|
305
|
-
value: [
|
|
305
|
+
value: [t.modelType],
|
|
306
306
|
format: "input",
|
|
307
307
|
class_name: "str"
|
|
308
308
|
}];
|
|
@@ -343,11 +343,11 @@ var N = /* @__PURE__ */ i(O, [["render", M], ["__scopeId", "data-v-4d4b9bc9"]]),
|
|
|
343
343
|
}, M = (e, t) => {
|
|
344
344
|
p.value === e && m.value === t || (p.value = e || 1, m.value = t || 50, S());
|
|
345
345
|
}, N = (e) => e / 2, P = (e) => {
|
|
346
|
-
|
|
346
|
+
n(y({
|
|
347
347
|
component: "flowHistoryViewModal",
|
|
348
348
|
history_ids: e,
|
|
349
349
|
org_id: u?.id,
|
|
350
|
-
height:
|
|
350
|
+
height: t.height,
|
|
351
351
|
ok: (e) => {},
|
|
352
352
|
cancel: () => {}
|
|
353
353
|
}));
|
|
@@ -387,14 +387,14 @@ var N = /* @__PURE__ */ i(O, [["render", M], ["__scopeId", "data-v-4d4b9bc9"]]),
|
|
|
387
387
|
}, L = async (e) => {
|
|
388
388
|
l.value = !0;
|
|
389
389
|
try {
|
|
390
|
-
await I(e, u?.id,
|
|
390
|
+
await I(e, u?.id, t.modelType) ? (a("changeHistory"), E.success(s("应用成功"))) : E.error(s("应用失败"));
|
|
391
391
|
} catch {
|
|
392
392
|
E.error(s("应用失败"));
|
|
393
393
|
} finally {
|
|
394
394
|
l.value = !1;
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
|
-
return C(() =>
|
|
397
|
+
return C(() => t.modelType, () => {
|
|
398
398
|
S();
|
|
399
399
|
}), _(() => {
|
|
400
400
|
S();
|
|
@@ -515,7 +515,7 @@ function R(e, t, n, r, i, a) {
|
|
|
515
515
|
"scroll"
|
|
516
516
|
])], 64);
|
|
517
517
|
}
|
|
518
|
-
var z = /* @__PURE__ */
|
|
518
|
+
var z = /* @__PURE__ */ t(P, [["render", R], ["__scopeId", "data-v-3c42cdc3"]]), B = h({
|
|
519
519
|
name: "dataStoreSettingHistory",
|
|
520
520
|
props: {
|
|
521
521
|
modelType: {
|
|
@@ -529,8 +529,8 @@ var z = /* @__PURE__ */ i(P, [["render", R], ["__scopeId", "data-v-3c42cdc3"]]),
|
|
|
529
529
|
},
|
|
530
530
|
components: {},
|
|
531
531
|
emits: ["changeHistory"],
|
|
532
|
-
setup(
|
|
533
|
-
let s =
|
|
532
|
+
setup(t, { emit: o }) {
|
|
533
|
+
let s = e(), { t: l } = D(), u = b(!1), d = i().currentOrg, f = b(!1), p = b([]), h = b(1), g = b(10), v = b(0), x = b([]), S = [
|
|
534
534
|
{
|
|
535
535
|
title: "ID",
|
|
536
536
|
dataIndex: "id",
|
|
@@ -552,12 +552,12 @@ var z = /* @__PURE__ */ i(P, [["render", R], ["__scopeId", "data-v-3c42cdc3"]]),
|
|
|
552
552
|
width: 220
|
|
553
553
|
}
|
|
554
554
|
], w = b([]), O = () => {
|
|
555
|
-
if (!
|
|
555
|
+
if (!t.modelType) return;
|
|
556
556
|
u.value = !0;
|
|
557
557
|
let e = [{
|
|
558
558
|
field_name: "data_store_setting__menu_flag",
|
|
559
559
|
operator: "eq",
|
|
560
|
-
value: [
|
|
560
|
+
value: [t.modelType],
|
|
561
561
|
format: "input",
|
|
562
562
|
class_name: "str"
|
|
563
563
|
}];
|
|
@@ -598,11 +598,11 @@ var z = /* @__PURE__ */ i(P, [["render", R], ["__scopeId", "data-v-3c42cdc3"]]),
|
|
|
598
598
|
}, P = (e, t) => {
|
|
599
599
|
h.value === e && g.value === t || (h.value = e || 1, g.value = t || 50, O());
|
|
600
600
|
}, F = (e) => e / 2, I = (e) => {
|
|
601
|
-
|
|
602
|
-
component: m(() => import("./dataStoreSettingHistoryViewModal-
|
|
601
|
+
n(y({
|
|
602
|
+
component: m(() => import("./dataStoreSettingHistoryViewModal-DjSRPgQC.js")),
|
|
603
603
|
history_ids: e,
|
|
604
604
|
org_id: d?.id,
|
|
605
|
-
height:
|
|
605
|
+
height: t.height,
|
|
606
606
|
ok: (e) => {},
|
|
607
607
|
cancel: () => {}
|
|
608
608
|
}));
|
|
@@ -642,14 +642,14 @@ var z = /* @__PURE__ */ i(P, [["render", R], ["__scopeId", "data-v-3c42cdc3"]]),
|
|
|
642
642
|
}, z = async (e) => {
|
|
643
643
|
u.value = !0;
|
|
644
644
|
try {
|
|
645
|
-
await R(e, d?.id,
|
|
645
|
+
await R(e, d?.id, t.modelType) ? (o("changeHistory"), E.success(l("应用成功"))) : E.error(l("应用失败"));
|
|
646
646
|
} catch {
|
|
647
647
|
E.error(l("应用失败"));
|
|
648
648
|
} finally {
|
|
649
649
|
u.value = !1;
|
|
650
650
|
}
|
|
651
651
|
};
|
|
652
|
-
return C(() =>
|
|
652
|
+
return C(() => t.modelType, () => {
|
|
653
653
|
O();
|
|
654
654
|
}), _(() => {
|
|
655
655
|
O();
|
|
@@ -787,16 +787,16 @@ var G = h({
|
|
|
787
787
|
components: {
|
|
788
788
|
pageSettingHistory: N,
|
|
789
789
|
flowSettingHistory: z,
|
|
790
|
-
dataStoreSettingHistory: /* @__PURE__ */
|
|
790
|
+
dataStoreSettingHistory: /* @__PURE__ */ t(B, [["render", W], ["__scopeId", "data-v-2341b730"]]),
|
|
791
791
|
approveLeftConfig: o
|
|
792
792
|
},
|
|
793
793
|
setup(t) {
|
|
794
|
-
let
|
|
794
|
+
let n = e(), r = b("page_setting_history"), a = b(!1), o = i().userid, s = c(() => t.height + 45), l = b(null);
|
|
795
795
|
return {
|
|
796
796
|
userid: o,
|
|
797
797
|
loading: a,
|
|
798
|
-
pageSelectOptions:
|
|
799
|
-
activeKey:
|
|
798
|
+
pageSelectOptions: n,
|
|
799
|
+
activeKey: r,
|
|
800
800
|
bodyHeight: s,
|
|
801
801
|
selectedNode: l,
|
|
802
802
|
onChange: (e) => {
|
|
@@ -863,6 +863,6 @@ function q(e, t, n, r, i, a) {
|
|
|
863
863
|
_: 1
|
|
864
864
|
}, 8, ["style"])]);
|
|
865
865
|
}
|
|
866
|
-
var J = /* @__PURE__ */
|
|
866
|
+
var J = /* @__PURE__ */ t(G, [["render", q], ["__scopeId", "data-v-aa58e9b8"]]);
|
|
867
867
|
//#endregion
|
|
868
868
|
export { J as default };
|