@jeecg/online 3.9.0-beta2 → 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-634a76b1.mjs → AccountLoginForm-BXyvcSds.mjs} +50 -53
- package/{AiModal-204a2146.mjs → AiModal-BgVzn074.mjs} +18 -20
- package/{AppForgetPassword-f9a6258a.mjs → AppForgetPassword-B-2CvL62.mjs} +59 -63
- package/AppLogin-BMBmx2oq.mjs +272 -0
- package/AppLoginHeader-BtKXOMRR.mjs +23 -0
- package/{AppNameEmail-54026ea8.mjs → AppNameEmail-DCqMNjaK.mjs} +20 -24
- package/{AppRegister-043efc45.mjs → AppRegister-C5iH-245.mjs} +33 -37
- package/{AppTenant-c7bb8700.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-3cd10ca2.mjs → AuthDataConfig-uQ5WT7rx.mjs} +57 -62
- package/AuthDataTree-Cr28_YKx.mjs +134 -0
- package/{AuthFieldConfig-bb65f78b.mjs → AuthFieldConfig-DjdaPIXF.mjs} +95 -101
- package/{AuthFieldTree-3e38b12b.mjs → AuthFieldTree-DHmnDQ0I.mjs} +94 -99
- package/AuthManagerDrawer-DUb6QylS.mjs +108 -0
- package/{AuthSetterModal-f176c221.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-a3903b24.mjs → CgformAddressModal-BVoww1fk.mjs} +57 -63
- package/CgformCopyList-7e96RMbJ.mjs +176 -0
- package/{CgformModal-115710a6.mjs → CgformModal-RH-Tr08S.mjs} +240 -241
- package/{CgreportAigcModal-3bef8abe.mjs → CgreportAigcModal-rEfIpPF9.mjs} +35 -38
- package/{CgreportModal-0cc48587.mjs → CgreportModal-Bajb_3ku.mjs} +49 -50
- package/{CheckDictTable-65157c48.mjs → CheckDictTable-BxJFrctQ.mjs} +44 -52
- package/{CodeFileListModal-305c1a62.mjs → CodeFileListModal-C3uqsFvi.mjs} +32 -36
- package/{CodeFileViewModal-320d7acf.mjs → CodeFileViewModal-bEtZDbAY.mjs} +78 -81
- package/CodeGeneratorModal-ZWEIXRbY.mjs +291 -0
- package/{CustomButtonList-98db8fd2.mjs → CustomButtonList-7wjonhtu.mjs} +82 -85
- package/{DBAttributeTable-56701599.mjs → DBAttributeTable-DA2XttIQ.mjs} +50 -60
- package/{DbToOnlineModal-a82cdeb5.mjs → DbToOnlineModal-CDVqmEJH.mjs} +43 -45
- package/DetailForm-CnfJBMys.mjs +472 -0
- package/{DropMenuItem-b3a9cd6a.mjs → DropMenuItem-D8YWMle-.mjs} +8 -11
- package/EnhanceJavaModal-W8_oGY-U.mjs +255 -0
- package/{EnhanceJsHistory-bb6ba865.mjs → EnhanceJsHistory-ZzXedCNI.mjs} +48 -49
- package/{EnhanceJsModal-b0527cbf.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-536e6d5b.mjs → FieldExtendJsonModal-Bvmbb6yd.mjs} +27 -30
- package/{FileSelectModal-eb026170.mjs → FileSelectModal-DXqL5msQ.mjs} +27 -31
- package/{ForeignKeyTable-97a5827f.mjs → ForeignKeyTable-D6AlLbfd.mjs} +17 -25
- package/{IndexTable-4d350e4e.mjs → IndexTable-B7ef6Aox.mjs} +9 -17
- package/JModalTip-DHrn6ksJ.mjs +46 -0
- package/{JOnlineSearchSelect-ffeac61d.mjs → JOnlineSearchSelect-CAv2Dm9V.mjs} +21 -23
- package/{LeftDepart-a727aab7.mjs → LeftDepart-BC1jpYJP.mjs} +8 -11
- package/{LeftRole-b533dcf6.mjs → LeftRole-sq_2p6Qk.mjs} +16 -19
- package/{LeftUser-aaac52cb.mjs → LeftUser-CYh4PBgd.mjs} +7 -10
- package/{LinkTableConfigModal-4053b62d.mjs → LinkTableConfigModal-BOWs0A5-.mjs} +38 -40
- package/{LinkTableFieldConfigModal-93552099.mjs → LinkTableFieldConfigModal-D7FTBP3E.mjs} +50 -52
- package/LinkTableListPiece-Bfu6vfo0.mjs +31 -0
- package/{ModalFormDemo-b8478356.mjs → ModalFormDemo-C1qQT6lj.mjs} +13 -16
- package/{OnlCgformErpList-b0605798.mjs → OnlCgformErpList-CavWG8GK.mjs} +139 -199
- 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-624106c1.mjs → OnlineAutoTreeList-LDE9Sm7X.mjs} +124 -181
- package/OnlineCustomModal-Jz4MxkH0.mjs +209 -0
- package/OnlineDetailModal-So0YEah1.mjs +160 -0
- package/{OnlineForm-86b5966d.mjs → OnlineForm-CvcbzRIZ.mjs} +47 -73
- 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-0c2431a4.mjs → OnlineFormUrlSuccess-Cvbte2lW.mjs} +27 -30
- package/{OnlineQueryForm-3017a4ca.mjs → OnlineQueryForm-6E1IRi95.mjs} +139 -167
- package/{OnlineSearchFormItem-1b54585f.mjs → OnlineSearchFormItem-CdRuXQPu.mjs} +112 -118
- package/{OnlineSelectCascade-fab4426d.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-5c04cbc5.mjs → OnlineTabForm-Cg3_IX2H.mjs} +228 -253
- package/OnlineTabFormDetail-BgFkUkva.mjs +299 -0
- package/{PageAttributeTable-18aabf81.mjs → PageAttributeTable-C803SekP.mjs} +46 -59
- package/{PhoneLoginForm-4a9d7869.mjs → PhoneLoginForm-8a0Uehov.mjs} +40 -43
- package/ProcessOnlineForm-COeEaGc8.mjs +182 -0
- package/{QueryTable-342fd89a.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-9ea579c2.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-24d417dc.mjs → SingleView.vue_vue_type_style_index_0_lang-D3QcMcYT.mjs} +27 -27
- package/{SuperQuery-270b0968.mjs → SuperQuery-CgkajEWI.mjs} +342 -370
- package/SuperQueryValComponent-UO10kRg5.mjs +4 -0
- package/TaskOpinionList-C8rcU6ee.mjs +10 -0
- package/{aiModal-e7362c3f.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-b811abb9.mjs → index-B1H394jP.mjs} +35 -38
- package/index-CXD6__bJ.mjs +195 -0
- package/{index-6d1a78e2.mjs → index-DIjQbz6A.mjs} +37 -41
- package/{index-e2c3e6f3.mjs → index-Dbr1qL3H.mjs} +474 -608
- package/{index-19eaef11.mjs → index-dmWvLQET.mjs} +2 -2
- package/{index-d95bb7c2.mjs → index-pGbTziKP.mjs} +32 -44
- package/{index-b5fe9bd4.mjs → index-siZ6JDIW.mjs} +17 -20
- package/main.index.js +8 -9
- package/online.css +1 -0
- package/package.json +1 -1
- package/{useCgformList-6d5547ff.mjs → useCgformList-_o9GP7ca.mjs} +3 -3
- package/useExtendComponent-P9wrWQwT.mjs +4479 -0
- package/{useListButton-73071548.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-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
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as e } from "vue";
|
|
2
|
+
import { _ as n } from "./index-0kQBIHx0.mjs";
|
|
3
|
+
const t = {}, c = { class: "opinion-area" };
|
|
4
|
+
function r(s, i) {
|
|
5
|
+
return e(), o("div", c);
|
|
6
|
+
}
|
|
7
|
+
const f = /* @__PURE__ */ n(t, [["render", r]]);
|
|
8
|
+
export {
|
|
9
|
+
f as default
|
|
10
|
+
};
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { defineComponent as O, ref as P, reactive as w, resolveComponent as
|
|
1
|
+
import { defineComponent as O, ref as P, reactive as w, resolveComponent as k, createBlock as F, openBlock as i, unref as v, mergeProps as z, withCtx as r, createElementVNode as n, createElementBlock as f, Fragment as _, createVNode as s, renderList as H, createTextVNode as b, toDisplayString as T } from "vue";
|
|
2
2
|
import { useModalInner as L, BasicModal as j } from "/@/components/Modal";
|
|
3
3
|
import { SvgIcon as G } from "/@/components/Icon";
|
|
4
4
|
import { useMessage as J } from "/@/hooks/web/useMessage";
|
|
5
5
|
import { defHttp as K } from "/@/utils/http/axios";
|
|
6
6
|
import { cloneDeep as Q } from "lodash-es";
|
|
7
|
-
import { _ as W } from "./index-
|
|
8
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
9
|
-
import "vue-router";
|
|
7
|
+
import { _ as W } from "./index-0kQBIHx0.mjs";
|
|
10
8
|
const X = { class: "ai-modal-content" }, Y = { class: "ai-header" }, Z = { class: "ai-body" }, ee = {
|
|
11
9
|
key: 1,
|
|
12
10
|
class: "two"
|
|
@@ -14,10 +12,10 @@ const X = { class: "ai-modal-content" }, Y = { class: "ai-header" }, Z = { class
|
|
|
14
12
|
__name: "aiModal",
|
|
15
13
|
props: ["dataSource", "DBtableRef", "tableName", "isUpdate"],
|
|
16
14
|
emits: ["register", "close", "generate"],
|
|
17
|
-
setup(
|
|
18
|
-
const
|
|
15
|
+
setup(x, { emit: U }) {
|
|
16
|
+
const D = {
|
|
19
17
|
fields: "/online/cgform/api/aigc/fields"
|
|
20
|
-
}, u =
|
|
18
|
+
}, u = x, y = U, { createMessage: m } = J(), [M, { closeModal: C }] = L(), p = P("one"), o = w({
|
|
21
19
|
title: "AI字段建议",
|
|
22
20
|
qualifier: "",
|
|
23
21
|
loading: !1
|
|
@@ -31,8 +29,8 @@ const X = { class: "ai-modal-content" }, Y = { class: "ai-header" }, Z = { class
|
|
|
31
29
|
y("close");
|
|
32
30
|
}, 400);
|
|
33
31
|
}, I = (t = []) => {
|
|
34
|
-
const e = t.filter((l) => !u.DBtableRef.getTableData().some((
|
|
35
|
-
t.length == 0 || e.length == 0 ?
|
|
32
|
+
const e = t.filter((l) => !u.DBtableRef.getTableData().some((h) => h.dbFieldName === l.dbFieldName));
|
|
33
|
+
t.length == 0 || e.length == 0 ? m.warn("请换一个修饰词再试~") : (e.forEach((l) => {
|
|
36
34
|
l.checked = !0, ["Date", "Datetime"].includes(l.dbType) && (l.fieldShowType = l.dbType == "Datetime" ? "datetime" : "date");
|
|
37
35
|
}), a.data = e, a.checked = !0, p.value = "two");
|
|
38
36
|
}, q = ({ target: t }) => {
|
|
@@ -42,14 +40,14 @@ const X = { class: "ai-modal-content" }, Y = { class: "ai-header" }, Z = { class
|
|
|
42
40
|
a.checked = t.length === a.data.length, a.indeterminate = !!(t.length && a.checked == !1);
|
|
43
41
|
}, N = () => {
|
|
44
42
|
if (o.qualifier.length == 0) {
|
|
45
|
-
|
|
43
|
+
m.warn("请输入修饰词~");
|
|
46
44
|
return;
|
|
47
45
|
}
|
|
48
46
|
o.loading = !0, K.post(
|
|
49
|
-
{ url: `${
|
|
47
|
+
{ url: `${D.fields}?prompt=${o.qualifier}&code=${u.isUpdate && u.tableName ? u.tableName : ""}` },
|
|
50
48
|
{ isTransformResponse: !1 }
|
|
51
49
|
).then((t) => {
|
|
52
|
-
t.code == 200 ? I(t.result) :
|
|
50
|
+
t.code == 200 ? I(t.result) : m.warn(t.message), o.loading = !1;
|
|
53
51
|
}).catch((t) => {
|
|
54
52
|
o.loading = !1;
|
|
55
53
|
});
|
|
@@ -60,51 +58,51 @@ const X = { class: "ai-modal-content" }, Y = { class: "ai-header" }, Z = { class
|
|
|
60
58
|
C();
|
|
61
59
|
};
|
|
62
60
|
return (t, e) => {
|
|
63
|
-
const l =
|
|
64
|
-
return
|
|
61
|
+
const l = k("a-input"), h = k("a-checkbox"), g = k("a-button");
|
|
62
|
+
return i(), F(v(j), z(t.$attrs, {
|
|
65
63
|
title: B(),
|
|
66
64
|
width: 600,
|
|
67
65
|
"max-height": 500,
|
|
68
66
|
wrapClassName: "ai-suggestion-modal",
|
|
69
|
-
onRegister:
|
|
67
|
+
onRegister: v(M),
|
|
70
68
|
onOpenChange: E,
|
|
71
69
|
canFullscreen: !1
|
|
72
70
|
}), {
|
|
73
71
|
footer: r(() => [
|
|
74
|
-
p.value == "one" ? (
|
|
75
|
-
|
|
76
|
-
default: r(() => e[5] || (e[5] = [
|
|
77
|
-
b("取消")
|
|
78
|
-
])),
|
|
72
|
+
p.value == "one" ? (i(), f(_, { key: 0 }, [
|
|
73
|
+
s(g, { onClick: $ }, {
|
|
74
|
+
default: r(() => [...e[5] || (e[5] = [
|
|
75
|
+
b("取消", -1)
|
|
76
|
+
])]),
|
|
79
77
|
_: 1
|
|
80
78
|
}),
|
|
81
|
-
|
|
79
|
+
s(g, {
|
|
82
80
|
type: "primary",
|
|
83
81
|
onClick: N,
|
|
84
82
|
loading: o.loading
|
|
85
83
|
}, {
|
|
86
84
|
default: r(() => [
|
|
87
|
-
b(
|
|
85
|
+
b(T(o.loading ? "生成中..." : "生成建议"), 1)
|
|
88
86
|
]),
|
|
89
87
|
_: 1
|
|
90
88
|
}, 8, ["loading"])
|
|
91
|
-
], 64)) : (
|
|
89
|
+
], 64)) : (i(), F(g, {
|
|
92
90
|
key: 1,
|
|
93
91
|
type: "primary",
|
|
94
92
|
onClick: R,
|
|
95
93
|
disabled: !a.checked && !a.indeterminate
|
|
96
94
|
}, {
|
|
97
95
|
default: r(() => [
|
|
98
|
-
b("添加" +
|
|
96
|
+
b("添加" + T(S()) + "个字段进online", 1)
|
|
99
97
|
]),
|
|
100
98
|
_: 1
|
|
101
99
|
}, 8, ["disabled"]))
|
|
102
100
|
]),
|
|
103
101
|
default: r(() => [
|
|
104
102
|
n("div", X, [
|
|
105
|
-
p.value == "one" ? (
|
|
103
|
+
p.value == "one" ? (i(), f(_, { key: 0 }, [
|
|
106
104
|
n("div", Y, [
|
|
107
|
-
|
|
105
|
+
s(v(G), {
|
|
108
106
|
name: "robot",
|
|
109
107
|
size: "40"
|
|
110
108
|
}),
|
|
@@ -112,7 +110,7 @@ const X = { class: "ai-modal-content" }, Y = { class: "ai-header" }, Z = { class
|
|
|
112
110
|
e[3] || (e[3] = n("p", { class: "tip" }, "可输入相应修饰词,如:员工信息登记表", -1))
|
|
113
111
|
]),
|
|
114
112
|
n("div", Z, [
|
|
115
|
-
|
|
113
|
+
s(l, {
|
|
116
114
|
value: o.qualifier,
|
|
117
115
|
"onUpdate:value": e[0] || (e[0] = (d) => o.qualifier = d),
|
|
118
116
|
valueModifiers: { trim: !0 },
|
|
@@ -120,10 +118,10 @@ const X = { class: "ai-modal-content" }, Y = { class: "ai-header" }, Z = { class
|
|
|
120
118
|
onPressEnter: N
|
|
121
119
|
}, null, 8, ["value"])
|
|
122
120
|
])
|
|
123
|
-
], 64)) : (
|
|
121
|
+
], 64)) : (i(), f("div", ee, [
|
|
124
122
|
n("div", te, [
|
|
125
123
|
n("div", ae, [
|
|
126
|
-
|
|
124
|
+
s(h, {
|
|
127
125
|
checked: a.checked,
|
|
128
126
|
"onUpdate:checked": e[1] || (e[1] = (d) => a.checked = d),
|
|
129
127
|
indeterminate: a.indeterminate,
|
|
@@ -136,23 +134,23 @@ const X = { class: "ai-modal-content" }, Y = { class: "ai-header" }, Z = { class
|
|
|
136
134
|
])
|
|
137
135
|
]),
|
|
138
136
|
n("div", le, [
|
|
139
|
-
(
|
|
137
|
+
(i(!0), f(_, null, H(a.data, (d, V) => (i(), f("div", {
|
|
140
138
|
key: V,
|
|
141
139
|
class: "field-row"
|
|
142
140
|
}, [
|
|
143
|
-
|
|
141
|
+
s(h, {
|
|
144
142
|
checked: d.checked,
|
|
145
143
|
"onUpdate:checked": (c) => d.checked = c,
|
|
146
144
|
onChange: A
|
|
147
145
|
}, null, 8, ["checked", "onUpdate:checked"]),
|
|
148
146
|
n("div", ne, [
|
|
149
|
-
|
|
147
|
+
s(l, {
|
|
150
148
|
class: "dbFieldName",
|
|
151
149
|
value: d.dbFieldName,
|
|
152
150
|
"onUpdate:value": (c) => d.dbFieldName = c,
|
|
153
151
|
placeholder: "字段名称"
|
|
154
152
|
}, null, 8, ["value", "onUpdate:value"]),
|
|
155
|
-
|
|
153
|
+
s(l, {
|
|
156
154
|
class: "dbFieldTxt",
|
|
157
155
|
value: d.dbFieldTxt,
|
|
158
156
|
"onUpdate:value": (c) => d.dbFieldTxt = c,
|
|
@@ -168,8 +166,7 @@ const X = { class: "ai-modal-content" }, Y = { class: "ai-header" }, Z = { class
|
|
|
168
166
|
}, 16, ["title", "onRegister"]);
|
|
169
167
|
};
|
|
170
168
|
}
|
|
171
|
-
});
|
|
172
|
-
const he = /* @__PURE__ */ W(oe, [["__scopeId", "data-v-a431fa9d"]]);
|
|
169
|
+
}), pe = /* @__PURE__ */ W(oe, [["__scopeId", "data-v-a431fa9d"]]);
|
|
173
170
|
export {
|
|
174
|
-
|
|
171
|
+
pe as default
|
|
175
172
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as n } from "vue";
|
|
2
|
-
import { o as u } from "./cgform.data-
|
|
2
|
+
import { o as u } from "./cgform.data-CviSPXEg.mjs";
|
|
3
3
|
function d(l) {
|
|
4
4
|
return { columns: [
|
|
5
5
|
{
|
|
@@ -169,8 +169,8 @@ function o(l, a) {
|
|
|
169
169
|
return e || l;
|
|
170
170
|
}
|
|
171
171
|
export {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
c,
|
|
175
|
-
|
|
172
|
+
i as a,
|
|
173
|
+
c as b,
|
|
174
|
+
p as c,
|
|
175
|
+
d as u
|
|
176
176
|
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import u from "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
2
|
+
import { defineComponent as m, resolveComponent as l, createElementBlock as a, openBlock as v, createVNode as g, defineAsyncComponent as o } from "vue";
|
|
3
|
+
import { useMessage as f } from "/@/hooks/web/useMessage";
|
|
4
|
+
import { useRoute as d } from "vue-router";
|
|
5
|
+
const w = m({
|
|
6
|
+
name: "OnlCgReportList",
|
|
7
|
+
components: {
|
|
8
|
+
JPopupOnlReport: u
|
|
9
|
+
},
|
|
10
|
+
setup(e, { emit: n, refs: r }) {
|
|
11
|
+
const { createMessage: s } = f(), t = d().path;
|
|
12
|
+
return {
|
|
13
|
+
id: t.substr(t.lastIndexOf("/") + 1)
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
}), h = (e, n) => {
|
|
17
|
+
const r = e.__vccOpts || e;
|
|
18
|
+
for (const [s, i] of n)
|
|
19
|
+
r[s] = i;
|
|
20
|
+
return r;
|
|
21
|
+
}, b = { class: "p-2" };
|
|
22
|
+
function O(e, n, r, s, i, t) {
|
|
23
|
+
const p = l("JPopupOnlReport");
|
|
24
|
+
return v(), a("div", b, [
|
|
25
|
+
g(p, {
|
|
26
|
+
id: e.id,
|
|
27
|
+
multi: !0,
|
|
28
|
+
clickToRowSelect: !1
|
|
29
|
+
}, null, 8, ["id"])
|
|
30
|
+
]);
|
|
31
|
+
}
|
|
32
|
+
const c = /* @__PURE__ */ h(w, [["render", O]]), T = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
33
|
+
__proto__: null,
|
|
34
|
+
default: c
|
|
35
|
+
}, Symbol.toStringTag, { value: "Module" })), L = {
|
|
36
|
+
/**
|
|
37
|
+
* 注册组件
|
|
38
|
+
*/
|
|
39
|
+
install(e, n) {
|
|
40
|
+
e.provide("baseImport", n.baseImport), e.component("OnlCgReportList", c);
|
|
41
|
+
const r = o(() => import("./JOnlineSearchSelect-CAv2Dm9V.mjs"));
|
|
42
|
+
e.component("JOnlineSearchSelect", r);
|
|
43
|
+
const s = o(() => import("./SuperQuery-CgkajEWI.mjs"));
|
|
44
|
+
e.component("SuperQuery", s);
|
|
45
|
+
},
|
|
46
|
+
getViews() {
|
|
47
|
+
return /* @__PURE__ */ Object.assign({ "./src/views/super/online/cgform/CgformCopyList.vue": () => import("./CgformCopyList-7e96RMbJ.mjs"), "./src/views/super/online/cgform/auto/comp/JOnlineSearchSelect.vue": () => import("./JOnlineSearchSelect-CAv2Dm9V.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineForm.vue": () => import("./OnlineForm-CvcbzRIZ.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineFormDetail.vue": () => import("./OnlineFormDetail-KaD6cV31.mjs"), "./src/views/super/online/cgform/auto/comp/OnlinePopForm.vue": () => import("./useExtendComponent-P9wrWQwT.mjs").then((e) => e.v), "./src/views/super/online/cgform/auto/comp/OnlinePopListModal.vue": () => import("./useExtendComponent-P9wrWQwT.mjs").then((e) => e.y), "./src/views/super/online/cgform/auto/comp/OnlinePopModal.vue": () => import("./useExtendComponent-P9wrWQwT.mjs").then((e) => e.w), "./src/views/super/online/cgform/auto/comp/OnlineQueryForm.vue": () => import("./OnlineQueryForm-6E1IRi95.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineSearchFormItem.vue": () => import("./OnlineSearchFormItem-CdRuXQPu.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineSelectCascade.vue": () => import("./OnlineSelectCascade-O7iXAgdH.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineSubForm.vue": () => import("./useExtendComponent-P9wrWQwT.mjs").then((e) => e.t), "./src/views/super/online/cgform/auto/comp/OnlineSubFormDetail.vue": () => import("./OnlineSubFormDetail-DcMpAk8Z.mjs"), "./src/views/super/online/cgform/auto/comp/ProcessOnlineForm.vue": () => import("./ProcessOnlineForm-COeEaGc8.mjs"), "./src/views/super/online/cgform/auto/comp/TaskOpinionList.vue": () => import("./TaskOpinionList-C8rcU6ee.mjs"), "./src/views/super/online/cgform/auto/comp/superquery/SuperQuery.vue": () => import("./SuperQuery-CgkajEWI.mjs"), "./src/views/super/online/cgform/auto/comp/superquery/SuperQueryValComponent.vue": () => import("./SuperQueryValComponent-UO10kRg5.mjs"), "./src/views/super/online/cgform/auto/default/OnlineAutoList.vue": () => import("./OnlineAutoList-C4pkORGb.mjs"), "./src/views/super/online/cgform/auto/default/OnlineAutoModal.vue": () => import("./OnlineAutoModal-Cuf_wcbU.mjs"), "./src/views/super/online/cgform/auto/default/OnlineCustomModal.vue": () => import("./OnlineCustomModal-Jz4MxkH0.mjs"), "./src/views/super/online/cgform/auto/default/OnlineDetailModal.vue": () => import("./OnlineDetailModal-So0YEah1.mjs"), "./src/views/super/online/cgform/auto/default/OnlineFormUrlAdd.vue": () => import("./OnlineFormUrlAdd-CktstdFD.mjs"), "./src/views/super/online/cgform/auto/default/OnlineFormUrlDetail.vue": () => import("./OnlineFormUrlDetail-C4qptuTQ.mjs"), "./src/views/super/online/cgform/auto/default/OnlineFormUrlEdit.vue": () => import("./OnlineFormUrlEdit-C06vTiM_.mjs"), "./src/views/super/online/cgform/auto/default/OnlineFormUrlSuccess.vue": () => import("./OnlineFormUrlSuccess-Cvbte2lW.mjs"), "./src/views/super/online/cgform/auto/erp/OnlCgformErpList.vue": () => import("./OnlCgformErpList-CavWG8GK.mjs"), "./src/views/super/online/cgform/auto/erp/OnlCgformErpSubTable.vue": () => import("./OnlCgformErpSubTable-D3QM8oWi.mjs"), "./src/views/super/online/cgform/auto/innerTable/OnlCgformInnerSubTable.vue": () => import("./OnlCgformInnerSubTable-BqmooFqy.mjs"), "./src/views/super/online/cgform/auto/innerTable/OnlCgformInnerTableList.vue": () => import("./OnlCgformInnerTableList-Dr1KdoSC.mjs"), "./src/views/super/online/cgform/auto/tab/OnlCgformTabList.vue": () => import("./OnlCgformTabList-DCy3oudh.mjs"), "./src/views/super/online/cgform/auto/tab/modal/OnlineTabAutoModal.vue": () => import("./OnlineTabAutoModal-DSOVDlOz.mjs"), "./src/views/super/online/cgform/auto/tab/modal/OnlineTabDetailModal.vue": () => import("./OnlineTabDetailModal-OXQ_2VLI.mjs"), "./src/views/super/online/cgform/auto/tab/modal/OnlineTabForm.vue": () => import("./OnlineTabForm-Cg3_IX2H.mjs"), "./src/views/super/online/cgform/auto/tab/modal/OnlineTabFormDetail.vue": () => import("./OnlineTabFormDetail-BgFkUkva.mjs"), "./src/views/super/online/cgform/auto/tree/OnlineAutoTreeList.vue": () => import("./OnlineAutoTreeList-LDE9Sm7X.mjs"), "./src/views/super/online/cgform/components/AiModal.vue": () => import("./AiModal-BgVzn074.mjs"), "./src/views/super/online/cgform/components/CgformAddressModal.vue": () => import("./CgformAddressModal-BVoww1fk.mjs"), "./src/views/super/online/cgform/components/CgformModal.vue": () => import("./CgformModal-RH-Tr08S.mjs").then((e) => e.h), "./src/views/super/online/cgform/components/CodeFileListModal.vue": () => import("./CodeFileListModal-C3uqsFvi.mjs"), "./src/views/super/online/cgform/components/CodeFileViewModal.vue": () => import("./CodeFileViewModal-bEtZDbAY.mjs"), "./src/views/super/online/cgform/components/CodeGeneratorModal.vue": () => import("./CodeGeneratorModal-ZWEIXRbY.mjs"), "./src/views/super/online/cgform/components/DbToOnlineModal.vue": () => import("./DbToOnlineModal-CDVqmEJH.mjs"), "./src/views/super/online/cgform/components/ExtendConfigModal.vue": () => import("./ExtendConfigModal-CxJIWvV4.mjs"), "./src/views/super/online/cgform/components/FileSelectModal.vue": () => import("./FileSelectModal-DXqL5msQ.mjs"), "./src/views/super/online/cgform/components/auth/AuthManagerDrawer.vue": () => import("./AuthManagerDrawer-DUb6QylS.mjs"), "./src/views/super/online/cgform/components/auth/AuthSetterModal.vue": () => import("./AuthSetterModal-BBFdNv1M.mjs"), "./src/views/super/online/cgform/components/auth/manager/AuthButtonConfig.vue": () => import("./AuthButtonConfig-zUioaGwn.mjs"), "./src/views/super/online/cgform/components/auth/manager/AuthDataConfig.vue": () => import("./AuthDataConfig-uQ5WT7rx.mjs"), "./src/views/super/online/cgform/components/auth/manager/AuthFieldConfig.vue": () => import("./AuthFieldConfig-DjdaPIXF.mjs"), "./src/views/super/online/cgform/components/auth/setter/AuthButtonTree.vue": () => import("./AuthButtonTree-DYZwphe6.mjs"), "./src/views/super/online/cgform/components/auth/setter/AuthDataTree.vue": () => import("./AuthDataTree-Cr28_YKx.mjs"), "./src/views/super/online/cgform/components/auth/setter/AuthFieldTree.vue": () => import("./AuthFieldTree-DHmnDQ0I.mjs"), "./src/views/super/online/cgform/components/auth/setter/LeftDepart.vue": () => import("./LeftDepart-BC1jpYJP.mjs"), "./src/views/super/online/cgform/components/auth/setter/LeftRole.vue": () => import("./LeftRole-sq_2p6Qk.mjs"), "./src/views/super/online/cgform/components/auth/setter/LeftUser.vue": () => import("./LeftUser-CYh4PBgd.mjs"), "./src/views/super/online/cgform/components/button/BuiltInButtonList.vue": () => import("./BuiltInButtonList-Cgg5maxI.mjs"), "./src/views/super/online/cgform/components/button/CustomButtonList.vue": () => import("./CustomButtonList-7wjonhtu.mjs"), "./src/views/super/online/cgform/components/button/button.data.tsx": () => import("./button.data-CyUX77GQ.mjs"), "./src/views/super/online/cgform/components/enhance/EnhanceJavaModal.vue": () => import("./EnhanceJavaModal-W8_oGY-U.mjs"), "./src/views/super/online/cgform/components/enhance/EnhanceJsHistory.vue": () => import("./EnhanceJsHistory-ZzXedCNI.mjs").then((e) => e.a), "./src/views/super/online/cgform/components/enhance/EnhanceJsModal.vue": () => import("./EnhanceJsModal-Djb5ItH4.mjs"), "./src/views/super/online/cgform/components/enhance/EnhanceSqlModal.vue": () => import("./EnhanceSqlModal-DxPdRcQc.mjs"), "./src/views/super/online/cgform/components/tables/CheckDictTable.vue": () => import("./CheckDictTable-BxJFrctQ.mjs"), "./src/views/super/online/cgform/components/tables/DBAttributeTable.vue": () => import("./DBAttributeTable-DA2XttIQ.mjs"), "./src/views/super/online/cgform/components/tables/ForeignKeyTable.vue": () => import("./ForeignKeyTable-D6AlLbfd.mjs"), "./src/views/super/online/cgform/components/tables/IndexTable.vue": () => import("./IndexTable-B7ef6Aox.mjs"), "./src/views/super/online/cgform/components/tables/PageAttributeTable.vue": () => import("./PageAttributeTable-C803SekP.mjs"), "./src/views/super/online/cgform/components/tables/QueryTable.vue": () => import("./QueryTable-DHYaYbKC.mjs"), "./src/views/super/online/cgform/components/tables/components/aiModal.vue": () => import("./aiModal-DTU-w5Xx.mjs"), "./src/views/super/online/cgform/extend/FieldExtendJsonModal.vue": () => import("./FieldExtendJsonModal-Bvmbb6yd.mjs"), "./src/views/super/online/cgform/extend/SetSwitchOptions.vue": () => import("./SetSwitchOptions-B4Q6l-54.mjs"), "./src/views/super/online/cgform/extend/form/DetailForm.vue": () => import("./DetailForm-CnfJBMys.mjs"), "./src/views/super/online/cgform/extend/linkTable/JModalTip.vue": () => import("./JModalTip-DHrn6ksJ.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableCard.vue": () => import("./useExtendComponent-P9wrWQwT.mjs").then((e) => e.z), "./src/views/super/online/cgform/extend/linkTable/LinkTableConfigModal.vue": () => import("./LinkTableConfigModal-BOWs0A5-.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableFieldConfigModal.vue": () => import("./LinkTableFieldConfigModal-D7FTBP3E.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableListPiece.vue": () => import("./LinkTableListPiece-Bfu6vfo0.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableSelect.vue": () => import("./useExtendComponent-P9wrWQwT.mjs").then((e) => e.x), "./src/views/super/online/cgform/index.vue": () => import("./index-Dbr1qL3H.mjs"), "./src/views/super/online/cgform/share/components/ShareView.vue": () => import("./ShareView-B9TiMmkR.mjs"), "./src/views/super/online/cgform/share/components/SingleView.vue": () => import("./SingleView-BDXeMLV-.mjs"), "./src/views/super/online/cgform/share/components/add/ShareAddView.vue": () => import("./ShareAddView-CxZuNTQB.mjs"), "./src/views/super/online/cgform/share/components/edit/ShareEditView.vue": () => import("./ShareEditView-Dqdzjmpc.mjs"), "./src/views/super/online/cgform/share/layouts/default/components/ErrorTip.vue": () => import("./ErrorTip-BDS1uxkW.mjs"), "./src/views/super/online/cgform/share/layouts/default/content/index.vue": () => import("./index-siZ6JDIW.mjs"), "./src/views/super/online/cgform/share/layouts/default/header/components/user-dropdown/DropMenuItem.vue": () => import("./DropMenuItem-D8YWMle-.mjs"), "./src/views/super/online/cgform/share/layouts/default/header/components/user-dropdown/index.vue": () => import("./index-B1H394jP.mjs"), "./src/views/super/online/cgform/share/layouts/default/header/index.vue": () => import("./index-DIjQbz6A.mjs"), "./src/views/super/online/cgform/share/layouts/default/index.vue": () => import("./index-CXD6__bJ.mjs"), "./src/views/super/online/cgform/share/layouts/login/AppLogin.vue": () => import("./AppLogin-BMBmx2oq.mjs"), "./src/views/super/online/cgform/share/layouts/login/component/AccountLoginForm.vue": () => import("./AccountLoginForm-BXyvcSds.mjs"), "./src/views/super/online/cgform/share/layouts/login/component/AppForgetPassword.vue": () => import("./AppForgetPassword-B-2CvL62.mjs"), "./src/views/super/online/cgform/share/layouts/login/component/AppLoginHeader.vue": () => import("./AppLoginHeader-BtKXOMRR.mjs"), "./src/views/super/online/cgform/share/layouts/login/component/AppNameEmail.vue": () => import("./AppNameEmail-DCqMNjaK.mjs"), "./src/views/super/online/cgform/share/layouts/login/component/AppRegister.vue": () => import("./AppRegister-C5iH-245.mjs"), "./src/views/super/online/cgform/share/layouts/login/component/AppTenant.vue": () => import("./AppTenant-etPXeUcW.mjs"), "./src/views/super/online/cgform/share/layouts/login/component/AppThirdForm.vue": () => import("./AppThirdForm-NMob-JaS.mjs"), "./src/views/super/online/cgform/share/layouts/login/component/PhoneLoginForm.vue": () => import("./PhoneLoginForm-8a0Uehov.mjs"), "./src/views/super/online/cgform/share/layouts/login/index.vue": () => import("./index-dmWvLQET.mjs"), "./src/views/super/online/cgreport/auto/OnlCgReportList.vue": () => Promise.resolve().then(() => T), "./src/views/super/online/cgreport/components/CgreportAigcModal.vue": () => import("./CgreportAigcModal-rEfIpPF9.mjs"), "./src/views/super/online/cgreport/components/CgreportModal.vue": () => import("./CgreportModal-Bajb_3ku.mjs").then((e) => e.a), "./src/views/super/online/cgreport/demo/ModalFormDemo.vue": () => import("./ModalFormDemo-C1qQT6lj.mjs"), "./src/views/super/online/cgreport/index.vue": () => import("./index-pGbTziKP.mjs") });
|
|
48
|
+
}
|
|
49
|
+
}, A = o(() => import("./JOnlineSearchSelect-CAv2Dm9V.mjs")), F = o(() => import("./SuperQuery-CgkajEWI.mjs")), x = o(() => import("./OnlineSelectCascade-O7iXAgdH.mjs")), k = o(() => import("./useExtendComponent-P9wrWQwT.mjs").then((e) => e.z)), _ = o(() => import("./useExtendComponent-P9wrWQwT.mjs").then((e) => e.x));
|
|
50
|
+
export {
|
|
51
|
+
A as J,
|
|
52
|
+
k as L,
|
|
53
|
+
x as O,
|
|
54
|
+
F as S,
|
|
55
|
+
h as _,
|
|
56
|
+
_ as a,
|
|
57
|
+
L as i
|
|
58
|
+
};
|
|
@@ -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-0kQBIHx0.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-D8YWMle-.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("online-share-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
|
};
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
var C = (e, s, i) => new Promise((r, c) => {
|
|
2
|
+
var t = (a) => {
|
|
3
|
+
try {
|
|
4
|
+
o(i.next(a));
|
|
5
|
+
} catch (n) {
|
|
6
|
+
c(n);
|
|
7
|
+
}
|
|
8
|
+
}, u = (a) => {
|
|
9
|
+
try {
|
|
10
|
+
o(i.throw(a));
|
|
11
|
+
} catch (n) {
|
|
12
|
+
c(n);
|
|
13
|
+
}
|
|
14
|
+
}, o = (a) => a.done ? r(a.value) : Promise.resolve(a.value).then(t, u);
|
|
15
|
+
o((i = i.apply(e, s)).next());
|
|
16
|
+
});
|
|
17
|
+
import { ref as R, defineComponent as k, computed as I, unref as S, watch as A, resolveComponent as p, createElementBlock as H, createBlock as _, openBlock as d, createVNode as g, mergeProps as b, withCtx as y, createCommentVNode as M, normalizeClass as T } from "vue";
|
|
18
|
+
import { Layout as w } from "ant-design-vue";
|
|
19
|
+
import U from "./index-DIjQbz6A.mjs";
|
|
20
|
+
import x from "./index-siZ6JDIW.mjs";
|
|
21
|
+
import { _ as D } from "./ErrorTip.vue_vue_type_script_setup_true_lang-Bl9zMjvW.mjs";
|
|
22
|
+
import { useHeaderSetting as N } from "/@/hooks/setting/useHeaderSetting";
|
|
23
|
+
import { useMenuSetting as B } from "/@/hooks/setting/useMenuSetting";
|
|
24
|
+
import { useDesign as $ } from "/@/hooks/web/useDesign";
|
|
25
|
+
import { useLockPage as O } from "/@/hooks/web/useLockPage";
|
|
26
|
+
import { useAppInject as P } from "/@/hooks/web/useAppInject";
|
|
27
|
+
import { router as E } from "/@/router";
|
|
28
|
+
import { a as q, b as V, c as h, S as L } from "./index-aVGkB_J9.mjs";
|
|
29
|
+
import { u as j } from "./shareStore-k-kzyga5.mjs";
|
|
30
|
+
import { useUserStore as z } from "/@/store/modules/user";
|
|
31
|
+
import { defHttp as v } from "/@/utils/http/axios";
|
|
32
|
+
import { p as F } from "./utils-DcQ65Qmw.mjs";
|
|
33
|
+
import { _ as G } from "./index-0kQBIHx0.mjs";
|
|
34
|
+
const J = (e) => v.get({
|
|
35
|
+
url: "/online/cgform/head/queryById",
|
|
36
|
+
params: { id: e }
|
|
37
|
+
}, { isTransformResponse: !1 }), K = (e, s) => v.get({
|
|
38
|
+
url: "/online/cgform/api/form/{formId}/{recordId}".replace("{formId}", e).replace("{recordId}", s),
|
|
39
|
+
params: {}
|
|
40
|
+
}, { isTransformResponse: !1 });
|
|
41
|
+
function Q() {
|
|
42
|
+
const e = z(), s = j(), i = R(!0), r = R("");
|
|
43
|
+
function c() {
|
|
44
|
+
return C(this, null, function* () {
|
|
45
|
+
try {
|
|
46
|
+
yield s.checkUrlToken();
|
|
47
|
+
const t = E.currentRoute.value;
|
|
48
|
+
if (!e.getToken) {
|
|
49
|
+
E.push({
|
|
50
|
+
name: q,
|
|
51
|
+
query: {
|
|
52
|
+
redirect: encodeURIComponent(t.path)
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
const { id: u } = t.params;
|
|
58
|
+
if (!u) {
|
|
59
|
+
r.value = "参数错误";
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
let o = yield J(u);
|
|
63
|
+
if (!o.success) {
|
|
64
|
+
r.value = o.message;
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
const a = o.result, n = F(a);
|
|
68
|
+
if (!(n != null && n.enableExternalLink)) {
|
|
69
|
+
r.value = "当前表单未开启外部链接";
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
let l = n.externalLinkActions.split(",");
|
|
73
|
+
if (t.name === V) {
|
|
74
|
+
if (!l.includes("add")) {
|
|
75
|
+
r.value = "当前表单不支持外部新增";
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
} else if (t.name === h) {
|
|
79
|
+
if (!l.includes("edit")) {
|
|
80
|
+
r.value = "当前表单不支持外部编辑";
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
} else if (t.name === L) {
|
|
84
|
+
if (!l.includes("detail")) {
|
|
85
|
+
r.value = "当前表单不支持外部详情";
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
} else {
|
|
89
|
+
r.value = "未知的页面";
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
if (a.tableType == 3) {
|
|
93
|
+
r.value = "不支持附表外部链接";
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
if (s.setCgformRecord(a), t.name === h || t.name === L) {
|
|
97
|
+
const { dataId: m } = t.params;
|
|
98
|
+
if (!m) {
|
|
99
|
+
r.value = "参数错误";
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
if (o = yield K(u, m), !o.success) {
|
|
103
|
+
r.value = o.message;
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
const f = o.result;
|
|
107
|
+
if ((f == null ? void 0 : f.id) !== m) {
|
|
108
|
+
r.value = "数据不存在或已删除";
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
s.setDataRecord(f);
|
|
112
|
+
}
|
|
113
|
+
} catch (t) {
|
|
114
|
+
r.value = (t == null ? void 0 : t.message) || t;
|
|
115
|
+
} finally {
|
|
116
|
+
i.value = !1;
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
return {
|
|
121
|
+
pageLoading: i,
|
|
122
|
+
pageErrorTip: r,
|
|
123
|
+
initCgformShare: c
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
const W = k({
|
|
127
|
+
name: "DefaultLayout",
|
|
128
|
+
components: {
|
|
129
|
+
LayoutHeader: U,
|
|
130
|
+
LayoutContent: x,
|
|
131
|
+
ErrorTip: D,
|
|
132
|
+
Layout: w
|
|
133
|
+
},
|
|
134
|
+
setup() {
|
|
135
|
+
const { prefixCls: e } = $("default-layout"), { initCgformShare: s, pageLoading: i, pageErrorTip: r } = Q(), { getIsMobile: c } = P(), { getShowFullHeaderRef: t } = N(), { getShowSidebar: u, getIsMixSidebar: o, getShowMenu: a } = B(), n = O(), l = I(() => {
|
|
136
|
+
let m = ["ant-layout"];
|
|
137
|
+
return (S(o) || S(a)) && m.push("ant-layout-has-sider"), m;
|
|
138
|
+
});
|
|
139
|
+
return A(E.currentRoute, () => {
|
|
140
|
+
s();
|
|
141
|
+
}, { immediate: !0 }), {
|
|
142
|
+
pageLoading: i,
|
|
143
|
+
pageErrorTip: r,
|
|
144
|
+
getShowFullHeaderRef: t,
|
|
145
|
+
getShowSidebar: u,
|
|
146
|
+
prefixCls: e,
|
|
147
|
+
getIsMobile: c,
|
|
148
|
+
getIsMixSidebar: o,
|
|
149
|
+
layoutClass: l,
|
|
150
|
+
lockEvents: n
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
}), X = {
|
|
154
|
+
key: 0,
|
|
155
|
+
style: { "text-align": "center", "padding-top": "120px" }
|
|
156
|
+
};
|
|
157
|
+
function Y(e, s, i, r, c, t) {
|
|
158
|
+
const u = p("a-spin"), o = p("ErrorTip"), a = p("LayoutHeader"), n = p("LayoutContent"), l = p("Layout");
|
|
159
|
+
return e.pageLoading ? (d(), H("div", X, [
|
|
160
|
+
g(u, { tip: "加载中…" })
|
|
161
|
+
])) : e.pageErrorTip ? (d(), _(o, {
|
|
162
|
+
key: 1,
|
|
163
|
+
subTitle: e.pageErrorTip
|
|
164
|
+
}, null, 8, ["subTitle"])) : (d(), _(l, b({
|
|
165
|
+
key: 2,
|
|
166
|
+
class: e.prefixCls
|
|
167
|
+
}, e.lockEvents), {
|
|
168
|
+
default: y(() => [
|
|
169
|
+
e.getIsMobile ? M("", !0) : (d(), _(a, {
|
|
170
|
+
key: 0,
|
|
171
|
+
fixed: ""
|
|
172
|
+
})),
|
|
173
|
+
g(l, {
|
|
174
|
+
class: T([e.layoutClass])
|
|
175
|
+
}, {
|
|
176
|
+
default: y(() => [
|
|
177
|
+
g(l, {
|
|
178
|
+
class: T(`${e.prefixCls}-main`)
|
|
179
|
+
}, {
|
|
180
|
+
default: y(() => [
|
|
181
|
+
g(n)
|
|
182
|
+
]),
|
|
183
|
+
_: 1
|
|
184
|
+
}, 8, ["class"])
|
|
185
|
+
]),
|
|
186
|
+
_: 1
|
|
187
|
+
}, 8, ["class"])
|
|
188
|
+
]),
|
|
189
|
+
_: 1
|
|
190
|
+
}, 16, ["class"]));
|
|
191
|
+
}
|
|
192
|
+
const ye = /* @__PURE__ */ G(W, [["render", Y]]);
|
|
193
|
+
export {
|
|
194
|
+
ye as default
|
|
195
|
+
};
|