@jeecg/online 3.7.1-RC → 3.7.4-beta

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 (143) hide show
  1. package/AccountLoginForm-84cbd344.mjs +254 -0
  2. package/AiModal-26903538.mjs +84 -0
  3. package/AppForgetPassword-52443f23.mjs +310 -0
  4. package/AppLogin-ecf798fa.mjs +287 -0
  5. package/AppLoginHeader-4432c584.mjs +27 -0
  6. package/AppNameEmail-3303a037.mjs +180 -0
  7. package/AppRegister-79a62c59.mjs +303 -0
  8. package/AppTenant-f0bef7ca.mjs +373 -0
  9. package/AppThirdForm-fd8b4604.mjs +189 -0
  10. package/AuthButtonConfig-d5bffca0.mjs +156 -0
  11. package/AuthButtonTree-b0bd6c40.mjs +165 -0
  12. package/{AuthDataConfig-5c3a8e6b.mjs → AuthDataConfig-d3b7afa4.mjs} +23 -23
  13. package/{AuthDataTree-dd7a1240.mjs → AuthDataTree-f14a98d9.mjs} +43 -43
  14. package/{AuthFieldConfig-9f6fa06c.mjs → AuthFieldConfig-f1e224cc.mjs} +71 -71
  15. package/AuthFieldTree-5cc0da05.mjs +232 -0
  16. package/{AuthManagerDrawer-76f15e8d.mjs → AuthManagerDrawer-32556109.mjs} +6 -6
  17. package/{AuthSetterModal-f5d2e87f.mjs → AuthSetterModal-364f1f67.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-1131274c.mjs +260 -0
  21. package/CgformCopyList-5fba0810.mjs +252 -0
  22. package/{CgformModal-21c5c387.mjs → CgformModal-c4a4e0c2.mjs} +190 -194
  23. package/{CgreportModal-edefa8e3.mjs → CgreportModal-8a84aae5.mjs} +181 -168
  24. package/{CheckDictTable-1bc8322d.mjs → CheckDictTable-8a938e3a.mjs} +3 -3
  25. package/CodeFileListModal-a924902a.mjs +159 -0
  26. package/{CodeFileViewModal-2fe911f4.mjs → CodeFileViewModal-405e2b58.mjs} +66 -66
  27. package/CodeGeneratorModal-2e1dc13d.mjs +281 -0
  28. package/CustomButtonList-c453b654.mjs +274 -0
  29. package/{DBAttributeTable-285d40db.mjs → DBAttributeTable-1a45c7b7.mjs} +3 -3
  30. package/{DbToOnlineModal-5dcb67c3.mjs → DbToOnlineModal-f28ff0a3.mjs} +53 -54
  31. package/{DetailForm-deecbf3d.mjs → DetailForm-c592b8d8.mjs} +5 -5
  32. package/DropMenuItem-1e49abea.mjs +44 -0
  33. package/{EnhanceJavaModal-45c66cd5.mjs → EnhanceJavaModal-d5a93f2a.mjs} +62 -62
  34. package/{EnhanceJsHistory-fab3102e.mjs → EnhanceJsHistory-8ddb0657.mjs} +35 -35
  35. package/{EnhanceJsModal-175357a1.mjs → EnhanceJsModal-dc4f9ade.mjs} +104 -104
  36. package/{EnhanceSqlModal-7ea1b300.mjs → EnhanceSqlModal-984f045d.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-7d70f362.mjs} +2 -2
  40. package/{FieldExtendJsonModal-32135634.mjs → FieldExtendJsonModal-bf04d70e.mjs} +2 -2
  41. package/{FileSelectModal-1643c8b9.mjs → FileSelectModal-ffc69d4a.mjs} +23 -23
  42. package/{ForeignKeyTable-7f7e28a7.mjs → ForeignKeyTable-92decaea.mjs} +3 -3
  43. package/{IndexTable-cdcc2b48.mjs → IndexTable-2ded2014.mjs} +3 -3
  44. package/JModalTip-a927f85d.mjs +49 -0
  45. package/{JOnlineSearchSelect-22aae934.mjs → JOnlineSearchSelect-04ec87d0.mjs} +1 -1
  46. package/{LeftDepart-d5615ed9.mjs → LeftDepart-52cb6743.mjs} +1 -1
  47. package/LeftRole-b0e0b496.mjs +86 -0
  48. package/{LeftUser-22baa378.mjs → LeftUser-dd4b10e2.mjs} +30 -30
  49. package/{LinkTableConfigModal-9242d750.mjs → LinkTableConfigModal-7eeb3e58.mjs} +43 -31
  50. package/{LinkTableFieldConfigModal-24adc50c.mjs → LinkTableFieldConfigModal-b078fcef.mjs} +1 -1
  51. package/{LinkTableListPiece-f3a8e0d7.mjs → LinkTableListPiece-e016b8e6.mjs} +1 -1
  52. package/{ModalFormDemo-711418db.mjs → ModalFormDemo-aaa719a7.mjs} +1 -1
  53. package/OnlCgformErpList-5c5acdaa.mjs +488 -0
  54. package/OnlCgformErpSubTable-e1b88312.mjs +441 -0
  55. package/{OnlCgformInnerSubTable-6c23781f.mjs → OnlCgformInnerSubTable-6b6fa15a.mjs} +38 -38
  56. package/OnlCgformInnerTableList-b283a525.mjs +474 -0
  57. package/OnlCgformTabList-91e3dd78.mjs +424 -0
  58. package/OnlineAutoList-84475f1b.mjs +513 -0
  59. package/OnlineAutoModal-95f46901.mjs +260 -0
  60. package/OnlineAutoTreeList-20b9ce04.mjs +523 -0
  61. package/OnlineCustomModal-c8b1e780.mjs +232 -0
  62. package/{OnlineDetailModal-d5895734.mjs → OnlineDetailModal-5b412bb9.mjs} +74 -65
  63. package/OnlineForm-58282699.mjs +1012 -0
  64. package/{OnlineFormDetail-022ca117.mjs → OnlineFormDetail-fc087725.mjs} +7 -7
  65. package/{OnlineFormUrlAdd-9715d70a.mjs → OnlineFormUrlAdd-bc9105bb.mjs} +9 -9
  66. package/{OnlineFormUrlDetail-8f864b1a.mjs → OnlineFormUrlDetail-ad912560.mjs} +11 -11
  67. package/{OnlineFormUrlEdit-ac985b36.mjs → OnlineFormUrlEdit-f2fa79ff.mjs} +9 -9
  68. package/OnlineFormUrlSuccess-76813d45.mjs +59 -0
  69. package/OnlineQueryForm-9248341f.mjs +484 -0
  70. package/{OnlineSearchFormItem-6c557343.mjs → OnlineSearchFormItem-1e437bd3.mjs} +82 -82
  71. package/{OnlineSelectCascade-05c40fef.mjs → OnlineSelectCascade-d631ed72.mjs} +1 -1
  72. package/{OnlineSubFormDetail-58e896ce.mjs → OnlineSubFormDetail-8be879b9.mjs} +52 -53
  73. package/{OnlineTabAutoModal-47b18ad6.mjs → OnlineTabAutoModal-c9ca3c24.mjs} +108 -95
  74. package/{OnlineTabDetailModal-82de1465.mjs → OnlineTabDetailModal-fd4c9a72.mjs} +36 -36
  75. package/OnlineTabForm-1940e88b.mjs +814 -0
  76. package/{OnlineTabFormDetail-8d0c40c0.mjs → OnlineTabFormDetail-2aa67564.mjs} +17 -17
  77. package/{PageAttributeTable-25e3b7da.mjs → PageAttributeTable-66e7b485.mjs} +108 -108
  78. package/PhoneLoginForm-86437a9d.mjs +214 -0
  79. package/{ProcessOnlineForm-148632fe.mjs → ProcessOnlineForm-98ede18d.mjs} +32 -32
  80. package/{QueryTable-f7bfca7f.mjs → QueryTable-65d3f54f.mjs} +3 -3
  81. package/SetSwitchOptions-f914bc17.mjs +62 -0
  82. package/ShareAddView-657f0f8b.mjs +86 -0
  83. package/ShareEditView-1b945fd3.mjs +92 -0
  84. package/ShareView-222ed3d8.mjs +80 -0
  85. package/ShareView.vue_vue_type_script_setup_true_lang-44fbeaff.mjs +162 -0
  86. package/SingleView-23b0cb4e.mjs +68 -0
  87. package/SingleView.vue_vue_type_style_index_0_lang-e0f2f6c0.mjs +131 -0
  88. package/SuperQuery-46032e66.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/button.data-fe45d43b.mjs +12 -0
  94. package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
  95. package/{enhance.data-a67572e1.mjs → enhance.data-6601ff44.mjs} +1 -1
  96. package/index-19eaef11.mjs +11 -0
  97. package/index-1a2e8832.mjs +135 -0
  98. package/{index-f30613d1.mjs → index-2fb8e07f.mjs} +59 -59
  99. package/index-5e89258d.mjs +8 -0
  100. package/index-9e1e1e53.mjs +57 -0
  101. package/{index-30e0e923.mjs → index-a039036e.mjs} +272 -262
  102. package/index-c5a79b0b.mjs +219 -0
  103. package/index-cce225be.mjs +110 -0
  104. package/index-f2c2d1cf.mjs +74 -0
  105. package/main.index.js +1 -1
  106. package/package.json +1 -1
  107. package/shareStore-7de6c7a6.mjs +67 -0
  108. package/style.css +1 -1
  109. package/useCgformList-f3cb9156.mjs +378 -0
  110. package/useExtendComponent-bb98e568.mjs +4460 -0
  111. package/useListButton-98908683.mjs +719 -0
  112. package/{useSchemas-a9c75b0f.mjs → useSchemas-b074f3a1.mjs} +33 -0
  113. package/{useTableSync-d7e9f18d.mjs → useTableSync-075826a1.mjs} +1 -1
  114. package/utils-9fce7606.mjs +16 -0
  115. package/AiModal-6de335e3.mjs +0 -84
  116. package/AuthButtonConfig-89763932.mjs +0 -154
  117. package/AuthButtonTree-2d87d0b3.mjs +0 -157
  118. package/AuthFieldTree-e326fc38.mjs +0 -232
  119. package/CgformCopyList-365b3e8f.mjs +0 -251
  120. package/CodeFileListModal-24601898.mjs +0 -159
  121. package/CodeGeneratorModal-f09fe903.mjs +0 -282
  122. package/CustomButtonList-f07bc695.mjs +0 -397
  123. package/JModalTip-b055ab60.mjs +0 -49
  124. package/LeftRole-2ed8a2bf.mjs +0 -86
  125. package/OnlCgformErpList-58acdfa0.mjs +0 -470
  126. package/OnlCgformErpSubTable-9b1e1938.mjs +0 -426
  127. package/OnlCgformInnerTableList-4b5e14ed.mjs +0 -458
  128. package/OnlCgformTabList-019ad753.mjs +0 -408
  129. package/OnlineAutoList-48589d09.mjs +0 -493
  130. package/OnlineAutoModal-c2928847.mjs +0 -239
  131. package/OnlineAutoTreeList-3baa1d00.mjs +0 -503
  132. package/OnlineCustomModal-9e17b6ce.mjs +0 -232
  133. package/OnlineForm-9f1153ba.mjs +0 -985
  134. package/OnlineFormUrlSuccess-3dfc54ab.mjs +0 -59
  135. package/OnlineQueryForm-eedb9a60.mjs +0 -466
  136. package/OnlineTabForm-27655c83.mjs +0 -817
  137. package/SetSwitchOptions-b2af757f.mjs +0 -62
  138. package/SuperQuery-a8592995.mjs +0 -967
  139. package/index-1d1a6e56.mjs +0 -57
  140. package/useCgformList-f41d4dc1.mjs +0 -426
  141. package/useExtendComponent-dcae5c78.mjs +0 -4399
  142. package/useListButton-bfac4ecf.mjs +0 -697
  143. /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,80 @@
1
+ import { _ as o } from "./ShareView.vue_vue_type_script_setup_true_lang-44fbeaff.mjs";
2
+ import "vue";
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-84475f1b.mjs";
10
+ import "/@/components/Table";
11
+ import "/@/hooks/web/useMessage";
12
+ import "./OnlineAutoModal-95f46901.mjs";
13
+ import "/@/components/Modal";
14
+ import "./OnlineForm-58282699.mjs";
15
+ import "/@/components/Form/index";
16
+ import "./useExtendComponent-bb98e568.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-e016b8e6.mjs";
36
+ import "./index-9e1e1e53.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-d631ed72.mjs";
42
+ import "/@/components/Loading";
43
+ import "./JModalTip-a927f85d.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-c8b1e780.mjs";
54
+ import "./OnlineDetailModal-5b412bb9.mjs";
55
+ import "./OnlineFormDetail-fc087725.mjs";
56
+ import "./DetailForm-c592b8d8.mjs";
57
+ import "/@/utils/dict";
58
+ import "/@/utils/dict/index";
59
+ import "/@/components/Markdown";
60
+ import "./OnlineSubFormDetail-8be879b9.mjs";
61
+ import "/@/components/Form/src/jeecg/components/JImportModal.vue";
62
+ import "./useListButton-98908683.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-9248341f.mjs";
70
+ import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
71
+ import "./SuperQuery-46032e66.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-e0f2f6c0.mjs";
77
+ import "/@/hooks/web/usePage";
78
+ export {
79
+ o as default
80
+ };
@@ -0,0 +1,162 @@
1
+ import { defineComponent as L, computed as s, ref as C, resolveComponent as l, openBlock as u, createElementBlock as k, normalizeClass as q, unref as S, createBlock as w, withCtx as o, createVNode as n, createElementVNode as f, toDisplayString as H, createCommentVNode as d, createTextVNode as B, Fragment as J, withDirectives as K, vShow as P } from "vue";
2
+ import { u as Q } from "./shareStore-7de6c7a6.mjs";
3
+ import W from "./OnlineAutoList-84475f1b.mjs";
4
+ import { useDesign as X } from "/@/hooks/web/useDesign";
5
+ import { _ as Y } from "./SingleView.vue_vue_type_style_index_0_lang-e0f2f6c0.mjs";
6
+ import { useGo as Z } from "/@/hooks/web/usePage";
7
+ import { useAppInject as ee } from "/@/hooks/web/useAppInject";
8
+ const te = { key: 0 }, ce = /* @__PURE__ */ L({
9
+ __name: "ShareView",
10
+ props: {
11
+ isUpdate: Boolean,
12
+ isDetail: Boolean
13
+ },
14
+ setup(a) {
15
+ const { prefixCls: U } = X("online-share-view-box"), x = a, { getIsMobile: $ } = ee(), p = Q(), v = s(() => p.getCgformRecord), g = s(() => {
16
+ var e;
17
+ return (e = v.value) == null ? void 0 : e.id;
18
+ }), M = s(() => {
19
+ var e;
20
+ return (e = v.value) == null ? void 0 : e.tableTxt;
21
+ }), r = C(), N = s(() => {
22
+ var e;
23
+ return (e = r.value) == null ? void 0 : e.buttonSwitch;
24
+ }), R = s(() => {
25
+ var e;
26
+ return (e = r.value) == null ? void 0 : e.cgBIBtnMap;
27
+ }), h = s(() => {
28
+ var e;
29
+ return (e = r.value) == null ? void 0 : e.getFormConfirmButtonCfg;
30
+ }), c = C("none"), m = C();
31
+ function A(e) {
32
+ c.value = "ok", m.value = e, x.isUpdate || p.setDataRecord(null);
33
+ }
34
+ function V() {
35
+ c.value = "none", m.value = "";
36
+ }
37
+ const D = Z();
38
+ function b({ key: e }) {
39
+ const t = m.value;
40
+ e === "add" ? _("add", "") : e === "view" ? E(t) : e === "edit" && y(t), m.value = "", c.value = "none";
41
+ }
42
+ function y(e) {
43
+ _("u", e);
44
+ }
45
+ function E(e) {
46
+ _("d", e);
47
+ }
48
+ function _(e, t) {
49
+ var i;
50
+ if (e === "add") {
51
+ D(`/online/cgform/share/${g.value}/${e}`);
52
+ return;
53
+ }
54
+ t || (t = (i = p.getDataRecord) == null ? void 0 : i.id), D(`/online/cgform/share/${g.value}/${e}/${t}`);
55
+ }
56
+ function T() {
57
+ window.close(), setTimeout(() => alert("当前页面无法通过按钮关闭,请手动关闭"), 1e3);
58
+ }
59
+ return (e, t) => {
60
+ const i = l("a-button"), I = l("a-menu-item"), O = l("a-menu"), F = l("a-dropdown"), G = l("a-space-compact"), j = l("a-space"), z = l("a-result");
61
+ return v.value != null ? (u(), k("div", {
62
+ key: 0,
63
+ class: q([S(U)])
64
+ }, [
65
+ c.value !== "none" ? (u(), w(z, {
66
+ key: 0,
67
+ status: "success",
68
+ title: `${a.isUpdate ? "修改" : "新增"}成功`,
69
+ subTitle: "请选择下一步操作"
70
+ }, {
71
+ extra: o(() => [
72
+ n(j, null, {
73
+ default: o(() => [
74
+ n(i, {
75
+ type: "primary",
76
+ onClick: V
77
+ }, {
78
+ default: o(() => [
79
+ f("span", null, "继续" + H(a.isUpdate ? "修改" : "新增"), 1)
80
+ ]),
81
+ _: 1
82
+ }),
83
+ n(G, { block: "" }, {
84
+ default: o(() => [
85
+ n(i, {
86
+ onClick: t[0] || (t[0] = (oe) => b({ key: "view" }))
87
+ }, {
88
+ default: o(() => [
89
+ t[1] || (t[1] = f("span", null, "查看", -1)),
90
+ a.isUpdate ? d("", !0) : (u(), k("span", te, "新")),
91
+ t[2] || (t[2] = f("span", null, "数据", -1))
92
+ ]),
93
+ _: 1
94
+ }),
95
+ n(F, { trigger: ["click", "hover"] }, {
96
+ overlay: o(() => [
97
+ n(O, { onClick: b }, {
98
+ default: o(() => [
99
+ a.isUpdate ? (u(), w(I, { key: "add" }, {
100
+ default: o(() => t[3] || (t[3] = [
101
+ B("添加数据")
102
+ ])),
103
+ _: 1
104
+ })) : d("", !0),
105
+ a.isUpdate ? d("", !0) : (u(), w(I, { key: "edit" }, {
106
+ default: o(() => t[4] || (t[4] = [
107
+ B("编辑新数据")
108
+ ])),
109
+ _: 1
110
+ }))
111
+ ]),
112
+ _: 1
113
+ })
114
+ ]),
115
+ default: o(() => [
116
+ n(i, { preIcon: "ant-design:down" })
117
+ ]),
118
+ _: 1
119
+ })
120
+ ]),
121
+ _: 1
122
+ }),
123
+ n(i, { onClick: T }, {
124
+ default: o(() => t[5] || (t[5] = [
125
+ B("关闭")
126
+ ])),
127
+ _: 1
128
+ })
129
+ ]),
130
+ _: 1
131
+ })
132
+ ]),
133
+ _: 1
134
+ }, 8, ["title"])) : (u(), k(J, { key: 1 }, [
135
+ n(Y, {
136
+ ID: g.value,
137
+ formName: M.value,
138
+ isUpdate: a.isUpdate,
139
+ isDetail: a.isDetail,
140
+ isMobile: S($),
141
+ buttonSwitch: N.value,
142
+ cgBIBtnMap: R.value,
143
+ confirmBtnCfg: h.value,
144
+ onOk: A,
145
+ onGoEdit: y
146
+ }, null, 8, ["ID", "formName", "isUpdate", "isDetail", "isMobile", "buttonSwitch", "cgBIBtnMap", "confirmBtnCfg"]),
147
+ K(f("div", null, [
148
+ n(W, {
149
+ ref_key: "listRef",
150
+ ref: r
151
+ }, null, 512)
152
+ ], 512), [
153
+ [P, !1]
154
+ ])
155
+ ], 64))
156
+ ], 2)) : d("", !0);
157
+ };
158
+ }
159
+ });
160
+ export {
161
+ ce as _
162
+ };
@@ -0,0 +1,68 @@
1
+ import { _ as o } from "./SingleView.vue_vue_type_style_index_0_lang-e0f2f6c0.mjs";
2
+ import "vue";
3
+ import "/@/utils";
4
+ import "./shareStore-7de6c7a6.mjs";
5
+ import "pinia";
6
+ import "/@/store/modules/user";
7
+ import "/@/utils/auth";
8
+ import "/@/enums/cacheEnum";
9
+ import "/@/api/sys/user";
10
+ import "./OnlineAutoModal-95f46901.mjs";
11
+ import "/@/components/Modal";
12
+ import "./OnlineForm-58282699.mjs";
13
+ import "/@/hooks/web/useMessage";
14
+ import "/@/components/Form/index";
15
+ import "./useExtendComponent-bb98e568.mjs";
16
+ import "/@/components/Form/src/componentMap";
17
+ import "/@/utils/propTypes";
18
+ import "@ant-design/icons-vue";
19
+ import "/@/utils/http/axios";
20
+ import "lodash-es";
21
+ import "./constant-fa63bd66.mjs";
22
+ import "/@/utils/common/compUtils";
23
+ import "/@/components/Form/src/jeecg/components/JUpload";
24
+ import "/@/utils/is";
25
+ import "/@/views/system/user/user.api";
26
+ import "/@/utils/desform/customExpression";
27
+ import "/@/store/modules/permission";
28
+ import "/@/utils/dict/JDictSelectUtil";
29
+ import "/@/components/Table";
30
+ import "/@/hooks/system/useListPage";
31
+ import "vue-router";
32
+ import "/@/components/Form/src/utils/Area";
33
+ import "/@/components/Preview/index";
34
+ import "./LinkTableListPiece-e016b8e6.mjs";
35
+ import "./index-9e1e1e53.mjs";
36
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
37
+ import "/@/api/common/api";
38
+ import "/@/hooks/web/useAppInject";
39
+ import "/@/assets/images/placeholderImage.png";
40
+ import "./OnlineSelectCascade-d631ed72.mjs";
41
+ import "/@/components/Loading";
42
+ import "./JModalTip-a927f85d.mjs";
43
+ import "ant-design-vue";
44
+ import "@vueuse/core";
45
+ import "/@/components/jeecg/JVxeTable/types";
46
+ import "/@/hooks/core/useContext";
47
+ import "/@/utils/mitt";
48
+ import "./useCustomHook-acb00837.mjs";
49
+ import "/@/utils/cache";
50
+ import "./OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs";
51
+ import "/@/components/jeecg/comment/CommentPanel.vue";
52
+ import "./useListButton-98908683.mjs";
53
+ import "/@/router";
54
+ import "/@/hooks/core/onMountedOrActivated";
55
+ import "/@/store/modules/multipleTab";
56
+ import "./cgformState-d9f8ec42.mjs";
57
+ import "/@/store";
58
+ import "/@/hooks/system/useMethods";
59
+ import "./OnlineDetailModal-5b412bb9.mjs";
60
+ import "./OnlineFormDetail-fc087725.mjs";
61
+ import "./DetailForm-c592b8d8.mjs";
62
+ import "/@/utils/dict";
63
+ import "/@/utils/dict/index";
64
+ import "/@/components/Markdown";
65
+ import "./OnlineSubFormDetail-8be879b9.mjs";
66
+ export {
67
+ o as default
68
+ };
@@ -0,0 +1,131 @@
1
+ var b = (r, u, t) => new Promise((f, s) => {
2
+ var l = (n) => {
3
+ try {
4
+ i(t.next(n));
5
+ } catch (c) {
6
+ s(c);
7
+ }
8
+ }, g = (n) => {
9
+ try {
10
+ i(t.throw(n));
11
+ } catch (c) {
12
+ s(c);
13
+ }
14
+ }, i = (n) => n.done ? f(n.value) : Promise.resolve(n.value).then(l, g);
15
+ i((t = t.apply(r, u)).next());
16
+ });
17
+ import { defineComponent as P, ref as E, computed as d, nextTick as I, resolveComponent as T, openBlock as m, createElementBlock as C, normalizeClass as j, normalizeStyle as F, unref as N, Fragment as V, createBlock as x, normalizeProps as w, mergeProps as h, withCtx as y, createVNode as U, createTextVNode as $, createCommentVNode as z } from "vue";
18
+ import { getRefPromise as H } from "/@/utils";
19
+ import { u as A } from "./shareStore-7de6c7a6.mjs";
20
+ import L from "./OnlineAutoModal-95f46901.mjs";
21
+ import { u as J, a as W } from "./useListButton-98908683.mjs";
22
+ import { a as q, u as G } from "./useExtendComponent-bb98e568.mjs";
23
+ import K from "./OnlineDetailModal-5b412bb9.mjs";
24
+ const ae = /* @__PURE__ */ P({
25
+ __name: "SingleView",
26
+ props: {
27
+ ID: String,
28
+ formName: String,
29
+ buttonSwitch: Object,
30
+ cgBIBtnMap: Object,
31
+ confirmBtnCfg: Object,
32
+ isUpdate: Boolean,
33
+ isDetail: Boolean,
34
+ isMobile: Boolean
35
+ },
36
+ emits: ["ok", "goEdit"],
37
+ setup(r, { emit: u }) {
38
+ const t = r, f = u, s = A(), l = E(), g = d(() => {
39
+ let o = 20, e = 100;
40
+ return window.innerWidth < 1200 && (o = 0, e = 0), {
41
+ padding: `${o}px ${e}px`
42
+ };
43
+ }), i = d(() => {
44
+ const o = t.isDetail ? "详情" : t.isUpdate ? "修改" : "新增", e = {
45
+ id: t.ID,
46
+ title: o + ` [${t.formName}]`,
47
+ onRegister: M
48
+ };
49
+ return t.isDetail || Object.assign(e, {
50
+ cgBIBtnMap: t.cgBIBtnMap,
51
+ buttonSwitch: t.buttonSwitch,
52
+ confirmBtnCfg: t.confirmBtnCfg,
53
+ onSuccess: O,
54
+ onFormConfig: S
55
+ }), Object.assign(e, {
56
+ cancelBtnCfg: { enabled: !1 },
57
+ width: 1200,
58
+ getContainer: () => l.value,
59
+ mask: !1,
60
+ maskClosable: !1,
61
+ bodyStyle: { height: n.value },
62
+ draggable: !1,
63
+ canFullscreen: !1,
64
+ closeFunc: R
65
+ }), e;
66
+ }), n = d(() => {
67
+ var e, a;
68
+ let o = 140;
69
+ return t.isMobile && (o = 110), ((a = (e = l.value) == null ? void 0 : e.offsetHeight) != null ? a : window.innerHeight) - o + "px";
70
+ }), {
71
+ loading: c,
72
+ handleFormConfig: S,
73
+ onlineTableContext: p,
74
+ onlineExtConfigJson: B
75
+ } = J(), {
76
+ registerModal: _,
77
+ handleAdd: k,
78
+ handleEdit: v
79
+ } = W(p, B);
80
+ function M(o, e) {
81
+ return b(this, null, function* () {
82
+ if (_(o, e), yield I(), t.isUpdate) {
83
+ const a = yield D();
84
+ v(a);
85
+ } else
86
+ k({});
87
+ });
88
+ }
89
+ function D() {
90
+ return b(this, null, function* () {
91
+ return yield H(d(() => s.getDataRecord));
92
+ });
93
+ }
94
+ q(p, B), G(p);
95
+ function O(o) {
96
+ let e;
97
+ t.isUpdate ? e = s.getDataRecord.id : e = o.flow_submit_id, e && f("ok", e);
98
+ }
99
+ function R() {
100
+ return alert("不允许关闭"), !1;
101
+ }
102
+ return (o, e) => {
103
+ const a = T("a-button");
104
+ return m(), C("div", {
105
+ ref_key: "boxRef",
106
+ ref: l,
107
+ class: j(["view-box", { "is-mobile": r.isMobile }]),
108
+ style: F(g.value)
109
+ }, [
110
+ N(c) ? z("", !0) : (m(), C(V, { key: 0 }, [
111
+ r.isDetail ? (m(), x(K, w(h({ key: 0 }, i.value)), {
112
+ footerBtn: y(() => [
113
+ U(a, {
114
+ onClick: e[0] || (e[0] = (Q) => f("goEdit"))
115
+ }, {
116
+ default: y(() => e[1] || (e[1] = [
117
+ $("编辑该数据")
118
+ ])),
119
+ _: 1
120
+ })
121
+ ]),
122
+ _: 1
123
+ }, 16)) : (m(), x(L, w(h({ key: 1 }, i.value)), null, 16))
124
+ ], 64))
125
+ ], 6);
126
+ };
127
+ }
128
+ });
129
+ export {
130
+ ae as _
131
+ };