@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.
- package/AccountLoginForm-84cbd344.mjs +254 -0
- package/AiModal-26903538.mjs +84 -0
- package/AppForgetPassword-52443f23.mjs +310 -0
- package/AppLogin-ecf798fa.mjs +287 -0
- package/AppLoginHeader-4432c584.mjs +27 -0
- package/AppNameEmail-3303a037.mjs +180 -0
- package/AppRegister-79a62c59.mjs +303 -0
- package/AppTenant-f0bef7ca.mjs +373 -0
- package/AppThirdForm-fd8b4604.mjs +189 -0
- package/AuthButtonConfig-d5bffca0.mjs +156 -0
- package/AuthButtonTree-b0bd6c40.mjs +165 -0
- package/{AuthDataConfig-5c3a8e6b.mjs → AuthDataConfig-d3b7afa4.mjs} +23 -23
- package/{AuthDataTree-dd7a1240.mjs → AuthDataTree-f14a98d9.mjs} +43 -43
- package/{AuthFieldConfig-9f6fa06c.mjs → AuthFieldConfig-f1e224cc.mjs} +71 -71
- package/AuthFieldTree-5cc0da05.mjs +232 -0
- package/{AuthManagerDrawer-76f15e8d.mjs → AuthManagerDrawer-32556109.mjs} +6 -6
- package/{AuthSetterModal-f5d2e87f.mjs → AuthSetterModal-364f1f67.mjs} +9 -9
- package/BuiltInButtonList-bb6cf95c.mjs +10 -0
- package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
- package/CgformAddressModal-1131274c.mjs +260 -0
- package/CgformCopyList-5fba0810.mjs +252 -0
- package/{CgformModal-21c5c387.mjs → CgformModal-c4a4e0c2.mjs} +190 -194
- package/{CgreportModal-edefa8e3.mjs → CgreportModal-8a84aae5.mjs} +181 -168
- package/{CheckDictTable-1bc8322d.mjs → CheckDictTable-8a938e3a.mjs} +3 -3
- package/CodeFileListModal-a924902a.mjs +159 -0
- package/{CodeFileViewModal-2fe911f4.mjs → CodeFileViewModal-405e2b58.mjs} +66 -66
- package/CodeGeneratorModal-2e1dc13d.mjs +281 -0
- package/CustomButtonList-c453b654.mjs +274 -0
- package/{DBAttributeTable-285d40db.mjs → DBAttributeTable-1a45c7b7.mjs} +3 -3
- package/{DbToOnlineModal-5dcb67c3.mjs → DbToOnlineModal-f28ff0a3.mjs} +53 -54
- package/{DetailForm-deecbf3d.mjs → DetailForm-c592b8d8.mjs} +5 -5
- package/DropMenuItem-1e49abea.mjs +44 -0
- package/{EnhanceJavaModal-45c66cd5.mjs → EnhanceJavaModal-d5a93f2a.mjs} +62 -62
- package/{EnhanceJsHistory-fab3102e.mjs → EnhanceJsHistory-8ddb0657.mjs} +35 -35
- package/{EnhanceJsModal-175357a1.mjs → EnhanceJsModal-dc4f9ade.mjs} +104 -104
- package/{EnhanceSqlModal-7ea1b300.mjs → EnhanceSqlModal-984f045d.mjs} +67 -67
- package/ErrorTip-bb616e32.mjs +7 -0
- package/ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs +60 -0
- package/{ExtendConfigModal-a89ae052.mjs → ExtendConfigModal-7d70f362.mjs} +2 -2
- package/{FieldExtendJsonModal-32135634.mjs → FieldExtendJsonModal-bf04d70e.mjs} +2 -2
- package/{FileSelectModal-1643c8b9.mjs → FileSelectModal-ffc69d4a.mjs} +23 -23
- package/{ForeignKeyTable-7f7e28a7.mjs → ForeignKeyTable-92decaea.mjs} +3 -3
- package/{IndexTable-cdcc2b48.mjs → IndexTable-2ded2014.mjs} +3 -3
- package/JModalTip-a927f85d.mjs +49 -0
- package/{JOnlineSearchSelect-22aae934.mjs → JOnlineSearchSelect-04ec87d0.mjs} +1 -1
- package/{LeftDepart-d5615ed9.mjs → LeftDepart-52cb6743.mjs} +1 -1
- package/LeftRole-b0e0b496.mjs +86 -0
- package/{LeftUser-22baa378.mjs → LeftUser-dd4b10e2.mjs} +30 -30
- package/{LinkTableConfigModal-9242d750.mjs → LinkTableConfigModal-7eeb3e58.mjs} +43 -31
- package/{LinkTableFieldConfigModal-24adc50c.mjs → LinkTableFieldConfigModal-b078fcef.mjs} +1 -1
- package/{LinkTableListPiece-f3a8e0d7.mjs → LinkTableListPiece-e016b8e6.mjs} +1 -1
- package/{ModalFormDemo-711418db.mjs → ModalFormDemo-aaa719a7.mjs} +1 -1
- package/OnlCgformErpList-5c5acdaa.mjs +488 -0
- package/OnlCgformErpSubTable-e1b88312.mjs +441 -0
- package/{OnlCgformInnerSubTable-6c23781f.mjs → OnlCgformInnerSubTable-6b6fa15a.mjs} +38 -38
- package/OnlCgformInnerTableList-b283a525.mjs +474 -0
- package/OnlCgformTabList-91e3dd78.mjs +424 -0
- package/OnlineAutoList-84475f1b.mjs +513 -0
- package/OnlineAutoModal-95f46901.mjs +260 -0
- package/OnlineAutoTreeList-20b9ce04.mjs +523 -0
- package/OnlineCustomModal-c8b1e780.mjs +232 -0
- package/{OnlineDetailModal-d5895734.mjs → OnlineDetailModal-5b412bb9.mjs} +74 -65
- package/OnlineForm-58282699.mjs +1012 -0
- package/{OnlineFormDetail-022ca117.mjs → OnlineFormDetail-fc087725.mjs} +7 -7
- package/{OnlineFormUrlAdd-9715d70a.mjs → OnlineFormUrlAdd-bc9105bb.mjs} +9 -9
- package/{OnlineFormUrlDetail-8f864b1a.mjs → OnlineFormUrlDetail-ad912560.mjs} +11 -11
- package/{OnlineFormUrlEdit-ac985b36.mjs → OnlineFormUrlEdit-f2fa79ff.mjs} +9 -9
- package/OnlineFormUrlSuccess-76813d45.mjs +59 -0
- package/OnlineQueryForm-9248341f.mjs +484 -0
- package/{OnlineSearchFormItem-6c557343.mjs → OnlineSearchFormItem-1e437bd3.mjs} +82 -82
- package/{OnlineSelectCascade-05c40fef.mjs → OnlineSelectCascade-d631ed72.mjs} +1 -1
- package/{OnlineSubFormDetail-58e896ce.mjs → OnlineSubFormDetail-8be879b9.mjs} +52 -53
- package/{OnlineTabAutoModal-47b18ad6.mjs → OnlineTabAutoModal-c9ca3c24.mjs} +108 -95
- package/{OnlineTabDetailModal-82de1465.mjs → OnlineTabDetailModal-fd4c9a72.mjs} +36 -36
- package/OnlineTabForm-1940e88b.mjs +814 -0
- package/{OnlineTabFormDetail-8d0c40c0.mjs → OnlineTabFormDetail-2aa67564.mjs} +17 -17
- package/{PageAttributeTable-25e3b7da.mjs → PageAttributeTable-66e7b485.mjs} +108 -108
- package/PhoneLoginForm-86437a9d.mjs +214 -0
- package/{ProcessOnlineForm-148632fe.mjs → ProcessOnlineForm-98ede18d.mjs} +32 -32
- package/{QueryTable-f7bfca7f.mjs → QueryTable-65d3f54f.mjs} +3 -3
- package/SetSwitchOptions-f914bc17.mjs +62 -0
- package/ShareAddView-657f0f8b.mjs +86 -0
- package/ShareEditView-1b945fd3.mjs +92 -0
- package/ShareView-222ed3d8.mjs +80 -0
- package/ShareView.vue_vue_type_script_setup_true_lang-44fbeaff.mjs +162 -0
- package/SingleView-23b0cb4e.mjs +68 -0
- package/SingleView.vue_vue_type_style_index_0_lang-e0f2f6c0.mjs +131 -0
- package/SuperQuery-46032e66.mjs +974 -0
- package/{SuperQueryValComponent-7ad86d4b.mjs → SuperQueryValComponent-5a9ccfd4.mjs} +1 -1
- package/{SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs → SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs} +11 -11
- package/{auth.api-ea1d33d4.mjs → auth.api-53df4c33.mjs} +17 -17
- package/{auth.data-511e5197.mjs → auth.data-626c5083.mjs} +16 -12
- package/button.data-fe45d43b.mjs +12 -0
- package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
- package/{enhance.data-a67572e1.mjs → enhance.data-6601ff44.mjs} +1 -1
- package/index-19eaef11.mjs +11 -0
- package/index-1a2e8832.mjs +135 -0
- package/{index-f30613d1.mjs → index-2fb8e07f.mjs} +59 -59
- package/index-5e89258d.mjs +8 -0
- package/index-9e1e1e53.mjs +57 -0
- package/{index-30e0e923.mjs → index-a039036e.mjs} +272 -262
- package/index-c5a79b0b.mjs +219 -0
- package/index-cce225be.mjs +110 -0
- package/index-f2c2d1cf.mjs +74 -0
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/shareStore-7de6c7a6.mjs +67 -0
- package/style.css +1 -1
- package/useCgformList-f3cb9156.mjs +378 -0
- package/useExtendComponent-bb98e568.mjs +4460 -0
- package/useListButton-98908683.mjs +719 -0
- package/{useSchemas-a9c75b0f.mjs → useSchemas-b074f3a1.mjs} +33 -0
- package/{useTableSync-d7e9f18d.mjs → useTableSync-075826a1.mjs} +1 -1
- package/utils-9fce7606.mjs +16 -0
- package/AiModal-6de335e3.mjs +0 -84
- package/AuthButtonConfig-89763932.mjs +0 -154
- package/AuthButtonTree-2d87d0b3.mjs +0 -157
- package/AuthFieldTree-e326fc38.mjs +0 -232
- package/CgformCopyList-365b3e8f.mjs +0 -251
- package/CodeFileListModal-24601898.mjs +0 -159
- package/CodeGeneratorModal-f09fe903.mjs +0 -282
- package/CustomButtonList-f07bc695.mjs +0 -397
- package/JModalTip-b055ab60.mjs +0 -49
- package/LeftRole-2ed8a2bf.mjs +0 -86
- package/OnlCgformErpList-58acdfa0.mjs +0 -470
- package/OnlCgformErpSubTable-9b1e1938.mjs +0 -426
- package/OnlCgformInnerTableList-4b5e14ed.mjs +0 -458
- package/OnlCgformTabList-019ad753.mjs +0 -408
- package/OnlineAutoList-48589d09.mjs +0 -493
- package/OnlineAutoModal-c2928847.mjs +0 -239
- package/OnlineAutoTreeList-3baa1d00.mjs +0 -503
- package/OnlineCustomModal-9e17b6ce.mjs +0 -232
- package/OnlineForm-9f1153ba.mjs +0 -985
- package/OnlineFormUrlSuccess-3dfc54ab.mjs +0 -59
- package/OnlineQueryForm-eedb9a60.mjs +0 -466
- package/OnlineTabForm-27655c83.mjs +0 -817
- package/SetSwitchOptions-b2af757f.mjs +0 -62
- package/SuperQuery-a8592995.mjs +0 -967
- package/index-1d1a6e56.mjs +0 -57
- package/useCgformList-f41d4dc1.mjs +0 -426
- package/useExtendComponent-dcae5c78.mjs +0 -4399
- package/useListButton-bfac4ecf.mjs +0 -697
- /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,232 @@
|
|
|
1
|
+
var c = (o, s, r) => new Promise((m, p) => {
|
|
2
|
+
var d = (t) => {
|
|
3
|
+
try {
|
|
4
|
+
a(r.next(t));
|
|
5
|
+
} catch (l) {
|
|
6
|
+
p(l);
|
|
7
|
+
}
|
|
8
|
+
}, u = (t) => {
|
|
9
|
+
try {
|
|
10
|
+
a(r.throw(t));
|
|
11
|
+
} catch (l) {
|
|
12
|
+
p(l);
|
|
13
|
+
}
|
|
14
|
+
}, a = (t) => t.done ? m(t.value) : Promise.resolve(t.value).then(d, u);
|
|
15
|
+
a((r = r.apply(o, s)).next());
|
|
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 F, openBlock as S, createBlock as k, mergeProps as Y, withCtx as f, createVNode as R, createTextVNode as P, resolveDynamicComponent as Z } from "vue";
|
|
18
|
+
import { BasicModal as x, useModalInner as oo } from "/@/components/Modal";
|
|
19
|
+
import { g as I } from "./useExtendComponent-bb98e568.mjs";
|
|
20
|
+
import { defHttp as eo } from "/@/utils/http/axios";
|
|
21
|
+
import to from "./OnlineForm-58282699.mjs";
|
|
22
|
+
import { importViewsFile as no } from "/@/utils";
|
|
23
|
+
import { _ as ro } from "./index-9e1e1e53.mjs";
|
|
24
|
+
import "/@/components/Form/src/componentMap";
|
|
25
|
+
import "/@/utils/propTypes";
|
|
26
|
+
import "@ant-design/icons-vue";
|
|
27
|
+
import "/@/hooks/web/useMessage";
|
|
28
|
+
import "/@/components/Form/index";
|
|
29
|
+
import "lodash-es";
|
|
30
|
+
import "./constant-fa63bd66.mjs";
|
|
31
|
+
import "/@/utils/common/compUtils";
|
|
32
|
+
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
33
|
+
import "/@/utils/is";
|
|
34
|
+
import "/@/views/system/user/user.api";
|
|
35
|
+
import "/@/store/modules/user";
|
|
36
|
+
import "/@/utils/desform/customExpression";
|
|
37
|
+
import "/@/store/modules/permission";
|
|
38
|
+
import "/@/utils/dict/JDictSelectUtil";
|
|
39
|
+
import "/@/components/Table";
|
|
40
|
+
import "/@/hooks/system/useListPage";
|
|
41
|
+
import "vue-router";
|
|
42
|
+
import "/@/components/Form/src/utils/Area";
|
|
43
|
+
import "/@/components/Preview/index";
|
|
44
|
+
import "./LinkTableListPiece-e016b8e6.mjs";
|
|
45
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
46
|
+
import "/@/utils/auth";
|
|
47
|
+
import "/@/api/common/api";
|
|
48
|
+
import "/@/hooks/web/useAppInject";
|
|
49
|
+
import "/@/assets/images/placeholderImage.png";
|
|
50
|
+
import "./OnlineSelectCascade-d631ed72.mjs";
|
|
51
|
+
import "/@/components/Loading";
|
|
52
|
+
import "./JModalTip-a927f85d.mjs";
|
|
53
|
+
import "ant-design-vue";
|
|
54
|
+
import "@vueuse/core";
|
|
55
|
+
import "/@/components/jeecg/JVxeTable/types";
|
|
56
|
+
import "/@/hooks/core/useContext";
|
|
57
|
+
import "/@/utils/mitt";
|
|
58
|
+
import "./useCustomHook-acb00837.mjs";
|
|
59
|
+
import "/@/utils/cache";
|
|
60
|
+
import "./OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs";
|
|
61
|
+
const io = {
|
|
62
|
+
code: "",
|
|
63
|
+
title: "自定义弹框",
|
|
64
|
+
width: 600,
|
|
65
|
+
row: {},
|
|
66
|
+
hide: [],
|
|
67
|
+
show: [],
|
|
68
|
+
requestUrl: "",
|
|
69
|
+
tableType: "",
|
|
70
|
+
foreignKeys: "",
|
|
71
|
+
formComponent: ""
|
|
72
|
+
}, mo = z({
|
|
73
|
+
name: "OnlineCustomModal",
|
|
74
|
+
components: {
|
|
75
|
+
OnlineForm: to,
|
|
76
|
+
BasicModal: x
|
|
77
|
+
},
|
|
78
|
+
setup(o, { emit: s }) {
|
|
79
|
+
const r = i(), m = i(""), p = i("自定义弹框"), d = i(600);
|
|
80
|
+
let u = [], a = [], t = "", l = {};
|
|
81
|
+
const B = {
|
|
82
|
+
loadFormItems: "/online/cgform/api/getFormItem/",
|
|
83
|
+
optPre: "/online/cgform/api/form/"
|
|
84
|
+
}, E = { position: "relative" }, $ = i(!1), h = i(!1);
|
|
85
|
+
function N() {
|
|
86
|
+
h.value = !0;
|
|
87
|
+
}
|
|
88
|
+
const w = i(!0), [D, { setModalProps: L, closeModal: b }] = oo((e) => c(this, null, function* () {
|
|
89
|
+
L({ confirmLoading: !1 }), _(e), yield T(() => c(this, null, function* () {
|
|
90
|
+
e.formComponent ? K(e.formComponent) : yield H();
|
|
91
|
+
}));
|
|
92
|
+
}));
|
|
93
|
+
function _(e) {
|
|
94
|
+
let n = Object.assign({}, io, e);
|
|
95
|
+
m.value = n.code, p.value = n.title, d.value = n.width, u = n.hide || [], a = n.show || [], t = U(n.requestUrl), l = n.row;
|
|
96
|
+
}
|
|
97
|
+
function U(e) {
|
|
98
|
+
return e || B.optPre + m.value;
|
|
99
|
+
}
|
|
100
|
+
const g = i(!1);
|
|
101
|
+
function V() {
|
|
102
|
+
g.value = !0, w.value === !0 ? r.value.handleSubmit() : M.value.handleSubmit(), setTimeout(() => {
|
|
103
|
+
g.value = !0;
|
|
104
|
+
}, 3500);
|
|
105
|
+
}
|
|
106
|
+
function j() {
|
|
107
|
+
b();
|
|
108
|
+
}
|
|
109
|
+
function A(e) {
|
|
110
|
+
s("success", e), b();
|
|
111
|
+
}
|
|
112
|
+
function H() {
|
|
113
|
+
return c(this, null, function* () {
|
|
114
|
+
w.value = !0, yield I(h), r.value.handleCustomFormSh(a, u), r.value.handleCustomFormEdit(l, t);
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
const O = i(1);
|
|
118
|
+
J(m, q, { immediate: !0 });
|
|
119
|
+
function q() {
|
|
120
|
+
return c(this, null, function* () {
|
|
121
|
+
if (h.value = !1, !m.value)
|
|
122
|
+
return;
|
|
123
|
+
let e = yield G(), n = e.head.formTemplate;
|
|
124
|
+
O.value = n ? Number(n) : 1, T(() => c(this, null, function* () {
|
|
125
|
+
(yield I(r)).createRootProperties(e);
|
|
126
|
+
}));
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
function G() {
|
|
130
|
+
let e = `/online/cgform/api/getFormItem/${m.value}`;
|
|
131
|
+
return new Promise((n, v) => {
|
|
132
|
+
eo.get({ url: e }, { isTransformResponse: !1 }).then((y) => {
|
|
133
|
+
y.success ? n(y.result) : v(y.message);
|
|
134
|
+
}).catch(() => {
|
|
135
|
+
v();
|
|
136
|
+
});
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
const M = i(), C = Q({
|
|
140
|
+
url: "",
|
|
141
|
+
is: "",
|
|
142
|
+
row: {}
|
|
143
|
+
});
|
|
144
|
+
function K(e) {
|
|
145
|
+
w.value = !1, C.url = t, C.row = l, C.is = W(X(() => no(e)));
|
|
146
|
+
}
|
|
147
|
+
return {
|
|
148
|
+
//modal
|
|
149
|
+
registerModal: D,
|
|
150
|
+
title: p,
|
|
151
|
+
width: d,
|
|
152
|
+
modalStyle: E,
|
|
153
|
+
handleSubmit: V,
|
|
154
|
+
handleCancel: j,
|
|
155
|
+
// online表单
|
|
156
|
+
id: m,
|
|
157
|
+
onlineFormCompRef: r,
|
|
158
|
+
formTemplate: O,
|
|
159
|
+
renderSuccess: N,
|
|
160
|
+
//自定义表单
|
|
161
|
+
customFormRef: M,
|
|
162
|
+
customFormComponent: C,
|
|
163
|
+
//通用
|
|
164
|
+
open,
|
|
165
|
+
isOnlineForm: w,
|
|
166
|
+
confirmLoading: $,
|
|
167
|
+
submitLoading: g,
|
|
168
|
+
handleSuccess: A
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
function lo(o, s, r, m, p, d) {
|
|
173
|
+
const u = F("a-button"), a = F("online-form"), t = F("a-spin"), l = F("BasicModal");
|
|
174
|
+
return S(), k(l, Y({
|
|
175
|
+
title: o.title,
|
|
176
|
+
width: o.width
|
|
177
|
+
}, o.$attrs, {
|
|
178
|
+
style: o.modalStyle,
|
|
179
|
+
onRegister: o.registerModal,
|
|
180
|
+
wrapClassName: "jeecg-online-modal2",
|
|
181
|
+
onOk: o.handleSubmit
|
|
182
|
+
}), {
|
|
183
|
+
footer: f(() => [
|
|
184
|
+
R(u, {
|
|
185
|
+
key: "submit",
|
|
186
|
+
type: "primary",
|
|
187
|
+
onClick: o.handleSubmit
|
|
188
|
+
}, {
|
|
189
|
+
default: f(() => s[0] || (s[0] = [
|
|
190
|
+
P("确定")
|
|
191
|
+
])),
|
|
192
|
+
_: 1
|
|
193
|
+
}, 8, ["onClick"]),
|
|
194
|
+
R(u, {
|
|
195
|
+
key: "back",
|
|
196
|
+
onClick: o.handleCancel
|
|
197
|
+
}, {
|
|
198
|
+
default: f(() => s[1] || (s[1] = [
|
|
199
|
+
P("关闭")
|
|
200
|
+
])),
|
|
201
|
+
_: 1
|
|
202
|
+
}, 8, ["onClick"])
|
|
203
|
+
]),
|
|
204
|
+
default: f(() => [
|
|
205
|
+
R(t, { spinning: o.confirmLoading }, {
|
|
206
|
+
default: f(() => [
|
|
207
|
+
o.isOnlineForm ? (S(), k(a, {
|
|
208
|
+
key: 0,
|
|
209
|
+
ref: "onlineFormCompRef",
|
|
210
|
+
id: o.id,
|
|
211
|
+
"form-template": o.formTemplate,
|
|
212
|
+
onRendered: o.renderSuccess,
|
|
213
|
+
onSuccess: o.handleSuccess,
|
|
214
|
+
modalClass: "jeecg-online-modal2"
|
|
215
|
+
}, null, 8, ["id", "form-template", "onRendered", "onSuccess"])) : (S(), k(Z(o.customFormComponent.is), {
|
|
216
|
+
key: 1,
|
|
217
|
+
ref: "customFormRef",
|
|
218
|
+
url: o.customFormComponent.url,
|
|
219
|
+
row: o.customFormComponent.row,
|
|
220
|
+
onClose: o.handleSuccess
|
|
221
|
+
}, null, 40, ["url", "row", "onClose"]))
|
|
222
|
+
]),
|
|
223
|
+
_: 1
|
|
224
|
+
}, 8, ["spinning"])
|
|
225
|
+
]),
|
|
226
|
+
_: 1
|
|
227
|
+
}, 16, ["title", "width", "style", "onRegister", "onOk"]);
|
|
228
|
+
}
|
|
229
|
+
const oe = /* @__PURE__ */ ro(mo, [["render", lo]]);
|
|
230
|
+
export {
|
|
231
|
+
oe as default
|
|
232
|
+
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
var
|
|
1
|
+
var c = (e, i, o) => new Promise((l, n) => {
|
|
2
2
|
var p = (t) => {
|
|
3
3
|
try {
|
|
4
4
|
m(o.next(t));
|
|
5
5
|
} catch (r) {
|
|
6
|
-
|
|
6
|
+
n(r);
|
|
7
7
|
}
|
|
8
8
|
}, a = (t) => {
|
|
9
9
|
try {
|
|
10
10
|
m(o.throw(t));
|
|
11
11
|
} catch (r) {
|
|
12
|
-
|
|
12
|
+
n(r);
|
|
13
13
|
}
|
|
14
14
|
}, m = (t) => t.done ? l(t.value) : Promise.resolve(t.value).then(p, a);
|
|
15
|
-
m((o = o.apply(e,
|
|
15
|
+
m((o = o.apply(e, i)).next());
|
|
16
16
|
});
|
|
17
|
-
import { defineComponent as
|
|
18
|
-
import { BasicModal as
|
|
19
|
-
import
|
|
20
|
-
import { b as
|
|
21
|
-
import
|
|
22
|
-
import { a as
|
|
23
|
-
import { _ as
|
|
17
|
+
import { defineComponent as P, ref as v, watch as O, resolveComponent as d, openBlock as u, createBlock as b, mergeProps as E, withCtx as s, createElementVNode as L, toDisplayString as V, createCommentVNode as j, renderSlot as A, createVNode as C } from "vue";
|
|
18
|
+
import { BasicModal as W } from "/@/components/Modal";
|
|
19
|
+
import q from "./OnlineFormDetail-fc087725.mjs";
|
|
20
|
+
import { b as H } from "./useExtendComponent-bb98e568.mjs";
|
|
21
|
+
import U from "/@/components/jeecg/comment/CommentPanel.vue";
|
|
22
|
+
import { a as z } from "./constant-fa63bd66.mjs";
|
|
23
|
+
import { _ as G } from "./index-9e1e1e53.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-c592b8d8.mjs";
|
|
30
30
|
import "/@/utils/propTypes";
|
|
31
31
|
import "/@/utils/dict";
|
|
32
32
|
import "/@/utils/dict/JDictSelectUtil";
|
|
@@ -49,16 +49,16 @@ import "/@/store/modules/permission";
|
|
|
49
49
|
import "/@/components/Table";
|
|
50
50
|
import "/@/hooks/system/useListPage";
|
|
51
51
|
import "vue-router";
|
|
52
|
-
import "./LinkTableListPiece-
|
|
52
|
+
import "./LinkTableListPiece-e016b8e6.mjs";
|
|
53
53
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
54
54
|
import "/@/hooks/web/useAppInject";
|
|
55
55
|
import "/@/assets/images/placeholderImage.png";
|
|
56
|
-
import "./OnlineSelectCascade-
|
|
57
|
-
import "./JModalTip-
|
|
56
|
+
import "./OnlineSelectCascade-d631ed72.mjs";
|
|
57
|
+
import "./JModalTip-a927f85d.mjs";
|
|
58
58
|
import "ant-design-vue";
|
|
59
59
|
import "@vueuse/core";
|
|
60
|
-
import "./OnlineSubFormDetail-
|
|
61
|
-
const
|
|
60
|
+
import "./OnlineSubFormDetail-8be879b9.mjs";
|
|
61
|
+
const J = P({
|
|
62
62
|
name: "OnlineDetailModal",
|
|
63
63
|
props: {
|
|
64
64
|
id: {
|
|
@@ -70,78 +70,86 @@ const U = I({
|
|
|
70
70
|
source: {
|
|
71
71
|
type: String,
|
|
72
72
|
default: ""
|
|
73
|
+
},
|
|
74
|
+
cancelBtnCfg: {
|
|
75
|
+
type: Object,
|
|
76
|
+
default: () => ({
|
|
77
|
+
enabled: !0,
|
|
78
|
+
buttonName: "关闭",
|
|
79
|
+
buttonIcon: ""
|
|
80
|
+
})
|
|
73
81
|
}
|
|
74
82
|
},
|
|
75
83
|
components: {
|
|
76
|
-
BasicModal:
|
|
77
|
-
OnlineFormDetail:
|
|
78
|
-
CommentPanel:
|
|
84
|
+
BasicModal: W,
|
|
85
|
+
OnlineFormDetail: q,
|
|
86
|
+
CommentPanel: U
|
|
79
87
|
},
|
|
80
88
|
emits: ["success", "register", "formConfig"],
|
|
81
|
-
setup(e, { emit:
|
|
82
|
-
const o =
|
|
89
|
+
setup(e, { emit: i }) {
|
|
90
|
+
const o = v();
|
|
83
91
|
function l() {
|
|
84
92
|
o.value && o.value.reload();
|
|
85
93
|
}
|
|
86
94
|
const {
|
|
87
|
-
title:
|
|
95
|
+
title: n,
|
|
88
96
|
modalWidth: p,
|
|
89
97
|
registerModal: a,
|
|
90
98
|
cgButtonList: m,
|
|
91
99
|
handleCgButtonClick: t,
|
|
92
100
|
disableSubmit: r,
|
|
93
101
|
handleSubmit: h,
|
|
94
|
-
submitLoading:
|
|
95
|
-
handleCancel:
|
|
96
|
-
handleFormConfig:
|
|
97
|
-
onlineFormCompRef:
|
|
98
|
-
formTemplate:
|
|
99
|
-
isTreeForm:
|
|
100
|
-
pidFieldName:
|
|
101
|
-
renderSuccess:
|
|
102
|
+
submitLoading: g,
|
|
103
|
+
handleCancel: B,
|
|
104
|
+
handleFormConfig: N,
|
|
105
|
+
onlineFormCompRef: S,
|
|
106
|
+
formTemplate: w,
|
|
107
|
+
isTreeForm: R,
|
|
108
|
+
pidFieldName: F,
|
|
109
|
+
renderSuccess: M,
|
|
102
110
|
formRendered: T,
|
|
103
|
-
showSub:
|
|
104
|
-
tableName:
|
|
105
|
-
formDataId:
|
|
106
|
-
enableComment:
|
|
107
|
-
themeTemplate:
|
|
108
|
-
} =
|
|
109
|
-
|
|
110
|
-
function
|
|
111
|
-
return
|
|
111
|
+
showSub: k,
|
|
112
|
+
tableName: y,
|
|
113
|
+
formDataId: _,
|
|
114
|
+
enableComment: D,
|
|
115
|
+
themeTemplate: I
|
|
116
|
+
} = H(!1, { emit: i }, l);
|
|
117
|
+
O(() => e.id, $, { immediate: !0 });
|
|
118
|
+
function $() {
|
|
119
|
+
return c(this, null, function* () {
|
|
112
120
|
if (T.value = !1, !e.id)
|
|
113
121
|
return;
|
|
114
|
-
let
|
|
115
|
-
e.source ===
|
|
122
|
+
let f = {};
|
|
123
|
+
e.source === z && (f.tabletype = 3), yield N(e.id, f);
|
|
116
124
|
});
|
|
117
125
|
}
|
|
118
126
|
return {
|
|
119
|
-
title:
|
|
120
|
-
onlineFormCompRef:
|
|
121
|
-
renderSuccess:
|
|
127
|
+
title: n,
|
|
128
|
+
onlineFormCompRef: S,
|
|
129
|
+
renderSuccess: M,
|
|
122
130
|
registerModal: a,
|
|
123
131
|
handleSubmit: h,
|
|
124
|
-
handleCancel:
|
|
132
|
+
handleCancel: B,
|
|
125
133
|
modalWidth: p,
|
|
126
|
-
formTemplate:
|
|
134
|
+
formTemplate: w,
|
|
127
135
|
disableSubmit: r,
|
|
128
136
|
cgButtonList: m,
|
|
129
137
|
handleCgButtonClick: t,
|
|
130
|
-
isTreeForm:
|
|
131
|
-
pidFieldName:
|
|
132
|
-
submitLoading:
|
|
133
|
-
showSub:
|
|
134
|
-
tableName:
|
|
135
|
-
formDataId:
|
|
136
|
-
enableComment:
|
|
138
|
+
isTreeForm: R,
|
|
139
|
+
pidFieldName: F,
|
|
140
|
+
submitLoading: g,
|
|
141
|
+
showSub: k,
|
|
142
|
+
tableName: y,
|
|
143
|
+
formDataId: _,
|
|
144
|
+
enableComment: D,
|
|
137
145
|
commentPanelRef: o,
|
|
138
|
-
themeTemplate:
|
|
146
|
+
themeTemplate: I
|
|
139
147
|
};
|
|
140
148
|
}
|
|
141
149
|
});
|
|
142
|
-
function
|
|
150
|
+
function K(e, i, o, l, n, p) {
|
|
143
151
|
const a = d("a-button"), m = d("online-form-detail"), t = d("comment-panel"), r = d("BasicModal");
|
|
144
|
-
return
|
|
152
|
+
return u(), b(r, E({
|
|
145
153
|
title: e.title,
|
|
146
154
|
width: e.modalWidth,
|
|
147
155
|
maxHeight: 600,
|
|
@@ -152,25 +160,26 @@ function z(e, n, o, l, i, p) {
|
|
|
152
160
|
wrapClassName: "jeecg-online-detail-modal"
|
|
153
161
|
}), {
|
|
154
162
|
footer: s(() => [
|
|
155
|
-
|
|
163
|
+
e.cancelBtnCfg.enabled ? (u(), b(a, {
|
|
156
164
|
key: "back",
|
|
157
165
|
onClick: e.handleCancel
|
|
158
166
|
}, {
|
|
159
167
|
default: s(() => [
|
|
160
|
-
|
|
168
|
+
L("span", null, V(e.cancelBtnCfg.buttonName), 1)
|
|
161
169
|
]),
|
|
162
170
|
_: 1
|
|
163
|
-
}, 8, ["onClick"])
|
|
171
|
+
}, 8, ["onClick"])) : j("", !0),
|
|
172
|
+
A(e.$slots, "footerBtn")
|
|
164
173
|
]),
|
|
165
174
|
comment: s(() => [
|
|
166
|
-
|
|
175
|
+
C(t, {
|
|
167
176
|
ref: "commentPanelRef",
|
|
168
177
|
tableName: e.tableName,
|
|
169
178
|
dataId: e.formDataId
|
|
170
179
|
}, null, 8, ["tableName", "dataId"])
|
|
171
180
|
]),
|
|
172
181
|
default: s(() => [
|
|
173
|
-
|
|
182
|
+
C(m, {
|
|
174
183
|
ref: "onlineFormCompRef",
|
|
175
184
|
id: e.id,
|
|
176
185
|
"form-template": e.formTemplate,
|
|
@@ -179,10 +188,10 @@ function z(e, n, o, l, i, p) {
|
|
|
179
188
|
onRendered: e.renderSuccess
|
|
180
189
|
}, null, 8, ["id", "form-template", "show-sub", "themeTemplate", "onRendered"])
|
|
181
190
|
]),
|
|
182
|
-
_:
|
|
191
|
+
_: 3
|
|
183
192
|
}, 16, ["title", "width", "enableComment", "onRegister"]);
|
|
184
193
|
}
|
|
185
|
-
const
|
|
194
|
+
const We = /* @__PURE__ */ G(J, [["render", K]]);
|
|
186
195
|
export {
|
|
187
|
-
|
|
196
|
+
We as default
|
|
188
197
|
};
|