@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
@@ -32,13 +32,10 @@ import "./_commonjsHelpers.js";
32
32
  import "/@/store/modules/user";
33
33
  import "/@/utils/desform/customExpression";
34
34
  import "/@/components/Form/src/componentMap";
35
- import "./OnlineSelectCascade.js";
36
- import "/@/hooks/web/useMessage";
37
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
38
- import "vue-router";
39
35
  import "/@/store/modules/permission";
40
36
  import "/@/utils/propTypes";
41
37
  import "@ant-design/icons-vue";
38
+ import "/@/hooks/web/useMessage";
42
39
  import "/@/components/Form/index";
43
40
  import "/@/utils/dict/JDictSelectUtil";
44
41
  import "/@/utils/common/compUtils";
@@ -49,14 +46,15 @@ import "./toString.js";
49
46
  import "./_arrayPush.js";
50
47
  import "/@/components/Table";
51
48
  import "/@/hooks/system/useListPage";
49
+ import "vue-router";
52
50
  import "/@/components/Form/src/utils/Area";
53
51
  import "/@/components/Preview/index";
54
52
  import "./LinkTableListPiece.js";
53
+ import "@vueuse/core";
55
54
  import "/@/components/Loading";
56
55
  import "/@/utils/auth";
57
56
  import "./JModalTip.js";
58
57
  import "ant-design-vue";
59
- import "@vueuse/core";
60
58
  import "/@/components/jeecg/JVxeTable/types";
61
59
  import "/@/hooks/core/useContext";
62
60
  import "/@/utils/mitt";
@@ -46,9 +46,6 @@ import "./_commonjsHelpers.js";
46
46
  import "/@/store/modules/user";
47
47
  import "/@/utils/desform/customExpression";
48
48
  import "/@/components/Form/src/componentMap";
49
- import "./OnlineSelectCascade.js";
50
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
51
- import "vue-router";
52
49
  import "/@/store/modules/permission";
53
50
  import "/@/components/Form/index";
54
51
  import "./pick.js";
@@ -58,10 +55,11 @@ import "./toString.js";
58
55
  import "./_arrayPush.js";
59
56
  import "/@/components/Table";
60
57
  import "/@/hooks/system/useListPage";
58
+ import "vue-router";
61
59
  import "./LinkTableListPiece.js";
60
+ import "@vueuse/core";
62
61
  import "./JModalTip.js";
63
62
  import "ant-design-vue";
64
- import "@vueuse/core";
65
63
  import "./OnlineSubFormDetail.js";
66
64
  const _sfc_main = defineComponent({
67
65
  name: "OnlineDetailModal",
package/OnlineForm.js CHANGED
@@ -57,21 +57,19 @@ import "./_commonjsHelpers.js";
57
57
  import "/@/store/modules/user";
58
58
  import "/@/utils/desform/customExpression";
59
59
  import "/@/components/Form/src/componentMap";
60
- import "./OnlineSelectCascade.js";
61
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
62
- import "vue-router";
63
60
  import "/@/store/modules/permission";
64
61
  import "/@/utils/propTypes";
65
62
  import "/@/utils/dict/JDictSelectUtil";
66
63
  import "/@/utils/common/compUtils";
67
64
  import "/@/components/Table";
68
65
  import "/@/hooks/system/useListPage";
66
+ import "vue-router";
69
67
  import "/@/components/Form/src/utils/Area";
70
68
  import "/@/components/Preview/index";
71
69
  import "./LinkTableListPiece.js";
70
+ import "@vueuse/core";
72
71
  import "./JModalTip.js";
73
72
  import "ant-design-vue";
74
- import "@vueuse/core";
75
73
  import "./_flatRest.js";
76
74
  import "./isArray.js";
77
75
  import "./toString.js";
@@ -156,9 +154,7 @@ const _sfc_main = {
156
154
  fieldDisplayStatus
157
155
  } = useFormItems(props, onlineFormRef);
158
156
  let { EnhanceJS, initCgEnhanceJs } = useEnhance(onlineFormContext, false);
159
- console.log("--------v3_hello-----------");
160
157
  console.log("--formSchemas----------", formSchemas);
161
- tableName.value = "v3_hello";
162
158
  const [registerForm, { setProps, validate, resetFields, setFieldsValue, updateSchema, getFieldsValue, scrollToField }] = useForm({
163
159
  schemas: formSchemas,
164
160
  showActionButtonGroup: false,
@@ -739,6 +735,21 @@ const _sfc_main = {
739
735
  instance.addRows(record, { isOnlineJS: false, setActive: false, emitChange: true });
740
736
  }
741
737
  }
738
+ function onCloseModal() {
739
+ let arr = subTabInfo.value;
740
+ if (arr && arr.length > 0) {
741
+ for (let item of arr) {
742
+ if (item.relationType == 1)
743
+ ;
744
+ else {
745
+ let inst = getSubTableInstance(item.key);
746
+ if (inst) {
747
+ inst.clearSelection();
748
+ }
749
+ }
750
+ }
751
+ }
752
+ }
742
753
  let context = {
743
754
  tableName,
744
755
  loading,
@@ -797,7 +808,8 @@ const _sfc_main = {
797
808
  registerPopModal,
798
809
  popTableName,
799
810
  getPopFormData,
800
- popModalRequest
811
+ popModalRequest,
812
+ onCloseModal
801
813
  };
802
814
  }
803
815
  };
@@ -919,7 +931,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
919
931
  id: $setup.popTableName,
920
932
  onRegister: $setup.registerPopModal,
921
933
  onSuccess: $setup.getPopFormData,
922
- topTip: ""
934
+ topTip: "",
935
+ isVxeTableData: ""
923
936
  }, null, 8, ["request", "id", "onRegister", "onSuccess"])
924
937
  ], 8, _hoisted_1);
925
938
  }
@@ -61,9 +61,6 @@ import "./_commonjsHelpers.js";
61
61
  import "/@/store/modules/user";
62
62
  import "/@/utils/desform/customExpression";
63
63
  import "/@/components/Form/src/componentMap";
64
- import "./OnlineSelectCascade.js";
65
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
66
- import "vue-router";
67
64
  import "/@/store/modules/permission";
68
65
  import "/@/components/Modal";
69
66
  import "./pick.js";
@@ -73,10 +70,11 @@ import "./toString.js";
73
70
  import "./_arrayPush.js";
74
71
  import "/@/components/Table";
75
72
  import "/@/hooks/system/useListPage";
73
+ import "vue-router";
76
74
  import "./LinkTableListPiece.js";
75
+ import "@vueuse/core";
77
76
  import "./JModalTip.js";
78
77
  import "ant-design-vue";
79
- import "@vueuse/core";
80
78
  const _sfc_main = {
81
79
  name: "OnlineFormDetail",
82
80
  components: {
@@ -155,7 +153,7 @@ const _sfc_main = {
155
153
  }
156
154
  function show(_status, record) {
157
155
  return __async(this, null, function* () {
158
- console.log("\u8FDB\u5165\u8BE6\u60C5\u8868\u5355\u300B\u300Bform", record);
156
+ console.log("\u8FDB\u5165\u8868\u5355\u8BE6\u60C5\u300B\u300Bform", record);
159
157
  yield edit(record);
160
158
  });
161
159
  }
@@ -48,9 +48,6 @@ import "/@/store/modules/user";
48
48
  import "/@/utils";
49
49
  import "/@/utils/desform/customExpression";
50
50
  import "/@/components/Form/src/componentMap";
51
- import "./OnlineSelectCascade.js";
52
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
53
- import "vue-router";
54
51
  import "/@/store/modules/permission";
55
52
  import "/@/utils/propTypes";
56
53
  import "@ant-design/icons-vue";
@@ -64,14 +61,15 @@ import "./toString.js";
64
61
  import "./_arrayPush.js";
65
62
  import "/@/components/Table";
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 "/@/components/Loading";
71
70
  import "/@/utils/auth";
72
71
  import "./JModalTip.js";
73
72
  import "ant-design-vue";
74
- import "@vueuse/core";
75
73
  var OnlineQueryForm_vue_vue_type_style_index_0_scoped_true_lang = "";
76
74
  const _sfc_main = {
77
75
  name: "OnlineQueryForm",
@@ -16,13 +16,10 @@ var __spreadValues = (a, b) => {
16
16
  };
17
17
  import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, normalizeClass, withCtx, createElementVNode, toDisplayString, createElementBlock, Fragment, createVNode, renderList, createTextVNode, mergeProps, useCssVars, pushScopeId, popScopeId } from "vue";
18
18
  import { JDictSelectTag, JTreeSelect, JCategorySelect, JSelectUser, JSelectUserByDept, JSelectDept, JPopup, JAreaLinkage, JAreaSelect, JSelectMultiple } from "/@/components/Form";
19
- import JOnlineSearchSelect from "./JOnlineSearchSelect.js";
20
- import { _ as _export_sfc } from "./index.js";
21
- import "@vueuse/core";
19
+ import { _ as _export_sfc, J as JOnlineSearchSelect } from "./index.js";
22
20
  import "/@/utils/http/axios";
23
21
  import "/@/hooks/web/useMessage";
24
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
25
- import "vue-router";
22
+ import "@vueuse/core";
26
23
  var OnlineSearchFormItem_vue_vue_type_style_index_0_scoped_true_lang = "";
27
24
  const __default__ = defineComponent({
28
25
  name: "OnlineSearchFormItem",
@@ -34,9 +34,6 @@ import "/@/store/modules/user";
34
34
  import "/@/utils";
35
35
  import "/@/utils/desform/customExpression";
36
36
  import "/@/components/Form/src/componentMap";
37
- import "./OnlineSelectCascade.js";
38
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
39
- import "vue-router";
40
37
  import "/@/store/modules/permission";
41
38
  import "/@/utils/propTypes";
42
39
  import "@ant-design/icons-vue";
@@ -50,13 +47,14 @@ import "./toString.js";
50
47
  import "./_arrayPush.js";
51
48
  import "/@/components/Table";
52
49
  import "/@/hooks/system/useListPage";
50
+ import "vue-router";
53
51
  import "/@/components/Form/src/utils/Area";
54
52
  import "/@/components/Preview/index";
55
53
  import "./LinkTableListPiece.js";
54
+ import "@vueuse/core";
56
55
  import "/@/utils/auth";
57
56
  import "./JModalTip.js";
58
57
  import "ant-design-vue";
59
- import "@vueuse/core";
60
58
  import "/@/utils/dict";
61
59
  import "/@/utils/dict/index";
62
60
  import "/@/api/common/api";
@@ -16,7 +16,8 @@ import "/@/utils/is";
16
16
  import "./_baseSlice.js";
17
17
  import "./toString.js";
18
18
  import "./isArray.js";
19
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
19
+ import "/@/utils/http/axios";
20
+ import "@vueuse/core";
20
21
  const SAVE_CODE_PRE = "JSuperQuerySaved_";
21
22
  function useSuperQuery() {
22
23
  const { createMessage: $message } = useMessage();
@@ -466,7 +467,7 @@ const _sfc_main = {
466
467
  };
467
468
  }
468
469
  };
469
- const _withScopeId = (n) => (pushScopeId("data-v-6b47b90c"), n = n(), popScopeId(), n);
470
+ const _withScopeId = (n) => (pushScopeId("data-v-2878ef8e"), n = n(), popScopeId(), n);
470
471
  const _hoisted_1 = { class: "j-super-query-button" };
471
472
  const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, "\u5DF2\u6709\u9AD8\u7EA7\u67E5\u8BE2\u6761\u4EF6\u751F\u6548", -1));
472
473
  const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, "\u9AD8\u7EA7\u67E5\u8BE2", -1));
@@ -553,7 +554,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
553
554
  createVNode(_component_BasicModal, {
554
555
  title: "\u9AD8\u7EA7\u67E5\u8BE2\u6784\u9020\u5668",
555
556
  canFullscreen: false,
556
- width: 1050,
557
+ width: 1055,
557
558
  onRegister: $setup.registerFormModal,
558
559
  onOk: $setup.handleSubmit
559
560
  }, {
@@ -903,5 +904,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
903
904
  }, 8, ["visible", "onOk"])
904
905
  ], 64);
905
906
  }
906
- var OnlineSuperQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6b47b90c"]]);
907
+ var OnlineSuperQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2878ef8e"]]);
907
908
  export { OnlineSuperQuery as default };
@@ -39,8 +39,7 @@ import "./omit.js";
39
39
  import "./_baseClone.js";
40
40
  import "./_baseSlice.js";
41
41
  import "/@/hooks/web/useMessage";
42
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
43
- import "vue-router";
42
+ import "@vueuse/core";
44
43
  var PageAttributeTable_vue_vue_type_style_index_0_scoped_true_lang = "";
45
44
  const commonPageOptions = [
46
45
  { title: "\u6587\u672C\u6846", value: "text" },
@@ -48,21 +48,19 @@ import "./_commonjsHelpers.js";
48
48
  import "/@/store/modules/user";
49
49
  import "/@/utils/desform/customExpression";
50
50
  import "/@/components/Form/src/componentMap";
51
- import "./OnlineSelectCascade.js";
52
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
53
- import "vue-router";
54
51
  import "/@/store/modules/permission";
55
52
  import "/@/utils/propTypes";
56
53
  import "/@/utils/dict/JDictSelectUtil";
57
54
  import "/@/utils/common/compUtils";
58
55
  import "/@/components/Table";
59
56
  import "/@/hooks/system/useListPage";
57
+ import "vue-router";
60
58
  import "/@/components/Form/src/utils/Area";
61
59
  import "/@/components/Preview/index";
62
60
  import "./LinkTableListPiece.js";
61
+ import "@vueuse/core";
63
62
  import "./JModalTip.js";
64
63
  import "ant-design-vue";
65
- import "@vueuse/core";
66
64
  var ProcessOnlineForm_vue_vue_type_style_index_0_scoped_true_lang = "";
67
65
  const _sfc_main = defineComponent({
68
66
  name: "ProcessOnlineForm",
package/QueryTable.js CHANGED
@@ -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: "QueryTable",
38
38
  emits: ["query"],