@jeecg/online 3.6.2-beta → 3.7.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.
- package/AiModal-6de335e3.mjs +84 -0
- package/AuthButtonConfig-89763932.mjs +154 -0
- package/{AuthButtonTree-3aa0ed49.mjs → AuthButtonTree-2d87d0b3.mjs} +6 -5
- package/AuthDataConfig-5c3a8e6b.mjs +238 -0
- package/{AuthDataTree-94e026e3.mjs → AuthDataTree-dd7a1240.mjs} +6 -6
- package/AuthFieldConfig-9f6fa06c.mjs +245 -0
- package/{AuthFieldTree-69864163.mjs → AuthFieldTree-e326fc38.mjs} +2 -2
- package/AuthManagerDrawer-76f15e8d.mjs +119 -0
- package/AuthSetterModal-f5d2e87f.mjs +274 -0
- package/{CgformCopyList-14b76108.mjs → CgformCopyList-365b3e8f.mjs} +49 -46
- package/CgformModal-21c5c387.mjs +671 -0
- package/{CgreportModal.vue_vue_type_script_setup_true_lang-c89d9222.mjs → CgreportModal-edefa8e3.mjs} +153 -129
- package/CheckDictTable-1bc8322d.mjs +229 -0
- package/{CodeFileListModal-a6d3290d.mjs → CodeFileListModal-24601898.mjs} +5 -4
- package/CodeFileViewModal-2fe911f4.mjs +253 -0
- package/CodeGeneratorModal-f09fe903.mjs +282 -0
- package/CustomButtonList-f07bc695.mjs +397 -0
- package/{DBAttributeTable-370de07b.mjs → DBAttributeTable-285d40db.mjs} +118 -89
- package/DbToOnlineModal-5dcb67c3.mjs +169 -0
- package/DetailForm-deecbf3d.mjs +486 -0
- package/{EnhanceJavaModal-f63aa2d3.mjs → EnhanceJavaModal-45c66cd5.mjs} +3 -3
- package/{EnhanceJsHistory-352b46b1.mjs → EnhanceJsHistory-fab3102e.mjs} +2 -2
- package/EnhanceJsModal-175357a1.mjs +548 -0
- package/{EnhanceSqlModal-5e4ae84f.mjs → EnhanceSqlModal-7ea1b300.mjs} +3 -3
- package/ExtendConfigModal-a89ae052.mjs +117 -0
- package/FieldExtendJsonModal-32135634.mjs +277 -0
- package/{FileSelectModal-9a02560b.mjs → FileSelectModal-1643c8b9.mjs} +1 -1
- package/{ForeignKeyTable-6a843c4b.mjs → ForeignKeyTable-7f7e28a7.mjs} +3 -3
- package/{IndexTable-f8af9d44.mjs → IndexTable-cdcc2b48.mjs} +28 -20
- package/{JModalTip-33c7dc44.mjs → JModalTip-b055ab60.mjs} +1 -1
- package/JOnlineSearchSelect-22aae934.mjs +128 -0
- package/{LeftDepart-fa85523d.mjs → LeftDepart-d5615ed9.mjs} +1 -1
- package/{LeftRole-8b8dfe21.mjs → LeftRole-2ed8a2bf.mjs} +1 -1
- package/{LeftUser-dc24ef2f.mjs → LeftUser-22baa378.mjs} +3 -3
- package/LinkTableConfigModal-9242d750.mjs +240 -0
- package/{LinkTableFieldConfigModal-787bc55c.mjs → LinkTableFieldConfigModal-24adc50c.mjs} +41 -41
- package/{LinkTableListPiece-8499a318.mjs → LinkTableListPiece-f3a8e0d7.mjs} +1 -1
- package/{ModalFormDemo-977a49eb.mjs → ModalFormDemo-711418db.mjs} +1 -1
- package/OnlCgformErpList-58acdfa0.mjs +470 -0
- package/OnlCgformErpSubTable-9b1e1938.mjs +426 -0
- package/OnlCgformInnerSubTable-6c23781f.mjs +265 -0
- package/OnlCgformInnerTableList-4b5e14ed.mjs +458 -0
- package/OnlCgformTabList-019ad753.mjs +408 -0
- package/OnlineAutoList-48589d09.mjs +493 -0
- package/OnlineAutoModal-c2928847.mjs +239 -0
- package/{OnlineAutoTreeList-89265688.mjs → OnlineAutoTreeList-3baa1d00.mjs} +207 -204
- package/{OnlineCustomModal-518ad33c.mjs → OnlineCustomModal-9e17b6ce.mjs} +16 -12
- package/{OnlineDetailModal-9675390d.mjs → OnlineDetailModal-d5895734.mjs} +74 -64
- package/OnlineForm-9f1153ba.mjs +985 -0
- package/OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs +1 -0
- package/OnlineFormDetail-022ca117.mjs +342 -0
- package/OnlineFormUrlAdd-9715d70a.mjs +115 -0
- package/OnlineFormUrlDetail-8f864b1a.mjs +119 -0
- package/OnlineFormUrlEdit-ac985b36.mjs +113 -0
- package/OnlineFormUrlSuccess-3dfc54ab.mjs +59 -0
- package/OnlineQueryForm-eedb9a60.mjs +466 -0
- package/{OnlineSearchFormItem-0cc85a8a.mjs → OnlineSearchFormItem-6c557343.mjs} +2 -2
- package/{OnlineSelectCascade-4265c95d.mjs → OnlineSelectCascade-05c40fef.mjs} +1 -1
- package/{OnlineSubFormDetail-f0d2c016.mjs → OnlineSubFormDetail-58e896ce.mjs} +30 -28
- package/OnlineTabAutoModal-47b18ad6.mjs +306 -0
- package/{OnlineTabDetailModal-7356d3a8.mjs → OnlineTabDetailModal-82de1465.mjs} +22 -20
- package/OnlineTabForm-27655c83.mjs +817 -0
- package/OnlineTabFormDetail-8d0c40c0.mjs +327 -0
- package/PageAttributeTable-25e3b7da.mjs +466 -0
- package/{ProcessOnlineForm-67558898.mjs → ProcessOnlineForm-148632fe.mjs} +66 -56
- package/QueryTable-f7bfca7f.mjs +147 -0
- package/SetSwitchOptions-b2af757f.mjs +62 -0
- package/SuperQuery-a8592995.mjs +967 -0
- package/auth.api-ea1d33d4.mjs +41 -0
- package/auth.data-511e5197.mjs +217 -0
- package/{cgform.data-cbdd88c3.mjs → cgform.data-475d4984.mjs} +5 -1
- package/constant-fa63bd66.mjs +10 -0
- package/{enhance.data-efc7e155.mjs → enhance.data-a67572e1.mjs} +11 -10
- package/index-1d1a6e56.mjs +57 -0
- package/{index-b7a05eef.mjs → index-30e0e923.mjs} +396 -362
- package/{index-49508cad.mjs → index-f30613d1.mjs} +29 -27
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-f41d4dc1.mjs +426 -0
- package/useExtendComponent-dcae5c78.mjs +4399 -0
- package/useFormUrl-2ee1a82d.mjs +24 -0
- package/useListButton-bfac4ecf.mjs +697 -0
- package/{useSchemas-0433a403.mjs → useSchemas-a9c75b0f.mjs} +191 -101
- package/useTableSync-d7e9f18d.mjs +89 -0
- package/AuthButtonConfig-244ec09f.mjs +0 -125
- package/AuthDataConfig-83891eea.mjs +0 -212
- package/AuthFieldConfig-6b21915c.mjs +0 -139
- package/AuthManagerDrawer-300dd4e4.mjs +0 -114
- package/AuthSetterModal-a414fb35.mjs +0 -267
- package/CgformModal-eccfc38e.mjs +0 -611
- package/CgreportModal-2065f5a9.mjs +0 -13
- package/CheckDictTable-134cbb83.mjs +0 -211
- package/CodeFileViewModal-373e8058.mjs +0 -244
- package/CodeGeneratorModal-f08a89cd.mjs +0 -233
- package/CustomButtonList-02e3d897.mjs +0 -363
- package/DbToOnlineModal-9f13956f.mjs +0 -160
- package/DetailForm-424638eb.mjs +0 -462
- package/EnhanceJsModal-05c73a59.mjs +0 -311
- package/ExtendConfigModal-1dde390a.mjs +0 -111
- package/FieldExtendJsonModal-a70a9ccd.mjs +0 -219
- package/JOnlineSearchSelect-c287af12.mjs +0 -95
- package/LinkTableConfigModal-d4fbdef2.mjs +0 -230
- package/OnlCgformErpList-db45e22b.mjs +0 -454
- package/OnlCgformErpSubTable-54b50eec.mjs +0 -403
- package/OnlCgformInnerSubTable-fbca73e0.mjs +0 -253
- package/OnlCgformInnerTableList-782eaf04.mjs +0 -444
- package/OnlCgformTabList-a9e1e36a.mjs +0 -395
- package/OnlineAutoList-0583a910.mjs +0 -479
- package/OnlineAutoModal-510991eb.mjs +0 -207
- package/OnlineForm-1fa2d893.mjs +0 -750
- package/OnlineFormDetail-0e7294ca.mjs +0 -297
- package/OnlineQueryForm-1bfc8320.mjs +0 -386
- package/OnlineTabAutoModal-6f636ee2.mjs +0 -254
- package/OnlineTabForm-512d3951.mjs +0 -766
- package/OnlineTabFormDetail-5a70219d.mjs +0 -324
- package/PageAttributeTable-965dc58e.mjs +0 -404
- package/QueryTable-eb9a5b21.mjs +0 -115
- package/SuperQuery-5d1ca957.mjs +0 -843
- package/auth.api-d3a6c4b3.mjs +0 -39
- package/auth.data-8be5c9e3.mjs +0 -141
- package/constant-754f1a9d.mjs +0 -9
- package/index-0e3ab3af.mjs +0 -56
- package/useCgformList-423282b7.mjs +0 -400
- package/useExtendComponent-325fe3f1.mjs +0 -3926
- package/useListButton-cdbab702.mjs +0 -676
- package/useTableSync-774c3774.mjs +0 -87
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
var P = (e, n, i) => new Promise((c, d) => {
|
|
2
|
+
var h = (a) => {
|
|
3
|
+
try {
|
|
4
|
+
s(i.next(a));
|
|
5
|
+
} catch (p) {
|
|
6
|
+
d(p);
|
|
7
|
+
}
|
|
8
|
+
}, C = (a) => {
|
|
9
|
+
try {
|
|
10
|
+
s(i.throw(a));
|
|
11
|
+
} catch (p) {
|
|
12
|
+
d(p);
|
|
13
|
+
}
|
|
14
|
+
}, s = (a) => a.done ? c(a.value) : Promise.resolve(a.value).then(h, C);
|
|
15
|
+
s((i = i.apply(e, n)).next());
|
|
16
|
+
});
|
|
17
|
+
import { defineComponent as te, ref as I, watch as ne, computed as ae, resolveComponent as l, openBlock as r, createBlock as u, mergeProps as le, createSlots as me, withCtx as t, createVNode as f, createElementBlock as A, Fragment as R, renderList as E, createTextVNode as g, toDisplayString as k, createCommentVNode as re, createElementVNode as V } from "vue";
|
|
18
|
+
import { BasicModal as ie } from "/@/components/Modal";
|
|
19
|
+
import de from "./OnlineTabForm-27655c83.mjs";
|
|
20
|
+
import { b as se } from "./useExtendComponent-dcae5c78.mjs";
|
|
21
|
+
import pe from "/@/components/jeecg/comment/CommentPanel.vue";
|
|
22
|
+
import { T as ue } from "./constant-fa63bd66.mjs";
|
|
23
|
+
import { useAppInject as ce } from "/@/hooks/web/useAppInject";
|
|
24
|
+
import { _ as be } from "./index-1d1a6e56.mjs";
|
|
25
|
+
import "/@/hooks/web/useMessage";
|
|
26
|
+
import "/@/components/Form/index";
|
|
27
|
+
import "/@/utils/http/axios";
|
|
28
|
+
import "lodash-es";
|
|
29
|
+
import "/@/utils";
|
|
30
|
+
import "/@/components/Loading";
|
|
31
|
+
import "/@/utils/auth";
|
|
32
|
+
import "@ant-design/icons-vue";
|
|
33
|
+
import "./useCustomHook-acb00837.mjs";
|
|
34
|
+
import "/@/utils/cache";
|
|
35
|
+
import "/@/utils/common/compUtils";
|
|
36
|
+
import "/@/store/modules/user";
|
|
37
|
+
import "/@/components/Form/src/componentMap";
|
|
38
|
+
import "/@/utils/propTypes";
|
|
39
|
+
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
40
|
+
import "/@/utils/is";
|
|
41
|
+
import "/@/views/system/user/user.api";
|
|
42
|
+
import "/@/utils/desform/customExpression";
|
|
43
|
+
import "/@/store/modules/permission";
|
|
44
|
+
import "/@/utils/dict/JDictSelectUtil";
|
|
45
|
+
import "/@/components/Table";
|
|
46
|
+
import "/@/hooks/system/useListPage";
|
|
47
|
+
import "vue-router";
|
|
48
|
+
import "/@/components/Form/src/utils/Area";
|
|
49
|
+
import "/@/components/Preview/index";
|
|
50
|
+
import "./LinkTableListPiece-f3a8e0d7.mjs";
|
|
51
|
+
import "/@/api/common/api";
|
|
52
|
+
import "/@/assets/images/placeholderImage.png";
|
|
53
|
+
import "./OnlineSelectCascade-05c40fef.mjs";
|
|
54
|
+
import "./JModalTip-b055ab60.mjs";
|
|
55
|
+
import "ant-design-vue";
|
|
56
|
+
import "@vueuse/core";
|
|
57
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
58
|
+
const fe = te({
|
|
59
|
+
name: "OnlineTabAutoModal",
|
|
60
|
+
props: {
|
|
61
|
+
id: {
|
|
62
|
+
type: String,
|
|
63
|
+
default: ""
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
components: {
|
|
67
|
+
BasicModal: ie,
|
|
68
|
+
OnlineForm: de,
|
|
69
|
+
CommentPanel: pe
|
|
70
|
+
},
|
|
71
|
+
emits: ["success", "register", "formConfig"],
|
|
72
|
+
setup(e, { emit: n }) {
|
|
73
|
+
const i = I(), c = I([]), d = I("-1"), h = I(0), { getIsMobile: C } = ce();
|
|
74
|
+
function s() {
|
|
75
|
+
i.value && i.value.reload();
|
|
76
|
+
}
|
|
77
|
+
const {
|
|
78
|
+
title: a,
|
|
79
|
+
modalWidth: p,
|
|
80
|
+
registerModal: N,
|
|
81
|
+
closeModal: T,
|
|
82
|
+
cgButtonList: y,
|
|
83
|
+
handleCgButtonClick: S,
|
|
84
|
+
disableSubmit: w,
|
|
85
|
+
handleSubmit: B,
|
|
86
|
+
submitLoading: M,
|
|
87
|
+
handleCancel: o,
|
|
88
|
+
handleFormConfig: b,
|
|
89
|
+
onlineFormCompRef: j,
|
|
90
|
+
formTemplate: W,
|
|
91
|
+
isTreeForm: H,
|
|
92
|
+
pidFieldName: U,
|
|
93
|
+
renderSuccess: q,
|
|
94
|
+
formRendered: z,
|
|
95
|
+
tableName: G,
|
|
96
|
+
formDataId: J,
|
|
97
|
+
enableComment: K,
|
|
98
|
+
onCloseEvent: D,
|
|
99
|
+
themeTemplate: Q
|
|
100
|
+
} = se(!1, { emit: n }, s);
|
|
101
|
+
function X(m) {
|
|
102
|
+
n("success", m), T(), D(), $();
|
|
103
|
+
}
|
|
104
|
+
ne(() => e.id, Y, { immediate: !0 });
|
|
105
|
+
function Y() {
|
|
106
|
+
return P(this, null, function* () {
|
|
107
|
+
z.value = !1, e.id && (yield b(e.id, {}, (m) => {
|
|
108
|
+
const _ = [], F = [], { head: L, schema: ee } = m, { properties: oe } = ee;
|
|
109
|
+
_.push({ tableName: L.tableName, tableTxt: L.tableTxt }), Object.entries(oe).forEach(([O, v]) => {
|
|
110
|
+
v.view == "tab" && F.push({ tableName: O, tableTxt: v.describe, order: v.order });
|
|
111
|
+
}), F.sort((O, v) => O.order - v.order), c.value = [..._, ...F];
|
|
112
|
+
}));
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
const Z = (m) => String(m - 1), $ = () => {
|
|
116
|
+
setTimeout(() => {
|
|
117
|
+
d.value = "-1";
|
|
118
|
+
}, 500);
|
|
119
|
+
}, x = ae(() => C.value && c.value.length > 2);
|
|
120
|
+
return {
|
|
121
|
+
title: a,
|
|
122
|
+
onlineFormCompRef: j,
|
|
123
|
+
renderSuccess: q,
|
|
124
|
+
registerModal: N,
|
|
125
|
+
handleSubmit: B,
|
|
126
|
+
handleSuccess: X,
|
|
127
|
+
handleCancel: o,
|
|
128
|
+
modalWidth: p,
|
|
129
|
+
formTemplate: W,
|
|
130
|
+
disableSubmit: w,
|
|
131
|
+
cgButtonList: y,
|
|
132
|
+
handleCgButtonClick: S,
|
|
133
|
+
isTreeForm: H,
|
|
134
|
+
pidFieldName: U,
|
|
135
|
+
submitLoading: M,
|
|
136
|
+
tableName: G,
|
|
137
|
+
formDataId: J,
|
|
138
|
+
enableComment: K,
|
|
139
|
+
commentPanelRef: i,
|
|
140
|
+
onCloseEvent: D,
|
|
141
|
+
themeTemplate: Q,
|
|
142
|
+
tabNav: c,
|
|
143
|
+
tabValue: Z,
|
|
144
|
+
tabIndex: d,
|
|
145
|
+
TAB: ue,
|
|
146
|
+
restTabIndex: $,
|
|
147
|
+
handleMenuClick: ({ key: m }) => {
|
|
148
|
+
d.value = m;
|
|
149
|
+
},
|
|
150
|
+
showDropdownBtn: x,
|
|
151
|
+
handleToggleTab: (m) => {
|
|
152
|
+
d.value = m;
|
|
153
|
+
},
|
|
154
|
+
handleCommentOpen: (m, _) => {
|
|
155
|
+
h.value = _;
|
|
156
|
+
},
|
|
157
|
+
commentSpan: h
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
const ge = { class: "titleArea" }, he = { class: "title" }, Ce = { class: "right" };
|
|
162
|
+
function Te(e, n, i, c, d, h) {
|
|
163
|
+
const C = l("a-menu-item"), s = l("a-menu"), a = l("a-dropdown-button"), p = l("a-radio-button"), N = l("a-radio-group"), T = l("a-button"), y = l("a-col"), S = l("a-row"), w = l("online-form"), B = l("comment-panel"), M = l("BasicModal");
|
|
164
|
+
return r(), u(M, le({
|
|
165
|
+
title: e.title,
|
|
166
|
+
onCancel: n[2] || (n[2] = () => {
|
|
167
|
+
e.onCloseEvent(), e.restTabIndex();
|
|
168
|
+
}),
|
|
169
|
+
enableComment: e.enableComment,
|
|
170
|
+
width: e.modalWidth
|
|
171
|
+
}, e.$attrs, {
|
|
172
|
+
maxHeight: 600,
|
|
173
|
+
onRegister: e.registerModal,
|
|
174
|
+
wrapClassName: "jeecg-online-modal",
|
|
175
|
+
onOk: e.handleSubmit,
|
|
176
|
+
onCommentOpen: e.handleCommentOpen
|
|
177
|
+
}), me({
|
|
178
|
+
footer: t(() => [
|
|
179
|
+
f(S, null, {
|
|
180
|
+
default: t(() => [
|
|
181
|
+
f(y, {
|
|
182
|
+
span: 24 - e.commentSpan
|
|
183
|
+
}, {
|
|
184
|
+
default: t(() => [
|
|
185
|
+
(r(!0), A(R, null, E(e.cgButtonList, (o) => (r(), u(T, {
|
|
186
|
+
key: o.id,
|
|
187
|
+
type: "primary",
|
|
188
|
+
onClick: (b) => e.handleCgButtonClick(o.optType, o.buttonCode),
|
|
189
|
+
preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
|
|
190
|
+
}, {
|
|
191
|
+
default: t(() => [
|
|
192
|
+
g(k(o.buttonName), 1)
|
|
193
|
+
]),
|
|
194
|
+
_: 2
|
|
195
|
+
}, 1032, ["onClick", "preIcon"]))), 128)),
|
|
196
|
+
e.disableSubmit ? re("", !0) : (r(), u(T, {
|
|
197
|
+
key: "submit",
|
|
198
|
+
type: "primary",
|
|
199
|
+
onClick: e.handleSubmit,
|
|
200
|
+
loading: e.submitLoading
|
|
201
|
+
}, {
|
|
202
|
+
default: t(() => [
|
|
203
|
+
g("确定")
|
|
204
|
+
]),
|
|
205
|
+
_: 1
|
|
206
|
+
}, 8, ["onClick", "loading"])),
|
|
207
|
+
f(T, {
|
|
208
|
+
key: "back",
|
|
209
|
+
onClick: n[1] || (n[1] = () => {
|
|
210
|
+
e.handleCancel(), e.restTabIndex();
|
|
211
|
+
})
|
|
212
|
+
}, {
|
|
213
|
+
default: t(() => [
|
|
214
|
+
g("关闭")
|
|
215
|
+
]),
|
|
216
|
+
_: 1
|
|
217
|
+
})
|
|
218
|
+
]),
|
|
219
|
+
_: 1
|
|
220
|
+
}, 8, ["span"])
|
|
221
|
+
]),
|
|
222
|
+
_: 1
|
|
223
|
+
})
|
|
224
|
+
]),
|
|
225
|
+
comment: t(() => [
|
|
226
|
+
f(B, {
|
|
227
|
+
ref: "commentPanelRef",
|
|
228
|
+
tableName: e.tableName,
|
|
229
|
+
dataId: e.formDataId
|
|
230
|
+
}, null, 8, ["tableName", "dataId"])
|
|
231
|
+
]),
|
|
232
|
+
default: t(() => [
|
|
233
|
+
f(w, {
|
|
234
|
+
ref: "onlineFormCompRef",
|
|
235
|
+
id: e.id,
|
|
236
|
+
disabled: e.disableSubmit,
|
|
237
|
+
"form-template": e.formTemplate,
|
|
238
|
+
isTree: e.isTreeForm,
|
|
239
|
+
pidField: e.pidFieldName,
|
|
240
|
+
themeTemplate: e.themeTemplate,
|
|
241
|
+
tabIndex: e.tabIndex,
|
|
242
|
+
onRendered: e.renderSuccess,
|
|
243
|
+
onSuccess: e.handleSuccess,
|
|
244
|
+
onToggleTab: e.handleToggleTab
|
|
245
|
+
}, null, 8, ["id", "disabled", "form-template", "isTree", "pidField", "themeTemplate", "tabIndex", "onRendered", "onSuccess", "onToggleTab"])
|
|
246
|
+
]),
|
|
247
|
+
_: 2
|
|
248
|
+
}, [
|
|
249
|
+
e.themeTemplate === e.TAB ? {
|
|
250
|
+
name: "title",
|
|
251
|
+
fn: t(() => [
|
|
252
|
+
V("div", ge, [
|
|
253
|
+
V("div", he, k(e.title), 1),
|
|
254
|
+
V("div", Ce, [
|
|
255
|
+
e.showDropdownBtn ? (r(), u(a, {
|
|
256
|
+
key: 0,
|
|
257
|
+
trigger: "click"
|
|
258
|
+
}, {
|
|
259
|
+
overlay: t(() => [
|
|
260
|
+
f(s, { onClick: e.handleMenuClick }, {
|
|
261
|
+
default: t(() => [
|
|
262
|
+
(r(!0), A(R, null, E(e.tabNav, (o, b) => (r(), u(C, {
|
|
263
|
+
key: e.tabValue(b)
|
|
264
|
+
}, {
|
|
265
|
+
default: t(() => [
|
|
266
|
+
g(k(o.tableTxt), 1)
|
|
267
|
+
]),
|
|
268
|
+
_: 2
|
|
269
|
+
}, 1024))), 128))
|
|
270
|
+
]),
|
|
271
|
+
_: 1
|
|
272
|
+
}, 8, ["onClick"])
|
|
273
|
+
]),
|
|
274
|
+
default: t(() => [
|
|
275
|
+
g(k(e.tabNav[+e.tabIndex + 1].tableTxt) + " ", 1)
|
|
276
|
+
]),
|
|
277
|
+
_: 1
|
|
278
|
+
})) : (r(), u(N, {
|
|
279
|
+
key: 1,
|
|
280
|
+
value: e.tabIndex,
|
|
281
|
+
"onUpdate:value": n[0] || (n[0] = (o) => e.tabIndex = o)
|
|
282
|
+
}, {
|
|
283
|
+
default: t(() => [
|
|
284
|
+
(r(!0), A(R, null, E(e.tabNav, (o, b) => (r(), u(p, {
|
|
285
|
+
value: e.tabValue(b),
|
|
286
|
+
key: o.tableName
|
|
287
|
+
}, {
|
|
288
|
+
default: t(() => [
|
|
289
|
+
g(k(o.tableTxt), 1)
|
|
290
|
+
]),
|
|
291
|
+
_: 2
|
|
292
|
+
}, 1032, ["value"]))), 128))
|
|
293
|
+
]),
|
|
294
|
+
_: 1
|
|
295
|
+
}, 8, ["value"]))
|
|
296
|
+
])
|
|
297
|
+
])
|
|
298
|
+
]),
|
|
299
|
+
key: "0"
|
|
300
|
+
} : void 0
|
|
301
|
+
]), 1040, ["title", "enableComment", "width", "onRegister", "onOk", "onCommentOpen"]);
|
|
302
|
+
}
|
|
303
|
+
const co = /* @__PURE__ */ be(fe, [["render", Te], ["__scopeId", "data-v-95f03815"]]);
|
|
304
|
+
export {
|
|
305
|
+
co as default
|
|
306
|
+
};
|
|
@@ -14,19 +14,19 @@ var F = (e, o, a) => new Promise((s, i) => {
|
|
|
14
14
|
}, n = (t) => t.done ? s(t.value) : Promise.resolve(t.value).then(u, p);
|
|
15
15
|
n((a = a.apply(e, o)).next());
|
|
16
16
|
});
|
|
17
|
-
import { defineComponent as z, ref as C, watch as G, resolveComponent as d, openBlock as I, createBlock as M, mergeProps as J, withCtx as m, createElementVNode as N, toDisplayString as R, createVNode as
|
|
17
|
+
import { defineComponent as z, ref as C, watch as G, resolveComponent as d, openBlock as I, createBlock as M, mergeProps as J, withCtx as m, createElementVNode as N, toDisplayString as R, createVNode as f, createElementBlock as K, Fragment as Q, renderList as X, createTextVNode as S } from "vue";
|
|
18
18
|
import { BasicModal as Y } from "/@/components/Modal";
|
|
19
|
-
import Z from "./OnlineTabFormDetail-
|
|
20
|
-
import { b as ee } from "./useExtendComponent-
|
|
19
|
+
import Z from "./OnlineTabFormDetail-8d0c40c0.mjs";
|
|
20
|
+
import { b as ee } from "./useExtendComponent-dcae5c78.mjs";
|
|
21
21
|
import te from "/@/components/jeecg/comment/CommentPanel.vue";
|
|
22
|
-
import { T as oe } from "./constant-
|
|
23
|
-
import { _ as ae } from "./index-
|
|
22
|
+
import { T as oe } from "./constant-fa63bd66.mjs";
|
|
23
|
+
import { _ as ae } from "./index-1d1a6e56.mjs";
|
|
24
24
|
import "/@/hooks/web/useMessage";
|
|
25
25
|
import "/@/components/Loading";
|
|
26
26
|
import "/@/utils/auth";
|
|
27
27
|
import "/@/utils";
|
|
28
28
|
import "@ant-design/icons-vue";
|
|
29
|
-
import "./DetailForm-
|
|
29
|
+
import "./DetailForm-deecbf3d.mjs";
|
|
30
30
|
import "/@/utils/propTypes";
|
|
31
31
|
import "/@/utils/dict";
|
|
32
32
|
import "/@/utils/dict/JDictSelectUtil";
|
|
@@ -37,11 +37,13 @@ import "/@/components/Form/src/utils/Area";
|
|
|
37
37
|
import "/@/utils/common/compUtils";
|
|
38
38
|
import "/@/components/Preview/index";
|
|
39
39
|
import "/@/components/Markdown";
|
|
40
|
-
import "./OnlineSubFormDetail-
|
|
40
|
+
import "./OnlineSubFormDetail-58e896ce.mjs";
|
|
41
41
|
import "/@/components/Form/index";
|
|
42
|
+
import "/@/hooks/web/useAppInject";
|
|
42
43
|
import "/@/components/Form/src/componentMap";
|
|
43
44
|
import "lodash-es";
|
|
44
45
|
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
46
|
+
import "/@/utils/is";
|
|
45
47
|
import "/@/views/system/user/user.api";
|
|
46
48
|
import "/@/store/modules/user";
|
|
47
49
|
import "/@/utils/desform/customExpression";
|
|
@@ -49,10 +51,10 @@ import "/@/store/modules/permission";
|
|
|
49
51
|
import "/@/components/Table";
|
|
50
52
|
import "/@/hooks/system/useListPage";
|
|
51
53
|
import "vue-router";
|
|
52
|
-
import "./LinkTableListPiece-
|
|
53
|
-
import "
|
|
54
|
-
import "./
|
|
55
|
-
import "
|
|
54
|
+
import "./LinkTableListPiece-f3a8e0d7.mjs";
|
|
55
|
+
import "/@/assets/images/placeholderImage.png";
|
|
56
|
+
import "./OnlineSelectCascade-05c40fef.mjs";
|
|
57
|
+
import "./JModalTip-b055ab60.mjs";
|
|
56
58
|
import "ant-design-vue";
|
|
57
59
|
import "@vueuse/core";
|
|
58
60
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
@@ -81,7 +83,7 @@ const ne = z({
|
|
|
81
83
|
modalWidth: n,
|
|
82
84
|
registerModal: t,
|
|
83
85
|
cgButtonList: r,
|
|
84
|
-
handleCgButtonClick:
|
|
86
|
+
handleCgButtonClick: c,
|
|
85
87
|
disableSubmit: h,
|
|
86
88
|
handleSubmit: l,
|
|
87
89
|
submitLoading: _,
|
|
@@ -121,7 +123,7 @@ const ne = z({
|
|
|
121
123
|
formTemplate: V,
|
|
122
124
|
disableSubmit: h,
|
|
123
125
|
cgButtonList: r,
|
|
124
|
-
handleCgButtonClick:
|
|
126
|
+
handleCgButtonClick: c,
|
|
125
127
|
isTreeForm: O,
|
|
126
128
|
pidFieldName: $,
|
|
127
129
|
submitLoading: _,
|
|
@@ -145,7 +147,7 @@ const ne = z({
|
|
|
145
147
|
});
|
|
146
148
|
const re = { class: "titleArea" }, me = { class: "title" }, ie = { class: "right" };
|
|
147
149
|
function le(e, o, a, s, i, u) {
|
|
148
|
-
const p = d("a-radio-button"), n = d("a-radio-group"), t = d("a-button"), r = d("online-form-detail"),
|
|
150
|
+
const p = d("a-radio-button"), n = d("a-radio-group"), t = d("a-button"), r = d("online-form-detail"), c = d("comment-panel"), h = d("BasicModal");
|
|
149
151
|
return I(), M(h, J({
|
|
150
152
|
title: e.title,
|
|
151
153
|
onCancel: o[2] || (o[2] = () => {
|
|
@@ -163,7 +165,7 @@ function le(e, o, a, s, i, u) {
|
|
|
163
165
|
N("div", re, [
|
|
164
166
|
N("div", me, R(e.title), 1),
|
|
165
167
|
N("div", ie, [
|
|
166
|
-
|
|
168
|
+
f(n, {
|
|
167
169
|
value: e.tabIndex,
|
|
168
170
|
"onUpdate:value": o[0] || (o[0] = (l) => e.tabIndex = l)
|
|
169
171
|
}, {
|
|
@@ -184,7 +186,7 @@ function le(e, o, a, s, i, u) {
|
|
|
184
186
|
])
|
|
185
187
|
]),
|
|
186
188
|
footer: m(() => [
|
|
187
|
-
|
|
189
|
+
f(t, {
|
|
188
190
|
key: "back",
|
|
189
191
|
onClick: o[1] || (o[1] = () => {
|
|
190
192
|
e.handleCancel(), e.restTabIndex();
|
|
@@ -197,14 +199,14 @@ function le(e, o, a, s, i, u) {
|
|
|
197
199
|
})
|
|
198
200
|
]),
|
|
199
201
|
comment: m(() => [
|
|
200
|
-
c
|
|
202
|
+
f(c, {
|
|
201
203
|
ref: "commentPanelRef",
|
|
202
204
|
tableName: e.tableName,
|
|
203
205
|
dataId: e.formDataId
|
|
204
206
|
}, null, 8, ["tableName", "dataId"])
|
|
205
207
|
]),
|
|
206
208
|
default: m(() => [
|
|
207
|
-
|
|
209
|
+
f(r, {
|
|
208
210
|
ref: "onlineFormCompRef",
|
|
209
211
|
id: e.id,
|
|
210
212
|
"form-template": e.formTemplate,
|
|
@@ -217,7 +219,7 @@ function le(e, o, a, s, i, u) {
|
|
|
217
219
|
_: 1
|
|
218
220
|
}, 16, ["title", "width", "enableComment", "onRegister"]);
|
|
219
221
|
}
|
|
220
|
-
const
|
|
222
|
+
const at = /* @__PURE__ */ ae(ne, [["render", le], ["__scopeId", "data-v-220dd945"]]);
|
|
221
223
|
export {
|
|
222
|
-
|
|
224
|
+
at as default
|
|
223
225
|
};
|