@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
@@ -1,36 +1,34 @@
1
- var _ = (M, x, d) => new Promise((t, s) => {
2
- var p = (i) => {
1
+ var C = (M, T, d) => new Promise((t, s) => {
2
+ var p = (a) => {
3
3
  try {
4
- n(d.next(i));
4
+ n(d.next(a));
5
5
  } catch (u) {
6
6
  s(u);
7
7
  }
8
- }, g = (i) => {
8
+ }, g = (a) => {
9
9
  try {
10
- n(d.throw(i));
10
+ n(d.throw(a));
11
11
  } catch (u) {
12
12
  s(u);
13
13
  }
14
- }, n = (i) => i.done ? t(i.value) : Promise.resolve(i.value).then(p, g);
15
- n((d = d.apply(M, x)).next());
14
+ }, n = (a) => a.done ? t(a.value) : Promise.resolve(a.value).then(p, g);
15
+ n((d = d.apply(M, T)).next());
16
16
  });
17
- import { defineComponent as ee, ref as r, reactive as A, computed as c, unref as o, resolveComponent as C, openBlock as h, createElementBlock as V, Fragment as oe, createVNode as m, withKeys as te, withCtx as k, createElementVNode as v, normalizeClass as I, toDisplayString as R, createBlock as H, createTextVNode as ne, createCommentVNode as le, toRaw as se } from "vue";
18
- import { useUserStore as ie } from "/@/store/modules/user";
19
- import { SmsEnum as ae } from "/@/views/sys/login/useLogin";
17
+ import { defineComponent as ee, ref as r, reactive as A, computed as c, unref as o, resolveComponent as _, createElementBlock as V, openBlock as h, Fragment as oe, createVNode as m, withKeys as te, withCtx as k, createElementVNode as v, createCommentVNode as ne, normalizeClass as I, toDisplayString as R, createBlock as H, createTextVNode as le, toRaw as se } from "vue";
18
+ import { useUserStore as ae } from "/@/store/modules/user";
19
+ import { SmsEnum as ie } from "/@/views/sys/login/useLogin";
20
20
  import { useI18n as re } from "/@/hooks/web/useI18n";
21
21
  import { getCaptcha as ue } from "/@/api/sys/user";
22
22
  import { useMessage as K } from "/@/hooks/web/useMessage";
23
23
  import ce from "/@/components/jeecg/captcha/CaptchaModal.vue";
24
24
  import { useModal as me } from "/@/components/Modal";
25
25
  import { ExceptionEnum as de } from "/@/enums/exceptionEnum";
26
- import { _ as fe } from "./index-740b2c4a.mjs";
27
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
28
- import "vue-router";
26
+ import { _ as fe } from "./index-0kQBIHx0.mjs";
29
27
  const pe = /* @__PURE__ */ ee({
30
28
  __name: "PhoneLoginForm",
31
29
  props: { bindThirdAccount: { type: Boolean, default: !1 } },
32
30
  emits: ["login", "login-success", "bind-third-phone"],
33
- setup(M, { emit: x }) {
31
+ setup(M, { emit: T }) {
34
32
  const { createMessage: d } = K(), { t } = re(), s = r(""), p = r(!1), g = r();
35
33
  A({
36
34
  randCodeImage: "",
@@ -40,13 +38,13 @@ const pe = /* @__PURE__ */ ee({
40
38
  const n = A({
41
39
  mobile: "",
42
40
  sms: ""
43
- }), i = ie(), u = x;
41
+ }), a = ae(), u = T;
44
42
  r(!1);
45
- const q = c(() => n.mobile != "" || o(s) === "mobile" ? "current-active" : ""), $ = c(() => n.sms != "" || o(s) === "sms" ? "current-active" : ""), { notification: z, createErrorModal: ve } = K(), T = r(!0), f = r(60), b = r(null), E = r(), L = r(), G = c(() => N(t("sys.login.accountPlaceholder"))), j = c(() => N(t("sys.login.smsPlaceholder"))), J = c(() => ({
43
+ const q = c(() => n.mobile != "" || o(s) === "mobile" ? "current-active" : ""), $ = c(() => n.sms != "" || o(s) === "sms" ? "current-active" : ""), { notification: z, createErrorModal: ve } = K(), x = r(!0), f = r(60), b = r(null), E = r(), L = r(), G = c(() => B(t("sys.login.accountPlaceholder"))), j = c(() => B(t("sys.login.smsPlaceholder"))), J = c(() => ({
46
44
  mobile: o(G),
47
45
  sms: o(j)
48
- })), w = c(() => t("component.countdown.normalText")), S = c(() => t("component.countdown.sendText", [o(f)])), F = M, [Q, { openModal: W }] = me();
49
- function N(l) {
46
+ })), w = c(() => t("component.countdown.normalText")), S = c(() => t("component.countdown.sendText", [o(f)])), N = M, [Q, { openModal: W }] = me();
47
+ function B(l) {
50
48
  return [
51
49
  {
52
50
  required: !0,
@@ -55,21 +53,21 @@ const pe = /* @__PURE__ */ ee({
55
53
  }
56
54
  ];
57
55
  }
58
- function P(l) {
56
+ function F(l) {
59
57
  s.value = l, l === "sms" ? E.value.focus() : L.value.focus();
60
58
  }
61
- function B() {
59
+ function P() {
62
60
  s.value = "";
63
61
  }
64
62
  function U() {
65
- return _(this, null, function* () {
66
- g.value.validateFields().then((l) => _(this, null, function* () {
67
- if (F.bindThirdAccount)
63
+ return C(this, null, function* () {
64
+ g.value.validateFields().then((l) => C(null, null, function* () {
65
+ if (N.bindThirdAccount)
68
66
  u("bind-third-phone", l);
69
67
  else
70
68
  try {
71
69
  p.value = !0;
72
- const { userInfo: e } = yield i.phoneLogin(
70
+ const { userInfo: e } = yield a.phoneLogin(
73
71
  se({
74
72
  mobile: l.mobile,
75
73
  captcha: l.sms,
@@ -92,15 +90,15 @@ const pe = /* @__PURE__ */ ee({
92
90
  });
93
91
  }
94
92
  function O() {
95
- return _(this, null, function* () {
93
+ return C(this, null, function* () {
96
94
  if (!n.mobile) {
97
95
  d.warn(t("sys.login.mobilePlaceholder"));
98
96
  return;
99
97
  }
100
- (yield ue({ mobile: n.mobile, smsmode: ae.LOGIN }).catch((e) => {
98
+ (yield ue({ mobile: n.mobile, smsmode: ie.LOGIN }).catch((e) => {
101
99
  e.code === de.PHONE_SMS_FAIL_CODE && W(!0, {});
102
- })) && (o(b) || (f.value = 60, T.value = !1, b.value = setInterval(() => {
103
- o(f) > 0 && o(f) <= 60 ? f.value = f.value - 1 : (T.value = !0, clearInterval(o(b)), b.value = null);
100
+ })) && (o(b) || (f.value = 60, x.value = !1, b.value = setInterval(() => {
101
+ o(f) > 0 && o(f) <= 60 ? f.value = f.value - 1 : (x.value = !0, clearInterval(o(b)), b.value = null);
104
102
  }, 1e3)));
105
103
  });
106
104
  }
@@ -108,7 +106,7 @@ const pe = /* @__PURE__ */ ee({
108
106
  u("login", "accountLogin");
109
107
  }
110
108
  return (l, e) => {
111
- const y = C("a-input"), D = C("a-form-item"), Y = C("a-button"), Z = C("a-form");
109
+ const y = _("a-input"), D = _("a-form-item"), Y = _("a-button"), Z = _("a-form");
112
110
  return h(), V(oe, null, [
113
111
  m(Z, {
114
112
  ref_key: "loginPhoneRef",
@@ -120,7 +118,7 @@ const pe = /* @__PURE__ */ ee({
120
118
  default: k(() => [
121
119
  v("div", {
122
120
  class: I(["content-item", q.value]),
123
- onClick: e[1] || (e[1] = (a) => P("mobile"))
121
+ onClick: e[1] || (e[1] = (i) => F("mobile"))
124
122
  }, [
125
123
  m(D, { name: "mobile" }, {
126
124
  default: k(() => [
@@ -128,9 +126,9 @@ const pe = /* @__PURE__ */ ee({
128
126
  ref_key: "mobileRef",
129
127
  ref: L,
130
128
  value: n.mobile,
131
- "onUpdate:value": e[0] || (e[0] = (a) => n.mobile = a),
129
+ "onUpdate:value": e[0] || (e[0] = (i) => n.mobile = i),
132
130
  style: { height: "40px" },
133
- onBlur: B
131
+ onBlur: P
134
132
  }, null, 8, ["value"]),
135
133
  v("div", {
136
134
  class: I(["form-title", s.value === "mobile" ? "active-title" : ""])
@@ -144,7 +142,7 @@ const pe = /* @__PURE__ */ ee({
144
142
  }, [
145
143
  m(D, {
146
144
  name: "sms",
147
- onClick: e[3] || (e[3] = (a) => P("sms"))
145
+ onClick: e[3] || (e[3] = (i) => F("sms"))
148
146
  }, {
149
147
  default: k(() => [
150
148
  m(y, {
@@ -152,9 +150,9 @@ const pe = /* @__PURE__ */ ee({
152
150
  ref: E,
153
151
  maxLength: 6,
154
152
  value: n.sms,
155
- "onUpdate:value": e[2] || (e[2] = (a) => n.sms = a),
153
+ "onUpdate:value": e[2] || (e[2] = (i) => n.sms = i),
156
154
  style: { height: "40px" },
157
- onBlur: B
155
+ onBlur: P
158
156
  }, null, 8, ["value"]),
159
157
  v("div", {
160
158
  class: I(["form-title", s.value === "sms" ? "active-title" : ""])
@@ -162,21 +160,21 @@ const pe = /* @__PURE__ */ ee({
162
160
  ]),
163
161
  _: 1
164
162
  }),
165
- T.value ? (h(), H(y, {
163
+ x.value ? (h(), H(y, {
166
164
  key: 0,
167
165
  type: "button",
168
166
  class: "aui-code-line pointer",
169
167
  bordered: !1,
170
168
  onClick: O,
171
169
  value: w.value,
172
- "onUpdate:value": e[4] || (e[4] = (a) => w.value = a)
170
+ "onUpdate:value": e[4] || (e[4] = (i) => w.value = i)
173
171
  }, null, 8, ["value"])) : (h(), H(y, {
174
172
  key: 1,
175
173
  type: "button",
176
174
  class: "aui-code-line disabled-btn",
177
175
  bordered: !1,
178
176
  value: S.value,
179
- "onUpdate:value": e[5] || (e[5] = (a) => S.value = a)
177
+ "onUpdate:value": e[5] || (e[5] = (i) => S.value = i)
180
178
  }, null, 8, ["value"]))
181
179
  ], 2),
182
180
  v("div", null, [
@@ -187,12 +185,12 @@ const pe = /* @__PURE__ */ ee({
187
185
  class: "login-btn"
188
186
  }, {
189
187
  default: k(() => [
190
- ne(R(o(t)("sys.login.loginButton")), 1)
188
+ le(R(o(t)("sys.login.loginButton")), 1)
191
189
  ]),
192
190
  _: 1
193
191
  }, 8, ["loading"])
194
192
  ]),
195
- F.bindThirdAccount ? le("", !0) : (h(), V("div", {
193
+ N.bindThirdAccount ? ne("", !0) : (h(), V("div", {
196
194
  key: 0,
197
195
  class: "phone-login-btn pointer",
198
196
  onClick: X
@@ -207,8 +205,7 @@ const pe = /* @__PURE__ */ ee({
207
205
  ], 64);
208
206
  };
209
207
  }
210
- });
211
- const Le = /* @__PURE__ */ fe(pe, [["__scopeId", "data-v-1c0e5266"]]);
208
+ }), xe = /* @__PURE__ */ fe(pe, [["__scopeId", "data-v-1c0e5266"]]);
212
209
  export {
213
- Le as default
210
+ xe as default
214
211
  };
@@ -0,0 +1,182 @@
1
+ var u = (e, s, t) => new Promise((c, l) => {
2
+ var p = (n) => {
3
+ try {
4
+ o(t.next(n));
5
+ } catch (i) {
6
+ l(i);
7
+ }
8
+ }, d = (n) => {
9
+ try {
10
+ o(t.throw(n));
11
+ } catch (i) {
12
+ l(i);
13
+ }
14
+ }, o = (n) => n.done ? c(n.value) : Promise.resolve(n.value).then(p, d);
15
+ o((t = t.apply(e, s)).next());
16
+ });
17
+ import B from "./OnlineForm-CvcbzRIZ.mjs";
18
+ import { defineComponent as L, resolveComponent as g, createElementBlock as y, openBlock as h, createVNode as I, withCtx as b, createCommentVNode as O, createTextVNode as _, ref as r, watch as V, computed as R, nextTick as P } from "vue";
19
+ import { defHttp as $ } from "/@/utils/http/axios";
20
+ import { g as k } from "./useExtendComponent-P9wrWQwT.mjs";
21
+ import A from "./TaskOpinionList-C8rcU6ee.mjs";
22
+ import { useGlobSetting as E } from "/@/hooks/setting";
23
+ import { _ as G } from "./index-0kQBIHx0.mjs";
24
+ const H = L({
25
+ name: "ProcessOnlineForm",
26
+ inheritAttrs: !1,
27
+ components: {
28
+ TaskOpinionList: A,
29
+ OnlineForm: B
30
+ },
31
+ props: {
32
+ dataId: {
33
+ type: String,
34
+ default: ""
35
+ },
36
+ tableName: {
37
+ type: String,
38
+ default: ""
39
+ },
40
+ taskId: {
41
+ type: String,
42
+ default: ""
43
+ },
44
+ taskOriginalId: {
45
+ type: String,
46
+ default: ""
47
+ },
48
+ procInsId: {
49
+ type: String,
50
+ default: ""
51
+ },
52
+ processTabType: {
53
+ type: String,
54
+ default: ""
55
+ },
56
+ disabled: {
57
+ type: Boolean,
58
+ default: !1
59
+ }
60
+ },
61
+ emits: ["success", "validate"],
62
+ setup(e, { emit: s }) {
63
+ const t = r(), c = r(""), l = r(1), p = r(!1), d = r(""), o = r(!1);
64
+ V(
65
+ () => e.tableName,
66
+ (a) => {
67
+ a && i();
68
+ },
69
+ { immediate: !0 }
70
+ );
71
+ const n = R(() => !E().useNewTaskModal);
72
+ function i() {
73
+ return u(this, null, function* () {
74
+ o.value = !0;
75
+ const a = `/online/cgform/api/getFormItemBytbname/${e.tableName}`, N = { taskId: e.taskId };
76
+ try {
77
+ let m = yield $.get({ url: a, params: N });
78
+ c.value = m.head.id, l.value = Number(m.head.formTemplate || 1), p.value = m.head.isTree === "Y", d.value = m.head.treeParentIdField || "", yield P(() => u(null, null, function* () {
79
+ (yield k(t)).createRootProperties(m);
80
+ }));
81
+ } catch (m) {
82
+ }
83
+ });
84
+ }
85
+ function T() {
86
+ return u(this, null, function* () {
87
+ let a = yield k(t);
88
+ o.value = !1, a.show(!0, {
89
+ id: e.dataId
90
+ });
91
+ });
92
+ }
93
+ const f = r(!1);
94
+ function v() {
95
+ return u(this, null, function* () {
96
+ f.value = !0, t.value.handleSubmit();
97
+ });
98
+ }
99
+ function S(a = null) {
100
+ f.value = !1, s("success", a);
101
+ }
102
+ function F() {
103
+ t.value.handleValidate();
104
+ }
105
+ function w(a = null) {
106
+ s("validate", a);
107
+ }
108
+ function C() {
109
+ f.value = !1;
110
+ }
111
+ return {
112
+ onlineFormCompRef: t,
113
+ formId: c,
114
+ formTemplate: l,
115
+ isTreeForm: p,
116
+ pidFieldName: d,
117
+ renderSuccess: T,
118
+ handleSuccess: S,
119
+ handleClose: C,
120
+ handleSubmit: v,
121
+ handleValidate: F,
122
+ validateBack: w,
123
+ buttonLoading: f,
124
+ spinLoading: o,
125
+ showSubmitButton: n
126
+ };
127
+ }
128
+ }), M = { class: "cust-onl-form" }, Y = {
129
+ key: 0,
130
+ style: { width: "100%", "text-align": "center", "margin-top": "5px" }
131
+ };
132
+ function j(e, s, t, c, l, p) {
133
+ const d = g("a-button"), o = g("TaskOpinionList"), n = g("online-form"), i = g("a-spin");
134
+ return h(), y("div", M, [
135
+ I(i, { spinning: e.spinLoading }, {
136
+ default: b(() => [
137
+ I(n, {
138
+ ref: "onlineFormCompRef",
139
+ id: e.formId,
140
+ disabled: e.disabled,
141
+ "form-template": e.formTemplate,
142
+ isTree: e.isTreeForm,
143
+ pidField: e.pidFieldName,
144
+ taskId: e.taskId,
145
+ onRendered: e.renderSuccess,
146
+ onSuccess: e.handleSuccess,
147
+ onValidate: e.validateBack,
148
+ onClose: e.handleClose
149
+ }, {
150
+ bottom: b(() => [
151
+ !e.disabled && !e.spinLoading && e.showSubmitButton ? (h(), y("div", Y, [
152
+ I(d, {
153
+ preIcon: "ant-design:check",
154
+ style: { width: "126px" },
155
+ type: "primary",
156
+ onClick: e.handleSubmit,
157
+ loading: e.buttonLoading
158
+ }, {
159
+ default: b(() => [...s[0] || (s[0] = [
160
+ _(" 提 交 ", -1)
161
+ ])]),
162
+ _: 1
163
+ }, 8, ["onClick", "loading"])
164
+ ])) : O("", !0),
165
+ I(o, {
166
+ class: "task-opinion",
167
+ taskId: e.taskOriginalId,
168
+ procInsId: e.procInsId,
169
+ processTabType: e.processTabType
170
+ }, null, 8, ["taskId", "procInsId", "processTabType"])
171
+ ]),
172
+ _: 1
173
+ }, 8, ["id", "disabled", "form-template", "isTree", "pidField", "taskId", "onRendered", "onSuccess", "onValidate", "onClose"])
174
+ ]),
175
+ _: 1
176
+ }, 8, ["spinning"])
177
+ ]);
178
+ }
179
+ const Z = /* @__PURE__ */ G(H, [["render", j], ["__scopeId", "data-v-0c6a105e"]]);
180
+ export {
181
+ Z as default
182
+ };
@@ -1,27 +1,19 @@
1
1
  var T = Object.defineProperty, _ = Object.defineProperties;
2
2
  var C = Object.getOwnPropertyDescriptors;
3
- var c = Object.getOwnPropertySymbols;
3
+ var f = Object.getOwnPropertySymbols;
4
4
  var k = Object.prototype.hasOwnProperty, q = Object.prototype.propertyIsEnumerable;
5
- var f = (e, t, l) => t in e ? T(e, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[t] = l, b = (e, t) => {
5
+ var m = (e, t, l) => t in e ? T(e, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[t] = l, b = (e, t) => {
6
6
  for (var l in t || (t = {}))
7
- k.call(t, l) && f(e, l, t[l]);
8
- if (c)
9
- for (var l of c(t))
10
- q.call(t, l) && f(e, l, t[l]);
7
+ k.call(t, l) && m(e, l, t[l]);
8
+ if (f)
9
+ for (var l of f(t))
10
+ q.call(t, l) && m(e, l, t[l]);
11
11
  return e;
12
12
  }, h = (e, t) => _(e, C(t));
13
- import { defineComponent as V, ref as F, resolveComponent as x, openBlock as w, createBlock as H, mergeProps as S } from "vue";
13
+ import { defineComponent as V, ref as F, resolveComponent as x, createBlock as w, openBlock as H, mergeProps as S } from "vue";
14
14
  import { JVxeTypes as r } from "/@/components/jeecg/JVxeTable/types";
15
- import { u as P } from "./useTableSync-dbfba20e.mjs";
16
- import { _ as $ } from "./index-740b2c4a.mjs";
17
- import "./cgform.data-0ca62d09.mjs";
18
- import "/@/utils/dict";
19
- import "/@/utils/dict/JDictSelectUtil";
20
- import "/@/utils/uuid";
21
- import "lodash-es";
22
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
23
- import "/@/hooks/web/useMessage";
24
- import "vue-router";
15
+ import { u as P } from "./useTableSync-BAWujyoc.mjs";
16
+ import { _ as $ } from "./index-0kQBIHx0.mjs";
25
17
  const I = V({
26
18
  name: "QueryTable",
27
19
  emits: ["query"],
@@ -64,7 +56,7 @@ const I = V({
64
56
  ],
65
57
  defaultValue: "text",
66
58
  placeholder: "请选择${title}",
67
- validateRules: [{ handler: n }]
59
+ validateRules: [{ handler: o }]
68
60
  },
69
61
  {
70
62
  title: "字典Table",
@@ -103,8 +95,8 @@ const I = V({
103
95
  defaultChecked: !1,
104
96
  // update-begin--author:liaozhiyang---date:20240603---for:【TV360X-816】如果是关联记录或者没勾选数据库字段个性化查询checkbox禁用
105
97
  props: {
106
- isDisabledCell({ row: a, column: o }) {
107
- let { pageTable: i, dbTable: v, fkTable: g } = m;
98
+ isDisabledCell({ row: a, column: d }) {
99
+ let { pageTable: i, dbTable: v, fkTable: g } = y;
108
100
  const s = i.value.tableRef.getTableData({ rowIds: [a.id] })[0];
109
101
  if (["link_table"].includes(s == null ? void 0 : s.fieldShowType))
110
102
  return a.queryConfigFlag = "0", !0;
@@ -117,19 +109,19 @@ const I = V({
117
109
  }
118
110
  // update-end--author:liaozhiyang---date:20240603---for:【TV360X-816】如果是关联记录或者没勾选数据库字段个性化查询checkbox禁用
119
111
  }
120
- ]), d = P(l), { tables: m } = d;
121
- function y({ row: a, column: o, value: i }) {
122
- o.key === "queryConfigFlag" && i === "1" && t("query", a.id);
112
+ ]), n = P(l), { tables: y } = n;
113
+ function c({ row: a, column: d, value: i }) {
114
+ d.key === "queryConfigFlag" && i === "1" && t("query", a.id);
123
115
  }
124
- function n({ cellValue: a, row: o }, i) {
125
- a == null && o.queryConfigFlag == "1" && i(!1, "查询启用状态下,控件类型必选~"), i(!0);
116
+ function o({ cellValue: a, row: d }, i) {
117
+ a == null && d.queryConfigFlag == "1" && i(!1, "查询启用状态下,控件类型必选~"), i(!0);
126
118
  }
127
- return h(b({}, d), { columns: l, handleChange: y });
119
+ return h(b({}, n), { columns: l, handleChange: c });
128
120
  }
129
121
  });
130
- function M(e, t, l, d, m, y) {
131
- const n = x("JVxeTable");
132
- return w(), H(n, S({
122
+ function M(e, t, l, n, y, c) {
123
+ const o = x("JVxeTable");
124
+ return H(), w(o, S({
133
125
  ref: "tableRef",
134
126
  rowNumber: "",
135
127
  keyboardEdit: "",
@@ -141,7 +133,7 @@ function M(e, t, l, d, m, y) {
141
133
  onValueChange: e.handleChange
142
134
  }, e.tableProps), null, 16, ["maxHeight", "loading", "columns", "dataSource", "onValueChange"]);
143
135
  }
144
- const L = /* @__PURE__ */ $(I, [["render", M]]);
136
+ const E = /* @__PURE__ */ $(I, [["render", M]]);
145
137
  export {
146
- L as default
138
+ E as default
147
139
  };
@@ -0,0 +1,58 @@
1
+ import { ref as p, watch as f, onMounted as N, resolveComponent as _, createElementBlock as g, openBlock as S, createElementVNode as l, createVNode as v } from "vue";
2
+ import { isArray as b } from "/@/utils/is";
3
+ import { _ as Y } from "./index-0kQBIHx0.mjs";
4
+ const h = { class: "setSwitchOptions" }, w = "Y", y = "N", C = {
5
+ __name: "SetSwitchOptions",
6
+ props: {
7
+ value: {
8
+ type: [Array, String],
9
+ default: ["Y", "N"]
10
+ }
11
+ },
12
+ emits: "change",
13
+ setup(m, { emit: d }) {
14
+ const c = m, u = d, n = p(w), a = p(y);
15
+ f(
16
+ () => c.value,
17
+ (t) => {
18
+ if (typeof t == "string") {
19
+ const e = t.split(",");
20
+ n.value = e[0], a.value = e[1];
21
+ } else b(t) && (n.value = t[0], a.value = t[1]);
22
+ },
23
+ { immediate: !0 }
24
+ );
25
+ const s = () => {
26
+ n.value != "" && a.value != "" && r();
27
+ }, r = () => {
28
+ let t = Number(n.value), e = Number(a.value);
29
+ (Number.isNaN(t) || Number.isNaN(e)) && (t = n.value, e = a.value), u("change", [t, e]), u("update:value", [t, e]);
30
+ };
31
+ return N(() => {
32
+ r();
33
+ }), (t, e) => {
34
+ const i = _("a-input");
35
+ return S(), g("div", h, [
36
+ l("p", null, [
37
+ e[2] || (e[2] = l("span", null, "是", -1)),
38
+ v(i, {
39
+ value: n.value,
40
+ "onUpdate:value": e[0] || (e[0] = (o) => n.value = o),
41
+ onChange: s
42
+ }, null, 8, ["value"])
43
+ ]),
44
+ l("p", null, [
45
+ e[3] || (e[3] = l("span", null, "否", -1)),
46
+ v(i, {
47
+ value: a.value,
48
+ "onUpdate:value": e[1] || (e[1] = (o) => a.value = o),
49
+ onChange: s
50
+ }, null, 8, ["value"])
51
+ ])
52
+ ]);
53
+ };
54
+ }
55
+ }, A = /* @__PURE__ */ Y(C, [["__scopeId", "data-v-b718aa7e"]]);
56
+ export {
57
+ A as default
58
+ };
@@ -0,0 +1,11 @@
1
+ import { defineComponent as e, createBlock as o, openBlock as r } from "vue";
2
+ import { _ as t } from "./ShareView.vue_vue_type_script_setup_true_lang-BCdP9KMD.mjs";
3
+ const s = /* @__PURE__ */ e({
4
+ __name: "ShareAddView",
5
+ setup(a) {
6
+ return (_, n) => (r(), o(t, { isUpdate: !1 }));
7
+ }
8
+ });
9
+ export {
10
+ s as default
11
+ };
@@ -0,0 +1,17 @@
1
+ import { defineComponent as t, computed as r, createBlock as o, openBlock as a } from "vue";
2
+ import { router as i } from "/@/router";
3
+ import { S as m } from "./index-aVGkB_J9.mjs";
4
+ import { _ as n } from "./ShareView.vue_vue_type_script_setup_true_lang-BCdP9KMD.mjs";
5
+ const d = /* @__PURE__ */ t({
6
+ __name: "ShareEditView",
7
+ setup(_) {
8
+ const e = r(() => i.currentRoute.value.name === m);
9
+ return (s, c) => (a(), o(n, {
10
+ isUpdate: !0,
11
+ isDetail: e.value
12
+ }, null, 8, ["isDetail"]));
13
+ }
14
+ });
15
+ export {
16
+ d as default
17
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./ShareView.vue_vue_type_script_setup_true_lang-BCdP9KMD.mjs";
2
+ export {
3
+ f as default
4
+ };