@jeecg/online 3.9.0-beta2 → 3.9.1-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-634a76b1.mjs → AccountLoginForm-BQNZnal-.mjs} +50 -53
- package/{AiModal-204a2146.mjs → AiModal-Dj6smA0D.mjs} +18 -20
- package/{AppForgetPassword-f9a6258a.mjs → AppForgetPassword-DETh8QGQ.mjs} +59 -63
- package/AppLogin-Core4rl7.mjs +272 -0
- package/AppLoginHeader-DkMH3nDB.mjs +23 -0
- package/{AppNameEmail-54026ea8.mjs → AppNameEmail-DZeWwYlf.mjs} +20 -24
- package/{AppRegister-043efc45.mjs → AppRegister-DpQVSbzm.mjs} +33 -37
- package/{AppTenant-c7bb8700.mjs → AppTenant-BV1ztSwV.mjs} +49 -55
- package/AppThirdForm-C6uV5Gzd.mjs +185 -0
- package/AuthButtonConfig-CpQ38BcP.mjs +155 -0
- package/AuthButtonTree-CQIeTMAV.mjs +159 -0
- package/{AuthDataConfig-3cd10ca2.mjs → AuthDataConfig-C63dpxCs.mjs} +57 -62
- package/AuthDataTree-CTip8ZtW.mjs +134 -0
- package/{AuthFieldConfig-bb65f78b.mjs → AuthFieldConfig-CRGCjoXB.mjs} +95 -101
- package/{AuthFieldTree-3e38b12b.mjs → AuthFieldTree-Bpj9QUm6.mjs} +94 -99
- package/AuthManagerDrawer-Du8Hr9bQ.mjs +108 -0
- package/{AuthSetterModal-f176c221.mjs → AuthSetterModal-BJzwhsZn.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-a3903b24.mjs → CgformAddressModal-DOcieUw2.mjs} +57 -63
- package/CgformCopyList-BanghzBW.mjs +176 -0
- package/{CgformModal-115710a6.mjs → CgformModal-xktwfaX1.mjs} +240 -241
- package/{CgreportAigcModal-3bef8abe.mjs → CgreportAigcModal-g925RtBH.mjs} +35 -38
- package/{CgreportModal-0cc48587.mjs → CgreportModal-GXyoH79T.mjs} +49 -50
- package/{CheckDictTable-65157c48.mjs → CheckDictTable-DUdNJrAx.mjs} +44 -52
- package/{CodeFileListModal-305c1a62.mjs → CodeFileListModal-CFDK1gP9.mjs} +32 -36
- package/{CodeFileViewModal-320d7acf.mjs → CodeFileViewModal-uGoHy1QM.mjs} +78 -81
- package/CodeGeneratorModal-viKXvb1o.mjs +291 -0
- package/{CustomButtonList-98db8fd2.mjs → CustomButtonList-BBihaOG7.mjs} +82 -85
- package/{DBAttributeTable-56701599.mjs → DBAttributeTable-BqVDPbcC.mjs} +50 -60
- package/{DbToOnlineModal-a82cdeb5.mjs → DbToOnlineModal-BFIu1ZAg.mjs} +43 -45
- package/DetailForm-Gp8NeqBh.mjs +472 -0
- package/{DropMenuItem-b3a9cd6a.mjs → DropMenuItem-DVbpiw9y.mjs} +8 -11
- package/EnhanceJavaModal-DhDf7GhT.mjs +255 -0
- package/{EnhanceJsHistory-bb6ba865.mjs → EnhanceJsHistory-De17P14L.mjs} +48 -49
- package/{EnhanceJsModal-b0527cbf.mjs → EnhanceJsModal-BPBW520t.mjs} +95 -104
- package/EnhanceSqlModal-D3bXi6z4.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-Be-gEamS.mjs +102 -0
- package/{FieldExtendJsonModal-536e6d5b.mjs → FieldExtendJsonModal-C9MvnALf.mjs} +27 -30
- package/{FileSelectModal-eb026170.mjs → FileSelectModal-DynYW6cD.mjs} +27 -31
- package/{ForeignKeyTable-97a5827f.mjs → ForeignKeyTable-CkyhWTGf.mjs} +17 -25
- package/{IndexTable-4d350e4e.mjs → IndexTable-C_17s8Lj.mjs} +9 -17
- package/JModalTip-VeUmOvUx.mjs +46 -0
- package/{JOnlineSearchSelect-ffeac61d.mjs → JOnlineSearchSelect-Dqht_jA7.mjs} +21 -23
- package/{LeftDepart-a727aab7.mjs → LeftDepart-TEh4ybua.mjs} +8 -11
- package/{LeftRole-b533dcf6.mjs → LeftRole-DhQUYRZN.mjs} +16 -19
- package/{LeftUser-aaac52cb.mjs → LeftUser-CzR0qnp5.mjs} +7 -10
- package/{LinkTableConfigModal-4053b62d.mjs → LinkTableConfigModal-5WVlPPIx.mjs} +38 -40
- package/{LinkTableFieldConfigModal-93552099.mjs → LinkTableFieldConfigModal-ZG9xTFfN.mjs} +50 -52
- package/LinkTableListPiece-DrNSark7.mjs +31 -0
- package/{ModalFormDemo-b8478356.mjs → ModalFormDemo-7uSpoHXT.mjs} +13 -16
- package/{OnlCgformErpList-b0605798.mjs → OnlCgformErpList-zAxYY8ts.mjs} +139 -199
- package/OnlCgformErpSubTable-HAaY8yX0.mjs +382 -0
- package/OnlCgformInnerSubTable-DQbA0oPy.mjs +213 -0
- package/OnlCgformInnerTableList-BMA9YKHb.mjs +421 -0
- package/OnlCgformTabList-BSd0KkxQ.mjs +371 -0
- package/OnlineAutoList-CoUnzGtI.mjs +500 -0
- package/OnlineAutoModal-B5XvLBiD.mjs +222 -0
- package/{OnlineAutoTreeList-624106c1.mjs → OnlineAutoTreeList-umZhoErd.mjs} +124 -181
- package/OnlineCustomModal-DDbFQrQY.mjs +209 -0
- package/OnlineDetailModal-DrOui3kM.mjs +160 -0
- package/{OnlineForm-86b5966d.mjs → OnlineForm-XYVwvG5y.mjs} +47 -73
- package/OnlineFormDetail-B_zriMe5.mjs +321 -0
- package/OnlineFormUrlAdd-D_NQnALZ.mjs +86 -0
- package/OnlineFormUrlDetail-Dq0L-5DU.mjs +85 -0
- package/OnlineFormUrlEdit-D5KWDhC9.mjs +84 -0
- package/{OnlineFormUrlSuccess-0c2431a4.mjs → OnlineFormUrlSuccess-S-ko5YNj.mjs} +27 -30
- package/{OnlineQueryForm-3017a4ca.mjs → OnlineQueryForm-DEZu3hUq.mjs} +139 -167
- package/{OnlineSearchFormItem-1b54585f.mjs → OnlineSearchFormItem-D9rUfuZo.mjs} +112 -118
- package/{OnlineSelectCascade-fab4426d.mjs → OnlineSelectCascade-BWTVAfOS.mjs} +31 -33
- package/OnlineSubFormDetail-BQCmvSrP.mjs +109 -0
- package/OnlineTabAutoModal-Cz0UIpcl.mjs +285 -0
- package/OnlineTabDetailModal-DXtO4NSY.mjs +187 -0
- package/{OnlineTabForm-5c04cbc5.mjs → OnlineTabForm-CtoX9jVn.mjs} +228 -253
- package/OnlineTabFormDetail-BZzXzM64.mjs +299 -0
- package/{PageAttributeTable-18aabf81.mjs → PageAttributeTable-8udeqqVG.mjs} +46 -59
- package/{PhoneLoginForm-4a9d7869.mjs → PhoneLoginForm-BZXf1qlC.mjs} +40 -43
- package/ProcessOnlineForm-B5PeLMHK.mjs +182 -0
- package/{QueryTable-342fd89a.mjs → QueryTable-ChFnaZj3.mjs} +23 -31
- package/SetSwitchOptions-CVRgZH8g.mjs +58 -0
- package/ShareAddView-Bje0Nb4M.mjs +11 -0
- package/ShareEditView-CLs8Cg0I.mjs +17 -0
- package/ShareView-BazttKrG.mjs +4 -0
- package/{ShareView.vue_vue_type_script_setup_true_lang-9ea579c2.mjs → ShareView.vue_vue_type_script_setup_true_lang-B2o9S6nG.mjs} +21 -21
- package/SingleView-DfwENTBN.mjs +4 -0
- package/{SingleView.vue_vue_type_style_index_0_lang-24d417dc.mjs → SingleView.vue_vue_type_style_index_0_lang-C0TAVO6d.mjs} +27 -27
- package/{SuperQuery-270b0968.mjs → SuperQuery-D-nFsX69.mjs} +342 -370
- package/SuperQueryValComponent-UO10kRg5.mjs +4 -0
- package/TaskOpinionList-eOcI0in3.mjs +10 -0
- package/{aiModal-e7362c3f.mjs → aiModal-CbxEF4yF.mjs} +33 -36
- package/{enhance.data-6601ff44.mjs → enhance.data-DRCzy5Bx.mjs} +5 -5
- package/{index-e2c3e6f3.mjs → index-BZY_jOoG.mjs} +474 -608
- package/{index-6d1a78e2.mjs → index-BnYLB1_h.mjs} +32 -36
- package/{index-b5fe9bd4.mjs → index-CY2fowrc.mjs} +17 -20
- package/{index-b811abb9.mjs → index-CfxrjmZ5.mjs} +35 -38
- package/{index-d95bb7c2.mjs → index-ClcEPtNS.mjs} +32 -44
- package/index-DyY6izsu.mjs +195 -0
- package/{index-19eaef11.mjs → index-dmWvLQET.mjs} +2 -2
- package/index-oWamYvLb.mjs +56 -0
- package/main.index.js +6 -9
- package/online.css +1 -0
- package/package.json +1 -1
- package/{useCgformList-6d5547ff.mjs → useCgformList-23f3R71E.mjs} +3 -3
- package/useExtendComponent-D3N4jqMD.mjs +4479 -0
- package/{useListButton-73071548.mjs → useListButton-BaTZwDMS.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-bf783eab.mjs +0 -287
- package/AppLoginHeader-55594326.mjs +0 -27
- package/AppThirdForm-5e7e1144.mjs +0 -189
- package/AuthButtonConfig-4887be0d.mjs +0 -160
- package/AuthButtonTree-7e47b44b.mjs +0 -165
- package/AuthDataTree-714c259c.mjs +0 -139
- package/AuthManagerDrawer-dee39b07.mjs +0 -119
- package/BuiltInButtonList-bb6cf95c.mjs +0 -10
- package/CgformCopyList-4be1000f.mjs +0 -259
- package/CodeGeneratorModal-2ba18bd1.mjs +0 -298
- package/DetailForm-7d4f630e.mjs +0 -497
- package/EnhanceJavaModal-469e645e.mjs +0 -264
- package/EnhanceSqlModal-c6e8bce1.mjs +0 -268
- package/ErrorTip-bb616e32.mjs +0 -7
- package/ExtendConfigModal-7b00b49a.mjs +0 -117
- package/JModalTip-c3e6726c.mjs +0 -49
- package/LinkTableListPiece-0f4ca559.mjs +0 -34
- package/OnlCgformErpSubTable-89699bc9.mjs +0 -443
- package/OnlCgformInnerSubTable-f2722f77.mjs +0 -269
- package/OnlCgformInnerTableList-992aa7e9.mjs +0 -481
- package/OnlCgformTabList-882a0e0c.mjs +0 -431
- package/OnlineAutoList-caedb54a.mjs +0 -558
- package/OnlineAutoModal-a0d1a6b8.mjs +0 -260
- package/OnlineCustomModal-f4e17bed.mjs +0 -246
- package/OnlineDetailModal-35394778.mjs +0 -198
- package/OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs +0 -1
- package/OnlineFormDetail-4b3ad130.mjs +0 -349
- package/OnlineFormUrlAdd-708c91fb.mjs +0 -116
- package/OnlineFormUrlDetail-5c8efaeb.mjs +0 -121
- package/OnlineFormUrlEdit-8f08474e.mjs +0 -114
- package/OnlineSubFormDetail-bbc48c3e.mjs +0 -147
- package/OnlineTabAutoModal-b0f9fce8.mjs +0 -319
- package/OnlineTabDetailModal-401a26ad.mjs +0 -226
- package/OnlineTabFormDetail-2a28febf.mjs +0 -328
- package/ProcessOnlineForm-0ddce4fb.mjs +0 -218
- package/SetSwitchOptions-e1d5a6b4.mjs +0 -62
- package/ShareAddView-a5154da3.mjs +0 -88
- package/ShareEditView-cf761cf3.mjs +0 -94
- package/ShareView-3b2f5457.mjs +0 -82
- package/SingleView-3cab20a9.mjs +0 -70
- package/SuperQueryValComponent-5a9ccfd4.mjs +0 -8
- package/TaskOpinionList-60cf4080.mjs +0 -13
- package/index-740b2c4a.mjs +0 -57
- package/index-8fd12d0f.mjs +0 -219
- package/style.css +0 -1
- package/useExtendComponent-95ce0719.mjs +0 -4460
- /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,43 +1,40 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useGlobSetting as
|
|
3
|
-
import { propTypes as
|
|
4
|
-
import { Layout as
|
|
1
|
+
import { defineComponent as H, computed as C, unref as n, ref as w, onMounted as _, toRaw as D, resolveComponent as i, createElementBlock as S, openBlock as L, Fragment as I, createVNode as l, createCommentVNode as M, normalizeClass as r, withCtx as b, createElementVNode as f, normalizeStyle as v, toDisplayString as $ } from "vue";
|
|
2
|
+
import { useGlobSetting as A } from "/@/hooks/setting";
|
|
3
|
+
import { propTypes as T } from "/@/utils/propTypes";
|
|
4
|
+
import { Layout as x } from "ant-design-vue";
|
|
5
5
|
import { AppLogo as F } from "/@/components/Application";
|
|
6
6
|
import { useHeaderSetting as U } from "/@/hooks/setting/useHeaderSetting";
|
|
7
7
|
import { useMenuSetting as k } from "/@/hooks/setting/useMenuSetting";
|
|
8
|
-
import {
|
|
8
|
+
import { FullScreen as B, LayoutBreadcrumb as N } from "/@/layouts/default/header/components";
|
|
9
9
|
import { createAsyncComponent as R } from "/@/utils/factory/createAsyncComponent";
|
|
10
10
|
import { useAppInject as V } from "/@/hooks/web/useAppInject";
|
|
11
11
|
import { useDesign as W } from "/@/hooks/web/useDesign";
|
|
12
12
|
import z from "/@/views/sys/login/LoginSelect.vue";
|
|
13
13
|
import { useUserStore as E } from "/@/store/modules/user";
|
|
14
14
|
import { useI18n as j } from "/@/hooks/web/useI18n";
|
|
15
|
-
import { _ as G } from "./index-
|
|
16
|
-
import
|
|
17
|
-
import "/@/hooks/web/useMessage";
|
|
18
|
-
import "vue-router";
|
|
19
|
-
const q = R(() => import("./index-b811abb9.mjs"), {
|
|
15
|
+
import { _ as G } from "./index-oWamYvLb.mjs";
|
|
16
|
+
const q = R(() => import("./index-CfxrjmZ5.mjs"), {
|
|
20
17
|
loading: !0
|
|
21
|
-
}), { t: J } = j(), K =
|
|
18
|
+
}), { t: J } = j(), K = H({
|
|
22
19
|
name: "LayoutHeader",
|
|
23
20
|
components: {
|
|
24
|
-
Header:
|
|
21
|
+
Header: x.Header,
|
|
25
22
|
AppLogo: F,
|
|
26
|
-
LayoutBreadcrumb:
|
|
23
|
+
LayoutBreadcrumb: N,
|
|
27
24
|
UserDropDown: q,
|
|
28
|
-
FullScreen:
|
|
25
|
+
FullScreen: B,
|
|
29
26
|
LoginSelect: z
|
|
30
27
|
},
|
|
31
28
|
props: {
|
|
32
|
-
fixed:
|
|
29
|
+
fixed: T.bool
|
|
33
30
|
},
|
|
34
31
|
setup(e) {
|
|
35
|
-
const { prefixCls: o } = W("layout-header"),
|
|
32
|
+
const { prefixCls: o } = W("layout-header"), u = E(), {
|
|
36
33
|
getIsMixMode: g,
|
|
37
34
|
getMenuWidth: a
|
|
38
|
-
} = k(), { title: h } =
|
|
35
|
+
} = k(), { title: h } = A(), {
|
|
39
36
|
getHeaderTheme: m
|
|
40
|
-
} = U(), { getIsMobile: s } = V(), c =
|
|
37
|
+
} = U(), { getIsMobile: s } = V(), c = C(() => {
|
|
41
38
|
const t = n(m);
|
|
42
39
|
return [
|
|
43
40
|
o,
|
|
@@ -47,13 +44,13 @@ const q = R(() => import("./index-b811abb9.mjs"), {
|
|
|
47
44
|
[`${o}--${t}`]: t
|
|
48
45
|
}
|
|
49
46
|
];
|
|
50
|
-
}), d =
|
|
51
|
-
function
|
|
52
|
-
const t = D(
|
|
47
|
+
}), d = C(() => !n(g) || n(s) ? {} : { width: `${n(a) < 180 ? 180 : n(a)}px` }), p = w();
|
|
48
|
+
function y() {
|
|
49
|
+
const t = D(u.getLoginInfo) || {};
|
|
53
50
|
t.isLogin && p.value.show(t);
|
|
54
51
|
}
|
|
55
|
-
return
|
|
56
|
-
|
|
52
|
+
return _(() => {
|
|
53
|
+
y();
|
|
57
54
|
}), {
|
|
58
55
|
t: J,
|
|
59
56
|
title: h,
|
|
@@ -65,31 +62,30 @@ const q = R(() => import("./index-b811abb9.mjs"), {
|
|
|
65
62
|
getLogoWidth: d
|
|
66
63
|
};
|
|
67
64
|
}
|
|
68
|
-
})
|
|
69
|
-
const O = {
|
|
65
|
+
}), O = {
|
|
70
66
|
key: 0,
|
|
71
67
|
style: { height: "60px" }
|
|
72
68
|
};
|
|
73
|
-
function P(e, o,
|
|
69
|
+
function P(e, o, u, g, a, h) {
|
|
74
70
|
const m = i("AppLogo"), s = i("FullScreen"), c = i("UserDropDown"), d = i("Header"), p = i("LoginSelect");
|
|
75
|
-
return
|
|
71
|
+
return L(), S(I, null, [
|
|
76
72
|
l(d, {
|
|
77
73
|
class: r(e.getHeaderClass)
|
|
78
74
|
}, {
|
|
79
|
-
default:
|
|
80
|
-
|
|
75
|
+
default: b(() => [
|
|
76
|
+
f("div", {
|
|
81
77
|
class: r(`${e.prefixCls}-left`)
|
|
82
78
|
}, [
|
|
83
79
|
l(m, {
|
|
84
80
|
class: r(`${e.prefixCls}-logo`),
|
|
85
81
|
theme: e.getHeaderTheme,
|
|
86
|
-
style:
|
|
82
|
+
style: v(e.getLogoWidth)
|
|
87
83
|
}, null, 8, ["class", "theme", "style"]),
|
|
88
|
-
|
|
84
|
+
f("span", {
|
|
89
85
|
class: r([e.prefixCls, `${e.prefixCls}--${e.getHeaderTheme}`, "headerIntroductionClass"])
|
|
90
|
-
},
|
|
86
|
+
}, $(e.t("layout.header.welcomeIn")) + " " + $(e.title), 3)
|
|
91
87
|
], 2),
|
|
92
|
-
|
|
88
|
+
f("div", {
|
|
93
89
|
class: r(`${e.prefixCls}-action`)
|
|
94
90
|
}, [
|
|
95
91
|
l(s, {
|
|
@@ -101,10 +97,10 @@ function P(e, o, f, g, a, h) {
|
|
|
101
97
|
_: 1
|
|
102
98
|
}, 8, ["class"]),
|
|
103
99
|
l(p, { ref: "loginSelectRef" }, null, 512),
|
|
104
|
-
e.fixed ? (
|
|
100
|
+
e.fixed ? (L(), S("div", O)) : M("", !0)
|
|
105
101
|
], 64);
|
|
106
102
|
}
|
|
107
|
-
const
|
|
103
|
+
const ce = /* @__PURE__ */ G(K, [["render", P]]);
|
|
108
104
|
export {
|
|
109
|
-
|
|
105
|
+
ce as default
|
|
110
106
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var p = (e, o, t) => new Promise((i, r) => {
|
|
2
2
|
var m = (n) => {
|
|
3
3
|
try {
|
|
4
4
|
s(t.next(n));
|
|
@@ -14,19 +14,16 @@ var u = (e, o, t) => new Promise((i, r) => {
|
|
|
14
14
|
}, s = (n) => n.done ? i(n.value) : Promise.resolve(n.value).then(m, g);
|
|
15
15
|
s((t = t.apply(e, o)).next());
|
|
16
16
|
});
|
|
17
|
-
import { ref as a, computed as d, unref as
|
|
18
|
-
import { useDesign as
|
|
19
|
-
import { useRootSetting as
|
|
17
|
+
import { ref as a, computed as d, unref as u, defineComponent as f, resolveComponent as l, resolveDirective as h, withDirectives as w, createElementBlock as C, openBlock as H, normalizeClass as _, createVNode as v } from "vue";
|
|
18
|
+
import { useDesign as L } from "/@/hooks/web/useDesign";
|
|
19
|
+
import { useRootSetting as y } from "/@/hooks/setting/useRootSetting";
|
|
20
20
|
import { useTransitionSetting as P } from "/@/hooks/setting/useTransitionSetting";
|
|
21
21
|
import { createPageContext as R } from "/@/hooks/component/usePageContext";
|
|
22
22
|
import { useWindowSizeFn as V } from "/@/hooks/event/useWindowSizeFn";
|
|
23
|
-
import { _ as
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const $ = a(0), D = a(0);
|
|
28
|
-
function S() {
|
|
29
|
-
const e = a(window.innerHeight), o = a(window.innerHeight), t = d(() => p(e) - p($) - p(D) || 0);
|
|
23
|
+
import { _ as $ } from "./index-oWamYvLb.mjs";
|
|
24
|
+
const D = a(0), S = a(0);
|
|
25
|
+
function k() {
|
|
26
|
+
const e = a(window.innerHeight), o = a(window.innerHeight), t = d(() => u(e) - u(D) - u(S) || 0);
|
|
30
27
|
V(
|
|
31
28
|
() => {
|
|
32
29
|
e.value = window.innerHeight;
|
|
@@ -35,7 +32,7 @@ function S() {
|
|
|
35
32
|
{ immediate: !0 }
|
|
36
33
|
);
|
|
37
34
|
function i(r) {
|
|
38
|
-
return
|
|
35
|
+
return p(this, null, function* () {
|
|
39
36
|
o.value = r;
|
|
40
37
|
});
|
|
41
38
|
}
|
|
@@ -45,12 +42,12 @@ function S() {
|
|
|
45
42
|
pageHeight: o
|
|
46
43
|
});
|
|
47
44
|
}
|
|
48
|
-
const
|
|
45
|
+
const x = f({
|
|
49
46
|
name: "LayoutContent",
|
|
50
47
|
components: {},
|
|
51
48
|
setup() {
|
|
52
|
-
const { prefixCls: e } =
|
|
53
|
-
return
|
|
49
|
+
const { prefixCls: e } = L("layout-content"), { getOpenPageLoading: o } = P(), { getLayoutContentMode: t, getPageLoading: i } = y();
|
|
50
|
+
return k(), {
|
|
54
51
|
prefixCls: e,
|
|
55
52
|
getOpenPageLoading: o,
|
|
56
53
|
getLayoutContentMode: t,
|
|
@@ -59,16 +56,16 @@ const k = f({
|
|
|
59
56
|
}
|
|
60
57
|
});
|
|
61
58
|
function z(e, o, t, i, r, m) {
|
|
62
|
-
const g = l("RouterView"), s =
|
|
63
|
-
return
|
|
64
|
-
class:
|
|
59
|
+
const g = l("RouterView"), s = h("loading");
|
|
60
|
+
return w((H(), C("div", {
|
|
61
|
+
class: _([e.prefixCls, e.getLayoutContentMode])
|
|
65
62
|
}, [
|
|
66
63
|
v(g)
|
|
67
64
|
], 2)), [
|
|
68
65
|
[s, e.getOpenPageLoading && e.getPageLoading]
|
|
69
66
|
]);
|
|
70
67
|
}
|
|
71
|
-
const
|
|
68
|
+
const b = /* @__PURE__ */ $(x, [["render", z]]);
|
|
72
69
|
export {
|
|
73
|
-
|
|
70
|
+
b as default
|
|
74
71
|
};
|
|
@@ -1,59 +1,57 @@
|
|
|
1
|
-
var C = (e, s,
|
|
2
|
-
var c = (
|
|
1
|
+
var C = (e, s, t) => new Promise((a, l) => {
|
|
2
|
+
var c = (r) => {
|
|
3
3
|
try {
|
|
4
|
-
n(
|
|
4
|
+
n(t.next(r));
|
|
5
5
|
} catch (o) {
|
|
6
|
-
|
|
6
|
+
l(o);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, i = (r) => {
|
|
9
9
|
try {
|
|
10
|
-
n(
|
|
10
|
+
n(t.throw(r));
|
|
11
11
|
} catch (o) {
|
|
12
|
-
|
|
12
|
+
l(o);
|
|
13
13
|
}
|
|
14
|
-
}, n = (
|
|
15
|
-
n((
|
|
14
|
+
}, n = (r) => r.done ? a(r.value) : Promise.resolve(r.value).then(c, i);
|
|
15
|
+
n((t = t.apply(e, s)).next());
|
|
16
16
|
});
|
|
17
|
-
import {
|
|
18
|
-
import { defineComponent as I, computed as
|
|
17
|
+
import { Menu as g, Dropdown as D } from "ant-design-vue";
|
|
18
|
+
import { defineComponent as I, computed as y, resolveComponent as f, createBlock as k, openBlock as M, withCtx as d, createElementVNode as p, normalizeClass as u, toDisplayString as A, createVNode as h } from "vue";
|
|
19
19
|
import { useUserStore as $ } from "/@/store/modules/user";
|
|
20
20
|
import { useHeaderSetting as U } from "/@/hooks/setting/useHeaderSetting";
|
|
21
|
-
import { useI18n as
|
|
22
|
-
import { useDesign as
|
|
21
|
+
import { useI18n as L } from "/@/hooks/web/useI18n";
|
|
22
|
+
import { useDesign as x } from "/@/hooks/web/useDesign";
|
|
23
23
|
import { useMessage as N } from "/@/hooks/web/useMessage";
|
|
24
|
-
import
|
|
24
|
+
import _ from "/@/assets/images/header.jpg";
|
|
25
25
|
import { propTypes as b } from "/@/utils/propTypes";
|
|
26
26
|
import { createAsyncComponent as O } from "/@/utils/factory/createAsyncComponent";
|
|
27
27
|
import { refreshCache as S, queryAllDictItems as B } from "/@/views/system/dict/dict.api";
|
|
28
28
|
import { DB_DICT_DATA_KEY as v } from "/@/enums/cacheEnum";
|
|
29
29
|
import { removeAuthCache as K, setAuthCache as T } from "/@/utils/auth";
|
|
30
30
|
import { getFileAccessHttpUrl as E } from "/@/utils/common/compUtils";
|
|
31
|
-
import { _ as F } from "./index-
|
|
32
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
33
|
-
import "vue-router";
|
|
31
|
+
import { _ as F } from "./index-oWamYvLb.mjs";
|
|
34
32
|
const { createMessage: w } = N(), H = I({
|
|
35
33
|
name: "UserDropdown",
|
|
36
34
|
components: {
|
|
37
35
|
Dropdown: D,
|
|
38
36
|
Menu: g,
|
|
39
|
-
MenuItem: O(() => import("./DropMenuItem-
|
|
37
|
+
MenuItem: O(() => import("./DropMenuItem-DVbpiw9y.mjs")),
|
|
40
38
|
MenuDivider: g.Divider
|
|
41
39
|
},
|
|
42
40
|
props: {
|
|
43
41
|
theme: b.oneOf(["dark", "light"])
|
|
44
42
|
},
|
|
45
43
|
setup() {
|
|
46
|
-
const { prefixCls: e } =
|
|
44
|
+
const { prefixCls: e } = x("header-user-dropdown"), { t: s } = L(), { getUseLockPage: t } = U(), a = $(), l = y(() => {
|
|
47
45
|
const { realname: o = "NoLogin", avatar: m } = a.getUserInfo || {};
|
|
48
46
|
return {
|
|
49
47
|
realname: o,
|
|
50
|
-
avatar: m ||
|
|
48
|
+
avatar: m || _
|
|
51
49
|
};
|
|
52
|
-
}), c =
|
|
53
|
-
let { avatar: o } =
|
|
54
|
-
return o ==
|
|
50
|
+
}), c = y(() => {
|
|
51
|
+
let { avatar: o } = l.value;
|
|
52
|
+
return o == _ ? o : E(o);
|
|
55
53
|
});
|
|
56
|
-
function
|
|
54
|
+
function i() {
|
|
57
55
|
a.confirmLoginOut();
|
|
58
56
|
}
|
|
59
57
|
function n() {
|
|
@@ -65,10 +63,10 @@ const { createMessage: w } = N(), H = I({
|
|
|
65
63
|
w.error(s("layout.header.refreshCacheFailure"));
|
|
66
64
|
});
|
|
67
65
|
}
|
|
68
|
-
function
|
|
66
|
+
function r(o) {
|
|
69
67
|
switch (o.key) {
|
|
70
68
|
case "logout":
|
|
71
|
-
|
|
69
|
+
i();
|
|
72
70
|
break;
|
|
73
71
|
case "cache":
|
|
74
72
|
n();
|
|
@@ -78,29 +76,28 @@ const { createMessage: w } = N(), H = I({
|
|
|
78
76
|
return {
|
|
79
77
|
prefixCls: e,
|
|
80
78
|
t: s,
|
|
81
|
-
getUserInfo:
|
|
79
|
+
getUserInfo: l,
|
|
82
80
|
getAvatarUrl: c,
|
|
83
|
-
handleMenuClick:
|
|
84
|
-
getUseLockPage:
|
|
81
|
+
handleMenuClick: r,
|
|
82
|
+
getUseLockPage: t
|
|
85
83
|
};
|
|
86
84
|
}
|
|
87
|
-
});
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
return k(), M(t, {
|
|
85
|
+
}), V = ["src"];
|
|
86
|
+
function q(e, s, t, a, l, c) {
|
|
87
|
+
const i = f("MenuItem"), n = f("Menu"), r = f("Dropdown");
|
|
88
|
+
return M(), k(r, {
|
|
92
89
|
placement: "bottomLeft",
|
|
93
90
|
overlayClassName: `${e.prefixCls}-dropdown-overlay`
|
|
94
91
|
}, {
|
|
95
92
|
overlay: d(() => [
|
|
96
93
|
h(n, { onClick: e.handleMenuClick }, {
|
|
97
94
|
default: d(() => [
|
|
98
|
-
h(
|
|
95
|
+
h(i, {
|
|
99
96
|
itemKey: "cache",
|
|
100
97
|
text: e.t("layout.header.dropdownItemRefreshCache"),
|
|
101
98
|
icon: "ion:sync-outline"
|
|
102
99
|
}, null, 8, ["text"]),
|
|
103
|
-
h(
|
|
100
|
+
h(i, {
|
|
104
101
|
itemKey: "logout",
|
|
105
102
|
text: e.t("layout.header.dropdownItemLoginOut"),
|
|
106
103
|
icon: "ion:power-outline"
|
|
@@ -129,7 +126,7 @@ function q(e, s, r, a, i, c) {
|
|
|
129
126
|
_: 1
|
|
130
127
|
}, 8, ["overlayClassName"]);
|
|
131
128
|
}
|
|
132
|
-
const
|
|
129
|
+
const se = /* @__PURE__ */ F(H, [["render", q]]);
|
|
133
130
|
export {
|
|
134
|
-
|
|
131
|
+
se as default
|
|
135
132
|
};
|
|
@@ -1,45 +1,33 @@
|
|
|
1
|
-
var L = (x, b,
|
|
1
|
+
var L = (x, b, u) => new Promise((h, p) => {
|
|
2
2
|
var U = (a) => {
|
|
3
3
|
try {
|
|
4
|
-
i(
|
|
5
|
-
} catch (
|
|
6
|
-
|
|
4
|
+
i(u.next(a));
|
|
5
|
+
} catch (d) {
|
|
6
|
+
p(d);
|
|
7
7
|
}
|
|
8
8
|
}, w = (a) => {
|
|
9
9
|
try {
|
|
10
|
-
i(
|
|
11
|
-
} catch (
|
|
12
|
-
|
|
10
|
+
i(u.throw(a));
|
|
11
|
+
} catch (d) {
|
|
12
|
+
p(d);
|
|
13
13
|
}
|
|
14
14
|
}, i = (a) => a.done ? h(a.value) : Promise.resolve(a.value).then(U, w);
|
|
15
|
-
i((
|
|
15
|
+
i((u = u.apply(x, b)).next());
|
|
16
16
|
});
|
|
17
|
-
import { defineComponent as G, resolveComponent as
|
|
17
|
+
import { defineComponent as G, resolveComponent as m, createElementBlock as K, openBlock as S, createVNode as r, unref as c, mergeProps as Q, withCtx as l, createBlock as H, createCommentVNode as j, createTextVNode as _ } from "vue";
|
|
18
18
|
import { BasicTable as z, TableAction as J } from "/@/components/Table";
|
|
19
19
|
import { useListPage as W } from "/@/hooks/system/useListPage";
|
|
20
|
-
import {
|
|
20
|
+
import { s as X, c as Y, l as Z, C as ee, b as te, g as oe, d as ne } from "./CgreportModal-GXyoH79T.mjs";
|
|
21
21
|
import { useModal as N } from "/@/components/Modal";
|
|
22
|
-
import re from "./CgreportAigcModal-
|
|
22
|
+
import re from "./CgreportAigcModal-g925RtBH.mjs";
|
|
23
23
|
import R from "clipboard";
|
|
24
24
|
import { useRouter as ie } from "vue-router";
|
|
25
25
|
import { buildUUID as ae } from "/@/utils/uuid";
|
|
26
|
-
|
|
27
|
-
import "/@/hooks/system/useJvxeMethods";
|
|
28
|
-
import "/@/components/jeecg/JVxeTable/types";
|
|
29
|
-
import "/@/views/system/user/user.api";
|
|
30
|
-
import "/@/utils/http/axios";
|
|
31
|
-
import "/@/hooks/web/useMessage";
|
|
32
|
-
import "/@/store/modules/permission";
|
|
33
|
-
import "./index-740b2c4a.mjs";
|
|
34
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
35
|
-
import "lodash-es";
|
|
36
|
-
import "/@/hooks/core/useAttrs";
|
|
37
|
-
import "/@/api/common/api";
|
|
38
|
-
const Re = /* @__PURE__ */ G({
|
|
26
|
+
const be = /* @__PURE__ */ G({
|
|
39
27
|
__name: "index",
|
|
40
28
|
setup(x, { expose: b }) {
|
|
41
|
-
let
|
|
42
|
-
const [h, { openModal:
|
|
29
|
+
let u = ie();
|
|
30
|
+
const [h, { openModal: p }] = N(), {
|
|
43
31
|
prefixCls: U,
|
|
44
32
|
tableContext: w,
|
|
45
33
|
createMessage: i,
|
|
@@ -49,24 +37,24 @@ const Re = /* @__PURE__ */ G({
|
|
|
49
37
|
pagination: !0,
|
|
50
38
|
tableProps: {
|
|
51
39
|
title: "Online报表",
|
|
52
|
-
api:
|
|
40
|
+
api: Z,
|
|
53
41
|
rowKey: "id",
|
|
54
42
|
columns: Y,
|
|
55
43
|
formConfig: {
|
|
56
44
|
autoSubmitOnEnter: !0,
|
|
57
45
|
showAdvancedButton: !0,
|
|
58
|
-
schemas:
|
|
46
|
+
schemas: X
|
|
59
47
|
}
|
|
60
48
|
}
|
|
61
|
-
}), [
|
|
49
|
+
}), [d, { reload: y }, { rowSelection: M, selectedRowKeys: C }] = w, [T, P] = N();
|
|
62
50
|
function k() {
|
|
63
|
-
|
|
51
|
+
p(!0, {
|
|
64
52
|
isUpdate: !1,
|
|
65
53
|
showFooter: !0
|
|
66
54
|
});
|
|
67
55
|
}
|
|
68
56
|
function $(e) {
|
|
69
|
-
|
|
57
|
+
p(!0, {
|
|
70
58
|
record: e,
|
|
71
59
|
isUpdate: !0,
|
|
72
60
|
showFooter: !0
|
|
@@ -91,7 +79,7 @@ const Re = /* @__PURE__ */ G({
|
|
|
91
79
|
y();
|
|
92
80
|
}
|
|
93
81
|
function v(e) {
|
|
94
|
-
|
|
82
|
+
p(!0, {
|
|
95
83
|
isUpdate: !1,
|
|
96
84
|
showFooter: !0,
|
|
97
85
|
aigc: e
|
|
@@ -127,7 +115,7 @@ const Re = /* @__PURE__ */ G({
|
|
|
127
115
|
];
|
|
128
116
|
}
|
|
129
117
|
function V(e) {
|
|
130
|
-
|
|
118
|
+
u.push({ path: "/online/cgreport/" + e });
|
|
131
119
|
}
|
|
132
120
|
function q(e) {
|
|
133
121
|
let o = e.id, s = `/online/cgreport/${o}`, f = `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)
|
|
@@ -184,10 +172,10 @@ const Re = /* @__PURE__ */ G({
|
|
|
184
172
|
return b({
|
|
185
173
|
handleAdd: k
|
|
186
174
|
}), (e, o) => {
|
|
187
|
-
const s =
|
|
175
|
+
const s = m("a-button"), f = m("Icon"), n = m("a-menu-item"), t = m("a-menu"), g = m("a-dropdown");
|
|
188
176
|
return S(), K("div", null, [
|
|
189
177
|
r(c(z), Q({
|
|
190
|
-
onRegister: c(
|
|
178
|
+
onRegister: c(d),
|
|
191
179
|
rowSelection: c(M)
|
|
192
180
|
}, e.$attrs), {
|
|
193
181
|
tableTitle: l(() => [
|
|
@@ -197,9 +185,9 @@ const Re = /* @__PURE__ */ G({
|
|
|
197
185
|
onClick: k,
|
|
198
186
|
style: { "margin-right": "5px" }
|
|
199
187
|
}, {
|
|
200
|
-
default: l(() => o[0] || (o[0] = [
|
|
201
|
-
_("录入")
|
|
202
|
-
])),
|
|
188
|
+
default: l(() => [...o[0] || (o[0] = [
|
|
189
|
+
_("录入", -1)
|
|
190
|
+
])]),
|
|
203
191
|
_: 1
|
|
204
192
|
}),
|
|
205
193
|
r(s, {
|
|
@@ -208,9 +196,9 @@ const Re = /* @__PURE__ */ G({
|
|
|
208
196
|
style: { "margin-right": "5px" },
|
|
209
197
|
onClick: B
|
|
210
198
|
}, {
|
|
211
|
-
default: l(() => o[1] || (o[1] = [
|
|
212
|
-
_("AI生成报表")
|
|
213
|
-
])),
|
|
199
|
+
default: l(() => [...o[1] || (o[1] = [
|
|
200
|
+
_("AI生成报表", -1)
|
|
201
|
+
])]),
|
|
214
202
|
_: 1
|
|
215
203
|
}),
|
|
216
204
|
c(C).length > 0 ? (S(), H(g, { key: 0 }, {
|
|
@@ -223,7 +211,7 @@ const Re = /* @__PURE__ */ G({
|
|
|
223
211
|
}, {
|
|
224
212
|
default: l(() => [
|
|
225
213
|
r(f, { icon: "ant-design:delete-outlined" }),
|
|
226
|
-
o[2] || (o[2] = _(" 删除 "))
|
|
214
|
+
o[2] || (o[2] = _(" 删除 ", -1))
|
|
227
215
|
]),
|
|
228
216
|
_: 1
|
|
229
217
|
})
|
|
@@ -234,7 +222,7 @@ const Re = /* @__PURE__ */ G({
|
|
|
234
222
|
default: l(() => [
|
|
235
223
|
r(s, null, {
|
|
236
224
|
default: l(() => [
|
|
237
|
-
o[3] || (o[3] = _("批量操作 ")),
|
|
225
|
+
o[3] || (o[3] = _("批量操作 ", -1)),
|
|
238
226
|
r(f, { icon: "mdi:chevron-down" })
|
|
239
227
|
]),
|
|
240
228
|
_: 1
|
|
@@ -264,5 +252,5 @@ const Re = /* @__PURE__ */ G({
|
|
|
264
252
|
}
|
|
265
253
|
});
|
|
266
254
|
export {
|
|
267
|
-
|
|
255
|
+
be as default
|
|
268
256
|
};
|