@jeecg/online 3.7.0-beta → 3.7.4-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-84cbd344.mjs +254 -0
- package/AiModal-26903538.mjs +84 -0
- package/AppForgetPassword-52443f23.mjs +310 -0
- package/AppLogin-ecf798fa.mjs +287 -0
- package/AppLoginHeader-4432c584.mjs +27 -0
- package/AppNameEmail-3303a037.mjs +180 -0
- package/AppRegister-79a62c59.mjs +303 -0
- package/AppTenant-f0bef7ca.mjs +373 -0
- package/AppThirdForm-fd8b4604.mjs +189 -0
- package/AuthButtonConfig-d5bffca0.mjs +156 -0
- package/AuthButtonTree-b0bd6c40.mjs +165 -0
- package/{AuthDataConfig-7bb0cd85.mjs → AuthDataConfig-d3b7afa4.mjs} +30 -29
- package/{AuthDataTree-6e3bb86f.mjs → AuthDataTree-f14a98d9.mjs} +47 -47
- package/AuthFieldConfig-f1e224cc.mjs +245 -0
- package/AuthFieldTree-5cc0da05.mjs +232 -0
- package/{AuthManagerDrawer-5e2ed5ce.mjs → AuthManagerDrawer-32556109.mjs} +9 -8
- package/{AuthSetterModal-6f74449c.mjs → AuthSetterModal-364f1f67.mjs} +12 -11
- package/BuiltInButtonList-bb6cf95c.mjs +10 -0
- package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
- package/CgformAddressModal-1131274c.mjs +260 -0
- package/CgformCopyList-5fba0810.mjs +252 -0
- package/CgformModal-c4a4e0c2.mjs +667 -0
- package/{CgreportModal-5a23d089.mjs → CgreportModal-8a84aae5.mjs} +186 -172
- package/{CheckDictTable-b5cb0e2b.mjs → CheckDictTable-8a938e3a.mjs} +37 -34
- package/CodeFileListModal-a924902a.mjs +159 -0
- package/CodeFileViewModal-405e2b58.mjs +253 -0
- package/CodeGeneratorModal-2e1dc13d.mjs +281 -0
- package/CustomButtonList-c453b654.mjs +274 -0
- package/{DBAttributeTable-95dc66c1.mjs → DBAttributeTable-1a45c7b7.mjs} +80 -72
- package/DbToOnlineModal-f28ff0a3.mjs +168 -0
- package/{DetailForm-4aa2570b.mjs → DetailForm-c592b8d8.mjs} +50 -49
- package/DropMenuItem-1e49abea.mjs +44 -0
- package/{EnhanceJavaModal-98934198.mjs → EnhanceJavaModal-d5a93f2a.mjs} +62 -62
- package/{EnhanceJsHistory-9c4acdaf.mjs → EnhanceJsHistory-8ddb0657.mjs} +35 -35
- package/{EnhanceJsModal-247f640d.mjs → EnhanceJsModal-dc4f9ade.mjs} +154 -138
- package/{EnhanceSqlModal-65b74b0f.mjs → EnhanceSqlModal-984f045d.mjs} +67 -67
- package/ErrorTip-bb616e32.mjs +7 -0
- package/ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs +60 -0
- package/{ExtendConfigModal-00f2fb55.mjs → ExtendConfigModal-7d70f362.mjs} +2 -2
- package/{FieldExtendJsonModal-cc7fce26.mjs → FieldExtendJsonModal-bf04d70e.mjs} +2 -2
- package/{FileSelectModal-38660e3c.mjs → FileSelectModal-ffc69d4a.mjs} +23 -23
- package/{ForeignKeyTable-a78cb5ad.mjs → ForeignKeyTable-92decaea.mjs} +3 -3
- package/{IndexTable-1b496559.mjs → IndexTable-2ded2014.mjs} +28 -20
- package/JModalTip-a927f85d.mjs +49 -0
- package/JOnlineSearchSelect-04ec87d0.mjs +128 -0
- package/{LeftDepart-8ade4bf7.mjs → LeftDepart-52cb6743.mjs} +1 -1
- package/LeftRole-b0e0b496.mjs +86 -0
- package/{LeftUser-b4d1372a.mjs → LeftUser-dd4b10e2.mjs} +30 -30
- package/{LinkTableConfigModal-a138c85e.mjs → LinkTableConfigModal-7eeb3e58.mjs} +43 -31
- package/{LinkTableFieldConfigModal-17b413b0.mjs → LinkTableFieldConfigModal-b078fcef.mjs} +1 -1
- package/{LinkTableListPiece-2660d709.mjs → LinkTableListPiece-e016b8e6.mjs} +1 -1
- package/{ModalFormDemo-0544737d.mjs → ModalFormDemo-aaa719a7.mjs} +1 -1
- package/OnlCgformErpList-5c5acdaa.mjs +488 -0
- package/OnlCgformErpSubTable-e1b88312.mjs +441 -0
- package/{OnlCgformInnerSubTable-290ace5d.mjs → OnlCgformInnerSubTable-6b6fa15a.mjs} +106 -107
- package/OnlCgformInnerTableList-b283a525.mjs +474 -0
- package/OnlCgformTabList-91e3dd78.mjs +424 -0
- package/OnlineAutoList-84475f1b.mjs +513 -0
- package/OnlineAutoModal-95f46901.mjs +260 -0
- package/OnlineAutoTreeList-20b9ce04.mjs +523 -0
- package/OnlineCustomModal-c8b1e780.mjs +232 -0
- package/{OnlineDetailModal-2a271e0b.mjs → OnlineDetailModal-5b412bb9.mjs} +74 -65
- package/OnlineForm-58282699.mjs +1012 -0
- package/{OnlineFormDetail-e036cd11.mjs → OnlineFormDetail-fc087725.mjs} +7 -7
- package/{OnlineFormUrlAdd-7fb3dcca.mjs → OnlineFormUrlAdd-bc9105bb.mjs} +10 -10
- package/{OnlineFormUrlDetail-b2292137.mjs → OnlineFormUrlDetail-ad912560.mjs} +12 -12
- package/{OnlineFormUrlEdit-44080fb3.mjs → OnlineFormUrlEdit-f2fa79ff.mjs} +10 -10
- package/OnlineFormUrlSuccess-76813d45.mjs +59 -0
- package/OnlineQueryForm-9248341f.mjs +484 -0
- package/{OnlineSearchFormItem-6feacae6.mjs → OnlineSearchFormItem-1e437bd3.mjs} +82 -82
- package/{OnlineSelectCascade-471fcc76.mjs → OnlineSelectCascade-d631ed72.mjs} +1 -1
- package/{OnlineSubFormDetail-03f8ee5c.mjs → OnlineSubFormDetail-8be879b9.mjs} +53 -54
- package/{OnlineTabAutoModal-7b9bcd0b.mjs → OnlineTabAutoModal-c9ca3c24.mjs} +108 -95
- package/{OnlineTabDetailModal-88143301.mjs → OnlineTabDetailModal-fd4c9a72.mjs} +36 -36
- package/OnlineTabForm-1940e88b.mjs +814 -0
- package/{OnlineTabFormDetail-bbf23caa.mjs → OnlineTabFormDetail-2aa67564.mjs} +17 -17
- package/{PageAttributeTable-6c23547b.mjs → PageAttributeTable-66e7b485.mjs} +169 -149
- package/PhoneLoginForm-86437a9d.mjs +214 -0
- package/{ProcessOnlineForm-b42198f5.mjs → ProcessOnlineForm-98ede18d.mjs} +64 -58
- package/{QueryTable-96b3dbd0.mjs → QueryTable-65d3f54f.mjs} +40 -37
- package/SetSwitchOptions-f914bc17.mjs +62 -0
- package/ShareAddView-657f0f8b.mjs +86 -0
- package/ShareEditView-1b945fd3.mjs +92 -0
- package/ShareView-222ed3d8.mjs +80 -0
- package/ShareView.vue_vue_type_script_setup_true_lang-44fbeaff.mjs +162 -0
- package/SingleView-23b0cb4e.mjs +68 -0
- package/SingleView.vue_vue_type_style_index_0_lang-e0f2f6c0.mjs +131 -0
- package/SuperQuery-46032e66.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-53df4c33.mjs +41 -0
- package/{auth.data-22948e87.mjs → auth.data-626c5083.mjs} +68 -30
- package/button.data-fe45d43b.mjs +12 -0
- package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
- package/{enhance.data-3304d553.mjs → enhance.data-6601ff44.mjs} +9 -8
- package/index-19eaef11.mjs +11 -0
- package/index-1a2e8832.mjs +135 -0
- package/{index-581bef24.mjs → index-2fb8e07f.mjs} +59 -59
- package/index-5e89258d.mjs +8 -0
- package/index-9e1e1e53.mjs +57 -0
- package/{index-d2abb8a0.mjs → index-a039036e.mjs} +273 -262
- package/index-c5a79b0b.mjs +219 -0
- package/index-cce225be.mjs +110 -0
- package/index-f2c2d1cf.mjs +74 -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-f3cb9156.mjs +378 -0
- package/useExtendComponent-bb98e568.mjs +4460 -0
- package/useListButton-98908683.mjs +719 -0
- package/{useSchemas-47e45edc.mjs → useSchemas-b074f3a1.mjs} +88 -46
- package/useTableSync-075826a1.mjs +89 -0
- package/utils-9fce7606.mjs +16 -0
- package/AiModal-fe3988fb.mjs +0 -84
- package/AuthButtonConfig-d50a0a65.mjs +0 -134
- package/AuthButtonTree-589395ed.mjs +0 -156
- package/AuthFieldConfig-490fc0ab.mjs +0 -139
- package/AuthFieldTree-b7cd091e.mjs +0 -232
- package/CgformCopyList-8077ccc6.mjs +0 -250
- package/CgformModal-36faf29a.mjs +0 -621
- package/CodeFileListModal-0e26b7e0.mjs +0 -158
- package/CodeFileViewModal-9d4a5b5f.mjs +0 -248
- package/CodeGeneratorModal-b722d976.mjs +0 -238
- package/CustomButtonList-37639061.mjs +0 -381
- package/DbToOnlineModal-f49b9530.mjs +0 -166
- package/JModalTip-4a83aaed.mjs +0 -49
- package/JOnlineSearchSelect-34a37ec9.mjs +0 -95
- package/LeftRole-7d8c5acc.mjs +0 -86
- package/OnlCgformErpList-30e416c8.mjs +0 -470
- package/OnlCgformErpSubTable-9a876058.mjs +0 -427
- package/OnlCgformInnerTableList-f89b6687.mjs +0 -458
- package/OnlCgformTabList-7a2f2c03.mjs +0 -408
- package/OnlineAutoList-46c6c8b9.mjs +0 -493
- package/OnlineAutoModal-971bef13.mjs +0 -236
- package/OnlineAutoTreeList-3b92454c.mjs +0 -502
- package/OnlineCustomModal-594244f3.mjs +0 -232
- package/OnlineForm-018981b2.mjs +0 -924
- package/OnlineFormUrlSuccess-af285b02.mjs +0 -59
- package/OnlineQueryForm-998c12a4.mjs +0 -444
- package/OnlineTabForm-9ad7d29a.mjs +0 -805
- package/SetSwitchOptions-a452fa0f.mjs +0 -62
- package/SuperQuery-cbfba908.mjs +0 -975
- package/auth.api-d3a6c4b3.mjs +0 -39
- package/index-173949bb.mjs +0 -57
- package/useCgformList-8755a94e.mjs +0 -426
- package/useExtendComponent-bb7cca20.mjs +0 -4295
- package/useListButton-7ddb9a46.mjs +0 -697
- package/useTableSync-f6089e8a.mjs +0 -87
- /package/{OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs} +0 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
var h = (i, p, o) => new Promise((t, n) => {
|
|
2
|
+
var u = (a) => {
|
|
3
|
+
try {
|
|
4
|
+
e(o.next(a));
|
|
5
|
+
} catch (s) {
|
|
6
|
+
n(s);
|
|
7
|
+
}
|
|
8
|
+
}, c = (a) => {
|
|
9
|
+
try {
|
|
10
|
+
e(o.throw(a));
|
|
11
|
+
} catch (s) {
|
|
12
|
+
n(s);
|
|
13
|
+
}
|
|
14
|
+
}, e = (a) => a.done ? t(a.value) : Promise.resolve(a.value).then(u, c);
|
|
15
|
+
e((o = o.apply(i, p)).next());
|
|
16
|
+
});
|
|
17
|
+
import { useDebounceFn as O } from "@vueuse/core";
|
|
18
|
+
import { defHttp as P } from "/@/utils/http/axios";
|
|
19
|
+
import { useMessage as k } from "/@/hooks/web/useMessage";
|
|
20
|
+
import { ref as m, watch as S, resolveComponent as _, openBlock as g, createBlock as y, withCtx as w, createElementBlock as B, Fragment as D, renderList as H, createTextVNode as I, toDisplayString as q } from "vue";
|
|
21
|
+
import { _ as L } from "./index-9e1e1e53.mjs";
|
|
22
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
23
|
+
import "vue-router";
|
|
24
|
+
const { createMessage: N } = k(), T = {
|
|
25
|
+
name: "JOnlineSearchSelect",
|
|
26
|
+
props: {
|
|
27
|
+
placeholder: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: "",
|
|
30
|
+
required: !1
|
|
31
|
+
},
|
|
32
|
+
value: {
|
|
33
|
+
type: String,
|
|
34
|
+
required: !1
|
|
35
|
+
},
|
|
36
|
+
// online CgReport item id
|
|
37
|
+
fieldId: {
|
|
38
|
+
type: String,
|
|
39
|
+
required: !0
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
emits: ["update:value"],
|
|
43
|
+
setup(i, { emit: p }) {
|
|
44
|
+
let o = m(""), t = m([]), n = !0, u = !1, c = "";
|
|
45
|
+
const e = m(1);
|
|
46
|
+
S(
|
|
47
|
+
() => i.value,
|
|
48
|
+
(l) => {
|
|
49
|
+
l ? o.value = l : o.value = void 0;
|
|
50
|
+
},
|
|
51
|
+
{ immediate: !0 }
|
|
52
|
+
), S(
|
|
53
|
+
() => i.fieldId,
|
|
54
|
+
() => {
|
|
55
|
+
v();
|
|
56
|
+
},
|
|
57
|
+
{ immediate: !0 }
|
|
58
|
+
);
|
|
59
|
+
const a = O((l) => {
|
|
60
|
+
c = l, e.value = 1, n = !0, s(l);
|
|
61
|
+
}, 800);
|
|
62
|
+
function s(l = "") {
|
|
63
|
+
return h(this, null, function* () {
|
|
64
|
+
let d = {
|
|
65
|
+
keyword: l,
|
|
66
|
+
fieldId: i.fieldId,
|
|
67
|
+
pageSize: 10,
|
|
68
|
+
pageNo: e.value
|
|
69
|
+
}, f = "/online/cgreport/api/getReportDictList";
|
|
70
|
+
yield P.get({ url: f, params: d }, { isTransformResponse: !1 }).then((r) => {
|
|
71
|
+
r.success ? r.result && r.result.length > 0 ? (e.value == 1 ? t.value = [...r.result] : t.value.push(...r.result), e.value++) : (e.value == 1 && (t.value = []), n = !1) : N.warning(r.message);
|
|
72
|
+
}).catch(() => {
|
|
73
|
+
e.value != 1 && e.value--;
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
function C(l) {
|
|
78
|
+
p("update:value", l), (!l || l == "") && v();
|
|
79
|
+
}
|
|
80
|
+
function v() {
|
|
81
|
+
t.value = [], e.value = 1, n = !0, c = "", s();
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
selectOptions: t,
|
|
85
|
+
handleSearch: a,
|
|
86
|
+
handleChange: C,
|
|
87
|
+
selected: o,
|
|
88
|
+
handlePopupScroll: (l) => h(this, null, function* () {
|
|
89
|
+
const { target: d } = l, { scrollTop: f, scrollHeight: r, clientHeight: x } = d;
|
|
90
|
+
!u && n && f + x >= r - 10 && (u = !0, s(c).finally(() => {
|
|
91
|
+
u = !1;
|
|
92
|
+
}));
|
|
93
|
+
})
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
function F(i, p, o, t, n, u) {
|
|
98
|
+
const c = _("a-select-option"), e = _("a-select");
|
|
99
|
+
return g(), y(e, {
|
|
100
|
+
value: t.selected,
|
|
101
|
+
placeholder: o.placeholder,
|
|
102
|
+
"show-search": "",
|
|
103
|
+
"default-active-first-option": !1,
|
|
104
|
+
"show-arrow": !0,
|
|
105
|
+
"filter-option": !1,
|
|
106
|
+
"not-found-content": null,
|
|
107
|
+
onSearch: t.handleSearch,
|
|
108
|
+
onChange: t.handleChange,
|
|
109
|
+
onPopupScroll: t.handlePopupScroll,
|
|
110
|
+
allowClear: ""
|
|
111
|
+
}, {
|
|
112
|
+
default: w(() => [
|
|
113
|
+
(g(!0), B(D, null, H(t.selectOptions, (a) => (g(), y(c, {
|
|
114
|
+
key: a.value
|
|
115
|
+
}, {
|
|
116
|
+
default: w(() => [
|
|
117
|
+
I(q(a.text), 1)
|
|
118
|
+
]),
|
|
119
|
+
_: 2
|
|
120
|
+
}, 1024))), 128))
|
|
121
|
+
]),
|
|
122
|
+
_: 1
|
|
123
|
+
}, 8, ["value", "placeholder", "onSearch", "onChange", "onPopupScroll"]);
|
|
124
|
+
}
|
|
125
|
+
const G = /* @__PURE__ */ L(T, [["render", F]]);
|
|
126
|
+
export {
|
|
127
|
+
G as default
|
|
128
|
+
};
|
|
@@ -16,7 +16,7 @@ var f = (n, r, o) => new Promise((s, c) => {
|
|
|
16
16
|
});
|
|
17
17
|
import { defineComponent as h, ref as u, resolveComponent as m, openBlock as y, createElementBlock as K, createBlock as _, withCtx as D, createVNode as v, normalizeStyle as S, createCommentVNode as k } from "vue";
|
|
18
18
|
import { queryTreeList as x } from "/@/api/common/api";
|
|
19
|
-
import { _ as C } from "./index-
|
|
19
|
+
import { _ as C } from "./index-9e1e1e53.mjs";
|
|
20
20
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
21
21
|
import "/@/hooks/web/useMessage";
|
|
22
22
|
import "vue-router";
|
|
@@ -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-9e1e1e53.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-9e1e1e53.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-9e1e1e53.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-9e1e1e53.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-9e1e1e53.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-9e1e1e53.mjs";
|
|
6
6
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
7
7
|
import "/@/hooks/web/useMessage";
|
|
8
8
|
import "vue-router";
|