@jeecg/online 1.0.1 → 3.4.3
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/AuthButtonConfig.js +15 -9
- package/AuthButtonTree.js +4 -7
- package/AuthDataConfig.js +10 -8
- package/AuthDataTree.js +4 -7
- package/AuthFieldConfig.js +16 -14
- package/AuthFieldTree.js +25 -20
- package/AuthManagerDrawer.js +2 -3
- package/AuthSetterModal.js +2 -2
- package/CgformCopyList.js +34 -24
- package/CgformModal.js +57 -50
- package/CgreportModal.js +32 -39
- package/CheckDictTable.js +146 -26
- package/CodeFileListModal.js +174 -0
- package/CodeFileViewModal.js +324 -0
- package/CodeGeneratorModal.js +42 -40
- package/CustomButtonList.js +19 -23
- package/DBAttributeTable.js +250 -14
- package/DbToOnlineModal.js +28 -27
- package/DetailForm.js +607 -0
- package/EnhanceJavaModal.js +12 -19
- package/EnhanceJsHistory.js +6 -8
- package/EnhanceJsModal.js +17 -18
- package/EnhanceSqlModal.js +12 -19
- package/ExtendConfigModal.js +26 -17
- package/FileSelectModal.js +1 -2
- package/ForeignKeyTable.js +6 -5
- package/FormSchemaFactory.js +163 -30
- package/IndexTable.js +8 -7
- package/JModalTip.js +54 -0
- package/LeftDepart.js +3 -3
- package/LeftRole.js +8 -6
- package/LeftUser.js +8 -6
- package/LinkTableConfigModal.js +288 -0
- package/LinkTableFieldConfigModal.js +217 -0
- package/LinkTableListPiece.js +36 -0
- package/ModalFormDemo.js +4 -4
- package/OnlCgReportList.js +34 -0
- package/OnlineAutoList.js +155 -58
- package/OnlineAutoModal.js +91 -132
- package/OnlineAutoTreeList.js +92 -54
- package/OnlineCustomModal.js +31 -17
- package/OnlineDetailModal.js +182 -0
- package/OnlineForm.js +272 -141
- package/OnlineFormDetail.js +324 -0
- package/OnlineQueryForm.js +72 -42
- package/OnlineSearchFormItem.js +28 -23
- package/OnlineSubFormDetail.js +165 -0
- package/OnlineSuperQuery.js +72 -76
- package/OnlineSuperQueryValComponent.js +1 -0
- package/OnlineSuperQueryValComponent.vue_vue_type_script_lang.js +1 -17
- package/PageAttributeTable.js +233 -31
- package/ProcessOnlineForm.js +41 -18
- package/QueryTable.js +6 -5
- package/README.md +3 -8
- package/_arrayPush.js +5 -3
- package/{cloneDeep.js → _baseClone.js} +5 -9
- package/_baseSlice.js +18 -0
- package/_commonjsHelpers.js +5 -0
- package/_flatRest.js +174 -0
- package/auth.data.js +1 -3
- package/cgform.data.js +18 -9
- package/enhance.api.js +27 -18
- package/index.js +358 -34
- package/index2.js +49 -48
- package/index3.js +29 -26
- package/isArray.js +1 -1
- package/main.index.js +3 -3
- package/omit.js +60 -0
- package/package.json +1 -1
- package/pick.js +3 -173
- package/style.css +1 -1
- package/toString.js +2 -2
- package/useAutoForm.js +3457 -3792
- package/useCgformList.js +44 -31
- package/{useTableColumns.js → useListButton.js} +218 -409
- package/useOnlineTest.js +5 -26827
- package/useSchemas.js +382 -234
- package/useTableSync.js +19 -7
- package/ChartAutoRender.js +0 -69
- package/ChartDoubleRender.js +0 -154
- package/ChartSingleRender.js +0 -132
- package/ChartTabsRender.js +0 -218
- package/ErrorTip.js +0 -21
- package/FieldTable.js +0 -185
- package/GraphreportAutoChart.js +0 -352
- package/GraphreportList.js +0 -239
- package/GraphreportModal.js +0 -559
- package/JOnlineSearchSelect.js +0 -107
- package/LICENSE +0 -7
- package/OnlineSelectCascade.js +0 -217
- package/OnlineSubForm.js +0 -200
- package/ParamsTable.js +0 -71
- package/graphreport.api.js +0 -23
- package/useChartRender.js +0 -405
- package/useMessageOnline.js +0 -71
package/AuthButtonConfig.js
CHANGED
|
@@ -23,13 +23,16 @@ import { BasicTable, useTable } from "/@/components/Table";
|
|
|
23
23
|
import { d as authButtonLoadData, e as authButtonEnable, f as authButtonDisable } from "./auth.api.js";
|
|
24
24
|
import { b as authButtonColumns, c as authButtonFixedList } from "./auth.data.js";
|
|
25
25
|
import { _ as _export_sfc } from "./index.js";
|
|
26
|
-
import {
|
|
26
|
+
import { b as baseClone } from "./_baseClone.js";
|
|
27
27
|
import "/@/utils/http/axios";
|
|
28
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
29
28
|
import "/@/hooks/web/useMessage";
|
|
30
|
-
import "
|
|
29
|
+
import "@vueuse/core";
|
|
31
30
|
import "./_arrayPush.js";
|
|
32
31
|
import "./isArray.js";
|
|
32
|
+
var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
|
|
33
|
+
function cloneDeep(value) {
|
|
34
|
+
return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
|
|
35
|
+
}
|
|
33
36
|
const _sfc_main = defineComponent({
|
|
34
37
|
name: "AuthButtonConfig",
|
|
35
38
|
components: { BasicTable },
|
|
@@ -52,10 +55,14 @@ const _sfc_main = defineComponent({
|
|
|
52
55
|
columns: authButtonColumns,
|
|
53
56
|
showIndexColumn: false
|
|
54
57
|
});
|
|
55
|
-
watch(
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
watch(
|
|
59
|
+
() => props.headId,
|
|
60
|
+
(headId) => {
|
|
61
|
+
cgformId.value = headId.split("?")[0];
|
|
62
|
+
reload().catch(() => null);
|
|
63
|
+
},
|
|
64
|
+
{ immediate: true }
|
|
65
|
+
);
|
|
59
66
|
function loadData(params) {
|
|
60
67
|
return __async(this, null, function* () {
|
|
61
68
|
let result = yield authButtonLoadData(cgformId.value, params);
|
|
@@ -116,7 +123,6 @@ const _sfc_main = defineComponent({
|
|
|
116
123
|
}
|
|
117
124
|
});
|
|
118
125
|
const _hoisted_1 = { class: "auth-field-config" };
|
|
119
|
-
const _hoisted_2 = /* @__PURE__ */ createTextVNode(" \u53EF\u89C1 ");
|
|
120
126
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
121
127
|
const _component_a_switch = resolveComponent("a-switch");
|
|
122
128
|
const _component_BasicTable = resolveComponent("BasicTable");
|
|
@@ -130,7 +136,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
130
136
|
}, null, 8, ["checked", "onChange"])
|
|
131
137
|
]),
|
|
132
138
|
control: withCtx(() => [
|
|
133
|
-
|
|
139
|
+
createTextVNode(" \u53EF\u89C1 ")
|
|
134
140
|
]),
|
|
135
141
|
_: 1
|
|
136
142
|
}, 8, ["onRegister"])
|
package/AuthButtonTree.js
CHANGED
|
@@ -24,8 +24,7 @@ import { c as authButtonFixedList } from "./auth.data.js";
|
|
|
24
24
|
import { m as authButtonLoadTree, l as loadRoleAuthChecked, n as saveAuthButton } from "./auth.api.js";
|
|
25
25
|
import { _ as _export_sfc } from "./index.js";
|
|
26
26
|
import "/@/utils/http/axios";
|
|
27
|
-
import "
|
|
28
|
-
import "vue-router";
|
|
27
|
+
import "@vueuse/core";
|
|
29
28
|
var AuthButtonTree_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
30
29
|
const _sfc_main = defineComponent({
|
|
31
30
|
name: "AuthButtonTree",
|
|
@@ -127,8 +126,6 @@ const _sfc_main = defineComponent({
|
|
|
127
126
|
}
|
|
128
127
|
});
|
|
129
128
|
const _hoisted_1 = { class: "onl-auth-tree-btns" };
|
|
130
|
-
const _hoisted_2 = /* @__PURE__ */ createTextVNode("\u5237\u65B0");
|
|
131
|
-
const _hoisted_3 = /* @__PURE__ */ createTextVNode("\u4FDD\u5B58");
|
|
132
129
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
133
130
|
const _component_a_empty = resolveComponent("a-empty");
|
|
134
131
|
const _component_a_button = resolveComponent("a-button");
|
|
@@ -150,7 +147,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
150
147
|
ghost: ""
|
|
151
148
|
}, {
|
|
152
149
|
default: withCtx(() => [
|
|
153
|
-
|
|
150
|
+
createTextVNode("\u5237\u65B0")
|
|
154
151
|
]),
|
|
155
152
|
_: 1
|
|
156
153
|
}, 8, ["onClick"]),
|
|
@@ -162,7 +159,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
162
159
|
ghost: ""
|
|
163
160
|
}, {
|
|
164
161
|
default: withCtx(() => [
|
|
165
|
-
|
|
162
|
+
createTextVNode("\u4FDD\u5B58")
|
|
166
163
|
]),
|
|
167
164
|
_: 1
|
|
168
165
|
}, 8, ["onClick"])
|
|
@@ -179,5 +176,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
179
176
|
], 64))
|
|
180
177
|
]);
|
|
181
178
|
}
|
|
182
|
-
var AuthButtonTree = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
179
|
+
var AuthButtonTree = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-0c1d5eb9"]]);
|
|
183
180
|
export { AuthButtonTree as default };
|
package/AuthDataConfig.js
CHANGED
|
@@ -37,7 +37,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
37
37
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
38
38
|
});
|
|
39
39
|
};
|
|
40
|
-
import { defineComponent, ref, watch, reactive, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, normalizeProps, guardReactiveProps,
|
|
40
|
+
import { defineComponent, ref, watch, reactive, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode, normalizeProps, guardReactiveProps, nextTick } from "vue";
|
|
41
41
|
import { BasicTable, TableAction, useTable } from "/@/components/Table";
|
|
42
42
|
import { BasicModal, useModal } from "/@/components/Modal";
|
|
43
43
|
import { BasicForm, useForm } from "/@/components/Form";
|
|
@@ -45,9 +45,8 @@ import { g as authDataLoadData, h as authDataSaveOrUpdate, i as authDataUpdateSt
|
|
|
45
45
|
import { d as authDataColumns, u as useAuthDataFormSchemas, U as USE_SQL_RULES } from "./auth.data.js";
|
|
46
46
|
import { _ as _export_sfc } from "./index.js";
|
|
47
47
|
import "/@/utils/http/axios";
|
|
48
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
49
48
|
import "/@/hooks/web/useMessage";
|
|
50
|
-
import "
|
|
49
|
+
import "@vueuse/core";
|
|
51
50
|
const _sfc_main = defineComponent({
|
|
52
51
|
name: "AuthDataConfig",
|
|
53
52
|
components: { BasicTable, TableAction, BasicModal, BasicForm },
|
|
@@ -91,9 +90,13 @@ const _sfc_main = defineComponent({
|
|
|
91
90
|
showActionButtonGroup: false,
|
|
92
91
|
labelAlign: "right"
|
|
93
92
|
});
|
|
94
|
-
watch(
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
watch(
|
|
94
|
+
() => props.cgformId,
|
|
95
|
+
() => {
|
|
96
|
+
reload().catch(() => null);
|
|
97
|
+
},
|
|
98
|
+
{ immediate: true }
|
|
99
|
+
);
|
|
97
100
|
function openFormModal(data) {
|
|
98
101
|
return __async(this, null, function* () {
|
|
99
102
|
var _a;
|
|
@@ -183,7 +186,6 @@ const _sfc_main = defineComponent({
|
|
|
183
186
|
};
|
|
184
187
|
}
|
|
185
188
|
});
|
|
186
|
-
const _hoisted_1 = /* @__PURE__ */ createTextVNode("\u65B0\u589E");
|
|
187
189
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
188
190
|
const _component_a_button = resolveComponent("a-button");
|
|
189
191
|
const _component_a_switch = resolveComponent("a-switch");
|
|
@@ -204,7 +206,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
204
206
|
preIcon: "ant-design:plus"
|
|
205
207
|
}, {
|
|
206
208
|
default: withCtx(() => [
|
|
207
|
-
|
|
209
|
+
createTextVNode("\u65B0\u589E")
|
|
208
210
|
]),
|
|
209
211
|
_: 1
|
|
210
212
|
}, 8, ["onClick"])
|
package/AuthDataTree.js
CHANGED
|
@@ -23,8 +23,7 @@ import { useMessage } from "/@/hooks/web/useMessage";
|
|
|
23
23
|
import { o as authDataLoadTree, l as loadRoleAuthChecked, p as saveAuthData } from "./auth.api.js";
|
|
24
24
|
import { _ as _export_sfc } from "./index.js";
|
|
25
25
|
import "/@/utils/http/axios";
|
|
26
|
-
import "
|
|
27
|
-
import "vue-router";
|
|
26
|
+
import "@vueuse/core";
|
|
28
27
|
var AuthDataTree_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
29
28
|
const _sfc_main = defineComponent({
|
|
30
29
|
name: "AuthDataTree",
|
|
@@ -104,8 +103,6 @@ const _sfc_main = defineComponent({
|
|
|
104
103
|
}
|
|
105
104
|
});
|
|
106
105
|
const _hoisted_1 = { class: "onl-auth-tree-btns" };
|
|
107
|
-
const _hoisted_2 = /* @__PURE__ */ createTextVNode("\u5237\u65B0");
|
|
108
|
-
const _hoisted_3 = /* @__PURE__ */ createTextVNode("\u4FDD\u5B58");
|
|
109
106
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
110
107
|
const _component_a_empty = resolveComponent("a-empty");
|
|
111
108
|
const _component_a_button = resolveComponent("a-button");
|
|
@@ -127,7 +124,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
127
124
|
ghost: ""
|
|
128
125
|
}, {
|
|
129
126
|
default: withCtx(() => [
|
|
130
|
-
|
|
127
|
+
createTextVNode("\u5237\u65B0")
|
|
131
128
|
]),
|
|
132
129
|
_: 1
|
|
133
130
|
}, 8, ["onClick"]),
|
|
@@ -139,7 +136,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
139
136
|
ghost: ""
|
|
140
137
|
}, {
|
|
141
138
|
default: withCtx(() => [
|
|
142
|
-
|
|
139
|
+
createTextVNode("\u4FDD\u5B58")
|
|
143
140
|
]),
|
|
144
141
|
_: 1
|
|
145
142
|
}, 8, ["onClick"])
|
|
@@ -156,5 +153,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
156
153
|
], 64))
|
|
157
154
|
]);
|
|
158
155
|
}
|
|
159
|
-
var AuthDataTree = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
156
|
+
var AuthDataTree = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4ce74ac6"]]);
|
|
160
157
|
export { AuthDataTree as default };
|
package/AuthFieldConfig.js
CHANGED
|
@@ -24,9 +24,8 @@ import { a as authFieldLoadData, b as authFieldUpdateStatus, c as authFieldUpdat
|
|
|
24
24
|
import { a as authFieldColumns } from "./auth.data.js";
|
|
25
25
|
import { _ as _export_sfc } from "./index.js";
|
|
26
26
|
import "/@/utils/http/axios";
|
|
27
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
28
27
|
import "/@/hooks/web/useMessage";
|
|
29
|
-
import "
|
|
28
|
+
import "@vueuse/core";
|
|
30
29
|
var AuthFieldConfig_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
31
30
|
const _sfc_main = defineComponent({
|
|
32
31
|
name: "AuthFieldConfig",
|
|
@@ -48,10 +47,14 @@ const _sfc_main = defineComponent({
|
|
|
48
47
|
columns: authFieldColumns,
|
|
49
48
|
showIndexColumn: false
|
|
50
49
|
});
|
|
51
|
-
watch(
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
watch(
|
|
51
|
+
() => props.headId,
|
|
52
|
+
(headId) => {
|
|
53
|
+
cgformId.value = headId.split("?")[0];
|
|
54
|
+
reload().catch(() => null);
|
|
55
|
+
},
|
|
56
|
+
{ immediate: true }
|
|
57
|
+
);
|
|
55
58
|
function loadData(params) {
|
|
56
59
|
return __async(this, null, function* () {
|
|
57
60
|
const exclude = ["id"];
|
|
@@ -63,7 +66,9 @@ const _sfc_main = defineComponent({
|
|
|
63
66
|
if (item.isShowForm == 1 || item.isShowList == 1) {
|
|
64
67
|
filterData.push(item);
|
|
65
68
|
}
|
|
66
|
-
|
|
69
|
+
if (item.dbIsPersist == 1) {
|
|
70
|
+
fields.push({ text: item.title, value: item.code });
|
|
71
|
+
}
|
|
67
72
|
}
|
|
68
73
|
});
|
|
69
74
|
emit("update:authFields", fields);
|
|
@@ -109,9 +114,6 @@ const _sfc_main = defineComponent({
|
|
|
109
114
|
}
|
|
110
115
|
});
|
|
111
116
|
const _hoisted_1 = { class: "auth-field-config" };
|
|
112
|
-
const _hoisted_2 = /* @__PURE__ */ createTextVNode(" \u53EF\u89C1 ");
|
|
113
|
-
const _hoisted_3 = /* @__PURE__ */ createTextVNode(" \u53EF\u89C1 ");
|
|
114
|
-
const _hoisted_4 = /* @__PURE__ */ createTextVNode(" \u53EF\u7F16\u8F91 ");
|
|
115
117
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
116
118
|
const _component_a_switch = resolveComponent("a-switch");
|
|
117
119
|
const _component_a_checkbox = resolveComponent("a-checkbox");
|
|
@@ -132,7 +134,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
132
134
|
onChange: (e) => _ctx.onCheckboxChange(e, record, 1)
|
|
133
135
|
}, {
|
|
134
136
|
default: withCtx(() => [
|
|
135
|
-
|
|
137
|
+
createTextVNode(" \u53EF\u89C1 ")
|
|
136
138
|
]),
|
|
137
139
|
_: 2
|
|
138
140
|
}, 1032, ["checked", "disabled", "onChange"])
|
|
@@ -144,7 +146,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
144
146
|
onChange: (e) => _ctx.onCheckboxChange(e, record, 2)
|
|
145
147
|
}, {
|
|
146
148
|
default: withCtx(() => [
|
|
147
|
-
|
|
149
|
+
createTextVNode(" \u53EF\u89C1 ")
|
|
148
150
|
]),
|
|
149
151
|
_: 2
|
|
150
152
|
}, 1032, ["checked", "disabled", "onChange"]),
|
|
@@ -154,7 +156,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
154
156
|
onChange: (e) => _ctx.onCheckboxChange(e, record, 3)
|
|
155
157
|
}, {
|
|
156
158
|
default: withCtx(() => [
|
|
157
|
-
|
|
159
|
+
createTextVNode(" \u53EF\u7F16\u8F91 ")
|
|
158
160
|
]),
|
|
159
161
|
_: 2
|
|
160
162
|
}, 1032, ["checked", "disabled", "onChange"])
|
|
@@ -163,5 +165,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
163
165
|
}, 8, ["onRegister"])
|
|
164
166
|
]);
|
|
165
167
|
}
|
|
166
|
-
var AuthFieldConfig = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
168
|
+
var AuthFieldConfig = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-b6df4cb4"]]);
|
|
167
169
|
export { AuthFieldConfig as default };
|
package/AuthFieldTree.js
CHANGED
|
@@ -18,16 +18,23 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18
18
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
|
-
import { defineComponent, ref, computed, watch, resolveComponent, openBlock, createElementBlock, createBlock, Fragment, createElementVNode, createVNode, withCtx,
|
|
21
|
+
import { defineComponent, ref, computed, watch, resolveComponent, openBlock, createElementBlock, createBlock, Fragment, createElementVNode, createVNode, withCtx, createTextVNode, unref } from "vue";
|
|
22
22
|
import { useMessage } from "/@/hooks/web/useMessage";
|
|
23
23
|
import { k as authFieldLoadTree, l as loadRoleAuthChecked, s as saveAuthField } from "./auth.api.js";
|
|
24
|
+
import { DownCircleOutlined, HomeOutlined, UpCircleOutlined, UndoOutlined, CheckOutlined } from "@ant-design/icons-vue";
|
|
24
25
|
import { _ as _export_sfc } from "./index.js";
|
|
25
26
|
import "/@/utils/http/axios";
|
|
26
|
-
import "
|
|
27
|
-
import "vue-router";
|
|
27
|
+
import "@vueuse/core";
|
|
28
28
|
var AuthFieldTree_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
29
29
|
const _sfc_main = defineComponent({
|
|
30
30
|
name: "AuthFieldTree",
|
|
31
|
+
components: {
|
|
32
|
+
DownCircleOutlined,
|
|
33
|
+
HomeOutlined,
|
|
34
|
+
UpCircleOutlined,
|
|
35
|
+
UndoOutlined,
|
|
36
|
+
CheckOutlined
|
|
37
|
+
},
|
|
31
38
|
props: {
|
|
32
39
|
cgformId: { type: String, required: true }
|
|
33
40
|
},
|
|
@@ -165,15 +172,13 @@ const _sfc_main = defineComponent({
|
|
|
165
172
|
}
|
|
166
173
|
});
|
|
167
174
|
const _hoisted_1 = { class: "onl-auth-tree-btns" };
|
|
168
|
-
const _hoisted_2 = /* @__PURE__ */ createTextVNode("\u5237\u65B0");
|
|
169
|
-
const _hoisted_3 = /* @__PURE__ */ createTextVNode("\u5C55\u5F00");
|
|
170
|
-
const _hoisted_4 = /* @__PURE__ */ createTextVNode("\u6298\u53E0");
|
|
171
|
-
const _hoisted_5 = /* @__PURE__ */ createTextVNode("\u4FDD\u5B58");
|
|
172
|
-
const _hoisted_6 = /* @__PURE__ */ createTextVNode("\u5168\u9009");
|
|
173
|
-
const _hoisted_7 = /* @__PURE__ */ createTextVNode("\u91CD\u7F6E");
|
|
174
175
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
175
176
|
const _component_a_empty = resolveComponent("a-empty");
|
|
176
177
|
const _component_a_button = resolveComponent("a-button");
|
|
178
|
+
const _component_DownCircleOutlined = resolveComponent("DownCircleOutlined");
|
|
179
|
+
const _component_UpCircleOutlined = resolveComponent("UpCircleOutlined");
|
|
180
|
+
const _component_CheckOutlined = resolveComponent("CheckOutlined");
|
|
181
|
+
const _component_UndoOutlined = resolveComponent("UndoOutlined");
|
|
177
182
|
const _component_a_tree = resolveComponent("a-tree");
|
|
178
183
|
return openBlock(), createElementBlock("div", null, [
|
|
179
184
|
_ctx.disabled ? (openBlock(), createBlock(_component_a_empty, {
|
|
@@ -192,7 +197,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
192
197
|
ghost: ""
|
|
193
198
|
}, {
|
|
194
199
|
default: withCtx(() => [
|
|
195
|
-
|
|
200
|
+
createTextVNode("\u5237\u65B0")
|
|
196
201
|
]),
|
|
197
202
|
_: 1
|
|
198
203
|
}, 8, ["onClick"]),
|
|
@@ -200,11 +205,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
200
205
|
onClick: _ctx.onExpandAll,
|
|
201
206
|
size: "small",
|
|
202
207
|
type: "primary",
|
|
203
|
-
preIcon: "ant-design:down-circle",
|
|
204
208
|
ghost: ""
|
|
205
209
|
}, {
|
|
206
210
|
default: withCtx(() => [
|
|
207
|
-
|
|
211
|
+
createVNode(_component_DownCircleOutlined),
|
|
212
|
+
createTextVNode("\u5C55\u5F00")
|
|
208
213
|
]),
|
|
209
214
|
_: 1
|
|
210
215
|
}, 8, ["onClick"]),
|
|
@@ -212,11 +217,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
212
217
|
onClick: _ctx.onCloseAll,
|
|
213
218
|
size: "small",
|
|
214
219
|
type: "primary",
|
|
215
|
-
preIcon: "ant-design:up-circle",
|
|
216
220
|
ghost: ""
|
|
217
221
|
}, {
|
|
218
222
|
default: withCtx(() => [
|
|
219
|
-
|
|
223
|
+
createVNode(_component_UpCircleOutlined),
|
|
224
|
+
createTextVNode("\u6298\u53E0")
|
|
220
225
|
]),
|
|
221
226
|
_: 1
|
|
222
227
|
}, 8, ["onClick"]),
|
|
@@ -228,7 +233,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
228
233
|
ghost: ""
|
|
229
234
|
}, {
|
|
230
235
|
default: withCtx(() => [
|
|
231
|
-
|
|
236
|
+
createTextVNode("\u4FDD\u5B58")
|
|
232
237
|
]),
|
|
233
238
|
_: 1
|
|
234
239
|
}, 8, ["onClick"]),
|
|
@@ -236,11 +241,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
236
241
|
onClick: _ctx.onSelectAll,
|
|
237
242
|
size: "small",
|
|
238
243
|
type: "primary",
|
|
239
|
-
preIcon: "ant-design:check",
|
|
240
244
|
ghost: ""
|
|
241
245
|
}, {
|
|
242
246
|
default: withCtx(() => [
|
|
243
|
-
|
|
247
|
+
createVNode(_component_CheckOutlined),
|
|
248
|
+
createTextVNode("\u5168\u9009")
|
|
244
249
|
]),
|
|
245
250
|
_: 1
|
|
246
251
|
}, 8, ["onClick"]),
|
|
@@ -248,11 +253,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
248
253
|
onClick: _ctx.onClearSelected,
|
|
249
254
|
size: "small",
|
|
250
255
|
type: "primary",
|
|
251
|
-
preIcon: "ant-design:undo",
|
|
252
256
|
ghost: ""
|
|
253
257
|
}, {
|
|
254
258
|
default: withCtx(() => [
|
|
255
|
-
|
|
259
|
+
createVNode(_component_UndoOutlined),
|
|
260
|
+
createTextVNode("\u91CD\u7F6E")
|
|
256
261
|
]),
|
|
257
262
|
_: 1
|
|
258
263
|
}, 8, ["onClick"])
|
|
@@ -269,5 +274,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
269
274
|
], 64))
|
|
270
275
|
]);
|
|
271
276
|
}
|
|
272
|
-
var AuthFieldTree = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
277
|
+
var AuthFieldTree = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-b03cefd8"]]);
|
|
273
278
|
export { AuthFieldTree as default };
|
package/AuthManagerDrawer.js
CHANGED
|
@@ -8,14 +8,13 @@ import "/@/components/Table";
|
|
|
8
8
|
import "./auth.api.js";
|
|
9
9
|
import "/@/utils/http/axios";
|
|
10
10
|
import "./auth.data.js";
|
|
11
|
-
import "./
|
|
11
|
+
import "./_baseClone.js";
|
|
12
12
|
import "./_arrayPush.js";
|
|
13
13
|
import "./isArray.js";
|
|
14
14
|
import "/@/components/Modal";
|
|
15
15
|
import "/@/components/Form";
|
|
16
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
17
16
|
import "/@/hooks/web/useMessage";
|
|
18
|
-
import "
|
|
17
|
+
import "@vueuse/core";
|
|
19
18
|
const _sfc_main = defineComponent({
|
|
20
19
|
name: "AuthManagerDrawer",
|
|
21
20
|
components: {
|
package/AuthSetterModal.js
CHANGED
|
@@ -52,9 +52,9 @@ import "/@/hooks/system/useListPage";
|
|
|
52
52
|
import "/@/api/common/api";
|
|
53
53
|
import "/@/hooks/web/useMessage";
|
|
54
54
|
import "./auth.api.js";
|
|
55
|
+
import "@ant-design/icons-vue";
|
|
55
56
|
import "./auth.data.js";
|
|
56
|
-
import "
|
|
57
|
-
import "vue-router";
|
|
57
|
+
import "@vueuse/core";
|
|
58
58
|
const _sfc_main = defineComponent({
|
|
59
59
|
name: "AuthSetterModal",
|
|
60
60
|
components: {
|
package/CgformCopyList.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, provide, watch, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, createVNode, withCtx,
|
|
1
|
+
import { defineComponent, provide, watch, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, createVNode, withCtx, createTextVNode, createCommentVNode } from "vue";
|
|
2
2
|
import { BasicTable, TableAction } from "/@/components/Table";
|
|
3
3
|
import { C as CgformModal } from "./CgformModal.js";
|
|
4
4
|
import DbToOnlineModal from "./DbToOnlineModal.js";
|
|
@@ -8,8 +8,7 @@ import EnhanceJavaModal from "./EnhanceJavaModal.js";
|
|
|
8
8
|
import EnhanceSqlModal from "./EnhanceSqlModal.js";
|
|
9
9
|
import AuthManagerDrawer from "./AuthManagerDrawer.js";
|
|
10
10
|
import AuthSetterModal from "./AuthSetterModal.js";
|
|
11
|
-
import { u as useCgformList } from "./useCgformList.js";
|
|
12
|
-
import { C as CgformPageType } from "./useOnlineTest.js";
|
|
11
|
+
import { C as CgformPageType, u as useCgformList } from "./useCgformList.js";
|
|
13
12
|
import { _ as _export_sfc } from "./index.js";
|
|
14
13
|
import "/@/components/Modal";
|
|
15
14
|
import "/@/components/Form/index";
|
|
@@ -18,6 +17,8 @@ import "./useSchemas.js";
|
|
|
18
17
|
import "ant-design-vue";
|
|
19
18
|
import "@ant-design/icons-vue";
|
|
20
19
|
import "/@/utils/common/compUtils";
|
|
20
|
+
import "/@/hooks/web/usePermission";
|
|
21
|
+
import "/@/utils/helper/validator";
|
|
21
22
|
import "./DBAttributeTable.js";
|
|
22
23
|
import "/@/components/jeecg/JVxeTable/types";
|
|
23
24
|
import "./useTableSync.js";
|
|
@@ -26,27 +27,46 @@ import "/@/utils/dict";
|
|
|
26
27
|
import "/@/utils/dict/JDictSelectUtil";
|
|
27
28
|
import "/@/utils/uuid";
|
|
28
29
|
import "./pick.js";
|
|
30
|
+
import "./_flatRest.js";
|
|
29
31
|
import "./isArray.js";
|
|
30
32
|
import "./toString.js";
|
|
31
33
|
import "./_arrayPush.js";
|
|
32
34
|
import "./PageAttributeTable.js";
|
|
35
|
+
import "./LinkTableConfigModal.js";
|
|
36
|
+
import "/@/utils/http/axios";
|
|
37
|
+
import "./omit.js";
|
|
38
|
+
import "./_baseClone.js";
|
|
39
|
+
import "./_baseSlice.js";
|
|
40
|
+
import "./LinkTableFieldConfigModal.js";
|
|
33
41
|
import "./CheckDictTable.js";
|
|
42
|
+
import "/@/components/jeecg/JPrompt";
|
|
43
|
+
import "/@/hooks/web/useDesign";
|
|
34
44
|
import "./ForeignKeyTable.js";
|
|
35
45
|
import "./IndexTable.js";
|
|
36
46
|
import "./QueryTable.js";
|
|
37
47
|
import "./ExtendConfigModal.js";
|
|
38
48
|
import "/@/components/Form";
|
|
39
|
-
import "
|
|
49
|
+
import "./useOnlineTest.js";
|
|
40
50
|
import "/@/utils";
|
|
41
51
|
import "./useAutoForm.js";
|
|
42
52
|
import "./FormSchemaFactory.js";
|
|
43
53
|
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
44
54
|
import "/@/views/system/user/user.api";
|
|
55
|
+
import "./_commonjsHelpers.js";
|
|
45
56
|
import "/@/store/modules/user";
|
|
46
57
|
import "/@/utils/desform/customExpression";
|
|
47
58
|
import "/@/components/Form/src/componentMap";
|
|
48
|
-
import "
|
|
59
|
+
import "/@/store/modules/permission";
|
|
60
|
+
import "/@/utils/propTypes";
|
|
49
61
|
import "/@/hooks/system/useListPage";
|
|
62
|
+
import "vue-router";
|
|
63
|
+
import "/@/components/Form/src/utils/Area";
|
|
64
|
+
import "/@/components/Preview/index";
|
|
65
|
+
import "./LinkTableListPiece.js";
|
|
66
|
+
import "/@/components/Loading";
|
|
67
|
+
import "/@/utils/auth";
|
|
68
|
+
import "./JModalTip.js";
|
|
69
|
+
import "@vueuse/core";
|
|
50
70
|
import "./EnhanceJsHistory.js";
|
|
51
71
|
import "/@/utils/dateUtil";
|
|
52
72
|
import "/@/store";
|
|
@@ -60,7 +80,6 @@ import "./AuthFieldConfig.js";
|
|
|
60
80
|
import "./auth.api.js";
|
|
61
81
|
import "./auth.data.js";
|
|
62
82
|
import "./AuthButtonConfig.js";
|
|
63
|
-
import "./cloneDeep.js";
|
|
64
83
|
import "./AuthDataConfig.js";
|
|
65
84
|
import "./LeftRole.js";
|
|
66
85
|
import "./LeftDepart.js";
|
|
@@ -69,10 +88,7 @@ import "./LeftUser.js";
|
|
|
69
88
|
import "./AuthFieldTree.js";
|
|
70
89
|
import "./AuthButtonTree.js";
|
|
71
90
|
import "./AuthDataTree.js";
|
|
72
|
-
import "vue-router";
|
|
73
|
-
import "./useMessageOnline.js";
|
|
74
91
|
import "/@/hooks/web/useCopyModal";
|
|
75
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
76
92
|
const _sfc_main = defineComponent({
|
|
77
93
|
name: "CgformCopyList",
|
|
78
94
|
components: {
|
|
@@ -116,9 +132,7 @@ const _sfc_main = defineComponent({
|
|
|
116
132
|
{ title: "\u539F\u8868\u7248\u672C", dataIndex: "copyVersion" },
|
|
117
133
|
{ title: "\u89C6\u56FE\u7248\u672C", dataIndex: "tableVersion" }
|
|
118
134
|
],
|
|
119
|
-
formSchemas: [
|
|
120
|
-
{ label: "\u8868\u540D", field: "tableName", component: "JInput" }
|
|
121
|
-
]
|
|
135
|
+
formSchemas: [{ label: "\u8868\u540D", field: "tableName", component: "JInput" }]
|
|
122
136
|
});
|
|
123
137
|
const { prefixCls, tableContext } = pageContext;
|
|
124
138
|
const [registerTable, { reload }, { rowSelection }] = tableContext;
|
|
@@ -145,15 +159,11 @@ const _sfc_main = defineComponent({
|
|
|
145
159
|
};
|
|
146
160
|
}
|
|
147
161
|
});
|
|
148
|
-
const _hoisted_1 =
|
|
149
|
-
const _hoisted_2 = /* @__PURE__ */ createTextVNode("JS\u589E\u5F3A");
|
|
150
|
-
const _hoisted_3 = /* @__PURE__ */ createTextVNode("SQL\u589E\u5F3A");
|
|
151
|
-
const _hoisted_4 = /* @__PURE__ */ createTextVNode("Java\u589E\u5F3A");
|
|
152
|
-
const _hoisted_5 = {
|
|
162
|
+
const _hoisted_1 = {
|
|
153
163
|
key: 0,
|
|
154
164
|
style: { "color": "limegreen" }
|
|
155
165
|
};
|
|
156
|
-
const
|
|
166
|
+
const _hoisted_2 = {
|
|
157
167
|
key: 1,
|
|
158
168
|
style: { "color": "red" }
|
|
159
169
|
};
|
|
@@ -184,7 +194,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
184
194
|
preIcon: "ant-design:highlight"
|
|
185
195
|
}, {
|
|
186
196
|
default: withCtx(() => [
|
|
187
|
-
|
|
197
|
+
createTextVNode("\u81EA\u5B9A\u4E49\u6309\u94AE")
|
|
188
198
|
]),
|
|
189
199
|
_: 1
|
|
190
200
|
}, 8, ["onClick"]),
|
|
@@ -194,7 +204,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
194
204
|
preIcon: "ant-design:strikethrough"
|
|
195
205
|
}, {
|
|
196
206
|
default: withCtx(() => [
|
|
197
|
-
|
|
207
|
+
createTextVNode("JS\u589E\u5F3A")
|
|
198
208
|
]),
|
|
199
209
|
_: 1
|
|
200
210
|
}, 8, ["onClick"]),
|
|
@@ -204,7 +214,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
204
214
|
preIcon: "ant-design:filter"
|
|
205
215
|
}, {
|
|
206
216
|
default: withCtx(() => [
|
|
207
|
-
|
|
217
|
+
createTextVNode("SQL\u589E\u5F3A")
|
|
208
218
|
]),
|
|
209
219
|
_: 1
|
|
210
220
|
}, 8, ["onClick"]),
|
|
@@ -214,14 +224,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
214
224
|
preIcon: "ant-design:tool"
|
|
215
225
|
}, {
|
|
216
226
|
default: withCtx(() => [
|
|
217
|
-
|
|
227
|
+
createTextVNode("Java\u589E\u5F3A")
|
|
218
228
|
]),
|
|
219
229
|
_: 1
|
|
220
230
|
}, 8, ["onClick"])
|
|
221
231
|
]),
|
|
222
232
|
dbSync: withCtx(({ text }) => [
|
|
223
|
-
text === "Y" ? (openBlock(), createElementBlock("span",
|
|
224
|
-
text === "N" ? (openBlock(), createElementBlock("span",
|
|
233
|
+
text === "Y" ? (openBlock(), createElementBlock("span", _hoisted_1, "\u5DF2\u540C\u6B65")) : createCommentVNode("", true),
|
|
234
|
+
text === "N" ? (openBlock(), createElementBlock("span", _hoisted_2, "\u672A\u540C\u6B65")) : createCommentVNode("", true)
|
|
225
235
|
]),
|
|
226
236
|
action: withCtx(({ record }) => [
|
|
227
237
|
createVNode(_component_TableAction, {
|