@jeecg/online 3.8.2-beta → 3.9.0-beta2

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 (112) hide show
  1. package/{AccountLoginForm-79fa7b01.mjs → AccountLoginForm-634a76b1.mjs} +1 -1
  2. package/{AiModal-942b59ec.mjs → AiModal-204a2146.mjs} +1 -1
  3. package/{AppForgetPassword-d762e5b3.mjs → AppForgetPassword-f9a6258a.mjs} +2 -2
  4. package/{AppLogin-41372985.mjs → AppLogin-bf783eab.mjs} +9 -9
  5. package/{AppLoginHeader-3b6fa33d.mjs → AppLoginHeader-55594326.mjs} +1 -1
  6. package/{AppNameEmail-8dfbad62.mjs → AppNameEmail-54026ea8.mjs} +2 -2
  7. package/{AppRegister-433c54db.mjs → AppRegister-043efc45.mjs} +3 -3
  8. package/{AppTenant-e49dfa9b.mjs → AppTenant-c7bb8700.mjs} +2 -2
  9. package/{AppThirdForm-7b75b4fc.mjs → AppThirdForm-5e7e1144.mjs} +1 -1
  10. package/{AuthButtonConfig-a0f59cb5.mjs → AuthButtonConfig-4887be0d.mjs} +1 -1
  11. package/{AuthButtonTree-f0a5cc0b.mjs → AuthButtonTree-7e47b44b.mjs} +1 -1
  12. package/{AuthDataConfig-647c4a27.mjs → AuthDataConfig-3cd10ca2.mjs} +1 -1
  13. package/{AuthDataTree-b80a3ea5.mjs → AuthDataTree-714c259c.mjs} +1 -1
  14. package/{AuthFieldConfig-d36a1b2d.mjs → AuthFieldConfig-bb65f78b.mjs} +1 -1
  15. package/{AuthFieldTree-dba6af79.mjs → AuthFieldTree-3e38b12b.mjs} +1 -1
  16. package/{AuthManagerDrawer-5acbd451.mjs → AuthManagerDrawer-dee39b07.mjs} +4 -4
  17. package/{AuthSetterModal-95b5f616.mjs → AuthSetterModal-f176c221.mjs} +7 -7
  18. package/{CgformAddressModal-5d889870.mjs → CgformAddressModal-a3903b24.mjs} +1 -1
  19. package/{CgformCopyList-cc5f76cd.mjs → CgformCopyList-4be1000f.mjs} +37 -37
  20. package/{CgformModal-cebc698b.mjs → CgformModal-115710a6.mjs} +10 -10
  21. package/{CgreportAigcModal-d1e62385.mjs → CgreportAigcModal-3bef8abe.mjs} +1 -1
  22. package/{CgreportModal-2e4421e6.mjs → CgreportModal-0cc48587.mjs} +143 -139
  23. package/{CheckDictTable-8fb7299c.mjs → CheckDictTable-65157c48.mjs} +1 -1
  24. package/{CodeFileListModal-25fad54f.mjs → CodeFileListModal-305c1a62.mjs} +2 -2
  25. package/CodeFileViewModal-320d7acf.mjs +269 -0
  26. package/CodeGeneratorModal-2ba18bd1.mjs +298 -0
  27. package/{CustomButtonList-26490688.mjs → CustomButtonList-98db8fd2.mjs} +1 -1
  28. package/{DBAttributeTable-dea8ab11.mjs → DBAttributeTable-56701599.mjs} +40 -39
  29. package/{DbToOnlineModal-60317a16.mjs → DbToOnlineModal-a82cdeb5.mjs} +1 -1
  30. package/{DetailForm-b92a5e9d.mjs → DetailForm-7d4f630e.mjs} +163 -152
  31. package/{DropMenuItem-82213be6.mjs → DropMenuItem-b3a9cd6a.mjs} +1 -1
  32. package/{EnhanceJavaModal-6ebefc8b.mjs → EnhanceJavaModal-469e645e.mjs} +1 -1
  33. package/{EnhanceJsHistory-8d9b86ca.mjs → EnhanceJsHistory-bb6ba865.mjs} +1 -1
  34. package/{EnhanceJsModal-9439e6f8.mjs → EnhanceJsModal-b0527cbf.mjs} +2 -2
  35. package/{EnhanceSqlModal-ea4592bf.mjs → EnhanceSqlModal-c6e8bce1.mjs} +1 -1
  36. package/{ExtendConfigModal-f509db46.mjs → ExtendConfigModal-7b00b49a.mjs} +1 -1
  37. package/{FieldExtendJsonModal-73bab5b5.mjs → FieldExtendJsonModal-536e6d5b.mjs} +2 -2
  38. package/{FileSelectModal-49d6dade.mjs → FileSelectModal-eb026170.mjs} +1 -1
  39. package/{ForeignKeyTable-330963c1.mjs → ForeignKeyTable-97a5827f.mjs} +1 -1
  40. package/{IndexTable-c0478faa.mjs → IndexTable-4d350e4e.mjs} +1 -1
  41. package/{JModalTip-b1d19eaa.mjs → JModalTip-c3e6726c.mjs} +1 -1
  42. package/{JOnlineSearchSelect-97662e1b.mjs → JOnlineSearchSelect-ffeac61d.mjs} +1 -1
  43. package/{LeftDepart-4b1003f0.mjs → LeftDepart-a727aab7.mjs} +1 -1
  44. package/{LeftRole-8486ba4f.mjs → LeftRole-b533dcf6.mjs} +1 -1
  45. package/{LeftUser-09894a2f.mjs → LeftUser-aaac52cb.mjs} +1 -1
  46. package/{LinkTableConfigModal-cd0980e9.mjs → LinkTableConfigModal-4053b62d.mjs} +1 -1
  47. package/{LinkTableFieldConfigModal-f4106ab7.mjs → LinkTableFieldConfigModal-93552099.mjs} +1 -1
  48. package/{LinkTableListPiece-4187ad7d.mjs → LinkTableListPiece-0f4ca559.mjs} +1 -1
  49. package/{ModalFormDemo-4ec79769.mjs → ModalFormDemo-b8478356.mjs} +1 -1
  50. package/OnlCgformErpList-b0605798.mjs +527 -0
  51. package/{OnlCgformErpSubTable-421e2051.mjs → OnlCgformErpSubTable-89699bc9.mjs} +42 -41
  52. package/{OnlCgformInnerSubTable-9616ebf2.mjs → OnlCgformInnerSubTable-f2722f77.mjs} +105 -102
  53. package/{OnlCgformInnerTableList-5ed887e4.mjs → OnlCgformInnerTableList-992aa7e9.mjs} +20 -19
  54. package/{OnlCgformTabList-c03a1d0a.mjs → OnlCgformTabList-882a0e0c.mjs} +20 -19
  55. package/{OnlineAutoList-e5a61211.mjs → OnlineAutoList-caedb54a.mjs} +19 -18
  56. package/{OnlineAutoModal-38f2d522.mjs → OnlineAutoModal-a0d1a6b8.mjs} +7 -7
  57. package/{OnlineAutoTreeList-16fa962f.mjs → OnlineAutoTreeList-624106c1.mjs} +19 -18
  58. package/OnlineCustomModal-f4e17bed.mjs +246 -0
  59. package/{OnlineDetailModal-79085ba8.mjs → OnlineDetailModal-35394778.mjs} +44 -43
  60. package/OnlineForm-86b5966d.mjs +1079 -0
  61. package/OnlineFormDetail-4b3ad130.mjs +349 -0
  62. package/{OnlineFormUrlAdd-2e05ba0f.mjs → OnlineFormUrlAdd-708c91fb.mjs} +9 -9
  63. package/{OnlineFormUrlDetail-06b2d9e6.mjs → OnlineFormUrlDetail-5c8efaeb.mjs} +14 -13
  64. package/{OnlineFormUrlEdit-77ac4bba.mjs → OnlineFormUrlEdit-8f08474e.mjs} +9 -9
  65. package/{OnlineFormUrlSuccess-cb3f7be4.mjs → OnlineFormUrlSuccess-0c2431a4.mjs} +1 -1
  66. package/{OnlineQueryForm-528af6ed.mjs → OnlineQueryForm-3017a4ca.mjs} +119 -120
  67. package/{OnlineSearchFormItem-51eefaf4.mjs → OnlineSearchFormItem-1b54585f.mjs} +2 -2
  68. package/{OnlineSelectCascade-b218691c.mjs → OnlineSelectCascade-fab4426d.mjs} +61 -55
  69. package/{OnlineSubFormDetail-a1b7f33f.mjs → OnlineSubFormDetail-bbc48c3e.mjs} +48 -45
  70. package/{OnlineTabAutoModal-1c7c4ed2.mjs → OnlineTabAutoModal-b0f9fce8.mjs} +6 -6
  71. package/{OnlineTabDetailModal-7c45e727.mjs → OnlineTabDetailModal-401a26ad.mjs} +38 -37
  72. package/{OnlineTabForm-9682158f.mjs → OnlineTabForm-5c04cbc5.mjs} +22 -22
  73. package/OnlineTabFormDetail-2a28febf.mjs +328 -0
  74. package/{PageAttributeTable-21314341.mjs → PageAttributeTable-18aabf81.mjs} +5 -5
  75. package/{PhoneLoginForm-c3c16f16.mjs → PhoneLoginForm-4a9d7869.mjs} +18 -18
  76. package/ProcessOnlineForm-0ddce4fb.mjs +218 -0
  77. package/{QueryTable-413d1366.mjs → QueryTable-342fd89a.mjs} +1 -1
  78. package/{SetSwitchOptions-82fd6265.mjs → SetSwitchOptions-e1d5a6b4.mjs} +1 -1
  79. package/{ShareAddView-a2dba2ef.mjs → ShareAddView-a5154da3.mjs} +22 -21
  80. package/{ShareEditView-ecd590dc.mjs → ShareEditView-cf761cf3.mjs} +22 -21
  81. package/{ShareView-84f333e7.mjs → ShareView-3b2f5457.mjs} +20 -19
  82. package/{ShareView.vue_vue_type_script_setup_true_lang-9a3a259e.mjs → ShareView.vue_vue_type_script_setup_true_lang-9ea579c2.mjs} +2 -2
  83. package/{SingleView-d4f29169.mjs → SingleView-3cab20a9.mjs} +15 -14
  84. package/{SingleView.vue_vue_type_style_index_0_lang-40ea7e64.mjs → SingleView.vue_vue_type_style_index_0_lang-24d417dc.mjs} +4 -4
  85. package/{SuperQuery-290f5080.mjs → SuperQuery-270b0968.mjs} +39 -39
  86. package/TaskOpinionList-60cf4080.mjs +13 -0
  87. package/{aiModal-6e338c79.mjs → aiModal-e7362c3f.mjs} +2 -2
  88. package/{index-bc0d747e.mjs → index-6d1a78e2.mjs} +2 -2
  89. package/index-740b2c4a.mjs +57 -0
  90. package/{index-7bab525f.mjs → index-8fd12d0f.mjs} +3 -3
  91. package/{index-7890e2b4.mjs → index-b5fe9bd4.mjs} +1 -1
  92. package/{index-9bebbfe5.mjs → index-b811abb9.mjs} +2 -2
  93. package/{index-c5737cbb.mjs → index-d95bb7c2.mjs} +4 -4
  94. package/{index-254a82b7.mjs → index-e2c3e6f3.mjs} +129 -123
  95. package/main.index.js +1 -1
  96. package/package.json +1 -1
  97. package/style.css +1 -1
  98. package/useCgformList-6d5547ff.mjs +410 -0
  99. package/{useExtendComponent-d1db211d.mjs → useExtendComponent-95ce0719.mjs} +405 -405
  100. package/{useListButton-7f9674a0.mjs → useListButton-73071548.mjs} +21 -21
  101. package/CodeFileViewModal-12299ab5.mjs +0 -253
  102. package/CodeGeneratorModal-791b1695.mjs +0 -281
  103. package/OnlCgformErpList-63089149.mjs +0 -498
  104. package/OnlineCustomModal-7e31297e.mjs +0 -232
  105. package/OnlineForm-0438f4bf.mjs +0 -1012
  106. package/OnlineFormDetail-76d243ed.mjs +0 -348
  107. package/OnlineTabFormDetail-b8650175.mjs +0 -327
  108. package/ProcessOnlineForm-d6113dec.mjs +0 -188
  109. package/README.md +0 -26
  110. package/index-30c0a14f.mjs +0 -57
  111. package/useCgformList-52631580.mjs +0 -395
  112. /package/{OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs} +0 -0
@@ -1,46 +1,46 @@
1
1
  var ie = Object.defineProperty;
2
2
  var A = Object.getOwnPropertySymbols;
3
- var le = Object.prototype.hasOwnProperty, ne = Object.prototype.propertyIsEnumerable;
4
- var W = (a, s, d) => s in a ? ie(a, s, { enumerable: !0, configurable: !0, writable: !0, value: d }) : a[s] = d, R = (a, s) => {
3
+ var le = Object.prototype.hasOwnProperty, ae = Object.prototype.propertyIsEnumerable;
4
+ var W = (n, s, d) => s in n ? ie(n, s, { enumerable: !0, configurable: !0, writable: !0, value: d }) : n[s] = d, R = (n, s) => {
5
5
  for (var d in s || (s = {}))
6
- le.call(s, d) && W(a, d, s[d]);
6
+ le.call(s, d) && W(n, d, s[d]);
7
7
  if (A)
8
8
  for (var d of A(s))
9
- ne.call(s, d) && W(a, d, s[d]);
10
- return a;
9
+ ae.call(s, d) && W(n, d, s[d]);
10
+ return n;
11
11
  };
12
- var _ = (a, s, d) => new Promise((k, b) => {
13
- var L = (m) => {
12
+ var g = (n, s, d) => new Promise((k, b) => {
13
+ var L = (_) => {
14
14
  try {
15
- w(d.next(m));
15
+ y(d.next(_));
16
16
  } catch (D) {
17
17
  b(D);
18
18
  }
19
- }, x = (m) => {
19
+ }, x = (_) => {
20
20
  try {
21
- w(d.throw(m));
21
+ y(d.throw(_));
22
22
  } catch (D) {
23
23
  b(D);
24
24
  }
25
- }, w = (m) => m.done ? k(m.value) : Promise.resolve(m.value).then(L, x);
26
- w((d = d.apply(a, s)).next());
25
+ }, y = (_) => _.done ? k(_.value) : Promise.resolve(_.value).then(L, x);
26
+ y((d = d.apply(n, s)).next());
27
27
  });
28
- import { ref as ae, computed as re, watch as oe, defineComponent as se, resolveComponent as T, openBlock as f, createElementBlock as u, normalizeClass as j, createVNode as $, withCtx as q, Fragment as S, renderList as V, createBlock as K, createElementVNode as p, toDisplayString as B } from "vue";
28
+ import { ref as ne, computed as re, watch as oe, defineComponent as se, resolveComponent as T, openBlock as f, createElementBlock as u, normalizeClass as V, createVNode as $, withCtx as q, Fragment as S, renderList as B, createBlock as K, createElementVNode as m, toDisplayString as H } from "vue";
29
29
  import { propTypes as J } from "/@/utils/propTypes";
30
30
  import { getDictItemsByCode as de } from "/@/utils/dict";
31
31
  import { filterMultiDictText as O, filterDictText as ce } from "/@/utils/dict/JDictSelectUtil";
32
- import { initDictOptions as H } from "/@/utils/dict/index";
32
+ import { initDictOptions as N } from "/@/utils/dict/index";
33
33
  import { loadDictItem as fe, queryDepartTreeSync as ue, getUserList as pe } from "/@/api/common/api";
34
34
  import { defHttp as me } from "/@/utils/http/axios";
35
35
  import { getAreaTextByCode as _e } from "/@/components/Form/src/utils/Area";
36
36
  import { getFileAccessHttpUrl as he } from "/@/utils/common/compUtils";
37
37
  import { createImgPreview as ge } from "/@/components/Preview/index";
38
- import { useMessage as ve } from "/@/hooks/web/useMessage";
39
- import { DownloadOutlined as we, EyeOutlined as ye, PaperClipOutlined as ke } from "@ant-design/icons-vue";
40
- import { L as De } from "./useExtendComponent-d1db211d.mjs";
38
+ import { useMessage as we } from "/@/hooks/web/useMessage";
39
+ import { DownloadOutlined as ve, EyeOutlined as ye, PaperClipOutlined as ke } from "@ant-design/icons-vue";
40
+ import { L as De } from "./useExtendComponent-95ce0719.mjs";
41
41
  import { MarkdownViewer as Fe } from "/@/components/Markdown";
42
42
  import { getWeekMonthQuarterYear as Ce } from "/@/utils";
43
- import { _ as be } from "./index-30c0a14f.mjs";
43
+ import { _ as be } from "./index-740b2c4a.mjs";
44
44
  import "/@/components/Form/src/componentMap";
45
45
  import "/@/components/Modal";
46
46
  import "/@/components/Form/index";
@@ -55,25 +55,25 @@ import "/@/store/modules/permission";
55
55
  import "/@/components/Table";
56
56
  import "/@/hooks/system/useListPage";
57
57
  import "vue-router";
58
- import "./LinkTableListPiece-4187ad7d.mjs";
58
+ import "./LinkTableListPiece-0f4ca559.mjs";
59
59
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
60
60
  import "/@/utils/auth";
61
61
  import "/@/hooks/web/useAppInject";
62
62
  import "/@/assets/images/placeholderImage.png";
63
- import "./OnlineSelectCascade-b218691c.mjs";
63
+ import "./OnlineSelectCascade-fab4426d.mjs";
64
64
  import "/@/components/Loading";
65
- import "./JModalTip-b1d19eaa.mjs";
65
+ import "./JModalTip-c3e6726c.mjs";
66
66
  import "ant-design-vue";
67
67
  import "@vueuse/core";
68
- function xe(a) {
69
- const s = {}, d = [], k = ae({}), { createMessage: b } = ve(), L = re(() => a.containerClass ? `jeecg-detail-form ${a.containerClass}` : "jeecg-detail-form");
68
+ function xe(n) {
69
+ const s = {}, d = [], k = ne({}), { createMessage: b } = we(), L = re(() => n.containerClass ? `jeecg-detail-form ${n.containerClass}` : "jeecg-detail-form");
70
70
  oe(
71
- () => a.data,
72
- (e) => _(this, null, function* () {
71
+ () => n.data,
72
+ (e) => g(this, null, function* () {
73
73
  if (e) {
74
- let n = a.schemas, l = {};
75
- if (n && n.length > 0)
76
- for (let i of n) {
74
+ let a = n.schemas, l = {};
75
+ if (a && a.length > 0)
76
+ for (let i of a) {
77
77
  let t = i.field;
78
78
  try {
79
79
  l[t] = yield x(i);
@@ -86,37 +86,37 @@ function xe(a) {
86
86
  { deep: !0, immediate: !0 }
87
87
  );
88
88
  function x(e) {
89
- return _(this, null, function* () {
90
- let n = a.data;
91
- if (n) {
92
- let l = n[e.field];
89
+ return g(this, null, function* () {
90
+ let a = n.data;
91
+ if (a) {
92
+ let l = a[e.field];
93
93
  if (!l && l !== "0" && l !== 0)
94
94
  return "";
95
95
  let i = l, t = e.view;
96
96
  if (t == "list" || t == "radio" || t == "checkbox" || t == "list_multi")
97
- i = yield w(e, n);
97
+ i = yield y(e, a);
98
98
  else if (t == "sel_search")
99
- i = yield D(e, n);
99
+ i = yield D(e, a);
100
100
  else if (t == "cat_tree")
101
- i = yield E(e, n);
101
+ i = yield E(e, a);
102
102
  else if (t == "link_table")
103
- i = yield ee(e, n);
103
+ i = yield ee(e, a);
104
104
  else if (t == "sel_depart")
105
- i = yield c(e, n);
105
+ i = yield c(e, a);
106
106
  else if (t == "sel_user")
107
- i = yield F(e, n);
107
+ i = yield F(e, a);
108
108
  else if (t == "pca")
109
109
  i = _e(l);
110
110
  else if (t == "link_down")
111
- i = yield v(e, n);
111
+ i = yield v(e, a);
112
112
  else if (t == "sel_tree")
113
- i = yield h(e, n);
113
+ i = yield w(e, a);
114
114
  else if (t == "switch")
115
- i = yield I(e, n);
115
+ i = yield I(e, a);
116
116
  else if (t == "image" || t == "file")
117
- i = Y(e, n);
117
+ i = Y(e, a);
118
118
  else if (t == "popup_dict") {
119
- const o = n[`${e.field}_dictText`];
119
+ const o = a[`${e.field}_dictText`];
120
120
  o !== void 0 && (i = o);
121
121
  } else if (d.indexOf(e.field) >= 0) {
122
122
  let o = s[e.field];
@@ -127,9 +127,9 @@ function xe(a) {
127
127
  return "";
128
128
  });
129
129
  }
130
- function w(e, n) {
131
- return _(this, null, function* () {
132
- let l = m(e), i = n[e.field];
130
+ function y(e, a) {
131
+ return g(this, null, function* () {
132
+ let l = _(e), i = a[e.field];
133
133
  if (!l)
134
134
  return i;
135
135
  let t = de(l);
@@ -137,86 +137,93 @@ function xe(a) {
137
137
  return O(t, i);
138
138
  {
139
139
  let o = [];
140
- if (s[l] ? o = s[l] : o = (yield H(l)) || [], o && o.length > 0)
140
+ if (s[l] ? o = s[l] : o = (yield N(l)) || [], o && o.length > 0)
141
141
  return s[l] = o, O(o, i);
142
142
  }
143
143
  return "";
144
144
  });
145
145
  }
146
- function m(e) {
147
- let n = "", { dictCode: l, dictTable: i, dictText: t } = e;
148
- return i ? n = encodeURI(`${i},${t},${l}`) : n = l, n;
146
+ function _(e) {
147
+ let a = "", { dictCode: l, dictTable: i, dictText: t } = e;
148
+ return i ? a = encodeURI(`${i},${t},${l}`) : a = l, a;
149
149
  }
150
- function D(e, n) {
151
- return _(this, null, function* () {
152
- let l = m(e), i = n[e.field];
150
+ function D(e, a) {
151
+ return g(this, null, function* () {
152
+ let l = _(e), i = a[e.field];
153
153
  if (!i)
154
154
  return "";
155
155
  let t = [];
156
- return s[l + i] ? t = s[l + i] : t = (yield me.get({ url: `/sys/dict/loadDictItem/${l}`, params: { key: i } })) || [], t && t.length > 0 ? (s[l + i] = t, t.join(",")) : "";
156
+ if (l.indexOf(",") === -1) {
157
+ const o = yield N(l);
158
+ o && o.length > 0 && o.forEach((p) => {
159
+ p.value === i && t.push(p.text || p.label);
160
+ });
161
+ } else
162
+ s[l + i] ? t = s[l + i] : t = (yield me.get({ url: `/sys/dict/loadDictItem/${l}`, params: { key: i } })) || [];
163
+ return t && t.length > 0 ? (s[l + i] = t, t.join(",")) : "";
157
164
  });
158
165
  }
159
- function E(e, n) {
160
- return _(this, null, function* () {
161
- let l = n[e.field];
166
+ function E(e, a) {
167
+ return g(this, null, function* () {
168
+ let l = a[e.field];
162
169
  if (!l)
163
170
  return "";
164
171
  let i = (yield fe({ ids: l })) || [];
165
172
  return i && i.length > 0 ? i.join(",") : "";
166
173
  });
167
174
  }
168
- function c(e, n) {
169
- return _(this, null, function* () {
170
- let l = n[e.field];
175
+ function c(e, a) {
176
+ return g(this, null, function* () {
177
+ let l = a[e.field];
171
178
  if (!l)
172
179
  return "";
173
- let i = r(e), t = i.store || "id", o = i.text || "departName", g = (yield ue({ ids: l, primaryKey: t })) || [];
174
- if (g && g.length > 0) {
175
- let y = [];
176
- for (let C of g)
177
- C[o] ? y.push(C[o]) : y.push(C.title);
178
- return y.join(",");
180
+ let i = r(e), t = i.store || "id", o = i.text || "departName", p = (yield ue({ ids: l, primaryKey: t })) || [];
181
+ if (p && p.length > 0) {
182
+ let h = [];
183
+ for (let C of p)
184
+ C[o] ? h.push(C[o]) : h.push(C.title);
185
+ return h.join(",");
179
186
  }
180
187
  return "";
181
188
  });
182
189
  }
183
- function F(e, n) {
184
- return _(this, null, function* () {
185
- let l = n[e.field];
190
+ function F(e, a) {
191
+ return g(this, null, function* () {
192
+ let l = a[e.field];
186
193
  if (!l)
187
194
  return "";
188
195
  let i = r(e), o = {
189
196
  [i.store || "username"]: l
190
- }, y = ((yield pe(o)) || {}).records || [];
191
- if (y && y.length > 0) {
197
+ }, h = ((yield pe(o)) || {}).records || [];
198
+ if (h && h.length > 0) {
192
199
  let C = [], M = i.text || "realname";
193
- for (let N of y)
194
- C.push(N[M]);
200
+ for (let j of h)
201
+ C.push(j[M]);
195
202
  return C.join(",");
196
203
  }
197
204
  return "";
198
205
  });
199
206
  }
200
207
  function r(e) {
201
- let n = {}, { fieldExtendJson: l } = e;
208
+ let a = {}, { fieldExtendJson: l } = e;
202
209
  if (l && typeof l == "string")
203
210
  try {
204
211
  let i = JSON.parse(l);
205
- n = R({}, i);
212
+ a = R({}, i);
206
213
  } catch (i) {
207
214
  }
208
- return n;
215
+ return a;
209
216
  }
210
- function v(e, n) {
211
- return _(this, null, function* () {
217
+ function v(e, a) {
218
+ return g(this, null, function* () {
212
219
  let { dictTable: l, field: i } = e, t = [];
213
220
  if (s[i])
214
221
  t = s[i];
215
222
  else if (l) {
216
223
  let o = JSON.parse(l);
217
224
  if (o) {
218
- let { table: g, txt: y, key: C, linkField: M } = o, N = `${g},${y},${C}`;
219
- if (t = [...(yield H(N)) || []], t && t.length > 0 && (s[i] = t, M)) {
225
+ let { table: p, txt: h, key: C, linkField: M } = o, j = `${p},${h},${C}`;
226
+ if (t = [...(yield N(j)) || []], t && t.length > 0 && (s[i] = t, M)) {
220
227
  let te = M.split(",");
221
228
  for (let U of te)
222
229
  s[U] = t, d.push(U);
@@ -224,46 +231,47 @@ function xe(a) {
224
231
  }
225
232
  }
226
233
  if (t && t.length > 0) {
227
- let o = n[i];
234
+ let o = a[i];
228
235
  return O(t, o);
229
236
  }
230
237
  return "";
231
238
  });
232
239
  }
233
- function h(e, n) {
234
- return _(this, null, function* () {
240
+ function w(e, a) {
241
+ return g(this, null, function* () {
235
242
  let { dict: l, field: i } = e, t = [];
236
- if (s[i] ? t = s[i] : l && (t = yield H(l)), t && t.length > 0) {
237
- let o = n[i];
243
+ if (s[i] ? t = s[i] : l && (t = yield N(l)), t && t.length > 0) {
244
+ let o = a[i];
238
245
  return O(t, o);
239
246
  }
240
247
  return "";
241
248
  });
242
249
  }
243
- function I(e, n) {
244
- return _(this, null, function* () {
250
+ function I(e, a) {
251
+ return g(this, null, function* () {
252
+ var h;
245
253
  let { fieldExtendJson: l, field: i } = e, t = ["Y", "N"];
246
- l && (t = JSON.parse(l));
254
+ l && (t = (h = JSON.parse(l)) == null ? void 0 : h.switchOptions);
247
255
  let o = [
248
256
  { value: t[0], text: "是" },
249
257
  { value: t[1], text: "否" },
250
258
  { value: t[0] + "", text: "是" },
251
259
  { value: t[1] + "", text: "否" }
252
- ], g = n[i];
253
- return ce(o, g);
260
+ ], p = a[i];
261
+ return ce(o, p);
254
262
  });
255
263
  }
256
264
  function P(e) {
257
- return e.span ? e.span : a.span;
265
+ return e.span ? e.span : n.span;
258
266
  }
259
- function Y(e, n) {
260
- let l = n[e.field];
267
+ function Y(e, a) {
268
+ let l = a[e.field];
261
269
  if (!l)
262
270
  return [];
263
271
  let i = l.split(","), t = [];
264
272
  for (let o of i) {
265
- let g = he(o) || "";
266
- g && t.push(g);
273
+ let p = he(o) || "";
274
+ p && t.push(p);
267
275
  }
268
276
  return t;
269
277
  }
@@ -271,24 +279,24 @@ function xe(a) {
271
279
  e && window.open(e);
272
280
  }
273
281
  function Q(e) {
274
- let n = k.value[e];
275
- if (!n || n.length == 0) {
282
+ let a = k.value[e];
283
+ if (!a || a.length == 0) {
276
284
  b.warning("无图片!");
277
285
  return;
278
286
  }
279
- ge({ imageList: n });
287
+ ge({ imageList: a });
280
288
  }
281
289
  function G(e) {
282
290
  return e ? e.substring(e.lastIndexOf("/") + 1) : "";
283
291
  }
284
292
  const X = ["file", "image", "markdown", "umeditor"];
285
293
  function Z(e) {
286
- return X.indexOf(e.view) >= 0 ? a.span == 12 ? "span12" : a.span == 8 ? "span8" : a.span == 6 ? "span6" : "span24" : "";
294
+ return X.indexOf(e.view) >= 0 ? n.span == 12 ? "span12" : n.span == 8 ? "span8" : n.span == 6 ? "span6" : "span24" : "";
287
295
  }
288
- function ee(e, n) {
289
- return _(this, null, function* () {
290
- let l = n[e.field];
291
- return r(e).showType == "select" ? l ? n[e.field + "_dictText"] : "" : l ? n[e.field] : "";
296
+ function ee(e, a) {
297
+ return g(this, null, function* () {
298
+ let l = a[e.field];
299
+ return r(e).showType == "select" ? l ? a[e.field + "_dictText"] : "" : l ? a[e.field] : "";
292
300
  });
293
301
  }
294
302
  return {
@@ -304,7 +312,7 @@ function xe(a) {
304
312
  const Te = se({
305
313
  name: "DetailForm",
306
314
  components: {
307
- DownloadOutlined: we,
315
+ DownloadOutlined: ve,
308
316
  EyeOutlined: ye,
309
317
  PaperClipOutlined: ke,
310
318
  LinkTableCard: De,
@@ -318,8 +326,8 @@ const Te = se({
318
326
  data: J.object.def({}),
319
327
  containerClass: J.string.def("")
320
328
  },
321
- setup(a) {
322
- const { formContainerClass: s, detailFormData: d, getItemSpan: k, handleDownloadFile: b, handleViewImage: L, getFilename: x, getLabelWidthClass: w } = xe(a);
329
+ setup(n) {
330
+ const { formContainerClass: s, detailFormData: d, getItemSpan: k, handleDownloadFile: b, handleViewImage: L, getFilename: x, getLabelWidthClass: y } = xe(n);
323
331
  return {
324
332
  formContainerClass: s,
325
333
  detailFormData: d,
@@ -327,7 +335,7 @@ const Te = se({
327
335
  handleDownloadFile: b,
328
336
  handleViewImage: L,
329
337
  getFilename: x,
330
- getLabelWidthClass: w,
338
+ getLabelWidthClass: y,
331
339
  filterLable: (c) => {
332
340
  if (c.fieldExtendJson) {
333
341
  const F = JSON.parse(c.fieldExtendJson);
@@ -363,80 +371,83 @@ const Le = {
363
371
  }, Se = { key: 0 }, Je = {
364
372
  key: 4,
365
373
  class: "item-content"
366
- }, Ne = { class: "ant-upload-list ant-upload-list-picture-card" }, je = {
374
+ }, Ne = {
375
+ class: "ant-upload-list ant-upload-list-picture-card",
376
+ style: { display: "flex" }
377
+ }, je = {
367
378
  class: "ant-upload-list-picture-card-container",
368
379
  style: { "margin-top": "8px" }
369
380
  }, Ve = {
370
- class: "ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-picture-card",
381
+ class: "ant-upload-list-width ant-upload-list-picture-border ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-picture-card",
371
382
  "data-has-actions": "true"
372
- }, Be = { class: "ant-upload-list-item-info" }, He = ["src", "onClick"], Ue = { class: "ant-upload-list-item-actions" }, Ae = {
383
+ }, Be = { class: "ant-upload-list-item-thumbnail ant-upload-list-item-info" }, He = ["src", "onClick"], Ue = { class: "ant-upload-list-item-actions" }, Ae = {
373
384
  key: 5,
374
385
  class: "item-content"
375
386
  }, We = { class: "ant-upload-list ant-upload-list-text" }, Re = { class: "" }, qe = { class: "ant-upload-list-item ant-upload-list-item-done ant-upload-list-item-list-type-text" }, Ke = { class: "ant-upload-list-item-info" }, Pe = { class: "ant-upload-span" }, Ye = { class: "ant-upload-text-icon" }, ze = ["href"], Qe = { class: "ant-upload-list-item-card-actions" }, Ge = {
376
387
  key: 6,
377
388
  class: "item-content"
378
389
  };
379
- function Xe(a, s, d, k, b, L) {
380
- const x = T("MarkdownViewer"), w = T("link-table-card"), m = T("download-outlined"), D = T("eye-outlined"), E = T("paper-clip-outlined"), c = T("a-col"), F = T("a-row");
390
+ function Xe(n, s, d, k, b, L) {
391
+ const x = T("MarkdownViewer"), y = T("link-table-card"), _ = T("download-outlined"), D = T("eye-outlined"), E = T("paper-clip-outlined"), c = T("a-col"), F = T("a-row");
381
392
  return f(), u("div", {
382
- class: j(a.formContainerClass)
393
+ class: V(n.formContainerClass)
383
394
  }, [
384
395
  $(F, null, {
385
396
  default: q(() => [
386
- (f(!0), u(S, null, V(a.schemas, (r, v) => (f(), K(c, {
397
+ (f(!0), u(S, null, B(n.schemas, (r, v) => (f(), K(c, {
387
398
  key: v,
388
- span: a.getItemSpan(r)
399
+ span: n.getItemSpan(r)
389
400
  }, {
390
401
  default: q(() => [
391
402
  r.hidden ? (f(), u(S, { key: 0 }, [], 64)) : (f(), u("div", Le, [
392
- p("div", {
393
- class: j(["item-title", a.getLabelWidthClass(r)]),
403
+ m("div", {
404
+ class: V(["item-title", n.getLabelWidthClass(r)]),
394
405
  title: r.label
395
- }, B(a.filterLable(r)) + ": ", 11, $e),
406
+ }, H(n.filterLable(r)) + ": ", 11, $e),
396
407
  r.view === "markdown" ? (f(), u("div", Ie, [
397
408
  $(x, {
398
- value: a.detailFormData[r.field],
399
- "onUpdate:value": (h) => a.detailFormData[r.field] = h,
409
+ value: n.detailFormData[r.field],
410
+ "onUpdate:value": (w) => n.detailFormData[r.field] = w,
400
411
  placeholder: ""
401
412
  }, null, 8, ["value", "onUpdate:value"])
402
413
  ])) : r.isHtml ? (f(), u("div", {
403
414
  key: 1,
404
- class: j(["item-content", r.view]),
405
- innerHTML: a.detailFormData[r.field]
415
+ class: V(["item-content", r.view]),
416
+ innerHTML: n.detailFormData[r.field]
406
417
  }, null, 10, Oe)) : r.view == "textarea" ? (f(), u("div", {
407
418
  key: 2,
408
419
  class: "item-content",
409
- innerHTML: a.textareaLineBreak(a.detailFormData[r.field])
420
+ innerHTML: n.textareaLineBreak(n.detailFormData[r.field])
410
421
  }, null, 8, Ee)) : r.isCard ? (f(), u("div", Me, [
411
- a.detailFormData[r.field] ? (f(), K(w, {
422
+ n.detailFormData[r.field] ? (f(), K(y, {
412
423
  key: 1,
413
424
  disabled: "",
414
425
  detail: "",
415
- value: a.detailFormData[r.field],
426
+ value: n.detailFormData[r.field],
416
427
  valueField: r.dictCode,
417
428
  textField: r.dictText,
418
429
  tableName: r.dictTable,
419
430
  multi: r.multi
420
431
  }, null, 8, ["value", "valueField", "textField", "tableName", "multi"])) : (f(), u("span", Se))
421
432
  ])) : r.isImage ? (f(), u("div", Je, [
422
- p("div", Ne, [
423
- (f(!0), u(S, null, V(a.detailFormData[r.field], (h) => (f(), u("div", je, [
424
- p("span", null, [
425
- p("div", Ve, [
426
- p("div", Be, [
427
- p("img", {
428
- src: h,
433
+ m("div", Ne, [
434
+ (f(!0), u(S, null, B(n.detailFormData[r.field], (w) => (f(), u("div", je, [
435
+ m("span", null, [
436
+ m("div", Ve, [
437
+ m("div", Be, [
438
+ m("img", {
439
+ src: w,
429
440
  alt: "图片不存在",
430
441
  class: "ant-upload-list-item-image",
431
- onClick: (I) => a.handleViewImage(r.field)
442
+ onClick: (I) => n.handleViewImage(r.field)
432
443
  }, null, 8, He)
433
444
  ]),
434
- p("span", Ue, [
435
- $(m, {
436
- onClick: (I) => a.handleDownloadFile(h)
445
+ m("span", Ue, [
446
+ $(_, {
447
+ onClick: (I) => n.handleDownloadFile(w)
437
448
  }, null, 8, ["onClick"]),
438
449
  $(D, {
439
- onClick: (I) => a.handleViewImage(r.field)
450
+ onClick: (I) => n.handleViewImage(r.field)
440
451
  }, null, 8, ["onClick"])
441
452
  ])
442
453
  ])
@@ -444,24 +455,24 @@ function Xe(a, s, d, k, b, L) {
444
455
  ]))), 256))
445
456
  ])
446
457
  ])) : r.isFile ? (f(), u("div", Ae, [
447
- p("div", We, [
448
- (f(!0), u(S, null, V(a.detailFormData[r.field], (h) => (f(), u("div", Re, [
449
- p("span", null, [
450
- p("div", qe, [
451
- p("div", Ke, [
452
- p("span", Pe, [
453
- p("div", Ye, [
458
+ m("div", We, [
459
+ (f(!0), u(S, null, B(n.detailFormData[r.field], (w) => (f(), u("div", Re, [
460
+ m("span", null, [
461
+ m("div", qe, [
462
+ m("div", Ke, [
463
+ m("span", Pe, [
464
+ m("div", Ye, [
454
465
  $(E)
455
466
  ]),
456
- p("a", {
457
- href: h,
467
+ m("a", {
468
+ href: w,
458
469
  target: "_blank",
459
470
  rel: "noopener noreferrer",
460
471
  class: "ant-upload-list-item-name"
461
- }, B(a.getFilename(h)), 9, ze),
462
- p("span", Qe, [
463
- $(m, {
464
- onClick: (I) => a.handleDownloadFile(h)
472
+ }, H(n.getFilename(w)), 9, ze),
473
+ m("span", Qe, [
474
+ $(_, {
475
+ onClick: (I) => n.handleDownloadFile(w)
465
476
  }, null, 8, ["onClick"])
466
477
  ])
467
478
  ])
@@ -470,7 +481,7 @@ function Xe(a, s, d, k, b, L) {
470
481
  ])
471
482
  ]))), 256))
472
483
  ])
473
- ])) : (f(), u("div", Ge, B(a.filter(a.detailFormData[r.field], r.view, r)), 1))
484
+ ])) : (f(), u("div", Ge, H(n.filter(n.detailFormData[r.field], r.view, r)), 1))
474
485
  ]))
475
486
  ]),
476
487
  _: 2
@@ -480,7 +491,7 @@ function Xe(a, s, d, k, b, L) {
480
491
  })
481
492
  ], 2);
482
493
  }
483
- const Ut = /* @__PURE__ */ be(Te, [["render", Xe], ["__scopeId", "data-v-61e06388"]]);
494
+ const Ut = /* @__PURE__ */ be(Te, [["render", Xe], ["__scopeId", "data-v-afa27d62"]]);
484
495
  export {
485
496
  Ut as default
486
497
  };
@@ -2,7 +2,7 @@ import { Menu as a } from "ant-design-vue";
2
2
  import { defineComponent as u, getCurrentInstance as l, computed as f, resolveComponent as m, openBlock as _, createBlock as d, withCtx as I, createElementVNode as p, createVNode as y, toDisplayString as K } from "vue";
3
3
  import M from "/@/components/Icon/index";
4
4
  import { propTypes as r } from "/@/utils/propTypes";
5
- import { _ as g } from "./index-30c0a14f.mjs";
5
+ import { _ as g } from "./index-740b2c4a.mjs";
6
6
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
7
7
  import "/@/hooks/web/useMessage";
8
8
  import "vue-router";
@@ -33,7 +33,7 @@ import { useListPage as de } from "/@/hooks/system/useListPage";
33
33
  import { u as pe } from "./useOnlineTest-e4bd8be3.mjs";
34
34
  import { u as fe, a as ge } from "./enhance.data-6601ff44.mjs";
35
35
  import { a as be, b as Ce, d as L } from "./enhance.api-138e6826.mjs";
36
- import { _ as ve } from "./index-30c0a14f.mjs";
36
+ import { _ as ve } from "./index-740b2c4a.mjs";
37
37
  import "./cgform.data-0ca62d09.mjs";
38
38
  import "/@/utils/dict";
39
39
  import "/@/utils/dict/JDictSelectUtil";
@@ -32,7 +32,7 @@ import { JCodeEditor as z } from "/@/components/Form";
32
32
  import "/@/store";
33
33
  import { defineStore as P } from "pinia";
34
34
  import { createLocalStorage as q } from "/@/utils/cache";
35
- import { _ as G } from "./index-30c0a14f.mjs";
35
+ import { _ as G } from "./index-740b2c4a.mjs";
36
36
  const B = q(), H = "enhance_", K = P({
37
37
  id: "online-cgform-enhance",
38
38
  state: () => ({
@@ -18,12 +18,12 @@ import { defineComponent as q, ref as g, reactive as M, resolveComponent as m, o
18
18
  import { BasicModal as W, useModalInner as Q, useModal as z } from "/@/components/Modal";
19
19
  import { JCodeEditor as L } from "/@/components/Form";
20
20
  import { u as X } from "./useOnlineTest-e4bd8be3.mjs";
21
- import { E as Y, u as Z } from "./EnhanceJsHistory-8d9b86ca.mjs";
21
+ import { E as Y, u as Z } from "./EnhanceJsHistory-bb6ba865.mjs";
22
22
  import { g as ee, s as te } from "./enhance.api-138e6826.mjs";
23
23
  import { useMessage as se } from "/@/hooks/web/useMessage";
24
24
  import { QuestionCircleOutlined as oe } from "@ant-design/icons-vue";
25
25
  import { Tooltip as le } from "ant-design-vue";
26
- import { _ as ae } from "./index-30c0a14f.mjs";
26
+ import { _ as ae } from "./index-740b2c4a.mjs";
27
27
  import "/@/utils/dateUtil";
28
28
  import "/@/store";
29
29
  import "pinia";
@@ -33,7 +33,7 @@ import { useListPage as pe } from "/@/hooks/system/useListPage";
33
33
  import { u as fe } from "./useOnlineTest-e4bd8be3.mjs";
34
34
  import { b as ge, c as _e } from "./enhance.data-6601ff44.mjs";
35
35
  import { c as be, e as Ce, f as P } from "./enhance.api-138e6826.mjs";
36
- import { _ as we } from "./index-30c0a14f.mjs";
36
+ import { _ as we } from "./index-740b2c4a.mjs";
37
37
  import "./cgform.data-0ca62d09.mjs";
38
38
  import "/@/utils/dict";
39
39
  import "/@/utils/dict/JDictSelectUtil";
@@ -19,7 +19,7 @@ import { BasicModal as R, useModalInner as U } from "/@/components/Modal";
19
19
  import { BasicForm as V, useForm as v } from "/@/components/Form";
20
20
  import { useMessage as O } from "/@/hooks/web/useMessage";
21
21
  import { a as Q } from "./useSchemas-b074f3a1.mjs";
22
- import { _ as E } from "./index-30c0a14f.mjs";
22
+ import { _ as E } from "./index-740b2c4a.mjs";
23
23
  import "ant-design-vue";
24
24
  import "@ant-design/icons-vue";
25
25
  import "/@/utils/common/compUtils";