@jeecg/online 1.0.1 → 3.4.3-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/AuthButtonConfig.js +14 -7
- package/AuthButtonTree.js +3 -5
- package/AuthDataConfig.js +9 -6
- package/AuthDataTree.js +3 -5
- package/AuthFieldConfig.js +15 -12
- package/AuthFieldTree.js +24 -18
- package/AuthManagerDrawer.js +1 -1
- package/AuthSetterModal.js +1 -0
- package/CgformCopyList.js +34 -22
- package/CgformModal.js +57 -50
- package/CgreportModal.js +32 -39
- package/CheckDictTable.js +144 -24
- package/CodeFileListModal.js +175 -0
- package/CodeFileViewModal.js +325 -0
- package/CodeGeneratorModal.js +41 -38
- package/CustomButtonList.js +19 -22
- package/DBAttributeTable.js +248 -12
- package/DbToOnlineModal.js +27 -25
- package/DetailForm.js +605 -0
- package/EnhanceJavaModal.js +11 -17
- package/EnhanceJsHistory.js +6 -8
- package/EnhanceJsModal.js +9 -16
- package/EnhanceSqlModal.js +11 -17
- package/ExtendConfigModal.js +24 -15
- package/ForeignKeyTable.js +4 -3
- package/FormSchemaFactory.js +163 -30
- package/IndexTable.js +6 -5
- package/JModalTip.js +54 -0
- package/JOnlineSearchSelect.js +18 -10
- package/LeftDepart.js +1 -1
- package/LeftRole.js +7 -4
- package/LeftUser.js +7 -4
- package/LinkTableConfigModal.js +289 -0
- package/LinkTableFieldConfigModal.js +218 -0
- package/LinkTableListPiece.js +36 -0
- package/ModalFormDemo.js +3 -2
- package/OnlineAutoList.js +154 -55
- package/OnlineAutoModal.js +88 -131
- package/OnlineAutoTreeList.js +93 -53
- package/OnlineCustomModal.js +30 -14
- package/OnlineDetailModal.js +184 -0
- package/OnlineForm.js +259 -141
- package/OnlineFormDetail.js +326 -0
- package/OnlineQueryForm.js +72 -40
- package/OnlineSearchFormItem.js +26 -18
- package/OnlineSelectCascade.js +67 -53
- package/OnlineSubFormDetail.js +167 -0
- package/OnlineSuperQuery.js +69 -74
- package/OnlineSuperQueryValComponent.js +1 -0
- package/OnlineSuperQueryValComponent.vue_vue_type_script_lang.js +1 -17
- package/PageAttributeTable.js +233 -30
- package/ProcessOnlineForm.js +41 -16
- package/QueryTable.js +4 -3
- 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 +16 -6
- package/index2.js +48 -45
- package/index3.js +29 -26
- package/isArray.js +1 -1
- 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 +3437 -3791
- package/useCgformList.js +44 -31
- package/{useTableColumns.js → useListButton.js} +212 -407
- package/useOnlineTest.js +5 -26827
- package/useSchemas.js +364 -230
- 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/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,17 @@ 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
28
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
29
29
|
import "/@/hooks/web/useMessage";
|
|
30
30
|
import "vue-router";
|
|
31
31
|
import "./_arrayPush.js";
|
|
32
32
|
import "./isArray.js";
|
|
33
|
+
var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
|
|
34
|
+
function cloneDeep(value) {
|
|
35
|
+
return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
|
|
36
|
+
}
|
|
33
37
|
const _sfc_main = defineComponent({
|
|
34
38
|
name: "AuthButtonConfig",
|
|
35
39
|
components: { BasicTable },
|
|
@@ -52,10 +56,14 @@ const _sfc_main = defineComponent({
|
|
|
52
56
|
columns: authButtonColumns,
|
|
53
57
|
showIndexColumn: false
|
|
54
58
|
});
|
|
55
|
-
watch(
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
watch(
|
|
60
|
+
() => props.headId,
|
|
61
|
+
(headId) => {
|
|
62
|
+
cgformId.value = headId.split("?")[0];
|
|
63
|
+
reload().catch(() => null);
|
|
64
|
+
},
|
|
65
|
+
{ immediate: true }
|
|
66
|
+
);
|
|
59
67
|
function loadData(params) {
|
|
60
68
|
return __async(this, null, function* () {
|
|
61
69
|
let result = yield authButtonLoadData(cgformId.value, params);
|
|
@@ -116,7 +124,6 @@ const _sfc_main = defineComponent({
|
|
|
116
124
|
}
|
|
117
125
|
});
|
|
118
126
|
const _hoisted_1 = { class: "auth-field-config" };
|
|
119
|
-
const _hoisted_2 = /* @__PURE__ */ createTextVNode(" \u53EF\u89C1 ");
|
|
120
127
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
121
128
|
const _component_a_switch = resolveComponent("a-switch");
|
|
122
129
|
const _component_BasicTable = resolveComponent("BasicTable");
|
|
@@ -130,7 +137,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
130
137
|
}, null, 8, ["checked", "onChange"])
|
|
131
138
|
]),
|
|
132
139
|
control: withCtx(() => [
|
|
133
|
-
|
|
140
|
+
createTextVNode(" \u53EF\u89C1 ")
|
|
134
141
|
]),
|
|
135
142
|
_: 1
|
|
136
143
|
}, 8, ["onRegister"])
|
package/AuthButtonTree.js
CHANGED
|
@@ -127,8 +127,6 @@ const _sfc_main = defineComponent({
|
|
|
127
127
|
}
|
|
128
128
|
});
|
|
129
129
|
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
130
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
133
131
|
const _component_a_empty = resolveComponent("a-empty");
|
|
134
132
|
const _component_a_button = resolveComponent("a-button");
|
|
@@ -150,7 +148,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
150
148
|
ghost: ""
|
|
151
149
|
}, {
|
|
152
150
|
default: withCtx(() => [
|
|
153
|
-
|
|
151
|
+
createTextVNode("\u5237\u65B0")
|
|
154
152
|
]),
|
|
155
153
|
_: 1
|
|
156
154
|
}, 8, ["onClick"]),
|
|
@@ -162,7 +160,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
162
160
|
ghost: ""
|
|
163
161
|
}, {
|
|
164
162
|
default: withCtx(() => [
|
|
165
|
-
|
|
163
|
+
createTextVNode("\u4FDD\u5B58")
|
|
166
164
|
]),
|
|
167
165
|
_: 1
|
|
168
166
|
}, 8, ["onClick"])
|
|
@@ -179,5 +177,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
179
177
|
], 64))
|
|
180
178
|
]);
|
|
181
179
|
}
|
|
182
|
-
var AuthButtonTree = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
180
|
+
var AuthButtonTree = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-0c1d5eb9"]]);
|
|
183
181
|
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";
|
|
@@ -91,9 +91,13 @@ const _sfc_main = defineComponent({
|
|
|
91
91
|
showActionButtonGroup: false,
|
|
92
92
|
labelAlign: "right"
|
|
93
93
|
});
|
|
94
|
-
watch(
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
watch(
|
|
95
|
+
() => props.cgformId,
|
|
96
|
+
() => {
|
|
97
|
+
reload().catch(() => null);
|
|
98
|
+
},
|
|
99
|
+
{ immediate: true }
|
|
100
|
+
);
|
|
97
101
|
function openFormModal(data) {
|
|
98
102
|
return __async(this, null, function* () {
|
|
99
103
|
var _a;
|
|
@@ -183,7 +187,6 @@ const _sfc_main = defineComponent({
|
|
|
183
187
|
};
|
|
184
188
|
}
|
|
185
189
|
});
|
|
186
|
-
const _hoisted_1 = /* @__PURE__ */ createTextVNode("\u65B0\u589E");
|
|
187
190
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
188
191
|
const _component_a_button = resolveComponent("a-button");
|
|
189
192
|
const _component_a_switch = resolveComponent("a-switch");
|
|
@@ -204,7 +207,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
204
207
|
preIcon: "ant-design:plus"
|
|
205
208
|
}, {
|
|
206
209
|
default: withCtx(() => [
|
|
207
|
-
|
|
210
|
+
createTextVNode("\u65B0\u589E")
|
|
208
211
|
]),
|
|
209
212
|
_: 1
|
|
210
213
|
}, 8, ["onClick"])
|
package/AuthDataTree.js
CHANGED
|
@@ -104,8 +104,6 @@ const _sfc_main = defineComponent({
|
|
|
104
104
|
}
|
|
105
105
|
});
|
|
106
106
|
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
107
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
110
108
|
const _component_a_empty = resolveComponent("a-empty");
|
|
111
109
|
const _component_a_button = resolveComponent("a-button");
|
|
@@ -127,7 +125,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
127
125
|
ghost: ""
|
|
128
126
|
}, {
|
|
129
127
|
default: withCtx(() => [
|
|
130
|
-
|
|
128
|
+
createTextVNode("\u5237\u65B0")
|
|
131
129
|
]),
|
|
132
130
|
_: 1
|
|
133
131
|
}, 8, ["onClick"]),
|
|
@@ -139,7 +137,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
139
137
|
ghost: ""
|
|
140
138
|
}, {
|
|
141
139
|
default: withCtx(() => [
|
|
142
|
-
|
|
140
|
+
createTextVNode("\u4FDD\u5B58")
|
|
143
141
|
]),
|
|
144
142
|
_: 1
|
|
145
143
|
}, 8, ["onClick"])
|
|
@@ -156,5 +154,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
156
154
|
], 64))
|
|
157
155
|
]);
|
|
158
156
|
}
|
|
159
|
-
var AuthDataTree = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
157
|
+
var AuthDataTree = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4ce74ac6"]]);
|
|
160
158
|
export { AuthDataTree as default };
|
package/AuthFieldConfig.js
CHANGED
|
@@ -48,10 +48,14 @@ const _sfc_main = defineComponent({
|
|
|
48
48
|
columns: authFieldColumns,
|
|
49
49
|
showIndexColumn: false
|
|
50
50
|
});
|
|
51
|
-
watch(
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
watch(
|
|
52
|
+
() => props.headId,
|
|
53
|
+
(headId) => {
|
|
54
|
+
cgformId.value = headId.split("?")[0];
|
|
55
|
+
reload().catch(() => null);
|
|
56
|
+
},
|
|
57
|
+
{ immediate: true }
|
|
58
|
+
);
|
|
55
59
|
function loadData(params) {
|
|
56
60
|
return __async(this, null, function* () {
|
|
57
61
|
const exclude = ["id"];
|
|
@@ -63,7 +67,9 @@ const _sfc_main = defineComponent({
|
|
|
63
67
|
if (item.isShowForm == 1 || item.isShowList == 1) {
|
|
64
68
|
filterData.push(item);
|
|
65
69
|
}
|
|
66
|
-
|
|
70
|
+
if (item.dbIsPersist == 1) {
|
|
71
|
+
fields.push({ text: item.title, value: item.code });
|
|
72
|
+
}
|
|
67
73
|
}
|
|
68
74
|
});
|
|
69
75
|
emit("update:authFields", fields);
|
|
@@ -109,9 +115,6 @@ const _sfc_main = defineComponent({
|
|
|
109
115
|
}
|
|
110
116
|
});
|
|
111
117
|
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
118
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
116
119
|
const _component_a_switch = resolveComponent("a-switch");
|
|
117
120
|
const _component_a_checkbox = resolveComponent("a-checkbox");
|
|
@@ -132,7 +135,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
132
135
|
onChange: (e) => _ctx.onCheckboxChange(e, record, 1)
|
|
133
136
|
}, {
|
|
134
137
|
default: withCtx(() => [
|
|
135
|
-
|
|
138
|
+
createTextVNode(" \u53EF\u89C1 ")
|
|
136
139
|
]),
|
|
137
140
|
_: 2
|
|
138
141
|
}, 1032, ["checked", "disabled", "onChange"])
|
|
@@ -144,7 +147,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
144
147
|
onChange: (e) => _ctx.onCheckboxChange(e, record, 2)
|
|
145
148
|
}, {
|
|
146
149
|
default: withCtx(() => [
|
|
147
|
-
|
|
150
|
+
createTextVNode(" \u53EF\u89C1 ")
|
|
148
151
|
]),
|
|
149
152
|
_: 2
|
|
150
153
|
}, 1032, ["checked", "disabled", "onChange"]),
|
|
@@ -154,7 +157,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
154
157
|
onChange: (e) => _ctx.onCheckboxChange(e, record, 3)
|
|
155
158
|
}, {
|
|
156
159
|
default: withCtx(() => [
|
|
157
|
-
|
|
160
|
+
createTextVNode(" \u53EF\u7F16\u8F91 ")
|
|
158
161
|
]),
|
|
159
162
|
_: 2
|
|
160
163
|
}, 1032, ["checked", "disabled", "onChange"])
|
|
@@ -163,5 +166,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
163
166
|
}, 8, ["onRegister"])
|
|
164
167
|
]);
|
|
165
168
|
}
|
|
166
|
-
var AuthFieldConfig = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
169
|
+
var AuthFieldConfig = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-b6df4cb4"]]);
|
|
167
170
|
export { AuthFieldConfig as default };
|
package/AuthFieldTree.js
CHANGED
|
@@ -18,9 +18,10 @@ 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
27
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
@@ -28,6 +29,13 @@ import "vue-router";
|
|
|
28
29
|
var AuthFieldTree_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
29
30
|
const _sfc_main = defineComponent({
|
|
30
31
|
name: "AuthFieldTree",
|
|
32
|
+
components: {
|
|
33
|
+
DownCircleOutlined,
|
|
34
|
+
HomeOutlined,
|
|
35
|
+
UpCircleOutlined,
|
|
36
|
+
UndoOutlined,
|
|
37
|
+
CheckOutlined
|
|
38
|
+
},
|
|
31
39
|
props: {
|
|
32
40
|
cgformId: { type: String, required: true }
|
|
33
41
|
},
|
|
@@ -165,15 +173,13 @@ const _sfc_main = defineComponent({
|
|
|
165
173
|
}
|
|
166
174
|
});
|
|
167
175
|
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
176
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
175
177
|
const _component_a_empty = resolveComponent("a-empty");
|
|
176
178
|
const _component_a_button = resolveComponent("a-button");
|
|
179
|
+
const _component_DownCircleOutlined = resolveComponent("DownCircleOutlined");
|
|
180
|
+
const _component_UpCircleOutlined = resolveComponent("UpCircleOutlined");
|
|
181
|
+
const _component_CheckOutlined = resolveComponent("CheckOutlined");
|
|
182
|
+
const _component_UndoOutlined = resolveComponent("UndoOutlined");
|
|
177
183
|
const _component_a_tree = resolveComponent("a-tree");
|
|
178
184
|
return openBlock(), createElementBlock("div", null, [
|
|
179
185
|
_ctx.disabled ? (openBlock(), createBlock(_component_a_empty, {
|
|
@@ -192,7 +198,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
192
198
|
ghost: ""
|
|
193
199
|
}, {
|
|
194
200
|
default: withCtx(() => [
|
|
195
|
-
|
|
201
|
+
createTextVNode("\u5237\u65B0")
|
|
196
202
|
]),
|
|
197
203
|
_: 1
|
|
198
204
|
}, 8, ["onClick"]),
|
|
@@ -200,11 +206,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
200
206
|
onClick: _ctx.onExpandAll,
|
|
201
207
|
size: "small",
|
|
202
208
|
type: "primary",
|
|
203
|
-
preIcon: "ant-design:down-circle",
|
|
204
209
|
ghost: ""
|
|
205
210
|
}, {
|
|
206
211
|
default: withCtx(() => [
|
|
207
|
-
|
|
212
|
+
createVNode(_component_DownCircleOutlined),
|
|
213
|
+
createTextVNode("\u5C55\u5F00")
|
|
208
214
|
]),
|
|
209
215
|
_: 1
|
|
210
216
|
}, 8, ["onClick"]),
|
|
@@ -212,11 +218,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
212
218
|
onClick: _ctx.onCloseAll,
|
|
213
219
|
size: "small",
|
|
214
220
|
type: "primary",
|
|
215
|
-
preIcon: "ant-design:up-circle",
|
|
216
221
|
ghost: ""
|
|
217
222
|
}, {
|
|
218
223
|
default: withCtx(() => [
|
|
219
|
-
|
|
224
|
+
createVNode(_component_UpCircleOutlined),
|
|
225
|
+
createTextVNode("\u6298\u53E0")
|
|
220
226
|
]),
|
|
221
227
|
_: 1
|
|
222
228
|
}, 8, ["onClick"]),
|
|
@@ -228,7 +234,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
228
234
|
ghost: ""
|
|
229
235
|
}, {
|
|
230
236
|
default: withCtx(() => [
|
|
231
|
-
|
|
237
|
+
createTextVNode("\u4FDD\u5B58")
|
|
232
238
|
]),
|
|
233
239
|
_: 1
|
|
234
240
|
}, 8, ["onClick"]),
|
|
@@ -236,11 +242,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
236
242
|
onClick: _ctx.onSelectAll,
|
|
237
243
|
size: "small",
|
|
238
244
|
type: "primary",
|
|
239
|
-
preIcon: "ant-design:check",
|
|
240
245
|
ghost: ""
|
|
241
246
|
}, {
|
|
242
247
|
default: withCtx(() => [
|
|
243
|
-
|
|
248
|
+
createVNode(_component_CheckOutlined),
|
|
249
|
+
createTextVNode("\u5168\u9009")
|
|
244
250
|
]),
|
|
245
251
|
_: 1
|
|
246
252
|
}, 8, ["onClick"]),
|
|
@@ -248,11 +254,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
248
254
|
onClick: _ctx.onClearSelected,
|
|
249
255
|
size: "small",
|
|
250
256
|
type: "primary",
|
|
251
|
-
preIcon: "ant-design:undo",
|
|
252
257
|
ghost: ""
|
|
253
258
|
}, {
|
|
254
259
|
default: withCtx(() => [
|
|
255
|
-
|
|
260
|
+
createVNode(_component_UndoOutlined),
|
|
261
|
+
createTextVNode("\u91CD\u7F6E")
|
|
256
262
|
]),
|
|
257
263
|
_: 1
|
|
258
264
|
}, 8, ["onClick"])
|
|
@@ -269,5 +275,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
269
275
|
], 64))
|
|
270
276
|
]);
|
|
271
277
|
}
|
|
272
|
-
var AuthFieldTree = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
278
|
+
var AuthFieldTree = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-b03cefd8"]]);
|
|
273
279
|
export { AuthFieldTree as default };
|
package/AuthManagerDrawer.js
CHANGED
package/AuthSetterModal.js
CHANGED
|
@@ -52,6 +52,7 @@ 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
57
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
57
58
|
import "vue-router";
|
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,47 @@ 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
59
|
import "./OnlineSelectCascade.js";
|
|
60
|
+
import "/@/store/modules/permission";
|
|
61
|
+
import "/@/utils/propTypes";
|
|
49
62
|
import "/@/hooks/system/useListPage";
|
|
63
|
+
import "vue-router";
|
|
64
|
+
import "/@/components/Form/src/utils/Area";
|
|
65
|
+
import "/@/components/Preview/index";
|
|
66
|
+
import "./LinkTableListPiece.js";
|
|
67
|
+
import "/@/components/Loading";
|
|
68
|
+
import "/@/utils/auth";
|
|
69
|
+
import "./JModalTip.js";
|
|
70
|
+
import "@vueuse/core";
|
|
50
71
|
import "./EnhanceJsHistory.js";
|
|
51
72
|
import "/@/utils/dateUtil";
|
|
52
73
|
import "/@/store";
|
|
@@ -60,7 +81,6 @@ import "./AuthFieldConfig.js";
|
|
|
60
81
|
import "./auth.api.js";
|
|
61
82
|
import "./auth.data.js";
|
|
62
83
|
import "./AuthButtonConfig.js";
|
|
63
|
-
import "./cloneDeep.js";
|
|
64
84
|
import "./AuthDataConfig.js";
|
|
65
85
|
import "./LeftRole.js";
|
|
66
86
|
import "./LeftDepart.js";
|
|
@@ -69,8 +89,6 @@ import "./LeftUser.js";
|
|
|
69
89
|
import "./AuthFieldTree.js";
|
|
70
90
|
import "./AuthButtonTree.js";
|
|
71
91
|
import "./AuthDataTree.js";
|
|
72
|
-
import "vue-router";
|
|
73
|
-
import "./useMessageOnline.js";
|
|
74
92
|
import "/@/hooks/web/useCopyModal";
|
|
75
93
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
76
94
|
const _sfc_main = defineComponent({
|
|
@@ -116,9 +134,7 @@ const _sfc_main = defineComponent({
|
|
|
116
134
|
{ title: "\u539F\u8868\u7248\u672C", dataIndex: "copyVersion" },
|
|
117
135
|
{ title: "\u89C6\u56FE\u7248\u672C", dataIndex: "tableVersion" }
|
|
118
136
|
],
|
|
119
|
-
formSchemas: [
|
|
120
|
-
{ label: "\u8868\u540D", field: "tableName", component: "JInput" }
|
|
121
|
-
]
|
|
137
|
+
formSchemas: [{ label: "\u8868\u540D", field: "tableName", component: "JInput" }]
|
|
122
138
|
});
|
|
123
139
|
const { prefixCls, tableContext } = pageContext;
|
|
124
140
|
const [registerTable, { reload }, { rowSelection }] = tableContext;
|
|
@@ -145,15 +161,11 @@ const _sfc_main = defineComponent({
|
|
|
145
161
|
};
|
|
146
162
|
}
|
|
147
163
|
});
|
|
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 = {
|
|
164
|
+
const _hoisted_1 = {
|
|
153
165
|
key: 0,
|
|
154
166
|
style: { "color": "limegreen" }
|
|
155
167
|
};
|
|
156
|
-
const
|
|
168
|
+
const _hoisted_2 = {
|
|
157
169
|
key: 1,
|
|
158
170
|
style: { "color": "red" }
|
|
159
171
|
};
|
|
@@ -184,7 +196,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
184
196
|
preIcon: "ant-design:highlight"
|
|
185
197
|
}, {
|
|
186
198
|
default: withCtx(() => [
|
|
187
|
-
|
|
199
|
+
createTextVNode("\u81EA\u5B9A\u4E49\u6309\u94AE")
|
|
188
200
|
]),
|
|
189
201
|
_: 1
|
|
190
202
|
}, 8, ["onClick"]),
|
|
@@ -194,7 +206,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
194
206
|
preIcon: "ant-design:strikethrough"
|
|
195
207
|
}, {
|
|
196
208
|
default: withCtx(() => [
|
|
197
|
-
|
|
209
|
+
createTextVNode("JS\u589E\u5F3A")
|
|
198
210
|
]),
|
|
199
211
|
_: 1
|
|
200
212
|
}, 8, ["onClick"]),
|
|
@@ -204,7 +216,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
204
216
|
preIcon: "ant-design:filter"
|
|
205
217
|
}, {
|
|
206
218
|
default: withCtx(() => [
|
|
207
|
-
|
|
219
|
+
createTextVNode("SQL\u589E\u5F3A")
|
|
208
220
|
]),
|
|
209
221
|
_: 1
|
|
210
222
|
}, 8, ["onClick"]),
|
|
@@ -214,14 +226,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
214
226
|
preIcon: "ant-design:tool"
|
|
215
227
|
}, {
|
|
216
228
|
default: withCtx(() => [
|
|
217
|
-
|
|
229
|
+
createTextVNode("Java\u589E\u5F3A")
|
|
218
230
|
]),
|
|
219
231
|
_: 1
|
|
220
232
|
}, 8, ["onClick"])
|
|
221
233
|
]),
|
|
222
234
|
dbSync: withCtx(({ text }) => [
|
|
223
|
-
text === "Y" ? (openBlock(), createElementBlock("span",
|
|
224
|
-
text === "N" ? (openBlock(), createElementBlock("span",
|
|
235
|
+
text === "Y" ? (openBlock(), createElementBlock("span", _hoisted_1, "\u5DF2\u540C\u6B65")) : createCommentVNode("", true),
|
|
236
|
+
text === "N" ? (openBlock(), createElementBlock("span", _hoisted_2, "\u672A\u540C\u6B65")) : createCommentVNode("", true)
|
|
225
237
|
]),
|
|
226
238
|
action: withCtx(({ record }) => [
|
|
227
239
|
createVNode(_component_TableAction, {
|