@jeecg/online 3.7.1-RC → 3.7.4
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 +254 -0
- package/AiModal-fbe4b68a.mjs +84 -0
- package/AppForgetPassword-3b3bec82.mjs +310 -0
- package/AppLogin-cd2e2a87.mjs +287 -0
- package/AppLoginHeader-9b5be678.mjs +27 -0
- package/AppNameEmail-b4e32ae8.mjs +180 -0
- package/AppRegister-7117b66a.mjs +303 -0
- package/AppTenant-5817729b.mjs +373 -0
- package/AppThirdForm-d14fb5e5.mjs +189 -0
- package/AuthButtonConfig-5e3b6d72.mjs +156 -0
- package/AuthButtonTree-7b4ec967.mjs +165 -0
- package/{AuthDataConfig-5c3a8e6b.mjs → AuthDataConfig-48ee9228.mjs} +23 -23
- package/{AuthDataTree-dd7a1240.mjs → AuthDataTree-02b3ba05.mjs} +43 -43
- package/{AuthFieldConfig-9f6fa06c.mjs → AuthFieldConfig-562cc6b6.mjs} +71 -71
- package/AuthFieldTree-2d458c0c.mjs +232 -0
- package/{AuthManagerDrawer-76f15e8d.mjs → AuthManagerDrawer-38299230.mjs} +6 -6
- package/{AuthSetterModal-f5d2e87f.mjs → AuthSetterModal-78b06703.mjs} +9 -9
- package/BuiltInButtonList-bb6cf95c.mjs +10 -0
- package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
- package/CgformAddressModal-1b9cbe19.mjs +260 -0
- package/CgformCopyList-580bba0f.mjs +252 -0
- package/{CgformModal-21c5c387.mjs → CgformModal-12951453.mjs} +190 -194
- package/{CgreportModal-edefa8e3.mjs → CgreportModal-bfeb93ed.mjs} +181 -168
- package/{CheckDictTable-1bc8322d.mjs → CheckDictTable-3c1e59e0.mjs} +3 -3
- package/CodeFileListModal-71752603.mjs +159 -0
- package/{CodeFileViewModal-2fe911f4.mjs → CodeFileViewModal-eb803769.mjs} +66 -66
- package/CodeGeneratorModal-2fe1e920.mjs +281 -0
- package/CustomButtonList-22b5cdb3.mjs +274 -0
- package/{DBAttributeTable-285d40db.mjs → DBAttributeTable-eb25565c.mjs} +3 -3
- package/{DbToOnlineModal-5dcb67c3.mjs → DbToOnlineModal-049b4bbd.mjs} +53 -54
- package/{DetailForm-deecbf3d.mjs → DetailForm-c127c27f.mjs} +5 -5
- package/DropMenuItem-b1a8f47d.mjs +44 -0
- package/{EnhanceJavaModal-45c66cd5.mjs → EnhanceJavaModal-1a4d696b.mjs} +62 -62
- package/{EnhanceJsHistory-fab3102e.mjs → EnhanceJsHistory-48cf43ad.mjs} +35 -35
- package/{EnhanceJsModal-175357a1.mjs → EnhanceJsModal-0e1f15f8.mjs} +102 -102
- package/{EnhanceSqlModal-7ea1b300.mjs → EnhanceSqlModal-6a1aa471.mjs} +67 -67
- package/ErrorTip-bb616e32.mjs +7 -0
- package/ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs +60 -0
- package/{ExtendConfigModal-a89ae052.mjs → ExtendConfigModal-37af21a5.mjs} +2 -2
- package/{FieldExtendJsonModal-32135634.mjs → FieldExtendJsonModal-9441e08e.mjs} +2 -2
- package/{FileSelectModal-1643c8b9.mjs → FileSelectModal-04490919.mjs} +23 -23
- package/{ForeignKeyTable-7f7e28a7.mjs → ForeignKeyTable-06300a47.mjs} +3 -3
- package/{IndexTable-cdcc2b48.mjs → IndexTable-79bddd5c.mjs} +3 -3
- package/JModalTip-192fafa1.mjs +49 -0
- package/{JOnlineSearchSelect-22aae934.mjs → JOnlineSearchSelect-9abcf657.mjs} +1 -1
- package/{LeftDepart-d5615ed9.mjs → LeftDepart-35d78655.mjs} +1 -1
- package/LeftRole-9d88976d.mjs +86 -0
- package/{LeftUser-22baa378.mjs → LeftUser-04c89aea.mjs} +30 -30
- package/{LinkTableConfigModal-9242d750.mjs → LinkTableConfigModal-5f94ef13.mjs} +43 -31
- package/{LinkTableFieldConfigModal-24adc50c.mjs → LinkTableFieldConfigModal-40753de5.mjs} +1 -1
- package/{LinkTableListPiece-f3a8e0d7.mjs → LinkTableListPiece-179035c7.mjs} +1 -1
- package/{ModalFormDemo-711418db.mjs → ModalFormDemo-3a85920c.mjs} +1 -1
- package/OnlCgformErpList-8fd15fc1.mjs +488 -0
- package/OnlCgformErpSubTable-3515150b.mjs +441 -0
- package/{OnlCgformInnerSubTable-6c23781f.mjs → OnlCgformInnerSubTable-13e888c6.mjs} +38 -38
- package/OnlCgformInnerTableList-2e8f853c.mjs +474 -0
- package/OnlCgformTabList-583ac15f.mjs +424 -0
- package/OnlineAutoList-36ec0957.mjs +513 -0
- package/OnlineAutoModal-c0743caf.mjs +260 -0
- package/OnlineAutoTreeList-1cd718be.mjs +523 -0
- package/OnlineCustomModal-661ee850.mjs +232 -0
- package/{OnlineDetailModal-d5895734.mjs → OnlineDetailModal-785e848e.mjs} +74 -65
- package/OnlineForm-c1fb38eb.mjs +1012 -0
- package/{OnlineFormDetail-022ca117.mjs → OnlineFormDetail-50186870.mjs} +7 -7
- package/{OnlineFormUrlAdd-9715d70a.mjs → OnlineFormUrlAdd-905bf251.mjs} +9 -9
- package/{OnlineFormUrlDetail-8f864b1a.mjs → OnlineFormUrlDetail-a9dd2bfa.mjs} +11 -11
- package/{OnlineFormUrlEdit-ac985b36.mjs → OnlineFormUrlEdit-b8941f05.mjs} +9 -9
- package/OnlineFormUrlSuccess-ecaf6a21.mjs +59 -0
- package/OnlineQueryForm-ca6186a3.mjs +484 -0
- package/{OnlineSearchFormItem-6c557343.mjs → OnlineSearchFormItem-5c503a51.mjs} +82 -82
- package/{OnlineSelectCascade-05c40fef.mjs → OnlineSelectCascade-a3e686b3.mjs} +1 -1
- package/{OnlineSubFormDetail-58e896ce.mjs → OnlineSubFormDetail-be1ad3b9.mjs} +52 -53
- package/{OnlineTabAutoModal-47b18ad6.mjs → OnlineTabAutoModal-fb59b573.mjs} +108 -95
- package/{OnlineTabDetailModal-82de1465.mjs → OnlineTabDetailModal-4b9c4838.mjs} +36 -36
- package/OnlineTabForm-89389384.mjs +814 -0
- package/{OnlineTabFormDetail-8d0c40c0.mjs → OnlineTabFormDetail-72173ae4.mjs} +17 -17
- package/{PageAttributeTable-25e3b7da.mjs → PageAttributeTable-345b97fe.mjs} +108 -108
- package/PhoneLoginForm-8ca7e2d4.mjs +214 -0
- package/{ProcessOnlineForm-148632fe.mjs → ProcessOnlineForm-485b5679.mjs} +32 -32
- package/{QueryTable-f7bfca7f.mjs → QueryTable-f0a88d78.mjs} +3 -3
- package/SetSwitchOptions-cdcb22a1.mjs +62 -0
- package/ShareAddView-f713c0a5.mjs +86 -0
- package/ShareEditView-691764ad.mjs +92 -0
- package/ShareView-df344a8d.mjs +80 -0
- package/ShareView.vue_vue_type_script_setup_true_lang-560459c9.mjs +162 -0
- package/SingleView-ad0287d6.mjs +68 -0
- package/SingleView.vue_vue_type_style_index_0_lang-ce96670b.mjs +131 -0
- package/SuperQuery-2b293e3b.mjs +974 -0
- package/{SuperQueryValComponent-7ad86d4b.mjs → SuperQueryValComponent-5a9ccfd4.mjs} +1 -1
- package/{SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs → SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs} +11 -11
- package/{auth.api-ea1d33d4.mjs → auth.api-53df4c33.mjs} +17 -17
- package/{auth.data-511e5197.mjs → auth.data-626c5083.mjs} +16 -12
- package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
- package/{enhance.data-a67572e1.mjs → enhance.data-6601ff44.mjs} +1 -1
- package/index-181f8344.mjs +219 -0
- package/index-19eaef11.mjs +11 -0
- package/{index-30e0e923.mjs → index-3c7392a4.mjs} +272 -262
- package/{index-f30613d1.mjs → index-3ccda826.mjs} +59 -59
- package/index-5e89258d.mjs +8 -0
- package/index-93341e02.mjs +110 -0
- package/index-bef7fe2d.mjs +74 -0
- package/index-d6f9ada7.mjs +135 -0
- package/index-f3683351.mjs +57 -0
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/shareStore-7de6c7a6.mjs +67 -0
- package/style.css +1 -1
- package/useCgformList-13c8aab7.mjs +378 -0
- package/useExtendComponent-3f5734ca.mjs +4459 -0
- package/useListButton-ee23874a.mjs +719 -0
- package/{useSchemas-a9c75b0f.mjs → useSchemas-f1819e54.mjs} +72 -39
- package/{useTableSync-d7e9f18d.mjs → useTableSync-075826a1.mjs} +1 -1
- package/utils-9fce7606.mjs +16 -0
- package/AiModal-6de335e3.mjs +0 -84
- package/AuthButtonConfig-89763932.mjs +0 -154
- package/AuthButtonTree-2d87d0b3.mjs +0 -157
- package/AuthFieldTree-e326fc38.mjs +0 -232
- package/CgformCopyList-365b3e8f.mjs +0 -251
- package/CodeFileListModal-24601898.mjs +0 -159
- package/CodeGeneratorModal-f09fe903.mjs +0 -282
- package/CustomButtonList-f07bc695.mjs +0 -397
- package/JModalTip-b055ab60.mjs +0 -49
- package/LeftRole-2ed8a2bf.mjs +0 -86
- package/OnlCgformErpList-58acdfa0.mjs +0 -470
- package/OnlCgformErpSubTable-9b1e1938.mjs +0 -426
- package/OnlCgformInnerTableList-4b5e14ed.mjs +0 -458
- package/OnlCgformTabList-019ad753.mjs +0 -408
- package/OnlineAutoList-48589d09.mjs +0 -493
- package/OnlineAutoModal-c2928847.mjs +0 -239
- package/OnlineAutoTreeList-3baa1d00.mjs +0 -503
- package/OnlineCustomModal-9e17b6ce.mjs +0 -232
- package/OnlineForm-9f1153ba.mjs +0 -985
- package/OnlineFormUrlSuccess-3dfc54ab.mjs +0 -59
- package/OnlineQueryForm-eedb9a60.mjs +0 -466
- package/OnlineTabForm-27655c83.mjs +0 -817
- package/SetSwitchOptions-b2af757f.mjs +0 -62
- package/SuperQuery-a8592995.mjs +0 -967
- package/index-1d1a6e56.mjs +0 -57
- package/useCgformList-f41d4dc1.mjs +0 -426
- package/useExtendComponent-dcae5c78.mjs +0 -4399
- package/useListButton-bfac4ecf.mjs +0 -697
- /package/{OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs} +0 -0
|
@@ -2,85 +2,86 @@ var ze = Object.defineProperty, Xe = Object.defineProperties;
|
|
|
2
2
|
var We = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var re = Object.getOwnPropertySymbols;
|
|
4
4
|
var Ze = Object.prototype.hasOwnProperty, ea = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var ue = (a,
|
|
6
|
-
for (var c in
|
|
7
|
-
Ze.call(
|
|
5
|
+
var ue = (a, l, c) => l in a ? ze(a, l, { enumerable: !0, configurable: !0, writable: !0, value: c }) : a[l] = c, O = (a, l) => {
|
|
6
|
+
for (var c in l || (l = {}))
|
|
7
|
+
Ze.call(l, c) && ue(a, c, l[c]);
|
|
8
8
|
if (re)
|
|
9
|
-
for (var c of re(
|
|
10
|
-
ea.call(
|
|
9
|
+
for (var c of re(l))
|
|
10
|
+
ea.call(l, c) && ue(a, c, l[c]);
|
|
11
11
|
return a;
|
|
12
|
-
}, de = (a,
|
|
13
|
-
var D = (a,
|
|
14
|
-
var
|
|
12
|
+
}, de = (a, l) => Xe(a, We(l));
|
|
13
|
+
var D = (a, l, c) => new Promise((E, h) => {
|
|
14
|
+
var g = (T) => {
|
|
15
15
|
try {
|
|
16
16
|
F(c.next(T));
|
|
17
|
-
} catch (
|
|
18
|
-
h(
|
|
17
|
+
} catch (p) {
|
|
18
|
+
h(p);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, w = (T) => {
|
|
21
21
|
try {
|
|
22
22
|
F(c.throw(T));
|
|
23
|
-
} catch (
|
|
24
|
-
h(
|
|
23
|
+
} catch (p) {
|
|
24
|
+
h(p);
|
|
25
25
|
}
|
|
26
|
-
}, F = (T) => T.done ? E(T.value) : Promise.resolve(T.value).then(
|
|
27
|
-
F((c = c.apply(a,
|
|
26
|
+
}, F = (T) => T.done ? E(T.value) : Promise.resolve(T.value).then(g, w);
|
|
27
|
+
F((c = c.apply(a, l)).next());
|
|
28
28
|
});
|
|
29
|
-
import { defineComponent as aa, ref as y, computed as ce, provide as be, reactive as ta, nextTick as Z, toRaw as la, resolveComponent as m, openBlock as
|
|
29
|
+
import { defineComponent as aa, ref as y, computed as ce, provide as be, reactive as ta, nextTick as Z, toRaw as la, resolveComponent as m, openBlock as _, createBlock as ee, mergeProps as na, withCtx as b, createElementVNode as P, createVNode as u, createTextVNode as B, createElementBlock as ae, Fragment as oa, renderList as ia, toDisplayString as sa, createCommentVNode as te } from "vue";
|
|
30
30
|
import { Icon as ra } from "/@/components/Icon";
|
|
31
31
|
import { BasicModal as ua, useModalInner as da, useModal as ca } from "/@/components/Modal";
|
|
32
32
|
import { BasicForm as ba, useForm as fa } from "/@/components/Form/index";
|
|
33
33
|
import { useMessage as ma } from "/@/hooks/web/useMessage";
|
|
34
|
-
import { u as
|
|
35
|
-
import
|
|
36
|
-
import Ta from "./PageAttributeTable-
|
|
37
|
-
import ya from "./CheckDictTable-
|
|
38
|
-
import va from "./ForeignKeyTable-
|
|
39
|
-
import ha from "./IndexTable-
|
|
40
|
-
import Fa from "./QueryTable-
|
|
41
|
-
import Ca from "./ExtendConfigModal-
|
|
42
|
-
import { u as Da, E as
|
|
34
|
+
import { u as pa } from "./useSchemas-f1819e54.mjs";
|
|
35
|
+
import ga from "./DBAttributeTable-eb25565c.mjs";
|
|
36
|
+
import Ta from "./PageAttributeTable-345b97fe.mjs";
|
|
37
|
+
import ya from "./CheckDictTable-3c1e59e0.mjs";
|
|
38
|
+
import va from "./ForeignKeyTable-06300a47.mjs";
|
|
39
|
+
import ha from "./IndexTable-79bddd5c.mjs";
|
|
40
|
+
import Fa from "./QueryTable-f0a88d78.mjs";
|
|
41
|
+
import Ca from "./ExtendConfigModal-37af21a5.mjs";
|
|
42
|
+
import { u as Da, E as wa, a as Ba, V as M } from "./cgform.data-0ca62d09.mjs";
|
|
43
43
|
import { defHttp as v } from "/@/utils/http/axios";
|
|
44
|
-
import { simpleDebounce as
|
|
45
|
-
import { u as
|
|
46
|
-
import { buildUUID as
|
|
44
|
+
import { simpleDebounce as ka } from "/@/utils/common/compUtils";
|
|
45
|
+
import { u as Ia } from "./useOnlineTest-e4bd8be3.mjs";
|
|
46
|
+
import { buildUUID as Ra } from "/@/utils/uuid";
|
|
47
47
|
import { sleep as V } from "/@/utils";
|
|
48
|
-
import { g as
|
|
49
|
-
import {
|
|
50
|
-
|
|
48
|
+
import { g as Sa } from "./useExtendComponent-3f5734ca.mjs";
|
|
49
|
+
import { p as _a } from "./utils-9fce7606.mjs";
|
|
50
|
+
import { _ as Ea } from "./index-f3683351.mjs";
|
|
51
|
+
const dt = (a) => v.get({ url: "/online/cgform/head/list", params: a }), ct = (a) => fe(a, 0), bt = (a) => v.delete(
|
|
51
52
|
{ url: "/online/cgform/head/removeRecord", params: { id: a } },
|
|
52
53
|
{ joinParamsToUrl: !0 }
|
|
53
|
-
),
|
|
54
|
+
), ft = (a) => fe(a, 1), mt = (a) => v.delete(
|
|
54
55
|
{ url: "/online/cgform/head/delete", params: { id: a } },
|
|
55
56
|
{ joinParamsToUrl: !0 }
|
|
56
57
|
);
|
|
57
|
-
function fe(a,
|
|
58
|
+
function fe(a, l) {
|
|
58
59
|
return v.delete(
|
|
59
60
|
{
|
|
60
61
|
url: "/online/cgform/head/deleteBatch",
|
|
61
62
|
params: {
|
|
62
63
|
ids: a.join(","),
|
|
63
|
-
flag:
|
|
64
|
+
flag: l
|
|
64
65
|
}
|
|
65
66
|
},
|
|
66
67
|
{ joinParamsToUrl: !0 }
|
|
67
68
|
);
|
|
68
69
|
}
|
|
69
|
-
const
|
|
70
|
+
const pt = (a, l) => v.post({ url: `/online/cgform/api/doDbSynch/${a}/${l}`, timeout: 12e3, timeoutErrorMessage: "同步数据库超时,已自动刷新" }), gt = (a) => v.post({ url: `/online/cgform/head/copyOnline?code=${a}` }), Tt = (a, l, c) => v.get({ url: `/online/cgform/head/copyOnlineTable/${a}`, params: O({ tableName: l }, c) }), q = {
|
|
70
71
|
// 查询表字段 e3e3NcxzbUiGa53YYVXxWc8ADo5ISgQGx/gaZwERF91oAryDlivjqBv3wqRArgChupi+Y/Gg/swwGEyL0PuVFg==
|
|
71
|
-
doQueryField: (a,
|
|
72
|
+
doQueryField: (a, l) => v.get({ url: "/online/cgform/field/listByHeadId", params: O({ headId: a }, l) }),
|
|
72
73
|
// 查询表index配置
|
|
73
|
-
doQueryIndexes: (a,
|
|
74
|
+
doQueryIndexes: (a, l) => v.get({ url: "/online/cgform/index/listByHeadId", params: O({ headId: a }, l) }),
|
|
74
75
|
// 新增或修改
|
|
75
|
-
doSaveOrUpdate: (a,
|
|
76
|
+
doSaveOrUpdate: (a, l) => l ? v.put({ url: "/online/cgform/api/editAll", params: a }) : v.post({ url: "/online/cgform/api/addAll", params: a }),
|
|
76
77
|
//只是修改表配置不改字段
|
|
77
78
|
editHead: (a) => v.put({ url: "/online/cgform/head/edit", params: a })
|
|
78
|
-
},
|
|
79
|
+
}, Aa = aa({
|
|
79
80
|
name: "CgformModal",
|
|
80
81
|
components: {
|
|
81
82
|
BasicModal: ua,
|
|
82
83
|
BasicForm: ba,
|
|
83
|
-
DBAttributeTable:
|
|
84
|
+
DBAttributeTable: ga,
|
|
84
85
|
PageAttributeTable: Ta,
|
|
85
86
|
CheckDictTable: ya,
|
|
86
87
|
ForeignKeyTable: va,
|
|
@@ -97,50 +98,50 @@ const ft = (a, n) => v.post({ url: `/online/cgform/api/doDbSynch/${a}/${n}`, tim
|
|
|
97
98
|
required: !1
|
|
98
99
|
}
|
|
99
100
|
},
|
|
100
|
-
setup(a, { emit:
|
|
101
|
+
setup(a, { emit: l }) {
|
|
101
102
|
const { createMessage: c } = ma(), E = y(), h = y(!1);
|
|
102
|
-
let
|
|
103
|
-
const
|
|
103
|
+
let g = {};
|
|
104
|
+
const w = ce(() => h.value ? "编辑" : "新增"), F = y(!0), T = y(!1), p = y("dbTable"), A = y(!0), d = {
|
|
104
105
|
dbTable: y(),
|
|
105
106
|
pageTable: y(),
|
|
106
107
|
checkTable: y(),
|
|
107
108
|
fkTable: y(),
|
|
108
109
|
idxTable: y(),
|
|
109
110
|
queryTable: y()
|
|
110
|
-
},
|
|
111
|
+
}, K = ce(() => {
|
|
111
112
|
var e, t;
|
|
112
113
|
return (t = (e = E.value) == null ? void 0 : e.fullScreenRef) != null ? t : !1;
|
|
113
114
|
});
|
|
114
|
-
be("tables", d), be("fullScreenRef",
|
|
115
|
-
const N = { value: {} },
|
|
116
|
-
onTableTypeChange:
|
|
117
|
-
onIsTreeChange:
|
|
115
|
+
be("tables", d), be("fullScreenRef", K);
|
|
116
|
+
const N = { value: {} }, k = y(""), { formSchemas: J } = pa(a, N, {
|
|
117
|
+
onTableTypeChange: ke,
|
|
118
|
+
onIsTreeChange: Ie,
|
|
118
119
|
ifShowOfSubTableStr: () => ne
|
|
119
|
-
}), [H,
|
|
120
|
-
schemas:
|
|
120
|
+
}), [H, R] = fa({
|
|
121
|
+
schemas: J,
|
|
121
122
|
showActionButtonGroup: !1,
|
|
122
123
|
labelAlign: "right"
|
|
123
|
-
}), { resetFields: j, setFieldsValue: L, validate: G } =
|
|
124
|
+
}), { resetFields: j, setFieldsValue: L, validate: G } = R, [Y, { closeModal: z }] = da((e) => {
|
|
124
125
|
var t;
|
|
125
126
|
h.value = (t = e == null ? void 0 : e.isUpdate) != null ? t : !1, h.value ? oe(e == null ? void 0 : e.record) : he();
|
|
126
127
|
}), $ = y("");
|
|
127
128
|
let s = ta({});
|
|
128
|
-
const X =
|
|
129
|
-
let le = [], ne = !1, x = !1,
|
|
130
|
-
const { aiTestMode: me, aiTestTable:
|
|
129
|
+
const X = ka(() => Re(), 150);
|
|
130
|
+
let le = [], ne = !1, x = !1, I = [];
|
|
131
|
+
const { aiTestMode: me, aiTestTable: pe, aiTableList: ge, initVirtualData: Te, tableJsonGetHelper: ye, refreshCacheTableName: ve } = Ia();
|
|
131
132
|
function he() {
|
|
132
133
|
oe({});
|
|
133
134
|
}
|
|
134
135
|
function oe(e) {
|
|
135
136
|
return D(this, null, function* () {
|
|
136
137
|
var t;
|
|
137
|
-
if (F.value = !1,
|
|
138
|
-
(t = d.dbTable.value) == null || t.setDataSource([]), yield Fe(
|
|
139
|
-
d.pageTable.value.changePageType(
|
|
138
|
+
if (F.value = !1, p.value = "dbTable", yield j(), g = Object.assign({}, e), we(g), k.value = "", ye(g), De(g), L(g), $.value = g.tableName, V(1, () => A.value = !1), h.value)
|
|
139
|
+
(t = d.dbTable.value) == null || t.setDataSource([]), yield Fe(g.id), yield Ce(g.id), Sa(d.pageTable).then(() => {
|
|
140
|
+
d.pageTable.value.changePageType(g.tableType == 3);
|
|
140
141
|
});
|
|
141
142
|
else {
|
|
142
|
-
let { initialData:
|
|
143
|
-
yield ie(
|
|
143
|
+
let { initialData: n, tempIds: o } = Da();
|
|
144
|
+
yield ie(n, !0), le = o;
|
|
144
145
|
}
|
|
145
146
|
});
|
|
146
147
|
}
|
|
@@ -162,68 +163,63 @@ const ft = (a, n) => v.post({ url: `/online/cgform/api/doDbSynch/${a}/${n}`, tim
|
|
|
162
163
|
});
|
|
163
164
|
}
|
|
164
165
|
function De(e) {
|
|
165
|
-
let t =
|
|
166
|
-
|
|
167
|
-
try {
|
|
168
|
-
t = JSON.parse(e.extConfigJson);
|
|
169
|
-
} catch (l) {
|
|
170
|
-
}
|
|
171
|
-
s = Object.assign({}, _a, t, {
|
|
166
|
+
let t = _a(e);
|
|
167
|
+
s = Object.assign({}, wa, t, {
|
|
172
168
|
isDesForm: e.isDesForm || "N",
|
|
173
169
|
desFormCode: e.desFormCode || ""
|
|
174
170
|
}), N.value = s;
|
|
175
171
|
}
|
|
176
|
-
function
|
|
172
|
+
function we(e) {
|
|
177
173
|
x = e.isTree == "Y", ne = e.tableType === 2;
|
|
178
174
|
}
|
|
179
175
|
function ie(e, t) {
|
|
180
176
|
return D(this, null, function* () {
|
|
181
|
-
const { dbTable:
|
|
182
|
-
|
|
177
|
+
const { dbTable: n, pageTable: o, checkTable: r, fkTable: i, queryTable: f } = d;
|
|
178
|
+
n.value || (yield Z(), yield V(1)), n.value.setDataSource(e, t), setTimeout(() => {
|
|
183
179
|
o.value.setDataSource(e, t), r.value.setDataSource(e, t), i.value.setDataSource(e, t), f.value.setDataSource(e, t);
|
|
184
180
|
}, 10);
|
|
185
181
|
});
|
|
186
182
|
}
|
|
187
|
-
function
|
|
183
|
+
function Be(e) {
|
|
188
184
|
if (["pageTable", "checkTable", "fkTable", "idxTable", "queryTable"].indexOf(e) !== -1) {
|
|
189
|
-
const t = d.dbTable,
|
|
190
|
-
t.value.tableRef.resetScrollTop(),
|
|
185
|
+
const t = d.dbTable, n = d[e];
|
|
186
|
+
t.value.tableRef.resetScrollTop(), n.value.syncTable(t);
|
|
191
187
|
}
|
|
192
188
|
}
|
|
193
|
-
function
|
|
189
|
+
function ke(e) {
|
|
194
190
|
e === 1 && L({ themeTemplate: "normal" }), d.pageTable.value.changePageType(e == 3);
|
|
195
191
|
}
|
|
196
|
-
function
|
|
192
|
+
function Ie(e) {
|
|
197
193
|
e === "Y" ? Le() : $e();
|
|
198
194
|
}
|
|
199
195
|
function W() {
|
|
200
196
|
X();
|
|
201
197
|
}
|
|
202
|
-
function
|
|
198
|
+
function Re() {
|
|
203
199
|
return D(this, null, function* () {
|
|
204
|
-
let { dbTable: e, pageTable: t, checkTable:
|
|
205
|
-
yield t.value.syncTable(e), yield
|
|
200
|
+
let { dbTable: e, pageTable: t, checkTable: n, fkTable: o, queryTable: r } = d;
|
|
201
|
+
yield t.value.syncTable(e), yield n.value.syncTable(e), yield o.value.syncTable(e), yield r.value.syncTable(e);
|
|
206
202
|
});
|
|
207
203
|
}
|
|
208
|
-
function
|
|
204
|
+
function Se() {
|
|
209
205
|
W();
|
|
210
206
|
}
|
|
211
|
-
function
|
|
207
|
+
function _e() {
|
|
212
208
|
W();
|
|
213
209
|
}
|
|
214
210
|
function Ee(e) {
|
|
215
|
-
let { oldIndex: t, newIndex:
|
|
216
|
-
Ne(t,
|
|
211
|
+
let { oldIndex: t, newIndex: n } = e;
|
|
212
|
+
Ne(t, n);
|
|
217
213
|
}
|
|
218
214
|
function Ae(e) {
|
|
219
215
|
return D(this, null, function* () {
|
|
220
|
-
let { insertIndex: t, row:
|
|
221
|
-
o.value.tableRef.insertRows(
|
|
216
|
+
let { insertIndex: t, row: n } = e, { pageTable: o, checkTable: r, fkTable: i, queryTable: f } = d;
|
|
217
|
+
o.value.tableRef.insertRows(n, t), r.value.tableRef.insertRows(n, t), i.value.tableRef.insertRows(n, t), f.value.tableRef.insertRows(n, t);
|
|
222
218
|
});
|
|
223
219
|
}
|
|
224
220
|
function Ne(e, t) {
|
|
225
|
-
let { pageTable:
|
|
226
|
-
|
|
221
|
+
let { pageTable: n, checkTable: o, fkTable: r, queryTable: i } = d;
|
|
222
|
+
n.value.tableRef.rowResort(e, t), o.value.tableRef.rowResort(e, t), r.value.tableRef.rowResort(e, t), i.value.tableRef.rowResort(e, t);
|
|
227
223
|
}
|
|
228
224
|
function Oe(e) {
|
|
229
225
|
d.pageTable.value.syncFieldShowType(e.row);
|
|
@@ -239,47 +235,47 @@ const ft = (a, n) => v.post({ url: `/online/cgform/api/doDbSynch/${a}/${n}`, tim
|
|
|
239
235
|
}
|
|
240
236
|
function Le() {
|
|
241
237
|
if (!x) {
|
|
242
|
-
let { dbTable: e, pageTable: t, checkTable:
|
|
243
|
-
o = o.filter((r) => !e.value.tableRef.getTableData().map((f) => f.dbFieldName).includes(r.dbFieldName)),
|
|
244
|
-
let i =
|
|
245
|
-
|
|
246
|
-
}), e.value.tableRef.addRows(o, { setActive: !1 }), t.value.tableRef.addRows(o, { setActive: !1 }),
|
|
238
|
+
let { dbTable: e, pageTable: t, checkTable: n } = d, o = Ba();
|
|
239
|
+
o = o.filter((r) => !e.value.tableRef.getTableData().map((f) => f.dbFieldName).includes(r.dbFieldName)), I = [], o.forEach((r) => {
|
|
240
|
+
let i = Ra() + "__tempId";
|
|
241
|
+
I.push(i), r.id = i;
|
|
242
|
+
}), e.value.tableRef.addRows(o, { setActive: !1 }), t.value.tableRef.addRows(o, { setActive: !1 }), n.value.tableRef.addRows(o, { setActive: !1 }), Z(() => W()), x = !0;
|
|
247
243
|
}
|
|
248
244
|
Z(() => {
|
|
249
|
-
|
|
245
|
+
R.setFieldsValue({
|
|
250
246
|
treeIdField: "has_child",
|
|
251
247
|
treeParentIdField: "pid"
|
|
252
248
|
});
|
|
253
249
|
});
|
|
254
250
|
}
|
|
255
251
|
function $e() {
|
|
256
|
-
if (
|
|
252
|
+
if (I && I.length > 0) {
|
|
257
253
|
let { dbTable: e } = d;
|
|
258
|
-
e.value.tableDeleteLines(
|
|
254
|
+
e.value.tableDeleteLines(I), I = [], x = !1;
|
|
259
255
|
}
|
|
260
256
|
}
|
|
261
257
|
function xe() {
|
|
262
258
|
let e = {};
|
|
263
|
-
return new Promise((t,
|
|
259
|
+
return new Promise((t, n) => {
|
|
264
260
|
G().then(
|
|
265
261
|
(o) => t({ values: o }),
|
|
266
|
-
() =>
|
|
262
|
+
() => n(M)
|
|
267
263
|
);
|
|
268
264
|
}).then((t) => (Object.assign(e, t), Qe())).then((t) => {
|
|
269
265
|
Object.assign(e, t);
|
|
270
|
-
let
|
|
271
|
-
return Ve(
|
|
266
|
+
let n = Ue(e);
|
|
267
|
+
return Ve(n);
|
|
272
268
|
}).catch((t) => (t === M || (t == null ? void 0 : t.code) === M ? c.warning("校验未通过") : t != null && t.msg && c.warning(t.msg), Promise.reject(null)));
|
|
273
269
|
}
|
|
274
270
|
function Qe() {
|
|
275
271
|
return new Promise((e, t) => D(this, null, function* () {
|
|
276
|
-
let
|
|
277
|
-
for (let r = 0; r <
|
|
278
|
-
let i =
|
|
272
|
+
let n = Object.keys(d), o = {};
|
|
273
|
+
for (let r = 0; r < n.length; r++) {
|
|
274
|
+
let i = n[r], f = d[i];
|
|
279
275
|
try {
|
|
280
276
|
o[i] = yield f.value.validateData(i);
|
|
281
277
|
} catch (C) {
|
|
282
|
-
C.code === M && (
|
|
278
|
+
C.code === M && (p.value = C.activeKey), t(C);
|
|
283
279
|
return;
|
|
284
280
|
}
|
|
285
281
|
}
|
|
@@ -294,19 +290,19 @@ const ft = (a, n) => v.post({ url: `/online/cgform/api/doDbSynch/${a}/${n}`, tim
|
|
|
294
290
|
deleteFieldIds: [],
|
|
295
291
|
deleteIndexIds: []
|
|
296
292
|
};
|
|
297
|
-
return t.head = Object.assign(
|
|
298
|
-
let r =
|
|
293
|
+
return t.head = Object.assign(g, e.values), t.head.isDesForm = s.isDesForm, t.head.desFormCode = s.desFormCode, delete s.isDesForm, delete s.desFormCode, t.head.extConfigJson = JSON.stringify(s), e.dbTable.tableData.forEach((n, o) => {
|
|
294
|
+
let r = n.id, i = Object.assign({}, n), f = e.pageTable.tableData[o];
|
|
299
295
|
i = Object.assign(f, i);
|
|
300
296
|
let C = e.checkTable.tableData[o];
|
|
301
297
|
i = Object.assign(C, i);
|
|
302
298
|
let Q = e.fkTable.tableData[o];
|
|
303
299
|
i = Object.assign(Q, i);
|
|
304
300
|
let U = e.queryTable.tableData[o];
|
|
305
|
-
i = Object.assign(U, i), r == null || r === "" ? delete i.id : i.id = r, [].concat(le,
|
|
301
|
+
i = Object.assign(U, i), r == null || r === "" ? delete i.id : i.id = r, [].concat(le, I).includes(i.id) && delete i.id, t.fields.push(i);
|
|
306
302
|
}), t.deleteFieldIds = e.dbTable.deleteIds, t.indexs = e.idxTable.tableData, t.deleteIndexIds = e.idxTable.deleteIds, t;
|
|
307
303
|
}
|
|
308
304
|
function Ve(e) {
|
|
309
|
-
return new Promise((t,
|
|
305
|
+
return new Promise((t, n) => {
|
|
310
306
|
let o = e.fields, r = !0;
|
|
311
307
|
if (o && o.length > 0) {
|
|
312
308
|
let i = 0;
|
|
@@ -316,7 +312,7 @@ const ft = (a, n) => v.post({ url: `/online/cgform/api/doDbSynch/${a}/${n}`, tim
|
|
|
316
312
|
break;
|
|
317
313
|
}
|
|
318
314
|
}
|
|
319
|
-
r ? t(e) :
|
|
315
|
+
r ? t(e) : n({
|
|
320
316
|
code: -1,
|
|
321
317
|
msg: "外键只允许配置一个!",
|
|
322
318
|
error: M
|
|
@@ -328,9 +324,9 @@ const ft = (a, n) => v.post({ url: `/online/cgform/api/doDbSynch/${a}/${n}`, tim
|
|
|
328
324
|
(e) => D(this, null, function* () {
|
|
329
325
|
var t;
|
|
330
326
|
if (e.fields && e.fields.length > 0)
|
|
331
|
-
for (let
|
|
332
|
-
|
|
333
|
-
(t = e.head) != null && t.tableName && (e.head.tableName = e.head.tableName.toLowerCase().trim()), yield q.doSaveOrUpdate(e, h.value), ve($.value, e.head.tableName),
|
|
327
|
+
for (let n of e.fields)
|
|
328
|
+
n.dbFieldName = n.dbFieldName.toLowerCase().trim();
|
|
329
|
+
(t = e.head) != null && t.tableName && (e.head.tableName = e.head.tableName.toLowerCase().trim()), yield q.doSaveOrUpdate(e, h.value), ve($.value, e.head.tableName), l("success"), V(1, () => se());
|
|
334
330
|
}),
|
|
335
331
|
(e) => {
|
|
336
332
|
}
|
|
@@ -338,21 +334,21 @@ const ft = (a, n) => v.post({ url: `/online/cgform/api/doDbSynch/${a}/${n}`, tim
|
|
|
338
334
|
F.value = !1;
|
|
339
335
|
});
|
|
340
336
|
}
|
|
341
|
-
const [
|
|
337
|
+
const [Ke, Je] = ca();
|
|
342
338
|
function He(e) {
|
|
343
339
|
return D(this, null, function* () {
|
|
344
|
-
if (N.value = e, e.joinQuery == 0 &&
|
|
340
|
+
if (N.value = e, e.joinQuery == 0 && R.validateFields(["themeTemplate"]), s = e, h.value == !0) {
|
|
345
341
|
let t = la(s);
|
|
346
|
-
const
|
|
347
|
-
id:
|
|
342
|
+
const n = {
|
|
343
|
+
id: g.id,
|
|
348
344
|
extConfigJson: JSON.stringify(t)
|
|
349
345
|
};
|
|
350
|
-
yield q.editHead(
|
|
346
|
+
yield q.editHead(n), l("success");
|
|
351
347
|
}
|
|
352
348
|
});
|
|
353
349
|
}
|
|
354
350
|
function Ge() {
|
|
355
|
-
|
|
351
|
+
Je.openModal(!0, {
|
|
356
352
|
extConfigJson: s
|
|
357
353
|
});
|
|
358
354
|
}
|
|
@@ -360,18 +356,18 @@ const ft = (a, n) => v.post({ url: `/online/cgform/api/doDbSynch/${a}/${n}`, tim
|
|
|
360
356
|
A.value = !0, V(1, () => z());
|
|
361
357
|
}
|
|
362
358
|
const Ye = () => {
|
|
363
|
-
const e =
|
|
359
|
+
const e = k.value.trim();
|
|
364
360
|
if (e.length) {
|
|
365
|
-
const
|
|
361
|
+
const n = d[p.value].value.tableRef.getXTable(), o = n.getTableData().fullData, r = o.findIndex((f) => e === f.dbFieldName || e === f.dbFieldTxt);
|
|
366
362
|
let i = -1;
|
|
367
|
-
if (r == -1 ? i = o.findIndex((C) => C.dbFieldName.includes(
|
|
363
|
+
if (r == -1 ? i = o.findIndex((C) => C.dbFieldName.includes(k.value) || C.dbFieldTxt.includes(k.value)) : i = r, i != -1) {
|
|
368
364
|
const f = o[i];
|
|
369
|
-
|
|
370
|
-
const { refTableBody: C } =
|
|
365
|
+
n.scrollToRow(f).then(() => {
|
|
366
|
+
const { refTableBody: C } = n.getRefMaps(), Q = C.value, U = Q ? Q.$el : null;
|
|
371
367
|
if (U) {
|
|
372
|
-
const
|
|
373
|
-
|
|
374
|
-
|
|
368
|
+
const S = U.querySelector(`[rowid="${n.getRowid(f)}"]`);
|
|
369
|
+
S && (S.classList.add("customHighlight"), setTimeout(() => {
|
|
370
|
+
S == null || S.classList.remove("customHighlight");
|
|
375
371
|
}, 1e3));
|
|
376
372
|
}
|
|
377
373
|
});
|
|
@@ -382,18 +378,18 @@ const ft = (a, n) => v.post({ url: `/online/cgform/api/doDbSynch/${a}/${n}`, tim
|
|
|
382
378
|
};
|
|
383
379
|
return de(O({}, d), {
|
|
384
380
|
modalRef: E,
|
|
385
|
-
title:
|
|
381
|
+
title: w,
|
|
386
382
|
confirmLoading: F,
|
|
387
383
|
tableLoading: T,
|
|
388
|
-
activeKey:
|
|
384
|
+
activeKey: p,
|
|
389
385
|
onCancel: se,
|
|
390
386
|
extConfigJson: s,
|
|
391
|
-
formAction:
|
|
387
|
+
formAction: R,
|
|
392
388
|
hideTabs: A,
|
|
393
389
|
onSubmit: qe,
|
|
394
|
-
onTabsChange:
|
|
395
|
-
onTableAdded:
|
|
396
|
-
onTableRemoved:
|
|
390
|
+
onTabsChange: Be,
|
|
391
|
+
onTableAdded: Se,
|
|
392
|
+
onTableRemoved: _e,
|
|
397
393
|
onTableDragged: Ee,
|
|
398
394
|
onTableInserted: Ae,
|
|
399
395
|
onTableSyncDbType: Oe,
|
|
@@ -402,27 +398,27 @@ const ft = (a, n) => v.post({ url: `/online/cgform/api/doDbSynch/${a}/${n}`, tim
|
|
|
402
398
|
onExtConfigOk: He,
|
|
403
399
|
registerForm: H,
|
|
404
400
|
registerModal: Y,
|
|
405
|
-
registerExtendConfigModal:
|
|
401
|
+
registerExtendConfigModal: Ke,
|
|
406
402
|
// hook OnlineTest
|
|
407
403
|
aiTestMode: me,
|
|
408
|
-
aiTestTable:
|
|
409
|
-
aiTableList:
|
|
404
|
+
aiTestTable: pe,
|
|
405
|
+
aiTableList: ge,
|
|
410
406
|
initVirtualData: Te,
|
|
411
407
|
onTableSyncDbIsPersist: Pe,
|
|
412
408
|
onTableSyncDbIsNull: Me,
|
|
413
409
|
isUpdate: h,
|
|
414
|
-
positioning:
|
|
410
|
+
positioning: k,
|
|
415
411
|
handlePositioning: Ye
|
|
416
412
|
});
|
|
417
413
|
}
|
|
418
414
|
});
|
|
419
|
-
const
|
|
415
|
+
const Na = { style: { flex: "1", "text-align": "right" } }, Oa = { class: "footer-area" }, Pa = { class: "rightArea" }, Ma = { class: "leftArea" }, ja = { key: 0 }, La = {
|
|
420
416
|
key: 1,
|
|
421
417
|
class: "positioning-area"
|
|
422
418
|
};
|
|
423
|
-
function
|
|
424
|
-
const
|
|
425
|
-
return
|
|
419
|
+
function $a(a, l, c, E, h, g) {
|
|
420
|
+
const w = m("a-button"), F = m("BasicForm"), T = m("DBAttributeTable"), p = m("a-tab-pane"), A = m("PageAttributeTable"), d = m("CheckDictTable"), K = m("ForeignKeyTable"), N = m("IndexTable"), k = m("Icon"), J = m("a-tooltip"), H = m("QueryTable"), R = m("a-tabs"), j = m("a-spin"), L = m("a-select-option"), G = m("a-select"), Y = m("a-input"), z = m("ExtendConfigModal"), $ = m("BasicModal");
|
|
421
|
+
return _(), ee($, na({
|
|
426
422
|
ref: "modalRef",
|
|
427
423
|
title: a.title,
|
|
428
424
|
width: 1200,
|
|
@@ -434,75 +430,75 @@ function La(a, n, c, E, h, p) {
|
|
|
434
430
|
onRegister: a.registerModal
|
|
435
431
|
}), {
|
|
436
432
|
footer: b(() => [
|
|
437
|
-
P("div",
|
|
438
|
-
P("div",
|
|
439
|
-
u(
|
|
440
|
-
default: b(() => [
|
|
441
|
-
|
|
442
|
-
]),
|
|
433
|
+
P("div", Oa, [
|
|
434
|
+
P("div", Pa, [
|
|
435
|
+
u(w, { onClick: a.onCancel }, {
|
|
436
|
+
default: b(() => l[6] || (l[6] = [
|
|
437
|
+
B("关闭")
|
|
438
|
+
])),
|
|
443
439
|
_: 1
|
|
444
440
|
}, 8, ["onClick"]),
|
|
445
|
-
u(
|
|
441
|
+
u(w, {
|
|
446
442
|
type: "primary",
|
|
447
443
|
loading: a.confirmLoading,
|
|
448
444
|
preIcon: "ant-design:save",
|
|
449
445
|
onClick: a.onSubmit
|
|
450
446
|
}, {
|
|
451
|
-
default: b(() => [
|
|
452
|
-
|
|
453
|
-
]),
|
|
447
|
+
default: b(() => l[7] || (l[7] = [
|
|
448
|
+
B("保存")
|
|
449
|
+
])),
|
|
454
450
|
_: 1
|
|
455
451
|
}, 8, ["loading", "onClick"])
|
|
456
452
|
]),
|
|
457
|
-
P("div",
|
|
458
|
-
a.aiTestMode && !a.isUpdate ? (
|
|
453
|
+
P("div", Ma, [
|
|
454
|
+
a.aiTestMode && !a.isUpdate ? (_(), ae("div", ja, [
|
|
459
455
|
u(G, {
|
|
460
456
|
value: a.aiTestTable,
|
|
461
|
-
"onUpdate:value":
|
|
457
|
+
"onUpdate:value": l[1] || (l[1] = (s) => a.aiTestTable = s),
|
|
462
458
|
placeholder: "请选择测试的数据模型",
|
|
463
459
|
getPopupContainer: (s) => s == null ? void 0 : s.parentElement,
|
|
464
460
|
style: { width: "300px", margin: "0 10px 0 0", "text-align": "left" }
|
|
465
461
|
}, {
|
|
466
462
|
default: b(() => [
|
|
467
|
-
(
|
|
463
|
+
(_(!0), ae(oa, null, ia(a.aiTableList, (s, X) => (_(), ee(L, {
|
|
468
464
|
key: X,
|
|
469
465
|
value: s.name
|
|
470
466
|
}, {
|
|
471
467
|
default: b(() => [
|
|
472
|
-
|
|
468
|
+
B(sa(s.title + "(" + s.name + ")"), 1)
|
|
473
469
|
]),
|
|
474
470
|
_: 2
|
|
475
471
|
}, 1032, ["value"]))), 128))
|
|
476
472
|
]),
|
|
477
473
|
_: 1
|
|
478
474
|
}, 8, ["value", "getPopupContainer"]),
|
|
479
|
-
u(
|
|
475
|
+
u(w, {
|
|
480
476
|
type: "primary",
|
|
481
477
|
ghost: "",
|
|
482
478
|
onClick: a.initVirtualData
|
|
483
479
|
}, {
|
|
484
|
-
default: b(() => [
|
|
485
|
-
|
|
486
|
-
]),
|
|
480
|
+
default: b(() => l[8] || (l[8] = [
|
|
481
|
+
B("生成数据>>")
|
|
482
|
+
])),
|
|
487
483
|
_: 1
|
|
488
484
|
}, 8, ["onClick"])
|
|
489
485
|
])) : te("", !0),
|
|
490
|
-
a.isUpdate ? (
|
|
486
|
+
a.isUpdate ? (_(), ae("div", La, [
|
|
491
487
|
u(Y, {
|
|
492
488
|
value: a.positioning,
|
|
493
|
-
"onUpdate:value":
|
|
489
|
+
"onUpdate:value": l[2] || (l[2] = (s) => a.positioning = s),
|
|
494
490
|
placeholder: "请输入字段名称或字段备注",
|
|
495
491
|
allowClear: "",
|
|
496
492
|
onPressEnter: a.handlePositioning
|
|
497
493
|
}, null, 8, ["value", "onPressEnter"]),
|
|
498
|
-
u(
|
|
494
|
+
u(w, {
|
|
499
495
|
type: "primary",
|
|
500
496
|
ghost: "",
|
|
501
497
|
onClick: a.handlePositioning
|
|
502
498
|
}, {
|
|
503
|
-
default: b(() => [
|
|
504
|
-
|
|
505
|
-
]),
|
|
499
|
+
default: b(() => l[9] || (l[9] = [
|
|
500
|
+
B("定位")
|
|
501
|
+
])),
|
|
506
502
|
_: 1
|
|
507
503
|
}, 8, ["onClick"])
|
|
508
504
|
])) : te("", !0)
|
|
@@ -517,14 +513,14 @@ function La(a, n, c, E, h, p) {
|
|
|
517
513
|
default: b(() => [
|
|
518
514
|
u(F, { onRegister: a.registerForm }, {
|
|
519
515
|
extConfigButton: b(() => [
|
|
520
|
-
P("div",
|
|
521
|
-
u(
|
|
516
|
+
P("div", Na, [
|
|
517
|
+
u(w, {
|
|
522
518
|
preIcon: "ant-design:setting",
|
|
523
519
|
onClick: a.onOpenExtConfig
|
|
524
520
|
}, {
|
|
525
|
-
default: b(() => [
|
|
526
|
-
|
|
527
|
-
]),
|
|
521
|
+
default: b(() => l[3] || (l[3] = [
|
|
522
|
+
B("扩展配置")
|
|
523
|
+
])),
|
|
528
524
|
_: 1
|
|
529
525
|
}, 8, ["onClick"])
|
|
530
526
|
])
|
|
@@ -535,15 +531,15 @@ function La(a, n, c, E, h, p) {
|
|
|
535
531
|
spinning: a.tableLoading || a.hideTabs
|
|
536
532
|
}, {
|
|
537
533
|
default: b(() => [
|
|
538
|
-
a.hideTabs ? te("", !0) : (
|
|
534
|
+
a.hideTabs ? te("", !0) : (_(), ee(R, {
|
|
539
535
|
key: 0,
|
|
540
536
|
activeKey: a.activeKey,
|
|
541
|
-
"onUpdate:activeKey":
|
|
537
|
+
"onUpdate:activeKey": l[0] || (l[0] = (s) => a.activeKey = s),
|
|
542
538
|
animated: "",
|
|
543
539
|
onChange: a.onTabsChange
|
|
544
540
|
}, {
|
|
545
541
|
default: b(() => [
|
|
546
|
-
u(
|
|
542
|
+
u(p, {
|
|
547
543
|
tab: "数据库属性",
|
|
548
544
|
key: "dbTable",
|
|
549
545
|
forceRender: ""
|
|
@@ -563,7 +559,7 @@ function La(a, n, c, E, h, p) {
|
|
|
563
559
|
]),
|
|
564
560
|
_: 1
|
|
565
561
|
}),
|
|
566
|
-
u(
|
|
562
|
+
u(p, {
|
|
567
563
|
tab: "页面属性",
|
|
568
564
|
key: "pageTable",
|
|
569
565
|
forceRender: ""
|
|
@@ -573,7 +569,7 @@ function La(a, n, c, E, h, p) {
|
|
|
573
569
|
]),
|
|
574
570
|
_: 1
|
|
575
571
|
}),
|
|
576
|
-
u(
|
|
572
|
+
u(p, {
|
|
577
573
|
tab: "校验字段",
|
|
578
574
|
key: "checkTable",
|
|
579
575
|
forceRender: ""
|
|
@@ -583,20 +579,20 @@ function La(a, n, c, E, h, p) {
|
|
|
583
579
|
]),
|
|
584
580
|
_: 1
|
|
585
581
|
}),
|
|
586
|
-
u(
|
|
582
|
+
u(p, {
|
|
587
583
|
tab: "外键",
|
|
588
584
|
key: "fkTable",
|
|
589
585
|
forceRender: ""
|
|
590
586
|
}, {
|
|
591
587
|
default: b(() => [
|
|
592
|
-
u(
|
|
588
|
+
u(K, {
|
|
593
589
|
ref: "fkTable",
|
|
594
590
|
actionButton: a.actionButton
|
|
595
591
|
}, null, 8, ["actionButton"])
|
|
596
592
|
]),
|
|
597
593
|
_: 1
|
|
598
594
|
}),
|
|
599
|
-
u(
|
|
595
|
+
u(p, {
|
|
600
596
|
tab: "索引",
|
|
601
597
|
key: "idxTable",
|
|
602
598
|
forceRender: ""
|
|
@@ -609,19 +605,19 @@ function La(a, n, c, E, h, p) {
|
|
|
609
605
|
]),
|
|
610
606
|
_: 1
|
|
611
607
|
}),
|
|
612
|
-
u(
|
|
608
|
+
u(p, {
|
|
613
609
|
key: "queryTable",
|
|
614
610
|
forceRender: ""
|
|
615
611
|
}, {
|
|
616
612
|
tab: b(() => [
|
|
617
613
|
P("span", null, [
|
|
618
|
-
|
|
619
|
-
u(
|
|
620
|
-
title: b(() => [
|
|
621
|
-
|
|
622
|
-
]),
|
|
614
|
+
l[5] || (l[5] = B(" 个性查询配置 ")),
|
|
615
|
+
u(J, null, {
|
|
616
|
+
title: b(() => l[4] || (l[4] = [
|
|
617
|
+
B("允许自定义,查询表单字段控件类型!")
|
|
618
|
+
])),
|
|
623
619
|
default: b(() => [
|
|
624
|
-
u(
|
|
620
|
+
u(k, { icon: "bx:help-circle" })
|
|
625
621
|
]),
|
|
626
622
|
_: 1
|
|
627
623
|
})
|
|
@@ -653,19 +649,19 @@ function La(a, n, c, E, h, p) {
|
|
|
653
649
|
_: 1
|
|
654
650
|
}, 16, ["title", "confirmLoading", "onCancel", "onRegister"]);
|
|
655
651
|
}
|
|
656
|
-
const
|
|
652
|
+
const xa = /* @__PURE__ */ Ea(Aa, [["render", $a], ["__scopeId", "data-v-44d8bb3b"]]), yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
657
653
|
__proto__: null,
|
|
658
|
-
default:
|
|
654
|
+
default: xa
|
|
659
655
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
660
656
|
export {
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
657
|
+
xa as C,
|
|
658
|
+
pt as a,
|
|
659
|
+
Tt as b,
|
|
660
|
+
mt as c,
|
|
661
|
+
gt as d,
|
|
662
|
+
bt as e,
|
|
663
|
+
ct as f,
|
|
664
|
+
ft as g,
|
|
665
|
+
yt as h,
|
|
666
|
+
dt as l
|
|
671
667
|
};
|