@jeecg/online 3.9.0-beta → 3.9.1-RC
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-cbc75a49.mjs → AccountLoginForm-BXyvcSds.mjs} +50 -53
- package/{AiModal-5bec5218.mjs → AiModal-BgVzn074.mjs} +18 -20
- package/{AppForgetPassword-dbc8377e.mjs → AppForgetPassword-B-2CvL62.mjs} +59 -63
- package/AppLogin-BMBmx2oq.mjs +272 -0
- package/AppLoginHeader-BtKXOMRR.mjs +23 -0
- package/{AppNameEmail-7c6a1406.mjs → AppNameEmail-DCqMNjaK.mjs} +20 -24
- package/{AppRegister-29a00a9d.mjs → AppRegister-C5iH-245.mjs} +33 -37
- package/{AppTenant-92890383.mjs → AppTenant-etPXeUcW.mjs} +49 -55
- package/AppThirdForm-NMob-JaS.mjs +185 -0
- package/AuthButtonConfig-zUioaGwn.mjs +155 -0
- package/AuthButtonTree-DYZwphe6.mjs +159 -0
- package/{AuthDataConfig-c978c469.mjs → AuthDataConfig-uQ5WT7rx.mjs} +57 -62
- package/AuthDataTree-Cr28_YKx.mjs +134 -0
- package/{AuthFieldConfig-558283bc.mjs → AuthFieldConfig-DjdaPIXF.mjs} +95 -101
- package/{AuthFieldTree-106db4e2.mjs → AuthFieldTree-DHmnDQ0I.mjs} +94 -99
- package/AuthManagerDrawer-DUb6QylS.mjs +108 -0
- package/{AuthSetterModal-90a76886.mjs → AuthSetterModal-BBFdNv1M.mjs} +89 -100
- package/BuiltInButtonList-Cgg5maxI.mjs +4 -0
- package/{BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs → BuiltInButtonList.vue_vue_type_script_setup_true_lang-5-4hU0bi.mjs} +8 -8
- package/{CgformAddressModal-690b8940.mjs → CgformAddressModal-BVoww1fk.mjs} +57 -63
- package/CgformCopyList-7e96RMbJ.mjs +176 -0
- package/{CgformModal-b04a492a.mjs → CgformModal-RH-Tr08S.mjs} +240 -241
- package/{CgreportAigcModal-8fdcbd31.mjs → CgreportAigcModal-rEfIpPF9.mjs} +35 -38
- package/{CgreportModal-da62724c.mjs → CgreportModal-Bajb_3ku.mjs} +49 -50
- package/{CheckDictTable-7320189b.mjs → CheckDictTable-BxJFrctQ.mjs} +44 -52
- package/{CodeFileListModal-e5ec210d.mjs → CodeFileListModal-C3uqsFvi.mjs} +32 -36
- package/{CodeFileViewModal-09053f3a.mjs → CodeFileViewModal-bEtZDbAY.mjs} +78 -81
- package/CodeGeneratorModal-ZWEIXRbY.mjs +291 -0
- package/{CustomButtonList-704e6d1c.mjs → CustomButtonList-7wjonhtu.mjs} +82 -85
- package/{DBAttributeTable-4a65c897.mjs → DBAttributeTable-DA2XttIQ.mjs} +50 -60
- package/{DbToOnlineModal-cc398c70.mjs → DbToOnlineModal-CDVqmEJH.mjs} +43 -45
- package/DetailForm-CnfJBMys.mjs +472 -0
- package/{DropMenuItem-884f9464.mjs → DropMenuItem-D8YWMle-.mjs} +8 -11
- package/EnhanceJavaModal-W8_oGY-U.mjs +255 -0
- package/{EnhanceJsHistory-95ca545c.mjs → EnhanceJsHistory-ZzXedCNI.mjs} +48 -49
- package/{EnhanceJsModal-742b0ee2.mjs → EnhanceJsModal-Djb5ItH4.mjs} +95 -104
- package/EnhanceSqlModal-DxPdRcQc.mjs +258 -0
- package/ErrorTip-BDS1uxkW.mjs +4 -0
- package/{ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs → ErrorTip.vue_vue_type_script_setup_true_lang-Bl9zMjvW.mjs} +11 -11
- package/ExtendConfigModal-CxJIWvV4.mjs +102 -0
- package/{FieldExtendJsonModal-fe7f7902.mjs → FieldExtendJsonModal-Bvmbb6yd.mjs} +27 -30
- package/{FileSelectModal-cf41604b.mjs → FileSelectModal-DXqL5msQ.mjs} +27 -31
- package/{ForeignKeyTable-4a59ded1.mjs → ForeignKeyTable-D6AlLbfd.mjs} +17 -25
- package/{IndexTable-87d67830.mjs → IndexTable-B7ef6Aox.mjs} +9 -17
- package/JModalTip-DHrn6ksJ.mjs +46 -0
- package/{JOnlineSearchSelect-d8c57973.mjs → JOnlineSearchSelect-CAv2Dm9V.mjs} +21 -23
- package/{LeftDepart-463bf432.mjs → LeftDepart-BC1jpYJP.mjs} +8 -11
- package/{LeftRole-1631d3d4.mjs → LeftRole-sq_2p6Qk.mjs} +16 -19
- package/{LeftUser-5774a5db.mjs → LeftUser-CYh4PBgd.mjs} +7 -10
- package/{LinkTableConfigModal-1bab1423.mjs → LinkTableConfigModal-BOWs0A5-.mjs} +38 -40
- package/{LinkTableFieldConfigModal-49470140.mjs → LinkTableFieldConfigModal-D7FTBP3E.mjs} +50 -52
- package/LinkTableListPiece-Bfu6vfo0.mjs +31 -0
- package/{ModalFormDemo-dbd0aa28.mjs → ModalFormDemo-C1qQT6lj.mjs} +13 -16
- package/{OnlCgformErpList-35ad1d6e.mjs → OnlCgformErpList-CavWG8GK.mjs} +139 -200
- package/OnlCgformErpSubTable-D3QM8oWi.mjs +382 -0
- package/OnlCgformInnerSubTable-BqmooFqy.mjs +213 -0
- package/OnlCgformInnerTableList-Dr1KdoSC.mjs +421 -0
- package/OnlCgformTabList-DCy3oudh.mjs +371 -0
- package/OnlineAutoList-C4pkORGb.mjs +500 -0
- package/OnlineAutoModal-Cuf_wcbU.mjs +222 -0
- package/{OnlineAutoTreeList-5153f09d.mjs → OnlineAutoTreeList-LDE9Sm7X.mjs} +124 -182
- package/OnlineCustomModal-Jz4MxkH0.mjs +209 -0
- package/OnlineDetailModal-So0YEah1.mjs +160 -0
- package/{OnlineForm-20604e4f.mjs → OnlineForm-CvcbzRIZ.mjs} +47 -74
- package/OnlineFormDetail-KaD6cV31.mjs +321 -0
- package/OnlineFormUrlAdd-CktstdFD.mjs +86 -0
- package/OnlineFormUrlDetail-C4qptuTQ.mjs +85 -0
- package/OnlineFormUrlEdit-C06vTiM_.mjs +84 -0
- package/{OnlineFormUrlSuccess-302ecb21.mjs → OnlineFormUrlSuccess-Cvbte2lW.mjs} +27 -30
- package/{OnlineQueryForm-5eeceb51.mjs → OnlineQueryForm-6E1IRi95.mjs} +139 -168
- package/{OnlineSearchFormItem-5536a1a6.mjs → OnlineSearchFormItem-CdRuXQPu.mjs} +112 -118
- package/{OnlineSelectCascade-180e8c9a.mjs → OnlineSelectCascade-O7iXAgdH.mjs} +31 -33
- package/OnlineSubFormDetail-DcMpAk8Z.mjs +109 -0
- package/OnlineTabAutoModal-DSOVDlOz.mjs +285 -0
- package/OnlineTabDetailModal-OXQ_2VLI.mjs +187 -0
- package/{OnlineTabForm-827e7089.mjs → OnlineTabForm-Cg3_IX2H.mjs} +228 -254
- package/OnlineTabFormDetail-BgFkUkva.mjs +299 -0
- package/{PageAttributeTable-5703e2f1.mjs → PageAttributeTable-C803SekP.mjs} +46 -59
- package/{PhoneLoginForm-15dc68ed.mjs → PhoneLoginForm-8a0Uehov.mjs} +40 -43
- package/ProcessOnlineForm-COeEaGc8.mjs +182 -0
- package/{QueryTable-26c9ee22.mjs → QueryTable-DHYaYbKC.mjs} +23 -31
- package/SetSwitchOptions-B4Q6l-54.mjs +58 -0
- package/ShareAddView-CxZuNTQB.mjs +11 -0
- package/ShareEditView-Dqdzjmpc.mjs +17 -0
- package/ShareView-B9TiMmkR.mjs +4 -0
- package/{ShareView.vue_vue_type_script_setup_true_lang-d1597c0d.mjs → ShareView.vue_vue_type_script_setup_true_lang-BCdP9KMD.mjs} +21 -21
- package/SingleView-BDXeMLV-.mjs +4 -0
- package/{SingleView.vue_vue_type_style_index_0_lang-914483d0.mjs → SingleView.vue_vue_type_style_index_0_lang-D3QcMcYT.mjs} +27 -27
- package/{SuperQuery-c95f86ee.mjs → SuperQuery-CgkajEWI.mjs} +342 -371
- package/SuperQueryValComponent-UO10kRg5.mjs +4 -0
- package/TaskOpinionList-C8rcU6ee.mjs +10 -0
- package/{aiModal-b44fa135.mjs → aiModal-DTU-w5Xx.mjs} +33 -36
- package/{enhance.data-6601ff44.mjs → enhance.data-DRCzy5Bx.mjs} +5 -5
- package/index-0kQBIHx0.mjs +58 -0
- package/{index-02f6dc7d.mjs → index-B1H394jP.mjs} +35 -38
- package/index-CXD6__bJ.mjs +195 -0
- package/{index-abbfd327.mjs → index-DIjQbz6A.mjs} +37 -41
- package/{index-30da2fc0.mjs → index-Dbr1qL3H.mjs} +474 -609
- package/{index-19eaef11.mjs → index-dmWvLQET.mjs} +2 -2
- package/{index-391aec04.mjs → index-pGbTziKP.mjs} +32 -44
- package/{index-22a99f2e.mjs → index-siZ6JDIW.mjs} +17 -20
- package/main.index.js +8 -9
- package/online.css +1 -0
- package/package.json +1 -1
- package/{useCgformList-aaa30c8c.mjs → useCgformList-_o9GP7ca.mjs} +3 -3
- package/useExtendComponent-P9wrWQwT.mjs +4479 -0
- package/{useListButton-308458cd.mjs → useListButton-DyOAscwT.mjs} +7 -9
- package/{useSchemas-b074f3a1.mjs → useSchemas-svH7q1tm.mjs} +69 -42
- package/{useTableSync-dbfba20e.mjs → useTableSync-BAWujyoc.mjs} +1 -1
- package/{utils-9fce7606.mjs → utils-DcQ65Qmw.mjs} +1 -1
- package/AppLogin-786949d3.mjs +0 -287
- package/AppLoginHeader-37034b2f.mjs +0 -27
- package/AppThirdForm-760064e5.mjs +0 -189
- package/AuthButtonConfig-78180aec.mjs +0 -160
- package/AuthButtonTree-62c8e70c.mjs +0 -165
- package/AuthDataTree-0647a06c.mjs +0 -139
- package/AuthManagerDrawer-ec5190d2.mjs +0 -119
- package/BuiltInButtonList-bb6cf95c.mjs +0 -10
- package/CgformCopyList-af9c99a4.mjs +0 -260
- package/CodeGeneratorModal-aba790e3.mjs +0 -298
- package/DetailForm-a2bf8c33.mjs +0 -498
- package/EnhanceJavaModal-fe8d475d.mjs +0 -264
- package/EnhanceSqlModal-6e36bc4f.mjs +0 -268
- package/ErrorTip-bb616e32.mjs +0 -7
- package/ExtendConfigModal-74d657c7.mjs +0 -117
- package/JModalTip-5401f43d.mjs +0 -49
- package/LinkTableListPiece-47f4286c.mjs +0 -34
- package/OnlCgformErpSubTable-5093d438.mjs +0 -444
- package/OnlCgformInnerSubTable-f1dc90db.mjs +0 -270
- package/OnlCgformInnerTableList-1b82a7da.mjs +0 -482
- package/OnlCgformTabList-d66d1261.mjs +0 -432
- package/OnlineAutoList-fbba2a52.mjs +0 -559
- package/OnlineAutoModal-68909692.mjs +0 -261
- package/OnlineCustomModal-b5f8c799.mjs +0 -247
- package/OnlineDetailModal-ac078a9a.mjs +0 -199
- package/OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs +0 -1
- package/OnlineFormDetail-719118b6.mjs +0 -350
- package/OnlineFormUrlAdd-5b675f48.mjs +0 -117
- package/OnlineFormUrlDetail-91156bf2.mjs +0 -122
- package/OnlineFormUrlEdit-fb810de6.mjs +0 -115
- package/OnlineSubFormDetail-4d64e7be.mjs +0 -148
- package/OnlineTabAutoModal-c127ed50.mjs +0 -320
- package/OnlineTabDetailModal-e4e9f7e3.mjs +0 -227
- package/OnlineTabFormDetail-0f96377e.mjs +0 -329
- package/ProcessOnlineForm-1fcbe0af.mjs +0 -219
- package/SetSwitchOptions-a3428177.mjs +0 -62
- package/ShareAddView-0512e884.mjs +0 -89
- package/ShareEditView-b89dfbd3.mjs +0 -95
- package/ShareView-faf1a0ab.mjs +0 -83
- package/SingleView-21d3a558.mjs +0 -71
- package/SuperQueryValComponent-5a9ccfd4.mjs +0 -8
- package/TaskOpinionList-73ecb3c8.mjs +0 -101
- package/dayjs.min-eea532a3.mjs +0 -301
- package/index-26940246.mjs +0 -219
- package/index-94b6319e.mjs +0 -57
- package/style.css +0 -1
- package/useExtendComponent-ad499dff.mjs +0 -4164
- /package/{SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs → SuperQueryValComponent.vue_vue_type_script_lang-BM-iwlLi.mjs} +0 -0
- /package/{auth.api-53df4c33.mjs → auth.api-2QmzY0ji.mjs} +0 -0
- /package/{auth.data-e44c7975.mjs → auth.data-Cp8D9uZ7.mjs} +0 -0
- /package/{button.data-fe45d43b.mjs → button.data-CyUX77GQ.mjs} +0 -0
- /package/{cgform.data-0ca62d09.mjs → cgform.data-CviSPXEg.mjs} +0 -0
- /package/{cgformState-d9f8ec42.mjs → cgformState-CUyRXfhW.mjs} +0 -0
- /package/{constant-fa63bd66.mjs → constant-DnbpmwZg.mjs} +0 -0
- /package/{enhance.api-138e6826.mjs → enhance.api-BqHb-YGL.mjs} +0 -0
- /package/{index-5e89258d.mjs → index-aVGkB_J9.mjs} +0 -0
- /package/{shareStore-7de6c7a6.mjs → shareStore-k-kzyga5.mjs} +0 -0
- /package/{useCustomHook-3a17a690.mjs → useCustomHook-B35kFqDB.mjs} +0 -0
- /package/{useFormUrl-2ee1a82d.mjs → useFormUrl-D8ASmaz6.mjs} +0 -0
- /package/{useOnlinePopEvent-687070b7.mjs → useOnlinePopEvent-FOvbs0Ta.mjs} +0 -0
- /package/{useOnlineTest-e4bd8be3.mjs → useOnlineTest-_onDRxjY.mjs} +0 -0
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
import { defineComponent as S, computed as v, ref as b, reactive as N, resolveComponent as i,
|
|
1
|
+
import { defineComponent as S, computed as v, ref as b, reactive as N, resolveComponent as i, createElementBlock as V, openBlock as O, Fragment as K, createVNode as l, unref as L, withCtx as a, createElementVNode as r, createBlock as j, createCommentVNode as q, createTextVNode as g, mergeProps as D } from "vue";
|
|
2
2
|
import { useModalInner as F, BasicModal as U } from "/@/components/Modal";
|
|
3
|
-
import { p as P } from "./utils-
|
|
3
|
+
import { p as P } from "./utils-DcQ65Qmw.mjs";
|
|
4
4
|
import { copyTextToClipboard as R } from "/@/hooks/web/useCopyToClipboard";
|
|
5
5
|
import { getToken as H } from "/@/utils/auth";
|
|
6
6
|
import { useMessage as J } from "/@/hooks/web/useMessage";
|
|
7
7
|
import { buildUUID as z } from "/@/utils/uuid";
|
|
8
|
-
import { _ as Q } from "./index-
|
|
9
|
-
import "./cgform.data-0ca62d09.mjs";
|
|
10
|
-
import "/@/utils/dict";
|
|
11
|
-
import "/@/utils/dict/JDictSelectUtil";
|
|
12
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
13
|
-
import "vue-router";
|
|
8
|
+
import { _ as Q } from "./index-0kQBIHx0.mjs";
|
|
14
9
|
const Y = { class: "content" }, G = ["href"], W = ["href"], X = ["href"], Z = /* @__PURE__ */ S({
|
|
15
10
|
__name: "CgformAddressModal",
|
|
16
11
|
emits: ["register"],
|
|
17
12
|
setup(ee, { emit: te }) {
|
|
18
|
-
const { createMessage: y } = J(), k = v(() => H()),
|
|
13
|
+
const { createMessage: y } = J(), k = v(() => H()), f = b(["def"]), p = b(!1), d = b("normal"), x = b(!1), u = N({
|
|
19
14
|
title: "",
|
|
20
15
|
content: "",
|
|
21
16
|
copyText: "",
|
|
@@ -26,10 +21,10 @@ const Y = { class: "content" }, G = ["href"], W = ["href"], X = ["href"], Z = /*
|
|
|
26
21
|
formId: t.record.id
|
|
27
22
|
});
|
|
28
23
|
const e = P(t.record);
|
|
29
|
-
|
|
24
|
+
p.value = e.enableExternalLink === 1, d.value = t.record.themeTemplate, x.value = t.record.isTree === "Y", p.value ? f.value = ["def", "external"] : f.value = ["def"];
|
|
30
25
|
}), n = v(() => {
|
|
31
26
|
const t = {};
|
|
32
|
-
if (
|
|
27
|
+
if (p.value) {
|
|
33
28
|
const e = `/online/cgform/share/${u.formId}`;
|
|
34
29
|
t.add = `${e}/add`, t.edit = `${e}/u/{dataId}`, t.detail = `${e}/d/{dataId}`;
|
|
35
30
|
}
|
|
@@ -38,45 +33,45 @@ const Y = { class: "content" }, G = ["href"], W = ["href"], X = ["href"], Z = /*
|
|
|
38
33
|
extLink: t
|
|
39
34
|
};
|
|
40
35
|
});
|
|
41
|
-
function
|
|
36
|
+
function $() {
|
|
42
37
|
let t = "OnlineAutoList";
|
|
43
38
|
d.value === "normal" ? t = "OnlineAutoList" : d.value === "erp" ? t = "CgformErpList" : d.value === "innerTable" ? t = "OnlCgformInnerTableList" : d.value === "tab" && (t = "OnlCgformTabList"), x.value && (t = "DefaultOnlineList");
|
|
44
39
|
const e = `-- 插入菜单
|
|
45
40
|
INSERT INTO sys_permission(id, parent_id, name, url, component, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_route, is_leaf, keep_alive, hidden, hide_tab, description, status, del_flag, rule_flag, create_by, create_time, update_by, update_time, internal_or_external)
|
|
46
41
|
VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0, NULL, '1', 0.00, 0, NULL, 0, 1, 0, 0, 0, NULL, '1', 0, 0, 'admin', null, NULL, NULL, 0)
|
|
47
42
|
`;
|
|
48
|
-
|
|
43
|
+
A(e);
|
|
49
44
|
}
|
|
50
|
-
function
|
|
45
|
+
function A(t) {
|
|
51
46
|
const e = R(t);
|
|
52
47
|
return e ? y.success("复制成功!") : y.error("复制失败!"), e;
|
|
53
48
|
}
|
|
54
|
-
const
|
|
49
|
+
const o = N({
|
|
55
50
|
base: "",
|
|
56
51
|
value: "",
|
|
57
52
|
visible: !1
|
|
58
|
-
}), B = v(() =>
|
|
53
|
+
}), B = v(() => o.value ? o.base.replace(/{dataId}/, o.value) + "?token=" + k.value : void 0), w = v(() => ({
|
|
59
54
|
title: "请输入dataId",
|
|
60
55
|
minHeight: 120,
|
|
61
56
|
centered: !0,
|
|
62
57
|
canFullscreen: !1,
|
|
63
|
-
onOk: () =>
|
|
64
|
-
onCancel: () =>
|
|
58
|
+
onOk: () => o.visible = !1,
|
|
59
|
+
onCancel: () => o.visible = !1
|
|
65
60
|
}));
|
|
66
|
-
function
|
|
67
|
-
|
|
61
|
+
function I(t) {
|
|
62
|
+
o.base = t, o.value = "", o.visible = !0;
|
|
68
63
|
}
|
|
69
|
-
function
|
|
70
|
-
if (!
|
|
64
|
+
function E() {
|
|
65
|
+
if (!o.value) {
|
|
71
66
|
y.warn("请输入dataId");
|
|
72
67
|
return;
|
|
73
68
|
}
|
|
74
|
-
|
|
69
|
+
o.visible = !1;
|
|
75
70
|
}
|
|
76
71
|
return (t, e) => {
|
|
77
|
-
const c = i("a-input"), m = i("a-col"), _ = i("a-row"),
|
|
72
|
+
const c = i("a-input"), m = i("a-col"), _ = i("a-row"), T = i("a-button"), C = i("a-collapse-panel"), M = i("a-collapse");
|
|
78
73
|
return O(), V(K, null, [
|
|
79
|
-
|
|
74
|
+
l(L(U), {
|
|
80
75
|
onRegister: L(h),
|
|
81
76
|
title: "配置地址",
|
|
82
77
|
width: 750,
|
|
@@ -86,25 +81,25 @@ VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0,
|
|
|
86
81
|
}, {
|
|
87
82
|
default: a(() => [
|
|
88
83
|
r("div", Y, [
|
|
89
|
-
|
|
90
|
-
activeKey:
|
|
91
|
-
"onUpdate:activeKey": e[2] || (e[2] = (s) =>
|
|
84
|
+
l(M, {
|
|
85
|
+
activeKey: f.value,
|
|
86
|
+
"onUpdate:activeKey": e[2] || (e[2] = (s) => f.value = s),
|
|
92
87
|
class: "j-collapse",
|
|
93
88
|
bordered: !1,
|
|
94
89
|
ghost: ""
|
|
95
90
|
}, {
|
|
96
91
|
default: a(() => [
|
|
97
|
-
|
|
92
|
+
l(C, {
|
|
98
93
|
key: "def",
|
|
99
94
|
header: "配置地址",
|
|
100
95
|
class: "j-collapse-panel no-header"
|
|
101
96
|
}, {
|
|
102
97
|
default: a(() => [
|
|
103
|
-
|
|
98
|
+
l(_, { style: { "margin-bottom": "8px" } }, {
|
|
104
99
|
default: a(() => [
|
|
105
|
-
|
|
100
|
+
l(m, { span: 24 }, {
|
|
106
101
|
default: a(() => [
|
|
107
|
-
|
|
102
|
+
l(c, {
|
|
108
103
|
readOnly: !0,
|
|
109
104
|
addonBefore: "数据列表地址",
|
|
110
105
|
value: n.value.list
|
|
@@ -123,30 +118,30 @@ VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0,
|
|
|
123
118
|
]),
|
|
124
119
|
_: 1
|
|
125
120
|
}),
|
|
126
|
-
|
|
121
|
+
l(T, {
|
|
127
122
|
class: "copy-sql",
|
|
128
123
|
type: "primary",
|
|
129
124
|
size: "small",
|
|
130
|
-
onClick:
|
|
125
|
+
onClick: $
|
|
131
126
|
}, {
|
|
132
|
-
default: a(() => e[5] || (e[5] = [
|
|
133
|
-
g("复制菜单SQL")
|
|
134
|
-
])),
|
|
127
|
+
default: a(() => [...e[5] || (e[5] = [
|
|
128
|
+
g("复制菜单SQL", -1)
|
|
129
|
+
])]),
|
|
135
130
|
_: 1
|
|
136
131
|
})
|
|
137
132
|
]),
|
|
138
133
|
_: 1
|
|
139
134
|
}),
|
|
140
|
-
|
|
135
|
+
p.value ? (O(), j(C, {
|
|
141
136
|
key: "external",
|
|
142
137
|
header: "外部链接"
|
|
143
138
|
}, {
|
|
144
139
|
default: a(() => [
|
|
145
|
-
|
|
140
|
+
l(_, { style: { "margin-bottom": "8px" } }, {
|
|
146
141
|
default: a(() => [
|
|
147
|
-
|
|
142
|
+
l(m, { span: 24 }, {
|
|
148
143
|
default: a(() => [
|
|
149
|
-
|
|
144
|
+
l(c, {
|
|
150
145
|
readOnly: !0,
|
|
151
146
|
addonBefore: "外部新增地址",
|
|
152
147
|
value: n.value.extLink.add
|
|
@@ -165,18 +160,18 @@ VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0,
|
|
|
165
160
|
]),
|
|
166
161
|
_: 1
|
|
167
162
|
}),
|
|
168
|
-
|
|
163
|
+
l(_, { style: { "margin-bottom": "8px" } }, {
|
|
169
164
|
default: a(() => [
|
|
170
|
-
|
|
165
|
+
l(m, { span: 24 }, {
|
|
171
166
|
default: a(() => [
|
|
172
|
-
|
|
167
|
+
l(c, {
|
|
173
168
|
readOnly: !0,
|
|
174
169
|
addonBefore: "外部修改地址",
|
|
175
170
|
value: n.value.extLink.edit
|
|
176
171
|
}, {
|
|
177
172
|
addonAfter: a(() => [
|
|
178
173
|
r("a", {
|
|
179
|
-
onClick: e[0] || (e[0] = (s) =>
|
|
174
|
+
onClick: e[0] || (e[0] = (s) => I(n.value.extLink.edit))
|
|
180
175
|
}, "打开")
|
|
181
176
|
]),
|
|
182
177
|
_: 1
|
|
@@ -187,18 +182,18 @@ VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0,
|
|
|
187
182
|
]),
|
|
188
183
|
_: 1
|
|
189
184
|
}),
|
|
190
|
-
|
|
185
|
+
l(_, { style: { "margin-bottom": "8px" } }, {
|
|
191
186
|
default: a(() => [
|
|
192
|
-
|
|
187
|
+
l(m, { span: 24 }, {
|
|
193
188
|
default: a(() => [
|
|
194
|
-
|
|
189
|
+
l(c, {
|
|
195
190
|
readOnly: !0,
|
|
196
191
|
addonBefore: "外部详情地址",
|
|
197
192
|
value: n.value.extLink.detail
|
|
198
193
|
}, {
|
|
199
194
|
addonAfter: a(() => [
|
|
200
195
|
r("a", {
|
|
201
|
-
onClick: e[1] || (e[1] = (s) =>
|
|
196
|
+
onClick: e[1] || (e[1] = (s) => I(n.value.extLink.detail))
|
|
202
197
|
}, "打开")
|
|
203
198
|
]),
|
|
204
199
|
_: 1
|
|
@@ -224,31 +219,31 @@ VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0,
|
|
|
224
219
|
]),
|
|
225
220
|
_: 1
|
|
226
221
|
}, 8, ["onRegister"]),
|
|
227
|
-
|
|
228
|
-
visible:
|
|
229
|
-
"onUpdate:visible": e[4] || (e[4] = (s) =>
|
|
222
|
+
l(L(U), D({
|
|
223
|
+
visible: o.visible,
|
|
224
|
+
"onUpdate:visible": e[4] || (e[4] = (s) => o.visible = s)
|
|
230
225
|
}, w.value), {
|
|
231
226
|
footer: a(() => [
|
|
232
227
|
r("a", {
|
|
233
228
|
href: B.value,
|
|
234
229
|
target: "_blank"
|
|
235
230
|
}, [
|
|
236
|
-
|
|
231
|
+
l(T, {
|
|
237
232
|
type: "primary",
|
|
238
|
-
onClick:
|
|
233
|
+
onClick: E
|
|
239
234
|
}, {
|
|
240
|
-
default: a(() => e[7] || (e[7] = [
|
|
241
|
-
g("确定")
|
|
242
|
-
])),
|
|
235
|
+
default: a(() => [...e[7] || (e[7] = [
|
|
236
|
+
g("确定", -1)
|
|
237
|
+
])]),
|
|
243
238
|
_: 1
|
|
244
239
|
})
|
|
245
240
|
], 8, X)
|
|
246
241
|
]),
|
|
247
242
|
default: a(() => [
|
|
248
|
-
|
|
243
|
+
l(c, {
|
|
249
244
|
placeholder: "请输入dataId",
|
|
250
|
-
value:
|
|
251
|
-
"onUpdate:value": e[3] || (e[3] = (s) =>
|
|
245
|
+
value: o.value,
|
|
246
|
+
"onUpdate:value": e[3] || (e[3] = (s) => o.value = s)
|
|
252
247
|
}, null, 8, ["value"])
|
|
253
248
|
]),
|
|
254
249
|
_: 1
|
|
@@ -256,8 +251,7 @@ VALUES ('${z()}', NULL, '${u.copyTitle}', '${u.copyText}', '1', '${t}', NULL, 0,
|
|
|
256
251
|
], 64);
|
|
257
252
|
};
|
|
258
253
|
}
|
|
259
|
-
});
|
|
260
|
-
const _e = /* @__PURE__ */ Q(Z, [["__scopeId", "data-v-066eeacc"]]);
|
|
254
|
+
}), ue = /* @__PURE__ */ Q(Z, [["__scopeId", "data-v-066eeacc"]]);
|
|
261
255
|
export {
|
|
262
|
-
|
|
256
|
+
ue as default
|
|
263
257
|
};
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { defineComponent as k, provide as B, watch as v, resolveComponent as n, createElementBlock as S, openBlock as b, Fragment as I, createElementVNode as q, createVNode as o, normalizeClass as L, withCtx as a, createCommentVNode as y, createTextVNode as l } from "vue";
|
|
2
|
+
import { TableAction as N, BasicTable as V } from "/@/components/Table";
|
|
3
|
+
import { C as O } from "./CgformModal-RH-Tr08S.mjs";
|
|
4
|
+
import $ from "./DbToOnlineModal-CDVqmEJH.mjs";
|
|
5
|
+
import P from "./CustomButtonList-7wjonhtu.mjs";
|
|
6
|
+
import z from "./EnhanceJsModal-Djb5ItH4.mjs";
|
|
7
|
+
import F from "./EnhanceJavaModal-W8_oGY-U.mjs";
|
|
8
|
+
import Q from "./EnhanceSqlModal-DxPdRcQc.mjs";
|
|
9
|
+
import Y from "./AuthManagerDrawer-DUb6QylS.mjs";
|
|
10
|
+
import j from "./AuthSetterModal-BBFdNv1M.mjs";
|
|
11
|
+
import G from "./CgformAddressModal-BVoww1fk.mjs";
|
|
12
|
+
import { C as H, u as K } from "./useCgformList-_o9GP7ca.mjs";
|
|
13
|
+
import { _ as U } from "./index-0kQBIHx0.mjs";
|
|
14
|
+
const W = k({
|
|
15
|
+
name: "CgformCopyList",
|
|
16
|
+
components: {
|
|
17
|
+
BasicTable: V,
|
|
18
|
+
TableAction: N,
|
|
19
|
+
CgformModal: O,
|
|
20
|
+
DbToOnlineModal: $,
|
|
21
|
+
CustomButtonList: P,
|
|
22
|
+
EnhanceJsModal: z,
|
|
23
|
+
EnhanceJavaModal: F,
|
|
24
|
+
EnhanceSqlModal: Q,
|
|
25
|
+
AuthManagerDrawer: Y,
|
|
26
|
+
AuthSetterModal: j,
|
|
27
|
+
CgformAddressModal: G
|
|
28
|
+
},
|
|
29
|
+
setup() {
|
|
30
|
+
const e = H.copy;
|
|
31
|
+
B("cgformPageType", e);
|
|
32
|
+
const {
|
|
33
|
+
router: t,
|
|
34
|
+
pageContext: A,
|
|
35
|
+
getTableAction: w,
|
|
36
|
+
getDropDownAction: E,
|
|
37
|
+
onShowCustomButton: R,
|
|
38
|
+
onShowEnhanceJs: s,
|
|
39
|
+
onShowEnhanceSql: i,
|
|
40
|
+
onShowEnhanceJava: c,
|
|
41
|
+
registerCustomButtonModal: d,
|
|
42
|
+
registerEnhanceJsModal: m,
|
|
43
|
+
registerEnhanceSqlModal: g,
|
|
44
|
+
registerEnhanceJavaModal: p,
|
|
45
|
+
registerAuthManagerDrawer: u,
|
|
46
|
+
registerAuthSetterModal: f,
|
|
47
|
+
registerCgformModal: h,
|
|
48
|
+
registerDbToOnlineModal: M,
|
|
49
|
+
registerAddressModal: C
|
|
50
|
+
} = K({
|
|
51
|
+
pageType: e,
|
|
52
|
+
designScope: "online-cgform-list",
|
|
53
|
+
columns: [
|
|
54
|
+
{ title: "视图表名", dataIndex: "tableName" },
|
|
55
|
+
{ title: "视图表描述", dataIndex: "tableTxt" },
|
|
56
|
+
{ title: "原表版本", dataIndex: "copyVersion" },
|
|
57
|
+
{ title: "视图版本", dataIndex: "tableVersion" }
|
|
58
|
+
],
|
|
59
|
+
formSchemas: [{ label: "表名", field: "tableName", component: "JInput" }]
|
|
60
|
+
}), { prefixCls: r, tableContext: J } = A, [D, { reload: T }, { rowSelection: _ }] = J;
|
|
61
|
+
return v(t.currentRoute, () => T()), {
|
|
62
|
+
prefixCls: r,
|
|
63
|
+
reload: T,
|
|
64
|
+
rowSelection: _,
|
|
65
|
+
getTableAction: w,
|
|
66
|
+
getDropDownAction: E,
|
|
67
|
+
onShowCustomButton: R,
|
|
68
|
+
onShowEnhanceJs: s,
|
|
69
|
+
onShowEnhanceSql: i,
|
|
70
|
+
onShowEnhanceJava: c,
|
|
71
|
+
registerCustomButtonModal: d,
|
|
72
|
+
registerEnhanceJsModal: m,
|
|
73
|
+
registerEnhanceSqlModal: g,
|
|
74
|
+
registerEnhanceJavaModal: p,
|
|
75
|
+
registerAuthManagerDrawer: u,
|
|
76
|
+
registerAuthSetterModal: f,
|
|
77
|
+
registerTable: D,
|
|
78
|
+
registerCgformModal: h,
|
|
79
|
+
registerDbToOnlineModal: M,
|
|
80
|
+
registerAddressModal: C
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
}), X = {
|
|
84
|
+
key: 0,
|
|
85
|
+
style: { color: "limegreen" }
|
|
86
|
+
}, Z = {
|
|
87
|
+
key: 1,
|
|
88
|
+
style: { color: "red" }
|
|
89
|
+
};
|
|
90
|
+
function x(e, t, A, w, E, R) {
|
|
91
|
+
const s = n("a-button"), i = n("TableAction"), c = n("BasicTable"), d = n("CgformModal"), m = n("EnhanceJsModal"), g = n("EnhanceJavaModal"), p = n("EnhanceSqlModal"), u = n("DbToOnlineModal"), f = n("CustomButtonList"), h = n("AuthManagerDrawer"), M = n("AuthSetterModal"), C = n("CgformAddressModal");
|
|
92
|
+
return b(), S(I, null, [
|
|
93
|
+
q("div", {
|
|
94
|
+
class: L(e.prefixCls)
|
|
95
|
+
}, [
|
|
96
|
+
o(c, {
|
|
97
|
+
onRegister: e.registerTable,
|
|
98
|
+
rowSelection: e.rowSelection
|
|
99
|
+
}, {
|
|
100
|
+
tableTitle: a(() => [
|
|
101
|
+
o(s, {
|
|
102
|
+
onClick: e.onShowCustomButton,
|
|
103
|
+
type: "primary",
|
|
104
|
+
preIcon: "ant-design:highlight"
|
|
105
|
+
}, {
|
|
106
|
+
default: a(() => [...t[0] || (t[0] = [
|
|
107
|
+
l("自定义按钮", -1)
|
|
108
|
+
])]),
|
|
109
|
+
_: 1
|
|
110
|
+
}, 8, ["onClick"]),
|
|
111
|
+
o(s, {
|
|
112
|
+
onClick: e.onShowEnhanceJs,
|
|
113
|
+
type: "primary",
|
|
114
|
+
preIcon: "ant-design:strikethrough"
|
|
115
|
+
}, {
|
|
116
|
+
default: a(() => [...t[1] || (t[1] = [
|
|
117
|
+
l("JS增强", -1)
|
|
118
|
+
])]),
|
|
119
|
+
_: 1
|
|
120
|
+
}, 8, ["onClick"]),
|
|
121
|
+
o(s, {
|
|
122
|
+
onClick: e.onShowEnhanceSql,
|
|
123
|
+
type: "primary",
|
|
124
|
+
preIcon: "ant-design:filter"
|
|
125
|
+
}, {
|
|
126
|
+
default: a(() => [...t[2] || (t[2] = [
|
|
127
|
+
l("SQL增强", -1)
|
|
128
|
+
])]),
|
|
129
|
+
_: 1
|
|
130
|
+
}, 8, ["onClick"]),
|
|
131
|
+
o(s, {
|
|
132
|
+
onClick: e.onShowEnhanceJava,
|
|
133
|
+
type: "primary",
|
|
134
|
+
preIcon: "ant-design:tool"
|
|
135
|
+
}, {
|
|
136
|
+
default: a(() => [...t[3] || (t[3] = [
|
|
137
|
+
l("Java增强", -1)
|
|
138
|
+
])]),
|
|
139
|
+
_: 1
|
|
140
|
+
}, 8, ["onClick"])
|
|
141
|
+
]),
|
|
142
|
+
dbSync: a(({ text: r }) => [
|
|
143
|
+
r === "Y" ? (b(), S("span", X, "已同步")) : y("", !0),
|
|
144
|
+
r === "N" ? (b(), S("span", Z, "未同步")) : y("", !0)
|
|
145
|
+
]),
|
|
146
|
+
action: a(({ record: r }) => [
|
|
147
|
+
o(i, {
|
|
148
|
+
actions: e.getTableAction(r),
|
|
149
|
+
dropDownActions: e.getDropDownAction(r)
|
|
150
|
+
}, null, 8, ["actions", "dropDownActions"])
|
|
151
|
+
]),
|
|
152
|
+
_: 1
|
|
153
|
+
}, 8, ["onRegister", "rowSelection"])
|
|
154
|
+
], 2),
|
|
155
|
+
o(d, {
|
|
156
|
+
onRegister: e.registerCgformModal,
|
|
157
|
+
actionButton: !1,
|
|
158
|
+
onSuccess: e.reload
|
|
159
|
+
}, null, 8, ["onRegister", "onSuccess"]),
|
|
160
|
+
o(m, { onRegister: e.registerEnhanceJsModal }, null, 8, ["onRegister"]),
|
|
161
|
+
o(g, { onRegister: e.registerEnhanceJavaModal }, null, 8, ["onRegister"]),
|
|
162
|
+
o(p, { onRegister: e.registerEnhanceSqlModal }, null, 8, ["onRegister"]),
|
|
163
|
+
o(u, {
|
|
164
|
+
onRegister: e.registerDbToOnlineModal,
|
|
165
|
+
onSuccess: e.reload
|
|
166
|
+
}, null, 8, ["onRegister", "onSuccess"]),
|
|
167
|
+
o(f, { onRegister: e.registerCustomButtonModal }, null, 8, ["onRegister"]),
|
|
168
|
+
o(h, { onRegister: e.registerAuthManagerDrawer }, null, 8, ["onRegister"]),
|
|
169
|
+
o(M, { onRegister: e.registerAuthSetterModal }, null, 8, ["onRegister"]),
|
|
170
|
+
o(C, { onRegister: e.registerAddressModal }, null, 8, ["onRegister"])
|
|
171
|
+
], 64);
|
|
172
|
+
}
|
|
173
|
+
const pe = /* @__PURE__ */ U(W, [["render", x]]);
|
|
174
|
+
export {
|
|
175
|
+
pe as default
|
|
176
|
+
};
|