@jeecg/online 3.5.3-beta → 3.5.3-beta2
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/index2.js +7 -14
- package/package.json +1 -1
- package/useSchemas.js +3 -5
package/index2.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent,
|
|
1
|
+
import { defineComponent, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, createVNode, mergeProps, withCtx, createTextVNode, createBlock, 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";
|
|
@@ -197,7 +197,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
197
197
|
const _component_EnhanceSqlModal = resolveComponent("EnhanceSqlModal");
|
|
198
198
|
const _component_AuthManagerDrawer = resolveComponent("AuthManagerDrawer");
|
|
199
199
|
const _component_AuthSetterModal = resolveComponent("AuthSetterModal");
|
|
200
|
-
const _directive_auth = resolveDirective("auth");
|
|
201
200
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
202
201
|
createElementVNode("div", {
|
|
203
202
|
class: normalizeClass(_ctx.prefixCls)
|
|
@@ -237,7 +236,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
237
236
|
]),
|
|
238
237
|
_: 1
|
|
239
238
|
}, 8, ["onClick"]),
|
|
240
|
-
|
|
239
|
+
createVNode(_component_a_button, {
|
|
241
240
|
onClick: _ctx.onShowEnhanceSql,
|
|
242
241
|
type: "primary",
|
|
243
242
|
preIcon: "ant-design:filter"
|
|
@@ -246,9 +245,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
246
245
|
createTextVNode(" SQL\u589E\u5F3A ")
|
|
247
246
|
]),
|
|
248
247
|
_: 1
|
|
249
|
-
}, 8, ["onClick"])
|
|
250
|
-
[_directive_auth, "online:form:enhanceSql:save"]
|
|
251
|
-
]),
|
|
248
|
+
}, 8, ["onClick"]),
|
|
252
249
|
createVNode(_component_a_button, {
|
|
253
250
|
onClick: _ctx.onShowEnhanceJava,
|
|
254
251
|
type: "primary",
|
|
@@ -259,7 +256,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
259
256
|
]),
|
|
260
257
|
_: 1
|
|
261
258
|
}, 8, ["onClick"]),
|
|
262
|
-
|
|
259
|
+
createVNode(_component_a_button, {
|
|
263
260
|
onClick: _ctx.onImportDbTable,
|
|
264
261
|
type: "primary",
|
|
265
262
|
preIcon: "ant-design:database"
|
|
@@ -268,10 +265,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
268
265
|
createTextVNode("\u5BFC\u5165\u6570\u636E\u5E93\u8868")
|
|
269
266
|
]),
|
|
270
267
|
_: 1
|
|
271
|
-
}, 8, ["onClick"])
|
|
272
|
-
|
|
273
|
-
]),
|
|
274
|
-
withDirectives((openBlock(), createBlock(_component_a_button, {
|
|
268
|
+
}, 8, ["onClick"]),
|
|
269
|
+
createVNode(_component_a_button, {
|
|
275
270
|
onClick: _ctx.onGenerateCode,
|
|
276
271
|
type: "primary",
|
|
277
272
|
preIcon: "bx:bx-code-alt"
|
|
@@ -280,9 +275,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
280
275
|
createTextVNode(" \u4EE3\u7801\u751F\u6210 ")
|
|
281
276
|
]),
|
|
282
277
|
_: 1
|
|
283
|
-
}, 8, ["onClick"])
|
|
284
|
-
[_directive_auth, "online:form:generateCode"]
|
|
285
|
-
]),
|
|
278
|
+
}, 8, ["onClick"]),
|
|
286
279
|
_ctx.selectedRowKeys.length > 0 ? (openBlock(), createBlock(_component_a_dropdown, { key: 0 }, {
|
|
287
280
|
overlay: withCtx(() => [
|
|
288
281
|
createVNode(_component_a_menu, null, {
|
package/package.json
CHANGED
package/useSchemas.js
CHANGED
|
@@ -4,7 +4,7 @@ import { FolderOpenOutlined } from "@ant-design/icons-vue";
|
|
|
4
4
|
import { bindMapFormSchema } from "/@/utils/common/compUtils";
|
|
5
5
|
import { usePermission } from "/@/hooks/web/usePermission";
|
|
6
6
|
import { rules } from "/@/utils/helper/validator";
|
|
7
|
-
|
|
7
|
+
usePermission();
|
|
8
8
|
function useFormSchemas(_props, handlers) {
|
|
9
9
|
const mapFormSchema = bindMapFormSchema(
|
|
10
10
|
{
|
|
@@ -543,15 +543,13 @@ function useCodeGeneratorFormSchemas(_, handlers, single) {
|
|
|
543
543
|
model[field] = e.target.value;
|
|
544
544
|
handlers.onProjectPathChange(e);
|
|
545
545
|
},
|
|
546
|
-
onSearch: handlers.onProjectPathSearch
|
|
547
|
-
disabled: isDisabledAuth("online:codeGenerate:projectPath")
|
|
546
|
+
onSearch: handlers.onProjectPathSearch
|
|
548
547
|
},
|
|
549
548
|
{
|
|
550
549
|
enterButton: () => h(
|
|
551
550
|
Button,
|
|
552
551
|
{
|
|
553
|
-
preIcon: "ant-design:folder-open"
|
|
554
|
-
disabled: isDisabledAuth("online:codeGenerate:projectPath")
|
|
552
|
+
preIcon: "ant-design:folder-open"
|
|
555
553
|
},
|
|
556
554
|
{
|
|
557
555
|
default: () => "\u6D4F\u89C8",
|