@jeecg/online 3.4.3-beta → 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.
Files changed (58) hide show
  1. package/AuthButtonConfig.js +1 -2
  2. package/AuthButtonTree.js +1 -2
  3. package/AuthDataConfig.js +1 -2
  4. package/AuthDataTree.js +1 -2
  5. package/AuthFieldConfig.js +1 -2
  6. package/AuthFieldTree.js +1 -2
  7. package/AuthManagerDrawer.js +1 -2
  8. package/AuthSetterModal.js +1 -2
  9. package/CgformCopyList.js +0 -2
  10. package/CheckDictTable.js +3 -3
  11. package/CodeFileListModal.js +1 -2
  12. package/CodeFileViewModal.js +1 -2
  13. package/CodeGeneratorModal.js +1 -2
  14. package/CustomButtonList.js +1 -2
  15. package/DBAttributeTable.js +2 -2
  16. package/DbToOnlineModal.js +1 -2
  17. package/DetailForm.js +16 -14
  18. package/EnhanceJavaModal.js +1 -2
  19. package/EnhanceJsModal.js +8 -2
  20. package/EnhanceSqlModal.js +1 -2
  21. package/ExtendConfigModal.js +2 -2
  22. package/FileSelectModal.js +1 -2
  23. package/ForeignKeyTable.js +2 -2
  24. package/IndexTable.js +2 -2
  25. package/JModalTip.js +2 -2
  26. package/LeftDepart.js +2 -2
  27. package/LeftRole.js +1 -2
  28. package/LeftUser.js +1 -2
  29. package/LinkTableConfigModal.js +2 -3
  30. package/LinkTableFieldConfigModal.js +1 -2
  31. package/LinkTableListPiece.js +2 -2
  32. package/ModalFormDemo.js +1 -2
  33. package/OnlCgReportList.js +34 -0
  34. package/OnlineAutoList.js +2 -4
  35. package/OnlineAutoModal.js +9 -7
  36. package/OnlineAutoTreeList.js +2 -4
  37. package/OnlineCustomModal.js +3 -5
  38. package/OnlineDetailModal.js +2 -4
  39. package/OnlineForm.js +21 -8
  40. package/OnlineFormDetail.js +3 -5
  41. package/OnlineQueryForm.js +2 -4
  42. package/OnlineSearchFormItem.js +2 -5
  43. package/OnlineSubFormDetail.js +2 -4
  44. package/OnlineSuperQuery.js +5 -4
  45. package/PageAttributeTable.js +1 -2
  46. package/ProcessOnlineForm.js +2 -4
  47. package/QueryTable.js +2 -2
  48. package/index.js +345 -31
  49. package/index2.js +3 -5
  50. package/main.index.js +3 -3
  51. package/package.json +1 -1
  52. package/style.css +1 -1
  53. package/useAutoForm.js +66 -47
  54. package/useListButton.js +8 -4
  55. package/useSchemas.js +18 -4
  56. package/JOnlineSearchSelect.js +0 -115
  57. package/LICENSE +0 -7
  58. package/OnlineSelectCascade.js +0 -231
@@ -25,9 +25,8 @@ import { b as authButtonColumns, c as authButtonFixedList } from "./auth.data.js
25
25
  import { _ as _export_sfc } from "./index.js";
26
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 "vue-router";
29
+ import "@vueuse/core";
31
30
  import "./_arrayPush.js";
32
31
  import "./isArray.js";
33
32
  var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
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 "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
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",
package/AuthDataConfig.js CHANGED
@@ -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 "vue-router";
49
+ import "@vueuse/core";
51
50
  const _sfc_main = defineComponent({
52
51
  name: "AuthDataConfig",
53
52
  components: { BasicTable, TableAction, BasicModal, BasicForm },
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 "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
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",
@@ -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 "vue-router";
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",
package/AuthFieldTree.js CHANGED
@@ -24,8 +24,7 @@ import { k as authFieldLoadTree, l as loadRoleAuthChecked, s as saveAuthField }
24
24
  import { DownCircleOutlined, HomeOutlined, UpCircleOutlined, UndoOutlined, CheckOutlined } from "@ant-design/icons-vue";
25
25
  import { _ as _export_sfc } from "./index.js";
26
26
  import "/@/utils/http/axios";
27
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
28
- import "vue-router";
27
+ import "@vueuse/core";
29
28
  var AuthFieldTree_vue_vue_type_style_index_0_scoped_true_lang = "";
30
29
  const _sfc_main = defineComponent({
31
30
  name: "AuthFieldTree",
@@ -13,9 +13,8 @@ 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 "vue-router";
17
+ import "@vueuse/core";
19
18
  const _sfc_main = defineComponent({
20
19
  name: "AuthManagerDrawer",
21
20
  components: {
@@ -54,8 +54,7 @@ import "/@/hooks/web/useMessage";
54
54
  import "./auth.api.js";
55
55
  import "@ant-design/icons-vue";
56
56
  import "./auth.data.js";
57
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
58
- import "vue-router";
57
+ import "@vueuse/core";
59
58
  const _sfc_main = defineComponent({
60
59
  name: "AuthSetterModal",
61
60
  components: {
package/CgformCopyList.js CHANGED
@@ -56,7 +56,6 @@ import "./_commonjsHelpers.js";
56
56
  import "/@/store/modules/user";
57
57
  import "/@/utils/desform/customExpression";
58
58
  import "/@/components/Form/src/componentMap";
59
- import "./OnlineSelectCascade.js";
60
59
  import "/@/store/modules/permission";
61
60
  import "/@/utils/propTypes";
62
61
  import "/@/hooks/system/useListPage";
@@ -90,7 +89,6 @@ import "./AuthFieldTree.js";
90
89
  import "./AuthButtonTree.js";
91
90
  import "./AuthDataTree.js";
92
91
  import "/@/hooks/web/useCopyModal";
93
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
94
92
  const _sfc_main = defineComponent({
95
93
  name: "CgformCopyList",
96
94
  components: {
package/CheckDictTable.js CHANGED
@@ -33,8 +33,8 @@ import "./_flatRest.js";
33
33
  import "./isArray.js";
34
34
  import "./toString.js";
35
35
  import "./_arrayPush.js";
36
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
37
- import "vue-router";
36
+ import "/@/utils/http/axios";
37
+ import "@vueuse/core";
38
38
  var CheckDictTable_vue_vue_type_style_index_0_scoped_true_lang = "";
39
39
  const _sfc_main = defineComponent({
40
40
  name: "CheckDictTable",
@@ -237,5 +237,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
237
237
  _: 1
238
238
  }, 16, ["class", "maxHeight", "loading", "columns", "dataSource"]);
239
239
  }
240
- var CheckDictTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-074f2007"]]);
240
+ var CheckDictTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-8470723a"]]);
241
241
  export { CheckDictTable as default };
@@ -28,8 +28,7 @@ import { useMessage } from "/@/hooks/web/useMessage";
28
28
  import { downloadByData } from "/@/utils/file/download";
29
29
  import { _ as _export_sfc } from "./index.js";
30
30
  import "ant-design-vue";
31
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
32
- import "vue-router";
31
+ import "@vueuse/core";
33
32
  const _sfc_main = {
34
33
  name: "CodeFileListModal",
35
34
  components: {
@@ -25,9 +25,8 @@ import { InfoCircleTwoTone } from "@ant-design/icons-vue";
25
25
  import { message } from "ant-design-vue";
26
26
  import { JCodeEditor } from "/@/components/Form";
27
27
  import { _ as _export_sfc } from "./index.js";
28
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
29
28
  import "/@/hooks/web/useMessage";
30
- import "vue-router";
29
+ import "@vueuse/core";
31
30
  const _sfc_main = defineComponent({
32
31
  name: "CodeFileViewModal",
33
32
  components: {
@@ -35,8 +35,7 @@ import "/@/utils/helper/validator";
35
35
  import "./CodeFileViewModal.js";
36
36
  import "/@/hooks/web/useMessage";
37
37
  import "/@/utils/file/download";
38
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
39
- import "vue-router";
38
+ import "@vueuse/core";
40
39
  const _sfc_main = defineComponent({
41
40
  name: "CodeGenerator",
42
41
  components: { BasicForm, BasicModal, FileSelectModal, CodeFileListModal },
@@ -42,9 +42,8 @@ import { BasicModal, useModalInner, useModal } from "/@/components/Modal";
42
42
  import { BasicForm, useForm } from "/@/components/Form";
43
43
  import { defHttp } from "/@/utils/http/axios";
44
44
  import { _ as _export_sfc } from "./index.js";
45
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
46
45
  import "/@/hooks/web/useMessage";
47
- import "vue-router";
46
+ import "@vueuse/core";
48
47
  const list = (code, params) => defHttp.get({ url: "/online/cgform/button/list/" + code, params });
49
48
  function doBatchDelete(idList) {
50
49
  return defHttp.delete(
@@ -30,9 +30,9 @@ import "./_flatRest.js";
30
30
  import "./isArray.js";
31
31
  import "./toString.js";
32
32
  import "./_arrayPush.js";
33
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
33
+ import "/@/utils/http/axios";
34
34
  import "/@/hooks/web/useMessage";
35
- import "vue-router";
35
+ import "@vueuse/core";
36
36
  const MySQLKeywords = [
37
37
  "ADD",
38
38
  "ALL",
@@ -5,8 +5,7 @@ import { BasicModal, useModalInner } from "/@/components/Modal";
5
5
  import { useListTable } from "/@/hooks/system/useListPage";
6
6
  import { useMessage } from "/@/hooks/web/useMessage";
7
7
  import { _ as _export_sfc } from "./index.js";
8
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
9
- import "vue-router";
8
+ import "@vueuse/core";
10
9
  const _sfc_main = defineComponent({
11
10
  name: "TransDb2Online",
12
11
  components: { BasicModal, BasicTable },
package/DetailForm.js CHANGED
@@ -56,9 +56,6 @@ import "/@/store/modules/user";
56
56
  import "/@/utils";
57
57
  import "/@/utils/desform/customExpression";
58
58
  import "/@/components/Form/src/componentMap";
59
- import "./OnlineSelectCascade.js";
60
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
61
- import "vue-router";
62
59
  import "/@/store/modules/permission";
63
60
  import "/@/components/Modal";
64
61
  import "/@/components/Form/index";
@@ -69,12 +66,13 @@ import "./toString.js";
69
66
  import "./_arrayPush.js";
70
67
  import "/@/components/Table";
71
68
  import "/@/hooks/system/useListPage";
69
+ import "vue-router";
72
70
  import "./LinkTableListPiece.js";
71
+ import "@vueuse/core";
73
72
  import "/@/components/Loading";
74
73
  import "/@/utils/auth";
75
74
  import "./JModalTip.js";
76
75
  import "ant-design-vue";
77
- import "@vueuse/core";
78
76
  function useDetailForm(props) {
79
77
  console.log(props);
80
78
  const dictOptionsMap = {};
@@ -493,9 +491,11 @@ const _hoisted_14 = { class: "ant-upload-list ant-upload-list-text" };
493
491
  const _hoisted_15 = { class: "" };
494
492
  const _hoisted_16 = { class: "ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-text" };
495
493
  const _hoisted_17 = { class: "ant-upload-list-item-info" };
496
- const _hoisted_18 = ["href"];
497
- const _hoisted_19 = { class: "ant-upload-list-item-card-actions" };
498
- const _hoisted_20 = {
494
+ const _hoisted_18 = { class: "ant-upload-span" };
495
+ const _hoisted_19 = { class: "ant-upload-text-icon" };
496
+ const _hoisted_20 = ["href"];
497
+ const _hoisted_21 = { class: "ant-upload-list-item-card-actions" };
498
+ const _hoisted_22 = {
499
499
  key: 4,
500
500
  class: "item-content"
501
501
  };
@@ -570,15 +570,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
570
570
  createElementVNode("span", null, [
571
571
  createElementVNode("div", _hoisted_16, [
572
572
  createElementVNode("div", _hoisted_17, [
573
- createElementVNode("span", null, [
574
- createVNode(_component_paper_clip_outlined),
573
+ createElementVNode("span", _hoisted_18, [
574
+ createElementVNode("div", _hoisted_19, [
575
+ createVNode(_component_paper_clip_outlined)
576
+ ]),
575
577
  createElementVNode("a", {
576
578
  href: url,
577
579
  target: "_blank",
578
580
  rel: "noopener noreferrer",
579
- class: "ant-upload-list-item-name ant-upload-list-item-name-icon-count-1"
580
- }, toDisplayString(_ctx.getFilename(url)), 9, _hoisted_18),
581
- createElementVNode("span", _hoisted_19, [
581
+ class: "ant-upload-list-item-name"
582
+ }, toDisplayString(_ctx.getFilename(url)), 9, _hoisted_20),
583
+ createElementVNode("span", _hoisted_21, [
582
584
  createVNode(_component_download_outlined, {
583
585
  onClick: ($event) => _ctx.handleDownloadFile(url)
584
586
  }, null, 8, ["onClick"])
@@ -590,7 +592,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
590
592
  ]);
591
593
  }), 256))
592
594
  ])
593
- ])) : (openBlock(), createElementBlock("div", _hoisted_20, toDisplayString(_ctx.detailFormData[item.field]), 1))
595
+ ])) : (openBlock(), createElementBlock("div", _hoisted_22, toDisplayString(_ctx.detailFormData[item.field]), 1))
594
596
  ])
595
597
  ]),
596
598
  _: 2
@@ -601,5 +603,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
601
603
  })
602
604
  ], 2);
603
605
  }
604
- var DetailForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3491a563"]]);
606
+ var DetailForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-47915cc7"]]);
605
607
  export { DetailForm as default };
@@ -49,9 +49,8 @@ import "/@/utils/dict/JDictSelectUtil";
49
49
  import "/@/utils/uuid";
50
50
  import "/@/utils/http/axios";
51
51
  import "/@/utils/is";
52
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
53
52
  import "/@/hooks/web/useMessage";
54
- import "vue-router";
53
+ import "@vueuse/core";
55
54
  const _sfc_main = defineComponent({
56
55
  name: "EnhanceJavaModal",
57
56
  components: { BasicModal, BasicTable, BasicForm, TableAction },
package/EnhanceJsModal.js CHANGED
@@ -32,8 +32,7 @@ import "pinia";
32
32
  import "/@/utils/cache";
33
33
  import "/@/utils/http/axios";
34
34
  import "/@/utils/is";
35
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
36
- import "vue-router";
35
+ import "@vueuse/core";
37
36
  const _sfc_main = defineComponent({
38
37
  name: "EnhanceJs",
39
38
  components: { BasicModal, JCodeEditor, EnhanceJsHistory },
@@ -124,6 +123,13 @@ const _sfc_main = defineComponent({
124
123
  } catch (e) {
125
124
  console.error(e);
126
125
  }
126
+ setTimeout(() => {
127
+ if (type == "list") {
128
+ listEditorRef.value.refresh();
129
+ } else {
130
+ formEditorRef.value.refresh();
131
+ }
132
+ }, 150);
127
133
  });
128
134
  }
129
135
  function onShowHistory() {
@@ -49,9 +49,8 @@ import "/@/utils/dict/JDictSelectUtil";
49
49
  import "/@/utils/uuid";
50
50
  import "/@/utils/http/axios";
51
51
  import "/@/utils/is";
52
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
53
52
  import "/@/hooks/web/useMessage";
54
- import "vue-router";
53
+ import "@vueuse/core";
55
54
  const _sfc_main = defineComponent({
56
55
  name: "EnhanceSqlModal",
57
56
  components: { BasicModal, BasicTable, BasicForm, TableAction },
@@ -29,8 +29,8 @@ import "@ant-design/icons-vue";
29
29
  import "/@/utils/common/compUtils";
30
30
  import "/@/hooks/web/usePermission";
31
31
  import "/@/utils/helper/validator";
32
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
33
- import "vue-router";
32
+ import "/@/utils/http/axios";
33
+ import "@vueuse/core";
34
34
  var ExtendConfigModal_vue_vue_type_style_index_0_scoped_true_lang = "";
35
35
  const _sfc_main = defineComponent({
36
36
  name: "CgformExtConfigModel",
@@ -22,9 +22,8 @@ import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx
22
22
  import { defHttp } from "/@/utils/http/axios";
23
23
  import { BasicModal, useModalInner } from "/@/components/Modal";
24
24
  import { _ as _export_sfc } from "./index.js";
25
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
26
25
  import "/@/hooks/web/useMessage";
27
- import "vue-router";
26
+ import "@vueuse/core";
28
27
  const _sfc_main = defineComponent({
29
28
  name: "FileSelectModal",
30
29
  components: { BasicModal },
@@ -30,9 +30,9 @@ import "./_flatRest.js";
30
30
  import "./isArray.js";
31
31
  import "./toString.js";
32
32
  import "./_arrayPush.js";
33
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
33
+ import "/@/utils/http/axios";
34
34
  import "/@/hooks/web/useMessage";
35
- import "vue-router";
35
+ import "@vueuse/core";
36
36
  const _sfc_main = defineComponent({
37
37
  name: "ForeignKeyTable",
38
38
  props: {
package/IndexTable.js CHANGED
@@ -11,9 +11,9 @@ import "./_flatRest.js";
11
11
  import "./isArray.js";
12
12
  import "./toString.js";
13
13
  import "./_arrayPush.js";
14
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
14
+ import "/@/utils/http/axios";
15
15
  import "/@/hooks/web/useMessage";
16
- import "vue-router";
16
+ import "@vueuse/core";
17
17
  const _sfc_main = defineComponent({
18
18
  name: "IndexTable",
19
19
  components: {},
package/JModalTip.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { computed, openBlock, createElementBlock, createElementVNode, createCommentVNode, pushScopeId, popScopeId } from "vue";
2
2
  import { _ as _export_sfc } from "./index.js";
3
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
3
+ import "/@/utils/http/axios";
4
4
  import "/@/hooks/web/useMessage";
5
- import "vue-router";
5
+ import "@vueuse/core";
6
6
  var JModalTip_vue_vue_type_style_index_0_scoped_true_lang = "";
7
7
  const _sfc_main = {
8
8
  name: "JModalTip",
package/LeftDepart.js CHANGED
@@ -21,9 +21,9 @@ var __async = (__this, __arguments, generator) => {
21
21
  import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, createBlock, withCtx, createVNode, normalizeStyle, createCommentVNode } from "vue";
22
22
  import { queryTreeList } from "/@/api/common/api";
23
23
  import { _ as _export_sfc } from "./index.js";
24
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
24
+ import "/@/utils/http/axios";
25
25
  import "/@/hooks/web/useMessage";
26
- import "vue-router";
26
+ import "@vueuse/core";
27
27
  const _sfc_main = defineComponent({
28
28
  name: "LeftDepart",
29
29
  emits: ["select"],
package/LeftRole.js CHANGED
@@ -23,9 +23,8 @@ import { defHttp } from "/@/utils/http/axios";
23
23
  import { BasicTable } from "/@/components/Table";
24
24
  import { useListPage } from "/@/hooks/system/useListPage";
25
25
  import { _ as _export_sfc } from "./index.js";
26
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
27
26
  import "/@/hooks/web/useMessage";
28
- import "vue-router";
27
+ import "@vueuse/core";
29
28
  const _sfc_main = defineComponent({
30
29
  name: "LeftRole",
31
30
  components: { BasicTable },
package/LeftUser.js CHANGED
@@ -23,9 +23,8 @@ import { defHttp } from "/@/utils/http/axios";
23
23
  import { BasicTable } from "/@/components/Table";
24
24
  import { useListPage } from "/@/hooks/system/useListPage";
25
25
  import { _ as _export_sfc } from "./index.js";
26
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
27
26
  import "/@/hooks/web/useMessage";
28
- import "vue-router";
27
+ import "@vueuse/core";
29
28
  const _sfc_main = defineComponent({
30
29
  name: "LeftUser",
31
30
  components: { BasicTable },
@@ -40,9 +40,8 @@ import { BasicForm, useForm } from "/@/components/Form/index";
40
40
  import { defHttp } from "/@/utils/http/axios";
41
41
  import { _ as _export_sfc } from "./index.js";
42
42
  import { o as omit } from "./omit.js";
43
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
44
43
  import "/@/hooks/web/useMessage";
45
- import "vue-router";
44
+ import "@vueuse/core";
46
45
  import "./toString.js";
47
46
  import "./isArray.js";
48
47
  import "./_baseClone.js";
@@ -152,7 +151,7 @@ const _sfc_main = {
152
151
  required: true,
153
152
  componentProps: ({ formActionType }) => {
154
153
  return {
155
- dict: "onl_cgform_head,table_txt,table_name",
154
+ dict: "onl_cgform_head where copy_type = 0,table_txt,table_name",
156
155
  pageSize: 10,
157
156
  async: true,
158
157
  immediateChange: true,
@@ -41,8 +41,7 @@ import { defHttp } from "/@/utils/http/axios";
41
41
  import { useMessage } from "/@/hooks/web/useMessage";
42
42
  import { _ as _export_sfc } from "./index.js";
43
43
  import { o as omit } from "./omit.js";
44
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
45
- import "vue-router";
44
+ import "@vueuse/core";
46
45
  import "./toString.js";
47
46
  import "./isArray.js";
48
47
  import "./_baseClone.js";
@@ -1,9 +1,9 @@
1
1
  import { propTypes } from "/@/utils/propTypes";
2
2
  import { openBlock, createElementBlock, createElementVNode, toDisplayString } from "vue";
3
3
  import { _ as _export_sfc } from "./index.js";
4
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
4
+ import "/@/utils/http/axios";
5
5
  import "/@/hooks/web/useMessage";
6
- import "vue-router";
6
+ import "@vueuse/core";
7
7
  var LinkTableListPiece_vue_vue_type_style_index_0_scoped_true_lang = "";
8
8
  const _sfc_main = {
9
9
  name: "LinkTableListPiece",
package/ModalFormDemo.js CHANGED
@@ -3,9 +3,8 @@ import { BasicForm, useForm } from "/@/components/Form/index";
3
3
  import { defHttp } from "/@/utils/http/axios";
4
4
  import { _ as _export_sfc } from "./index.js";
5
5
  import { p as pick } from "./pick.js";
6
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
7
6
  import "/@/hooks/web/useMessage";
8
- import "vue-router";
7
+ import "@vueuse/core";
9
8
  import "./_flatRest.js";
10
9
  import "./isArray.js";
11
10
  import "./toString.js";
@@ -0,0 +1,34 @@
1
+ import JPopupOnlReport from "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
2
+ import { defineComponent, resolveComponent, openBlock, createElementBlock, createVNode } from "vue";
3
+ import { useMessage } from "/@/hooks/web/useMessage";
4
+ import { useRoute } from "vue-router";
5
+ import { _ as _export_sfc } from "./index.js";
6
+ import "/@/utils/http/axios";
7
+ import "@vueuse/core";
8
+ const _sfc_main = defineComponent({
9
+ name: "OnlCgReportList",
10
+ components: {
11
+ JPopupOnlReport
12
+ },
13
+ setup(props, { emit, refs }) {
14
+ useMessage();
15
+ const route = useRoute();
16
+ const path = route.path;
17
+ const id = path.substr(path.lastIndexOf("/") + 1);
18
+ return {
19
+ id
20
+ };
21
+ }
22
+ });
23
+ const _hoisted_1 = { class: "p-2" };
24
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
25
+ const _component_JPopupOnlReport = resolveComponent("JPopupOnlReport");
26
+ return openBlock(), createElementBlock("div", _hoisted_1, [
27
+ createVNode(_component_JPopupOnlReport, {
28
+ id: _ctx.id,
29
+ clickToRowSelect: false
30
+ }, null, 8, ["id"])
31
+ ]);
32
+ }
33
+ var OnlCgReportList = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
34
+ export { OnlCgReportList as default };
package/OnlineAutoList.js CHANGED
@@ -56,20 +56,18 @@ import "./_commonjsHelpers.js";
56
56
  import "/@/store/modules/user";
57
57
  import "/@/utils/desform/customExpression";
58
58
  import "/@/components/Form/src/componentMap";
59
- import "./OnlineSelectCascade.js";
60
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
61
- import "vue-router";
62
59
  import "/@/store/modules/permission";
63
60
  import "/@/utils/propTypes";
64
61
  import "/@/utils/dict/JDictSelectUtil";
65
62
  import "/@/utils/common/compUtils";
66
63
  import "/@/hooks/system/useListPage";
64
+ import "vue-router";
67
65
  import "/@/components/Form/src/utils/Area";
68
66
  import "/@/components/Preview/index";
69
67
  import "./LinkTableListPiece.js";
68
+ import "@vueuse/core";
70
69
  import "./JModalTip.js";
71
70
  import "ant-design-vue";
72
- import "@vueuse/core";
73
71
  import "/@/components/jeecg/comment/CommentPanel.vue";
74
72
  import "./OnlineFormDetail.js";
75
73
  import "./DetailForm.js";
@@ -49,21 +49,19 @@ import "./_commonjsHelpers.js";
49
49
  import "/@/store/modules/user";
50
50
  import "/@/utils/desform/customExpression";
51
51
  import "/@/components/Form/src/componentMap";
52
- import "./OnlineSelectCascade.js";
53
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
54
- import "vue-router";
55
52
  import "/@/store/modules/permission";
56
53
  import "/@/utils/propTypes";
57
54
  import "/@/utils/dict/JDictSelectUtil";
58
55
  import "/@/utils/common/compUtils";
59
56
  import "/@/components/Table";
60
57
  import "/@/hooks/system/useListPage";
58
+ import "vue-router";
61
59
  import "/@/components/Form/src/utils/Area";
62
60
  import "/@/components/Preview/index";
63
61
  import "./LinkTableListPiece.js";
62
+ import "@vueuse/core";
64
63
  import "./JModalTip.js";
65
64
  import "ant-design-vue";
66
- import "@vueuse/core";
67
65
  const _sfc_main = defineComponent({
68
66
  name: "OnlineModal",
69
67
  props: {
@@ -105,11 +103,13 @@ const _sfc_main = defineComponent({
105
103
  formRendered,
106
104
  tableName,
107
105
  formDataId,
108
- enableComment
106
+ enableComment,
107
+ onCloseEvent
109
108
  } = useAutoModal(false, { emit }, reloadComment);
110
109
  function handleSuccess(formData) {
111
110
  emit("success", formData);
112
111
  closeModal();
112
+ onCloseEvent();
113
113
  }
114
114
  watch(() => props.id, renderFormItems, { immediate: true });
115
115
  function renderFormItems() {
@@ -141,7 +141,8 @@ const _sfc_main = defineComponent({
141
141
  tableName,
142
142
  formDataId,
143
143
  enableComment,
144
- commentPanelRef
144
+ commentPanelRef,
145
+ onCloseEvent
145
146
  };
146
147
  return that;
147
148
  }
@@ -153,6 +154,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
153
154
  const _component_BasicModal = resolveComponent("BasicModal");
154
155
  return openBlock(), createBlock(_component_BasicModal, mergeProps({
155
156
  title: _ctx.title,
157
+ onCancel: _ctx.onCloseEvent,
156
158
  enableComment: _ctx.enableComment,
157
159
  width: _ctx.modalWidth
158
160
  }, _ctx.$attrs, {
@@ -216,7 +218,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
216
218
  }, null, 8, ["id", "disabled", "form-template", "isTree", "pidField", "onRendered", "onSuccess"])
217
219
  ]),
218
220
  _: 1
219
- }, 16, ["title", "enableComment", "width", "onRegister", "onOk"]);
221
+ }, 16, ["title", "onCancel", "enableComment", "width", "onRegister", "onOk"]);
220
222
  }
221
223
  var OnlineAutoModal = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
222
224
  export { OnlineAutoModal as default };
@@ -56,20 +56,18 @@ import "./_commonjsHelpers.js";
56
56
  import "/@/store/modules/user";
57
57
  import "/@/utils/desform/customExpression";
58
58
  import "/@/components/Form/src/componentMap";
59
- import "./OnlineSelectCascade.js";
60
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
61
- import "vue-router";
62
59
  import "/@/store/modules/permission";
63
60
  import "/@/utils/propTypes";
64
61
  import "/@/utils/dict/JDictSelectUtil";
65
62
  import "/@/utils/common/compUtils";
66
63
  import "/@/hooks/system/useListPage";
64
+ import "vue-router";
67
65
  import "/@/components/Form/src/utils/Area";
68
66
  import "/@/components/Preview/index";
69
67
  import "./LinkTableListPiece.js";
68
+ import "@vueuse/core";
70
69
  import "./JModalTip.js";
71
70
  import "ant-design-vue";
72
- import "@vueuse/core";
73
71
  import "/@/components/jeecg/comment/CommentPanel.vue";
74
72
  import "./OnlineFormDetail.js";
75
73
  import "./DetailForm.js";