@jeecg/online 3.9.0-beta2 → 3.9.1-RC

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 (170) hide show
  1. package/{AccountLoginForm-634a76b1.mjs → AccountLoginForm-BXyvcSds.mjs} +50 -53
  2. package/{AiModal-204a2146.mjs → AiModal-BgVzn074.mjs} +18 -20
  3. package/{AppForgetPassword-f9a6258a.mjs → AppForgetPassword-B-2CvL62.mjs} +59 -63
  4. package/AppLogin-BMBmx2oq.mjs +272 -0
  5. package/AppLoginHeader-BtKXOMRR.mjs +23 -0
  6. package/{AppNameEmail-54026ea8.mjs → AppNameEmail-DCqMNjaK.mjs} +20 -24
  7. package/{AppRegister-043efc45.mjs → AppRegister-C5iH-245.mjs} +33 -37
  8. package/{AppTenant-c7bb8700.mjs → AppTenant-etPXeUcW.mjs} +49 -55
  9. package/AppThirdForm-NMob-JaS.mjs +185 -0
  10. package/AuthButtonConfig-zUioaGwn.mjs +155 -0
  11. package/AuthButtonTree-DYZwphe6.mjs +159 -0
  12. package/{AuthDataConfig-3cd10ca2.mjs → AuthDataConfig-uQ5WT7rx.mjs} +57 -62
  13. package/AuthDataTree-Cr28_YKx.mjs +134 -0
  14. package/{AuthFieldConfig-bb65f78b.mjs → AuthFieldConfig-DjdaPIXF.mjs} +95 -101
  15. package/{AuthFieldTree-3e38b12b.mjs → AuthFieldTree-DHmnDQ0I.mjs} +94 -99
  16. package/AuthManagerDrawer-DUb6QylS.mjs +108 -0
  17. package/{AuthSetterModal-f176c221.mjs → AuthSetterModal-BBFdNv1M.mjs} +89 -100
  18. package/BuiltInButtonList-Cgg5maxI.mjs +4 -0
  19. package/{BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs → BuiltInButtonList.vue_vue_type_script_setup_true_lang-5-4hU0bi.mjs} +8 -8
  20. package/{CgformAddressModal-a3903b24.mjs → CgformAddressModal-BVoww1fk.mjs} +57 -63
  21. package/CgformCopyList-7e96RMbJ.mjs +176 -0
  22. package/{CgformModal-115710a6.mjs → CgformModal-RH-Tr08S.mjs} +240 -241
  23. package/{CgreportAigcModal-3bef8abe.mjs → CgreportAigcModal-rEfIpPF9.mjs} +35 -38
  24. package/{CgreportModal-0cc48587.mjs → CgreportModal-Bajb_3ku.mjs} +49 -50
  25. package/{CheckDictTable-65157c48.mjs → CheckDictTable-BxJFrctQ.mjs} +44 -52
  26. package/{CodeFileListModal-305c1a62.mjs → CodeFileListModal-C3uqsFvi.mjs} +32 -36
  27. package/{CodeFileViewModal-320d7acf.mjs → CodeFileViewModal-bEtZDbAY.mjs} +78 -81
  28. package/CodeGeneratorModal-ZWEIXRbY.mjs +291 -0
  29. package/{CustomButtonList-98db8fd2.mjs → CustomButtonList-7wjonhtu.mjs} +82 -85
  30. package/{DBAttributeTable-56701599.mjs → DBAttributeTable-DA2XttIQ.mjs} +50 -60
  31. package/{DbToOnlineModal-a82cdeb5.mjs → DbToOnlineModal-CDVqmEJH.mjs} +43 -45
  32. package/DetailForm-CnfJBMys.mjs +472 -0
  33. package/{DropMenuItem-b3a9cd6a.mjs → DropMenuItem-D8YWMle-.mjs} +8 -11
  34. package/EnhanceJavaModal-W8_oGY-U.mjs +255 -0
  35. package/{EnhanceJsHistory-bb6ba865.mjs → EnhanceJsHistory-ZzXedCNI.mjs} +48 -49
  36. package/{EnhanceJsModal-b0527cbf.mjs → EnhanceJsModal-Djb5ItH4.mjs} +95 -104
  37. package/EnhanceSqlModal-DxPdRcQc.mjs +258 -0
  38. package/ErrorTip-BDS1uxkW.mjs +4 -0
  39. package/{ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs → ErrorTip.vue_vue_type_script_setup_true_lang-Bl9zMjvW.mjs} +11 -11
  40. package/ExtendConfigModal-CxJIWvV4.mjs +102 -0
  41. package/{FieldExtendJsonModal-536e6d5b.mjs → FieldExtendJsonModal-Bvmbb6yd.mjs} +27 -30
  42. package/{FileSelectModal-eb026170.mjs → FileSelectModal-DXqL5msQ.mjs} +27 -31
  43. package/{ForeignKeyTable-97a5827f.mjs → ForeignKeyTable-D6AlLbfd.mjs} +17 -25
  44. package/{IndexTable-4d350e4e.mjs → IndexTable-B7ef6Aox.mjs} +9 -17
  45. package/JModalTip-DHrn6ksJ.mjs +46 -0
  46. package/{JOnlineSearchSelect-ffeac61d.mjs → JOnlineSearchSelect-CAv2Dm9V.mjs} +21 -23
  47. package/{LeftDepart-a727aab7.mjs → LeftDepart-BC1jpYJP.mjs} +8 -11
  48. package/{LeftRole-b533dcf6.mjs → LeftRole-sq_2p6Qk.mjs} +16 -19
  49. package/{LeftUser-aaac52cb.mjs → LeftUser-CYh4PBgd.mjs} +7 -10
  50. package/{LinkTableConfigModal-4053b62d.mjs → LinkTableConfigModal-BOWs0A5-.mjs} +38 -40
  51. package/{LinkTableFieldConfigModal-93552099.mjs → LinkTableFieldConfigModal-D7FTBP3E.mjs} +50 -52
  52. package/LinkTableListPiece-Bfu6vfo0.mjs +31 -0
  53. package/{ModalFormDemo-b8478356.mjs → ModalFormDemo-C1qQT6lj.mjs} +13 -16
  54. package/{OnlCgformErpList-b0605798.mjs → OnlCgformErpList-CavWG8GK.mjs} +139 -199
  55. package/OnlCgformErpSubTable-D3QM8oWi.mjs +382 -0
  56. package/OnlCgformInnerSubTable-BqmooFqy.mjs +213 -0
  57. package/OnlCgformInnerTableList-Dr1KdoSC.mjs +421 -0
  58. package/OnlCgformTabList-DCy3oudh.mjs +371 -0
  59. package/OnlineAutoList-C4pkORGb.mjs +500 -0
  60. package/OnlineAutoModal-Cuf_wcbU.mjs +222 -0
  61. package/{OnlineAutoTreeList-624106c1.mjs → OnlineAutoTreeList-LDE9Sm7X.mjs} +124 -181
  62. package/OnlineCustomModal-Jz4MxkH0.mjs +209 -0
  63. package/OnlineDetailModal-So0YEah1.mjs +160 -0
  64. package/{OnlineForm-86b5966d.mjs → OnlineForm-CvcbzRIZ.mjs} +47 -73
  65. package/OnlineFormDetail-KaD6cV31.mjs +321 -0
  66. package/OnlineFormUrlAdd-CktstdFD.mjs +86 -0
  67. package/OnlineFormUrlDetail-C4qptuTQ.mjs +85 -0
  68. package/OnlineFormUrlEdit-C06vTiM_.mjs +84 -0
  69. package/{OnlineFormUrlSuccess-0c2431a4.mjs → OnlineFormUrlSuccess-Cvbte2lW.mjs} +27 -30
  70. package/{OnlineQueryForm-3017a4ca.mjs → OnlineQueryForm-6E1IRi95.mjs} +139 -167
  71. package/{OnlineSearchFormItem-1b54585f.mjs → OnlineSearchFormItem-CdRuXQPu.mjs} +112 -118
  72. package/{OnlineSelectCascade-fab4426d.mjs → OnlineSelectCascade-O7iXAgdH.mjs} +31 -33
  73. package/OnlineSubFormDetail-DcMpAk8Z.mjs +109 -0
  74. package/OnlineTabAutoModal-DSOVDlOz.mjs +285 -0
  75. package/OnlineTabDetailModal-OXQ_2VLI.mjs +187 -0
  76. package/{OnlineTabForm-5c04cbc5.mjs → OnlineTabForm-Cg3_IX2H.mjs} +228 -253
  77. package/OnlineTabFormDetail-BgFkUkva.mjs +299 -0
  78. package/{PageAttributeTable-18aabf81.mjs → PageAttributeTable-C803SekP.mjs} +46 -59
  79. package/{PhoneLoginForm-4a9d7869.mjs → PhoneLoginForm-8a0Uehov.mjs} +40 -43
  80. package/ProcessOnlineForm-COeEaGc8.mjs +182 -0
  81. package/{QueryTable-342fd89a.mjs → QueryTable-DHYaYbKC.mjs} +23 -31
  82. package/SetSwitchOptions-B4Q6l-54.mjs +58 -0
  83. package/ShareAddView-CxZuNTQB.mjs +11 -0
  84. package/ShareEditView-Dqdzjmpc.mjs +17 -0
  85. package/ShareView-B9TiMmkR.mjs +4 -0
  86. package/{ShareView.vue_vue_type_script_setup_true_lang-9ea579c2.mjs → ShareView.vue_vue_type_script_setup_true_lang-BCdP9KMD.mjs} +21 -21
  87. package/SingleView-BDXeMLV-.mjs +4 -0
  88. package/{SingleView.vue_vue_type_style_index_0_lang-24d417dc.mjs → SingleView.vue_vue_type_style_index_0_lang-D3QcMcYT.mjs} +27 -27
  89. package/{SuperQuery-270b0968.mjs → SuperQuery-CgkajEWI.mjs} +342 -370
  90. package/SuperQueryValComponent-UO10kRg5.mjs +4 -0
  91. package/TaskOpinionList-C8rcU6ee.mjs +10 -0
  92. package/{aiModal-e7362c3f.mjs → aiModal-DTU-w5Xx.mjs} +33 -36
  93. package/{enhance.data-6601ff44.mjs → enhance.data-DRCzy5Bx.mjs} +5 -5
  94. package/index-0kQBIHx0.mjs +58 -0
  95. package/{index-b811abb9.mjs → index-B1H394jP.mjs} +35 -38
  96. package/index-CXD6__bJ.mjs +195 -0
  97. package/{index-6d1a78e2.mjs → index-DIjQbz6A.mjs} +37 -41
  98. package/{index-e2c3e6f3.mjs → index-Dbr1qL3H.mjs} +474 -608
  99. package/{index-19eaef11.mjs → index-dmWvLQET.mjs} +2 -2
  100. package/{index-d95bb7c2.mjs → index-pGbTziKP.mjs} +32 -44
  101. package/{index-b5fe9bd4.mjs → index-siZ6JDIW.mjs} +17 -20
  102. package/main.index.js +8 -9
  103. package/online.css +1 -0
  104. package/package.json +1 -1
  105. package/{useCgformList-6d5547ff.mjs → useCgformList-_o9GP7ca.mjs} +3 -3
  106. package/useExtendComponent-P9wrWQwT.mjs +4479 -0
  107. package/{useListButton-73071548.mjs → useListButton-DyOAscwT.mjs} +7 -9
  108. package/{useSchemas-b074f3a1.mjs → useSchemas-svH7q1tm.mjs} +69 -42
  109. package/{useTableSync-dbfba20e.mjs → useTableSync-BAWujyoc.mjs} +1 -1
  110. package/{utils-9fce7606.mjs → utils-DcQ65Qmw.mjs} +1 -1
  111. package/AppLogin-bf783eab.mjs +0 -287
  112. package/AppLoginHeader-55594326.mjs +0 -27
  113. package/AppThirdForm-5e7e1144.mjs +0 -189
  114. package/AuthButtonConfig-4887be0d.mjs +0 -160
  115. package/AuthButtonTree-7e47b44b.mjs +0 -165
  116. package/AuthDataTree-714c259c.mjs +0 -139
  117. package/AuthManagerDrawer-dee39b07.mjs +0 -119
  118. package/BuiltInButtonList-bb6cf95c.mjs +0 -10
  119. package/CgformCopyList-4be1000f.mjs +0 -259
  120. package/CodeGeneratorModal-2ba18bd1.mjs +0 -298
  121. package/DetailForm-7d4f630e.mjs +0 -497
  122. package/EnhanceJavaModal-469e645e.mjs +0 -264
  123. package/EnhanceSqlModal-c6e8bce1.mjs +0 -268
  124. package/ErrorTip-bb616e32.mjs +0 -7
  125. package/ExtendConfigModal-7b00b49a.mjs +0 -117
  126. package/JModalTip-c3e6726c.mjs +0 -49
  127. package/LinkTableListPiece-0f4ca559.mjs +0 -34
  128. package/OnlCgformErpSubTable-89699bc9.mjs +0 -443
  129. package/OnlCgformInnerSubTable-f2722f77.mjs +0 -269
  130. package/OnlCgformInnerTableList-992aa7e9.mjs +0 -481
  131. package/OnlCgformTabList-882a0e0c.mjs +0 -431
  132. package/OnlineAutoList-caedb54a.mjs +0 -558
  133. package/OnlineAutoModal-a0d1a6b8.mjs +0 -260
  134. package/OnlineCustomModal-f4e17bed.mjs +0 -246
  135. package/OnlineDetailModal-35394778.mjs +0 -198
  136. package/OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs +0 -1
  137. package/OnlineFormDetail-4b3ad130.mjs +0 -349
  138. package/OnlineFormUrlAdd-708c91fb.mjs +0 -116
  139. package/OnlineFormUrlDetail-5c8efaeb.mjs +0 -121
  140. package/OnlineFormUrlEdit-8f08474e.mjs +0 -114
  141. package/OnlineSubFormDetail-bbc48c3e.mjs +0 -147
  142. package/OnlineTabAutoModal-b0f9fce8.mjs +0 -319
  143. package/OnlineTabDetailModal-401a26ad.mjs +0 -226
  144. package/OnlineTabFormDetail-2a28febf.mjs +0 -328
  145. package/ProcessOnlineForm-0ddce4fb.mjs +0 -218
  146. package/SetSwitchOptions-e1d5a6b4.mjs +0 -62
  147. package/ShareAddView-a5154da3.mjs +0 -88
  148. package/ShareEditView-cf761cf3.mjs +0 -94
  149. package/ShareView-3b2f5457.mjs +0 -82
  150. package/SingleView-3cab20a9.mjs +0 -70
  151. package/SuperQueryValComponent-5a9ccfd4.mjs +0 -8
  152. package/TaskOpinionList-60cf4080.mjs +0 -13
  153. package/index-740b2c4a.mjs +0 -57
  154. package/index-8fd12d0f.mjs +0 -219
  155. package/style.css +0 -1
  156. package/useExtendComponent-95ce0719.mjs +0 -4460
  157. /package/{SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs → SuperQueryValComponent.vue_vue_type_script_lang-BM-iwlLi.mjs} +0 -0
  158. /package/{auth.api-53df4c33.mjs → auth.api-2QmzY0ji.mjs} +0 -0
  159. /package/{auth.data-e44c7975.mjs → auth.data-Cp8D9uZ7.mjs} +0 -0
  160. /package/{button.data-fe45d43b.mjs → button.data-CyUX77GQ.mjs} +0 -0
  161. /package/{cgform.data-0ca62d09.mjs → cgform.data-CviSPXEg.mjs} +0 -0
  162. /package/{cgformState-d9f8ec42.mjs → cgformState-CUyRXfhW.mjs} +0 -0
  163. /package/{constant-fa63bd66.mjs → constant-DnbpmwZg.mjs} +0 -0
  164. /package/{enhance.api-138e6826.mjs → enhance.api-BqHb-YGL.mjs} +0 -0
  165. /package/{index-5e89258d.mjs → index-aVGkB_J9.mjs} +0 -0
  166. /package/{shareStore-7de6c7a6.mjs → shareStore-k-kzyga5.mjs} +0 -0
  167. /package/{useCustomHook-3a17a690.mjs → useCustomHook-B35kFqDB.mjs} +0 -0
  168. /package/{useFormUrl-2ee1a82d.mjs → useFormUrl-D8ASmaz6.mjs} +0 -0
  169. /package/{useOnlinePopEvent-687070b7.mjs → useOnlinePopEvent-FOvbs0Ta.mjs} +0 -0
  170. /package/{useOnlineTest-e4bd8be3.mjs → useOnlineTest-_onDRxjY.mjs} +0 -0
@@ -14,12 +14,9 @@ var f = (n, r, o) => new Promise((s, c) => {
14
14
  }, a = (e) => e.done ? s(e.value) : Promise.resolve(e.value).then(i, d);
15
15
  a((o = o.apply(n, r)).next());
16
16
  });
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";
17
+ import { defineComponent as h, ref as u, resolveComponent as m, createElementBlock as K, openBlock as y, createBlock as _, createCommentVNode as D, withCtx as v, createVNode as S, normalizeStyle as k } from "vue";
18
18
  import { queryTreeList as x } from "/@/api/common/api";
19
- import { _ as C } from "./index-740b2c4a.mjs";
20
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
21
- import "/@/hooks/web/useMessage";
22
- import "vue-router";
19
+ import { _ as C } from "./index-0kQBIHx0.mjs";
23
20
  const N = h({
24
21
  name: "LeftDepart",
25
22
  emits: ["select"],
@@ -66,17 +63,17 @@ function $(n, r, o, s, c, i) {
66
63
  "onUpdate:expandedKeys": r[0] || (r[0] = (e) => n.expandedKeys = e),
67
64
  onSelect: n.onSelect
68
65
  }, {
69
- depIcon: D(({ selected: e }) => [
70
- v(d, {
71
- style: S({ color: e ? "blue" : "" }),
66
+ depIcon: v(({ selected: e }) => [
67
+ S(d, {
68
+ style: k({ color: e ? "blue" : "" }),
72
69
  type: "apartment"
73
70
  }, null, 8, ["style"])
74
71
  ]),
75
72
  _: 1
76
- }, 8, ["treeData", "selectedKeys", "expandedKeys", "onSelect"])) : k("", !0)
73
+ }, 8, ["treeData", "selectedKeys", "expandedKeys", "onSelect"])) : D("", !0)
77
74
  ]);
78
75
  }
79
- const V = /* @__PURE__ */ C(N, [["render", $]]);
76
+ const L = /* @__PURE__ */ C(N, [["render", $]]);
80
77
  export {
81
- V as default
78
+ L as default
82
79
  };
@@ -1,4 +1,4 @@
1
- var m = (n, r, o) => new Promise((i, s) => {
1
+ var m = (r, n, o) => new Promise((i, s) => {
2
2
  var c = (e) => {
3
3
  try {
4
4
  l(o.next(e));
@@ -12,21 +12,18 @@ var m = (n, r, o) => new Promise((i, s) => {
12
12
  s(t);
13
13
  }
14
14
  }, l = (e) => e.done ? i(e.value) : Promise.resolve(e.value).then(c, a);
15
- l((o = o.apply(n, r)).next());
15
+ l((o = o.apply(r, n)).next());
16
16
  });
17
- import { defineComponent as g, resolveComponent as w, openBlock as b, createBlock as S, withCtx as T, createElementVNode as _ } from "vue";
17
+ import { defineComponent as g, resolveComponent as w, createBlock as b, openBlock as S, withCtx as T, createElementVNode as _ } from "vue";
18
18
  import { defHttp as C } from "/@/utils/http/axios";
19
19
  import { BasicTable as R } from "/@/components/Table";
20
20
  import { useListPage as h } from "/@/hooks/system/useListPage";
21
- import { _ as x } from "./index-740b2c4a.mjs";
22
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
23
- import "/@/hooks/web/useMessage";
24
- import "vue-router";
21
+ import { _ as x } from "./index-0kQBIHx0.mjs";
25
22
  const B = g({
26
23
  name: "LeftRole",
27
24
  components: { BasicTable: R },
28
25
  emits: ["select"],
29
- setup(n, { emit: r }) {
26
+ setup(r, { emit: n }) {
30
27
  const { tableContext: o, createMessage: i } = h({
31
28
  tableProps: {
32
29
  api: l,
@@ -40,7 +37,7 @@ const B = g({
40
37
  rowSelection: {
41
38
  type: "radio",
42
39
  onChange(t) {
43
- t.length > 0 && r("select", t[0]);
40
+ t.length > 0 && n("select", t[0]);
44
41
  }
45
42
  },
46
43
  canResize: !1,
@@ -52,14 +49,14 @@ const B = g({
52
49
  }), [s, { clearSelectedRowKeys: c }, { rowSelection: a }] = o;
53
50
  function l(t) {
54
51
  return m(this, null, function* () {
55
- let { code: p, success: f, result: u, message: d } = yield C.get(
52
+ let { code: f, success: p, result: u, message: d } = yield C.get(
56
53
  {
57
54
  url: "/sys/role/list",
58
55
  params: t
59
56
  },
60
57
  { isTransformResponse: !1 }
61
58
  );
62
- return f ? u : (p === 510 && i.warning(d), {});
59
+ return p ? u : (f === 510 && i.warning(d), {});
63
60
  });
64
61
  }
65
62
  function e() {
@@ -68,19 +65,19 @@ const B = g({
68
65
  return { rowSelection: a, registerTable: s, clearSelected: e };
69
66
  }
70
67
  });
71
- function $(n, r, o, i, s, c) {
68
+ function $(r, n, o, i, s, c) {
72
69
  const a = w("BasicTable");
73
- return b(), S(a, {
74
- onRegister: n.registerTable,
75
- rowSelection: n.rowSelection
70
+ return S(), b(a, {
71
+ onRegister: r.registerTable,
72
+ rowSelection: r.rowSelection
76
73
  }, {
77
- tableTop: T(() => r[0] || (r[0] = [
74
+ tableTop: T(() => [...n[0] || (n[0] = [
78
75
  _("span", null, null, -1)
79
- ])),
76
+ ])]),
80
77
  _: 1
81
78
  }, 8, ["onRegister", "rowSelection"]);
82
79
  }
83
- const D = /* @__PURE__ */ x(B, [["render", $]]);
80
+ const P = /* @__PURE__ */ x(B, [["render", $]]);
84
81
  export {
85
- D as default
82
+ P as default
86
83
  };
@@ -14,14 +14,11 @@ var m = (r, n, o) => new Promise((i, s) => {
14
14
  }, l = (e) => e.done ? i(e.value) : Promise.resolve(e.value).then(c, a);
15
15
  l((o = o.apply(r, n)).next());
16
16
  });
17
- import { defineComponent as g, resolveComponent as w, openBlock as b, createBlock as h, withCtx as S, createElementVNode as T } from "vue";
17
+ import { defineComponent as g, resolveComponent as w, createBlock as b, openBlock as h, withCtx as S, createElementVNode as T } from "vue";
18
18
  import { defHttp as _ } from "/@/utils/http/axios";
19
19
  import { BasicTable as C } from "/@/components/Table";
20
20
  import { useListPage as x } from "/@/hooks/system/useListPage";
21
- import { _ as B } from "./index-740b2c4a.mjs";
22
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
23
- import "/@/hooks/web/useMessage";
24
- import "vue-router";
21
+ import { _ as B } from "./index-0kQBIHx0.mjs";
25
22
  const R = g({
26
23
  name: "LeftUser",
27
24
  components: { BasicTable: C },
@@ -89,17 +86,17 @@ const R = g({
89
86
  });
90
87
  function $(r, n, o, i, s, c) {
91
88
  const a = w("BasicTable");
92
- return b(), h(a, {
89
+ return h(), b(a, {
93
90
  onRegister: r.registerTable,
94
91
  rowSelection: r.rowSelection
95
92
  }, {
96
- tableTop: S(() => n[0] || (n[0] = [
93
+ tableTop: S(() => [...n[0] || (n[0] = [
97
94
  T("span", null, null, -1)
98
- ])),
95
+ ])]),
99
96
  _: 1
100
97
  }, 8, ["onRegister", "rowSelection"]);
101
98
  }
102
- const A = /* @__PURE__ */ B(R, [["render", $]]);
99
+ const J = /* @__PURE__ */ B(R, [["render", $]]);
103
100
  export {
104
- A as default
101
+ J as default
105
102
  };
@@ -9,31 +9,29 @@ var S = (i, t, l) => t in i ? I(i, t, { enumerable: !0, configurable: !0, writab
9
9
  q.call(t, l) && S(i, l, t[l]);
10
10
  return i;
11
11
  };
12
- var u = (i, t, l) => new Promise((s, f) => {
12
+ var p = (i, t, l) => new Promise((s, f) => {
13
13
  var n = (o) => {
14
14
  try {
15
- d(l.next(o));
16
- } catch (c) {
17
- f(c);
15
+ r(l.next(o));
16
+ } catch (d) {
17
+ f(d);
18
18
  }
19
19
  }, h = (o) => {
20
20
  try {
21
- d(l.throw(o));
22
- } catch (c) {
23
- f(c);
21
+ r(l.throw(o));
22
+ } catch (d) {
23
+ f(d);
24
24
  }
25
- }, d = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(n, h);
26
- d((l = l.apply(i, t)).next());
25
+ }, r = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(n, h);
26
+ r((l = l.apply(i, t)).next());
27
27
  });
28
28
  import { BasicModal as A, useModalInner as G } from "/@/components/Modal";
29
- import { ref as b, computed as H, resolveComponent as _, openBlock as K, createBlock as $, mergeProps as j, withCtx as k, createVNode as M } from "vue";
29
+ import { ref as b, computed as H, resolveComponent as _, createBlock as K, openBlock as $, mergeProps as j, withCtx as k, createVNode as M } from "vue";
30
30
  import { BasicForm as z, useForm as D } from "/@/components/Form/index";
31
31
  import { defHttp as E } from "/@/utils/http/axios";
32
32
  import { omit as Q } from "lodash-es";
33
33
  import { useMessage as U } from "/@/hooks/web/useMessage";
34
- import { _ as W } from "./index-740b2c4a.mjs";
35
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
36
- import "vue-router";
34
+ import { _ as W } from "./index-0kQBIHx0.mjs";
37
35
  const X = {
38
36
  name: "LinkTableConfigModal",
39
37
  emits: ["success", "register"],
@@ -44,23 +42,23 @@ const X = {
44
42
  setup(i, { emit: t }) {
45
43
  const l = b(!1), { createMessage: s } = U(), f = b("");
46
44
  let n = {};
47
- const [h, { closeModal: d }] = G((e) => u(this, null, function* () {
48
- n = T({}, e.record), yield w({ dictTable: e.record.dictTable }), setTimeout(() => u(this, null, function* () {
49
- let r = Q(e.record, "dictTable");
50
- yield w(r), yield L();
45
+ const [h, { closeModal: r }] = G((e) => p(null, null, function* () {
46
+ n = T({}, e.record), yield w({ dictTable: e.record.dictTable }), setTimeout(() => p(null, null, function* () {
47
+ let c = Q(e.record, "dictTable");
48
+ yield w(c), yield L();
51
49
  }), 200), f.value = e.fieldName;
52
- })), o = b(""), c = b(""), F = b([]), v = b([]);
50
+ })), o = b(""), d = b(""), F = b([]), v = b([]);
53
51
  function x(e) {
54
- return u(this, null, function* () {
52
+ return p(this, null, function* () {
55
53
  if (e) {
56
- const r = "/online/cgform/field/listByHeadCode", m = yield E.get({ url: r, params: { headCode: e } });
57
- if (m && m.length > 0) {
58
- let p = m.filter((a) => a.dbFieldName != "id" && a.dbIsPersist == 1 && a.isShowList == 1);
59
- p.length > 0 ? F.value = p.map((a) => ({
54
+ const u = yield E.get({ url: "/online/cgform/field/listByHeadCode", params: { headCode: e } });
55
+ if (u && u.length > 0) {
56
+ let m = u.filter((a) => a.dbFieldName != "id" && a.dbIsPersist == 1 && a.isShowList == 1);
57
+ m.length > 0 ? F.value = m.map((a) => ({
60
58
  text: a.dbFieldTxt,
61
59
  value: a.dbFieldName
62
60
  })) : F.value = [];
63
- let g = m.filter((a) => a.dbFieldName != "id" && a.fieldShowType == "image" && a.dbIsPersist == 1);
61
+ let g = u.filter((a) => a.dbFieldName != "id" && a.fieldShowType == "image" && a.dbIsPersist == 1);
64
62
  g.length > 0 ? v.value = g.map((a) => ({
65
63
  text: a.dbFieldTxt,
66
64
  value: a.dbFieldName
@@ -71,13 +69,13 @@ const X = {
71
69
  });
72
70
  }
73
71
  function V(e) {
74
- return u(this, null, function* () {
75
- o.value = "", c.value = "", yield x(e);
72
+ return p(this, null, function* () {
73
+ o.value = "", d.value = "", yield x(e);
76
74
  });
77
75
  }
78
76
  const N = H(() => {
79
- let e = F.value, r = o.value, m = c.value;
80
- return e.filter((p) => p.value != r && p.value != m);
77
+ let e = F.value, c = o.value, u = d.value;
78
+ return e.filter((m) => m.value != c && m.value != u);
81
79
  }), B = [
82
80
  {
83
81
  label: "rowKey",
@@ -110,12 +108,12 @@ const X = {
110
108
  immediateChange: !0,
111
109
  popContainer: ".link-table-config-modal",
112
110
  params: { order: "desc", column: "create_time" },
113
- onChange: (r) => u(this, null, function* () {
111
+ onChange: (c) => p(null, null, function* () {
114
112
  (n.titleField || n.otherFields) && (yield e.setFieldsValue({
115
113
  titleField: "",
116
114
  otherFields: "",
117
115
  imageField: ""
118
- }), yield e.clearValidate()), yield V(r);
116
+ }), yield e.clearValidate()), yield V(c);
119
117
  })
120
118
  })
121
119
  },
@@ -144,7 +142,7 @@ const X = {
144
142
  dictOptions: v,
145
143
  immediateChange: !0,
146
144
  onChange: (e) => {
147
- c.value = e, n.imageFieldName = e;
145
+ d.value = e, n.imageFieldName = e;
148
146
  }
149
147
  }
150
148
  },
@@ -153,7 +151,7 @@ const X = {
153
151
  field: "otherFields",
154
152
  component: "JSelectMultiple",
155
153
  // update-begin--author:liaozhiyang---date:20240320---for:【QQYUN-8574】关联记录最多选6个字段
156
- componentProps: ({ schema: e, tableAction: r, formActionType: m, formModel: p }) => ({
154
+ componentProps: ({ schema: e, tableAction: c, formActionType: u, formModel: m }) => ({
157
155
  popContainer: ".link-table-config-modal",
158
156
  options: N.value,
159
157
  onChange: (g) => {
@@ -162,7 +160,7 @@ const X = {
162
160
  a.pop();
163
161
  const y = a.join(",");
164
162
  setTimeout(() => {
165
- p.otherFields = y, n.otherFields = y;
163
+ m.otherFields = y, n.otherFields = y;
166
164
  }, 0), s.warning("最多选择6个字段~");
167
165
  } else
168
166
  n.otherFields = g;
@@ -212,9 +210,9 @@ const X = {
212
210
  labelAlign: "right"
213
211
  });
214
212
  function R() {
215
- return u(this, null, function* () {
213
+ return p(this, null, function* () {
216
214
  let e = yield O();
217
- e.fieldName = f.value, t("success", e), d();
215
+ e.fieldName = f.value, t("success", e), r();
218
216
  });
219
217
  }
220
218
  return {
@@ -226,8 +224,8 @@ const X = {
226
224
  }
227
225
  };
228
226
  function Y(i, t, l, s, f, n) {
229
- const h = _("BasicForm"), d = _("a-spin"), o = _("BasicModal");
230
- return K(), $(o, j({ wrapClassName: "link-table-config-modal" }, i.$attrs, {
227
+ const h = _("BasicForm"), r = _("a-spin"), o = _("BasicModal");
228
+ return $(), K(o, j({ wrapClassName: "link-table-config-modal" }, i.$attrs, {
231
229
  title: "关联记录配置",
232
230
  onRegister: s.registerModal,
233
231
  keyboard: "",
@@ -236,7 +234,7 @@ function Y(i, t, l, s, f, n) {
236
234
  onOk: s.handleSubmit
237
235
  }), {
238
236
  default: k(() => [
239
- M(d, { spinning: s.spinningLoading }, {
237
+ M(r, { spinning: s.spinningLoading }, {
240
238
  default: k(() => [
241
239
  M(h, { onRegister: s.registerForm }, null, 8, ["onRegister"])
242
240
  ]),
@@ -246,7 +244,7 @@ function Y(i, t, l, s, f, n) {
246
244
  _: 1
247
245
  }, 16, ["onRegister", "onOk"]);
248
246
  }
249
- const ce = /* @__PURE__ */ W(X, [["render", Y]]);
247
+ const re = /* @__PURE__ */ W(X, [["render", Y]]);
250
248
  export {
251
- ce as default
249
+ re as default
252
250
  };
@@ -1,52 +1,50 @@
1
- var R = Object.defineProperty;
1
+ var A = Object.defineProperty;
2
2
  var F = Object.getOwnPropertySymbols;
3
- var q = Object.prototype.hasOwnProperty, I = Object.prototype.propertyIsEnumerable;
4
- var w = (o, a, t) => a in o ? R(o, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[a] = t, k = (o, a) => {
3
+ var R = Object.prototype.hasOwnProperty, q = Object.prototype.propertyIsEnumerable;
4
+ var w = (n, a, t) => a in n ? A(n, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[a] = t, k = (n, a) => {
5
5
  for (var t in a || (a = {}))
6
- q.call(a, t) && w(o, t, a[t]);
6
+ R.call(a, t) && w(n, t, a[t]);
7
7
  if (F)
8
8
  for (var t of F(a))
9
- I.call(a, t) && w(o, t, a[t]);
10
- return o;
9
+ q.call(a, t) && w(n, t, a[t]);
10
+ return n;
11
11
  };
12
- var p = (o, a, t) => new Promise((i, r) => {
13
- var c = (n) => {
12
+ var p = (n, a, t) => new Promise((l, r) => {
13
+ var c = (o) => {
14
14
  try {
15
- d(t.next(n));
15
+ d(t.next(o));
16
16
  } catch (f) {
17
17
  r(f);
18
18
  }
19
- }, l = (n) => {
19
+ }, i = (o) => {
20
20
  try {
21
- d(t.throw(n));
21
+ d(t.throw(o));
22
22
  } catch (f) {
23
23
  r(f);
24
24
  }
25
- }, d = (n) => n.done ? i(n.value) : Promise.resolve(n.value).then(c, l);
26
- d((t = t.apply(o, a)).next());
25
+ }, d = (o) => o.done ? l(o.value) : Promise.resolve(o.value).then(c, i);
26
+ d((t = t.apply(n, a)).next());
27
27
  });
28
- import { BasicModal as P, useModalInner as H } from "/@/components/Modal";
29
- import { ref as b, resolveComponent as h, openBlock as J, createBlock as K, mergeProps as N, withCtx as y, createVNode as C } from "vue";
30
- import { BasicForm as $, useForm as j } from "/@/components/Form/index";
31
- import { defHttp as G } from "/@/utils/http/axios";
32
- import { omit as z } from "lodash-es";
33
- import { useMessage as D } from "/@/hooks/web/useMessage";
34
- import { _ as E } from "./index-740b2c4a.mjs";
35
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
36
- import "vue-router";
37
- const Q = {
28
+ import { BasicModal as I, useModalInner as P } from "/@/components/Modal";
29
+ import { ref as b, resolveComponent as h, createBlock as H, openBlock as J, mergeProps as K, withCtx as y, createVNode as C } from "vue";
30
+ import { BasicForm as N, useForm as $ } from "/@/components/Form/index";
31
+ import { defHttp as j } from "/@/utils/http/axios";
32
+ import { omit as G } from "lodash-es";
33
+ import { useMessage as z } from "/@/hooks/web/useMessage";
34
+ import { _ as D } from "./index-0kQBIHx0.mjs";
35
+ const E = {
38
36
  name: "LinkTableFieldConfigModal",
39
37
  emits: ["success", "register"],
40
38
  components: {
41
- BasicModal: P,
42
- BasicForm: $
39
+ BasicModal: I,
40
+ BasicForm: N
43
41
  },
44
- setup(o, { emit: a }) {
45
- const t = b(!1), i = b([]), r = b([]);
46
- let c = {}, l = {};
47
- const { createMessage: d } = D(), [n, { closeModal: f }] = H((e) => p(this, null, function* () {
48
- l = k({}, e.record), c = e.tableAndFieldsMap, yield M(), yield T({ dictTable: e.record.dictTable }), l.dictTable && _(l.dictTable), setTimeout(() => p(this, null, function* () {
49
- let s = z(e.record, "dictTable");
42
+ setup(n, { emit: a }) {
43
+ const t = b(!1), l = b([]), r = b([]);
44
+ let c = {}, i = {};
45
+ const { createMessage: d } = z(), [o, { closeModal: f }] = P((e) => p(null, null, function* () {
46
+ i = k({}, e.record), c = e.tableAndFieldsMap, yield M(), yield T({ dictTable: e.record.dictTable }), i.dictTable && _(i.dictTable), setTimeout(() => p(null, null, function* () {
47
+ let s = G(e.record, "dictTable");
50
48
  yield T(s), yield O();
51
49
  }), 200);
52
50
  }));
@@ -54,7 +52,7 @@ const Q = {
54
52
  return p(this, null, function* () {
55
53
  let e = Object.keys(c);
56
54
  if (!e || e.length == 0)
57
- i.value = [];
55
+ l.value = [];
58
56
  else {
59
57
  let s = [];
60
58
  for (let m of e)
@@ -62,7 +60,7 @@ const Q = {
62
60
  text: c[m].title,
63
61
  value: m
64
62
  });
65
- i.value = s;
63
+ l.value = s;
66
64
  }
67
65
  });
68
66
  }
@@ -74,13 +72,13 @@ const Q = {
74
72
  d.warning("请先完善字段[" + e + "]关联记录的配置");
75
73
  return;
76
74
  }
77
- const V = "/online/cgform/field/listByHeadCode", g = yield G.get({ url: V, params: { headCode: s } });
75
+ const g = yield j.get({ url: "/online/cgform/field/listByHeadCode", params: { headCode: s } });
78
76
  if (g && g.length > 0) {
79
- let L = g.map((u) => ({
77
+ let V = g.map((u) => ({
80
78
  text: u.dbFieldTxt,
81
79
  value: u.dbFieldName
82
- })), A = m.split(",");
83
- r.value = L.filter((u) => A.includes(u.value));
80
+ })), L = m.split(",");
81
+ r.value = V.filter((u) => L.includes(u.value));
84
82
  } else
85
83
  r.value = [];
86
84
  }
@@ -107,10 +105,10 @@ const Q = {
107
105
  componentProps: ({ formActionType: e }) => ({
108
106
  async: !1,
109
107
  popContainer: ".link-table-field-config-modal",
110
- dictOptions: i.value,
108
+ dictOptions: l.value,
111
109
  immediateChange: !0,
112
- onChange: (m) => p(this, null, function* () {
113
- l.dictText && (yield e.setFieldsValue({
110
+ onChange: (m) => p(null, null, function* () {
111
+ i.dictText && (yield e.setFieldsValue({
114
112
  dictText: ""
115
113
  }), yield e.clearValidate()), _(m);
116
114
  })
@@ -126,11 +124,11 @@ const Q = {
126
124
  popContainer: ".link-table-field-config-modal",
127
125
  dictOptions: r,
128
126
  onChange: (e) => {
129
- l.dictText = e;
127
+ i.dictText = e;
130
128
  }
131
129
  }
132
130
  }
133
- ], [v, { validate: B, setFieldsValue: T, clearValidate: O }] = j({
131
+ ], [v, { validate: B, setFieldsValue: T, clearValidate: O }] = $({
134
132
  schemas: x,
135
133
  showActionButtonGroup: !1,
136
134
  labelAlign: "right"
@@ -142,27 +140,27 @@ const Q = {
142
140
  });
143
141
  }
144
142
  return {
145
- registerModal: n,
143
+ registerModal: o,
146
144
  spinningLoading: t,
147
145
  registerForm: v,
148
146
  handleSubmit: S
149
147
  };
150
148
  }
151
149
  };
152
- function U(o, a, t, i, r, c) {
153
- const l = h("BasicForm"), d = h("a-spin"), n = h("BasicModal");
154
- return J(), K(n, N({ wrapClassName: "link-table-field-config-modal" }, o.$attrs, {
150
+ function Q(n, a, t, l, r, c) {
151
+ const i = h("BasicForm"), d = h("a-spin"), o = h("BasicModal");
152
+ return J(), H(o, K({ wrapClassName: "link-table-field-config-modal" }, n.$attrs, {
155
153
  title: "他表字段配置",
156
- onRegister: i.registerModal,
154
+ onRegister: l.registerModal,
157
155
  keyboard: "",
158
156
  canFullscreen: !1,
159
157
  cancelText: "关闭",
160
- onOk: i.handleSubmit
158
+ onOk: l.handleSubmit
161
159
  }), {
162
160
  default: y(() => [
163
- C(d, { spinning: i.spinningLoading }, {
161
+ C(d, { spinning: l.spinningLoading }, {
164
162
  default: y(() => [
165
- C(l, { onRegister: i.registerForm }, null, 8, ["onRegister"])
163
+ C(i, { onRegister: l.registerForm }, null, 8, ["onRegister"])
166
164
  ]),
167
165
  _: 1
168
166
  }, 8, ["spinning"])
@@ -170,7 +168,7 @@ function U(o, a, t, i, r, c) {
170
168
  _: 1
171
169
  }, 16, ["onRegister", "onOk"]);
172
170
  }
173
- const le = /* @__PURE__ */ E(Q, [["render", U]]);
171
+ const oe = /* @__PURE__ */ D(E, [["render", Q]]);
174
172
  export {
175
- le as default
173
+ oe as default
176
174
  };
@@ -0,0 +1,31 @@
1
+ import { propTypes as i } from "/@/utils/propTypes";
2
+ import { createElementBlock as a, openBlock as l, createElementVNode as s, toDisplayString as p } from "vue";
3
+ import { _ as c } from "./index-0kQBIHx0.mjs";
4
+ const d = {
5
+ name: "LinkTableListPiece",
6
+ props: {
7
+ text: i.string.def(""),
8
+ id: i.string.def("")
9
+ },
10
+ emits: ["tab"],
11
+ setup(o, { emit: e }) {
12
+ function n(t) {
13
+ t == null || t.stopPropagation(), t == null || t.preventDefault(), e("tab", o.id);
14
+ }
15
+ return {
16
+ handleClick: n
17
+ };
18
+ }
19
+ };
20
+ function f(o, e, n, t, m, k) {
21
+ return l(), a("div", {
22
+ class: "link-table-piece",
23
+ onClick: e[0] || (e[0] = (...r) => t.handleClick && t.handleClick(...r))
24
+ }, [
25
+ s("span", null, p(n.text), 1)
26
+ ]);
27
+ }
28
+ const g = /* @__PURE__ */ c(d, [["render", f], ["__scopeId", "data-v-ade036b6"]]);
29
+ export {
30
+ g as default
31
+ };
@@ -1,11 +1,8 @@
1
- import { defineComponent as i, resolveComponent as p, openBlock as a, createElementBlock as c, createVNode as l } from "vue";
1
+ import { defineComponent as a, resolveComponent as i, createElementBlock as p, openBlock as c, createVNode as l } from "vue";
2
2
  import { BasicForm as d, useForm as u } from "/@/components/Form/index";
3
3
  import { defHttp as f } from "/@/utils/http/axios";
4
4
  import { pick as _ } from "lodash-es";
5
- import { _ as g } from "./index-740b2c4a.mjs";
6
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
7
- import "/@/hooks/web/useMessage";
8
- import "vue-router";
5
+ import { _ as g } from "./index-0kQBIHx0.mjs";
9
6
  const h = () => [
10
7
  {
11
8
  field: "name",
@@ -46,33 +43,33 @@ const h = () => [
46
43
  component: "Input",
47
44
  label: "邮箱"
48
45
  }
49
- ], b = i({
46
+ ], b = a({
50
47
  components: { BasicForm: d },
51
48
  props: ["id"],
52
49
  setup(e) {
53
- const [t, { setFieldsValue: r }] = u({
50
+ const [t, { setFieldsValue: n }] = u({
54
51
  schemas: h(),
55
52
  showActionButtonGroup: !1,
56
53
  baseColProps: { span: 24 }
57
54
  });
58
- let n = { id: e.id };
59
- return f.get({ url: "/test/jeecgDemo/queryById", params: n }, { isTransformResponse: !1 }).then((o) => {
55
+ let s = { id: e.id };
56
+ return f.get({ url: "/test/jeecgDemo/queryById", params: s }, { isTransformResponse: !1 }).then((o) => {
60
57
  if (o.success) {
61
- let s = _(o.result, "name", "age", "birthday", "sex", "email");
62
- r(s);
58
+ let r = _(o.result, "name", "age", "birthday", "sex", "email");
59
+ n(r);
63
60
  }
64
61
  }), {
65
62
  registerForm: t
66
63
  };
67
64
  }
68
65
  }), F = { style: { margin: "50px auto", width: "800px" } };
69
- function x(e, t, r, n, o, s) {
70
- const m = p("BasicForm");
71
- return a(), c("div", F, [
66
+ function x(e, t, n, s, o, r) {
67
+ const m = i("BasicForm");
68
+ return c(), p("div", F, [
72
69
  l(m, { onRegister: e.registerForm }, null, 8, ["onRegister"])
73
70
  ]);
74
71
  }
75
- const I = /* @__PURE__ */ g(b, [["render", x]]);
72
+ const v = /* @__PURE__ */ g(b, [["render", x]]);
76
73
  export {
77
- I as default
74
+ v as default
78
75
  };