lyflowchart 1.0.139 → 1.0.154
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-gWnpd8yJ.js +521 -0
- package/dist/{ApprovalEditorModal-19j5zbe2.js → ApprovalEditorModal-BsHxlueJ.js} +1 -1
- package/dist/{CancelModal-BUi3ieI8.js → CancelModal-CgQeC543.js} +1 -1
- package/dist/{Cell_click_approve-BGDZUzTS.js → Cell_click_approve-CzEatC97.js} +34 -32
- package/dist/{JsonTags-BbWLqghI.js → JsonTags-DQdw3WxB.js} +1 -1
- package/dist/{MyProcess-FWGEwQcv.js → MyProcess-SGZ_-9C3.js} +17 -17
- package/dist/{approval-BaD4Bmw6.js → approval-DD00xYMY.js} +1 -1
- package/dist/{approval-BW2WjPxY.js → approval-ekd9_mwq.js} +35 -35
- package/dist/{approvalHistory-B2gpQbFC.js → approvalHistory-DsHMvx1n.js} +35 -35
- package/dist/{approvalHistoryViewModal-DgLpv2ot.js → approvalHistoryViewModal-UzVPPpNH.js} +9 -9
- package/dist/{approvalPageConfig-D0zPXOUf.js → approvalPageConfig-DsoxsuXo.js} +83 -83
- 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-DLwtgcC7.js → columnTables-a7yfMH5Q.js} +88 -80
- package/dist/components/approval/ApprovalEditorModal.vue.d.ts +2 -0
- package/dist/components/approval/components/approvalPageConfig/ActionsConfig.vue.d.ts +481 -0
- package/dist/components/approval/components/approvalPageConfig/ColumnConfig.vue.d.ts +12 -0
- package/dist/components/approval/components/approvalPageConfig/leftColumn.vue.d.ts +1222 -0
- package/dist/components/approval/components/approvalPageConfig/middleColumn.vue.d.ts +605 -0
- package/dist/components/approval/components/approvalPageConfig/tableConfig.vue.d.ts +617 -0
- package/dist/components/approval/core.vue.d.ts +2 -0
- package/dist/components/approval/typing.d.ts +1 -1
- package/dist/components/approval/useApprovalRecordActions.d.ts +3 -1
- package/dist/constants.d.ts +26 -0
- package/dist/{core-Cv0Erg9E.js → core-BY-t0ghx.js} +393 -352
- package/dist/{dataStoreSettingHistoryViewModal-D_so-KLp.js → dataStoreSettingHistoryViewModal-DjSRPgQC.js} +9 -9
- package/dist/{debugCode-Cm9-WiUG.js → debugCode-CTU6KCej.js} +20 -20
- package/dist/{default-VdDMlY4e.js → default-CFd6cRxl.js} +28 -21
- package/dist/{example_code-C_xF8RRG.js → example_code-DKjqP7KK.js} +6 -0
- package/dist/{flowHistoryViewModal-D8DJP7Te.js → flowHistoryViewModal-CaGj3LP4.js} +9 -9
- package/dist/index.js +36 -34
- package/dist/{init-plugin-fQTSQzui.js → init-plugin-CpYzRii0.js} +7 -3
- package/dist/init-plugin.d.ts +13 -0
- package/dist/{leftColumn-CsPjufue.js → leftColumn-Dzw2Dk6g.js} +3 -3
- package/dist/lyflowchart.css +1 -1
- package/dist/{middleColumn-C7M6-eVo.js → middleColumn-CTOCcPnB.js} +12 -12
- package/dist/{recordActions-BgFlNsGU.js → recordActions-z7hvfqGR.js} +1 -1
- package/dist/{tableConfig-uLXue-BS.js → tableConfig-CMhKXmQF.js} +740 -585
- package/dist/{tableModal-BcYfVL02.js → tableModal-LuDGonFy.js} +2 -2
- package/dist/{useApprovalRecordActions-BQ6MgV2L.js → useApprovalRecordActions-6IFZrwvr.js} +68 -68
- package/dist/{utils-CLet2gLV.js → utils-DRldFEoM.js} +14 -10
- package/dist/{viewer-Dv3kQsMf.js → viewer-BDGXjryM.js} +916 -917
- package/package.json +1 -1
- package/dist/ActionsConfig-BuvSvRbv.js +0 -395
|
@@ -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,35 +16,37 @@ 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,
|
|
23
23
|
printTitle: "审批信息",
|
|
24
24
|
onChange: () => {
|
|
25
|
-
I.value?.reload(),
|
|
25
|
+
I.value?.reload(), J();
|
|
26
26
|
}
|
|
27
|
-
}), W =
|
|
27
|
+
}), W = async (e) => {
|
|
28
|
+
await R(e), (B.value || H.value) && (k.value = !1);
|
|
29
|
+
}, G = p(() => import("./ApprovalEditorModal-BsHxlueJ.js")), K = async () => {
|
|
28
30
|
k.value = !0;
|
|
29
|
-
let e = await
|
|
31
|
+
let e = await t({
|
|
30
32
|
org_id: O?.id,
|
|
31
33
|
approve_record_id: D.cmpObj.record.id
|
|
32
34
|
}, "/approve/get_approve_record_info");
|
|
33
35
|
e?.current_task?.id && (P.value = e.current_task.id);
|
|
34
|
-
}, K = () => {
|
|
35
|
-
k.value = !1;
|
|
36
36
|
}, q = () => {
|
|
37
|
+
k.value = !1;
|
|
38
|
+
}, J = () => {
|
|
37
39
|
D.cmpObj?.eventBus && D.cmpObj.eventBus.emit("reinit"), D.cmpObj?.event_obj && D.cmpObj.event_obj.emit("refresh");
|
|
38
|
-
},
|
|
40
|
+
}, Y = (e) => {
|
|
39
41
|
A.value = !0, w.confirm({
|
|
40
42
|
title: "提示",
|
|
41
43
|
content: "是否确认要发起审批",
|
|
42
44
|
async onOk() {
|
|
43
|
-
|
|
45
|
+
t({
|
|
44
46
|
org_id: O?.id,
|
|
45
47
|
approve_record_id: e.id
|
|
46
48
|
}, "/approve/commit_approve_record").then(() => {
|
|
47
|
-
T.success("操作成功"),
|
|
49
|
+
T.success("操作成功"), J();
|
|
48
50
|
}).finally(() => {
|
|
49
51
|
A.value = !1;
|
|
50
52
|
});
|
|
@@ -53,16 +55,16 @@ var E = { style: {
|
|
|
53
55
|
A.value = !1;
|
|
54
56
|
}
|
|
55
57
|
});
|
|
56
|
-
},
|
|
58
|
+
}, X = (e) => {
|
|
57
59
|
j.value = !0, w.confirm({
|
|
58
60
|
title: "提示",
|
|
59
61
|
content: "是否确认要撤销审批",
|
|
60
62
|
async onOk() {
|
|
61
|
-
|
|
63
|
+
t({
|
|
62
64
|
org_id: O?.id,
|
|
63
65
|
approve_record_id: e.id
|
|
64
66
|
}, "/approve/cancel_approve_record").then(() => {
|
|
65
|
-
T.success("操作成功"),
|
|
67
|
+
T.success("操作成功"), J();
|
|
66
68
|
}).finally(() => {
|
|
67
69
|
j.value = !1;
|
|
68
70
|
});
|
|
@@ -71,9 +73,9 @@ var E = { style: {
|
|
|
71
73
|
j.value = !1;
|
|
72
74
|
}
|
|
73
75
|
});
|
|
74
|
-
},
|
|
76
|
+
}, Z = (n) => {
|
|
75
77
|
let r = v({});
|
|
76
|
-
|
|
78
|
+
n == "refuse" ? (r.comment = [{
|
|
77
79
|
required: !0,
|
|
78
80
|
message: "请输入审批意见"
|
|
79
81
|
}], N.value = !0) : M.value = !0;
|
|
@@ -102,14 +104,14 @@ var E = { style: {
|
|
|
102
104
|
model: v({ comment: null })
|
|
103
105
|
},
|
|
104
106
|
options: {},
|
|
105
|
-
ok: (
|
|
106
|
-
i.open = !1,
|
|
107
|
+
ok: (e) => new Promise(function(r) {
|
|
108
|
+
i.open = !1, t({
|
|
107
109
|
org_id: O?.id,
|
|
108
110
|
task_id: P.value,
|
|
109
|
-
comment:
|
|
110
|
-
approval_result:
|
|
111
|
+
comment: e.comment,
|
|
112
|
+
approval_result: n
|
|
111
113
|
}, "/lyapprove/claim_and_complete_task").then(() => {
|
|
112
|
-
T.success(
|
|
114
|
+
T.success(n == "refuse" ? "审批拒绝" : "审批通过"), J(), r(null);
|
|
113
115
|
}).finally(() => {
|
|
114
116
|
M.value = !1, N.value = !1;
|
|
115
117
|
});
|
|
@@ -118,7 +120,7 @@ var E = { style: {
|
|
|
118
120
|
i.open = !1;
|
|
119
121
|
}
|
|
120
122
|
});
|
|
121
|
-
|
|
123
|
+
e(i);
|
|
122
124
|
};
|
|
123
125
|
return (e, t) => {
|
|
124
126
|
let n = b("a-button"), r = b("a-drawer");
|
|
@@ -130,7 +132,7 @@ var E = { style: {
|
|
|
130
132
|
width: "100%"
|
|
131
133
|
},
|
|
132
134
|
type: "link",
|
|
133
|
-
onClick: t[0] ||= (e) =>
|
|
135
|
+
onClick: t[0] ||= (e) => K()
|
|
134
136
|
}, {
|
|
135
137
|
default: C(() => [u("span", E, x(m.cmpObj.text), 1)]),
|
|
136
138
|
_: 1
|
|
@@ -141,14 +143,14 @@ var E = { style: {
|
|
|
141
143
|
open: k.value,
|
|
142
144
|
width: 1120,
|
|
143
145
|
title: "审批信息",
|
|
144
|
-
onClose:
|
|
146
|
+
onClose: q
|
|
145
147
|
}, {
|
|
146
148
|
extra: C(() => [
|
|
147
149
|
m.cmpObj.record.process_status === "init" || m.cmpObj.record.result_status === "reject" ? (_(), s(n, {
|
|
148
150
|
key: 0,
|
|
149
151
|
loading: A.value,
|
|
150
152
|
type: "primary",
|
|
151
|
-
onClick: t[1] ||= (e) =>
|
|
153
|
+
onClick: t[1] ||= (e) => Y(m.cmpObj.record)
|
|
152
154
|
}, {
|
|
153
155
|
default: C(() => [...t[10] ||= [d(" 提交 ", -1)]]),
|
|
154
156
|
_: 1
|
|
@@ -159,7 +161,7 @@ var E = { style: {
|
|
|
159
161
|
danger: "",
|
|
160
162
|
style: { "margin-left": "10px" },
|
|
161
163
|
type: "primary",
|
|
162
|
-
onClick: t[2] ||= (e) =>
|
|
164
|
+
onClick: t[2] ||= (e) => X(m.cmpObj.record)
|
|
163
165
|
}, {
|
|
164
166
|
default: C(() => [...t[11] ||= [d(" 撤销 ", -1)]]),
|
|
165
167
|
_: 1
|
|
@@ -169,7 +171,7 @@ var E = { style: {
|
|
|
169
171
|
loading: M.value,
|
|
170
172
|
style: { "margin-left": "10px" },
|
|
171
173
|
type: "primary",
|
|
172
|
-
onClick: t[3] ||= (e) =>
|
|
174
|
+
onClick: t[3] ||= (e) => Z("agree")
|
|
173
175
|
}, {
|
|
174
176
|
default: C(() => [...t[12] ||= [d(" 审批通过 ", -1)]]),
|
|
175
177
|
_: 1
|
|
@@ -180,7 +182,7 @@ var E = { style: {
|
|
|
180
182
|
style: { "margin-left": "10px" },
|
|
181
183
|
danger: "",
|
|
182
184
|
type: "primary",
|
|
183
|
-
onClick: t[4] ||= (e) =>
|
|
185
|
+
onClick: t[4] ||= (e) => Z("refuse")
|
|
184
186
|
}, {
|
|
185
187
|
default: C(() => [...t[13] ||= [d(" 审批拒绝 ", -1)]]),
|
|
186
188
|
_: 1
|
|
@@ -190,7 +192,7 @@ var E = { style: {
|
|
|
190
192
|
loading: S(z),
|
|
191
193
|
style: { "margin-left": "10px" },
|
|
192
194
|
type: "primary",
|
|
193
|
-
onClick: t[5] ||= (e) =>
|
|
195
|
+
onClick: t[5] ||= (e) => W("edit_approve")
|
|
194
196
|
}, {
|
|
195
197
|
default: C(() => [...t[14] ||= [d(" 修改 ", -1)]]),
|
|
196
198
|
_: 1
|
|
@@ -201,7 +203,7 @@ var E = { style: {
|
|
|
201
203
|
danger: "",
|
|
202
204
|
style: { "margin-left": "10px" },
|
|
203
205
|
type: "primary",
|
|
204
|
-
onClick: t[6] ||= (e) =>
|
|
206
|
+
onClick: t[6] ||= (e) => W("cancel_agree_approve")
|
|
205
207
|
}, {
|
|
206
208
|
default: C(() => [...t[15] ||= [d(" 删除 ", -1)]]),
|
|
207
209
|
_: 1
|
|
@@ -227,7 +229,7 @@ var E = { style: {
|
|
|
227
229
|
}, null, 8, ["record"])], 512)]),
|
|
228
230
|
_: 1
|
|
229
231
|
}, 8, ["open"]),
|
|
230
|
-
S(B) ? (_(), s(S(
|
|
232
|
+
S(B) ? (_(), s(S(G), g({
|
|
231
233
|
key: 0,
|
|
232
234
|
open: S(B),
|
|
233
235
|
"onUpdate:open": t[8] ||= (e) => h(B) ? B.value = e : null
|
|
@@ -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 {
|
|
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)), {
|