@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
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
var X = Object.defineProperty;
|
|
2
2
|
var E = Object.getOwnPropertySymbols;
|
|
3
3
|
var Y = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var R = (e,
|
|
5
|
-
for (var
|
|
6
|
-
Y.call(
|
|
4
|
+
var R = (e, o, n) => o in e ? X(e, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[o] = n, A = (e, o) => {
|
|
5
|
+
for (var n in o || (o = {}))
|
|
6
|
+
Y.call(o, n) && R(e, n, o[n]);
|
|
7
7
|
if (E)
|
|
8
|
-
for (var
|
|
9
|
-
Z.call(
|
|
8
|
+
for (var n of E(o))
|
|
9
|
+
Z.call(o, n) && R(e, n, o[n]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
var d = (e,
|
|
12
|
+
var d = (e, o, n) => new Promise((_, p) => {
|
|
13
13
|
var b = (i) => {
|
|
14
14
|
try {
|
|
15
|
-
c(
|
|
15
|
+
c(n.next(i));
|
|
16
16
|
} catch (u) {
|
|
17
17
|
p(u);
|
|
18
18
|
}
|
|
19
19
|
}, s = (i) => {
|
|
20
20
|
try {
|
|
21
|
-
c(
|
|
21
|
+
c(n.throw(i));
|
|
22
22
|
} catch (u) {
|
|
23
23
|
p(u);
|
|
24
24
|
}
|
|
25
|
-
}, c = (i) => i.done ?
|
|
26
|
-
c((
|
|
25
|
+
}, c = (i) => i.done ? _(i.value) : Promise.resolve(i.value).then(b, s);
|
|
26
|
+
c((n = n.apply(e, o)).next());
|
|
27
27
|
});
|
|
28
|
-
import { defineComponent as x, ref as
|
|
28
|
+
import { defineComponent as x, ref as v, reactive as ee, computed as oe, nextTick as ne, resolveComponent as r, openBlock as D, createBlock as q, withCtx as a, createVNode as l, createTextVNode as g, createElementBlock as te, createCommentVNode as L, normalizeProps as ae, guardReactiveProps as le } from "vue";
|
|
29
29
|
import { BasicModal as ie, useModalInner as re, useModal as se } from "/@/components/Modal";
|
|
30
30
|
import { BasicForm as ce, useForm as ue } from "/@/components/Form";
|
|
31
31
|
import { BasicTable as me, TableAction as de } from "/@/components/Table";
|
|
32
32
|
import { useListPage as pe } from "/@/hooks/system/useListPage";
|
|
33
33
|
import { u as fe } from "./useOnlineTest-e4bd8be3.mjs";
|
|
34
|
-
import { b as
|
|
35
|
-
import { c as be, e as
|
|
36
|
-
import { _ as
|
|
37
|
-
import "./cgform.data-
|
|
34
|
+
import { b as ge, c as _e } from "./enhance.data-6601ff44.mjs";
|
|
35
|
+
import { c as be, e as Ce, f as P } from "./enhance.api-138e6826.mjs";
|
|
36
|
+
import { _ as we } from "./index-f3683351.mjs";
|
|
37
|
+
import "./cgform.data-0ca62d09.mjs";
|
|
38
38
|
import "/@/utils/dict";
|
|
39
39
|
import "/@/utils/dict/JDictSelectUtil";
|
|
40
40
|
import "/@/utils/uuid";
|
|
@@ -43,28 +43,28 @@ import "/@/utils/is";
|
|
|
43
43
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
44
44
|
import "/@/hooks/web/useMessage";
|
|
45
45
|
import "vue-router";
|
|
46
|
-
const
|
|
46
|
+
const ye = x({
|
|
47
47
|
name: "EnhanceSqlModal",
|
|
48
48
|
components: { BasicModal: ie, BasicTable: me, BasicForm: ce, TableAction: de },
|
|
49
49
|
emits: ["register"],
|
|
50
50
|
setup() {
|
|
51
|
-
const e =
|
|
51
|
+
const e = v(""), o = v(""), n = v([]), { columns: _ } = _e(n), { doRequest: p, doDeleteRecord: b, tableContext: s } = pe({
|
|
52
52
|
tableProps: {
|
|
53
|
-
api: (
|
|
54
|
-
let { dataSource:
|
|
55
|
-
return
|
|
53
|
+
api: (t) => d(this, null, function* () {
|
|
54
|
+
let { dataSource: y, btnList: J } = yield be(e.value, t);
|
|
55
|
+
return n.value = J, y;
|
|
56
56
|
}),
|
|
57
|
-
columns:
|
|
57
|
+
columns: _,
|
|
58
58
|
canResize: !1,
|
|
59
59
|
useSearchForm: !1,
|
|
60
|
-
beforeFetch(
|
|
61
|
-
return Object.assign(
|
|
60
|
+
beforeFetch(t) {
|
|
61
|
+
return Object.assign(t, { column: "orderNum", order: "asc" });
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
}), [c, { reload: i }, { rowSelection: u, selectedRowKeys:
|
|
65
|
-
e.value =
|
|
66
|
-
})), { aiTestMode:
|
|
67
|
-
onRegister:
|
|
64
|
+
}), [c, { reload: i }, { rowSelection: u, selectedRowKeys: C }] = s, [M, { closeModal: S }] = re((t) => d(this, null, function* () {
|
|
65
|
+
e.value = t.row.id, o.value = t.row.tableName, i();
|
|
66
|
+
})), { aiTestMode: h, genEnhanceSqlData: B } = fe(), [w, m] = se(), f = v(!1), F = ee({
|
|
67
|
+
onRegister: w,
|
|
68
68
|
title: oe(() => f != null && f.value ? "修改" : "新增"),
|
|
69
69
|
width: 800,
|
|
70
70
|
confirmLoading: !1,
|
|
@@ -72,7 +72,7 @@ const we = x({
|
|
|
72
72
|
onCancel: m.closeModal
|
|
73
73
|
});
|
|
74
74
|
let k = {};
|
|
75
|
-
const { formSchemas: N } =
|
|
75
|
+
const { formSchemas: N } = ge(n), [$, { resetFields: O, setFieldsValue: V, validate: G }] = ue({
|
|
76
76
|
schemas: N,
|
|
77
77
|
showActionButtonGroup: !1,
|
|
78
78
|
// update-begin--author:liaozhiyang---date:20231017---for:【issues/790】弹窗内文本框不居中问题
|
|
@@ -82,63 +82,63 @@ const we = x({
|
|
|
82
82
|
// update-end--author:liaozhiyang---date:20231017---for:【issues/790】弹窗内文本框不居中问题
|
|
83
83
|
});
|
|
84
84
|
function I() {
|
|
85
|
-
|
|
85
|
+
S();
|
|
86
86
|
}
|
|
87
|
-
function T(
|
|
87
|
+
function T(t) {
|
|
88
88
|
return d(this, null, function* () {
|
|
89
|
-
var
|
|
90
|
-
f.value =
|
|
89
|
+
var y;
|
|
90
|
+
f.value = t.isUpdate, k = A({}, (y = t.record) != null ? y : {}), m.openModal(), yield ne(), yield O(), V(k);
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
93
|
function j() {
|
|
94
94
|
T({ isUpdate: !1 });
|
|
95
95
|
}
|
|
96
|
-
function z(
|
|
97
|
-
T({ isUpdate: !0, record:
|
|
96
|
+
function z(t) {
|
|
97
|
+
T({ isUpdate: !0, record: t });
|
|
98
98
|
}
|
|
99
99
|
function K() {
|
|
100
|
-
B(e.value,
|
|
100
|
+
B(e.value, o.value);
|
|
101
101
|
}
|
|
102
102
|
function U() {
|
|
103
103
|
return d(this, null, function* () {
|
|
104
|
-
p(() => P(
|
|
104
|
+
p(() => P(C.value));
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
107
|
function H() {
|
|
108
108
|
return d(this, null, function* () {
|
|
109
109
|
try {
|
|
110
110
|
F.confirmLoading = !0;
|
|
111
|
-
let
|
|
112
|
-
|
|
111
|
+
let t = yield G();
|
|
112
|
+
t = Object.assign({}, k, t), yield Ce(e.value, t, f.value), i(), m.closeModal();
|
|
113
113
|
} finally {
|
|
114
114
|
F.confirmLoading = !1;
|
|
115
115
|
}
|
|
116
116
|
});
|
|
117
117
|
}
|
|
118
|
-
function Q(
|
|
118
|
+
function Q(t) {
|
|
119
119
|
return [
|
|
120
120
|
{
|
|
121
121
|
label: "编辑",
|
|
122
|
-
onClick: () => z(
|
|
122
|
+
onClick: () => z(t)
|
|
123
123
|
}
|
|
124
124
|
];
|
|
125
125
|
}
|
|
126
|
-
function W(
|
|
126
|
+
function W(t) {
|
|
127
127
|
return [
|
|
128
128
|
{
|
|
129
129
|
label: "删除",
|
|
130
130
|
popConfirm: {
|
|
131
131
|
title: "确定删除吗?",
|
|
132
132
|
placement: "left",
|
|
133
|
-
confirm: () => b(() => P([
|
|
133
|
+
confirm: () => b(() => P([t.id]))
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
];
|
|
137
137
|
}
|
|
138
138
|
return {
|
|
139
139
|
rowSelection: u,
|
|
140
|
-
selectedRowKeys:
|
|
141
|
-
aiTestMode:
|
|
140
|
+
selectedRowKeys: C,
|
|
141
|
+
aiTestMode: h,
|
|
142
142
|
onCancel: I,
|
|
143
143
|
onAdd: j,
|
|
144
144
|
onGenEnhanceSqlData: K,
|
|
@@ -146,7 +146,7 @@ const we = x({
|
|
|
146
146
|
getTableAction: Q,
|
|
147
147
|
getDropDownAction: W,
|
|
148
148
|
formModalProps: F,
|
|
149
|
-
registerModal:
|
|
149
|
+
registerModal: M,
|
|
150
150
|
registerTable: c,
|
|
151
151
|
registerForm: $
|
|
152
152
|
};
|
|
@@ -159,13 +159,13 @@ const we = x({
|
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
});
|
|
162
|
-
const
|
|
162
|
+
const ve = {
|
|
163
163
|
key: 0,
|
|
164
164
|
style: { float: "left" }
|
|
165
165
|
};
|
|
166
|
-
function
|
|
167
|
-
const s = r("a-button"), c = r("a-icon"), i = r("a-menu-item"), u = r("a-menu"),
|
|
168
|
-
return D(), q(
|
|
166
|
+
function Me(e, o, n, _, p, b) {
|
|
167
|
+
const s = r("a-button"), c = r("a-icon"), i = r("a-menu-item"), u = r("a-menu"), C = r("a-dropdown"), M = r("TableAction"), S = r("BasicTable"), h = r("BasicForm"), B = r("a-spin"), w = r("BasicModal");
|
|
168
|
+
return D(), q(w, {
|
|
169
169
|
onRegister: e.registerModal,
|
|
170
170
|
title: "SQL增强",
|
|
171
171
|
width: 1200,
|
|
@@ -174,22 +174,22 @@ function ve(e, t, o, g, p, b) {
|
|
|
174
174
|
}, {
|
|
175
175
|
footer: a(() => [
|
|
176
176
|
l(s, { onClick: e.onCancel }, {
|
|
177
|
-
default: a(() => [
|
|
178
|
-
|
|
179
|
-
]),
|
|
177
|
+
default: a(() => o[3] || (o[3] = [
|
|
178
|
+
g("关闭")
|
|
179
|
+
])),
|
|
180
180
|
_: 1
|
|
181
181
|
}, 8, ["onClick"]),
|
|
182
|
-
e.aiTestMode ? (D(), te("div",
|
|
182
|
+
e.aiTestMode ? (D(), te("div", ve, [
|
|
183
183
|
l(s, { onClick: e.onGenEnhanceSqlData }, {
|
|
184
|
-
default: a(() => [
|
|
185
|
-
|
|
186
|
-
]),
|
|
184
|
+
default: a(() => o[4] || (o[4] = [
|
|
185
|
+
g("生成测试数据")
|
|
186
|
+
])),
|
|
187
187
|
_: 1
|
|
188
188
|
}, 8, ["onClick"])
|
|
189
189
|
])) : L("", !0)
|
|
190
190
|
]),
|
|
191
191
|
default: a(() => [
|
|
192
|
-
l(
|
|
192
|
+
l(S, {
|
|
193
193
|
onRegister: e.registerTable,
|
|
194
194
|
rowSelection: e.rowSelection
|
|
195
195
|
}, {
|
|
@@ -199,12 +199,12 @@ function ve(e, t, o, g, p, b) {
|
|
|
199
199
|
type: "primary",
|
|
200
200
|
preIcon: "ant-design:plus"
|
|
201
201
|
}, {
|
|
202
|
-
default: a(() => [
|
|
203
|
-
|
|
204
|
-
]),
|
|
202
|
+
default: a(() => o[0] || (o[0] = [
|
|
203
|
+
g("新增")
|
|
204
|
+
])),
|
|
205
205
|
_: 1
|
|
206
206
|
}, 8, ["onClick"]),
|
|
207
|
-
e.selectedRowKeys.length > 0 ? (D(), q(
|
|
207
|
+
e.selectedRowKeys.length > 0 ? (D(), q(C, { key: 0 }, {
|
|
208
208
|
overlay: a(() => [
|
|
209
209
|
l(u, null, {
|
|
210
210
|
default: a(() => [
|
|
@@ -214,7 +214,7 @@ function ve(e, t, o, g, p, b) {
|
|
|
214
214
|
}, {
|
|
215
215
|
default: a(() => [
|
|
216
216
|
l(c, { type: "delete" }),
|
|
217
|
-
|
|
217
|
+
o[1] || (o[1] = g(" 删除 "))
|
|
218
218
|
]),
|
|
219
219
|
_: 1
|
|
220
220
|
}, 8, ["onClick"])
|
|
@@ -225,7 +225,7 @@ function ve(e, t, o, g, p, b) {
|
|
|
225
225
|
default: a(() => [
|
|
226
226
|
l(s, { style: { "margin-left": "8px" } }, {
|
|
227
227
|
default: a(() => [
|
|
228
|
-
|
|
228
|
+
o[2] || (o[2] = g(" 批量操作 ")),
|
|
229
229
|
l(c, { type: "down" })
|
|
230
230
|
]),
|
|
231
231
|
_: 1
|
|
@@ -235,20 +235,20 @@ function ve(e, t, o, g, p, b) {
|
|
|
235
235
|
})) : L("", !0)
|
|
236
236
|
]),
|
|
237
237
|
action: a(({ record: m }) => [
|
|
238
|
-
l(
|
|
238
|
+
l(M, {
|
|
239
239
|
actions: e.getTableAction(m),
|
|
240
240
|
dropDownActions: e.getDropDownAction(m)
|
|
241
241
|
}, null, 8, ["actions", "dropDownActions"])
|
|
242
242
|
]),
|
|
243
243
|
_: 1
|
|
244
244
|
}, 8, ["onRegister", "rowSelection"]),
|
|
245
|
-
l(
|
|
245
|
+
l(w, ae(le(e.formModalProps)), {
|
|
246
246
|
default: a(() => [
|
|
247
247
|
l(B, {
|
|
248
248
|
spinning: e.formModalProps.confirmLoading
|
|
249
249
|
}, {
|
|
250
250
|
default: a(() => [
|
|
251
|
-
l(
|
|
251
|
+
l(h, {
|
|
252
252
|
class: "popupForm",
|
|
253
253
|
onRegister: e.registerForm
|
|
254
254
|
}, null, 8, ["onRegister"])
|
|
@@ -262,7 +262,7 @@ function ve(e, t, o, g, p, b) {
|
|
|
262
262
|
_: 1
|
|
263
263
|
}, 8, ["onRegister", "onCancel"]);
|
|
264
264
|
}
|
|
265
|
-
const je = /* @__PURE__ */
|
|
265
|
+
const je = /* @__PURE__ */ we(ye, [["render", Me], ["__scopeId", "data-v-0a46f791"]]);
|
|
266
266
|
export {
|
|
267
267
|
je as default
|
|
268
268
|
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { defineComponent as p, resolveComponent as l, openBlock as f, createBlock as c, withCtx as o, createVNode as n, createTextVNode as r } from "vue";
|
|
2
|
+
import { router as d } from "/@/router";
|
|
3
|
+
import { PageEnum as _ } from "/@/enums/pageEnum";
|
|
4
|
+
const x = /* @__PURE__ */ p({
|
|
5
|
+
__name: "ErrorTip",
|
|
6
|
+
props: {
|
|
7
|
+
title: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: "啊哦,页面出错了"
|
|
10
|
+
},
|
|
11
|
+
subTitle: String
|
|
12
|
+
},
|
|
13
|
+
setup(i) {
|
|
14
|
+
function u() {
|
|
15
|
+
d.push(_.BASE_HOME);
|
|
16
|
+
}
|
|
17
|
+
function s() {
|
|
18
|
+
location.reload();
|
|
19
|
+
}
|
|
20
|
+
function a() {
|
|
21
|
+
window.close(), setTimeout(() => alert("当前页面无法通过按钮关闭,请手动关闭"), 1e3);
|
|
22
|
+
}
|
|
23
|
+
return (T, t) => {
|
|
24
|
+
const e = l("a-button"), m = l("a-result");
|
|
25
|
+
return f(), c(m, {
|
|
26
|
+
status: "error",
|
|
27
|
+
title: i.title,
|
|
28
|
+
subTitle: i.subTitle
|
|
29
|
+
}, {
|
|
30
|
+
extra: o(() => [
|
|
31
|
+
n(e, {
|
|
32
|
+
type: "primary",
|
|
33
|
+
onClick: u
|
|
34
|
+
}, {
|
|
35
|
+
default: o(() => t[0] || (t[0] = [
|
|
36
|
+
r("返回首页")
|
|
37
|
+
])),
|
|
38
|
+
_: 1
|
|
39
|
+
}),
|
|
40
|
+
n(e, { onClick: s }, {
|
|
41
|
+
default: o(() => t[1] || (t[1] = [
|
|
42
|
+
r("刷新页面")
|
|
43
|
+
])),
|
|
44
|
+
_: 1
|
|
45
|
+
}),
|
|
46
|
+
n(e, { onClick: a }, {
|
|
47
|
+
default: o(() => t[2] || (t[2] = [
|
|
48
|
+
r("关闭")
|
|
49
|
+
])),
|
|
50
|
+
_: 1
|
|
51
|
+
})
|
|
52
|
+
]),
|
|
53
|
+
_: 1
|
|
54
|
+
}, 8, ["title", "subTitle"]);
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
export {
|
|
59
|
+
x as _
|
|
60
|
+
};
|
|
@@ -18,8 +18,8 @@ import { defineComponent as B, nextTick as b, resolveComponent as h, openBlock a
|
|
|
18
18
|
import { BasicModal as R, useModalInner as U } from "/@/components/Modal";
|
|
19
19
|
import { BasicForm as V, useForm as v } from "/@/components/Form";
|
|
20
20
|
import { useMessage as O } from "/@/hooks/web/useMessage";
|
|
21
|
-
import { a as Q } from "./useSchemas-
|
|
22
|
-
import { _ as E } from "./index-
|
|
21
|
+
import { a as Q } from "./useSchemas-f1819e54.mjs";
|
|
22
|
+
import { _ as E } from "./index-f3683351.mjs";
|
|
23
23
|
import "ant-design-vue";
|
|
24
24
|
import "@ant-design/icons-vue";
|
|
25
25
|
import "/@/utils/common/compUtils";
|
|
@@ -28,12 +28,12 @@ var R = (t, a, n) => new Promise((f, i) => {
|
|
|
28
28
|
});
|
|
29
29
|
import { defineComponent as C, ref as m, reactive as j, toRaw as D, toRefs as K, resolveComponent as w, openBlock as $, createBlock as A, mergeProps as J, withCtx as y, createVNode as O } from "vue";
|
|
30
30
|
import { BasicModal as U, useModalInner as Y } from "/@/components/Modal";
|
|
31
|
-
import q from "./SetSwitchOptions-
|
|
31
|
+
import q from "./SetSwitchOptions-cdcb22a1.mjs";
|
|
32
32
|
import { BasicForm as H, useForm as W } from "/@/components/Form/index";
|
|
33
33
|
import { pick as z } from "lodash-es";
|
|
34
34
|
import { L as x } from "./constant-fa63bd66.mjs";
|
|
35
35
|
import { isArray as Q } from "/@/utils/is";
|
|
36
|
-
import { _ as X } from "./index-
|
|
36
|
+
import { _ as X } from "./index-f3683351.mjs";
|
|
37
37
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
38
38
|
import "/@/hooks/web/useMessage";
|
|
39
39
|
import "vue-router";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
var u = (e,
|
|
1
|
+
var u = (e, i, o) => new Promise((n, a) => {
|
|
2
2
|
var c = (t) => {
|
|
3
3
|
try {
|
|
4
4
|
l(o.next(t));
|
|
5
5
|
} catch (r) {
|
|
6
6
|
a(r);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, s = (t) => {
|
|
9
9
|
try {
|
|
10
10
|
l(o.throw(t));
|
|
11
11
|
} catch (r) {
|
|
12
12
|
a(r);
|
|
13
13
|
}
|
|
14
|
-
}, l = (t) => t.done ? n(t.value) : Promise.resolve(t.value).then(c,
|
|
15
|
-
l((o = o.apply(e,
|
|
14
|
+
}, l = (t) => t.done ? n(t.value) : Promise.resolve(t.value).then(c, s);
|
|
15
|
+
l((o = o.apply(e, i)).next());
|
|
16
16
|
});
|
|
17
|
-
import { defineComponent as R, ref as f, resolveComponent as p, openBlock as
|
|
17
|
+
import { defineComponent as R, ref as f, resolveComponent as p, openBlock as v, createBlock as h, withCtx as m, createVNode as g, createElementVNode as k, createTextVNode as D, createCommentVNode as w } from "vue";
|
|
18
18
|
import { defHttp as y } from "/@/utils/http/axios";
|
|
19
19
|
import { BasicModal as B, useModalInner as b } from "/@/components/Modal";
|
|
20
|
-
import { _ as F } from "./index-
|
|
20
|
+
import { _ as F } from "./index-f3683351.mjs";
|
|
21
21
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
22
22
|
import "/@/hooks/web/useMessage";
|
|
23
23
|
import "vue-router";
|
|
@@ -25,12 +25,12 @@ const E = R({
|
|
|
25
25
|
name: "FileSelectModal",
|
|
26
26
|
components: { BasicModal: B },
|
|
27
27
|
emits: ["select", "register"],
|
|
28
|
-
setup(e, { emit:
|
|
29
|
-
const o = f(!0), n = f([]), a = f(""), c = f(!1), [
|
|
28
|
+
setup(e, { emit: i }) {
|
|
29
|
+
const o = f(!0), n = f([]), a = f(""), c = f(!1), [s, { closeModal: l }] = b(() => u(this, null, function* () {
|
|
30
30
|
a.value = "", n.value.length === 0 && _();
|
|
31
31
|
}));
|
|
32
32
|
function t() {
|
|
33
|
-
|
|
33
|
+
i("select", a.value), l();
|
|
34
34
|
}
|
|
35
35
|
function r() {
|
|
36
36
|
l();
|
|
@@ -45,28 +45,28 @@ const E = R({
|
|
|
45
45
|
});
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
|
-
function S(
|
|
48
|
+
function S(d) {
|
|
49
49
|
return u(this, null, function* () {
|
|
50
|
-
if (
|
|
50
|
+
if (d.dataRef.children)
|
|
51
51
|
return;
|
|
52
52
|
let M = {
|
|
53
|
-
parentPath:
|
|
53
|
+
parentPath: d.dataRef.key
|
|
54
54
|
};
|
|
55
|
-
|
|
55
|
+
d.dataRef.children = yield y.get({ url: "/online/cgform/head/fileTree", params: M }), n.value = [...n.value];
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
|
-
function C(
|
|
59
|
-
a.value =
|
|
58
|
+
function C(d) {
|
|
59
|
+
a.value = d[0];
|
|
60
60
|
}
|
|
61
|
-
return { loading: o, treeData: n, onLoadData: S, onSelect: C, onSubmit: t, onCancel: r, registerModal:
|
|
61
|
+
return { loading: o, treeData: n, onLoadData: S, onSelect: C, onSubmit: t, onCancel: r, registerModal: s, hanldeRefresh: () => {
|
|
62
62
|
a.value = "", c.value = !1, _();
|
|
63
63
|
}, directoryTreeShow: c };
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
66
|
const T = { class: "btnArea" };
|
|
67
|
-
function V(e,
|
|
68
|
-
const
|
|
69
|
-
return
|
|
67
|
+
function V(e, i, o, n, a, c) {
|
|
68
|
+
const s = p("a-button"), l = p("a-directory-tree"), t = p("a-spin"), r = p("BasicModal");
|
|
69
|
+
return v(), h(r, {
|
|
70
70
|
onRegister: e.registerModal,
|
|
71
71
|
title: "选择目录",
|
|
72
72
|
width: 500,
|
|
@@ -77,14 +77,14 @@ function V(e, d, o, n, a, c) {
|
|
|
77
77
|
g(t, { spinning: e.loading }, {
|
|
78
78
|
default: m(() => [
|
|
79
79
|
k("div", T, [
|
|
80
|
-
g(
|
|
81
|
-
default: m(() => [
|
|
80
|
+
g(s, { onClick: e.hanldeRefresh }, {
|
|
81
|
+
default: m(() => i[0] || (i[0] = [
|
|
82
82
|
D("刷新")
|
|
83
|
-
]),
|
|
83
|
+
])),
|
|
84
84
|
_: 1
|
|
85
85
|
}, 8, ["onClick"])
|
|
86
86
|
]),
|
|
87
|
-
e.directoryTreeShow ? (
|
|
87
|
+
e.directoryTreeShow ? (v(), h(l, {
|
|
88
88
|
key: 0,
|
|
89
89
|
treeData: e.treeData,
|
|
90
90
|
loadData: e.onLoadData,
|
|
@@ -12,9 +12,9 @@ var i = (e, t, o) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
12
12
|
}, n = (e, t) => m(e, s(t));
|
|
13
13
|
import { defineComponent as b, ref as f, resolveComponent as y, openBlock as h, createBlock as g, mergeProps as T } from "vue";
|
|
14
14
|
import { JVxeTypes as l } from "/@/components/jeecg/JVxeTable/types";
|
|
15
|
-
import { u as k } from "./useTableSync-
|
|
16
|
-
import { _ as w } from "./index-
|
|
17
|
-
import "./cgform.data-
|
|
15
|
+
import { u as k } from "./useTableSync-075826a1.mjs";
|
|
16
|
+
import { _ as w } from "./index-f3683351.mjs";
|
|
17
|
+
import "./cgform.data-0ca62d09.mjs";
|
|
18
18
|
import "/@/utils/dict";
|
|
19
19
|
import "/@/utils/dict/JDictSelectUtil";
|
|
20
20
|
import "/@/utils/uuid";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as f, ref as b, resolveComponent as g, openBlock as h, createBlock as y, mergeProps as $ } from "vue";
|
|
2
2
|
import { JVxeTypes as o } from "/@/components/jeecg/JVxeTable/types";
|
|
3
|
-
import { u as T } from "./useTableSync-
|
|
4
|
-
import { _ as v } from "./index-
|
|
5
|
-
import "./cgform.data-
|
|
3
|
+
import { u as T } from "./useTableSync-075826a1.mjs";
|
|
4
|
+
import { _ as v } from "./index-f3683351.mjs";
|
|
5
|
+
import "./cgform.data-0ca62d09.mjs";
|
|
6
6
|
import "/@/utils/dict";
|
|
7
7
|
import "/@/utils/dict/JDictSelectUtil";
|
|
8
8
|
import "/@/utils/uuid";
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { computed as a, openBlock as l, createElementBlock as r, normalizeClass as c, createElementVNode as t, createCommentVNode as p } from "vue";
|
|
2
|
+
import { useAppInject as d } from "/@/hooks/web/useAppInject";
|
|
3
|
+
import { _ as m } from "./index-f3683351.mjs";
|
|
4
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
5
|
+
import "/@/hooks/web/useMessage";
|
|
6
|
+
import "vue-router";
|
|
7
|
+
const _ = {
|
|
8
|
+
name: "JModalTip",
|
|
9
|
+
props: {
|
|
10
|
+
visible: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: !1
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
emits: ["save", "cancel"],
|
|
16
|
+
setup(o) {
|
|
17
|
+
const { getIsMobile: e } = d();
|
|
18
|
+
return {
|
|
19
|
+
flag: a(() => o.visible),
|
|
20
|
+
getIsMobile: e
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
}, v = { class: "container" }, f = { class: "outer" }, u = { class: "inner" };
|
|
24
|
+
function g(o, e, i, s, b, $) {
|
|
25
|
+
return s.flag ? (l(), r("div", {
|
|
26
|
+
key: 0,
|
|
27
|
+
class: c(["jeecg-update-tip-bar", { mobile: s.getIsMobile }])
|
|
28
|
+
}, [
|
|
29
|
+
t("div", v, [
|
|
30
|
+
t("div", f, [
|
|
31
|
+
t("div", u, [
|
|
32
|
+
e[2] || (e[2] = t("span", { class: "tip" }, "正在修改表单数据 ···", -1)),
|
|
33
|
+
t("div", {
|
|
34
|
+
class: "cancel",
|
|
35
|
+
onClick: e[0] || (e[0] = (n) => o.$emit("cancel"))
|
|
36
|
+
}, "取消"),
|
|
37
|
+
t("div", {
|
|
38
|
+
class: "save",
|
|
39
|
+
onClick: e[1] || (e[1] = (n) => o.$emit("save"))
|
|
40
|
+
}, "保存")
|
|
41
|
+
])
|
|
42
|
+
])
|
|
43
|
+
])
|
|
44
|
+
], 2)) : p("", !0);
|
|
45
|
+
}
|
|
46
|
+
const J = /* @__PURE__ */ m(_, [["render", g], ["__scopeId", "data-v-dc9246f4"]]);
|
|
47
|
+
export {
|
|
48
|
+
J as default
|
|
49
|
+
};
|
|
@@ -18,7 +18,7 @@ import { useDebounceFn as O } from "@vueuse/core";
|
|
|
18
18
|
import { defHttp as P } from "/@/utils/http/axios";
|
|
19
19
|
import { useMessage as k } from "/@/hooks/web/useMessage";
|
|
20
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-
|
|
21
|
+
import { _ as L } from "./index-f3683351.mjs";
|
|
22
22
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
23
23
|
import "vue-router";
|
|
24
24
|
const { createMessage: N } = k(), T = {
|
|
@@ -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-f3683351.mjs";
|
|
20
20
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
21
21
|
import "/@/hooks/web/useMessage";
|
|
22
22
|
import "vue-router";
|