@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
@@ -0,0 +1,214 @@
1
+ var y = (M, T, d) => new Promise((t, s) => {
2
+ var p = (i) => {
3
+ try {
4
+ n(d.next(i));
5
+ } catch (u) {
6
+ s(u);
7
+ }
8
+ }, g = (i) => {
9
+ try {
10
+ n(d.throw(i));
11
+ } catch (u) {
12
+ s(u);
13
+ }
14
+ }, n = (i) => i.done ? t(i.value) : Promise.resolve(i.value).then(p, g);
15
+ n((d = d.apply(M, T)).next());
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 R, toDisplayString as I, 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";
20
+ import { useI18n as re } from "/@/hooks/web/useI18n";
21
+ import { getCaptcha as ue } from "/@/api/sys/user";
22
+ import { useMessage as K } from "/@/hooks/web/useMessage";
23
+ import ce from "/@/components/jeecg/captcha/CaptchaModal.vue";
24
+ import { useModal as me } from "/@/components/Modal";
25
+ import { ExceptionEnum as de } from "/@/enums/exceptionEnum";
26
+ import { _ as fe } from "./index-f3683351.mjs";
27
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
28
+ import "vue-router";
29
+ const pe = /* @__PURE__ */ ee({
30
+ __name: "PhoneLoginForm",
31
+ props: { bindThirdAccount: { type: Boolean, default: !1 } },
32
+ emits: ["login", "login-success", "bind-third-phone"],
33
+ setup(M, { emit: T }) {
34
+ const { createMessage: d } = K(), { t } = re(), s = r(""), p = r(!1), g = r();
35
+ A({
36
+ randCodeImage: "",
37
+ requestCodeSuccess: !1,
38
+ checkKey: -1
39
+ });
40
+ const n = A({
41
+ mobile: "",
42
+ sms: ""
43
+ }), i = ie(), u = T;
44
+ 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(), x = r(!0), f = r(60), b = r(null), E = r(), S = r(), G = c(() => P(t("sys.login.accountPlaceholder"))), W = c(() => P(t("sys.login.smsPlaceholder"))), j = c(() => ({
46
+ mobile: o(G),
47
+ sms: o(W)
48
+ })), L = c(() => t("component.countdown.normalText")), w = c(() => t("component.countdown.sendText", [o(f)])), F = M, [J, { openModal: Q }] = me();
49
+ function P(l) {
50
+ return [
51
+ {
52
+ required: !0,
53
+ message: l,
54
+ trigger: "change"
55
+ }
56
+ ];
57
+ }
58
+ function B(l) {
59
+ s.value = l, l === "sms" ? E.value.focus() : S.value.focus();
60
+ }
61
+ function N() {
62
+ s.value = "";
63
+ }
64
+ function O() {
65
+ return y(this, null, function* () {
66
+ g.value.validateFields().then((l) => y(this, null, function* () {
67
+ if (F.bindThirdAccount)
68
+ u("bind-third-phone", l);
69
+ else
70
+ try {
71
+ p.value = !0;
72
+ const { userInfo: e } = yield i.phoneLogin(
73
+ se({
74
+ mobile: l.mobile,
75
+ captcha: l.sms,
76
+ mode: "none",
77
+ //不要默认的错误提示
78
+ goHome: !1
79
+ })
80
+ );
81
+ e && u("login-success", e.realname);
82
+ } catch (e) {
83
+ z.error({
84
+ message: t("sys.api.errorTip"),
85
+ description: e.message || t("sys.api.networkExceptionMsg"),
86
+ duration: 3
87
+ });
88
+ } finally {
89
+ p.value = !1;
90
+ }
91
+ }));
92
+ });
93
+ }
94
+ function U() {
95
+ return y(this, null, function* () {
96
+ if (!n.mobile) {
97
+ d.warn(t("sys.login.mobilePlaceholder"));
98
+ return;
99
+ }
100
+ (yield ue({ mobile: n.mobile, smsmode: ae.FORGET_PASSWORD }).catch((e) => {
101
+ e.code === de.PHONE_SMS_FAIL_CODE && Q(!0, {});
102
+ })) && (o(b) || (f.value = 60, x.value = !1, b.value = setInterval(() => {
103
+ o(f) > 0 && o(f) <= 60 ? f.value = f.value - 1 : (x.value = !0, clearInterval(o(b)), b.value = null);
104
+ }, 1e3)));
105
+ });
106
+ }
107
+ function X() {
108
+ u("login", "accountLogin");
109
+ }
110
+ return (l, e) => {
111
+ const _ = C("a-input"), D = C("a-form-item"), Y = C("a-button"), Z = C("a-form");
112
+ return h(), V(oe, null, [
113
+ m(Z, {
114
+ ref_key: "loginPhoneRef",
115
+ ref: g,
116
+ model: n,
117
+ rules: j.value,
118
+ onKeyup: te(O, ["enter", "native"])
119
+ }, {
120
+ default: k(() => [
121
+ v("div", {
122
+ class: R(["content-item", q.value]),
123
+ onClick: e[1] || (e[1] = (a) => B("mobile"))
124
+ }, [
125
+ m(D, { name: "mobile" }, {
126
+ default: k(() => [
127
+ m(_, {
128
+ ref_key: "mobileRef",
129
+ ref: S,
130
+ value: n.mobile,
131
+ "onUpdate:value": e[0] || (e[0] = (a) => n.mobile = a),
132
+ style: { height: "40px" },
133
+ onBlur: N
134
+ }, null, 8, ["value"]),
135
+ v("div", {
136
+ class: R(["form-title", s.value === "mobile" ? "active-title" : ""])
137
+ }, I(o(t)("sys.login.mobile")), 3)
138
+ ]),
139
+ _: 1
140
+ })
141
+ ], 2),
142
+ v("div", {
143
+ class: R(["content-item", $.value])
144
+ }, [
145
+ m(D, {
146
+ name: "sms",
147
+ onClick: e[3] || (e[3] = (a) => B("sms"))
148
+ }, {
149
+ default: k(() => [
150
+ m(_, {
151
+ ref_key: "smsCodeRef",
152
+ ref: E,
153
+ maxLength: 6,
154
+ value: n.sms,
155
+ "onUpdate:value": e[2] || (e[2] = (a) => n.sms = a),
156
+ style: { height: "40px" },
157
+ onBlur: N
158
+ }, null, 8, ["value"]),
159
+ v("div", {
160
+ class: R(["form-title", s.value === "sms" ? "active-title" : ""])
161
+ }, I(o(t)("sys.login.smsCode")), 3)
162
+ ]),
163
+ _: 1
164
+ }),
165
+ x.value ? (h(), H(_, {
166
+ key: 0,
167
+ type: "button",
168
+ class: "aui-code-line pointer",
169
+ bordered: !1,
170
+ onClick: U,
171
+ value: L.value,
172
+ "onUpdate:value": e[4] || (e[4] = (a) => L.value = a)
173
+ }, null, 8, ["value"])) : (h(), H(_, {
174
+ key: 1,
175
+ type: "button",
176
+ class: "aui-code-line disabled-btn",
177
+ bordered: !1,
178
+ value: w.value,
179
+ "onUpdate:value": e[5] || (e[5] = (a) => w.value = a)
180
+ }, null, 8, ["value"]))
181
+ ], 2),
182
+ v("div", null, [
183
+ m(Y, {
184
+ type: "primary",
185
+ onClick: O,
186
+ loading: p.value,
187
+ class: "login-btn"
188
+ }, {
189
+ default: k(() => [
190
+ ne(I(o(t)("sys.login.loginButton")), 1)
191
+ ]),
192
+ _: 1
193
+ }, 8, ["loading"])
194
+ ]),
195
+ F.bindThirdAccount ? le("", !0) : (h(), V("div", {
196
+ key: 0,
197
+ class: "phone-login-btn pointer",
198
+ onClick: X
199
+ }, I(o(t)("sys.login.backSignIn")), 1))
200
+ ]),
201
+ _: 1
202
+ }, 8, ["model", "rules"]),
203
+ m(ce, {
204
+ onRegister: o(J),
205
+ onOk: U
206
+ }, null, 8, ["onRegister"])
207
+ ], 64);
208
+ };
209
+ }
210
+ });
211
+ const Se = /* @__PURE__ */ fe(pe, [["__scopeId", "data-v-471134ff"]]);
212
+ export {
213
+ Se as default
214
+ };
@@ -1,24 +1,24 @@
1
- var u = (e, r, t) => new Promise((p, s) => {
1
+ var u = (e, t, n) => new Promise((p, s) => {
2
2
  var d = (o) => {
3
3
  try {
4
- a(t.next(o));
5
- } catch (n) {
6
- s(n);
4
+ a(n.next(o));
5
+ } catch (r) {
6
+ s(r);
7
7
  }
8
8
  }, i = (o) => {
9
9
  try {
10
- a(t.throw(o));
11
- } catch (n) {
12
- s(n);
10
+ a(n.throw(o));
11
+ } catch (r) {
12
+ s(r);
13
13
  }
14
14
  }, a = (o) => o.done ? p(o.value) : Promise.resolve(o.value).then(d, i);
15
- a((t = t.apply(e, r)).next());
15
+ a((n = n.apply(e, t)).next());
16
16
  });
17
- import C from "./OnlineForm-9f1153ba.mjs";
18
- import { defineComponent as S, ref as m, watch as T, nextTick as w, resolveComponent as f, openBlock as _, createElementBlock as y, createVNode as g, withCtx as h, createTextVNode as N, createCommentVNode as P } from "vue";
17
+ import C from "./OnlineForm-c1fb38eb.mjs";
18
+ import { defineComponent as S, ref as m, watch as T, nextTick as w, resolveComponent as f, openBlock as y, createElementBlock as _, createVNode as g, withCtx as h, createTextVNode as N, createCommentVNode as P } from "vue";
19
19
  import { defHttp as R } from "/@/utils/http/axios";
20
- import { g as b } from "./useExtendComponent-dcae5c78.mjs";
21
- import { _ as L } from "./index-1d1a6e56.mjs";
20
+ import { g as b } from "./useExtendComponent-3f5734ca.mjs";
21
+ import { _ as L } from "./index-f3683351.mjs";
22
22
  import "/@/hooks/web/useMessage";
23
23
  import "/@/components/Form/index";
24
24
  import "lodash-es";
@@ -38,7 +38,7 @@ import "./constant-fa63bd66.mjs";
38
38
  import "/@/hooks/web/useAppInject";
39
39
  import "/@/utils/is";
40
40
  import "/@/store/modules/permission";
41
- import "./OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs";
41
+ import "./OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs";
42
42
  import "/@/components/Form/src/componentMap";
43
43
  import "/@/utils/propTypes";
44
44
  import "/@/components/Form/src/jeecg/components/JUpload";
@@ -50,11 +50,11 @@ import "/@/hooks/system/useListPage";
50
50
  import "vue-router";
51
51
  import "/@/components/Form/src/utils/Area";
52
52
  import "/@/components/Preview/index";
53
- import "./LinkTableListPiece-f3a8e0d7.mjs";
53
+ import "./LinkTableListPiece-179035c7.mjs";
54
54
  import "/@/api/common/api";
55
55
  import "/@/assets/images/placeholderImage.png";
56
- import "./OnlineSelectCascade-05c40fef.mjs";
57
- import "./JModalTip-b055ab60.mjs";
56
+ import "./OnlineSelectCascade-a3e686b3.mjs";
57
+ import "./JModalTip-192fafa1.mjs";
58
58
  import "ant-design-vue";
59
59
  import "@vueuse/core";
60
60
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
@@ -83,7 +83,7 @@ const $ = S({
83
83
  }
84
84
  },
85
85
  setup(e) {
86
- const r = m(), t = m(""), p = m(1), s = m(!1), d = m(""), i = m(!1);
86
+ const t = m(), n = m(""), p = m(1), s = m(!1), d = m(""), i = m(!1);
87
87
  T(
88
88
  () => e.tableName,
89
89
  (c) => {
@@ -97,8 +97,8 @@ const $ = S({
97
97
  const c = `/online/cgform/api/getFormItemBytbname/${e.tableName}`, k = { taskId: e.taskId };
98
98
  try {
99
99
  let l = yield R.get({ url: c, params: k });
100
- t.value = l.head.id, p.value = Number(l.head.formTemplate || 1), s.value = l.head.isTree === "Y", d.value = l.head.treeParentIdField || "", yield w(() => u(this, null, function* () {
101
- (yield b(r)).createRootProperties(l);
100
+ n.value = l.head.id, p.value = Number(l.head.formTemplate || 1), s.value = l.head.isTree === "Y", d.value = l.head.treeParentIdField || "", yield w(() => u(this, null, function* () {
101
+ (yield b(t)).createRootProperties(l);
102
102
  }));
103
103
  } catch (l) {
104
104
  }
@@ -106,27 +106,27 @@ const $ = S({
106
106
  }
107
107
  function o() {
108
108
  return u(this, null, function* () {
109
- let c = yield b(r);
109
+ let c = yield b(t);
110
110
  i.value = !1, c.show(!0, {
111
111
  id: e.dataId
112
112
  });
113
113
  });
114
114
  }
115
- const n = m(!1);
115
+ const r = m(!1);
116
116
  function F() {
117
117
  return u(this, null, function* () {
118
- n.value = !0, r.value.handleSubmit();
118
+ r.value = !0, t.value.handleSubmit();
119
119
  });
120
120
  }
121
121
  function v() {
122
- n.value = !1;
122
+ r.value = !1;
123
123
  }
124
124
  function I() {
125
- n.value = !1;
125
+ r.value = !1;
126
126
  }
127
127
  return {
128
- onlineFormCompRef: r,
129
- formId: t,
128
+ onlineFormCompRef: t,
129
+ formId: n,
130
130
  formTemplate: p,
131
131
  isTreeForm: s,
132
132
  pidFieldName: d,
@@ -134,7 +134,7 @@ const $ = S({
134
134
  handleSuccess: v,
135
135
  handleClose: I,
136
136
  handleSubmit: F,
137
- buttonLoading: n,
137
+ buttonLoading: r,
138
138
  spinLoading: i
139
139
  };
140
140
  }
@@ -142,9 +142,9 @@ const $ = S({
142
142
  key: 0,
143
143
  style: { width: "100%", "text-align": "center", "margin-top": "5px" }
144
144
  };
145
- function V(e, r, t, p, s, d) {
145
+ function V(e, t, n, p, s, d) {
146
146
  const i = f("a-button"), a = f("online-form"), o = f("a-spin");
147
- return _(), y("div", B, [
147
+ return y(), _("div", B, [
148
148
  g(o, { spinning: e.spinLoading }, {
149
149
  default: h(() => [
150
150
  g(a, {
@@ -160,7 +160,7 @@ function V(e, r, t, p, s, d) {
160
160
  onClose: e.handleClose
161
161
  }, {
162
162
  bottom: h(() => [
163
- !e.disabled && !e.spinLoading ? (_(), y("div", O, [
163
+ !e.disabled && !e.spinLoading ? (y(), _("div", O, [
164
164
  g(i, {
165
165
  preIcon: "ant-design:check",
166
166
  style: { width: "126px" },
@@ -168,9 +168,9 @@ function V(e, r, t, p, s, d) {
168
168
  onClick: e.handleSubmit,
169
169
  loading: e.buttonLoading
170
170
  }, {
171
- default: h(() => [
171
+ default: h(() => t[0] || (t[0] = [
172
172
  N(" 提 交 ")
173
- ]),
173
+ ])),
174
174
  _: 1
175
175
  }, 8, ["onClick", "loading"])
176
176
  ])) : P("", !0)
@@ -12,9 +12,9 @@ var f = (e, t, l) => t in e ? T(e, t, { enumerable: !0, configurable: !0, writab
12
12
  }, h = (e, t) => _(e, C(t));
13
13
  import { defineComponent as V, ref as F, resolveComponent as x, openBlock as w, createBlock 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-d7e9f18d.mjs";
16
- import { _ as $ } from "./index-1d1a6e56.mjs";
17
- import "./cgform.data-475d4984.mjs";
15
+ import { u as P } from "./useTableSync-075826a1.mjs";
16
+ import { _ as $ } 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";
@@ -0,0 +1,62 @@
1
+ import { ref as r, watch as _, onMounted as f, resolveComponent as N, openBlock as g, createElementBlock as S, createElementVNode as o, createVNode as v } from "vue";
2
+ import { isArray as b } from "/@/utils/is";
3
+ import { _ as y } from "./index-f3683351.mjs";
4
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
5
+ import "/@/hooks/web/useMessage";
6
+ import "vue-router";
7
+ const h = { class: "setSwitchOptions" }, w = "Y", Y = "N", x = {
8
+ __name: "SetSwitchOptions",
9
+ props: {
10
+ value: {
11
+ type: [Array, String],
12
+ default: ["Y", "N"]
13
+ }
14
+ },
15
+ emits: "change",
16
+ setup(m, { emit: c }) {
17
+ const d = m, u = c, n = r(w), a = r(Y);
18
+ _(
19
+ () => d.value,
20
+ (t) => {
21
+ if (typeof t == "string") {
22
+ const e = t.split(",");
23
+ n.value = e[0], a.value = e[1];
24
+ } else
25
+ b(t) && (n.value = t[0], a.value = t[1]);
26
+ },
27
+ { immediate: !0 }
28
+ );
29
+ const s = () => {
30
+ n.value != "" && a.value != "" && i();
31
+ }, i = () => {
32
+ let t = Number(n.value), e = Number(a.value);
33
+ (Number.isNaN(t) || Number.isNaN(e)) && (t = n.value, e = a.value), u("change", [t, e]), u("update:value", [t, e]);
34
+ };
35
+ return f(() => {
36
+ i();
37
+ }), (t, e) => {
38
+ const p = N("a-input");
39
+ return g(), S("div", h, [
40
+ o("p", null, [
41
+ e[2] || (e[2] = o("span", null, "是", -1)),
42
+ v(p, {
43
+ value: n.value,
44
+ "onUpdate:value": e[0] || (e[0] = (l) => n.value = l),
45
+ onChange: s
46
+ }, null, 8, ["value"])
47
+ ]),
48
+ o("p", null, [
49
+ e[3] || (e[3] = o("span", null, "否", -1)),
50
+ v(p, {
51
+ value: a.value,
52
+ "onUpdate:value": e[1] || (e[1] = (l) => a.value = l),
53
+ onChange: s
54
+ }, null, 8, ["value"])
55
+ ])
56
+ ]);
57
+ };
58
+ }
59
+ }, U = /* @__PURE__ */ y(x, [["__scopeId", "data-v-b718aa7e"]]);
60
+ export {
61
+ U as default
62
+ };
@@ -0,0 +1,86 @@
1
+ import { defineComponent as o, openBlock as r, createBlock as t } from "vue";
2
+ import { _ as p } from "./ShareView.vue_vue_type_script_setup_true_lang-560459c9.mjs";
3
+ import "./shareStore-7de6c7a6.mjs";
4
+ import "pinia";
5
+ import "/@/store/modules/user";
6
+ import "/@/utils/auth";
7
+ import "/@/enums/cacheEnum";
8
+ import "/@/api/sys/user";
9
+ import "./OnlineAutoList-36ec0957.mjs";
10
+ import "/@/components/Table";
11
+ import "/@/hooks/web/useMessage";
12
+ import "./OnlineAutoModal-c0743caf.mjs";
13
+ import "/@/components/Modal";
14
+ import "./OnlineForm-c1fb38eb.mjs";
15
+ import "/@/components/Form/index";
16
+ import "./useExtendComponent-3f5734ca.mjs";
17
+ import "/@/components/Form/src/componentMap";
18
+ import "/@/utils/propTypes";
19
+ import "@ant-design/icons-vue";
20
+ import "/@/utils/http/axios";
21
+ import "lodash-es";
22
+ import "./constant-fa63bd66.mjs";
23
+ import "/@/utils/common/compUtils";
24
+ import "/@/components/Form/src/jeecg/components/JUpload";
25
+ import "/@/utils/is";
26
+ import "/@/views/system/user/user.api";
27
+ import "/@/utils";
28
+ import "/@/utils/desform/customExpression";
29
+ import "/@/store/modules/permission";
30
+ import "/@/utils/dict/JDictSelectUtil";
31
+ import "/@/hooks/system/useListPage";
32
+ import "vue-router";
33
+ import "/@/components/Form/src/utils/Area";
34
+ import "/@/components/Preview/index";
35
+ import "./LinkTableListPiece-179035c7.mjs";
36
+ import "./index-f3683351.mjs";
37
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
38
+ import "/@/api/common/api";
39
+ import "/@/hooks/web/useAppInject";
40
+ import "/@/assets/images/placeholderImage.png";
41
+ import "./OnlineSelectCascade-a3e686b3.mjs";
42
+ import "/@/components/Loading";
43
+ import "./JModalTip-192fafa1.mjs";
44
+ import "ant-design-vue";
45
+ import "@vueuse/core";
46
+ import "/@/components/jeecg/JVxeTable/types";
47
+ import "/@/hooks/core/useContext";
48
+ import "/@/utils/mitt";
49
+ import "./useCustomHook-acb00837.mjs";
50
+ import "/@/utils/cache";
51
+ import "./OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs";
52
+ import "/@/components/jeecg/comment/CommentPanel.vue";
53
+ import "./OnlineCustomModal-661ee850.mjs";
54
+ import "./OnlineDetailModal-785e848e.mjs";
55
+ import "./OnlineFormDetail-50186870.mjs";
56
+ import "./DetailForm-c127c27f.mjs";
57
+ import "/@/utils/dict";
58
+ import "/@/utils/dict/index";
59
+ import "/@/components/Markdown";
60
+ import "./OnlineSubFormDetail-be1ad3b9.mjs";
61
+ import "/@/components/Form/src/jeecg/components/JImportModal.vue";
62
+ import "./useListButton-ee23874a.mjs";
63
+ import "/@/router";
64
+ import "/@/hooks/core/onMountedOrActivated";
65
+ import "/@/store/modules/multipleTab";
66
+ import "./cgformState-d9f8ec42.mjs";
67
+ import "/@/store";
68
+ import "/@/hooks/system/useMethods";
69
+ import "./OnlineQueryForm-ca6186a3.mjs";
70
+ import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
71
+ import "./SuperQuery-2b293e3b.mjs";
72
+ import "./SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs";
73
+ import "/@/utils/index";
74
+ import "/@/hooks/web/useDesign";
75
+ import "./useOnlinePopEvent-687070b7.mjs";
76
+ import "./SingleView.vue_vue_type_style_index_0_lang-ce96670b.mjs";
77
+ import "/@/hooks/web/usePage";
78
+ const vo = /* @__PURE__ */ o({
79
+ __name: "ShareAddView",
80
+ setup(m) {
81
+ return (i, e) => (r(), t(p, { isUpdate: !1 }));
82
+ }
83
+ });
84
+ export {
85
+ vo as default
86
+ };
@@ -0,0 +1,92 @@
1
+ import { defineComponent as r, computed as o, openBlock as i, createBlock as m } from "vue";
2
+ import { router as p } from "/@/router";
3
+ import { S as e } from "./index-5e89258d.mjs";
4
+ import { _ as a } from "./ShareView.vue_vue_type_script_setup_true_lang-560459c9.mjs";
5
+ import "/@/enums/pageEnum";
6
+ import "./shareStore-7de6c7a6.mjs";
7
+ import "pinia";
8
+ import "/@/store/modules/user";
9
+ import "/@/utils/auth";
10
+ import "/@/enums/cacheEnum";
11
+ import "/@/api/sys/user";
12
+ import "./OnlineAutoList-36ec0957.mjs";
13
+ import "/@/components/Table";
14
+ import "/@/hooks/web/useMessage";
15
+ import "./OnlineAutoModal-c0743caf.mjs";
16
+ import "/@/components/Modal";
17
+ import "./OnlineForm-c1fb38eb.mjs";
18
+ import "/@/components/Form/index";
19
+ import "./useExtendComponent-3f5734ca.mjs";
20
+ import "/@/components/Form/src/componentMap";
21
+ import "/@/utils/propTypes";
22
+ import "@ant-design/icons-vue";
23
+ import "/@/utils/http/axios";
24
+ import "lodash-es";
25
+ import "./constant-fa63bd66.mjs";
26
+ import "/@/utils/common/compUtils";
27
+ import "/@/components/Form/src/jeecg/components/JUpload";
28
+ import "/@/utils/is";
29
+ import "/@/views/system/user/user.api";
30
+ import "/@/utils";
31
+ import "/@/utils/desform/customExpression";
32
+ import "/@/store/modules/permission";
33
+ import "/@/utils/dict/JDictSelectUtil";
34
+ import "/@/hooks/system/useListPage";
35
+ import "vue-router";
36
+ import "/@/components/Form/src/utils/Area";
37
+ import "/@/components/Preview/index";
38
+ import "./LinkTableListPiece-179035c7.mjs";
39
+ import "./index-f3683351.mjs";
40
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
41
+ import "/@/api/common/api";
42
+ import "/@/hooks/web/useAppInject";
43
+ import "/@/assets/images/placeholderImage.png";
44
+ import "./OnlineSelectCascade-a3e686b3.mjs";
45
+ import "/@/components/Loading";
46
+ import "./JModalTip-192fafa1.mjs";
47
+ import "ant-design-vue";
48
+ import "@vueuse/core";
49
+ import "/@/components/jeecg/JVxeTable/types";
50
+ import "/@/hooks/core/useContext";
51
+ import "/@/utils/mitt";
52
+ import "./useCustomHook-acb00837.mjs";
53
+ import "/@/utils/cache";
54
+ import "./OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs";
55
+ import "/@/components/jeecg/comment/CommentPanel.vue";
56
+ import "./OnlineCustomModal-661ee850.mjs";
57
+ import "./OnlineDetailModal-785e848e.mjs";
58
+ import "./OnlineFormDetail-50186870.mjs";
59
+ import "./DetailForm-c127c27f.mjs";
60
+ import "/@/utils/dict";
61
+ import "/@/utils/dict/index";
62
+ import "/@/components/Markdown";
63
+ import "./OnlineSubFormDetail-be1ad3b9.mjs";
64
+ import "/@/components/Form/src/jeecg/components/JImportModal.vue";
65
+ import "./useListButton-ee23874a.mjs";
66
+ import "/@/hooks/core/onMountedOrActivated";
67
+ import "/@/store/modules/multipleTab";
68
+ import "./cgformState-d9f8ec42.mjs";
69
+ import "/@/store";
70
+ import "/@/hooks/system/useMethods";
71
+ import "./OnlineQueryForm-ca6186a3.mjs";
72
+ import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
73
+ import "./SuperQuery-2b293e3b.mjs";
74
+ import "./SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs";
75
+ import "/@/utils/index";
76
+ import "/@/hooks/web/useDesign";
77
+ import "./useOnlinePopEvent-687070b7.mjs";
78
+ import "./SingleView.vue_vue_type_style_index_0_lang-ce96670b.mjs";
79
+ import "/@/hooks/web/usePage";
80
+ const Vt = /* @__PURE__ */ r({
81
+ __name: "ShareEditView",
82
+ setup(n) {
83
+ const t = o(() => p.currentRoute.value.name === e);
84
+ return (_, s) => (i(), m(a, {
85
+ isUpdate: !0,
86
+ isDetail: t.value
87
+ }, null, 8, ["isDetail"]));
88
+ }
89
+ });
90
+ export {
91
+ Vt as default
92
+ };