@jeecg/online 3.7.1-RC → 3.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AccountLoginForm-d2fed52f.mjs +254 -0
- package/AiModal-fbe4b68a.mjs +84 -0
- package/AppForgetPassword-3b3bec82.mjs +310 -0
- package/AppLogin-cd2e2a87.mjs +287 -0
- package/AppLoginHeader-9b5be678.mjs +27 -0
- package/AppNameEmail-b4e32ae8.mjs +180 -0
- package/AppRegister-7117b66a.mjs +303 -0
- package/AppTenant-5817729b.mjs +373 -0
- package/AppThirdForm-d14fb5e5.mjs +189 -0
- package/AuthButtonConfig-5e3b6d72.mjs +156 -0
- package/AuthButtonTree-7b4ec967.mjs +165 -0
- package/{AuthDataConfig-5c3a8e6b.mjs → AuthDataConfig-48ee9228.mjs} +23 -23
- package/{AuthDataTree-dd7a1240.mjs → AuthDataTree-02b3ba05.mjs} +43 -43
- package/{AuthFieldConfig-9f6fa06c.mjs → AuthFieldConfig-562cc6b6.mjs} +71 -71
- package/AuthFieldTree-2d458c0c.mjs +232 -0
- package/{AuthManagerDrawer-76f15e8d.mjs → AuthManagerDrawer-38299230.mjs} +6 -6
- package/{AuthSetterModal-f5d2e87f.mjs → AuthSetterModal-78b06703.mjs} +9 -9
- package/BuiltInButtonList-bb6cf95c.mjs +10 -0
- package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
- package/CgformAddressModal-1b9cbe19.mjs +260 -0
- package/CgformCopyList-580bba0f.mjs +252 -0
- package/{CgformModal-21c5c387.mjs → CgformModal-12951453.mjs} +190 -194
- package/{CgreportModal-edefa8e3.mjs → CgreportModal-bfeb93ed.mjs} +181 -168
- package/{CheckDictTable-1bc8322d.mjs → CheckDictTable-3c1e59e0.mjs} +3 -3
- package/CodeFileListModal-71752603.mjs +159 -0
- package/{CodeFileViewModal-2fe911f4.mjs → CodeFileViewModal-eb803769.mjs} +66 -66
- package/CodeGeneratorModal-2fe1e920.mjs +281 -0
- package/CustomButtonList-22b5cdb3.mjs +274 -0
- package/{DBAttributeTable-285d40db.mjs → DBAttributeTable-eb25565c.mjs} +3 -3
- package/{DbToOnlineModal-5dcb67c3.mjs → DbToOnlineModal-049b4bbd.mjs} +53 -54
- package/{DetailForm-deecbf3d.mjs → DetailForm-c127c27f.mjs} +5 -5
- package/DropMenuItem-b1a8f47d.mjs +44 -0
- package/{EnhanceJavaModal-45c66cd5.mjs → EnhanceJavaModal-1a4d696b.mjs} +62 -62
- package/{EnhanceJsHistory-fab3102e.mjs → EnhanceJsHistory-48cf43ad.mjs} +35 -35
- package/{EnhanceJsModal-175357a1.mjs → EnhanceJsModal-0e1f15f8.mjs} +102 -102
- package/{EnhanceSqlModal-7ea1b300.mjs → EnhanceSqlModal-6a1aa471.mjs} +67 -67
- package/ErrorTip-bb616e32.mjs +7 -0
- package/ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs +60 -0
- package/{ExtendConfigModal-a89ae052.mjs → ExtendConfigModal-37af21a5.mjs} +2 -2
- package/{FieldExtendJsonModal-32135634.mjs → FieldExtendJsonModal-9441e08e.mjs} +2 -2
- package/{FileSelectModal-1643c8b9.mjs → FileSelectModal-04490919.mjs} +23 -23
- package/{ForeignKeyTable-7f7e28a7.mjs → ForeignKeyTable-06300a47.mjs} +3 -3
- package/{IndexTable-cdcc2b48.mjs → IndexTable-79bddd5c.mjs} +3 -3
- package/JModalTip-192fafa1.mjs +49 -0
- package/{JOnlineSearchSelect-22aae934.mjs → JOnlineSearchSelect-9abcf657.mjs} +1 -1
- package/{LeftDepart-d5615ed9.mjs → LeftDepart-35d78655.mjs} +1 -1
- package/LeftRole-9d88976d.mjs +86 -0
- package/{LeftUser-22baa378.mjs → LeftUser-04c89aea.mjs} +30 -30
- package/{LinkTableConfigModal-9242d750.mjs → LinkTableConfigModal-5f94ef13.mjs} +43 -31
- package/{LinkTableFieldConfigModal-24adc50c.mjs → LinkTableFieldConfigModal-40753de5.mjs} +1 -1
- package/{LinkTableListPiece-f3a8e0d7.mjs → LinkTableListPiece-179035c7.mjs} +1 -1
- package/{ModalFormDemo-711418db.mjs → ModalFormDemo-3a85920c.mjs} +1 -1
- package/OnlCgformErpList-8fd15fc1.mjs +488 -0
- package/OnlCgformErpSubTable-3515150b.mjs +441 -0
- package/{OnlCgformInnerSubTable-6c23781f.mjs → OnlCgformInnerSubTable-13e888c6.mjs} +38 -38
- package/OnlCgformInnerTableList-2e8f853c.mjs +474 -0
- package/OnlCgformTabList-583ac15f.mjs +424 -0
- package/OnlineAutoList-36ec0957.mjs +513 -0
- package/OnlineAutoModal-c0743caf.mjs +260 -0
- package/OnlineAutoTreeList-1cd718be.mjs +523 -0
- package/OnlineCustomModal-661ee850.mjs +232 -0
- package/{OnlineDetailModal-d5895734.mjs → OnlineDetailModal-785e848e.mjs} +74 -65
- package/OnlineForm-c1fb38eb.mjs +1012 -0
- package/{OnlineFormDetail-022ca117.mjs → OnlineFormDetail-50186870.mjs} +7 -7
- package/{OnlineFormUrlAdd-9715d70a.mjs → OnlineFormUrlAdd-905bf251.mjs} +9 -9
- package/{OnlineFormUrlDetail-8f864b1a.mjs → OnlineFormUrlDetail-a9dd2bfa.mjs} +11 -11
- package/{OnlineFormUrlEdit-ac985b36.mjs → OnlineFormUrlEdit-b8941f05.mjs} +9 -9
- package/OnlineFormUrlSuccess-ecaf6a21.mjs +59 -0
- package/OnlineQueryForm-ca6186a3.mjs +484 -0
- package/{OnlineSearchFormItem-6c557343.mjs → OnlineSearchFormItem-5c503a51.mjs} +82 -82
- package/{OnlineSelectCascade-05c40fef.mjs → OnlineSelectCascade-a3e686b3.mjs} +1 -1
- package/{OnlineSubFormDetail-58e896ce.mjs → OnlineSubFormDetail-be1ad3b9.mjs} +52 -53
- package/{OnlineTabAutoModal-47b18ad6.mjs → OnlineTabAutoModal-fb59b573.mjs} +108 -95
- package/{OnlineTabDetailModal-82de1465.mjs → OnlineTabDetailModal-4b9c4838.mjs} +36 -36
- package/OnlineTabForm-89389384.mjs +814 -0
- package/{OnlineTabFormDetail-8d0c40c0.mjs → OnlineTabFormDetail-72173ae4.mjs} +17 -17
- package/{PageAttributeTable-25e3b7da.mjs → PageAttributeTable-345b97fe.mjs} +108 -108
- package/PhoneLoginForm-8ca7e2d4.mjs +214 -0
- package/{ProcessOnlineForm-148632fe.mjs → ProcessOnlineForm-485b5679.mjs} +32 -32
- package/{QueryTable-f7bfca7f.mjs → QueryTable-f0a88d78.mjs} +3 -3
- package/SetSwitchOptions-cdcb22a1.mjs +62 -0
- package/ShareAddView-f713c0a5.mjs +86 -0
- package/ShareEditView-691764ad.mjs +92 -0
- package/ShareView-df344a8d.mjs +80 -0
- package/ShareView.vue_vue_type_script_setup_true_lang-560459c9.mjs +162 -0
- package/SingleView-ad0287d6.mjs +68 -0
- package/SingleView.vue_vue_type_style_index_0_lang-ce96670b.mjs +131 -0
- package/SuperQuery-2b293e3b.mjs +974 -0
- package/{SuperQueryValComponent-7ad86d4b.mjs → SuperQueryValComponent-5a9ccfd4.mjs} +1 -1
- package/{SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs → SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs} +11 -11
- package/{auth.api-ea1d33d4.mjs → auth.api-53df4c33.mjs} +17 -17
- package/{auth.data-511e5197.mjs → auth.data-626c5083.mjs} +16 -12
- package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
- package/{enhance.data-a67572e1.mjs → enhance.data-6601ff44.mjs} +1 -1
- package/index-181f8344.mjs +219 -0
- package/index-19eaef11.mjs +11 -0
- package/{index-30e0e923.mjs → index-3c7392a4.mjs} +272 -262
- package/{index-f30613d1.mjs → index-3ccda826.mjs} +59 -59
- package/index-5e89258d.mjs +8 -0
- package/index-93341e02.mjs +110 -0
- package/index-bef7fe2d.mjs +74 -0
- package/index-d6f9ada7.mjs +135 -0
- package/index-f3683351.mjs +57 -0
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/shareStore-7de6c7a6.mjs +67 -0
- package/style.css +1 -1
- package/useCgformList-13c8aab7.mjs +378 -0
- package/useExtendComponent-3f5734ca.mjs +4459 -0
- package/useListButton-ee23874a.mjs +719 -0
- package/{useSchemas-a9c75b0f.mjs → useSchemas-f1819e54.mjs} +72 -39
- package/{useTableSync-d7e9f18d.mjs → useTableSync-075826a1.mjs} +1 -1
- package/utils-9fce7606.mjs +16 -0
- package/AiModal-6de335e3.mjs +0 -84
- package/AuthButtonConfig-89763932.mjs +0 -154
- package/AuthButtonTree-2d87d0b3.mjs +0 -157
- package/AuthFieldTree-e326fc38.mjs +0 -232
- package/CgformCopyList-365b3e8f.mjs +0 -251
- package/CodeFileListModal-24601898.mjs +0 -159
- package/CodeGeneratorModal-f09fe903.mjs +0 -282
- package/CustomButtonList-f07bc695.mjs +0 -397
- package/JModalTip-b055ab60.mjs +0 -49
- package/LeftRole-2ed8a2bf.mjs +0 -86
- package/OnlCgformErpList-58acdfa0.mjs +0 -470
- package/OnlCgformErpSubTable-9b1e1938.mjs +0 -426
- package/OnlCgformInnerTableList-4b5e14ed.mjs +0 -458
- package/OnlCgformTabList-019ad753.mjs +0 -408
- package/OnlineAutoList-48589d09.mjs +0 -493
- package/OnlineAutoModal-c2928847.mjs +0 -239
- package/OnlineAutoTreeList-3baa1d00.mjs +0 -503
- package/OnlineCustomModal-9e17b6ce.mjs +0 -232
- package/OnlineForm-9f1153ba.mjs +0 -985
- package/OnlineFormUrlSuccess-3dfc54ab.mjs +0 -59
- package/OnlineQueryForm-eedb9a60.mjs +0 -466
- package/OnlineTabForm-27655c83.mjs +0 -817
- package/SetSwitchOptions-b2af757f.mjs +0 -62
- package/SuperQuery-a8592995.mjs +0 -967
- package/index-1d1a6e56.mjs +0 -57
- package/useCgformList-f41d4dc1.mjs +0 -426
- package/useExtendComponent-dcae5c78.mjs +0 -4399
- package/useListButton-bfac4ecf.mjs +0 -697
- /package/{OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs} +0 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
var m = (n, r, o) => new Promise((i, s) => {
|
|
2
|
+
var c = (e) => {
|
|
3
|
+
try {
|
|
4
|
+
l(o.next(e));
|
|
5
|
+
} catch (t) {
|
|
6
|
+
s(t);
|
|
7
|
+
}
|
|
8
|
+
}, a = (e) => {
|
|
9
|
+
try {
|
|
10
|
+
l(o.throw(e));
|
|
11
|
+
} catch (t) {
|
|
12
|
+
s(t);
|
|
13
|
+
}
|
|
14
|
+
}, l = (e) => e.done ? i(e.value) : Promise.resolve(e.value).then(c, a);
|
|
15
|
+
l((o = o.apply(n, r)).next());
|
|
16
|
+
});
|
|
17
|
+
import { defineComponent as g, resolveComponent as w, openBlock as b, createBlock as S, withCtx as T, createElementVNode as _ } from "vue";
|
|
18
|
+
import { defHttp as C } from "/@/utils/http/axios";
|
|
19
|
+
import { BasicTable as R } from "/@/components/Table";
|
|
20
|
+
import { useListPage as h } from "/@/hooks/system/useListPage";
|
|
21
|
+
import { _ as x } from "./index-f3683351.mjs";
|
|
22
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
23
|
+
import "/@/hooks/web/useMessage";
|
|
24
|
+
import "vue-router";
|
|
25
|
+
const B = g({
|
|
26
|
+
name: "LeftRole",
|
|
27
|
+
components: { BasicTable: R },
|
|
28
|
+
emits: ["select"],
|
|
29
|
+
setup(n, { emit: r }) {
|
|
30
|
+
const { tableContext: o, createMessage: i } = h({
|
|
31
|
+
tableProps: {
|
|
32
|
+
api: l,
|
|
33
|
+
rowKey: "id",
|
|
34
|
+
size: "small",
|
|
35
|
+
bordered: !0,
|
|
36
|
+
columns: [
|
|
37
|
+
{ title: "角色编码", align: "center", dataIndex: "roleCode" },
|
|
38
|
+
{ title: "角色名称", align: "center", dataIndex: "roleName" }
|
|
39
|
+
],
|
|
40
|
+
rowSelection: {
|
|
41
|
+
type: "radio",
|
|
42
|
+
onChange(t) {
|
|
43
|
+
t.length > 0 && r("select", t[0]);
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
canResize: !1,
|
|
47
|
+
clickToRowSelect: !0,
|
|
48
|
+
useSearchForm: !1,
|
|
49
|
+
showActionColumn: !1,
|
|
50
|
+
showTableSetting: !1
|
|
51
|
+
}
|
|
52
|
+
}), [s, { clearSelectedRowKeys: c }, { rowSelection: a }] = o;
|
|
53
|
+
function l(t) {
|
|
54
|
+
return m(this, null, function* () {
|
|
55
|
+
let { code: p, success: f, result: u, message: d } = yield C.get(
|
|
56
|
+
{
|
|
57
|
+
url: "/sys/role/list",
|
|
58
|
+
params: t
|
|
59
|
+
},
|
|
60
|
+
{ isTransformResponse: !1 }
|
|
61
|
+
);
|
|
62
|
+
return f ? u : (p === 510 && i.warning(d), {});
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
function e() {
|
|
66
|
+
c();
|
|
67
|
+
}
|
|
68
|
+
return { rowSelection: a, registerTable: s, clearSelected: e };
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
function $(n, r, o, i, s, c) {
|
|
72
|
+
const a = w("BasicTable");
|
|
73
|
+
return b(), S(a, {
|
|
74
|
+
onRegister: n.registerTable,
|
|
75
|
+
rowSelection: n.rowSelection
|
|
76
|
+
}, {
|
|
77
|
+
tableTop: T(() => r[0] || (r[0] = [
|
|
78
|
+
_("span", null, null, -1)
|
|
79
|
+
])),
|
|
80
|
+
_: 1
|
|
81
|
+
}, 8, ["onRegister", "rowSelection"]);
|
|
82
|
+
}
|
|
83
|
+
const D = /* @__PURE__ */ x(B, [["render", $]]);
|
|
84
|
+
export {
|
|
85
|
+
D as default
|
|
86
|
+
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
var m = (
|
|
1
|
+
var m = (r, n, o) => new Promise((i, s) => {
|
|
2
2
|
var c = (e) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
4
|
+
l(o.next(e));
|
|
5
5
|
} catch (t) {
|
|
6
|
-
|
|
6
|
+
s(t);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, a = (e) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
10
|
+
l(o.throw(e));
|
|
11
11
|
} catch (t) {
|
|
12
|
-
|
|
12
|
+
s(t);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, l = (e) => e.done ? i(e.value) : Promise.resolve(e.value).then(c, a);
|
|
15
|
+
l((o = o.apply(r, n)).next());
|
|
16
16
|
});
|
|
17
|
-
import { defineComponent as g, resolveComponent as w, openBlock as
|
|
18
|
-
import { defHttp as
|
|
17
|
+
import { defineComponent as g, resolveComponent as w, openBlock as b, createBlock as h, withCtx as S, createElementVNode as T } from "vue";
|
|
18
|
+
import { defHttp as _ } from "/@/utils/http/axios";
|
|
19
19
|
import { BasicTable as C } from "/@/components/Table";
|
|
20
20
|
import { useListPage as x } from "/@/hooks/system/useListPage";
|
|
21
|
-
import { _ as B } from "./index-
|
|
21
|
+
import { _ as B } from "./index-f3683351.mjs";
|
|
22
22
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
23
23
|
import "/@/hooks/web/useMessage";
|
|
24
24
|
import "vue-router";
|
|
@@ -26,10 +26,10 @@ const R = g({
|
|
|
26
26
|
name: "LeftUser",
|
|
27
27
|
components: { BasicTable: C },
|
|
28
28
|
emits: ["select"],
|
|
29
|
-
setup(
|
|
29
|
+
setup(r, { emit: n }) {
|
|
30
30
|
const { tableContext: o, createMessage: i } = x({
|
|
31
31
|
tableProps: {
|
|
32
|
-
api:
|
|
32
|
+
api: l,
|
|
33
33
|
rowKey: "id",
|
|
34
34
|
size: "small",
|
|
35
35
|
bordered: !0,
|
|
@@ -40,7 +40,7 @@ const R = g({
|
|
|
40
40
|
rowSelection: {
|
|
41
41
|
type: "radio",
|
|
42
42
|
onChange(t) {
|
|
43
|
-
t.length > 0 &&
|
|
43
|
+
t.length > 0 && n("select", t[0]);
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
formConfig: {
|
|
@@ -68,38 +68,38 @@ const R = g({
|
|
|
68
68
|
showActionColumn: !1,
|
|
69
69
|
showTableSetting: !1
|
|
70
70
|
}
|
|
71
|
-
}), [
|
|
72
|
-
function
|
|
71
|
+
}), [s, { clearSelectedRowKeys: c }, { rowSelection: a }] = o;
|
|
72
|
+
function l(t) {
|
|
73
73
|
return m(this, null, function* () {
|
|
74
|
-
let { code: p, success: f, result:
|
|
74
|
+
let { code: p, success: f, result: u, message: d } = yield _.get(
|
|
75
75
|
{
|
|
76
76
|
url: "/sys/user/list",
|
|
77
77
|
params: t
|
|
78
78
|
},
|
|
79
79
|
{ isTransformResponse: !1 }
|
|
80
80
|
);
|
|
81
|
-
return f ?
|
|
81
|
+
return f ? u : (p === 510 && i.warning(d), {});
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
function e() {
|
|
85
85
|
c();
|
|
86
86
|
}
|
|
87
|
-
return { rowSelection:
|
|
87
|
+
return { rowSelection: a, registerTable: s, clearSelected: e };
|
|
88
88
|
}
|
|
89
|
-
})
|
|
90
|
-
function
|
|
91
|
-
const
|
|
92
|
-
return
|
|
93
|
-
onRegister:
|
|
94
|
-
rowSelection:
|
|
89
|
+
});
|
|
90
|
+
function $(r, n, o, i, s, c) {
|
|
91
|
+
const a = w("BasicTable");
|
|
92
|
+
return b(), h(a, {
|
|
93
|
+
onRegister: r.registerTable,
|
|
94
|
+
rowSelection: r.rowSelection
|
|
95
95
|
}, {
|
|
96
|
-
tableTop:
|
|
97
|
-
|
|
98
|
-
]),
|
|
96
|
+
tableTop: S(() => n[0] || (n[0] = [
|
|
97
|
+
T("span", null, null, -1)
|
|
98
|
+
])),
|
|
99
99
|
_: 1
|
|
100
100
|
}, 8, ["onRegister", "rowSelection"]);
|
|
101
101
|
}
|
|
102
|
-
const
|
|
102
|
+
const A = /* @__PURE__ */ B(R, [["render", $]]);
|
|
103
103
|
export {
|
|
104
|
-
|
|
104
|
+
A as default
|
|
105
105
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
1
|
+
var I = Object.defineProperty;
|
|
2
2
|
var C = Object.getOwnPropertySymbols;
|
|
3
3
|
var J = Object.prototype.hasOwnProperty, q = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var S = (i,
|
|
5
|
-
for (var l in
|
|
6
|
-
J.call(
|
|
4
|
+
var S = (i, t, l) => t in i ? I(i, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : i[t] = l, T = (i, t) => {
|
|
5
|
+
for (var l in t || (t = {}))
|
|
6
|
+
J.call(t, l) && S(i, l, t[l]);
|
|
7
7
|
if (C)
|
|
8
|
-
for (var l of C(
|
|
9
|
-
q.call(
|
|
8
|
+
for (var l of C(t))
|
|
9
|
+
q.call(t, l) && S(i, l, t[l]);
|
|
10
10
|
return i;
|
|
11
11
|
};
|
|
12
|
-
var u = (i,
|
|
12
|
+
var u = (i, t, l) => new Promise((s, f) => {
|
|
13
13
|
var n = (o) => {
|
|
14
14
|
try {
|
|
15
15
|
d(l.next(o));
|
|
@@ -23,7 +23,7 @@ var u = (i, a, l) => new Promise((s, f) => {
|
|
|
23
23
|
f(c);
|
|
24
24
|
}
|
|
25
25
|
}, d = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(n, h);
|
|
26
|
-
d((l = l.apply(i,
|
|
26
|
+
d((l = l.apply(i, t)).next());
|
|
27
27
|
});
|
|
28
28
|
import { BasicModal as A, useModalInner as G } from "/@/components/Modal";
|
|
29
29
|
import { ref as b, computed as H, resolveComponent as _, openBlock as K, createBlock as $, mergeProps as j, withCtx as k, createVNode as M } from "vue";
|
|
@@ -31,7 +31,7 @@ import { BasicForm as z, useForm as D } from "/@/components/Form/index";
|
|
|
31
31
|
import { defHttp as E } from "/@/utils/http/axios";
|
|
32
32
|
import { omit as Q } from "lodash-es";
|
|
33
33
|
import { useMessage as U } from "/@/hooks/web/useMessage";
|
|
34
|
-
import { _ as W } from "./index-
|
|
34
|
+
import { _ as W } from "./index-f3683351.mjs";
|
|
35
35
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
36
36
|
import "vue-router";
|
|
37
37
|
const X = {
|
|
@@ -41,13 +41,13 @@ const X = {
|
|
|
41
41
|
BasicModal: A,
|
|
42
42
|
BasicForm: z
|
|
43
43
|
},
|
|
44
|
-
setup(i, { emit:
|
|
44
|
+
setup(i, { emit: t }) {
|
|
45
45
|
const l = b(!1), { createMessage: s } = U(), f = b("");
|
|
46
46
|
let n = {};
|
|
47
47
|
const [h, { closeModal: d }] = G((e) => u(this, null, function* () {
|
|
48
48
|
n = T({}, e.record), yield w({ dictTable: e.record.dictTable }), setTimeout(() => u(this, null, function* () {
|
|
49
49
|
let r = Q(e.record, "dictTable");
|
|
50
|
-
yield w(r), yield
|
|
50
|
+
yield w(r), yield L();
|
|
51
51
|
}), 200), f.value = e.fieldName;
|
|
52
52
|
})), o = b(""), c = b(""), F = b([]), v = b([]);
|
|
53
53
|
function x(e) {
|
|
@@ -55,27 +55,27 @@ const X = {
|
|
|
55
55
|
if (e) {
|
|
56
56
|
const r = "/online/cgform/field/listByHeadCode", m = yield E.get({ url: r, params: { headCode: e } });
|
|
57
57
|
if (m && m.length > 0) {
|
|
58
|
-
let p = m.filter((
|
|
59
|
-
p.length > 0 ? F.value = p.map((
|
|
60
|
-
text:
|
|
61
|
-
value:
|
|
58
|
+
let p = m.filter((a) => a.dbFieldName != "id" && a.dbIsPersist == 1 && a.isShowList == 1);
|
|
59
|
+
p.length > 0 ? F.value = p.map((a) => ({
|
|
60
|
+
text: a.dbFieldTxt,
|
|
61
|
+
value: a.dbFieldName
|
|
62
62
|
})) : F.value = [];
|
|
63
|
-
let g = m.filter((
|
|
64
|
-
g.length > 0 ? v.value = g.map((
|
|
65
|
-
text:
|
|
66
|
-
value:
|
|
63
|
+
let g = m.filter((a) => a.dbFieldName != "id" && a.fieldShowType == "image" && a.dbIsPersist == 1);
|
|
64
|
+
g.length > 0 ? v.value = g.map((a) => ({
|
|
65
|
+
text: a.dbFieldTxt,
|
|
66
|
+
value: a.dbFieldName
|
|
67
67
|
})) : v.value = [{ text: "无图片字段可以选择", value: "", key: "", disabled: !0 }];
|
|
68
68
|
} else
|
|
69
69
|
F.value = [], v.value = [{ text: "无图片字段可以选择", value: "", key: "", disabled: !0 }];
|
|
70
70
|
}
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function V(e) {
|
|
74
74
|
return u(this, null, function* () {
|
|
75
75
|
o.value = "", c.value = "", yield x(e);
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
|
-
const
|
|
78
|
+
const N = H(() => {
|
|
79
79
|
let e = F.value, r = o.value, m = c.value;
|
|
80
80
|
return e.filter((p) => p.value != r && p.value != m);
|
|
81
81
|
}), B = [
|
|
@@ -115,7 +115,7 @@ const X = {
|
|
|
115
115
|
titleField: "",
|
|
116
116
|
otherFields: "",
|
|
117
117
|
imageField: ""
|
|
118
|
-
}), yield e.clearValidate()), yield
|
|
118
|
+
}), yield e.clearValidate()), yield V(r);
|
|
119
119
|
})
|
|
120
120
|
})
|
|
121
121
|
},
|
|
@@ -155,12 +155,12 @@ const X = {
|
|
|
155
155
|
// update-begin--author:liaozhiyang---date:20240320---for:【QQYUN-8574】关联记录最多选6个字段
|
|
156
156
|
componentProps: ({ schema: e, tableAction: r, formActionType: m, formModel: p }) => ({
|
|
157
157
|
popContainer: ".link-table-config-modal",
|
|
158
|
-
options:
|
|
158
|
+
options: N.value,
|
|
159
159
|
onChange: (g) => {
|
|
160
160
|
if (g.split(",").length > 6) {
|
|
161
|
-
const
|
|
162
|
-
|
|
163
|
-
const y =
|
|
161
|
+
const a = g.split(",");
|
|
162
|
+
a.pop();
|
|
163
|
+
const y = a.join(",");
|
|
164
164
|
setTimeout(() => {
|
|
165
165
|
p.otherFields = y, n.otherFields = y;
|
|
166
166
|
}, 0), s.warning("最多选择6个字段~");
|
|
@@ -193,27 +193,39 @@ const X = {
|
|
|
193
193
|
{ label: "是", value: !0 }
|
|
194
194
|
]
|
|
195
195
|
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
label: "列表只读",
|
|
199
|
+
field: "isListReadOnly",
|
|
200
|
+
component: "RadioGroup",
|
|
201
|
+
defaultValue: !1,
|
|
202
|
+
componentProps: {
|
|
203
|
+
options: [
|
|
204
|
+
{ label: "否", value: !1 },
|
|
205
|
+
{ label: "是", value: !0 }
|
|
206
|
+
]
|
|
207
|
+
}
|
|
196
208
|
}
|
|
197
|
-
], [P, { validate: O, setFieldsValue: w, clearValidate:
|
|
209
|
+
], [P, { validate: O, setFieldsValue: w, clearValidate: L, resetFields: Z }] = D({
|
|
198
210
|
schemas: B,
|
|
199
211
|
showActionButtonGroup: !1,
|
|
200
212
|
labelAlign: "right"
|
|
201
213
|
});
|
|
202
|
-
function
|
|
214
|
+
function R() {
|
|
203
215
|
return u(this, null, function* () {
|
|
204
216
|
let e = yield O();
|
|
205
|
-
e.fieldName = f.value,
|
|
217
|
+
e.fieldName = f.value, t("success", e), d();
|
|
206
218
|
});
|
|
207
219
|
}
|
|
208
220
|
return {
|
|
209
221
|
registerModal: h,
|
|
210
222
|
spinningLoading: l,
|
|
211
223
|
registerForm: P,
|
|
212
|
-
handleSubmit:
|
|
224
|
+
handleSubmit: R
|
|
213
225
|
};
|
|
214
226
|
}
|
|
215
227
|
};
|
|
216
|
-
function Y(i,
|
|
228
|
+
function Y(i, t, l, s, f, n) {
|
|
217
229
|
const h = _("BasicForm"), d = _("a-spin"), o = _("BasicModal");
|
|
218
230
|
return K(), $(o, j({ wrapClassName: "link-table-config-modal" }, i.$attrs, {
|
|
219
231
|
title: "关联记录配置",
|
|
@@ -31,7 +31,7 @@ import { BasicForm as $, useForm as j } from "/@/components/Form/index";
|
|
|
31
31
|
import { defHttp as G } from "/@/utils/http/axios";
|
|
32
32
|
import { omit as z } from "lodash-es";
|
|
33
33
|
import { useMessage as D } from "/@/hooks/web/useMessage";
|
|
34
|
-
import { _ as E } from "./index-
|
|
34
|
+
import { _ as E } from "./index-f3683351.mjs";
|
|
35
35
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
36
36
|
import "vue-router";
|
|
37
37
|
const Q = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { propTypes as o } from "/@/utils/propTypes";
|
|
2
2
|
import { openBlock as a, createElementBlock as s, createElementVNode as l, toDisplayString as p } from "vue";
|
|
3
|
-
import { _ as c } from "./index-
|
|
3
|
+
import { _ as c } from "./index-f3683351.mjs";
|
|
4
4
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
5
5
|
import "/@/hooks/web/useMessage";
|
|
6
6
|
import "vue-router";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as i, resolveComponent as p, openBlock as a, createElem
|
|
|
2
2
|
import { BasicForm as d, useForm as u } from "/@/components/Form/index";
|
|
3
3
|
import { defHttp as f } from "/@/utils/http/axios";
|
|
4
4
|
import { pick as _ } from "lodash-es";
|
|
5
|
-
import { _ as g } from "./index-
|
|
5
|
+
import { _ as g } from "./index-f3683351.mjs";
|
|
6
6
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
7
7
|
import "/@/hooks/web/useMessage";
|
|
8
8
|
import "vue-router";
|