@jeecg/online 3.5.3-vite4 → 3.6.2-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.
- package/{AuthButtonConfig-2f71787c.mjs → AuthButtonConfig-244ec09f.mjs} +1 -1
- package/{AuthButtonTree-d73bccf5.mjs → AuthButtonTree-3aa0ed49.mjs} +1 -1
- package/{AuthDataConfig-32cf23d2.mjs → AuthDataConfig-83891eea.mjs} +1 -1
- package/{AuthDataTree-03d62d3f.mjs → AuthDataTree-94e026e3.mjs} +1 -1
- package/{AuthFieldConfig-b1217a0c.mjs → AuthFieldConfig-6b21915c.mjs} +1 -1
- package/{AuthFieldTree-888e04a9.mjs → AuthFieldTree-69864163.mjs} +1 -1
- package/{AuthManagerDrawer-f127b8a2.mjs → AuthManagerDrawer-300dd4e4.mjs} +4 -4
- package/{AuthSetterModal-37da78ed.mjs → AuthSetterModal-a414fb35.mjs} +58 -52
- package/{CgformCopyList-3adab58f.mjs → CgformCopyList-14b76108.mjs} +42 -39
- package/CgformModal-eccfc38e.mjs +611 -0
- package/{CgreportModal-77ec8c17.mjs → CgreportModal-2065f5a9.mjs} +2 -1
- package/{CgreportModal.vue_vue_type_script_setup_true_lang-52dcec5e.mjs → CgreportModal.vue_vue_type_script_setup_true_lang-c89d9222.mjs} +170 -171
- package/{CheckDictTable-414313f2.mjs → CheckDictTable-134cbb83.mjs} +3 -3
- package/{CodeFileListModal-4831ce3d.mjs → CodeFileListModal-a6d3290d.mjs} +2 -2
- package/{CodeFileViewModal-5990dac4.mjs → CodeFileViewModal-373e8058.mjs} +2 -2
- package/{CodeGeneratorModal-7df9e25d.mjs → CodeGeneratorModal-f08a89cd.mjs} +5 -6
- package/{CustomButtonList-1c9bd859.mjs → CustomButtonList-02e3d897.mjs} +2 -2
- package/{DBAttributeTable-cd1c41e5.mjs → DBAttributeTable-370de07b.mjs} +2 -2
- package/{DbToOnlineModal-dc5d2030.mjs → DbToOnlineModal-9f13956f.mjs} +35 -35
- package/{DetailForm-e4538e7a.mjs → DetailForm-424638eb.mjs} +179 -163
- package/{EnhanceJavaModal-7f53d2ca.mjs → EnhanceJavaModal-f63aa2d3.mjs} +17 -13
- package/{EnhanceJsHistory-c30805ce.mjs → EnhanceJsHistory-352b46b1.mjs} +1 -1
- package/EnhanceJsModal-05c73a59.mjs +311 -0
- package/{EnhanceSqlModal-33a94c83.mjs → EnhanceSqlModal-5e4ae84f.mjs} +55 -46
- package/{ExtendConfigModal-60f2cf86.mjs → ExtendConfigModal-1dde390a.mjs} +2 -2
- package/FieldExtendJsonModal-a70a9ccd.mjs +219 -0
- package/FileSelectModal-9a02560b.mjs +103 -0
- package/{ForeignKeyTable-cb1abd1d.mjs → ForeignKeyTable-6a843c4b.mjs} +2 -2
- package/{IndexTable-4e94cd1f.mjs → IndexTable-f8af9d44.mjs} +2 -2
- package/JModalTip-33c7dc44.mjs +49 -0
- package/{JOnlineSearchSelect-5608a5cf.mjs → JOnlineSearchSelect-c287af12.mjs} +17 -16
- package/{LeftDepart-ca7a7375.mjs → LeftDepart-fa85523d.mjs} +1 -1
- package/{LeftRole-d0fa8398.mjs → LeftRole-8b8dfe21.mjs} +1 -1
- package/{LeftUser-0c88c240.mjs → LeftUser-dc24ef2f.mjs} +1 -1
- package/{LinkTableConfigModal-77d7c0b9.mjs → LinkTableConfigModal-d4fbdef2.mjs} +23 -23
- package/{LinkTableFieldConfigModal-c5689ab0.mjs → LinkTableFieldConfigModal-787bc55c.mjs} +44 -46
- package/LinkTableListPiece-8499a318.mjs +34 -0
- package/{ModalFormDemo-0eeea994.mjs → ModalFormDemo-977a49eb.mjs} +1 -1
- package/OnlCgformErpList-db45e22b.mjs +454 -0
- package/OnlCgformErpSubTable-54b50eec.mjs +403 -0
- package/OnlCgformInnerSubTable-fbca73e0.mjs +253 -0
- package/OnlCgformInnerTableList-782eaf04.mjs +444 -0
- package/OnlCgformTabList-a9e1e36a.mjs +395 -0
- package/OnlineAutoList-0583a910.mjs +479 -0
- package/{OnlineAutoModal-2a146238.mjs → OnlineAutoModal-510991eb.mjs} +59 -58
- package/{OnlineAutoTreeList-f8d0e100.mjs → OnlineAutoTreeList-89265688.mjs} +158 -153
- package/{OnlineCustomModal-456a85a6.mjs → OnlineCustomModal-518ad33c.mjs} +67 -66
- package/{OnlineDetailModal-f967f080.mjs → OnlineDetailModal-9675390d.mjs} +40 -39
- package/OnlineForm-1fa2d893.mjs +750 -0
- package/{OnlineFormDetail-1b216792.mjs → OnlineFormDetail-0e7294ca.mjs} +56 -55
- package/OnlineQueryForm-1bfc8320.mjs +386 -0
- package/{OnlineSearchFormItem-7c2ea9ed.mjs → OnlineSearchFormItem-0cc85a8a.mjs} +83 -87
- package/{OnlineSelectCascade-c7baf52b.mjs → OnlineSelectCascade-4265c95d.mjs} +31 -32
- package/{OnlineSubFormDetail-0aa4966c.mjs → OnlineSubFormDetail-f0d2c016.mjs} +53 -50
- package/OnlineTabAutoModal-6f636ee2.mjs +254 -0
- package/OnlineTabDetailModal-7356d3a8.mjs +223 -0
- package/OnlineTabForm-512d3951.mjs +766 -0
- package/OnlineTabFormDetail-5a70219d.mjs +324 -0
- package/{PageAttributeTable-811185fd.mjs → PageAttributeTable-965dc58e.mjs} +20 -20
- package/{ProcessOnlineForm-27be6f6f.mjs → ProcessOnlineForm-67558898.mjs} +39 -38
- package/{QueryTable-4ba771ef.mjs → QueryTable-eb9a5b21.mjs} +2 -2
- package/README.md +5 -2
- package/{SuperQuery-3821f984.mjs → SuperQuery-5d1ca957.mjs} +171 -173
- package/{SuperQueryValComponent-471110b5.mjs → SuperQueryValComponent-7ad86d4b.mjs} +1 -1
- package/SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs +101 -0
- package/cgformState-d9f8ec42.mjs +28 -0
- package/constant-754f1a9d.mjs +9 -0
- package/index-0e3ab3af.mjs +56 -0
- package/{index-074b92e5.mjs → index-49508cad.mjs} +4 -3
- package/index-b7a05eef.mjs +1496 -0
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-423282b7.mjs +400 -0
- package/useCustomHook-acb00837.mjs +53 -0
- package/useExtendComponent-325fe3f1.mjs +3926 -0
- package/useListButton-cdbab702.mjs +676 -0
- package/useOnlinePopEvent-687070b7.mjs +19 -0
- package/useOnlineTest-e4bd8be3.mjs +42 -0
- package/{useSchemas-fc8d97ce.mjs → useSchemas-0433a403.mjs} +129 -109
- package/{useTableSync-dc333087.mjs → useTableSync-774c3774.mjs} +17 -13
- package/CgformModal-6938d8c2.mjs +0 -613
- package/EnhanceJsModal-0b133341.mjs +0 -233
- package/FieldExtendJsonModal-48f7d67f.mjs +0 -220
- package/FileSelectModal-64aaf623.mjs +0 -91
- package/JModalTip-abe1515a.mjs +0 -46
- package/LinkTableListPiece-34266919.mjs +0 -34
- package/OnlCgformErpList-7a0388d8.mjs +0 -425
- package/OnlCgformErpSubTable-fc6ade76.mjs +0 -388
- package/OnlineAutoList-85e6a30d.mjs +0 -472
- package/OnlineForm-630a22c2.mjs +0 -778
- package/OnlineQueryForm-1c5949a7.mjs +0 -378
- package/SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs +0 -101
- package/constant-fe20103a.mjs +0 -6
- package/index-6a09a912.mjs +0 -58
- package/index-9d32ae88.mjs +0 -313
- package/useCgformList-2d6a5955.mjs +0 -388
- package/useExtendComponent-48d37d9b.mjs +0 -3919
- package/useListButton-cef1371a.mjs +0 -656
- package/useOnlinePopEvent-e9a042f8.mjs +0 -19
- package/useOnlineTest-0df0ae86.mjs +0 -43
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var p = (
|
|
1
|
+
var p = (e, f, r) => new Promise((m, u) => {
|
|
2
2
|
var c = (t) => {
|
|
3
3
|
try {
|
|
4
4
|
s(r.next(t));
|
|
@@ -12,21 +12,22 @@ var p = (o, f, r) => new Promise((m, u) => {
|
|
|
12
12
|
u(l);
|
|
13
13
|
}
|
|
14
14
|
}, s = (t) => t.done ? m(t.value) : Promise.resolve(t.value).then(c, a);
|
|
15
|
-
s((r = r.apply(
|
|
15
|
+
s((r = r.apply(e, f)).next());
|
|
16
16
|
});
|
|
17
|
-
import { defineComponent as z, ref as i, nextTick as T, watch as J, reactive as Q, markRaw as W, defineAsyncComponent as X, resolveComponent as
|
|
18
|
-
import { BasicModal as x, useModalInner as
|
|
19
|
-
import { g as _ } from "./useExtendComponent-
|
|
20
|
-
import { defHttp as
|
|
21
|
-
import
|
|
22
|
-
import { importViewsFile as
|
|
23
|
-
import { _ as
|
|
17
|
+
import { defineComponent as z, ref as i, nextTick as T, watch as J, reactive as Q, markRaw as W, defineAsyncComponent as X, resolveComponent as C, openBlock as S, createBlock as k, mergeProps as Y, withCtx as d, createVNode as R, createTextVNode as P, resolveDynamicComponent as Z } from "vue";
|
|
18
|
+
import { BasicModal as x, useModalInner as ee } from "/@/components/Modal";
|
|
19
|
+
import { g as _ } from "./useExtendComponent-325fe3f1.mjs";
|
|
20
|
+
import { defHttp as oe } from "/@/utils/http/axios";
|
|
21
|
+
import te from "./OnlineForm-1fa2d893.mjs";
|
|
22
|
+
import { importViewsFile as ne } from "/@/utils";
|
|
23
|
+
import { _ as re } from "./index-0e3ab3af.mjs";
|
|
24
24
|
import "/@/components/Form/src/componentMap";
|
|
25
25
|
import "/@/utils/propTypes";
|
|
26
26
|
import "@ant-design/icons-vue";
|
|
27
27
|
import "/@/hooks/web/useMessage";
|
|
28
28
|
import "/@/components/Form/index";
|
|
29
29
|
import "lodash-es";
|
|
30
|
+
import "./constant-754f1a9d.mjs";
|
|
30
31
|
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
31
32
|
import "/@/views/system/user/user.api";
|
|
32
33
|
import "/@/store/modules/user";
|
|
@@ -39,20 +40,21 @@ import "/@/hooks/system/useListPage";
|
|
|
39
40
|
import "vue-router";
|
|
40
41
|
import "/@/components/Form/src/utils/Area";
|
|
41
42
|
import "/@/components/Preview/index";
|
|
42
|
-
import "./LinkTableListPiece-
|
|
43
|
-
import "./OnlineSelectCascade-
|
|
43
|
+
import "./LinkTableListPiece-8499a318.mjs";
|
|
44
|
+
import "./OnlineSelectCascade-4265c95d.mjs";
|
|
44
45
|
import "/@/components/Loading";
|
|
45
46
|
import "/@/utils/auth";
|
|
46
|
-
import "./JModalTip-
|
|
47
|
+
import "./JModalTip-33c7dc44.mjs";
|
|
48
|
+
import "/@/hooks/web/useAppInject";
|
|
47
49
|
import "ant-design-vue";
|
|
48
50
|
import "@vueuse/core";
|
|
49
51
|
import "/@/components/jeecg/JVxeTable/types";
|
|
50
52
|
import "/@/hooks/core/useContext";
|
|
51
53
|
import "/@/utils/mitt";
|
|
54
|
+
import "./useCustomHook-acb00837.mjs";
|
|
52
55
|
import "/@/utils/cache";
|
|
53
|
-
import "./constant-fe20103a.mjs";
|
|
54
56
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
55
|
-
const
|
|
57
|
+
const ie = {
|
|
56
58
|
code: "",
|
|
57
59
|
title: "自定义弹框",
|
|
58
60
|
width: 600,
|
|
@@ -63,71 +65,70 @@ const io = {
|
|
|
63
65
|
tableType: "",
|
|
64
66
|
foreignKeys: "",
|
|
65
67
|
formComponent: ""
|
|
66
|
-
},
|
|
68
|
+
}, me = z({
|
|
67
69
|
name: "OnlineCustomModal",
|
|
68
70
|
components: {
|
|
69
|
-
OnlineForm:
|
|
71
|
+
OnlineForm: te,
|
|
70
72
|
BasicModal: x
|
|
71
73
|
},
|
|
72
|
-
setup(
|
|
74
|
+
setup(e, { emit: f }) {
|
|
73
75
|
const r = i(), m = i(""), u = i("自定义弹框"), c = i(600);
|
|
74
76
|
let a = [], s = [], t = "", l = {};
|
|
75
77
|
const I = {
|
|
76
78
|
loadFormItems: "/online/cgform/api/getFormItem/",
|
|
77
79
|
optPre: "/online/cgform/api/form/"
|
|
78
|
-
}, B = { position: "relative" }, E = i(!1),
|
|
80
|
+
}, B = { position: "relative" }, E = i(!1), F = i(!1);
|
|
79
81
|
function $() {
|
|
80
|
-
|
|
82
|
+
F.value = !0;
|
|
81
83
|
}
|
|
82
|
-
const h = i(!0), [N, { setModalProps: D, closeModal: b }] =
|
|
83
|
-
D({ confirmLoading: !1 }), L(
|
|
84
|
-
|
|
84
|
+
const h = i(!0), [N, { setModalProps: D, closeModal: b }] = ee((o) => p(this, null, function* () {
|
|
85
|
+
D({ confirmLoading: !1 }), L(o), yield T(() => p(this, null, function* () {
|
|
86
|
+
o.formComponent ? K(o.formComponent) : yield H();
|
|
85
87
|
}));
|
|
86
88
|
}));
|
|
87
|
-
function L(
|
|
88
|
-
let n = Object.assign({},
|
|
89
|
+
function L(o) {
|
|
90
|
+
let n = Object.assign({}, ie, o);
|
|
89
91
|
m.value = n.code, u.value = n.title, c.value = n.width, a = n.hide || [], s = n.show || [], t = U(n.requestUrl), l = n.row;
|
|
90
92
|
}
|
|
91
|
-
function U(
|
|
92
|
-
return
|
|
93
|
+
function U(o) {
|
|
94
|
+
return o || I.optPre + m.value;
|
|
93
95
|
}
|
|
94
|
-
const
|
|
96
|
+
const g = i(!1);
|
|
95
97
|
function V() {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
+
g.value = !0, h.value === !0 ? r.value.handleSubmit() : M.value.handleSubmit(), setTimeout(() => {
|
|
99
|
+
g.value = !0;
|
|
98
100
|
}, 3500);
|
|
99
101
|
}
|
|
100
102
|
function j() {
|
|
101
103
|
b();
|
|
102
104
|
}
|
|
103
|
-
function A(
|
|
104
|
-
f("success",
|
|
105
|
+
function A(o) {
|
|
106
|
+
f("success", o), b();
|
|
105
107
|
}
|
|
106
108
|
function H() {
|
|
107
109
|
return p(this, null, function* () {
|
|
108
|
-
h.value = !0, yield _(
|
|
110
|
+
h.value = !0, yield _(F), r.value.handleCustomFormSh(s, a), r.value.handleCustomFormEdit(l, t);
|
|
109
111
|
});
|
|
110
112
|
}
|
|
111
113
|
const O = i(1);
|
|
112
114
|
J(m, q, { immediate: !0 });
|
|
113
115
|
function q() {
|
|
114
116
|
return p(this, null, function* () {
|
|
115
|
-
if (
|
|
117
|
+
if (F.value = !1, !m.value)
|
|
116
118
|
return;
|
|
117
|
-
|
|
118
|
-
let e = yield G(), n = e.head.formTemplate;
|
|
119
|
+
let o = yield G(), n = o.head.formTemplate;
|
|
119
120
|
O.value = n ? Number(n) : 1, T(() => p(this, null, function* () {
|
|
120
|
-
(yield _(r)).createRootProperties(
|
|
121
|
+
(yield _(r)).createRootProperties(o);
|
|
121
122
|
}));
|
|
122
123
|
});
|
|
123
124
|
}
|
|
124
125
|
function G() {
|
|
125
|
-
let
|
|
126
|
-
return new Promise((n,
|
|
127
|
-
|
|
128
|
-
|
|
126
|
+
let o = `/online/cgform/api/getFormItem/${m.value}`;
|
|
127
|
+
return new Promise((n, v) => {
|
|
128
|
+
oe.get({ url: o }, { isTransformResponse: !1 }).then((y) => {
|
|
129
|
+
y.success ? n(y.result) : v(y.message);
|
|
129
130
|
}).catch(() => {
|
|
130
|
-
|
|
131
|
+
v();
|
|
131
132
|
});
|
|
132
133
|
});
|
|
133
134
|
}
|
|
@@ -136,8 +137,8 @@ const io = {
|
|
|
136
137
|
is: "",
|
|
137
138
|
row: {}
|
|
138
139
|
});
|
|
139
|
-
function K(
|
|
140
|
-
h.value = !1, w.url = t, w.row = l, w.is = W(X(() =>
|
|
140
|
+
function K(o) {
|
|
141
|
+
h.value = !1, w.url = t, w.row = l, w.is = W(X(() => ne(o)));
|
|
141
142
|
}
|
|
142
143
|
return {
|
|
143
144
|
//modal
|
|
@@ -159,27 +160,27 @@ const io = {
|
|
|
159
160
|
open,
|
|
160
161
|
isOnlineForm: h,
|
|
161
162
|
confirmLoading: E,
|
|
162
|
-
submitLoading:
|
|
163
|
+
submitLoading: g,
|
|
163
164
|
handleSuccess: A
|
|
164
165
|
};
|
|
165
166
|
}
|
|
166
167
|
});
|
|
167
|
-
function
|
|
168
|
-
const a =
|
|
168
|
+
function le(e, f, r, m, u, c) {
|
|
169
|
+
const a = C("a-button"), s = C("online-form"), t = C("a-spin"), l = C("BasicModal");
|
|
169
170
|
return S(), k(l, Y({
|
|
170
|
-
title:
|
|
171
|
-
width:
|
|
172
|
-
},
|
|
173
|
-
style:
|
|
174
|
-
onRegister:
|
|
171
|
+
title: e.title,
|
|
172
|
+
width: e.width
|
|
173
|
+
}, e.$attrs, {
|
|
174
|
+
style: e.modalStyle,
|
|
175
|
+
onRegister: e.registerModal,
|
|
175
176
|
wrapClassName: "jeecg-online-modal2",
|
|
176
|
-
onOk:
|
|
177
|
+
onOk: e.handleSubmit
|
|
177
178
|
}), {
|
|
178
179
|
footer: d(() => [
|
|
179
180
|
R(a, {
|
|
180
181
|
key: "submit",
|
|
181
182
|
type: "primary",
|
|
182
|
-
onClick:
|
|
183
|
+
onClick: e.handleSubmit
|
|
183
184
|
}, {
|
|
184
185
|
default: d(() => [
|
|
185
186
|
P("确定")
|
|
@@ -188,7 +189,7 @@ function lo(o, f, r, m, u, c) {
|
|
|
188
189
|
}, 8, ["onClick"]),
|
|
189
190
|
R(a, {
|
|
190
191
|
key: "back",
|
|
191
|
-
onClick:
|
|
192
|
+
onClick: e.handleCancel
|
|
192
193
|
}, {
|
|
193
194
|
default: d(() => [
|
|
194
195
|
P("关闭")
|
|
@@ -197,22 +198,22 @@ function lo(o, f, r, m, u, c) {
|
|
|
197
198
|
}, 8, ["onClick"])
|
|
198
199
|
]),
|
|
199
200
|
default: d(() => [
|
|
200
|
-
R(t, { spinning:
|
|
201
|
+
R(t, { spinning: e.confirmLoading }, {
|
|
201
202
|
default: d(() => [
|
|
202
|
-
|
|
203
|
+
e.isOnlineForm ? (S(), k(s, {
|
|
203
204
|
key: 0,
|
|
204
205
|
ref: "onlineFormCompRef",
|
|
205
|
-
id:
|
|
206
|
-
"form-template":
|
|
207
|
-
onRendered:
|
|
208
|
-
onSuccess:
|
|
206
|
+
id: e.id,
|
|
207
|
+
"form-template": e.formTemplate,
|
|
208
|
+
onRendered: e.renderSuccess,
|
|
209
|
+
onSuccess: e.handleSuccess,
|
|
209
210
|
modalClass: "jeecg-online-modal2"
|
|
210
|
-
}, null, 8, ["id", "form-template", "onRendered", "onSuccess"])) : (S(), k(Z(
|
|
211
|
+
}, null, 8, ["id", "form-template", "onRendered", "onSuccess"])) : (S(), k(Z(e.customFormComponent.is), {
|
|
211
212
|
key: 1,
|
|
212
213
|
ref: "customFormRef",
|
|
213
|
-
url:
|
|
214
|
-
row:
|
|
215
|
-
onClose:
|
|
214
|
+
url: e.customFormComponent.url,
|
|
215
|
+
row: e.customFormComponent.row,
|
|
216
|
+
onClose: e.handleSuccess
|
|
216
217
|
}, null, 40, ["url", "row", "onClose"]))
|
|
217
218
|
]),
|
|
218
219
|
_: 1
|
|
@@ -221,7 +222,7 @@ function lo(o, f, r, m, u, c) {
|
|
|
221
222
|
_: 1
|
|
222
223
|
}, 16, ["title", "width", "style", "onRegister", "onOk"]);
|
|
223
224
|
}
|
|
224
|
-
const
|
|
225
|
+
const We = /* @__PURE__ */ re(me, [["render", le]]);
|
|
225
226
|
export {
|
|
226
|
-
|
|
227
|
+
We as default
|
|
227
228
|
};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
var c = (e, a,
|
|
2
|
-
var p = (
|
|
1
|
+
var c = (e, a, o) => new Promise((l, i) => {
|
|
2
|
+
var p = (t) => {
|
|
3
3
|
try {
|
|
4
|
-
m(
|
|
4
|
+
m(o.next(t));
|
|
5
5
|
} catch (r) {
|
|
6
|
-
|
|
6
|
+
i(r);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, n = (t) => {
|
|
9
9
|
try {
|
|
10
|
-
m(
|
|
10
|
+
m(o.throw(t));
|
|
11
11
|
} catch (r) {
|
|
12
|
-
|
|
12
|
+
i(r);
|
|
13
13
|
}
|
|
14
|
-
}, m = (
|
|
15
|
-
m((
|
|
14
|
+
}, m = (t) => t.done ? l(t.value) : Promise.resolve(t.value).then(p, n);
|
|
15
|
+
m((o = o.apply(e, a)).next());
|
|
16
16
|
});
|
|
17
17
|
import { defineComponent as I, ref as $, watch as v, resolveComponent as d, openBlock as P, createBlock as y, mergeProps as O, withCtx as s, createVNode as f, createTextVNode as L } from "vue";
|
|
18
18
|
import { BasicModal as V } from "/@/components/Modal";
|
|
19
|
-
import W from "./OnlineFormDetail-
|
|
20
|
-
import {
|
|
19
|
+
import W from "./OnlineFormDetail-0e7294ca.mjs";
|
|
20
|
+
import { b as j } from "./useExtendComponent-325fe3f1.mjs";
|
|
21
21
|
import q from "/@/components/jeecg/comment/CommentPanel.vue";
|
|
22
|
-
import { _ as A } from "./index-
|
|
22
|
+
import { _ as A } from "./index-0e3ab3af.mjs";
|
|
23
23
|
import "/@/hooks/web/useMessage";
|
|
24
24
|
import "/@/components/Loading";
|
|
25
25
|
import "/@/utils/auth";
|
|
26
26
|
import "/@/utils";
|
|
27
27
|
import "@ant-design/icons-vue";
|
|
28
|
-
import "./DetailForm-
|
|
28
|
+
import "./DetailForm-424638eb.mjs";
|
|
29
29
|
import "/@/utils/propTypes";
|
|
30
30
|
import "/@/utils/dict";
|
|
31
31
|
import "/@/utils/dict/JDictSelectUtil";
|
|
@@ -35,9 +35,10 @@ import "/@/utils/http/axios";
|
|
|
35
35
|
import "/@/components/Form/src/utils/Area";
|
|
36
36
|
import "/@/utils/common/compUtils";
|
|
37
37
|
import "/@/components/Preview/index";
|
|
38
|
-
import "
|
|
38
|
+
import "/@/components/Markdown";
|
|
39
|
+
import "./OnlineSubFormDetail-f0d2c016.mjs";
|
|
39
40
|
import "/@/components/Form/index";
|
|
40
|
-
import "./constant-
|
|
41
|
+
import "./constant-754f1a9d.mjs";
|
|
41
42
|
import "/@/components/Form/src/componentMap";
|
|
42
43
|
import "lodash-es";
|
|
43
44
|
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
@@ -48,9 +49,10 @@ import "/@/store/modules/permission";
|
|
|
48
49
|
import "/@/components/Table";
|
|
49
50
|
import "/@/hooks/system/useListPage";
|
|
50
51
|
import "vue-router";
|
|
51
|
-
import "./LinkTableListPiece-
|
|
52
|
-
import "./OnlineSelectCascade-
|
|
53
|
-
import "./JModalTip-
|
|
52
|
+
import "./LinkTableListPiece-8499a318.mjs";
|
|
53
|
+
import "./OnlineSelectCascade-4265c95d.mjs";
|
|
54
|
+
import "./JModalTip-33c7dc44.mjs";
|
|
55
|
+
import "/@/hooks/web/useAppInject";
|
|
54
56
|
import "ant-design-vue";
|
|
55
57
|
import "@vueuse/core";
|
|
56
58
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
@@ -70,22 +72,21 @@ const E = I({
|
|
|
70
72
|
},
|
|
71
73
|
emits: ["success", "register", "formConfig"],
|
|
72
74
|
setup(e, { emit: a }) {
|
|
73
|
-
|
|
74
|
-
const t = $();
|
|
75
|
+
const o = $();
|
|
75
76
|
function l() {
|
|
76
|
-
|
|
77
|
+
o.value && o.value.reload();
|
|
77
78
|
}
|
|
78
79
|
const {
|
|
79
|
-
title:
|
|
80
|
+
title: i,
|
|
80
81
|
modalWidth: p,
|
|
81
|
-
registerModal:
|
|
82
|
+
registerModal: n,
|
|
82
83
|
cgButtonList: m,
|
|
83
|
-
handleCgButtonClick:
|
|
84
|
+
handleCgButtonClick: t,
|
|
84
85
|
disableSubmit: r,
|
|
85
86
|
handleSubmit: u,
|
|
86
87
|
submitLoading: h,
|
|
87
|
-
handleCancel:
|
|
88
|
-
handleFormConfig:
|
|
88
|
+
handleCancel: b,
|
|
89
|
+
handleFormConfig: C,
|
|
89
90
|
onlineFormCompRef: g,
|
|
90
91
|
formTemplate: w,
|
|
91
92
|
isTreeForm: _,
|
|
@@ -101,21 +102,21 @@ const E = I({
|
|
|
101
102
|
v(() => e.id, D, { immediate: !0 });
|
|
102
103
|
function D() {
|
|
103
104
|
return c(this, null, function* () {
|
|
104
|
-
M.value = !1, e.id && (
|
|
105
|
+
M.value = !1, e.id && (yield C(e.id, {}));
|
|
105
106
|
});
|
|
106
107
|
}
|
|
107
108
|
return {
|
|
108
|
-
title:
|
|
109
|
+
title: i,
|
|
109
110
|
onlineFormCompRef: g,
|
|
110
111
|
renderSuccess: F,
|
|
111
|
-
registerModal:
|
|
112
|
+
registerModal: n,
|
|
112
113
|
handleSubmit: u,
|
|
113
|
-
handleCancel:
|
|
114
|
+
handleCancel: b,
|
|
114
115
|
modalWidth: p,
|
|
115
116
|
formTemplate: w,
|
|
116
117
|
disableSubmit: r,
|
|
117
118
|
cgButtonList: m,
|
|
118
|
-
handleCgButtonClick:
|
|
119
|
+
handleCgButtonClick: t,
|
|
119
120
|
isTreeForm: _,
|
|
120
121
|
pidFieldName: R,
|
|
121
122
|
submitLoading: h,
|
|
@@ -123,17 +124,17 @@ const E = I({
|
|
|
123
124
|
tableName: T,
|
|
124
125
|
formDataId: k,
|
|
125
126
|
enableComment: B,
|
|
126
|
-
commentPanelRef:
|
|
127
|
+
commentPanelRef: o,
|
|
127
128
|
themeTemplate: S
|
|
128
129
|
};
|
|
129
130
|
}
|
|
130
131
|
});
|
|
131
|
-
function
|
|
132
|
-
const
|
|
132
|
+
function H(e, a, o, l, i, p) {
|
|
133
|
+
const n = d("a-button"), m = d("online-form-detail"), t = d("comment-panel"), r = d("BasicModal");
|
|
133
134
|
return P(), y(r, O({
|
|
134
135
|
title: e.title,
|
|
135
136
|
width: e.modalWidth,
|
|
136
|
-
|
|
137
|
+
maxHeight: 600,
|
|
137
138
|
enableComment: e.enableComment,
|
|
138
139
|
defaultFullscreen: !1
|
|
139
140
|
}, e.$attrs, {
|
|
@@ -141,7 +142,7 @@ function z(e, a, t, l, n, p) {
|
|
|
141
142
|
wrapClassName: "jeecg-online-detail-modal"
|
|
142
143
|
}), {
|
|
143
144
|
footer: s(() => [
|
|
144
|
-
f(
|
|
145
|
+
f(n, {
|
|
145
146
|
key: "back",
|
|
146
147
|
onClick: e.handleCancel
|
|
147
148
|
}, {
|
|
@@ -152,7 +153,7 @@ function z(e, a, t, l, n, p) {
|
|
|
152
153
|
}, 8, ["onClick"])
|
|
153
154
|
]),
|
|
154
155
|
comment: s(() => [
|
|
155
|
-
f(
|
|
156
|
+
f(t, {
|
|
156
157
|
ref: "commentPanelRef",
|
|
157
158
|
tableName: e.tableName,
|
|
158
159
|
dataId: e.formDataId
|
|
@@ -171,7 +172,7 @@ function z(e, a, t, l, n, p) {
|
|
|
171
172
|
_: 1
|
|
172
173
|
}, 16, ["title", "width", "enableComment", "onRegister"]);
|
|
173
174
|
}
|
|
174
|
-
const
|
|
175
|
+
const ye = /* @__PURE__ */ A(E, [["render", H]]);
|
|
175
176
|
export {
|
|
176
|
-
|
|
177
|
+
ye as default
|
|
177
178
|
};
|