@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.
- package/{AccountLoginForm-79fa7b01.mjs → AccountLoginForm-634a76b1.mjs} +1 -1
- package/{AiModal-942b59ec.mjs → AiModal-204a2146.mjs} +1 -1
- package/{AppForgetPassword-d762e5b3.mjs → AppForgetPassword-f9a6258a.mjs} +2 -2
- package/{AppLogin-41372985.mjs → AppLogin-bf783eab.mjs} +9 -9
- package/{AppLoginHeader-3b6fa33d.mjs → AppLoginHeader-55594326.mjs} +1 -1
- package/{AppNameEmail-8dfbad62.mjs → AppNameEmail-54026ea8.mjs} +2 -2
- package/{AppRegister-433c54db.mjs → AppRegister-043efc45.mjs} +3 -3
- package/{AppTenant-e49dfa9b.mjs → AppTenant-c7bb8700.mjs} +2 -2
- package/{AppThirdForm-7b75b4fc.mjs → AppThirdForm-5e7e1144.mjs} +1 -1
- package/{AuthButtonConfig-a0f59cb5.mjs → AuthButtonConfig-4887be0d.mjs} +1 -1
- package/{AuthButtonTree-f0a5cc0b.mjs → AuthButtonTree-7e47b44b.mjs} +1 -1
- package/{AuthDataConfig-647c4a27.mjs → AuthDataConfig-3cd10ca2.mjs} +1 -1
- package/{AuthDataTree-b80a3ea5.mjs → AuthDataTree-714c259c.mjs} +1 -1
- package/{AuthFieldConfig-d36a1b2d.mjs → AuthFieldConfig-bb65f78b.mjs} +1 -1
- package/{AuthFieldTree-dba6af79.mjs → AuthFieldTree-3e38b12b.mjs} +1 -1
- package/{AuthManagerDrawer-5acbd451.mjs → AuthManagerDrawer-dee39b07.mjs} +4 -4
- package/{AuthSetterModal-95b5f616.mjs → AuthSetterModal-f176c221.mjs} +7 -7
- package/{CgformAddressModal-5d889870.mjs → CgformAddressModal-a3903b24.mjs} +1 -1
- package/{CgformCopyList-cc5f76cd.mjs → CgformCopyList-4be1000f.mjs} +37 -37
- package/{CgformModal-cebc698b.mjs → CgformModal-115710a6.mjs} +10 -10
- package/{CgreportAigcModal-d1e62385.mjs → CgreportAigcModal-3bef8abe.mjs} +1 -1
- package/{CgreportModal-2e4421e6.mjs → CgreportModal-0cc48587.mjs} +143 -139
- package/{CheckDictTable-8fb7299c.mjs → CheckDictTable-65157c48.mjs} +1 -1
- package/{CodeFileListModal-25fad54f.mjs → CodeFileListModal-305c1a62.mjs} +2 -2
- package/CodeFileViewModal-320d7acf.mjs +269 -0
- package/CodeGeneratorModal-2ba18bd1.mjs +298 -0
- package/{CustomButtonList-26490688.mjs → CustomButtonList-98db8fd2.mjs} +1 -1
- package/{DBAttributeTable-dea8ab11.mjs → DBAttributeTable-56701599.mjs} +40 -39
- package/{DbToOnlineModal-60317a16.mjs → DbToOnlineModal-a82cdeb5.mjs} +1 -1
- package/{DetailForm-b92a5e9d.mjs → DetailForm-7d4f630e.mjs} +163 -152
- package/{DropMenuItem-82213be6.mjs → DropMenuItem-b3a9cd6a.mjs} +1 -1
- package/{EnhanceJavaModal-6ebefc8b.mjs → EnhanceJavaModal-469e645e.mjs} +1 -1
- package/{EnhanceJsHistory-8d9b86ca.mjs → EnhanceJsHistory-bb6ba865.mjs} +1 -1
- package/{EnhanceJsModal-9439e6f8.mjs → EnhanceJsModal-b0527cbf.mjs} +2 -2
- package/{EnhanceSqlModal-ea4592bf.mjs → EnhanceSqlModal-c6e8bce1.mjs} +1 -1
- package/{ExtendConfigModal-f509db46.mjs → ExtendConfigModal-7b00b49a.mjs} +1 -1
- package/{FieldExtendJsonModal-73bab5b5.mjs → FieldExtendJsonModal-536e6d5b.mjs} +2 -2
- package/{FileSelectModal-49d6dade.mjs → FileSelectModal-eb026170.mjs} +1 -1
- package/{ForeignKeyTable-330963c1.mjs → ForeignKeyTable-97a5827f.mjs} +1 -1
- package/{IndexTable-c0478faa.mjs → IndexTable-4d350e4e.mjs} +1 -1
- package/{JModalTip-b1d19eaa.mjs → JModalTip-c3e6726c.mjs} +1 -1
- package/{JOnlineSearchSelect-97662e1b.mjs → JOnlineSearchSelect-ffeac61d.mjs} +1 -1
- package/{LeftDepart-4b1003f0.mjs → LeftDepart-a727aab7.mjs} +1 -1
- package/{LeftRole-8486ba4f.mjs → LeftRole-b533dcf6.mjs} +1 -1
- package/{LeftUser-09894a2f.mjs → LeftUser-aaac52cb.mjs} +1 -1
- package/{LinkTableConfigModal-cd0980e9.mjs → LinkTableConfigModal-4053b62d.mjs} +1 -1
- package/{LinkTableFieldConfigModal-f4106ab7.mjs → LinkTableFieldConfigModal-93552099.mjs} +1 -1
- package/{LinkTableListPiece-4187ad7d.mjs → LinkTableListPiece-0f4ca559.mjs} +1 -1
- package/{ModalFormDemo-4ec79769.mjs → ModalFormDemo-b8478356.mjs} +1 -1
- package/OnlCgformErpList-b0605798.mjs +527 -0
- package/{OnlCgformErpSubTable-421e2051.mjs → OnlCgformErpSubTable-89699bc9.mjs} +42 -41
- package/{OnlCgformInnerSubTable-9616ebf2.mjs → OnlCgformInnerSubTable-f2722f77.mjs} +105 -102
- package/{OnlCgformInnerTableList-5ed887e4.mjs → OnlCgformInnerTableList-992aa7e9.mjs} +20 -19
- package/{OnlCgformTabList-c03a1d0a.mjs → OnlCgformTabList-882a0e0c.mjs} +20 -19
- package/{OnlineAutoList-e5a61211.mjs → OnlineAutoList-caedb54a.mjs} +19 -18
- package/{OnlineAutoModal-38f2d522.mjs → OnlineAutoModal-a0d1a6b8.mjs} +7 -7
- package/{OnlineAutoTreeList-16fa962f.mjs → OnlineAutoTreeList-624106c1.mjs} +19 -18
- package/OnlineCustomModal-f4e17bed.mjs +246 -0
- package/{OnlineDetailModal-79085ba8.mjs → OnlineDetailModal-35394778.mjs} +44 -43
- package/OnlineForm-86b5966d.mjs +1079 -0
- package/OnlineFormDetail-4b3ad130.mjs +349 -0
- package/{OnlineFormUrlAdd-2e05ba0f.mjs → OnlineFormUrlAdd-708c91fb.mjs} +9 -9
- package/{OnlineFormUrlDetail-06b2d9e6.mjs → OnlineFormUrlDetail-5c8efaeb.mjs} +14 -13
- package/{OnlineFormUrlEdit-77ac4bba.mjs → OnlineFormUrlEdit-8f08474e.mjs} +9 -9
- package/{OnlineFormUrlSuccess-cb3f7be4.mjs → OnlineFormUrlSuccess-0c2431a4.mjs} +1 -1
- package/{OnlineQueryForm-528af6ed.mjs → OnlineQueryForm-3017a4ca.mjs} +119 -120
- package/{OnlineSearchFormItem-51eefaf4.mjs → OnlineSearchFormItem-1b54585f.mjs} +2 -2
- package/{OnlineSelectCascade-b218691c.mjs → OnlineSelectCascade-fab4426d.mjs} +61 -55
- package/{OnlineSubFormDetail-a1b7f33f.mjs → OnlineSubFormDetail-bbc48c3e.mjs} +48 -45
- package/{OnlineTabAutoModal-1c7c4ed2.mjs → OnlineTabAutoModal-b0f9fce8.mjs} +6 -6
- package/{OnlineTabDetailModal-7c45e727.mjs → OnlineTabDetailModal-401a26ad.mjs} +38 -37
- package/{OnlineTabForm-9682158f.mjs → OnlineTabForm-5c04cbc5.mjs} +22 -22
- package/OnlineTabFormDetail-2a28febf.mjs +328 -0
- package/{PageAttributeTable-21314341.mjs → PageAttributeTable-18aabf81.mjs} +5 -5
- package/{PhoneLoginForm-c3c16f16.mjs → PhoneLoginForm-4a9d7869.mjs} +18 -18
- package/ProcessOnlineForm-0ddce4fb.mjs +218 -0
- package/{QueryTable-413d1366.mjs → QueryTable-342fd89a.mjs} +1 -1
- package/{SetSwitchOptions-82fd6265.mjs → SetSwitchOptions-e1d5a6b4.mjs} +1 -1
- package/{ShareAddView-a2dba2ef.mjs → ShareAddView-a5154da3.mjs} +22 -21
- package/{ShareEditView-ecd590dc.mjs → ShareEditView-cf761cf3.mjs} +22 -21
- package/{ShareView-84f333e7.mjs → ShareView-3b2f5457.mjs} +20 -19
- package/{ShareView.vue_vue_type_script_setup_true_lang-9a3a259e.mjs → ShareView.vue_vue_type_script_setup_true_lang-9ea579c2.mjs} +2 -2
- package/{SingleView-d4f29169.mjs → SingleView-3cab20a9.mjs} +15 -14
- package/{SingleView.vue_vue_type_style_index_0_lang-40ea7e64.mjs → SingleView.vue_vue_type_style_index_0_lang-24d417dc.mjs} +4 -4
- package/{SuperQuery-290f5080.mjs → SuperQuery-270b0968.mjs} +39 -39
- package/TaskOpinionList-60cf4080.mjs +13 -0
- package/{aiModal-6e338c79.mjs → aiModal-e7362c3f.mjs} +2 -2
- package/{index-bc0d747e.mjs → index-6d1a78e2.mjs} +2 -2
- package/index-740b2c4a.mjs +57 -0
- package/{index-7bab525f.mjs → index-8fd12d0f.mjs} +3 -3
- package/{index-7890e2b4.mjs → index-b5fe9bd4.mjs} +1 -1
- package/{index-9bebbfe5.mjs → index-b811abb9.mjs} +2 -2
- package/{index-c5737cbb.mjs → index-d95bb7c2.mjs} +4 -4
- package/{index-254a82b7.mjs → index-e2c3e6f3.mjs} +129 -123
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-6d5547ff.mjs +410 -0
- package/{useExtendComponent-d1db211d.mjs → useExtendComponent-95ce0719.mjs} +405 -405
- package/{useListButton-7f9674a0.mjs → useListButton-73071548.mjs} +21 -21
- package/CodeFileViewModal-12299ab5.mjs +0 -253
- package/CodeGeneratorModal-791b1695.mjs +0 -281
- package/OnlCgformErpList-63089149.mjs +0 -498
- package/OnlineCustomModal-7e31297e.mjs +0 -232
- package/OnlineForm-0438f4bf.mjs +0 -1012
- package/OnlineFormDetail-76d243ed.mjs +0 -348
- package/OnlineTabFormDetail-b8650175.mjs +0 -327
- package/ProcessOnlineForm-d6113dec.mjs +0 -188
- package/README.md +0 -26
- package/index-30c0a14f.mjs +0 -57
- package/useCgformList-52631580.mjs +0 -395
- /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
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
var ae = Object.defineProperty;
|
|
2
|
+
var j = Object.getOwnPropertySymbols;
|
|
3
|
+
var le = Object.prototype.hasOwnProperty, me = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var N = (i, a, r) => a in i ? ae(i, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : i[a] = r, V = (i, a) => {
|
|
5
|
+
for (var r in a || (a = {}))
|
|
6
|
+
le.call(a, r) && N(i, r, a[r]);
|
|
7
|
+
if (j)
|
|
8
|
+
for (var r of j(a))
|
|
9
|
+
me.call(a, r) && N(i, r, a[r]);
|
|
10
|
+
return i;
|
|
11
|
+
};
|
|
12
|
+
var k = (i, a, r) => new Promise((o, d) => {
|
|
13
|
+
var u = (m) => {
|
|
14
|
+
try {
|
|
15
|
+
b(r.next(m));
|
|
16
|
+
} catch (g) {
|
|
17
|
+
d(g);
|
|
18
|
+
}
|
|
19
|
+
}, s = (m) => {
|
|
20
|
+
try {
|
|
21
|
+
b(r.throw(m));
|
|
22
|
+
} catch (g) {
|
|
23
|
+
d(g);
|
|
24
|
+
}
|
|
25
|
+
}, b = (m) => m.done ? o(m.value) : Promise.resolve(m.value).then(u, s);
|
|
26
|
+
b((r = r.apply(i, a)).next());
|
|
27
|
+
});
|
|
28
|
+
import { useMessage as se } from "/@/hooks/web/useMessage";
|
|
29
|
+
import { nextTick as ce, ref as c, reactive as R, watch as ue, resolveComponent as h, openBlock as p, createElementBlock as x, createVNode as w, createCommentVNode as I, createBlock as F, withCtx as U, Fragment as fe, renderList as pe, normalizeStyle as de, renderSlot as he } from "vue";
|
|
30
|
+
import { Loading as be } from "/@/components/Loading";
|
|
31
|
+
import { getToken as ge } from "/@/utils/auth";
|
|
32
|
+
import { goJmReportViewPage as _e } from "/@/utils";
|
|
33
|
+
import { PrinterOutlined as ye } from "@ant-design/icons-vue";
|
|
34
|
+
import Se from "./DetailForm-7d4f630e.mjs";
|
|
35
|
+
import Te from "./OnlineSubFormDetail-bbc48c3e.mjs";
|
|
36
|
+
import { m as xe, u as Ce } from "./useExtendComponent-95ce0719.mjs";
|
|
37
|
+
import { defHttp as ke } from "/@/utils/http/axios";
|
|
38
|
+
import { E as we } from "./constant-fa63bd66.mjs";
|
|
39
|
+
import { useAppInject as Fe } from "/@/hooks/web/useAppInject";
|
|
40
|
+
import { buildShortUUID as Pe } from "/@/utils/uuid";
|
|
41
|
+
import { _ as ve } from "./index-740b2c4a.mjs";
|
|
42
|
+
import "/@/utils/propTypes";
|
|
43
|
+
import "/@/utils/dict";
|
|
44
|
+
import "/@/utils/dict/JDictSelectUtil";
|
|
45
|
+
import "/@/utils/dict/index";
|
|
46
|
+
import "/@/api/common/api";
|
|
47
|
+
import "/@/components/Form/src/utils/Area";
|
|
48
|
+
import "/@/utils/common/compUtils";
|
|
49
|
+
import "/@/components/Preview/index";
|
|
50
|
+
import "/@/components/Markdown";
|
|
51
|
+
import "/@/components/Form/index";
|
|
52
|
+
import "/@/components/Form/src/componentMap";
|
|
53
|
+
import "/@/components/Modal";
|
|
54
|
+
import "lodash-es";
|
|
55
|
+
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
56
|
+
import "/@/utils/is";
|
|
57
|
+
import "/@/views/system/user/user.api";
|
|
58
|
+
import "/@/store/modules/user";
|
|
59
|
+
import "/@/utils/desform/customExpression";
|
|
60
|
+
import "/@/store/modules/permission";
|
|
61
|
+
import "/@/components/Table";
|
|
62
|
+
import "/@/hooks/system/useListPage";
|
|
63
|
+
import "vue-router";
|
|
64
|
+
import "./LinkTableListPiece-0f4ca559.mjs";
|
|
65
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
66
|
+
import "/@/assets/images/placeholderImage.png";
|
|
67
|
+
import "./OnlineSelectCascade-fab4426d.mjs";
|
|
68
|
+
import "./JModalTip-c3e6726c.mjs";
|
|
69
|
+
import "ant-design-vue";
|
|
70
|
+
import "@vueuse/core";
|
|
71
|
+
function De() {
|
|
72
|
+
const i = {}, a = {
|
|
73
|
+
setFieldsValue: "<m> 设置表单控件的值",
|
|
74
|
+
getFieldsValue: "<m> 获取表单控件的值",
|
|
75
|
+
sh: "<p> 表单控件的显示隐藏状态",
|
|
76
|
+
isUpdate: "<p> 判断是否为编辑模式",
|
|
77
|
+
isDetail: "<p> 判断是否为详情模式"
|
|
78
|
+
}, r = new Proxy(a, {
|
|
79
|
+
get(u, s) {
|
|
80
|
+
return Reflect.get(i, s);
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
function o(u, s) {
|
|
84
|
+
i[u] = s;
|
|
85
|
+
}
|
|
86
|
+
function d(u) {
|
|
87
|
+
Object.keys(u).map((s) => {
|
|
88
|
+
i[s] = u[s];
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
return o("$nextTick", ce), o("addObject2Context", o), { onlineFormDetailContext: r, addObject2Context: o, resetContext: d };
|
|
92
|
+
}
|
|
93
|
+
const Oe = {
|
|
94
|
+
name: "OnlineFormDetail",
|
|
95
|
+
components: {
|
|
96
|
+
DetailForm: Se,
|
|
97
|
+
Loading: be,
|
|
98
|
+
PrinterOutlined: ye,
|
|
99
|
+
OnlineSubFormDetail: Te
|
|
100
|
+
},
|
|
101
|
+
props: {
|
|
102
|
+
id: {
|
|
103
|
+
type: String,
|
|
104
|
+
default: ""
|
|
105
|
+
},
|
|
106
|
+
formTemplate: {
|
|
107
|
+
type: Number,
|
|
108
|
+
default: 1
|
|
109
|
+
},
|
|
110
|
+
disabled: {
|
|
111
|
+
type: Boolean,
|
|
112
|
+
default: !1
|
|
113
|
+
},
|
|
114
|
+
isTree: {
|
|
115
|
+
type: Boolean,
|
|
116
|
+
default: !1
|
|
117
|
+
},
|
|
118
|
+
pidField: {
|
|
119
|
+
type: String,
|
|
120
|
+
default: ""
|
|
121
|
+
},
|
|
122
|
+
submitTip: {
|
|
123
|
+
type: Boolean,
|
|
124
|
+
default: !0
|
|
125
|
+
},
|
|
126
|
+
showSub: {
|
|
127
|
+
type: Boolean,
|
|
128
|
+
default: !0
|
|
129
|
+
},
|
|
130
|
+
themeTemplate: {
|
|
131
|
+
type: String,
|
|
132
|
+
default: ""
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
emits: ["success", "rendered"],
|
|
136
|
+
setup(i, { emit: a }) {
|
|
137
|
+
const { createMessage: r } = se(), { getIsMobile: o } = Fe(), d = c(""), u = c(!0), s = c(!1), b = c(1), m = c({}), g = c(o.value ? "auto" : 300), P = c(340), v = c(!o.value);
|
|
138
|
+
let _ = {};
|
|
139
|
+
const y = R({}), l = R({
|
|
140
|
+
reportPrintShow: 0,
|
|
141
|
+
reportPrintUrl: "",
|
|
142
|
+
joinQuery: 0,
|
|
143
|
+
modelFullscreen: 0,
|
|
144
|
+
modalMinWidth: ""
|
|
145
|
+
}), { detailFormSchemas: S, hasSubTable: B, subTabInfo: M, refMap: H, showStatus: D, subDataSource: O, createFormSchemas: L, formSpan: K } = xe(i), z = c(Pe());
|
|
146
|
+
function A(e) {
|
|
147
|
+
let n = { reportPrintShow: 0, reportPrintUrl: "", joinQuery: 0, modelFullscreen: 1, modalMinWidth: "" };
|
|
148
|
+
e && (n = JSON.parse(e)), Object.keys(n).map((t) => {
|
|
149
|
+
l[t] = n[t];
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
const { onlineFormDetailContext: E, resetContext: Q } = De();
|
|
153
|
+
let { EnhanceJS: C, initCgEnhanceJs: W } = Ce(E, !1);
|
|
154
|
+
function X(e) {
|
|
155
|
+
return k(this, null, function* () {
|
|
156
|
+
b.value = e.head.tableType, d.value = e.head.tableName, u.value = e.head.tableType == 1, A(e.head.extConfigJson), L(e.schema.properties), C = W(e.enhanceJs), a("rendered", l);
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
function q(e, n) {
|
|
160
|
+
return k(this, null, function* () {
|
|
161
|
+
yield Z(n), J(!0);
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
function G(e) {
|
|
165
|
+
let n = `/online/cgform/api/detail/${i.id}/${e}`;
|
|
166
|
+
return new Promise((t, f) => {
|
|
167
|
+
ke.get({ url: n }, { isTransformResponse: !1 }).then((T) => {
|
|
168
|
+
T.success ? t(T.result) : (f(), r.warning(T.message));
|
|
169
|
+
}).catch(() => {
|
|
170
|
+
f();
|
|
171
|
+
});
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
function J(e) {
|
|
175
|
+
Object.keys(D).map((n) => {
|
|
176
|
+
D[n] = e;
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
function Y() {
|
|
180
|
+
J(!1), setTimeout(() => {
|
|
181
|
+
J(!0);
|
|
182
|
+
}, 300);
|
|
183
|
+
}
|
|
184
|
+
function Z(e) {
|
|
185
|
+
return k(this, null, function* () {
|
|
186
|
+
_ = yield G(e.id), S.value.filter((t) => t.hidden).forEach((t) => t.hidden = !1), Object.keys(y).forEach(function(t) {
|
|
187
|
+
delete y[t];
|
|
188
|
+
}), re({ buttonCode: "loaded" }), m.value = V({}, _), $(_);
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
function $(e) {
|
|
192
|
+
e || (e = {});
|
|
193
|
+
let n = Object.keys(O.value);
|
|
194
|
+
if (n && n.length > 0) {
|
|
195
|
+
let t = {};
|
|
196
|
+
for (let f of n)
|
|
197
|
+
t[f] = e[f] || [];
|
|
198
|
+
O.value = t;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
function ee(e) {
|
|
202
|
+
return "online_" + e + ":";
|
|
203
|
+
}
|
|
204
|
+
function te() {
|
|
205
|
+
let e = l.reportPrintUrl, n = m.value;
|
|
206
|
+
if (n) {
|
|
207
|
+
let t = n.id, f = ge();
|
|
208
|
+
_e(e, t, f);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
function oe(e) {
|
|
212
|
+
let n = m.value, t = ne(n, e);
|
|
213
|
+
return t && (t = t + "__" + z.value), t;
|
|
214
|
+
}
|
|
215
|
+
function ne(e, n) {
|
|
216
|
+
if (e) {
|
|
217
|
+
let t = e[n];
|
|
218
|
+
return !t && t !== 0 && (t = e[n.toLowerCase()], !t && t !== 0 && (t = e[n.toUpperCase()])), t;
|
|
219
|
+
}
|
|
220
|
+
return "";
|
|
221
|
+
}
|
|
222
|
+
function re({ buttonCode: e }) {
|
|
223
|
+
C && C[e] && C[e].call(E, E);
|
|
224
|
+
}
|
|
225
|
+
ue(y, (e) => {
|
|
226
|
+
Object.entries(e).forEach(([n, t]) => {
|
|
227
|
+
if (t == !1) {
|
|
228
|
+
const f = S.value.find((T) => T.field === n);
|
|
229
|
+
f && (f.hidden = !0);
|
|
230
|
+
}
|
|
231
|
+
});
|
|
232
|
+
});
|
|
233
|
+
const ie = {
|
|
234
|
+
setFieldsValue: (e) => {
|
|
235
|
+
Object.entries(e).forEach(([n, t]) => {
|
|
236
|
+
_[n] = t;
|
|
237
|
+
});
|
|
238
|
+
},
|
|
239
|
+
getFieldsValue: () => V({}, _),
|
|
240
|
+
sh: y,
|
|
241
|
+
isUpdate: c(!1),
|
|
242
|
+
isDetail: c(!0)
|
|
243
|
+
};
|
|
244
|
+
return Q(ie), {
|
|
245
|
+
detailFormSchemas: S,
|
|
246
|
+
formData: m,
|
|
247
|
+
formSpan: K,
|
|
248
|
+
//主表
|
|
249
|
+
tableName: d,
|
|
250
|
+
loading: s,
|
|
251
|
+
//子表
|
|
252
|
+
hasSubTable: B,
|
|
253
|
+
subTabInfo: M,
|
|
254
|
+
subFormHeight: g,
|
|
255
|
+
subTableHeight: P,
|
|
256
|
+
refMap: H,
|
|
257
|
+
onTabChange: Y,
|
|
258
|
+
//一对多子表
|
|
259
|
+
subDataSource: O,
|
|
260
|
+
getSubTableAuthPre: ee,
|
|
261
|
+
//父组件调用
|
|
262
|
+
show: q,
|
|
263
|
+
createRootProperties: X,
|
|
264
|
+
// 扩展配置
|
|
265
|
+
onOpenReportPrint: te,
|
|
266
|
+
onlineExtConfigJson: l,
|
|
267
|
+
getSubTableForeignKeyValue: oe,
|
|
268
|
+
showStatus: D,
|
|
269
|
+
ERP: we,
|
|
270
|
+
rowNumber: v
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
}, Ee = ["id"], Je = {
|
|
274
|
+
key: 0,
|
|
275
|
+
style: { "text-align": "right", position: "absolute", top: "15px", right: "20px", "z-index": "999" }
|
|
276
|
+
}, Ve = { key: 1 };
|
|
277
|
+
function je(i, a, r, o, d, u) {
|
|
278
|
+
const s = h("PrinterOutlined"), b = h("detail-form"), m = h("online-sub-form-detail"), g = h("JVxeTable"), P = h("a-spin"), v = h("a-tab-pane"), _ = h("a-tabs"), y = h("Loading");
|
|
279
|
+
return p(), x("div", {
|
|
280
|
+
id: o.tableName + "_form"
|
|
281
|
+
}, [
|
|
282
|
+
o.formData.id && o.onlineExtConfigJson.reportPrintShow ? (p(), x("div", Je, [
|
|
283
|
+
w(s, {
|
|
284
|
+
title: "打印",
|
|
285
|
+
onClick: o.onOpenReportPrint,
|
|
286
|
+
style: { "font-size": "16px" }
|
|
287
|
+
}, null, 8, ["onClick"])
|
|
288
|
+
])) : I("", !0),
|
|
289
|
+
w(b, {
|
|
290
|
+
schemas: o.detailFormSchemas,
|
|
291
|
+
data: o.formData,
|
|
292
|
+
span: o.formSpan
|
|
293
|
+
}, null, 8, ["schemas", "data", "span"]),
|
|
294
|
+
r.themeTemplate !== o.ERP && o.hasSubTable && r.showSub ? (p(), F(_, {
|
|
295
|
+
key: 1,
|
|
296
|
+
onChange: o.onTabChange
|
|
297
|
+
}, {
|
|
298
|
+
default: U(() => [
|
|
299
|
+
(p(!0), x(fe, null, pe(o.subTabInfo, (l, S) => (p(), F(v, {
|
|
300
|
+
tab: l.describe,
|
|
301
|
+
key: S + "",
|
|
302
|
+
forceRender: !0
|
|
303
|
+
}, {
|
|
304
|
+
default: U(() => [
|
|
305
|
+
l.relationType == 1 ? (p(), x("div", {
|
|
306
|
+
key: 0,
|
|
307
|
+
style: de({ "overflow-y": "auto", "overflow-x": "hidden", "max-height": o.subFormHeight + "px" })
|
|
308
|
+
}, [
|
|
309
|
+
w(m, {
|
|
310
|
+
table: l.key,
|
|
311
|
+
"form-template": r.formTemplate,
|
|
312
|
+
"main-id": o.getSubTableForeignKeyValue(l.foreignKey),
|
|
313
|
+
properties: l.properties
|
|
314
|
+
}, null, 8, ["table", "form-template", "main-id", "properties"])
|
|
315
|
+
], 4)) : (p(), x("div", Ve, [
|
|
316
|
+
o.showStatus[l.key] ? (p(), F(g, {
|
|
317
|
+
key: 0,
|
|
318
|
+
ref_for: !0,
|
|
319
|
+
ref: o.refMap[l.key],
|
|
320
|
+
"keep-source": "",
|
|
321
|
+
"row-number": o.rowNumber,
|
|
322
|
+
"row-selection": "",
|
|
323
|
+
height: o.subTableHeight,
|
|
324
|
+
disabled: !0,
|
|
325
|
+
columns: l.columns,
|
|
326
|
+
dataSource: o.subDataSource[l.key],
|
|
327
|
+
authPre: o.getSubTableAuthPre(l.key)
|
|
328
|
+
}, null, 8, ["row-number", "height", "columns", "dataSource", "authPre"])) : (p(), F(P, {
|
|
329
|
+
key: 1,
|
|
330
|
+
spinning: !0
|
|
331
|
+
}))
|
|
332
|
+
]))
|
|
333
|
+
]),
|
|
334
|
+
_: 2
|
|
335
|
+
}, 1032, ["tab"]))), 128))
|
|
336
|
+
]),
|
|
337
|
+
_: 1
|
|
338
|
+
}, 8, ["onChange"])) : I("", !0),
|
|
339
|
+
w(y, {
|
|
340
|
+
loading: o.loading,
|
|
341
|
+
absolute: !1
|
|
342
|
+
}, null, 8, ["loading"]),
|
|
343
|
+
he(i.$slots, "bottom")
|
|
344
|
+
], 8, Ee);
|
|
345
|
+
}
|
|
346
|
+
const wt = /* @__PURE__ */ ve(Oe, [["render", je]]);
|
|
347
|
+
export {
|
|
348
|
+
wt as default
|
|
349
|
+
};
|
|
@@ -5,7 +5,7 @@ import "/@/components/Form/index";
|
|
|
5
5
|
import "/@/utils/http/axios";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "/@/utils";
|
|
8
|
-
import { u as U } from "./useExtendComponent-
|
|
8
|
+
import { u as U } from "./useExtendComponent-95ce0719.mjs";
|
|
9
9
|
import "/@/components/Loading";
|
|
10
10
|
import "/@/components/jeecg/JVxeTable/types";
|
|
11
11
|
import "/@/utils/auth";
|
|
@@ -19,12 +19,12 @@ import "/@/store/modules/user";
|
|
|
19
19
|
import "/@/hooks/web/useAppInject";
|
|
20
20
|
import "/@/utils/is";
|
|
21
21
|
import "/@/store/modules/permission";
|
|
22
|
-
import "./OnlineForm.
|
|
23
|
-
import b from "./OnlineAutoModal-
|
|
24
|
-
import { u as B, a as I } from "./useListButton-
|
|
22
|
+
import "./OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs";
|
|
23
|
+
import b from "./OnlineAutoModal-a0d1a6b8.mjs";
|
|
24
|
+
import { u as B, a as I } from "./useListButton-73071548.mjs";
|
|
25
25
|
import { useRouter as M } from "vue-router";
|
|
26
26
|
import { u as S } from "./useFormUrl-2ee1a82d.mjs";
|
|
27
|
-
import { _ as D } from "./index-
|
|
27
|
+
import { _ as D } from "./index-740b2c4a.mjs";
|
|
28
28
|
import "/@/components/Form/src/componentMap";
|
|
29
29
|
import "/@/utils/propTypes";
|
|
30
30
|
import "./constant-fa63bd66.mjs";
|
|
@@ -36,13 +36,13 @@ import "/@/components/Table";
|
|
|
36
36
|
import "/@/hooks/system/useListPage";
|
|
37
37
|
import "/@/components/Form/src/utils/Area";
|
|
38
38
|
import "/@/components/Preview/index";
|
|
39
|
-
import "./LinkTableListPiece-
|
|
39
|
+
import "./LinkTableListPiece-0f4ca559.mjs";
|
|
40
40
|
import "/@/api/common/api";
|
|
41
41
|
import "/@/assets/images/placeholderImage.png";
|
|
42
|
-
import "./OnlineSelectCascade-
|
|
43
|
-
import "./JModalTip-
|
|
42
|
+
import "./OnlineSelectCascade-fab4426d.mjs";
|
|
43
|
+
import "./JModalTip-c3e6726c.mjs";
|
|
44
44
|
import "@vueuse/core";
|
|
45
|
-
import "./OnlineForm-
|
|
45
|
+
import "./OnlineForm-86b5966d.mjs";
|
|
46
46
|
import "./useCustomHook-3a17a690.mjs";
|
|
47
47
|
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
48
48
|
import "/@/router";
|
|
@@ -5,7 +5,7 @@ import "/@/components/Form/index";
|
|
|
5
5
|
import "/@/utils/http/axios";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "/@/utils";
|
|
8
|
-
import { u as M } from "./useExtendComponent-
|
|
8
|
+
import { u as M } from "./useExtendComponent-95ce0719.mjs";
|
|
9
9
|
import "/@/components/Loading";
|
|
10
10
|
import "/@/components/jeecg/JVxeTable/types";
|
|
11
11
|
import "/@/utils/auth";
|
|
@@ -19,12 +19,12 @@ import "/@/store/modules/user";
|
|
|
19
19
|
import "/@/hooks/web/useAppInject";
|
|
20
20
|
import "/@/utils/is";
|
|
21
21
|
import "/@/store/modules/permission";
|
|
22
|
-
import "./OnlineForm.
|
|
22
|
+
import "./OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs";
|
|
23
23
|
import { useRoute as O } from "vue-router";
|
|
24
|
-
import R from "./OnlineDetailModal-
|
|
25
|
-
import { u as S, a as U } from "./useListButton-
|
|
24
|
+
import R from "./OnlineDetailModal-35394778.mjs";
|
|
25
|
+
import { u as S, a as U } from "./useListButton-73071548.mjs";
|
|
26
26
|
import { u as B } from "./useFormUrl-2ee1a82d.mjs";
|
|
27
|
-
import { _ as F } from "./index-
|
|
27
|
+
import { _ as F } from "./index-740b2c4a.mjs";
|
|
28
28
|
import "/@/components/Form/src/componentMap";
|
|
29
29
|
import "/@/utils/propTypes";
|
|
30
30
|
import "./constant-fa63bd66.mjs";
|
|
@@ -36,18 +36,19 @@ import "/@/components/Table";
|
|
|
36
36
|
import "/@/hooks/system/useListPage";
|
|
37
37
|
import "/@/components/Form/src/utils/Area";
|
|
38
38
|
import "/@/components/Preview/index";
|
|
39
|
-
import "./LinkTableListPiece-
|
|
39
|
+
import "./LinkTableListPiece-0f4ca559.mjs";
|
|
40
40
|
import "/@/api/common/api";
|
|
41
41
|
import "/@/assets/images/placeholderImage.png";
|
|
42
|
-
import "./OnlineSelectCascade-
|
|
43
|
-
import "./JModalTip-
|
|
42
|
+
import "./OnlineSelectCascade-fab4426d.mjs";
|
|
43
|
+
import "./JModalTip-c3e6726c.mjs";
|
|
44
44
|
import "@vueuse/core";
|
|
45
|
-
import "./OnlineFormDetail-
|
|
46
|
-
import "./DetailForm-
|
|
45
|
+
import "./OnlineFormDetail-4b3ad130.mjs";
|
|
46
|
+
import "./DetailForm-7d4f630e.mjs";
|
|
47
47
|
import "/@/utils/dict";
|
|
48
48
|
import "/@/utils/dict/index";
|
|
49
49
|
import "/@/components/Markdown";
|
|
50
|
-
import "./OnlineSubFormDetail-
|
|
50
|
+
import "./OnlineSubFormDetail-bbc48c3e.mjs";
|
|
51
|
+
import "/@/utils/uuid";
|
|
51
52
|
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
52
53
|
import "/@/router";
|
|
53
54
|
import "./useCustomHook-3a17a690.mjs";
|
|
@@ -114,7 +115,7 @@ const N = /* @__PURE__ */ C({
|
|
|
114
115
|
]));
|
|
115
116
|
}
|
|
116
117
|
});
|
|
117
|
-
const
|
|
118
|
+
const Gt = /* @__PURE__ */ F(N, [["__scopeId", "data-v-cea77271"]]);
|
|
118
119
|
export {
|
|
119
|
-
|
|
120
|
+
Gt as default
|
|
120
121
|
};
|
|
@@ -5,7 +5,7 @@ import "/@/components/Form/index";
|
|
|
5
5
|
import "/@/utils/http/axios";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "/@/utils";
|
|
8
|
-
import { u as B } from "./useExtendComponent-
|
|
8
|
+
import { u as B } from "./useExtendComponent-95ce0719.mjs";
|
|
9
9
|
import "/@/components/Loading";
|
|
10
10
|
import "/@/components/jeecg/JVxeTable/types";
|
|
11
11
|
import "/@/utils/auth";
|
|
@@ -19,12 +19,12 @@ import "/@/store/modules/user";
|
|
|
19
19
|
import "/@/hooks/web/useAppInject";
|
|
20
20
|
import "/@/utils/is";
|
|
21
21
|
import "/@/store/modules/permission";
|
|
22
|
-
import "./OnlineForm.
|
|
22
|
+
import "./OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs";
|
|
23
23
|
import { useRoute as M, useRouter as S } from "vue-router";
|
|
24
|
-
import T from "./OnlineAutoModal-
|
|
25
|
-
import { u as D, a as N } from "./useListButton-
|
|
24
|
+
import T from "./OnlineAutoModal-a0d1a6b8.mjs";
|
|
25
|
+
import { u as D, a as N } from "./useListButton-73071548.mjs";
|
|
26
26
|
import { u as V } from "./useFormUrl-2ee1a82d.mjs";
|
|
27
|
-
import { _ as $ } from "./index-
|
|
27
|
+
import { _ as $ } from "./index-740b2c4a.mjs";
|
|
28
28
|
import "/@/components/Form/src/componentMap";
|
|
29
29
|
import "/@/utils/propTypes";
|
|
30
30
|
import "./constant-fa63bd66.mjs";
|
|
@@ -36,13 +36,13 @@ import "/@/components/Table";
|
|
|
36
36
|
import "/@/hooks/system/useListPage";
|
|
37
37
|
import "/@/components/Form/src/utils/Area";
|
|
38
38
|
import "/@/components/Preview/index";
|
|
39
|
-
import "./LinkTableListPiece-
|
|
39
|
+
import "./LinkTableListPiece-0f4ca559.mjs";
|
|
40
40
|
import "/@/api/common/api";
|
|
41
41
|
import "/@/assets/images/placeholderImage.png";
|
|
42
|
-
import "./OnlineSelectCascade-
|
|
43
|
-
import "./JModalTip-
|
|
42
|
+
import "./OnlineSelectCascade-fab4426d.mjs";
|
|
43
|
+
import "./JModalTip-c3e6726c.mjs";
|
|
44
44
|
import "@vueuse/core";
|
|
45
|
-
import "./OnlineForm-
|
|
45
|
+
import "./OnlineForm-86b5966d.mjs";
|
|
46
46
|
import "./useCustomHook-3a17a690.mjs";
|
|
47
47
|
import "/@/components/jeecg/comment/CommentPanel.vue";
|
|
48
48
|
import "/@/router";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as c, resolveComponent as p, openBlock as m, createElementBlock as _, normalizeClass as d, createElementVNode as t, createVNode as s, withCtx as r, createTextVNode as l } from "vue";
|
|
2
2
|
import { useRouter as u } from "vue-router";
|
|
3
|
-
import { _ as v } from "./index-
|
|
3
|
+
import { _ as v } from "./index-740b2c4a.mjs";
|
|
4
4
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
5
5
|
import "/@/hooks/web/useMessage";
|
|
6
6
|
const f = { class: "btnArea" }, x = /* @__PURE__ */ c({
|