@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
package/LeftRole-7d8c5acc.mjs
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
var m = (r, l, o) => new Promise((i, n) => {
|
|
2
|
-
var c = (e) => {
|
|
3
|
-
try {
|
|
4
|
-
a(o.next(e));
|
|
5
|
-
} catch (t) {
|
|
6
|
-
n(t);
|
|
7
|
-
}
|
|
8
|
-
}, s = (e) => {
|
|
9
|
-
try {
|
|
10
|
-
a(o.throw(e));
|
|
11
|
-
} catch (t) {
|
|
12
|
-
n(t);
|
|
13
|
-
}
|
|
14
|
-
}, a = (e) => e.done ? i(e.value) : Promise.resolve(e.value).then(c, s);
|
|
15
|
-
a((o = o.apply(r, l)).next());
|
|
16
|
-
});
|
|
17
|
-
import { defineComponent as g, resolveComponent as _, openBlock as w, createBlock as b, withCtx as S, createElementVNode as T } from "vue";
|
|
18
|
-
import { defHttp as h } from "/@/utils/http/axios";
|
|
19
|
-
import { BasicTable as C } from "/@/components/Table";
|
|
20
|
-
import { useListPage as R } from "/@/hooks/system/useListPage";
|
|
21
|
-
import { _ as x } from "./index-173949bb.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: C },
|
|
28
|
-
emits: ["select"],
|
|
29
|
-
setup(r, { emit: l }) {
|
|
30
|
-
const { tableContext: o, createMessage: i } = R({
|
|
31
|
-
tableProps: {
|
|
32
|
-
api: a,
|
|
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 && l("select", t[0]);
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
canResize: !1,
|
|
47
|
-
clickToRowSelect: !0,
|
|
48
|
-
useSearchForm: !1,
|
|
49
|
-
showActionColumn: !1,
|
|
50
|
-
showTableSetting: !1
|
|
51
|
-
}
|
|
52
|
-
}), [n, { clearSelectedRowKeys: c }, { rowSelection: s }] = o;
|
|
53
|
-
function a(t) {
|
|
54
|
-
return m(this, null, function* () {
|
|
55
|
-
let { code: p, success: f, result: u, message: d } = yield h.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: s, registerTable: n, clearSelected: e };
|
|
69
|
-
}
|
|
70
|
-
}), $ = /* @__PURE__ */ T("span", null, null, -1);
|
|
71
|
-
function y(r, l, o, i, n, c) {
|
|
72
|
-
const s = _("BasicTable");
|
|
73
|
-
return w(), b(s, {
|
|
74
|
-
onRegister: r.registerTable,
|
|
75
|
-
rowSelection: r.rowSelection
|
|
76
|
-
}, {
|
|
77
|
-
tableTop: S(() => [
|
|
78
|
-
$
|
|
79
|
-
]),
|
|
80
|
-
_: 1
|
|
81
|
-
}, 8, ["onRegister", "rowSelection"]);
|
|
82
|
-
}
|
|
83
|
-
const E = /* @__PURE__ */ x(B, [["render", y]]);
|
|
84
|
-
export {
|
|
85
|
-
E as default
|
|
86
|
-
};
|
|
@@ -1,470 +0,0 @@
|
|
|
1
|
-
var I = (K, b, g) => new Promise((h, C) => {
|
|
2
|
-
var E = (a) => {
|
|
3
|
-
try {
|
|
4
|
-
k(g.next(a));
|
|
5
|
-
} catch (r) {
|
|
6
|
-
C(r);
|
|
7
|
-
}
|
|
8
|
-
}, T = (a) => {
|
|
9
|
-
try {
|
|
10
|
-
k(g.throw(a));
|
|
11
|
-
} catch (r) {
|
|
12
|
-
C(r);
|
|
13
|
-
}
|
|
14
|
-
}, k = (a) => a.done ? h(a.value) : Promise.resolve(a.value).then(E, T);
|
|
15
|
-
k((g = g.apply(K, b)).next());
|
|
16
|
-
});
|
|
17
|
-
import { ref as _, watch as j, resolveComponent as R, openBlock as n, createElementBlock as d, createElementVNode as F, createVNode as p, unref as e, createBlock as u, normalizeClass as Ge, withCtx as l, createTextVNode as f, createCommentVNode as m, Fragment as H, renderList as V, toDisplayString as L, withDirectives as Ue, vShow as We, mergeProps as Xe, toHandlers as Ye, resolveDynamicComponent as Ze, normalizeProps as eo, guardReactiveProps as oo } from "vue";
|
|
18
|
-
import { BasicTable as to, TableAction as no } from "/@/components/Table";
|
|
19
|
-
import { useMessage as io } from "/@/hooks/web/useMessage";
|
|
20
|
-
import lo from "./OnlineAutoModal-971bef13.mjs";
|
|
21
|
-
import ro from "./OnlineCustomModal-594244f3.mjs";
|
|
22
|
-
import q from "./OnlineDetailModal-2a271e0b.mjs";
|
|
23
|
-
import ao from "/@/components/Form/src/jeecg/components/JImportModal.vue";
|
|
24
|
-
import { u as so, a as co } from "./useListButton-7ddb9a46.mjs";
|
|
25
|
-
import { u as uo, a as po, O as mo, g as go } from "./useExtendComponent-bb7cca20.mjs";
|
|
26
|
-
import fo from "./OnlineQueryForm-998c12a4.mjs";
|
|
27
|
-
import yo from "./SuperQuery-cbfba908.mjs";
|
|
28
|
-
import { u as _o } from "./useOnlinePopEvent-687070b7.mjs";
|
|
29
|
-
import bo from "./OnlCgformErpSubTable-9a876058.mjs";
|
|
30
|
-
import { E as G } from "./constant-fa63bd66.mjs";
|
|
31
|
-
import { cloneDeep as ho } from "lodash-es";
|
|
32
|
-
import "/@/components/Modal";
|
|
33
|
-
import "./OnlineForm-018981b2.mjs";
|
|
34
|
-
import "/@/components/Form/index";
|
|
35
|
-
import "/@/utils/http/axios";
|
|
36
|
-
import "/@/utils";
|
|
37
|
-
import "/@/components/Loading";
|
|
38
|
-
import "/@/components/jeecg/JVxeTable/types";
|
|
39
|
-
import "/@/utils/auth";
|
|
40
|
-
import "@ant-design/icons-vue";
|
|
41
|
-
import "/@/hooks/core/useContext";
|
|
42
|
-
import "/@/utils/mitt";
|
|
43
|
-
import "./useCustomHook-acb00837.mjs";
|
|
44
|
-
import "/@/utils/cache";
|
|
45
|
-
import "/@/utils/common/compUtils";
|
|
46
|
-
import "/@/store/modules/user";
|
|
47
|
-
import "/@/hooks/web/useAppInject";
|
|
48
|
-
import "/@/utils/is";
|
|
49
|
-
import "./OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs";
|
|
50
|
-
import "./index-173949bb.mjs";
|
|
51
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
52
|
-
import "vue-router";
|
|
53
|
-
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
54
|
-
import "./OnlineFormDetail-e036cd11.mjs";
|
|
55
|
-
import "./DetailForm-4aa2570b.mjs";
|
|
56
|
-
import "/@/utils/propTypes";
|
|
57
|
-
import "/@/utils/dict";
|
|
58
|
-
import "/@/utils/dict/JDictSelectUtil";
|
|
59
|
-
import "/@/utils/dict/index";
|
|
60
|
-
import "/@/api/common/api";
|
|
61
|
-
import "/@/components/Form/src/utils/Area";
|
|
62
|
-
import "/@/components/Preview/index";
|
|
63
|
-
import "/@/components/Markdown";
|
|
64
|
-
import "./OnlineSubFormDetail-03f8ee5c.mjs";
|
|
65
|
-
import "/@/router";
|
|
66
|
-
import "/@/hooks/core/onMountedOrActivated";
|
|
67
|
-
import "/@/store/modules/multipleTab";
|
|
68
|
-
import "./cgformState-d9f8ec42.mjs";
|
|
69
|
-
import "pinia";
|
|
70
|
-
import "/@/store";
|
|
71
|
-
import "ant-design-vue";
|
|
72
|
-
import "/@/hooks/system/useMethods";
|
|
73
|
-
import "/@/components/Form/src/componentMap";
|
|
74
|
-
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
75
|
-
import "/@/views/system/user/user.api";
|
|
76
|
-
import "/@/utils/desform/customExpression";
|
|
77
|
-
import "/@/store/modules/permission";
|
|
78
|
-
import "/@/hooks/system/useListPage";
|
|
79
|
-
import "./LinkTableListPiece-2660d709.mjs";
|
|
80
|
-
import "/@/assets/images/placeholderImage.png";
|
|
81
|
-
import "./OnlineSelectCascade-471fcc76.mjs";
|
|
82
|
-
import "./JModalTip-4a83aaed.mjs";
|
|
83
|
-
import "@vueuse/core";
|
|
84
|
-
import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
|
|
85
|
-
import "./SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs";
|
|
86
|
-
import "/@/hooks/web/useDesign";
|
|
87
|
-
const Co = { class: "p-2 cgformErpList" }, ko = { class: "content" }, vo = {
|
|
88
|
-
key: 0,
|
|
89
|
-
style: { "font-size": "12px", "font-style": "italic" }
|
|
90
|
-
}, So = {
|
|
91
|
-
key: 0,
|
|
92
|
-
style: { "font-size": "12px", "font-style": "italic" }
|
|
93
|
-
}, wo = ["src", "onClick"], Ro = ["innerHTML", "onClick"], To = ["innerHTML"], Mo = ["title"], Ut = {
|
|
94
|
-
__name: "OnlCgformErpList",
|
|
95
|
-
setup(K) {
|
|
96
|
-
const b = _([]), g = _(0), h = _(null), C = _({}), { createMessage: E } = io(), T = _({}), k = (t, i) => {
|
|
97
|
-
T.value[t] = i;
|
|
98
|
-
}, {
|
|
99
|
-
ID: a,
|
|
100
|
-
onlineTableContext: r,
|
|
101
|
-
onlineQueryFormOuter: U,
|
|
102
|
-
loading: B,
|
|
103
|
-
reload: y,
|
|
104
|
-
dataSource: Q,
|
|
105
|
-
pagination: W,
|
|
106
|
-
handleSpecialConfig: X,
|
|
107
|
-
getColumnList: Y,
|
|
108
|
-
handleChangeInTable: Z,
|
|
109
|
-
loadData: ee,
|
|
110
|
-
superQueryButtonRef: O,
|
|
111
|
-
superQueryStatus: oe,
|
|
112
|
-
handleSuperQuery: te,
|
|
113
|
-
onlineExtConfigJson: J,
|
|
114
|
-
handleFormConfig: ne,
|
|
115
|
-
registerCustomModal: ie,
|
|
116
|
-
tableReloading: le
|
|
117
|
-
} = so({ themeTemplate: G });
|
|
118
|
-
if (!a.value)
|
|
119
|
-
throw E.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
|
|
120
|
-
let { initCgEnhanceJs: re } = uo(r);
|
|
121
|
-
const {
|
|
122
|
-
buttonSwitch: v,
|
|
123
|
-
cgLinkButtonList: Io,
|
|
124
|
-
cgTopButtonList: x,
|
|
125
|
-
importUrl: ae,
|
|
126
|
-
registerModal: se,
|
|
127
|
-
handleAdd: ce,
|
|
128
|
-
handleEdit: Lo,
|
|
129
|
-
handleBatchDelete: ue,
|
|
130
|
-
registerImportModal: pe,
|
|
131
|
-
onImportExcel: de,
|
|
132
|
-
onExportExcel: me,
|
|
133
|
-
cgButtonJsHandler: ge,
|
|
134
|
-
cgButtonActionHandler: fe,
|
|
135
|
-
cgButtonLinkHandler: Eo,
|
|
136
|
-
handleSubmitFlow: Bo,
|
|
137
|
-
getDropDownActions: ye,
|
|
138
|
-
getActions: _e,
|
|
139
|
-
initButtonList: be,
|
|
140
|
-
initButtonSwitch: he,
|
|
141
|
-
registerDetailModal: Ce,
|
|
142
|
-
registerBpmModal: ke
|
|
143
|
-
} = co(r, J, {
|
|
144
|
-
singleDelCallback: (t) => {
|
|
145
|
-
Array.isArray(r.selectedRowKeys) && r.selectedRowKeys.includes(t) && r.clearSelectedRow();
|
|
146
|
-
},
|
|
147
|
-
editClickCallback: (t, i) => {
|
|
148
|
-
Array.isArray(r.selectedRowKeys) && r.selectedRowKeys.includes(t) && i.stopPropagation();
|
|
149
|
-
}
|
|
150
|
-
}), D = _(!1);
|
|
151
|
-
function ve() {
|
|
152
|
-
return I(this, null, function* () {
|
|
153
|
-
try {
|
|
154
|
-
D.value = !0, yield me();
|
|
155
|
-
} finally {
|
|
156
|
-
setTimeout(() => D.value = !1, 1500);
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
|
-
const {
|
|
161
|
-
columns: Se,
|
|
162
|
-
actionColumn: we,
|
|
163
|
-
selectedKeys: S,
|
|
164
|
-
rowSelection: Re,
|
|
165
|
-
enableScrollBar: Te,
|
|
166
|
-
tableScroll: Me,
|
|
167
|
-
downloadRowFile: Ie,
|
|
168
|
-
getImgView: Le,
|
|
169
|
-
getPcaText: $,
|
|
170
|
-
getFormatDate: Ee,
|
|
171
|
-
handleColumnResult: Be,
|
|
172
|
-
hrefComponent: M,
|
|
173
|
-
viewOnlineCellImage: Oe,
|
|
174
|
-
hrefMainTableId: xe,
|
|
175
|
-
registerOnlineHrefModal: De,
|
|
176
|
-
registerPopModal: Pe,
|
|
177
|
-
openPopModal: Ae,
|
|
178
|
-
onlinePopModalRef: Fe,
|
|
179
|
-
popTableId: N,
|
|
180
|
-
handleClickFieldHref: He
|
|
181
|
-
} = po(r, J);
|
|
182
|
-
j(
|
|
183
|
-
S,
|
|
184
|
-
(t) => {
|
|
185
|
-
var i;
|
|
186
|
-
(i = S.value) != null && i.length ? h.value = Q.value.find((s) => s.id === S.value[0]) : h.value = null;
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
immediate: !0
|
|
190
|
-
}
|
|
191
|
-
), j(
|
|
192
|
-
a,
|
|
193
|
-
() => {
|
|
194
|
-
Ke();
|
|
195
|
-
},
|
|
196
|
-
{ immediate: !0 }
|
|
197
|
-
);
|
|
198
|
-
function Ke() {
|
|
199
|
-
return I(this, null, function* () {
|
|
200
|
-
B.value = !0;
|
|
201
|
-
let t = yield Y(G);
|
|
202
|
-
Qe(t.main), b.value = t.subList, yield ee(), B.value = !1, r.execButtonEnhance("setup");
|
|
203
|
-
});
|
|
204
|
-
}
|
|
205
|
-
function Qe(t) {
|
|
206
|
-
let i = re(t.enhanceJs);
|
|
207
|
-
r.EnhanceJS = i, be(t.cgButtonList), he(t.hideColumns), Be(t, "radio"), X(t), C.value = {
|
|
208
|
-
cacheKey: `online_erp_mainTable_${t.currentTableName}`
|
|
209
|
-
};
|
|
210
|
-
}
|
|
211
|
-
function Je(t) {
|
|
212
|
-
r.queryParam = t, y({ mode: "search" });
|
|
213
|
-
}
|
|
214
|
-
function $e() {
|
|
215
|
-
return I(this, arguments, function* (t = {}) {
|
|
216
|
-
yield go(O);
|
|
217
|
-
const i = ho(t), { properties: s = {} } = i;
|
|
218
|
-
Object.entries(s).forEach(([P, A]) => {
|
|
219
|
-
A.view == "table" && delete s[P];
|
|
220
|
-
}), O.value.init(i);
|
|
221
|
-
});
|
|
222
|
-
}
|
|
223
|
-
function Ne(t) {
|
|
224
|
-
N.value = t.id;
|
|
225
|
-
let i = {
|
|
226
|
-
title: t.describe
|
|
227
|
-
};
|
|
228
|
-
t.record && t.record.id && (i.record = t.record, i.isUpdate = !0), Ae(!0, i);
|
|
229
|
-
}
|
|
230
|
-
_o(Ne);
|
|
231
|
-
const ze = (t, i) => {
|
|
232
|
-
te(t, i), S.value = [];
|
|
233
|
-
};
|
|
234
|
-
return (t, i) => {
|
|
235
|
-
var z;
|
|
236
|
-
const s = R("a-button"), P = R("a-tab-pane"), A = R("a-tabs"), je = R("a-modal"), Ve = R("BpmGraphicModal");
|
|
237
|
-
return n(), d("div", Co, [
|
|
238
|
-
F("div", ko, [
|
|
239
|
-
p(fo, {
|
|
240
|
-
ref_key: "onlineQueryFormOuter",
|
|
241
|
-
ref: U,
|
|
242
|
-
id: e(a),
|
|
243
|
-
onSearch: Je,
|
|
244
|
-
onLoaded: $e
|
|
245
|
-
}, null, 8, ["id"]),
|
|
246
|
-
e(le) ? m("", !0) : (n(), u(e(to), {
|
|
247
|
-
key: 0,
|
|
248
|
-
ref: "onlineTable",
|
|
249
|
-
rowKey: "jeecg_row_key",
|
|
250
|
-
canResize: !0,
|
|
251
|
-
bordered: !0,
|
|
252
|
-
showIndexColumn: !1,
|
|
253
|
-
loading: e(B),
|
|
254
|
-
columns: e(Se),
|
|
255
|
-
dataSource: e(Q),
|
|
256
|
-
pagination: e(W),
|
|
257
|
-
rowSelection: e(Re),
|
|
258
|
-
actionColumn: e(we),
|
|
259
|
-
showTableSetting: !0,
|
|
260
|
-
clickToRowSelect: !0,
|
|
261
|
-
scroll: e(Me),
|
|
262
|
-
onTableRedo: e(y),
|
|
263
|
-
tableSetting: C.value,
|
|
264
|
-
class: Ge({ "j-table-force-nowrap": e(Te) }),
|
|
265
|
-
onChange: e(Z)
|
|
266
|
-
}, {
|
|
267
|
-
tableTitle: l(() => [
|
|
268
|
-
e(v).add ? (n(), u(s, {
|
|
269
|
-
key: 0,
|
|
270
|
-
preIcon: "ant-design:plus-outlined",
|
|
271
|
-
type: "primary",
|
|
272
|
-
onClick: e(ce)
|
|
273
|
-
}, {
|
|
274
|
-
default: l(() => [
|
|
275
|
-
f("新增")
|
|
276
|
-
]),
|
|
277
|
-
_: 1
|
|
278
|
-
}, 8, ["onClick"])) : m("", !0),
|
|
279
|
-
e(v).import ? (n(), u(s, {
|
|
280
|
-
key: 1,
|
|
281
|
-
preIcon: "ant-design:import-outlined",
|
|
282
|
-
type: "primary",
|
|
283
|
-
onClick: e(de)
|
|
284
|
-
}, {
|
|
285
|
-
default: l(() => [
|
|
286
|
-
f("导入")
|
|
287
|
-
]),
|
|
288
|
-
_: 1
|
|
289
|
-
}, 8, ["onClick"])) : m("", !0),
|
|
290
|
-
e(v).export ? (n(), u(s, {
|
|
291
|
-
key: 2,
|
|
292
|
-
preIcon: "ant-design:export-outlined",
|
|
293
|
-
type: "primary",
|
|
294
|
-
loading: D.value,
|
|
295
|
-
onClick: ve
|
|
296
|
-
}, {
|
|
297
|
-
default: l(() => [
|
|
298
|
-
f(" 导出")
|
|
299
|
-
]),
|
|
300
|
-
_: 1
|
|
301
|
-
}, 8, ["loading"])) : m("", !0),
|
|
302
|
-
e(x) && e(x).length > 0 ? (n(!0), d(H, { key: 3 }, V(e(x), (o, c) => (n(), d(H, null, [
|
|
303
|
-
o.optType == "js" ? (n(), u(s, {
|
|
304
|
-
key: "cgbtn" + c,
|
|
305
|
-
onClick: (w) => e(ge)(o.buttonCode),
|
|
306
|
-
type: "primary",
|
|
307
|
-
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
308
|
-
}, {
|
|
309
|
-
default: l(() => [
|
|
310
|
-
f(L(o.buttonName), 1)
|
|
311
|
-
]),
|
|
312
|
-
_: 2
|
|
313
|
-
}, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (n(), u(s, {
|
|
314
|
-
key: "cgbtn" + c,
|
|
315
|
-
onClick: (w) => e(fe)(o.buttonCode),
|
|
316
|
-
type: "primary",
|
|
317
|
-
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
318
|
-
}, {
|
|
319
|
-
default: l(() => [
|
|
320
|
-
f(L(o.buttonName), 1)
|
|
321
|
-
]),
|
|
322
|
-
_: 2
|
|
323
|
-
}, 1032, ["onClick", "preIcon"])) : m("", !0)
|
|
324
|
-
], 64))), 256)) : m("", !0),
|
|
325
|
-
e(v).batch_delete ? Ue((n(), u(s, {
|
|
326
|
-
key: 4,
|
|
327
|
-
preIcon: "ant-design:delete-outlined",
|
|
328
|
-
onClick: e(ue)
|
|
329
|
-
}, {
|
|
330
|
-
default: l(() => [
|
|
331
|
-
f(" 批量删除")
|
|
332
|
-
]),
|
|
333
|
-
_: 1
|
|
334
|
-
}, 8, ["onClick"])), [
|
|
335
|
-
[We, e(S).length > 0]
|
|
336
|
-
]) : m("", !0),
|
|
337
|
-
e(v).super_query ? (n(), u(yo, {
|
|
338
|
-
key: 5,
|
|
339
|
-
ref_key: "superQueryButtonRef",
|
|
340
|
-
ref: O,
|
|
341
|
-
online: "",
|
|
342
|
-
status: e(oe),
|
|
343
|
-
onSearch: ze
|
|
344
|
-
}, null, 8, ["status"])) : m("", !0)
|
|
345
|
-
]),
|
|
346
|
-
fileSlot: l(({ text: o, record: c, column: w }) => [
|
|
347
|
-
o ? (n(), u(s, {
|
|
348
|
-
key: 1,
|
|
349
|
-
ghost: !0,
|
|
350
|
-
type: "primary",
|
|
351
|
-
preIcon: "ant-design:download",
|
|
352
|
-
size: "small",
|
|
353
|
-
onClick: (qe) => e(Ie)(o, c, w, e(a))
|
|
354
|
-
}, {
|
|
355
|
-
default: l(() => [
|
|
356
|
-
f(" 下载 ")
|
|
357
|
-
]),
|
|
358
|
-
_: 2
|
|
359
|
-
}, 1032, ["onClick"])) : (n(), d("span", vo, "无文件"))
|
|
360
|
-
]),
|
|
361
|
-
imgSlot: l(({ text: o }) => [
|
|
362
|
-
o ? (n(), d("img", {
|
|
363
|
-
key: 1,
|
|
364
|
-
src: e(Le)(o),
|
|
365
|
-
alt: "图片不存在",
|
|
366
|
-
class: "online-cell-image",
|
|
367
|
-
onClick: (c) => e(Oe)(o)
|
|
368
|
-
}, null, 8, wo)) : (n(), d("span", So, "无图片"))
|
|
369
|
-
]),
|
|
370
|
-
htmlSlot: l(({ text: o, column: c, record: w }) => [
|
|
371
|
-
c.fieldHref ? (n(), d("a", {
|
|
372
|
-
key: 0,
|
|
373
|
-
innerHTML: o,
|
|
374
|
-
onClick: (qe) => e(He)(c.fieldHref, w)
|
|
375
|
-
}, null, 8, Ro)) : (n(), d("div", {
|
|
376
|
-
key: 1,
|
|
377
|
-
innerHTML: o
|
|
378
|
-
}, null, 8, To))
|
|
379
|
-
]),
|
|
380
|
-
pcaSlot: l(({ text: o }) => [
|
|
381
|
-
F("div", {
|
|
382
|
-
title: e($)(o)
|
|
383
|
-
}, L(e($)(o)), 9, Mo)
|
|
384
|
-
]),
|
|
385
|
-
dateSlot: l(({ text: o, column: c }) => [
|
|
386
|
-
F("span", null, L(e(Ee)(o, c)), 1)
|
|
387
|
-
]),
|
|
388
|
-
action: l(({ record: o }) => [
|
|
389
|
-
p(e(no), {
|
|
390
|
-
actions: e(_e)(o),
|
|
391
|
-
dropDownActions: e(ye)(o)
|
|
392
|
-
}, null, 8, ["actions", "dropDownActions"])
|
|
393
|
-
]),
|
|
394
|
-
_: 1
|
|
395
|
-
}, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "tableSetting", "class", "onChange"])),
|
|
396
|
-
(z = b.value) != null && z.length ? (n(), u(A, {
|
|
397
|
-
key: 1,
|
|
398
|
-
animated: "",
|
|
399
|
-
activeKey: g.value,
|
|
400
|
-
"onUpdate:activeKey": i[0] || (i[0] = (o) => g.value = o),
|
|
401
|
-
style: { margin: "10px" }
|
|
402
|
-
}, {
|
|
403
|
-
default: l(() => [
|
|
404
|
-
(n(!0), d(H, null, V(b.value, (o, c) => (n(), u(P, {
|
|
405
|
-
tab: o.description,
|
|
406
|
-
key: c,
|
|
407
|
-
forceRender: ""
|
|
408
|
-
}, {
|
|
409
|
-
default: l(() => [
|
|
410
|
-
p(bo, {
|
|
411
|
-
data: o,
|
|
412
|
-
mainTableSelectedRowRcord: h.value,
|
|
413
|
-
onGetSource: k
|
|
414
|
-
}, null, 8, ["data", "mainTableSelectedRowRcord"])
|
|
415
|
-
]),
|
|
416
|
-
_: 2
|
|
417
|
-
}, 1032, ["tab"]))), 128))
|
|
418
|
-
]),
|
|
419
|
-
_: 1
|
|
420
|
-
}, 8, ["activeKey"])) : m("", !0),
|
|
421
|
-
p(lo, {
|
|
422
|
-
id: e(a),
|
|
423
|
-
subTableSource: T.value,
|
|
424
|
-
onRegister: e(se),
|
|
425
|
-
onSuccess: e(y),
|
|
426
|
-
onFormConfig: e(ne)
|
|
427
|
-
}, null, 8, ["id", "subTableSource", "onRegister", "onSuccess", "onFormConfig"]),
|
|
428
|
-
p(q, {
|
|
429
|
-
id: e(a),
|
|
430
|
-
onRegister: e(Ce)
|
|
431
|
-
}, null, 8, ["id", "onRegister"]),
|
|
432
|
-
p(ao, {
|
|
433
|
-
onRegister: e(pe),
|
|
434
|
-
url: e(ae)(),
|
|
435
|
-
onOk: e(y),
|
|
436
|
-
online: ""
|
|
437
|
-
}, null, 8, ["onRegister", "url", "onOk"]),
|
|
438
|
-
p(je, Xe(e(M).model, Ye(e(M).on)), {
|
|
439
|
-
default: l(() => [
|
|
440
|
-
(n(), u(Ze(e(M).is), eo(oo(e(M).params)), null, 16))
|
|
441
|
-
]),
|
|
442
|
-
_: 1
|
|
443
|
-
}, 16),
|
|
444
|
-
p(ro, {
|
|
445
|
-
onRegister: e(ie),
|
|
446
|
-
onSuccess: e(y)
|
|
447
|
-
}, null, 8, ["onRegister", "onSuccess"]),
|
|
448
|
-
p(q, {
|
|
449
|
-
id: e(xe),
|
|
450
|
-
onRegister: e(De),
|
|
451
|
-
defaultFullscreen: !1
|
|
452
|
-
}, null, 8, ["id", "onRegister"]),
|
|
453
|
-
p(mo, {
|
|
454
|
-
ref_key: "onlinePopModalRef",
|
|
455
|
-
ref: Fe,
|
|
456
|
-
id: e(N),
|
|
457
|
-
onRegister: e(Pe),
|
|
458
|
-
onSuccess: e(y),
|
|
459
|
-
request: "",
|
|
460
|
-
topTip: ""
|
|
461
|
-
}, null, 8, ["id", "onRegister", "onSuccess"]),
|
|
462
|
-
p(Ve, { onRegister: e(ke) }, null, 8, ["onRegister"])
|
|
463
|
-
])
|
|
464
|
-
]);
|
|
465
|
-
};
|
|
466
|
-
}
|
|
467
|
-
};
|
|
468
|
-
export {
|
|
469
|
-
Ut as default
|
|
470
|
-
};
|