@jeecg/online 3.7.1-RC → 3.7.4

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 (142) hide show
  1. package/AccountLoginForm-d2fed52f.mjs +254 -0
  2. package/AiModal-fbe4b68a.mjs +84 -0
  3. package/AppForgetPassword-3b3bec82.mjs +310 -0
  4. package/AppLogin-cd2e2a87.mjs +287 -0
  5. package/AppLoginHeader-9b5be678.mjs +27 -0
  6. package/AppNameEmail-b4e32ae8.mjs +180 -0
  7. package/AppRegister-7117b66a.mjs +303 -0
  8. package/AppTenant-5817729b.mjs +373 -0
  9. package/AppThirdForm-d14fb5e5.mjs +189 -0
  10. package/AuthButtonConfig-5e3b6d72.mjs +156 -0
  11. package/AuthButtonTree-7b4ec967.mjs +165 -0
  12. package/{AuthDataConfig-5c3a8e6b.mjs → AuthDataConfig-48ee9228.mjs} +23 -23
  13. package/{AuthDataTree-dd7a1240.mjs → AuthDataTree-02b3ba05.mjs} +43 -43
  14. package/{AuthFieldConfig-9f6fa06c.mjs → AuthFieldConfig-562cc6b6.mjs} +71 -71
  15. package/AuthFieldTree-2d458c0c.mjs +232 -0
  16. package/{AuthManagerDrawer-76f15e8d.mjs → AuthManagerDrawer-38299230.mjs} +6 -6
  17. package/{AuthSetterModal-f5d2e87f.mjs → AuthSetterModal-78b06703.mjs} +9 -9
  18. package/BuiltInButtonList-bb6cf95c.mjs +10 -0
  19. package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
  20. package/CgformAddressModal-1b9cbe19.mjs +260 -0
  21. package/CgformCopyList-580bba0f.mjs +252 -0
  22. package/{CgformModal-21c5c387.mjs → CgformModal-12951453.mjs} +190 -194
  23. package/{CgreportModal-edefa8e3.mjs → CgreportModal-bfeb93ed.mjs} +181 -168
  24. package/{CheckDictTable-1bc8322d.mjs → CheckDictTable-3c1e59e0.mjs} +3 -3
  25. package/CodeFileListModal-71752603.mjs +159 -0
  26. package/{CodeFileViewModal-2fe911f4.mjs → CodeFileViewModal-eb803769.mjs} +66 -66
  27. package/CodeGeneratorModal-2fe1e920.mjs +281 -0
  28. package/CustomButtonList-22b5cdb3.mjs +274 -0
  29. package/{DBAttributeTable-285d40db.mjs → DBAttributeTable-eb25565c.mjs} +3 -3
  30. package/{DbToOnlineModal-5dcb67c3.mjs → DbToOnlineModal-049b4bbd.mjs} +53 -54
  31. package/{DetailForm-deecbf3d.mjs → DetailForm-c127c27f.mjs} +5 -5
  32. package/DropMenuItem-b1a8f47d.mjs +44 -0
  33. package/{EnhanceJavaModal-45c66cd5.mjs → EnhanceJavaModal-1a4d696b.mjs} +62 -62
  34. package/{EnhanceJsHistory-fab3102e.mjs → EnhanceJsHistory-48cf43ad.mjs} +35 -35
  35. package/{EnhanceJsModal-175357a1.mjs → EnhanceJsModal-0e1f15f8.mjs} +102 -102
  36. package/{EnhanceSqlModal-7ea1b300.mjs → EnhanceSqlModal-6a1aa471.mjs} +67 -67
  37. package/ErrorTip-bb616e32.mjs +7 -0
  38. package/ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs +60 -0
  39. package/{ExtendConfigModal-a89ae052.mjs → ExtendConfigModal-37af21a5.mjs} +2 -2
  40. package/{FieldExtendJsonModal-32135634.mjs → FieldExtendJsonModal-9441e08e.mjs} +2 -2
  41. package/{FileSelectModal-1643c8b9.mjs → FileSelectModal-04490919.mjs} +23 -23
  42. package/{ForeignKeyTable-7f7e28a7.mjs → ForeignKeyTable-06300a47.mjs} +3 -3
  43. package/{IndexTable-cdcc2b48.mjs → IndexTable-79bddd5c.mjs} +3 -3
  44. package/JModalTip-192fafa1.mjs +49 -0
  45. package/{JOnlineSearchSelect-22aae934.mjs → JOnlineSearchSelect-9abcf657.mjs} +1 -1
  46. package/{LeftDepart-d5615ed9.mjs → LeftDepart-35d78655.mjs} +1 -1
  47. package/LeftRole-9d88976d.mjs +86 -0
  48. package/{LeftUser-22baa378.mjs → LeftUser-04c89aea.mjs} +30 -30
  49. package/{LinkTableConfigModal-9242d750.mjs → LinkTableConfigModal-5f94ef13.mjs} +43 -31
  50. package/{LinkTableFieldConfigModal-24adc50c.mjs → LinkTableFieldConfigModal-40753de5.mjs} +1 -1
  51. package/{LinkTableListPiece-f3a8e0d7.mjs → LinkTableListPiece-179035c7.mjs} +1 -1
  52. package/{ModalFormDemo-711418db.mjs → ModalFormDemo-3a85920c.mjs} +1 -1
  53. package/OnlCgformErpList-8fd15fc1.mjs +488 -0
  54. package/OnlCgformErpSubTable-3515150b.mjs +441 -0
  55. package/{OnlCgformInnerSubTable-6c23781f.mjs → OnlCgformInnerSubTable-13e888c6.mjs} +38 -38
  56. package/OnlCgformInnerTableList-2e8f853c.mjs +474 -0
  57. package/OnlCgformTabList-583ac15f.mjs +424 -0
  58. package/OnlineAutoList-36ec0957.mjs +513 -0
  59. package/OnlineAutoModal-c0743caf.mjs +260 -0
  60. package/OnlineAutoTreeList-1cd718be.mjs +523 -0
  61. package/OnlineCustomModal-661ee850.mjs +232 -0
  62. package/{OnlineDetailModal-d5895734.mjs → OnlineDetailModal-785e848e.mjs} +74 -65
  63. package/OnlineForm-c1fb38eb.mjs +1012 -0
  64. package/{OnlineFormDetail-022ca117.mjs → OnlineFormDetail-50186870.mjs} +7 -7
  65. package/{OnlineFormUrlAdd-9715d70a.mjs → OnlineFormUrlAdd-905bf251.mjs} +9 -9
  66. package/{OnlineFormUrlDetail-8f864b1a.mjs → OnlineFormUrlDetail-a9dd2bfa.mjs} +11 -11
  67. package/{OnlineFormUrlEdit-ac985b36.mjs → OnlineFormUrlEdit-b8941f05.mjs} +9 -9
  68. package/OnlineFormUrlSuccess-ecaf6a21.mjs +59 -0
  69. package/OnlineQueryForm-ca6186a3.mjs +484 -0
  70. package/{OnlineSearchFormItem-6c557343.mjs → OnlineSearchFormItem-5c503a51.mjs} +82 -82
  71. package/{OnlineSelectCascade-05c40fef.mjs → OnlineSelectCascade-a3e686b3.mjs} +1 -1
  72. package/{OnlineSubFormDetail-58e896ce.mjs → OnlineSubFormDetail-be1ad3b9.mjs} +52 -53
  73. package/{OnlineTabAutoModal-47b18ad6.mjs → OnlineTabAutoModal-fb59b573.mjs} +108 -95
  74. package/{OnlineTabDetailModal-82de1465.mjs → OnlineTabDetailModal-4b9c4838.mjs} +36 -36
  75. package/OnlineTabForm-89389384.mjs +814 -0
  76. package/{OnlineTabFormDetail-8d0c40c0.mjs → OnlineTabFormDetail-72173ae4.mjs} +17 -17
  77. package/{PageAttributeTable-25e3b7da.mjs → PageAttributeTable-345b97fe.mjs} +108 -108
  78. package/PhoneLoginForm-8ca7e2d4.mjs +214 -0
  79. package/{ProcessOnlineForm-148632fe.mjs → ProcessOnlineForm-485b5679.mjs} +32 -32
  80. package/{QueryTable-f7bfca7f.mjs → QueryTable-f0a88d78.mjs} +3 -3
  81. package/SetSwitchOptions-cdcb22a1.mjs +62 -0
  82. package/ShareAddView-f713c0a5.mjs +86 -0
  83. package/ShareEditView-691764ad.mjs +92 -0
  84. package/ShareView-df344a8d.mjs +80 -0
  85. package/ShareView.vue_vue_type_script_setup_true_lang-560459c9.mjs +162 -0
  86. package/SingleView-ad0287d6.mjs +68 -0
  87. package/SingleView.vue_vue_type_style_index_0_lang-ce96670b.mjs +131 -0
  88. package/SuperQuery-2b293e3b.mjs +974 -0
  89. package/{SuperQueryValComponent-7ad86d4b.mjs → SuperQueryValComponent-5a9ccfd4.mjs} +1 -1
  90. package/{SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs → SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs} +11 -11
  91. package/{auth.api-ea1d33d4.mjs → auth.api-53df4c33.mjs} +17 -17
  92. package/{auth.data-511e5197.mjs → auth.data-626c5083.mjs} +16 -12
  93. package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
  94. package/{enhance.data-a67572e1.mjs → enhance.data-6601ff44.mjs} +1 -1
  95. package/index-181f8344.mjs +219 -0
  96. package/index-19eaef11.mjs +11 -0
  97. package/{index-30e0e923.mjs → index-3c7392a4.mjs} +272 -262
  98. package/{index-f30613d1.mjs → index-3ccda826.mjs} +59 -59
  99. package/index-5e89258d.mjs +8 -0
  100. package/index-93341e02.mjs +110 -0
  101. package/index-bef7fe2d.mjs +74 -0
  102. package/index-d6f9ada7.mjs +135 -0
  103. package/index-f3683351.mjs +57 -0
  104. package/main.index.js +1 -1
  105. package/package.json +1 -1
  106. package/shareStore-7de6c7a6.mjs +67 -0
  107. package/style.css +1 -1
  108. package/useCgformList-13c8aab7.mjs +378 -0
  109. package/useExtendComponent-3f5734ca.mjs +4459 -0
  110. package/useListButton-ee23874a.mjs +719 -0
  111. package/{useSchemas-a9c75b0f.mjs → useSchemas-f1819e54.mjs} +72 -39
  112. package/{useTableSync-d7e9f18d.mjs → useTableSync-075826a1.mjs} +1 -1
  113. package/utils-9fce7606.mjs +16 -0
  114. package/AiModal-6de335e3.mjs +0 -84
  115. package/AuthButtonConfig-89763932.mjs +0 -154
  116. package/AuthButtonTree-2d87d0b3.mjs +0 -157
  117. package/AuthFieldTree-e326fc38.mjs +0 -232
  118. package/CgformCopyList-365b3e8f.mjs +0 -251
  119. package/CodeFileListModal-24601898.mjs +0 -159
  120. package/CodeGeneratorModal-f09fe903.mjs +0 -282
  121. package/CustomButtonList-f07bc695.mjs +0 -397
  122. package/JModalTip-b055ab60.mjs +0 -49
  123. package/LeftRole-2ed8a2bf.mjs +0 -86
  124. package/OnlCgformErpList-58acdfa0.mjs +0 -470
  125. package/OnlCgformErpSubTable-9b1e1938.mjs +0 -426
  126. package/OnlCgformInnerTableList-4b5e14ed.mjs +0 -458
  127. package/OnlCgformTabList-019ad753.mjs +0 -408
  128. package/OnlineAutoList-48589d09.mjs +0 -493
  129. package/OnlineAutoModal-c2928847.mjs +0 -239
  130. package/OnlineAutoTreeList-3baa1d00.mjs +0 -503
  131. package/OnlineCustomModal-9e17b6ce.mjs +0 -232
  132. package/OnlineForm-9f1153ba.mjs +0 -985
  133. package/OnlineFormUrlSuccess-3dfc54ab.mjs +0 -59
  134. package/OnlineQueryForm-eedb9a60.mjs +0 -466
  135. package/OnlineTabForm-27655c83.mjs +0 -817
  136. package/SetSwitchOptions-b2af757f.mjs +0 -62
  137. package/SuperQuery-a8592995.mjs +0 -967
  138. package/index-1d1a6e56.mjs +0 -57
  139. package/useCgformList-f41d4dc1.mjs +0 -426
  140. package/useExtendComponent-dcae5c78.mjs +0 -4399
  141. package/useListButton-bfac4ecf.mjs +0 -697
  142. /package/{OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs} +0 -0
@@ -1,40 +1,40 @@
1
1
  var X = Object.defineProperty;
2
2
  var E = Object.getOwnPropertySymbols;
3
3
  var Y = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
4
- var R = (e, t, o) => t in e ? X(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, A = (e, t) => {
5
- for (var o in t || (t = {}))
6
- Y.call(t, o) && R(e, o, t[o]);
4
+ var R = (e, o, n) => o in e ? X(e, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[o] = n, A = (e, o) => {
5
+ for (var n in o || (o = {}))
6
+ Y.call(o, n) && R(e, n, o[n]);
7
7
  if (E)
8
- for (var o of E(t))
9
- Z.call(t, o) && R(e, o, t[o]);
8
+ for (var n of E(o))
9
+ Z.call(o, n) && R(e, n, o[n]);
10
10
  return e;
11
11
  };
12
- var d = (e, t, o) => new Promise((g, p) => {
12
+ var d = (e, o, n) => new Promise((_, p) => {
13
13
  var b = (i) => {
14
14
  try {
15
- c(o.next(i));
15
+ c(n.next(i));
16
16
  } catch (u) {
17
17
  p(u);
18
18
  }
19
19
  }, s = (i) => {
20
20
  try {
21
- c(o.throw(i));
21
+ c(n.throw(i));
22
22
  } catch (u) {
23
23
  p(u);
24
24
  }
25
- }, c = (i) => i.done ? g(i.value) : Promise.resolve(i.value).then(b, s);
26
- c((o = o.apply(e, t)).next());
25
+ }, c = (i) => i.done ? _(i.value) : Promise.resolve(i.value).then(b, s);
26
+ c((n = n.apply(e, o)).next());
27
27
  });
28
- import { defineComponent as x, ref as y, reactive as ee, computed as oe, nextTick as ne, resolveComponent as r, openBlock as D, createBlock as q, withCtx as a, createVNode as l, createTextVNode as _, createElementBlock as te, createCommentVNode as L, normalizeProps as ae, guardReactiveProps as le } from "vue";
28
+ import { defineComponent as x, ref as v, reactive as ee, computed as oe, nextTick as ne, resolveComponent as r, openBlock as D, createBlock as q, withCtx as a, createVNode as l, createTextVNode as g, createElementBlock as te, createCommentVNode as L, normalizeProps as ae, guardReactiveProps as le } from "vue";
29
29
  import { BasicModal as ie, useModalInner as re, useModal as se } from "/@/components/Modal";
30
30
  import { BasicForm as ce, useForm as ue } from "/@/components/Form";
31
31
  import { BasicTable as me, TableAction as de } from "/@/components/Table";
32
32
  import { useListPage as pe } from "/@/hooks/system/useListPage";
33
33
  import { u as fe } from "./useOnlineTest-e4bd8be3.mjs";
34
- import { b as _e, c as ge } from "./enhance.data-a67572e1.mjs";
35
- import { c as be, e as he, f as P } from "./enhance.api-138e6826.mjs";
36
- import { _ as Ce } from "./index-1d1a6e56.mjs";
37
- import "./cgform.data-475d4984.mjs";
34
+ import { b as ge, c as _e } from "./enhance.data-6601ff44.mjs";
35
+ import { c as be, e as Ce, f as P } from "./enhance.api-138e6826.mjs";
36
+ import { _ as we } from "./index-f3683351.mjs";
37
+ import "./cgform.data-0ca62d09.mjs";
38
38
  import "/@/utils/dict";
39
39
  import "/@/utils/dict/JDictSelectUtil";
40
40
  import "/@/utils/uuid";
@@ -43,28 +43,28 @@ import "/@/utils/is";
43
43
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
44
44
  import "/@/hooks/web/useMessage";
45
45
  import "vue-router";
46
- const we = x({
46
+ const ye = x({
47
47
  name: "EnhanceSqlModal",
48
48
  components: { BasicModal: ie, BasicTable: me, BasicForm: ce, TableAction: de },
49
49
  emits: ["register"],
50
50
  setup() {
51
- const e = y(""), t = y(""), o = y([]), { columns: g } = ge(o), { doRequest: p, doDeleteRecord: b, tableContext: s } = pe({
51
+ const e = v(""), o = v(""), n = v([]), { columns: _ } = _e(n), { doRequest: p, doDeleteRecord: b, tableContext: s } = pe({
52
52
  tableProps: {
53
- api: (n) => d(this, null, function* () {
54
- let { dataSource: w, btnList: J } = yield be(e.value, n);
55
- return o.value = J, w;
53
+ api: (t) => d(this, null, function* () {
54
+ let { dataSource: y, btnList: J } = yield be(e.value, t);
55
+ return n.value = J, y;
56
56
  }),
57
- columns: g,
57
+ columns: _,
58
58
  canResize: !1,
59
59
  useSearchForm: !1,
60
- beforeFetch(n) {
61
- return Object.assign(n, { column: "orderNum", order: "asc" });
60
+ beforeFetch(t) {
61
+ return Object.assign(t, { column: "orderNum", order: "asc" });
62
62
  }
63
63
  }
64
- }), [c, { reload: i }, { rowSelection: u, selectedRowKeys: h }] = s, [v, { closeModal: M }] = re((n) => d(this, null, function* () {
65
- e.value = n.row.id, t.value = n.row.tableName, i();
66
- })), { aiTestMode: S, genEnhanceSqlData: B } = fe(), [C, m] = se(), f = y(!1), F = ee({
67
- onRegister: C,
64
+ }), [c, { reload: i }, { rowSelection: u, selectedRowKeys: C }] = s, [M, { closeModal: S }] = re((t) => d(this, null, function* () {
65
+ e.value = t.row.id, o.value = t.row.tableName, i();
66
+ })), { aiTestMode: h, genEnhanceSqlData: B } = fe(), [w, m] = se(), f = v(!1), F = ee({
67
+ onRegister: w,
68
68
  title: oe(() => f != null && f.value ? "修改" : "新增"),
69
69
  width: 800,
70
70
  confirmLoading: !1,
@@ -72,7 +72,7 @@ const we = x({
72
72
  onCancel: m.closeModal
73
73
  });
74
74
  let k = {};
75
- const { formSchemas: N } = _e(o), [$, { resetFields: O, setFieldsValue: V, validate: G }] = ue({
75
+ const { formSchemas: N } = ge(n), [$, { resetFields: O, setFieldsValue: V, validate: G }] = ue({
76
76
  schemas: N,
77
77
  showActionButtonGroup: !1,
78
78
  // update-begin--author:liaozhiyang---date:20231017---for:【issues/790】弹窗内文本框不居中问题
@@ -82,63 +82,63 @@ const we = x({
82
82
  // update-end--author:liaozhiyang---date:20231017---for:【issues/790】弹窗内文本框不居中问题
83
83
  });
84
84
  function I() {
85
- M();
85
+ S();
86
86
  }
87
- function T(n) {
87
+ function T(t) {
88
88
  return d(this, null, function* () {
89
- var w;
90
- f.value = n.isUpdate, k = A({}, (w = n.record) != null ? w : {}), m.openModal(), yield ne(), yield O(), V(k);
89
+ var y;
90
+ f.value = t.isUpdate, k = A({}, (y = t.record) != null ? y : {}), m.openModal(), yield ne(), yield O(), V(k);
91
91
  });
92
92
  }
93
93
  function j() {
94
94
  T({ isUpdate: !1 });
95
95
  }
96
- function z(n) {
97
- T({ isUpdate: !0, record: n });
96
+ function z(t) {
97
+ T({ isUpdate: !0, record: t });
98
98
  }
99
99
  function K() {
100
- B(e.value, t.value);
100
+ B(e.value, o.value);
101
101
  }
102
102
  function U() {
103
103
  return d(this, null, function* () {
104
- p(() => P(h.value));
104
+ p(() => P(C.value));
105
105
  });
106
106
  }
107
107
  function H() {
108
108
  return d(this, null, function* () {
109
109
  try {
110
110
  F.confirmLoading = !0;
111
- let n = yield G();
112
- n = Object.assign({}, k, n), yield he(e.value, n, f.value), i(), m.closeModal();
111
+ let t = yield G();
112
+ t = Object.assign({}, k, t), yield Ce(e.value, t, f.value), i(), m.closeModal();
113
113
  } finally {
114
114
  F.confirmLoading = !1;
115
115
  }
116
116
  });
117
117
  }
118
- function Q(n) {
118
+ function Q(t) {
119
119
  return [
120
120
  {
121
121
  label: "编辑",
122
- onClick: () => z(n)
122
+ onClick: () => z(t)
123
123
  }
124
124
  ];
125
125
  }
126
- function W(n) {
126
+ function W(t) {
127
127
  return [
128
128
  {
129
129
  label: "删除",
130
130
  popConfirm: {
131
131
  title: "确定删除吗?",
132
132
  placement: "left",
133
- confirm: () => b(() => P([n.id]))
133
+ confirm: () => b(() => P([t.id]))
134
134
  }
135
135
  }
136
136
  ];
137
137
  }
138
138
  return {
139
139
  rowSelection: u,
140
- selectedRowKeys: h,
141
- aiTestMode: S,
140
+ selectedRowKeys: C,
141
+ aiTestMode: h,
142
142
  onCancel: I,
143
143
  onAdd: j,
144
144
  onGenEnhanceSqlData: K,
@@ -146,7 +146,7 @@ const we = x({
146
146
  getTableAction: Q,
147
147
  getDropDownAction: W,
148
148
  formModalProps: F,
149
- registerModal: v,
149
+ registerModal: M,
150
150
  registerTable: c,
151
151
  registerForm: $
152
152
  };
@@ -159,13 +159,13 @@ const we = x({
159
159
  }
160
160
  }
161
161
  });
162
- const ye = {
162
+ const ve = {
163
163
  key: 0,
164
164
  style: { float: "left" }
165
165
  };
166
- function ve(e, t, o, g, p, b) {
167
- const s = r("a-button"), c = r("a-icon"), i = r("a-menu-item"), u = r("a-menu"), h = r("a-dropdown"), v = r("TableAction"), M = r("BasicTable"), S = r("BasicForm"), B = r("a-spin"), C = r("BasicModal");
168
- return D(), q(C, {
166
+ function Me(e, o, n, _, p, b) {
167
+ const s = r("a-button"), c = r("a-icon"), i = r("a-menu-item"), u = r("a-menu"), C = r("a-dropdown"), M = r("TableAction"), S = r("BasicTable"), h = r("BasicForm"), B = r("a-spin"), w = r("BasicModal");
168
+ return D(), q(w, {
169
169
  onRegister: e.registerModal,
170
170
  title: "SQL增强",
171
171
  width: 1200,
@@ -174,22 +174,22 @@ function ve(e, t, o, g, p, b) {
174
174
  }, {
175
175
  footer: a(() => [
176
176
  l(s, { onClick: e.onCancel }, {
177
- default: a(() => [
178
- _("关闭")
179
- ]),
177
+ default: a(() => o[3] || (o[3] = [
178
+ g("关闭")
179
+ ])),
180
180
  _: 1
181
181
  }, 8, ["onClick"]),
182
- e.aiTestMode ? (D(), te("div", ye, [
182
+ e.aiTestMode ? (D(), te("div", ve, [
183
183
  l(s, { onClick: e.onGenEnhanceSqlData }, {
184
- default: a(() => [
185
- _("生成测试数据")
186
- ]),
184
+ default: a(() => o[4] || (o[4] = [
185
+ g("生成测试数据")
186
+ ])),
187
187
  _: 1
188
188
  }, 8, ["onClick"])
189
189
  ])) : L("", !0)
190
190
  ]),
191
191
  default: a(() => [
192
- l(M, {
192
+ l(S, {
193
193
  onRegister: e.registerTable,
194
194
  rowSelection: e.rowSelection
195
195
  }, {
@@ -199,12 +199,12 @@ function ve(e, t, o, g, p, b) {
199
199
  type: "primary",
200
200
  preIcon: "ant-design:plus"
201
201
  }, {
202
- default: a(() => [
203
- _("新增")
204
- ]),
202
+ default: a(() => o[0] || (o[0] = [
203
+ g("新增")
204
+ ])),
205
205
  _: 1
206
206
  }, 8, ["onClick"]),
207
- e.selectedRowKeys.length > 0 ? (D(), q(h, { key: 0 }, {
207
+ e.selectedRowKeys.length > 0 ? (D(), q(C, { key: 0 }, {
208
208
  overlay: a(() => [
209
209
  l(u, null, {
210
210
  default: a(() => [
@@ -214,7 +214,7 @@ function ve(e, t, o, g, p, b) {
214
214
  }, {
215
215
  default: a(() => [
216
216
  l(c, { type: "delete" }),
217
- _(" 删除 ")
217
+ o[1] || (o[1] = g(" 删除 "))
218
218
  ]),
219
219
  _: 1
220
220
  }, 8, ["onClick"])
@@ -225,7 +225,7 @@ function ve(e, t, o, g, p, b) {
225
225
  default: a(() => [
226
226
  l(s, { style: { "margin-left": "8px" } }, {
227
227
  default: a(() => [
228
- _(" 批量操作 "),
228
+ o[2] || (o[2] = g(" 批量操作 ")),
229
229
  l(c, { type: "down" })
230
230
  ]),
231
231
  _: 1
@@ -235,20 +235,20 @@ function ve(e, t, o, g, p, b) {
235
235
  })) : L("", !0)
236
236
  ]),
237
237
  action: a(({ record: m }) => [
238
- l(v, {
238
+ l(M, {
239
239
  actions: e.getTableAction(m),
240
240
  dropDownActions: e.getDropDownAction(m)
241
241
  }, null, 8, ["actions", "dropDownActions"])
242
242
  ]),
243
243
  _: 1
244
244
  }, 8, ["onRegister", "rowSelection"]),
245
- l(C, ae(le(e.formModalProps)), {
245
+ l(w, ae(le(e.formModalProps)), {
246
246
  default: a(() => [
247
247
  l(B, {
248
248
  spinning: e.formModalProps.confirmLoading
249
249
  }, {
250
250
  default: a(() => [
251
- l(S, {
251
+ l(h, {
252
252
  class: "popupForm",
253
253
  onRegister: e.registerForm
254
254
  }, null, 8, ["onRegister"])
@@ -262,7 +262,7 @@ function ve(e, t, o, g, p, b) {
262
262
  _: 1
263
263
  }, 8, ["onRegister", "onCancel"]);
264
264
  }
265
- const je = /* @__PURE__ */ Ce(we, [["render", ve], ["__scopeId", "data-v-0a46f791"]]);
265
+ const je = /* @__PURE__ */ we(ye, [["render", Me], ["__scopeId", "data-v-0a46f791"]]);
266
266
  export {
267
267
  je as default
268
268
  };
@@ -0,0 +1,7 @@
1
+ import { _ as o } from "./ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs";
2
+ import "vue";
3
+ import "/@/router";
4
+ import "/@/enums/pageEnum";
5
+ export {
6
+ o as default
7
+ };
@@ -0,0 +1,60 @@
1
+ import { defineComponent as p, resolveComponent as l, openBlock as f, createBlock as c, withCtx as o, createVNode as n, createTextVNode as r } from "vue";
2
+ import { router as d } from "/@/router";
3
+ import { PageEnum as _ } from "/@/enums/pageEnum";
4
+ const x = /* @__PURE__ */ p({
5
+ __name: "ErrorTip",
6
+ props: {
7
+ title: {
8
+ type: String,
9
+ default: "啊哦,页面出错了"
10
+ },
11
+ subTitle: String
12
+ },
13
+ setup(i) {
14
+ function u() {
15
+ d.push(_.BASE_HOME);
16
+ }
17
+ function s() {
18
+ location.reload();
19
+ }
20
+ function a() {
21
+ window.close(), setTimeout(() => alert("当前页面无法通过按钮关闭,请手动关闭"), 1e3);
22
+ }
23
+ return (T, t) => {
24
+ const e = l("a-button"), m = l("a-result");
25
+ return f(), c(m, {
26
+ status: "error",
27
+ title: i.title,
28
+ subTitle: i.subTitle
29
+ }, {
30
+ extra: o(() => [
31
+ n(e, {
32
+ type: "primary",
33
+ onClick: u
34
+ }, {
35
+ default: o(() => t[0] || (t[0] = [
36
+ r("返回首页")
37
+ ])),
38
+ _: 1
39
+ }),
40
+ n(e, { onClick: s }, {
41
+ default: o(() => t[1] || (t[1] = [
42
+ r("刷新页面")
43
+ ])),
44
+ _: 1
45
+ }),
46
+ n(e, { onClick: a }, {
47
+ default: o(() => t[2] || (t[2] = [
48
+ r("关闭")
49
+ ])),
50
+ _: 1
51
+ })
52
+ ]),
53
+ _: 1
54
+ }, 8, ["title", "subTitle"]);
55
+ };
56
+ }
57
+ });
58
+ export {
59
+ x as _
60
+ };
@@ -18,8 +18,8 @@ import { defineComponent as B, nextTick as b, resolveComponent as h, openBlock a
18
18
  import { BasicModal as R, useModalInner as U } from "/@/components/Modal";
19
19
  import { BasicForm as V, useForm as v } from "/@/components/Form";
20
20
  import { useMessage as O } from "/@/hooks/web/useMessage";
21
- import { a as Q } from "./useSchemas-a9c75b0f.mjs";
22
- import { _ as E } from "./index-1d1a6e56.mjs";
21
+ import { a as Q } from "./useSchemas-f1819e54.mjs";
22
+ import { _ as E } from "./index-f3683351.mjs";
23
23
  import "ant-design-vue";
24
24
  import "@ant-design/icons-vue";
25
25
  import "/@/utils/common/compUtils";
@@ -28,12 +28,12 @@ var R = (t, a, n) => new Promise((f, i) => {
28
28
  });
29
29
  import { defineComponent as C, ref as m, reactive as j, toRaw as D, toRefs as K, resolveComponent as w, openBlock as $, createBlock as A, mergeProps as J, withCtx as y, createVNode as O } from "vue";
30
30
  import { BasicModal as U, useModalInner as Y } from "/@/components/Modal";
31
- import q from "./SetSwitchOptions-b2af757f.mjs";
31
+ import q from "./SetSwitchOptions-cdcb22a1.mjs";
32
32
  import { BasicForm as H, useForm as W } from "/@/components/Form/index";
33
33
  import { pick as z } from "lodash-es";
34
34
  import { L as x } from "./constant-fa63bd66.mjs";
35
35
  import { isArray as Q } from "/@/utils/is";
36
- import { _ as X } from "./index-1d1a6e56.mjs";
36
+ import { _ as X } from "./index-f3683351.mjs";
37
37
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
38
38
  import "/@/hooks/web/useMessage";
39
39
  import "vue-router";
@@ -1,23 +1,23 @@
1
- var u = (e, d, o) => new Promise((n, a) => {
1
+ var u = (e, i, o) => new Promise((n, a) => {
2
2
  var c = (t) => {
3
3
  try {
4
4
  l(o.next(t));
5
5
  } catch (r) {
6
6
  a(r);
7
7
  }
8
- }, i = (t) => {
8
+ }, s = (t) => {
9
9
  try {
10
10
  l(o.throw(t));
11
11
  } catch (r) {
12
12
  a(r);
13
13
  }
14
- }, l = (t) => t.done ? n(t.value) : Promise.resolve(t.value).then(c, i);
15
- l((o = o.apply(e, d)).next());
14
+ }, l = (t) => t.done ? n(t.value) : Promise.resolve(t.value).then(c, s);
15
+ l((o = o.apply(e, i)).next());
16
16
  });
17
- import { defineComponent as R, ref as f, resolveComponent as p, openBlock as h, createBlock as v, withCtx as m, createVNode as g, createElementVNode as k, createTextVNode as D, createCommentVNode as w } from "vue";
17
+ import { defineComponent as R, ref as f, resolveComponent as p, openBlock as v, createBlock as h, withCtx as m, createVNode as g, createElementVNode as k, createTextVNode as D, createCommentVNode as w } from "vue";
18
18
  import { defHttp as y } from "/@/utils/http/axios";
19
19
  import { BasicModal as B, useModalInner as b } from "/@/components/Modal";
20
- import { _ as F } from "./index-1d1a6e56.mjs";
20
+ import { _ as F } from "./index-f3683351.mjs";
21
21
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
22
22
  import "/@/hooks/web/useMessage";
23
23
  import "vue-router";
@@ -25,12 +25,12 @@ const E = R({
25
25
  name: "FileSelectModal",
26
26
  components: { BasicModal: B },
27
27
  emits: ["select", "register"],
28
- setup(e, { emit: d }) {
29
- const o = f(!0), n = f([]), a = f(""), c = f(!1), [i, { closeModal: l }] = b(() => u(this, null, function* () {
28
+ setup(e, { emit: i }) {
29
+ const o = f(!0), n = f([]), a = f(""), c = f(!1), [s, { closeModal: l }] = b(() => u(this, null, function* () {
30
30
  a.value = "", n.value.length === 0 && _();
31
31
  }));
32
32
  function t() {
33
- d("select", a.value), l();
33
+ i("select", a.value), l();
34
34
  }
35
35
  function r() {
36
36
  l();
@@ -45,28 +45,28 @@ const E = R({
45
45
  });
46
46
  });
47
47
  }
48
- function S(s) {
48
+ function S(d) {
49
49
  return u(this, null, function* () {
50
- if (s.dataRef.children)
50
+ if (d.dataRef.children)
51
51
  return;
52
52
  let M = {
53
- parentPath: s.dataRef.key
53
+ parentPath: d.dataRef.key
54
54
  };
55
- s.dataRef.children = yield y.get({ url: "/online/cgform/head/fileTree", params: M }), n.value = [...n.value];
55
+ d.dataRef.children = yield y.get({ url: "/online/cgform/head/fileTree", params: M }), n.value = [...n.value];
56
56
  });
57
57
  }
58
- function C(s) {
59
- a.value = s[0];
58
+ function C(d) {
59
+ a.value = d[0];
60
60
  }
61
- return { loading: o, treeData: n, onLoadData: S, onSelect: C, onSubmit: t, onCancel: r, registerModal: i, hanldeRefresh: () => {
61
+ return { loading: o, treeData: n, onLoadData: S, onSelect: C, onSubmit: t, onCancel: r, registerModal: s, hanldeRefresh: () => {
62
62
  a.value = "", c.value = !1, _();
63
63
  }, directoryTreeShow: c };
64
64
  }
65
65
  });
66
66
  const T = { class: "btnArea" };
67
- function V(e, d, o, n, a, c) {
68
- const i = p("a-button"), l = p("a-directory-tree"), t = p("a-spin"), r = p("BasicModal");
69
- return h(), v(r, {
67
+ function V(e, i, o, n, a, c) {
68
+ const s = p("a-button"), l = p("a-directory-tree"), t = p("a-spin"), r = p("BasicModal");
69
+ return v(), h(r, {
70
70
  onRegister: e.registerModal,
71
71
  title: "选择目录",
72
72
  width: 500,
@@ -77,14 +77,14 @@ function V(e, d, o, n, a, c) {
77
77
  g(t, { spinning: e.loading }, {
78
78
  default: m(() => [
79
79
  k("div", T, [
80
- g(i, { onClick: e.hanldeRefresh }, {
81
- default: m(() => [
80
+ g(s, { onClick: e.hanldeRefresh }, {
81
+ default: m(() => i[0] || (i[0] = [
82
82
  D("刷新")
83
- ]),
83
+ ])),
84
84
  _: 1
85
85
  }, 8, ["onClick"])
86
86
  ]),
87
- e.directoryTreeShow ? (h(), v(l, {
87
+ e.directoryTreeShow ? (v(), h(l, {
88
88
  key: 0,
89
89
  treeData: e.treeData,
90
90
  loadData: e.onLoadData,
@@ -12,9 +12,9 @@ var i = (e, t, o) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writab
12
12
  }, n = (e, t) => m(e, s(t));
13
13
  import { defineComponent as b, ref as f, resolveComponent as y, openBlock as h, createBlock as g, mergeProps as T } from "vue";
14
14
  import { JVxeTypes as l } from "/@/components/jeecg/JVxeTable/types";
15
- import { u as k } from "./useTableSync-d7e9f18d.mjs";
16
- import { _ as w } from "./index-1d1a6e56.mjs";
17
- import "./cgform.data-475d4984.mjs";
15
+ import { u as k } from "./useTableSync-075826a1.mjs";
16
+ import { _ as w } from "./index-f3683351.mjs";
17
+ import "./cgform.data-0ca62d09.mjs";
18
18
  import "/@/utils/dict";
19
19
  import "/@/utils/dict/JDictSelectUtil";
20
20
  import "/@/utils/uuid";
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as f, ref as b, resolveComponent as g, openBlock as h, createBlock as y, mergeProps as $ } from "vue";
2
2
  import { JVxeTypes as o } from "/@/components/jeecg/JVxeTable/types";
3
- import { u as T } from "./useTableSync-d7e9f18d.mjs";
4
- import { _ as v } from "./index-1d1a6e56.mjs";
5
- import "./cgform.data-475d4984.mjs";
3
+ import { u as T } from "./useTableSync-075826a1.mjs";
4
+ import { _ as v } from "./index-f3683351.mjs";
5
+ import "./cgform.data-0ca62d09.mjs";
6
6
  import "/@/utils/dict";
7
7
  import "/@/utils/dict/JDictSelectUtil";
8
8
  import "/@/utils/uuid";
@@ -0,0 +1,49 @@
1
+ import { computed as a, openBlock as l, createElementBlock as r, normalizeClass as c, createElementVNode as t, createCommentVNode as p } from "vue";
2
+ import { useAppInject as d } from "/@/hooks/web/useAppInject";
3
+ import { _ as m } from "./index-f3683351.mjs";
4
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
5
+ import "/@/hooks/web/useMessage";
6
+ import "vue-router";
7
+ const _ = {
8
+ name: "JModalTip",
9
+ props: {
10
+ visible: {
11
+ type: Boolean,
12
+ default: !1
13
+ }
14
+ },
15
+ emits: ["save", "cancel"],
16
+ setup(o) {
17
+ const { getIsMobile: e } = d();
18
+ return {
19
+ flag: a(() => o.visible),
20
+ getIsMobile: e
21
+ };
22
+ }
23
+ }, v = { class: "container" }, f = { class: "outer" }, u = { class: "inner" };
24
+ function g(o, e, i, s, b, $) {
25
+ return s.flag ? (l(), r("div", {
26
+ key: 0,
27
+ class: c(["jeecg-update-tip-bar", { mobile: s.getIsMobile }])
28
+ }, [
29
+ t("div", v, [
30
+ t("div", f, [
31
+ t("div", u, [
32
+ e[2] || (e[2] = t("span", { class: "tip" }, "正在修改表单数据 ···", -1)),
33
+ t("div", {
34
+ class: "cancel",
35
+ onClick: e[0] || (e[0] = (n) => o.$emit("cancel"))
36
+ }, "取消"),
37
+ t("div", {
38
+ class: "save",
39
+ onClick: e[1] || (e[1] = (n) => o.$emit("save"))
40
+ }, "保存")
41
+ ])
42
+ ])
43
+ ])
44
+ ], 2)) : p("", !0);
45
+ }
46
+ const J = /* @__PURE__ */ m(_, [["render", g], ["__scopeId", "data-v-dc9246f4"]]);
47
+ export {
48
+ J as default
49
+ };
@@ -18,7 +18,7 @@ import { useDebounceFn as O } from "@vueuse/core";
18
18
  import { defHttp as P } from "/@/utils/http/axios";
19
19
  import { useMessage as k } from "/@/hooks/web/useMessage";
20
20
  import { ref as m, watch as S, resolveComponent as _, openBlock as g, createBlock as y, withCtx as w, createElementBlock as B, Fragment as D, renderList as H, createTextVNode as I, toDisplayString as q } from "vue";
21
- import { _ as L } from "./index-1d1a6e56.mjs";
21
+ import { _ as L } from "./index-f3683351.mjs";
22
22
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
23
23
  import "vue-router";
24
24
  const { createMessage: N } = k(), T = {
@@ -16,7 +16,7 @@ var f = (n, r, o) => new Promise((s, c) => {
16
16
  });
17
17
  import { defineComponent as h, ref as u, resolveComponent as m, openBlock as y, createElementBlock as K, createBlock as _, withCtx as D, createVNode as v, normalizeStyle as S, createCommentVNode as k } from "vue";
18
18
  import { queryTreeList as x } from "/@/api/common/api";
19
- import { _ as C } from "./index-1d1a6e56.mjs";
19
+ import { _ as C } from "./index-f3683351.mjs";
20
20
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
21
21
  import "/@/hooks/web/useMessage";
22
22
  import "vue-router";