@jeecg/online 3.7.4 → 3.9.0-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/{AccountLoginForm-d2fed52f.mjs → AccountLoginForm-cbc75a49.mjs} +1 -1
- package/{AiModal-fbe4b68a.mjs → AiModal-5bec5218.mjs} +1 -1
- package/{AppForgetPassword-3b3bec82.mjs → AppForgetPassword-dbc8377e.mjs} +2 -2
- package/{AppLogin-cd2e2a87.mjs → AppLogin-786949d3.mjs} +9 -9
- package/{AppLoginHeader-9b5be678.mjs → AppLoginHeader-37034b2f.mjs} +1 -1
- package/{AppNameEmail-b4e32ae8.mjs → AppNameEmail-7c6a1406.mjs} +2 -2
- package/{AppRegister-7117b66a.mjs → AppRegister-29a00a9d.mjs} +3 -3
- package/{AppTenant-5817729b.mjs → AppTenant-92890383.mjs} +2 -2
- package/{AppThirdForm-d14fb5e5.mjs → AppThirdForm-760064e5.mjs} +1 -1
- package/{AuthButtonConfig-5e3b6d72.mjs → AuthButtonConfig-78180aec.mjs} +50 -46
- package/{AuthButtonTree-7b4ec967.mjs → AuthButtonTree-62c8e70c.mjs} +2 -2
- package/{AuthDataConfig-48ee9228.mjs → AuthDataConfig-c978c469.mjs} +2 -2
- package/{AuthDataTree-02b3ba05.mjs → AuthDataTree-0647a06c.mjs} +1 -1
- package/{AuthFieldConfig-562cc6b6.mjs → AuthFieldConfig-558283bc.mjs} +2 -2
- package/{AuthFieldTree-2d458c0c.mjs → AuthFieldTree-106db4e2.mjs} +1 -1
- package/{AuthManagerDrawer-38299230.mjs → AuthManagerDrawer-ec5190d2.mjs} +5 -5
- package/{AuthSetterModal-78b06703.mjs → AuthSetterModal-90a76886.mjs} +8 -8
- package/CgformAddressModal-690b8940.mjs +263 -0
- package/CgformCopyList-af9c99a4.mjs +260 -0
- package/{CgformModal-12951453.mjs → CgformModal-b04a492a.mjs} +73 -70
- package/CgreportAigcModal-8fdcbd31.mjs +211 -0
- package/{CgreportModal-bfeb93ed.mjs → CgreportModal-da62724c.mjs} +123 -119
- package/{CheckDictTable-3c1e59e0.mjs → CheckDictTable-7320189b.mjs} +2 -2
- package/{CodeFileListModal-71752603.mjs → CodeFileListModal-e5ec210d.mjs} +2 -2
- package/CodeFileViewModal-09053f3a.mjs +269 -0
- package/CodeGeneratorModal-aba790e3.mjs +298 -0
- package/{CustomButtonList-22b5cdb3.mjs → CustomButtonList-704e6d1c.mjs} +1 -1
- package/{DBAttributeTable-eb25565c.mjs → DBAttributeTable-4a65c897.mjs} +176 -131
- package/{DbToOnlineModal-049b4bbd.mjs → DbToOnlineModal-cc398c70.mjs} +1 -1
- package/{DetailForm-c127c27f.mjs → DetailForm-a2bf8c33.mjs} +165 -153
- package/{DropMenuItem-b1a8f47d.mjs → DropMenuItem-884f9464.mjs} +1 -1
- package/{EnhanceJavaModal-1a4d696b.mjs → EnhanceJavaModal-fe8d475d.mjs} +1 -1
- package/{EnhanceJsHistory-48cf43ad.mjs → EnhanceJsHistory-95ca545c.mjs} +2 -2
- package/{EnhanceJsModal-0e1f15f8.mjs → EnhanceJsModal-742b0ee2.mjs} +17 -16
- package/{EnhanceSqlModal-6a1aa471.mjs → EnhanceSqlModal-6e36bc4f.mjs} +1 -1
- package/{ExtendConfigModal-37af21a5.mjs → ExtendConfigModal-74d657c7.mjs} +2 -2
- package/{FieldExtendJsonModal-9441e08e.mjs → FieldExtendJsonModal-fe7f7902.mjs} +2 -2
- package/{FileSelectModal-04490919.mjs → FileSelectModal-cf41604b.mjs} +1 -1
- package/{ForeignKeyTable-06300a47.mjs → ForeignKeyTable-4a59ded1.mjs} +2 -2
- package/{IndexTable-79bddd5c.mjs → IndexTable-87d67830.mjs} +2 -2
- package/{JModalTip-192fafa1.mjs → JModalTip-5401f43d.mjs} +1 -1
- package/{JOnlineSearchSelect-9abcf657.mjs → JOnlineSearchSelect-d8c57973.mjs} +1 -1
- package/{LeftDepart-35d78655.mjs → LeftDepart-463bf432.mjs} +1 -1
- package/{LeftRole-9d88976d.mjs → LeftRole-1631d3d4.mjs} +1 -1
- package/{LeftUser-04c89aea.mjs → LeftUser-5774a5db.mjs} +1 -1
- package/{LinkTableConfigModal-5f94ef13.mjs → LinkTableConfigModal-1bab1423.mjs} +1 -1
- package/{LinkTableFieldConfigModal-40753de5.mjs → LinkTableFieldConfigModal-49470140.mjs} +1 -1
- package/{LinkTableListPiece-179035c7.mjs → LinkTableListPiece-47f4286c.mjs} +1 -1
- package/{ModalFormDemo-3a85920c.mjs → ModalFormDemo-dbd0aa28.mjs} +1 -1
- package/OnlCgformErpList-35ad1d6e.mjs +528 -0
- package/{OnlCgformErpSubTable-3515150b.mjs → OnlCgformErpSubTable-5093d438.mjs} +45 -42
- package/{OnlCgformInnerSubTable-13e888c6.mjs → OnlCgformInnerSubTable-f1dc90db.mjs} +108 -103
- package/{OnlCgformInnerTableList-2e8f853c.mjs → OnlCgformInnerTableList-1b82a7da.mjs} +163 -155
- package/{OnlCgformTabList-583ac15f.mjs → OnlCgformTabList-d66d1261.mjs} +163 -155
- package/OnlineAutoList-fbba2a52.mjs +559 -0
- package/{OnlineAutoModal-c0743caf.mjs → OnlineAutoModal-68909692.mjs} +11 -10
- package/OnlineAutoTreeList-5153f09d.mjs +533 -0
- package/OnlineCustomModal-b5f8c799.mjs +247 -0
- package/{OnlineDetailModal-785e848e.mjs → OnlineDetailModal-ac078a9a.mjs} +45 -43
- package/OnlineForm-20604e4f.mjs +1080 -0
- package/OnlineFormDetail-719118b6.mjs +350 -0
- package/{OnlineFormUrlAdd-905bf251.mjs → OnlineFormUrlAdd-5b675f48.mjs} +14 -12
- package/{OnlineFormUrlDetail-a9dd2bfa.mjs → OnlineFormUrlDetail-91156bf2.mjs} +22 -19
- package/{OnlineFormUrlEdit-b8941f05.mjs → OnlineFormUrlEdit-fb810de6.mjs} +14 -12
- package/{OnlineFormUrlSuccess-ecaf6a21.mjs → OnlineFormUrlSuccess-302ecb21.mjs} +1 -1
- package/{OnlineQueryForm-ca6186a3.mjs → OnlineQueryForm-5eeceb51.mjs} +120 -120
- package/{OnlineSearchFormItem-5c503a51.mjs → OnlineSearchFormItem-5536a1a6.mjs} +2 -2
- package/{OnlineSelectCascade-a3e686b3.mjs → OnlineSelectCascade-180e8c9a.mjs} +61 -55
- package/{OnlineSubFormDetail-be1ad3b9.mjs → OnlineSubFormDetail-4d64e7be.mjs} +48 -44
- package/{OnlineTabAutoModal-fb59b573.mjs → OnlineTabAutoModal-c127ed50.mjs} +10 -9
- package/{OnlineTabDetailModal-4b9c4838.mjs → OnlineTabDetailModal-e4e9f7e3.mjs} +39 -37
- package/{OnlineTabForm-89389384.mjs → OnlineTabForm-827e7089.mjs} +26 -25
- package/OnlineTabFormDetail-0f96377e.mjs +329 -0
- package/{PageAttributeTable-345b97fe.mjs → PageAttributeTable-5703e2f1.mjs} +6 -6
- package/{PhoneLoginForm-8ca7e2d4.mjs → PhoneLoginForm-15dc68ed.mjs} +52 -52
- package/ProcessOnlineForm-1fcbe0af.mjs +219 -0
- package/{QueryTable-f0a88d78.mjs → QueryTable-26c9ee22.mjs} +2 -2
- package/{SetSwitchOptions-cdcb22a1.mjs → SetSwitchOptions-a3428177.mjs} +1 -1
- package/{ShareAddView-f713c0a5.mjs → ShareAddView-0512e884.mjs} +25 -22
- package/{ShareEditView-691764ad.mjs → ShareEditView-b89dfbd3.mjs} +25 -22
- package/{ShareView-df344a8d.mjs → ShareView-faf1a0ab.mjs} +23 -20
- package/{ShareView.vue_vue_type_script_setup_true_lang-560459c9.mjs → ShareView.vue_vue_type_script_setup_true_lang-d1597c0d.mjs} +2 -2
- package/{SingleView-ad0287d6.mjs → SingleView-21d3a558.mjs} +18 -15
- package/{SingleView.vue_vue_type_style_index_0_lang-ce96670b.mjs → SingleView.vue_vue_type_style_index_0_lang-914483d0.mjs} +4 -4
- package/{SuperQuery-2b293e3b.mjs → SuperQuery-c95f86ee.mjs} +69 -67
- package/TaskOpinionList-73ecb3c8.mjs +101 -0
- package/aiModal-b44fa135.mjs +175 -0
- package/{auth.data-626c5083.mjs → auth.data-e44c7975.mjs} +10 -9
- package/button.data-fe45d43b.mjs +12 -0
- package/dayjs.min-eea532a3.mjs +301 -0
- package/{index-d6f9ada7.mjs → index-02f6dc7d.mjs} +2 -2
- package/{index-bef7fe2d.mjs → index-22a99f2e.mjs} +1 -1
- package/{index-181f8344.mjs → index-26940246.mjs} +3 -3
- package/{index-3c7392a4.mjs → index-30da2fc0.mjs} +136 -128
- package/index-391aec04.mjs +268 -0
- package/index-94b6319e.mjs +57 -0
- package/{index-93341e02.mjs → index-abbfd327.mjs} +2 -2
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-aaa30c8c.mjs +410 -0
- package/{useCustomHook-acb00837.mjs → useCustomHook-3a17a690.mjs} +11 -9
- package/useExtendComponent-ad499dff.mjs +4164 -0
- package/useListButton-308458cd.mjs +765 -0
- package/{useSchemas-f1819e54.mjs → useSchemas-b074f3a1.mjs} +72 -72
- package/{useTableSync-075826a1.mjs → useTableSync-dbfba20e.mjs} +31 -31
- package/CgformAddressModal-1b9cbe19.mjs +0 -260
- package/CgformCopyList-580bba0f.mjs +0 -252
- package/CodeFileViewModal-eb803769.mjs +0 -253
- package/CodeGeneratorModal-2fe1e920.mjs +0 -281
- package/OnlCgformErpList-8fd15fc1.mjs +0 -488
- package/OnlineAutoList-36ec0957.mjs +0 -513
- package/OnlineAutoTreeList-1cd718be.mjs +0 -523
- package/OnlineCustomModal-661ee850.mjs +0 -232
- package/OnlineForm-c1fb38eb.mjs +0 -1012
- package/OnlineFormDetail-50186870.mjs +0 -342
- package/OnlineTabFormDetail-72173ae4.mjs +0 -327
- package/ProcessOnlineForm-485b5679.mjs +0 -188
- package/README.md +0 -26
- package/index-3ccda826.mjs +0 -239
- package/index-f3683351.mjs +0 -57
- package/useCgformList-13c8aab7.mjs +0 -378
- package/useExtendComponent-3f5734ca.mjs +0 -4459
- package/useListButton-ee23874a.mjs +0 -719
- /package/{OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs} +0 -0
|
@@ -10,20 +10,21 @@ var Ce = (y, o, S) => o in y ? Te(y, o, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
Me.call(o, S) && Ce(y, S, o[S]);
|
|
11
11
|
return y;
|
|
12
12
|
}, Z = (y, o) => Oe(y, xe(o));
|
|
13
|
-
import { ref as
|
|
13
|
+
import { ref as M, reactive as Se, watch as se, toRaw as we, computed as Pe, resolveComponent as v, openBlock as O, createElementBlock as ve, Fragment as ye, createElementVNode as D, createBlock as N, withCtx as c, createVNode as d, toDisplayString as de, Teleport as Ve, createTextVNode as H, createCommentVNode as Ie, normalizeClass as _e, withDirectives as Fe, vShow as be, normalizeStyle as Ne, renderList as ke } from "vue";
|
|
14
14
|
import { useModalInner as Re, BasicModal as Ae, useModal as Qe } from "/@/components/Modal";
|
|
15
15
|
import { randomString as fe } from "/@/utils/common/compUtils";
|
|
16
16
|
import { useMessage as De } from "/@/hooks/web/useMessage";
|
|
17
17
|
import { Modal as je, Divider as qe, Popconfirm as Le, Empty as Ye } from "ant-design-vue";
|
|
18
18
|
import { createLocalStorage as Je } from "/@/utils/cache";
|
|
19
19
|
import { useRoute as He } from "vue-router";
|
|
20
|
-
import {
|
|
20
|
+
import { c as Ue, F as Ke } from "./useExtendComponent-ad499dff.mjs";
|
|
21
21
|
import { cloneDeep as pe } from "lodash-es";
|
|
22
22
|
import { _ as ze } from "./SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs";
|
|
23
23
|
import { MinusCircleOutlined as We, PlusOutlined as Ge, FileTextOutlined as Xe, CloseCircleOutlined as Ze, AppstoreTwoTone as $e } from "@ant-design/icons-vue";
|
|
24
|
+
import { d as ge } from "./dayjs.min-eea532a3.mjs";
|
|
24
25
|
import { useConditionFilter as et } from "/@/utils/index";
|
|
25
26
|
import { useDesign as tt } from "/@/hooks/web/useDesign";
|
|
26
|
-
import { _ as lt } from "./index-
|
|
27
|
+
import { _ as lt } from "./index-94b6319e.mjs";
|
|
27
28
|
import "/@/components/Form/src/componentMap";
|
|
28
29
|
import "/@/utils/propTypes";
|
|
29
30
|
import "/@/components/Form/index";
|
|
@@ -41,14 +42,14 @@ import "/@/components/Table";
|
|
|
41
42
|
import "/@/hooks/system/useListPage";
|
|
42
43
|
import "/@/components/Form/src/utils/Area";
|
|
43
44
|
import "/@/components/Preview/index";
|
|
44
|
-
import "./LinkTableListPiece-
|
|
45
|
+
import "./LinkTableListPiece-47f4286c.mjs";
|
|
45
46
|
import "/@/utils/auth";
|
|
46
47
|
import "/@/api/common/api";
|
|
47
48
|
import "/@/hooks/web/useAppInject";
|
|
48
49
|
import "/@/assets/images/placeholderImage.png";
|
|
49
|
-
import "./OnlineSelectCascade-
|
|
50
|
+
import "./OnlineSelectCascade-180e8c9a.mjs";
|
|
50
51
|
import "/@/components/Loading";
|
|
51
|
-
import "./JModalTip-
|
|
52
|
+
import "./JModalTip-5401f43d.mjs";
|
|
52
53
|
import "@vueuse/core";
|
|
53
54
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
54
55
|
const nt = {
|
|
@@ -62,9 +63,9 @@ const nt = {
|
|
|
62
63
|
radio: "list"
|
|
63
64
|
}, ot = "JSuperQuerySaved_";
|
|
64
65
|
function at(y) {
|
|
65
|
-
const { linkTableCard2Select: o } = Ue(), { createMessage: S } = De(), l =
|
|
66
|
+
const { linkTableCard2Select: o } = Ue(), { createMessage: S } = De(), l = M(), k = Se({
|
|
66
67
|
values: []
|
|
67
|
-
}), R =
|
|
68
|
+
}), R = M("and"), I = M(!1), [$, { setModalProps: T }] = Re(() => {
|
|
68
69
|
T({ confirmLoading: !1 });
|
|
69
70
|
}), A = Object.assign({}, { link_down: "text" }, nt);
|
|
70
71
|
function j() {
|
|
@@ -74,17 +75,17 @@ function at(y) {
|
|
|
74
75
|
function U(t, n, i) {
|
|
75
76
|
i.val = n;
|
|
76
77
|
}
|
|
77
|
-
const
|
|
78
|
+
const x = M({}), Y = M([]), P = (t) => {
|
|
78
79
|
const { properties: n = {} } = t;
|
|
79
80
|
Object.entries(n).forEach(([i, a]) => {
|
|
80
|
-
a.view === "table" &&
|
|
81
|
+
a.view === "table" && P(a), ["link_down"].includes(a.originView || a.view) && delete n[i];
|
|
81
82
|
});
|
|
82
83
|
};
|
|
83
84
|
function q(t) {
|
|
84
85
|
var r;
|
|
85
|
-
|
|
86
|
+
P(t);
|
|
86
87
|
let { allFields: n, treeData: i } = re(t);
|
|
87
|
-
|
|
88
|
+
x.value = n;
|
|
88
89
|
const a = (r = t.properties) != null ? r : {}, m = [], p = t.table;
|
|
89
90
|
if (Object.entries(a).forEach(([h, e]) => {
|
|
90
91
|
e.view === "table" && m.push(h);
|
|
@@ -124,7 +125,7 @@ function at(y) {
|
|
|
124
125
|
};
|
|
125
126
|
function ne(t, n) {
|
|
126
127
|
var h, e, u;
|
|
127
|
-
let a =
|
|
128
|
+
let a = x.value[t.field];
|
|
128
129
|
if (!a)
|
|
129
130
|
return le;
|
|
130
131
|
A[a.view] && (a.view = A[a.view]);
|
|
@@ -153,18 +154,18 @@ function at(y) {
|
|
|
153
154
|
}
|
|
154
155
|
return r;
|
|
155
156
|
}
|
|
156
|
-
const J =
|
|
157
|
+
const J = M(""), Q = Je(), E = Se({
|
|
157
158
|
visible: !1,
|
|
158
159
|
title: "",
|
|
159
160
|
content: "",
|
|
160
161
|
saveCode: ""
|
|
161
|
-
}), oe =
|
|
162
|
+
}), oe = M(!1), z = He();
|
|
162
163
|
y.isCustomSave ? se(y.saveSearchData, () => {
|
|
163
164
|
F.value = y.saveSearchData;
|
|
164
165
|
}) : se(() => z.fullPath, (t) => {
|
|
165
166
|
W();
|
|
166
167
|
});
|
|
167
|
-
const F =
|
|
168
|
+
const F = M([]);
|
|
168
169
|
se(() => F.value, (t) => {
|
|
169
170
|
let n = [];
|
|
170
171
|
t && t.length > 0 && t.map((i) => {
|
|
@@ -200,10 +201,10 @@ function at(y) {
|
|
|
200
201
|
E.visible = !0, E.title = "", E.content = t;
|
|
201
202
|
}
|
|
202
203
|
function ie() {
|
|
203
|
-
let { title: t, content: n, saveCode: i } = E, a =
|
|
204
|
+
let { title: t, content: n, saveCode: i } = E, a = V(t);
|
|
204
205
|
const m = (p) => {
|
|
205
206
|
const r = pe(F.value);
|
|
206
|
-
|
|
207
|
+
I.value = !0, p ? r.splice(a, 1, {
|
|
207
208
|
content: n,
|
|
208
209
|
title: t,
|
|
209
210
|
type: R.value
|
|
@@ -213,12 +214,12 @@ function at(y) {
|
|
|
213
214
|
type: R.value
|
|
214
215
|
});
|
|
215
216
|
const h = () => {
|
|
216
|
-
E.visible = !1, S.success("保存成功"), F.value = r,
|
|
217
|
+
E.visible = !1, S.success("保存成功"), F.value = r, I.value = !1;
|
|
217
218
|
};
|
|
218
219
|
y.isCustomSave ? y.save(r, 0).then(() => {
|
|
219
220
|
h();
|
|
220
221
|
}).catch((e) => {
|
|
221
|
-
|
|
222
|
+
I.value = !1;
|
|
222
223
|
}) : (Q.set(i, r, 2592e3), h());
|
|
223
224
|
};
|
|
224
225
|
a >= 0 ? je.confirm({
|
|
@@ -231,7 +232,7 @@ function at(y) {
|
|
|
231
232
|
}
|
|
232
233
|
}) : m(0);
|
|
233
234
|
}
|
|
234
|
-
function
|
|
235
|
+
function V(t) {
|
|
235
236
|
let n = F.value, i = -1;
|
|
236
237
|
for (let a = 0; a < n.length; a++)
|
|
237
238
|
if (n[a].title == t) {
|
|
@@ -245,7 +246,7 @@ function at(y) {
|
|
|
245
246
|
let n = k.values;
|
|
246
247
|
if (!n || n.length == 0)
|
|
247
248
|
return !1;
|
|
248
|
-
let i = [], a =
|
|
249
|
+
let i = [], a = x.value;
|
|
249
250
|
for (let p of n) {
|
|
250
251
|
let r = ["empty", "not_empty"].includes(p.rule);
|
|
251
252
|
if (p.field && (r || p.val || p.val === 0) && p.rule) {
|
|
@@ -270,7 +271,7 @@ function at(y) {
|
|
|
270
271
|
let n = t.field;
|
|
271
272
|
return n.indexOf("@") > 0 && (n = n.replace("@", ",")), n;
|
|
272
273
|
}
|
|
273
|
-
function
|
|
274
|
+
function B(t, { node: n }) {
|
|
274
275
|
let i = n.dataRef.title, a = F.value.filter((m) => m.title == i);
|
|
275
276
|
if (a && a.length > 0) {
|
|
276
277
|
let { content: m, type: p } = a[0], r = JSON.parse(m), h = [];
|
|
@@ -280,7 +281,7 @@ function at(y) {
|
|
|
280
281
|
}
|
|
281
282
|
}
|
|
282
283
|
function b(t) {
|
|
283
|
-
let n =
|
|
284
|
+
let n = V(t);
|
|
284
285
|
if (n >= 0)
|
|
285
286
|
if (y.isCustomSave) {
|
|
286
287
|
const i = pe(F.value);
|
|
@@ -365,7 +366,7 @@ function at(y) {
|
|
|
365
366
|
saveInfo: E,
|
|
366
367
|
saveTreeData: J,
|
|
367
368
|
handleRemoveSaveInfo: b,
|
|
368
|
-
handleTreeSelect:
|
|
369
|
+
handleTreeSelect: B,
|
|
369
370
|
fieldTreeData: Y,
|
|
370
371
|
addOne: K,
|
|
371
372
|
removeOne: te,
|
|
@@ -374,8 +375,8 @@ function at(y) {
|
|
|
374
375
|
loading: oe,
|
|
375
376
|
getQueryInfo: L,
|
|
376
377
|
initDefaultValues: me,
|
|
377
|
-
saveModalLoading:
|
|
378
|
-
fieldProperties:
|
|
378
|
+
saveModalLoading: I,
|
|
379
|
+
fieldProperties: x
|
|
379
380
|
};
|
|
380
381
|
}
|
|
381
382
|
const it = {
|
|
@@ -427,7 +428,7 @@ const it = {
|
|
|
427
428
|
},
|
|
428
429
|
emits: ["search"],
|
|
429
430
|
setup(y, { emit: o }) {
|
|
430
|
-
const [S, l] = Qe(), { createMessage: k } = De(), R =
|
|
431
|
+
const [S, l] = Qe(), { createMessage: k } = De(), R = M({}), I = M(180), { prefixCls: $ } = tt("super-query"), T = `${$}-tree-popup`, A = M(!0);
|
|
431
432
|
let j = null;
|
|
432
433
|
const { filterCondition: ee } = et(), U = (e) => {
|
|
433
434
|
var f, w;
|
|
@@ -437,31 +438,32 @@ const it = {
|
|
|
437
438
|
return ee({ view: g.originView || g.view, fieldType: g.fieldType });
|
|
438
439
|
};
|
|
439
440
|
if (((f = e.field) == null ? void 0 : f.indexOf("@")) == -1 || !e.field)
|
|
440
|
-
return u(
|
|
441
|
+
return u(V.value, e.field);
|
|
441
442
|
{
|
|
442
|
-
const _ = e.field.split("@")[0], C =
|
|
443
|
+
const _ = e.field.split("@")[0], C = V.value.find((g) => g.value === _);
|
|
443
444
|
if ((w = C == null ? void 0 : C.children) != null && w.length)
|
|
444
445
|
return u(C.children, e.field);
|
|
445
446
|
}
|
|
446
447
|
};
|
|
447
|
-
function
|
|
448
|
+
function x() {
|
|
448
449
|
l.closeModal();
|
|
449
450
|
}
|
|
450
451
|
function Y() {
|
|
451
452
|
if (y.online === !0) {
|
|
452
453
|
let e = ue(!0);
|
|
453
|
-
e && e.length > 0 ? (
|
|
454
|
+
e && e.length > 0 ? (P(e), o("search", e, E.value), x(), j = e) : k.warning("空条件无法查询!");
|
|
454
455
|
} else {
|
|
455
456
|
let e = ue(!0);
|
|
456
457
|
if (e && e.length > 0) {
|
|
458
|
+
P(e);
|
|
457
459
|
let u = q(e);
|
|
458
|
-
o("search", u);
|
|
460
|
+
o("search", u), x();
|
|
459
461
|
} else
|
|
460
462
|
k.warning("空条件无法查询!");
|
|
461
463
|
}
|
|
462
464
|
A.value = !0;
|
|
463
465
|
}
|
|
464
|
-
const
|
|
466
|
+
const P = (e) => {
|
|
465
467
|
e.forEach((u) => {
|
|
466
468
|
const f = u.val;
|
|
467
469
|
if (u.type === "date" && typeof f == "string" && f != "") {
|
|
@@ -502,9 +504,9 @@ const it = {
|
|
|
502
504
|
const le = (e) => {
|
|
503
505
|
if (e) {
|
|
504
506
|
const u = document.documentElement.clientHeight - 165;
|
|
505
|
-
R.value = { maxHeight: `${u}px` },
|
|
507
|
+
R.value = { maxHeight: `${u}px` }, I.value = u * 0.62;
|
|
506
508
|
} else
|
|
507
|
-
R.value = {},
|
|
509
|
+
R.value = {}, I.value = 180;
|
|
508
510
|
}, {
|
|
509
511
|
formRef: ne,
|
|
510
512
|
init: J,
|
|
@@ -517,17 +519,17 @@ const it = {
|
|
|
517
519
|
saveTreeData: G,
|
|
518
520
|
handleTreeSelect: ae,
|
|
519
521
|
handleRemoveSaveInfo: ie,
|
|
520
|
-
fieldTreeData:
|
|
522
|
+
fieldTreeData: V,
|
|
521
523
|
addOne: L,
|
|
522
524
|
removeOne: s,
|
|
523
|
-
setFormModel:
|
|
525
|
+
setFormModel: B,
|
|
524
526
|
getSchema: b,
|
|
525
527
|
loading: re,
|
|
526
528
|
getQueryInfo: ue,
|
|
527
529
|
initDefaultValues: me,
|
|
528
530
|
saveModalLoading: t,
|
|
529
531
|
fieldProperties: n
|
|
530
|
-
} = at(y), i =
|
|
532
|
+
} = at(y), i = M(!1);
|
|
531
533
|
se(() => y.status, (e) => {
|
|
532
534
|
i.value = e;
|
|
533
535
|
}, { immediate: !0 });
|
|
@@ -547,16 +549,16 @@ const it = {
|
|
|
547
549
|
(g == null ? void 0 : g.fieldType) === "string" && ["text"].includes((g == null ? void 0 : g.originView) || (g == null ? void 0 : g.view)) ? e.rule = "like" : ["file", "image", "password"].includes((g == null ? void 0 : g.originView) || (g == null ? void 0 : g.view)) ? e.rule = "empty" : e.rule = "eq";
|
|
548
550
|
};
|
|
549
551
|
if (((f = e.field) == null ? void 0 : f.indexOf("@")) == -1)
|
|
550
|
-
u(
|
|
552
|
+
u(V.value, e.field);
|
|
551
553
|
else {
|
|
552
|
-
const _ = e.field.split("@")[0], C =
|
|
554
|
+
const _ = e.field.split("@")[0], C = V.value.find((g) => g.value === _);
|
|
553
555
|
(w = C == null ? void 0 : C.children) != null && w.length && u(C.children, e.field);
|
|
554
556
|
}
|
|
555
557
|
}
|
|
556
558
|
se(() => y.config, (e) => {
|
|
557
559
|
e && J(e);
|
|
558
560
|
}, { immediate: !0 });
|
|
559
|
-
const h = Pe(() =>
|
|
561
|
+
const h = Pe(() => V.value.find((u) => u.children) ? `${T} containTable` : `${T} noTable`);
|
|
560
562
|
return {
|
|
561
563
|
formRef: ne,
|
|
562
564
|
registerFormModal: S,
|
|
@@ -567,7 +569,7 @@ const it = {
|
|
|
567
569
|
historyCollapsed: A,
|
|
568
570
|
registerModal: oe,
|
|
569
571
|
handleSubmit: Y,
|
|
570
|
-
handleCancel:
|
|
572
|
+
handleCancel: x,
|
|
571
573
|
handleSave: z,
|
|
572
574
|
handleReset: te,
|
|
573
575
|
doSaveQueryInfo: F,
|
|
@@ -575,10 +577,10 @@ const it = {
|
|
|
575
577
|
saveTreeData: G,
|
|
576
578
|
handleTreeSelect: ae,
|
|
577
579
|
handleRemoveSaveInfo: ie,
|
|
578
|
-
fieldTreeData:
|
|
580
|
+
fieldTreeData: V,
|
|
579
581
|
addOne: L,
|
|
580
582
|
removeOne: s,
|
|
581
|
-
setFormModel:
|
|
583
|
+
setFormModel: B,
|
|
582
584
|
getSchema: b,
|
|
583
585
|
loading: re,
|
|
584
586
|
onFinish: p,
|
|
@@ -590,7 +592,7 @@ const it = {
|
|
|
590
592
|
saveModalLoading: t,
|
|
591
593
|
queryFormStyle: R,
|
|
592
594
|
handleFullScreen: le,
|
|
593
|
-
fieldTreeSelectHeight:
|
|
595
|
+
fieldTreeSelectHeight: I,
|
|
594
596
|
getTreePopupClass: h,
|
|
595
597
|
handleStop: K,
|
|
596
598
|
getQueryCondition: U
|
|
@@ -599,7 +601,7 @@ const it = {
|
|
|
599
601
|
};
|
|
600
602
|
const rt = { class: "j-super-query-button" }, ut = { style: { float: "left" } }, st = { slot: "description" }, ct = ["title"], dt = { style: { height: "80px", "line-height": "75px", width: "100%", "text-align": "center" } };
|
|
601
603
|
function ft(y, o, S, l, k, R) {
|
|
602
|
-
const
|
|
604
|
+
const I = v("divider"), $ = v("AppstoreTwoTone"), T = v("a-button"), A = v("a-button-group"), j = v("a-tooltip"), ee = v("a-divider"), U = v("a-empty"), x = v("a-select-option"), Y = v("a-select"), P = v("a-form-item"), q = v("a-col"), K = v("a-row"), te = v("a-tree-select"), le = v("online-super-query-val-component"), ne = v("PlusOutlined"), J = v("MinusCircleOutlined"), Q = v("a-space"), E = v("a-form"), oe = v("close-circle-outlined"), z = v("a-popconfirm"), F = v("file-text-outlined"), W = v("a-tree"), G = v("Icon"), ae = v("a-card"), ie = v("BasicModal"), V = v("a-input"), L = v("a-modal");
|
|
603
605
|
return O(), ve(ye, null, [
|
|
604
606
|
D("div", rt, [
|
|
605
607
|
l.superQueryFlag ? (O(), N(j, {
|
|
@@ -608,7 +610,7 @@ function ft(y, o, S, l, k, R) {
|
|
|
608
610
|
}, {
|
|
609
611
|
title: c(() => [
|
|
610
612
|
o[7] || (o[7] = D("span", null, "执行查询中...", -1)),
|
|
611
|
-
d(
|
|
613
|
+
d(I, {
|
|
612
614
|
type: "vertical",
|
|
613
615
|
style: { "background-color": "#fff" }
|
|
614
616
|
}),
|
|
@@ -726,7 +728,7 @@ function ft(y, o, S, l, k, R) {
|
|
|
726
728
|
xs: 24
|
|
727
729
|
}, {
|
|
728
730
|
default: c(() => [
|
|
729
|
-
d(
|
|
731
|
+
d(P, {
|
|
730
732
|
label: "匹配模式",
|
|
731
733
|
labelCol: { md: 6, xs: 24 },
|
|
732
734
|
wrapperCol: { md: 18, xs: 24 },
|
|
@@ -740,13 +742,13 @@ function ft(y, o, S, l, k, R) {
|
|
|
740
742
|
style: { width: "100%" }
|
|
741
743
|
}, {
|
|
742
744
|
default: c(() => [
|
|
743
|
-
d(
|
|
745
|
+
d(x, { value: "and" }, {
|
|
744
746
|
default: c(() => o[13] || (o[13] = [
|
|
745
747
|
H("AND(所有条件匹配)")
|
|
746
748
|
])),
|
|
747
749
|
_: 1
|
|
748
750
|
}),
|
|
749
|
-
d(
|
|
751
|
+
d(x, { value: "or" }, {
|
|
750
752
|
default: c(() => o[14] || (o[14] = [
|
|
751
753
|
H("OR(任意一个匹配)")
|
|
752
754
|
])),
|
|
@@ -774,15 +776,15 @@ function ft(y, o, S, l, k, R) {
|
|
|
774
776
|
style: Ne(l.queryFormStyle)
|
|
775
777
|
}, {
|
|
776
778
|
default: c(() => [
|
|
777
|
-
(O(!0), ve(ye, null, ke(l.dynamicRowValues.values, (s,
|
|
779
|
+
(O(!0), ve(ye, null, ke(l.dynamicRowValues.values, (s, B) => (O(), N(Q, {
|
|
778
780
|
key: s.key,
|
|
779
781
|
style: { display: "flex", "margin-bottom": "8px" },
|
|
780
782
|
align: s.curLineAlign ? s.align : "baseline"
|
|
781
783
|
}, {
|
|
782
784
|
default: c(() => [
|
|
783
|
-
d(
|
|
785
|
+
d(P, {
|
|
784
786
|
class: "field-clos",
|
|
785
|
-
name: ["values",
|
|
787
|
+
name: ["values", B, "field"]
|
|
786
788
|
}, {
|
|
787
789
|
default: c(() => [
|
|
788
790
|
d(te, {
|
|
@@ -803,9 +805,9 @@ function ft(y, o, S, l, k, R) {
|
|
|
803
805
|
]),
|
|
804
806
|
_: 2
|
|
805
807
|
}, 1032, ["name"]),
|
|
806
|
-
d(
|
|
808
|
+
d(P, {
|
|
807
809
|
class: "rule-clos",
|
|
808
|
-
name: ["values",
|
|
810
|
+
name: ["values", B, "rule"]
|
|
809
811
|
}, {
|
|
810
812
|
default: c(() => [
|
|
811
813
|
d(Y, {
|
|
@@ -815,7 +817,7 @@ function ft(y, o, S, l, k, R) {
|
|
|
815
817
|
"onUpdate:value": (b) => s.rule = b
|
|
816
818
|
}, {
|
|
817
819
|
default: c(() => [
|
|
818
|
-
(O(!0), ve(ye, null, ke(l.getQueryCondition(s), (b) => (O(), N(
|
|
820
|
+
(O(!0), ve(ye, null, ke(l.getQueryCondition(s), (b) => (O(), N(x, {
|
|
819
821
|
value: b.value,
|
|
820
822
|
key: b.value
|
|
821
823
|
}, {
|
|
@@ -830,14 +832,14 @@ function ft(y, o, S, l, k, R) {
|
|
|
830
832
|
]),
|
|
831
833
|
_: 2
|
|
832
834
|
}, 1032, ["name"]),
|
|
833
|
-
d(
|
|
835
|
+
d(P, {
|
|
834
836
|
class: "component-clos",
|
|
835
|
-
name: ["values",
|
|
837
|
+
name: ["values", B, "val"]
|
|
836
838
|
}, {
|
|
837
839
|
default: c(() => [
|
|
838
840
|
d(le, {
|
|
839
841
|
style: { width: "100%" },
|
|
840
|
-
schema: l.getSchema(s,
|
|
842
|
+
schema: l.getSchema(s, B),
|
|
841
843
|
formModel: s,
|
|
842
844
|
setFormModel: (b, re) => {
|
|
843
845
|
l.setFormModel(b, re, s);
|
|
@@ -847,10 +849,10 @@ function ft(y, o, S, l, k, R) {
|
|
|
847
849
|
]),
|
|
848
850
|
_: 2
|
|
849
851
|
}, 1032, ["name"]),
|
|
850
|
-
d(
|
|
852
|
+
d(P, null, {
|
|
851
853
|
default: c(() => [
|
|
852
854
|
d(T, {
|
|
853
|
-
onClick: (b) => l.addOne(
|
|
855
|
+
onClick: (b) => l.addOne(B),
|
|
854
856
|
style: { "margin-right": "6px" }
|
|
855
857
|
}, {
|
|
856
858
|
default: c(() => [
|
|
@@ -909,12 +911,12 @@ function ft(y, o, S, l, k, R) {
|
|
|
909
911
|
D("span", { title: s }, de(s.length > 10 ? s.substring(0, 10) + "..." : s), 9, ct),
|
|
910
912
|
d(z, {
|
|
911
913
|
title: "确定删除吗?",
|
|
912
|
-
onConfirm: (
|
|
914
|
+
onConfirm: (B) => l.handleRemoveSaveInfo(s)
|
|
913
915
|
}, {
|
|
914
916
|
default: c(() => [
|
|
915
917
|
D("span", {
|
|
916
918
|
class: "icon-cancle",
|
|
917
|
-
onClick: o[3] || (o[3] = (
|
|
919
|
+
onClick: o[3] || (o[3] = (B) => B.stopPropagation())
|
|
918
920
|
}, [
|
|
919
921
|
d(oe)
|
|
920
922
|
])
|
|
@@ -956,7 +958,7 @@ function ft(y, o, S, l, k, R) {
|
|
|
956
958
|
}, {
|
|
957
959
|
default: c(() => [
|
|
958
960
|
D("div", dt, [
|
|
959
|
-
d(
|
|
961
|
+
d(V, {
|
|
960
962
|
value: l.saveInfo.title,
|
|
961
963
|
"onUpdate:value": o[5] || (o[5] = (s) => l.saveInfo.title = s),
|
|
962
964
|
style: { width: "90%" },
|
|
@@ -968,7 +970,7 @@ function ft(y, o, S, l, k, R) {
|
|
|
968
970
|
}, 8, ["open", "onOk", "confirmLoading"])
|
|
969
971
|
], 64);
|
|
970
972
|
}
|
|
971
|
-
const
|
|
973
|
+
const ll = /* @__PURE__ */ lt(it, [["render", ft], ["__scopeId", "data-v-6fccff78"]]);
|
|
972
974
|
export {
|
|
973
|
-
|
|
975
|
+
ll as default
|
|
974
976
|
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
var k = (l, n, a) => new Promise((r, p) => {
|
|
2
|
+
var _ = (t) => {
|
|
3
|
+
try {
|
|
4
|
+
e(a.next(t));
|
|
5
|
+
} catch (i) {
|
|
6
|
+
p(i);
|
|
7
|
+
}
|
|
8
|
+
}, o = (t) => {
|
|
9
|
+
try {
|
|
10
|
+
e(a.throw(t));
|
|
11
|
+
} catch (i) {
|
|
12
|
+
p(i);
|
|
13
|
+
}
|
|
14
|
+
}, e = (t) => t.done ? r(t.value) : Promise.resolve(t.value).then(_, o);
|
|
15
|
+
e((a = a.apply(l, n)).next());
|
|
16
|
+
});
|
|
17
|
+
import { defineComponent as g, inject as h, ref as L, watchEffect as x, resolveComponent as m, unref as N, openBlock as d, createElementBlock as y, createElementVNode as s, createVNode as I, withCtx as f, Fragment as b, renderList as C, createBlock as S, toDisplayString as u, createCommentVNode as Y } from "vue";
|
|
18
|
+
import { taskTransInfo as w } from "/@/views/super/bpm/process/personalOffice/myHandleTask/task.handle.api";
|
|
19
|
+
import { d as B } from "./dayjs.min-eea532a3.mjs";
|
|
20
|
+
import { _ as D } from "./index-94b6319e.mjs";
|
|
21
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
22
|
+
import "/@/hooks/web/useMessage";
|
|
23
|
+
import "vue-router";
|
|
24
|
+
const E = {
|
|
25
|
+
key: 0,
|
|
26
|
+
class: "opinion-area"
|
|
27
|
+
}, O = { class: "opinion-list" }, V = { class: "opinion-meta" }, j = { class: "user-name" }, H = { class: "task-tag" }, M = { class: "op-time" }, P = /* @__PURE__ */ g({
|
|
28
|
+
__name: "TaskOpinionList",
|
|
29
|
+
props: {
|
|
30
|
+
taskId: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: ""
|
|
33
|
+
},
|
|
34
|
+
procInsId: {
|
|
35
|
+
type: String,
|
|
36
|
+
default: ""
|
|
37
|
+
},
|
|
38
|
+
processTabType: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: ""
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
setup(l) {
|
|
44
|
+
const n = l, a = h("opinionPrint"), r = L([]);
|
|
45
|
+
x(() => {
|
|
46
|
+
n.procInsId && p();
|
|
47
|
+
});
|
|
48
|
+
function p() {
|
|
49
|
+
return k(this, null, function* () {
|
|
50
|
+
let o = n.processTabType, e = { taskId: n.taskId, procInstId: n.procInsId }, t = yield w(e, o);
|
|
51
|
+
r.value = t.bpmLogList;
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
function _(o) {
|
|
55
|
+
return o ? B(o).format("YYYY-MM-DD HH:mm") : "";
|
|
56
|
+
}
|
|
57
|
+
return (o, e) => {
|
|
58
|
+
const t = m("a-list-item-meta"), i = m("a-list-item"), T = m("a-list");
|
|
59
|
+
return N(a) ? (d(), y("div", E, [
|
|
60
|
+
e[0] || (e[0] = s("div", { class: "opinion-header" }, [
|
|
61
|
+
s("h3", null, "审批意见"),
|
|
62
|
+
s("div", { class: "header-line" })
|
|
63
|
+
], -1)),
|
|
64
|
+
s("div", O, [
|
|
65
|
+
I(T, {
|
|
66
|
+
itemLayout: "vertical",
|
|
67
|
+
split: !1
|
|
68
|
+
}, {
|
|
69
|
+
default: f(() => [
|
|
70
|
+
(d(!0), y(b, null, C(r.value, (c, v) => (d(), S(i, {
|
|
71
|
+
key: v,
|
|
72
|
+
class: "opinion-item"
|
|
73
|
+
}, {
|
|
74
|
+
default: f(() => [
|
|
75
|
+
I(t, {
|
|
76
|
+
description: c.remarks
|
|
77
|
+
}, {
|
|
78
|
+
title: f(() => [
|
|
79
|
+
s("div", V, [
|
|
80
|
+
s("span", j, u(c.opUserName), 1),
|
|
81
|
+
s("span", H, "[" + u(c.taskName) + "]", 1),
|
|
82
|
+
s("span", M, u(_(c.opTime)), 1)
|
|
83
|
+
])
|
|
84
|
+
]),
|
|
85
|
+
_: 2
|
|
86
|
+
}, 1032, ["description"])
|
|
87
|
+
]),
|
|
88
|
+
_: 2
|
|
89
|
+
}, 1024))), 128))
|
|
90
|
+
]),
|
|
91
|
+
_: 1
|
|
92
|
+
})
|
|
93
|
+
])
|
|
94
|
+
])) : Y("", !0);
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
const Q = /* @__PURE__ */ D(P, [["__scopeId", "data-v-efcff742"]]);
|
|
99
|
+
export {
|
|
100
|
+
Q as default
|
|
101
|
+
};
|