@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
|
@@ -11,7 +11,7 @@ var yt = (n, e, t) => e in n ? _n(n, e, { enumerable: !0, configurable: !0, writ
|
|
|
11
11
|
return n;
|
|
12
12
|
}, Re = (n, e) => Tn(n, xn(e));
|
|
13
13
|
var Z = (n, e, t) => new Promise((i, c) => {
|
|
14
|
-
var
|
|
14
|
+
var o = (h) => {
|
|
15
15
|
try {
|
|
16
16
|
v(t.next(h));
|
|
17
17
|
} catch (y) {
|
|
@@ -23,13 +23,13 @@ var Z = (n, e, t) => new Promise((i, c) => {
|
|
|
23
23
|
} catch (y) {
|
|
24
24
|
c(y);
|
|
25
25
|
}
|
|
26
|
-
}, v = (h) => h.done ? i(h.value) : Promise.resolve(h.value).then(
|
|
26
|
+
}, v = (h) => h.done ? i(h.value) : Promise.resolve(h.value).then(o, f);
|
|
27
27
|
v((t = t.apply(n, e)).next());
|
|
28
28
|
});
|
|
29
29
|
import { add as Dn } from "/@/components/Form/src/componentMap";
|
|
30
|
-
import { propTypes as
|
|
31
|
-
import { computed as pe, watch as he, unref as Ce, ref as D, reactive as Se, toRaw as be, nextTick as Be, resolveComponent as se, openBlock as ne, createBlock as Pe, createElementBlock as de, normalizeClass as qe, createVNode as fe, defineComponent as xt, h as Ae, mergeProps as Ot, withCtx as
|
|
32
|
-
import { PrinterOutlined as $n, DiffOutlined as Ln, FormOutlined as jn, PlusOutlined as
|
|
30
|
+
import { propTypes as oe } from "/@/utils/propTypes";
|
|
31
|
+
import { computed as pe, watch as he, unref as Ce, ref as D, reactive as Se, toRaw as be, nextTick as Be, resolveComponent as se, openBlock as ne, createBlock as Pe, createElementBlock as de, normalizeClass as qe, createVNode as fe, defineComponent as xt, h as Ae, mergeProps as Ot, withCtx as re, createTextVNode as Te, toDisplayString as Oe, createCommentVNode as xe, watchEffect as In, inject as Mn, onMounted as Pt, onBeforeUnmount as Rn, createElementVNode as me, Fragment as He, renderList as lt, markRaw as kn, defineAsyncComponent as En } from "vue";
|
|
32
|
+
import { PrinterOutlined as $n, DiffOutlined as Ln, FormOutlined as jn, PlusOutlined as rt, EditOutlined as An, MinusCircleFilled as Nn } from "@ant-design/icons-vue";
|
|
33
33
|
import { useModal as Ie, useModalInner as Dt, BasicModal as It } from "/@/components/Modal";
|
|
34
34
|
import { useMessage as ke } from "/@/hooks/web/useMessage";
|
|
35
35
|
import { BasicForm as Mt, useForm as Rt } from "/@/components/Form/index";
|
|
@@ -50,18 +50,18 @@ import { useListPage as Zn } from "/@/hooks/system/useListPage";
|
|
|
50
50
|
import { useRouter as Gn } from "vue-router";
|
|
51
51
|
import { getAreaTextByCode as Xn } from "/@/components/Form/src/utils/Area";
|
|
52
52
|
import { createImgPreview as ei } from "/@/components/Preview/index";
|
|
53
|
-
import ti from "./LinkTableListPiece-
|
|
53
|
+
import ti from "./LinkTableListPiece-0f4ca559.mjs";
|
|
54
54
|
import { getToken as Lt } from "/@/utils/auth";
|
|
55
55
|
import { downloadFile as ni } from "/@/api/common/api";
|
|
56
56
|
import { useAppInject as jt } from "/@/hooks/web/useAppInject";
|
|
57
|
-
import { _ as $e } from "./index-
|
|
57
|
+
import { _ as $e } from "./index-740b2c4a.mjs";
|
|
58
58
|
import ze from "/@/assets/images/placeholderImage.png";
|
|
59
|
-
import ii from "./OnlineSelectCascade-
|
|
59
|
+
import ii from "./OnlineSelectCascade-fab4426d.mjs";
|
|
60
60
|
import { Loading as At } from "/@/components/Loading";
|
|
61
|
-
import li from "./JModalTip-
|
|
61
|
+
import li from "./JModalTip-c3e6726c.mjs";
|
|
62
62
|
import { Button as Xe } from "ant-design-vue";
|
|
63
63
|
import { useDebounceFn as si } from "@vueuse/core";
|
|
64
|
-
const
|
|
64
|
+
const oi = "jeecg_submit_form_and_flow", ks = "flow_submit_id", ri = "online_form_table_name", je = "validate-failed", Es = "setup", $s = "EnhanceJS", Ls = {
|
|
65
65
|
password: "text",
|
|
66
66
|
file: "text",
|
|
67
67
|
image: "text",
|
|
@@ -193,7 +193,7 @@ class ee {
|
|
|
193
193
|
*/
|
|
194
194
|
getRule() {
|
|
195
195
|
let e = [];
|
|
196
|
-
const { view: t, errorInfo: i, pattern: c, type:
|
|
196
|
+
const { view: t, errorInfo: i, pattern: c, type: o, fieldExtendJson: f } = this._data;
|
|
197
197
|
if (this.required === !0) {
|
|
198
198
|
let v = this.getPlaceholder(t);
|
|
199
199
|
if (f) {
|
|
@@ -208,7 +208,7 @@ class ee {
|
|
|
208
208
|
if (c === "only")
|
|
209
209
|
this.onlyValidator && e.push({ validator: this.onlyValidator });
|
|
210
210
|
else if (c === "z")
|
|
211
|
-
|
|
211
|
+
o == "number" || o == "integer" || e.push({ pattern: /^-?\d+$/, message: "请输入整数" });
|
|
212
212
|
else {
|
|
213
213
|
let v = i || "正则校验失败", h;
|
|
214
214
|
try {
|
|
@@ -227,7 +227,7 @@ class ee {
|
|
|
227
227
|
addDefaultChangeEvent(e) {
|
|
228
228
|
this.hasChange && (e.componentProps || (e.componentProps = {}), this.disabled == !0 && (e.componentProps.disabled = !0), e.componentProps.hasOwnProperty("onChange") || (e.componentProps.onChange = (t, i) => {
|
|
229
229
|
t instanceof Event && (t = t.target.value), t instanceof Array && (t = t.join(",")), !this.formRef || !this.formRef.value || !this.formRef.value.$formValueChange || this.formRef.value.$formValueChange(this.field, t, i);
|
|
230
|
-
})), Object.keys(this.schemaProp).map((t) => {
|
|
230
|
+
}, e.component === "JPopup" && (e.componentProps.onPopUpChange = e.componentProps.onChange))), Object.keys(this.schemaProp).map((t) => {
|
|
231
231
|
e[t] = this.schemaProp[t];
|
|
232
232
|
});
|
|
233
233
|
}
|
|
@@ -300,9 +300,9 @@ class ee {
|
|
|
300
300
|
const f = this.formRef.value.formModel;
|
|
301
301
|
return i.map((v) => f[v]).join("");
|
|
302
302
|
});
|
|
303
|
-
let
|
|
303
|
+
let o = null;
|
|
304
304
|
he(c, () => {
|
|
305
|
-
|
|
305
|
+
o && clearTimeout(o), o = setTimeout(() => {
|
|
306
306
|
const f = this.formRef.value.formModel;
|
|
307
307
|
let v = e.replace(/\${([^}]+)}/g, (h, y) => f[y] == null ? "" : f[y]);
|
|
308
308
|
this.updateDictTable(v);
|
|
@@ -398,13 +398,13 @@ class di extends ee {
|
|
|
398
398
|
if (!e || e.length == 0)
|
|
399
399
|
return [];
|
|
400
400
|
let i = t == "number", c = [];
|
|
401
|
-
for (let
|
|
402
|
-
if (
|
|
401
|
+
for (let o of e) {
|
|
402
|
+
if (o == null)
|
|
403
403
|
break;
|
|
404
|
-
let f =
|
|
405
|
-
i && (f = parseInt(f)), c.push(Re(ce({},
|
|
404
|
+
let f = o.value;
|
|
405
|
+
i && (f = parseInt(f)), c.push(Re(ce({}, o), {
|
|
406
406
|
value: f,
|
|
407
|
-
label:
|
|
407
|
+
label: o.title
|
|
408
408
|
}));
|
|
409
409
|
}
|
|
410
410
|
return c;
|
|
@@ -546,11 +546,11 @@ class vi extends ee {
|
|
|
546
546
|
let { destFields: t, orgFields: i, dictText: c } = e;
|
|
547
547
|
if (!t || t.length == 0)
|
|
548
548
|
return [];
|
|
549
|
-
let
|
|
549
|
+
let o = t.split(","), f = i.split(","), v = c ? c.split(",") : null, h = [];
|
|
550
550
|
const y = this.pre;
|
|
551
|
-
for (let O = 0; O <
|
|
551
|
+
for (let O = 0; O < o.length; O++)
|
|
552
552
|
h.push({
|
|
553
|
-
target: y +
|
|
553
|
+
target: y + o[O],
|
|
554
554
|
source: f[O],
|
|
555
555
|
label: v ? v[O] : void 0
|
|
556
556
|
});
|
|
@@ -836,8 +836,8 @@ class Ii extends ee {
|
|
|
836
836
|
class Mi extends ee {
|
|
837
837
|
constructor(e, t) {
|
|
838
838
|
super(e, t);
|
|
839
|
-
const { dictTable: i, dictText: c, dictCode:
|
|
840
|
-
this.table = i, this.txt = c, this.store =
|
|
839
|
+
const { dictTable: i, dictText: c, dictCode: o, pidField: f, idField: v, origin: h, condition: y } = t;
|
|
840
|
+
this.table = i, this.txt = c, this.store = o, this.idField = v, this.pidField = f, this.origin = h, this.condition = y, this.options = [], this.next = t.next || "", this.type = t.type;
|
|
841
841
|
}
|
|
842
842
|
getItem() {
|
|
843
843
|
let e = super.getItem(), t = this.getComponentProps();
|
|
@@ -1148,8 +1148,8 @@ class et {
|
|
|
1148
1148
|
else if (c == "time")
|
|
1149
1149
|
i.groupTime();
|
|
1150
1150
|
else {
|
|
1151
|
-
let
|
|
1152
|
-
(
|
|
1151
|
+
let o = t.type;
|
|
1152
|
+
(o == "number" || o == "integer") && i.groupNumber();
|
|
1153
1153
|
}
|
|
1154
1154
|
return i;
|
|
1155
1155
|
}
|
|
@@ -1174,31 +1174,31 @@ var Bt = { exports: {} };
|
|
|
1174
1174
|
(function(t, i) {
|
|
1175
1175
|
n.exports = i();
|
|
1176
1176
|
})(ut, function() {
|
|
1177
|
-
var t = 1e3, i = 6e4, c = 36e5,
|
|
1177
|
+
var t = 1e3, i = 6e4, c = 36e5, o = "millisecond", f = "second", v = "minute", h = "hour", y = "day", O = "week", b = "month", P = "quarter", C = "year", N = "date", E = "Invalid Date", U = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, B = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, L = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(d) {
|
|
1178
1178
|
var p = ["th", "st", "nd", "rd"], l = d % 100;
|
|
1179
1179
|
return "[" + d + (p[(l - 20) % 10] || p[l] || p[0]) + "]";
|
|
1180
1180
|
} }, J = function(d, p, l) {
|
|
1181
|
-
var
|
|
1182
|
-
return !
|
|
1181
|
+
var r = String(d);
|
|
1182
|
+
return !r || r.length >= p ? d : "" + Array(p + 1 - r.length).join(l) + d;
|
|
1183
1183
|
}, A = { s: J, z: function(d) {
|
|
1184
|
-
var p = -d.utcOffset(), l = Math.abs(p),
|
|
1185
|
-
return (p <= 0 ? "+" : "-") + J(
|
|
1184
|
+
var p = -d.utcOffset(), l = Math.abs(p), r = Math.floor(l / 60), a = l % 60;
|
|
1185
|
+
return (p <= 0 ? "+" : "-") + J(r, 2, "0") + ":" + J(a, 2, "0");
|
|
1186
1186
|
}, m: function d(p, l) {
|
|
1187
1187
|
if (p.date() < l.date())
|
|
1188
1188
|
return -d(l, p);
|
|
1189
|
-
var
|
|
1190
|
-
return +(-(
|
|
1189
|
+
var r = 12 * (l.year() - p.year()) + (l.month() - p.month()), a = p.clone().add(r, b), s = l - a < 0, S = p.clone().add(r + (s ? -1 : 1), b);
|
|
1190
|
+
return +(-(r + (l - a) / (s ? a - S : S - a)) || 0);
|
|
1191
1191
|
}, a: function(d) {
|
|
1192
1192
|
return d < 0 ? Math.ceil(d) || 0 : Math.floor(d);
|
|
1193
1193
|
}, p: function(d) {
|
|
1194
|
-
return { M: b, y: C, w: O, d: y, D: N, h, m: v, s: f, ms:
|
|
1194
|
+
return { M: b, y: C, w: O, d: y, D: N, h, m: v, s: f, ms: o, Q: P }[d] || String(d || "").toLowerCase().replace(/s$/, "");
|
|
1195
1195
|
}, u: function(d) {
|
|
1196
1196
|
return d === void 0;
|
|
1197
1197
|
} }, z = "en", K = {};
|
|
1198
1198
|
K[z] = L;
|
|
1199
1199
|
var X = "$isDayjsObject", T = function(d) {
|
|
1200
|
-
return d instanceof
|
|
1201
|
-
}, I = function d(p, l,
|
|
1200
|
+
return d instanceof R || !(!d || !d[X]);
|
|
1201
|
+
}, I = function d(p, l, r) {
|
|
1202
1202
|
var a;
|
|
1203
1203
|
if (!p)
|
|
1204
1204
|
return z;
|
|
@@ -1212,24 +1212,24 @@ var Bt = { exports: {} };
|
|
|
1212
1212
|
var x = p.name;
|
|
1213
1213
|
K[x] = p, a = x;
|
|
1214
1214
|
}
|
|
1215
|
-
return !
|
|
1215
|
+
return !r && a && (z = a), a || !r && z;
|
|
1216
1216
|
}, _ = function(d, p) {
|
|
1217
1217
|
if (T(d))
|
|
1218
1218
|
return d.clone();
|
|
1219
1219
|
var l = typeof p == "object" ? p : {};
|
|
1220
|
-
return l.date = d, l.args = arguments, new
|
|
1220
|
+
return l.date = d, l.args = arguments, new R(l);
|
|
1221
1221
|
}, F = A;
|
|
1222
1222
|
F.l = I, F.i = T, F.w = function(d, p) {
|
|
1223
1223
|
return _(d, { locale: p.$L, utc: p.$u, x: p.$x, $offset: p.$offset });
|
|
1224
1224
|
};
|
|
1225
|
-
var
|
|
1225
|
+
var R = function() {
|
|
1226
1226
|
function d(l) {
|
|
1227
1227
|
this.$L = I(l.locale, null, !0), this.parse(l), this.$x = this.$x || l.x || {}, this[X] = !0;
|
|
1228
1228
|
}
|
|
1229
1229
|
var p = d.prototype;
|
|
1230
1230
|
return p.parse = function(l) {
|
|
1231
|
-
this.$d = function(
|
|
1232
|
-
var a =
|
|
1231
|
+
this.$d = function(r) {
|
|
1232
|
+
var a = r.date, s = r.utc;
|
|
1233
1233
|
if (a === null)
|
|
1234
1234
|
return /* @__PURE__ */ new Date(NaN);
|
|
1235
1235
|
if (F.u(a))
|
|
@@ -1252,34 +1252,34 @@ var Bt = { exports: {} };
|
|
|
1252
1252
|
return F;
|
|
1253
1253
|
}, p.isValid = function() {
|
|
1254
1254
|
return this.$d.toString() !== E;
|
|
1255
|
-
}, p.isSame = function(l,
|
|
1255
|
+
}, p.isSame = function(l, r) {
|
|
1256
1256
|
var a = _(l);
|
|
1257
|
-
return this.startOf(
|
|
1258
|
-
}, p.isAfter = function(l,
|
|
1259
|
-
return _(l) < this.startOf(
|
|
1260
|
-
}, p.isBefore = function(l,
|
|
1261
|
-
return this.endOf(
|
|
1262
|
-
}, p.$g = function(l,
|
|
1263
|
-
return F.u(l) ? this[
|
|
1257
|
+
return this.startOf(r) <= a && a <= this.endOf(r);
|
|
1258
|
+
}, p.isAfter = function(l, r) {
|
|
1259
|
+
return _(l) < this.startOf(r);
|
|
1260
|
+
}, p.isBefore = function(l, r) {
|
|
1261
|
+
return this.endOf(r) < _(l);
|
|
1262
|
+
}, p.$g = function(l, r, a) {
|
|
1263
|
+
return F.u(l) ? this[r] : this.set(a, l);
|
|
1264
1264
|
}, p.unix = function() {
|
|
1265
1265
|
return Math.floor(this.valueOf() / 1e3);
|
|
1266
1266
|
}, p.valueOf = function() {
|
|
1267
1267
|
return this.$d.getTime();
|
|
1268
|
-
}, p.startOf = function(l,
|
|
1269
|
-
var a = this, s = !!F.u(
|
|
1268
|
+
}, p.startOf = function(l, r) {
|
|
1269
|
+
var a = this, s = !!F.u(r) || r, S = F.p(l), x = function(Q, G) {
|
|
1270
1270
|
var te = F.w(a.$u ? Date.UTC(a.$y, G, Q) : new Date(a.$y, G, Q), a);
|
|
1271
1271
|
return s ? te : te.endOf(y);
|
|
1272
1272
|
}, u = function(Q, G) {
|
|
1273
1273
|
return F.w(a.toDate()[Q].apply(a.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), a);
|
|
1274
|
-
}, w = this.$W,
|
|
1274
|
+
}, w = this.$W, M = this.$M, q = this.$D, Y = "set" + (this.$u ? "UTC" : "");
|
|
1275
1275
|
switch (S) {
|
|
1276
1276
|
case C:
|
|
1277
1277
|
return s ? x(1, 0) : x(31, 11);
|
|
1278
1278
|
case b:
|
|
1279
|
-
return s ? x(1,
|
|
1279
|
+
return s ? x(1, M) : x(0, M + 1);
|
|
1280
1280
|
case O:
|
|
1281
1281
|
var H = this.$locale().weekStart || 0, j = (w < H ? w + 7 : w) - H;
|
|
1282
|
-
return x(s ? q - j : q + (6 - j),
|
|
1282
|
+
return x(s ? q - j : q + (6 - j), M);
|
|
1283
1283
|
case y:
|
|
1284
1284
|
case N:
|
|
1285
1285
|
return u(Y + "Hours", 0);
|
|
@@ -1294,24 +1294,24 @@ var Bt = { exports: {} };
|
|
|
1294
1294
|
}
|
|
1295
1295
|
}, p.endOf = function(l) {
|
|
1296
1296
|
return this.startOf(l, !1);
|
|
1297
|
-
}, p.$set = function(l,
|
|
1298
|
-
var a, s = F.p(l), S = "set" + (this.$u ? "UTC" : ""), x = (a = {}, a[y] = S + "Date", a[N] = S + "Date", a[b] = S + "Month", a[C] = S + "FullYear", a[h] = S + "Hours", a[v] = S + "Minutes", a[f] = S + "Seconds", a[
|
|
1297
|
+
}, p.$set = function(l, r) {
|
|
1298
|
+
var a, s = F.p(l), S = "set" + (this.$u ? "UTC" : ""), x = (a = {}, a[y] = S + "Date", a[N] = S + "Date", a[b] = S + "Month", a[C] = S + "FullYear", a[h] = S + "Hours", a[v] = S + "Minutes", a[f] = S + "Seconds", a[o] = S + "Milliseconds", a)[s], u = s === y ? this.$D + (r - this.$W) : r;
|
|
1299
1299
|
if (s === b || s === C) {
|
|
1300
1300
|
var w = this.clone().set(N, 1);
|
|
1301
1301
|
w.$d[x](u), w.init(), this.$d = w.set(N, Math.min(this.$D, w.daysInMonth())).$d;
|
|
1302
1302
|
} else
|
|
1303
1303
|
x && this.$d[x](u);
|
|
1304
1304
|
return this.init(), this;
|
|
1305
|
-
}, p.set = function(l,
|
|
1306
|
-
return this.clone().$set(l,
|
|
1305
|
+
}, p.set = function(l, r) {
|
|
1306
|
+
return this.clone().$set(l, r);
|
|
1307
1307
|
}, p.get = function(l) {
|
|
1308
1308
|
return this[F.p(l)]();
|
|
1309
|
-
}, p.add = function(l,
|
|
1309
|
+
}, p.add = function(l, r) {
|
|
1310
1310
|
var a, s = this;
|
|
1311
1311
|
l = Number(l);
|
|
1312
|
-
var S = F.p(
|
|
1312
|
+
var S = F.p(r), x = function(M) {
|
|
1313
1313
|
var q = _(s);
|
|
1314
|
-
return F.w(q.date(q.date() + Math.round(
|
|
1314
|
+
return F.w(q.date(q.date() + Math.round(M * l)), s);
|
|
1315
1315
|
};
|
|
1316
1316
|
if (S === b)
|
|
1317
1317
|
return this.set(b, this.$M + l);
|
|
@@ -1323,14 +1323,14 @@ var Bt = { exports: {} };
|
|
|
1323
1323
|
return x(7);
|
|
1324
1324
|
var u = (a = {}, a[v] = i, a[h] = c, a[f] = t, a)[S] || 1, w = this.$d.getTime() + l * u;
|
|
1325
1325
|
return F.w(w, this);
|
|
1326
|
-
}, p.subtract = function(l,
|
|
1327
|
-
return this.add(-1 * l,
|
|
1326
|
+
}, p.subtract = function(l, r) {
|
|
1327
|
+
return this.add(-1 * l, r);
|
|
1328
1328
|
}, p.format = function(l) {
|
|
1329
|
-
var
|
|
1329
|
+
var r = this, a = this.$locale();
|
|
1330
1330
|
if (!this.isValid())
|
|
1331
1331
|
return a.invalidDate || E;
|
|
1332
|
-
var s = l || "YYYY-MM-DDTHH:mm:ssZ", S = F.z(this), x = this.$H, u = this.$m, w = this.$M,
|
|
1333
|
-
return G && (G[te] || G(
|
|
1332
|
+
var s = l || "YYYY-MM-DDTHH:mm:ssZ", S = F.z(this), x = this.$H, u = this.$m, w = this.$M, M = a.weekdays, q = a.months, Y = a.meridiem, H = function(G, te, ie, Fe) {
|
|
1333
|
+
return G && (G[te] || G(r, s)) || ie[te].slice(0, Fe);
|
|
1334
1334
|
}, j = function(G) {
|
|
1335
1335
|
return F.s(x % 12 || 12, G, "0");
|
|
1336
1336
|
}, Q = Y || function(G, te, ie) {
|
|
@@ -1341,9 +1341,9 @@ var Bt = { exports: {} };
|
|
|
1341
1341
|
return te || function(ie) {
|
|
1342
1342
|
switch (ie) {
|
|
1343
1343
|
case "YY":
|
|
1344
|
-
return String(
|
|
1344
|
+
return String(r.$y).slice(-2);
|
|
1345
1345
|
case "YYYY":
|
|
1346
|
-
return F.s(
|
|
1346
|
+
return F.s(r.$y, 4, "0");
|
|
1347
1347
|
case "M":
|
|
1348
1348
|
return w + 1;
|
|
1349
1349
|
case "MM":
|
|
@@ -1353,17 +1353,17 @@ var Bt = { exports: {} };
|
|
|
1353
1353
|
case "MMMM":
|
|
1354
1354
|
return H(q, w);
|
|
1355
1355
|
case "D":
|
|
1356
|
-
return
|
|
1356
|
+
return r.$D;
|
|
1357
1357
|
case "DD":
|
|
1358
|
-
return F.s(
|
|
1358
|
+
return F.s(r.$D, 2, "0");
|
|
1359
1359
|
case "d":
|
|
1360
|
-
return String(
|
|
1360
|
+
return String(r.$W);
|
|
1361
1361
|
case "dd":
|
|
1362
|
-
return H(a.weekdaysMin,
|
|
1362
|
+
return H(a.weekdaysMin, r.$W, M, 2);
|
|
1363
1363
|
case "ddd":
|
|
1364
|
-
return H(a.weekdaysShort,
|
|
1364
|
+
return H(a.weekdaysShort, r.$W, M, 3);
|
|
1365
1365
|
case "dddd":
|
|
1366
|
-
return
|
|
1366
|
+
return M[r.$W];
|
|
1367
1367
|
case "H":
|
|
1368
1368
|
return String(x);
|
|
1369
1369
|
case "HH":
|
|
@@ -1381,11 +1381,11 @@ var Bt = { exports: {} };
|
|
|
1381
1381
|
case "mm":
|
|
1382
1382
|
return F.s(u, 2, "0");
|
|
1383
1383
|
case "s":
|
|
1384
|
-
return String(
|
|
1384
|
+
return String(r.$s);
|
|
1385
1385
|
case "ss":
|
|
1386
|
-
return F.s(
|
|
1386
|
+
return F.s(r.$s, 2, "0");
|
|
1387
1387
|
case "SSS":
|
|
1388
|
-
return F.s(
|
|
1388
|
+
return F.s(r.$ms, 3, "0");
|
|
1389
1389
|
case "Z":
|
|
1390
1390
|
return S;
|
|
1391
1391
|
}
|
|
@@ -1394,8 +1394,8 @@ var Bt = { exports: {} };
|
|
|
1394
1394
|
});
|
|
1395
1395
|
}, p.utcOffset = function() {
|
|
1396
1396
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1397
|
-
}, p.diff = function(l,
|
|
1398
|
-
var s, S = this, x = F.p(
|
|
1397
|
+
}, p.diff = function(l, r, a) {
|
|
1398
|
+
var s, S = this, x = F.p(r), u = _(l), w = (u.utcOffset() - this.utcOffset()) * i, M = this - u, q = function() {
|
|
1399
1399
|
return F.m(S, u);
|
|
1400
1400
|
};
|
|
1401
1401
|
switch (x) {
|
|
@@ -1409,32 +1409,32 @@ var Bt = { exports: {} };
|
|
|
1409
1409
|
s = q() / 3;
|
|
1410
1410
|
break;
|
|
1411
1411
|
case O:
|
|
1412
|
-
s = (
|
|
1412
|
+
s = (M - w) / 6048e5;
|
|
1413
1413
|
break;
|
|
1414
1414
|
case y:
|
|
1415
|
-
s = (
|
|
1415
|
+
s = (M - w) / 864e5;
|
|
1416
1416
|
break;
|
|
1417
1417
|
case h:
|
|
1418
|
-
s =
|
|
1418
|
+
s = M / c;
|
|
1419
1419
|
break;
|
|
1420
1420
|
case v:
|
|
1421
|
-
s =
|
|
1421
|
+
s = M / i;
|
|
1422
1422
|
break;
|
|
1423
1423
|
case f:
|
|
1424
|
-
s =
|
|
1424
|
+
s = M / t;
|
|
1425
1425
|
break;
|
|
1426
1426
|
default:
|
|
1427
|
-
s =
|
|
1427
|
+
s = M;
|
|
1428
1428
|
}
|
|
1429
1429
|
return a ? s : F.a(s);
|
|
1430
1430
|
}, p.daysInMonth = function() {
|
|
1431
1431
|
return this.endOf(b).$D;
|
|
1432
1432
|
}, p.$locale = function() {
|
|
1433
1433
|
return K[this.$L];
|
|
1434
|
-
}, p.locale = function(l,
|
|
1434
|
+
}, p.locale = function(l, r) {
|
|
1435
1435
|
if (!l)
|
|
1436
1436
|
return this.$L;
|
|
1437
|
-
var a = this.clone(), s = I(l,
|
|
1437
|
+
var a = this.clone(), s = I(l, r, !0);
|
|
1438
1438
|
return s && (a.$L = s), a;
|
|
1439
1439
|
}, p.clone = function() {
|
|
1440
1440
|
return F.w(this.$d, this);
|
|
@@ -1447,13 +1447,13 @@ var Bt = { exports: {} };
|
|
|
1447
1447
|
}, p.toString = function() {
|
|
1448
1448
|
return this.$d.toUTCString();
|
|
1449
1449
|
}, d;
|
|
1450
|
-
}(), $ =
|
|
1451
|
-
return _.prototype = $, [["$ms",
|
|
1450
|
+
}(), $ = R.prototype;
|
|
1451
|
+
return _.prototype = $, [["$ms", o], ["$s", f], ["$m", v], ["$H", h], ["$W", y], ["$M", b], ["$y", C], ["$D", N]].forEach(function(d) {
|
|
1452
1452
|
$[d[1]] = function(p) {
|
|
1453
1453
|
return this.$g(p, d[0], d[1]);
|
|
1454
1454
|
};
|
|
1455
1455
|
}), _.extend = function(d, p) {
|
|
1456
|
-
return d.$i || (d(p,
|
|
1456
|
+
return d.$i || (d(p, R, _), d.$i = !0), _;
|
|
1457
1457
|
}, _.locale = I, _.isDayjs = T, _.unix = function(d) {
|
|
1458
1458
|
return _(1e3 * d);
|
|
1459
1459
|
}, _.en = K[z], _.Ls = K, _.p = {}, _;
|
|
@@ -1467,8 +1467,8 @@ var Vt = { exports: {} };
|
|
|
1467
1467
|
n.exports = i();
|
|
1468
1468
|
})(ut, function() {
|
|
1469
1469
|
var t = "week", i = "year";
|
|
1470
|
-
return function(c,
|
|
1471
|
-
var v =
|
|
1470
|
+
return function(c, o, f) {
|
|
1471
|
+
var v = o.prototype;
|
|
1472
1472
|
v.week = function(h) {
|
|
1473
1473
|
if (h === void 0 && (h = null), h !== null)
|
|
1474
1474
|
return this.add(7 * (h - this.week()), "day");
|
|
@@ -1494,8 +1494,8 @@ var Wt = { exports: {} };
|
|
|
1494
1494
|
n.exports = i();
|
|
1495
1495
|
})(ut, function() {
|
|
1496
1496
|
var t = "month", i = "quarter";
|
|
1497
|
-
return function(c,
|
|
1498
|
-
var f =
|
|
1497
|
+
return function(c, o) {
|
|
1498
|
+
var f = o.prototype;
|
|
1499
1499
|
f.quarter = function(y) {
|
|
1500
1500
|
return this.$utils().u(y) ? Math.ceil((this.month() + 1) / 3) : this.month(this.month() % 3 + 3 * (y - 1));
|
|
1501
1501
|
};
|
|
@@ -1522,29 +1522,29 @@ we.extend(Ji);
|
|
|
1522
1522
|
const Jt = Object.keys(Et), Yi = Jt.join(","), Ui = Jt.map((n) => Et[n]), Yt = /#{([^}]+)?}/g, Ut = /{{([^}]+)?}}/g, Ve = /\${([^}]+)?}/g, Ne = { ADD: "add", EDIT: "edit", DETAIL: "detail", RELOAD: "reload" };
|
|
1523
1523
|
function tt(n, e, t) {
|
|
1524
1524
|
if (dt(e.defVal)) {
|
|
1525
|
-
const i = { field: n, type: e.type, value: e.defVal, view: e.view, fieldExtendJson: e.fieldExtendJson }, c = t.findIndex((
|
|
1525
|
+
const i = { field: n, type: e.type, value: e.defVal, view: e.view, fieldExtendJson: e.fieldExtendJson }, c = t.findIndex((o) => o.field === n);
|
|
1526
1526
|
c === -1 ? t.push(i) : t[c] = i;
|
|
1527
1527
|
}
|
|
1528
1528
|
}
|
|
1529
1529
|
function qi(n, e) {
|
|
1530
1530
|
dt(n.fieldDefaultValue) && e.push({ field: n.key, type: n.type, value: n.fieldDefaultValue });
|
|
1531
1531
|
}
|
|
1532
|
-
function
|
|
1532
|
+
function ot(n, e, t) {
|
|
1533
1533
|
return Z(this, null, function* () {
|
|
1534
1534
|
if (Array.isArray(n) && n.length > 0) {
|
|
1535
1535
|
let i = {};
|
|
1536
1536
|
for (let c of n) {
|
|
1537
|
-
let { value:
|
|
1538
|
-
|
|
1537
|
+
let { value: o, type: f, field: v } = c;
|
|
1538
|
+
o = yield qt(o, Ne.ADD, t || {}), f === "number" && o && (o = Number.parseFloat(o)), o = Hi(c, o), i[v] = o;
|
|
1539
1539
|
}
|
|
1540
1540
|
e(i);
|
|
1541
1541
|
}
|
|
1542
1542
|
});
|
|
1543
1543
|
}
|
|
1544
1544
|
function Hi(n, e) {
|
|
1545
|
-
const { type: t, field: i, view: c, fieldExtendJson:
|
|
1546
|
-
if (c == "date" &&
|
|
1547
|
-
const f = JSON.parse(
|
|
1545
|
+
const { type: t, field: i, view: c, fieldExtendJson: o } = n;
|
|
1546
|
+
if (c == "date" && o) {
|
|
1547
|
+
const f = JSON.parse(o), { picker: v } = f;
|
|
1548
1548
|
if (v && v != "default" && e) {
|
|
1549
1549
|
let h;
|
|
1550
1550
|
try {
|
|
@@ -1577,14 +1577,14 @@ function js(n, e, t) {
|
|
|
1577
1577
|
return Z(this, null, function* () {
|
|
1578
1578
|
let { defVal: i, type: c } = e;
|
|
1579
1579
|
if (dt(i)) {
|
|
1580
|
-
let
|
|
1581
|
-
if (c === "number" &&
|
|
1582
|
-
if (e.mode == "group" && typeof
|
|
1583
|
-
const f =
|
|
1584
|
-
|
|
1580
|
+
let o = yield qt(i, Ne.ADD, {});
|
|
1581
|
+
if (c === "number" && o)
|
|
1582
|
+
if (e.mode == "group" && typeof o == "string" && o.indexOf(",") != -1) {
|
|
1583
|
+
const f = o.split(",");
|
|
1584
|
+
o = [], f[0] && o.push(Number.parseFloat(f[0])), f[1] && o.push(Number.parseFloat(f[1]));
|
|
1585
1585
|
} else
|
|
1586
|
-
|
|
1587
|
-
t[n] =
|
|
1586
|
+
o = Number.parseFloat(o);
|
|
1587
|
+
t[n] = o;
|
|
1588
1588
|
}
|
|
1589
1589
|
});
|
|
1590
1590
|
}
|
|
@@ -1620,7 +1620,7 @@ function Qi(n, e, t) {
|
|
|
1620
1620
|
return (e === Ne.ADD || e === Ne.RELOAD) && Ve.test(n) ? yield nt(n, Ve, Gi, [t]) : e === Ne.ADD ? (n = yield nt(n, Yt, zi), n = yield nt(n, Ut, Zi), n) : null;
|
|
1621
1621
|
});
|
|
1622
1622
|
}
|
|
1623
|
-
function nt(c,
|
|
1623
|
+
function nt(c, o, f) {
|
|
1624
1624
|
return Z(this, arguments, function* (n, e, t, i = []) {
|
|
1625
1625
|
let v = Qt(n, e);
|
|
1626
1626
|
for (let h of v.keys()) {
|
|
@@ -1678,17 +1678,17 @@ function Gi(n, e, t) {
|
|
|
1678
1678
|
return Z(this, null, function* () {
|
|
1679
1679
|
let i = {};
|
|
1680
1680
|
typeof t == "function" ? i = t() : t && (i = ce({}, t)), n = zt(n).exp;
|
|
1681
|
-
let c = `/sys/fillRule/executeRuleByCode/${n}`, { success:
|
|
1682
|
-
return
|
|
1681
|
+
let c = `/sys/fillRule/executeRuleByCode/${n}`, { success: o, message: f, result: v } = yield ge.put({ url: c, params: i }, { isTransformResponse: !1 });
|
|
1682
|
+
return o ? v : e;
|
|
1683
1683
|
});
|
|
1684
1684
|
}
|
|
1685
1685
|
function zt(n) {
|
|
1686
1686
|
let e = n.split("?");
|
|
1687
1687
|
if (e.length > 1) {
|
|
1688
|
-
let t = "", i = [],
|
|
1689
|
-
return
|
|
1688
|
+
let t = "", i = [], o = e[1].split("&");
|
|
1689
|
+
return o.forEach((f, v) => {
|
|
1690
1690
|
let [h, y] = f.split("=");
|
|
1691
|
-
y = y.trim(), h === "onl_watch" ? i = y.split(",") : (t += `${h}=${y}`, v <
|
|
1691
|
+
y = y.trim(), h === "onl_watch" ? i = y.split(",") : (t += `${h}=${y}`, v < o.length - 1 && (t += "&"));
|
|
1692
1692
|
}), {
|
|
1693
1693
|
exp: e[0] + (t === "" ? "" : "?" + t),
|
|
1694
1694
|
watchFields: i
|
|
@@ -1702,9 +1702,9 @@ function As(n) {
|
|
|
1702
1702
|
for (let t of n) {
|
|
1703
1703
|
let { value: i, field: c } = t;
|
|
1704
1704
|
if (!(i == null || i == "") && Ht(i) && Ve.test(i)) {
|
|
1705
|
-
let
|
|
1706
|
-
for (let f of
|
|
1707
|
-
let v =
|
|
1705
|
+
let o = Qt(i, Ve);
|
|
1706
|
+
for (let f of o.keys()) {
|
|
1707
|
+
let v = o.get(f);
|
|
1708
1708
|
const { watchFields: h } = zt(v);
|
|
1709
1709
|
for (const y of h) {
|
|
1710
1710
|
let O = e.get(y);
|
|
@@ -1718,15 +1718,15 @@ function As(n) {
|
|
|
1718
1718
|
const ft = "link_down", Xi = "link_table_field", el = "link_table";
|
|
1719
1719
|
function Kt(n, e) {
|
|
1720
1720
|
Zl();
|
|
1721
|
-
const t = n.modalClass, i = D([]), c = D(""),
|
|
1721
|
+
const t = n.modalClass, i = D([]), c = D(""), o = D({}), f = Se({}), v = D(!1), h = D([]), y = D({}), O = {}, b = D([]), P = Se({}), C = D("");
|
|
1722
1722
|
C.value = { sm: 24, xs: 24, md: 12, lg: 12, xl: 12, xxl: 12 };
|
|
1723
1723
|
const N = D({ xs: { span: 24 }, sm: { span: 4 }, md: { span: 4 }, lg: { span: 4 }, xl: { span: 4 }, xxl: { span: 4 } }), E = D(null), U = D(6 * 14 + 10);
|
|
1724
1724
|
function B(T, I, _, F = {}) {
|
|
1725
1725
|
var x;
|
|
1726
1726
|
il(P), P[c.value] = [];
|
|
1727
|
-
let
|
|
1727
|
+
let R = [], $ = [], d = [], p = {}, l = {};
|
|
1728
1728
|
Object.keys(T).map((u) => {
|
|
1729
|
-
var
|
|
1729
|
+
var M;
|
|
1730
1730
|
const w = T[u];
|
|
1731
1731
|
if (w.view == "tab") {
|
|
1732
1732
|
v.value = !0, P[u] = [];
|
|
@@ -1740,11 +1740,11 @@ function Kt(n, e) {
|
|
|
1740
1740
|
order: w.order,
|
|
1741
1741
|
id: w.id
|
|
1742
1742
|
};
|
|
1743
|
-
w.relationType == 1 ? (O[u] = D(null), q.properties = w.properties) : (L(w), O[u] = D(), q.columns = w.columns, p[u] = []),
|
|
1743
|
+
w.relationType == 1 ? (O[u] = D(null), q.properties = w.properties) : (L(w), O[u] = D(), q.columns = w.columns, p[u] = []), R.push(q), sl(u, w);
|
|
1744
1744
|
} else if (tt(u, w, P[c.value]), w.view === ft) {
|
|
1745
1745
|
let q = nl(w, u);
|
|
1746
1746
|
for (let Y of q) {
|
|
1747
|
-
const H = Y.key == u ? w : (
|
|
1747
|
+
const H = Y.key == u ? w : (M = w.others) == null ? void 0 : M.find((G) => G.field === Y.key);
|
|
1748
1748
|
H && tt(Y.key, H, P[c.value]), f[Y.key] = !0, f[Y.key + "_load"] = !0, f[Y.key + "_disabled"] = !1, J(F, Y);
|
|
1749
1749
|
let j = et.createFormSchema(Y.key, Y);
|
|
1750
1750
|
_ && j.setOnlyValidateFun(_), j.isRequired(I), j.setFormRef(e), j.handleWidgetAttr(w);
|
|
@@ -1762,70 +1762,70 @@ function Kt(n, e) {
|
|
|
1762
1762
|
}), $.sort(function(u, w) {
|
|
1763
1763
|
return u.order - w.order;
|
|
1764
1764
|
});
|
|
1765
|
-
const
|
|
1765
|
+
const r = [];
|
|
1766
1766
|
(() => {
|
|
1767
1767
|
for (let u = 0, w = $.length; u < w; u++) {
|
|
1768
|
-
const
|
|
1769
|
-
A(
|
|
1768
|
+
const M = $[u];
|
|
1769
|
+
A(M == null ? void 0 : M._data, "isOneRow") && (r.push($.splice(u, 1)[0]), u--, w--);
|
|
1770
1770
|
}
|
|
1771
|
-
})(), $ = [...$, ...
|
|
1771
|
+
})(), $ = [...$, ...r];
|
|
1772
1772
|
let a = [];
|
|
1773
1773
|
a.push(et.createIdField());
|
|
1774
1774
|
let s = null, S = !1;
|
|
1775
1775
|
for (let u of $) {
|
|
1776
1776
|
const w = u.label.length;
|
|
1777
1777
|
s ? (s.label.length < w || s.label.length === w && !s.required && u.required) && (s = u) : s = u, u.required && (S = !0), u.view && u.view == el && l[u.field] && u.setOtherInfo(l[u.field]), d.indexOf(u.field) >= 0 && u.isHidden(), t && u.setCustomPopContainer(t);
|
|
1778
|
-
const
|
|
1779
|
-
if (
|
|
1780
|
-
|
|
1778
|
+
const M = u.getFormItemSchema();
|
|
1779
|
+
if (M.component === "JDictSelectTag" && ((x = u == null ? void 0 : u._data) == null ? void 0 : x.type) === "number" && (M.componentProps.stringToNumber = !0), n.formTemplate > 1 && A(u == null ? void 0 : u._data, "isOneRow")) {
|
|
1780
|
+
M.colProps = { span: 24 };
|
|
1781
1781
|
const q = z(), { labelCol: Y = {} } = q, H = {}, j = {};
|
|
1782
1782
|
Object.keys(Y).forEach((Q) => {
|
|
1783
1783
|
if (["xs", "sm", "md", "lg", "xl", "xxl"].includes(Q)) {
|
|
1784
1784
|
const G = Y[Q].span, te = Math.round(G / n.formTemplate);
|
|
1785
1785
|
H[Q] = { span: te }, j[Q] = { span: 24 - te - 1 };
|
|
1786
1786
|
}
|
|
1787
|
-
}),
|
|
1787
|
+
}), M.itemProps = { labelCol: H, wrapperCol: j };
|
|
1788
1788
|
}
|
|
1789
|
-
a.push(
|
|
1789
|
+
M.component === "JPopup" && (M.changeEvent = "popUpChange"), a.push(M);
|
|
1790
1790
|
}
|
|
1791
|
-
if (i.value = a,
|
|
1791
|
+
if (i.value = a, R.sort(function(u, w) {
|
|
1792
1792
|
return u.order - w.order;
|
|
1793
|
-
}),
|
|
1793
|
+
}), R.forEach((u) => {
|
|
1794
1794
|
const w = u.columns;
|
|
1795
|
-
u.columns && w.forEach((
|
|
1795
|
+
u.columns && w.forEach((M) => {
|
|
1796
1796
|
var q;
|
|
1797
|
-
if (u.relationType == 0 && ["popup", "popup_dict"].includes(
|
|
1797
|
+
if (u.relationType == 0 && ["popup", "popup_dict"].includes(M.type)) {
|
|
1798
1798
|
let Y = !0;
|
|
1799
|
-
|
|
1800
|
-
const H = (q =
|
|
1801
|
-
|
|
1799
|
+
M.fieldExtendJson && (Y = JSON.parse(M.fieldExtendJson).popupMulti);
|
|
1800
|
+
const H = (q = M.props) != null ? q : {};
|
|
1801
|
+
M.props = Re(ce({}, H), { multi: Y });
|
|
1802
1802
|
}
|
|
1803
|
-
if (
|
|
1804
|
-
const Y = JSON.parse(
|
|
1805
|
-
Y.picker && Y.picker != "default" && Object.assign(
|
|
1803
|
+
if (M.type === "date" && M.fieldExtendJson) {
|
|
1804
|
+
const Y = JSON.parse(M.fieldExtendJson);
|
|
1805
|
+
Y.picker && Y.picker != "default" && Object.assign(M, { picker: Y.picker });
|
|
1806
1806
|
}
|
|
1807
1807
|
});
|
|
1808
|
-
}), h.value =
|
|
1808
|
+
}), h.value = R, y.value = p, F.formLabelLengthShow && F.formLabelLength)
|
|
1809
1809
|
U.value = F.formLabelLength * 14 + 10 + +`${S ? 13 : 0}`, E.value = null;
|
|
1810
1810
|
else if (s) {
|
|
1811
1811
|
let u = s.label.length;
|
|
1812
1812
|
u = u > st ? st : u;
|
|
1813
|
-
const w = s.required,
|
|
1814
|
-
U.value =
|
|
1813
|
+
const w = s.required, M = u * 14 + 10 + +`${w ? 13 : 0}`;
|
|
1814
|
+
U.value = M;
|
|
1815
1815
|
}
|
|
1816
1816
|
}
|
|
1817
1817
|
he(
|
|
1818
1818
|
f,
|
|
1819
1819
|
(T) => {
|
|
1820
1820
|
let I = e.value, _ = [], F = be(T);
|
|
1821
|
-
Object.keys(F).map((
|
|
1822
|
-
if (!
|
|
1821
|
+
Object.keys(F).map((R) => {
|
|
1822
|
+
if (!R.endsWith("_load")) {
|
|
1823
1823
|
let $ = {
|
|
1824
|
-
field:
|
|
1825
|
-
show: F[
|
|
1826
|
-
}, d =
|
|
1824
|
+
field: R,
|
|
1825
|
+
show: F[R]
|
|
1826
|
+
}, d = R + "_load";
|
|
1827
1827
|
F.hasOwnProperty(d) && ($.ifShow = F[d]);
|
|
1828
|
-
let p =
|
|
1828
|
+
let p = R + "_disabled";
|
|
1829
1829
|
F.hasOwnProperty(p) && ($.dynamicDisabled = () => F[p]), _.push($);
|
|
1830
1830
|
}
|
|
1831
1831
|
}), I && I.updateSchema(_);
|
|
@@ -1838,10 +1838,10 @@ function Kt(n, e) {
|
|
|
1838
1838
|
});
|
|
1839
1839
|
}
|
|
1840
1840
|
function J(T, I, _ = "labelLength") {
|
|
1841
|
-
const { formLabelLengthShow: F, formLabelLength:
|
|
1842
|
-
if (F &&
|
|
1841
|
+
const { formLabelLengthShow: F, formLabelLength: R } = T;
|
|
1842
|
+
if (F && R) {
|
|
1843
1843
|
let $ = I == null ? void 0 : I.fieldExtendJson;
|
|
1844
|
-
$ ? ($ = JSON.parse($), $[_] =
|
|
1844
|
+
$ ? ($ = JSON.parse($), $[_] = R) : $ = { [_]: R }, I.fieldExtendJson = JSON.stringify($);
|
|
1845
1845
|
}
|
|
1846
1846
|
}
|
|
1847
1847
|
function A(T = {}, I) {
|
|
@@ -1888,12 +1888,12 @@ function Kt(n, e) {
|
|
|
1888
1888
|
function K(T, I) {
|
|
1889
1889
|
return new Promise((_) => {
|
|
1890
1890
|
I || _("");
|
|
1891
|
-
let
|
|
1891
|
+
let R = {
|
|
1892
1892
|
tableName: c.value.replace(/\$\d+/, ""),
|
|
1893
1893
|
fieldName: T.field,
|
|
1894
1894
|
fieldVal: I
|
|
1895
|
-
}, $ =
|
|
1896
|
-
$.id && (
|
|
1895
|
+
}, $ = o.value;
|
|
1896
|
+
$.id && (R.dataId = $.id), Wn(R).then((d) => {
|
|
1897
1897
|
d.success ? _("") : _(d.message);
|
|
1898
1898
|
}).catch((d) => {
|
|
1899
1899
|
_(d);
|
|
@@ -1909,7 +1909,7 @@ function Kt(n, e) {
|
|
|
1909
1909
|
formSchemas: i,
|
|
1910
1910
|
defaultValueFields: P,
|
|
1911
1911
|
tableName: c,
|
|
1912
|
-
dbData:
|
|
1912
|
+
dbData: o,
|
|
1913
1913
|
checkOnlyFieldValue: K,
|
|
1914
1914
|
createFormSchemas: B,
|
|
1915
1915
|
fieldDisplayStatus: f,
|
|
@@ -1935,11 +1935,11 @@ function Zt(n, e) {
|
|
|
1935
1935
|
sel_search: "select-search",
|
|
1936
1936
|
"select-dict-search": "selectDictSearch"
|
|
1937
1937
|
};
|
|
1938
|
-
n.columns.forEach((
|
|
1939
|
-
|
|
1938
|
+
n.columns.forEach((o) => {
|
|
1939
|
+
o.type === "radio" ? o.type = "select" : t[o.type] ? o.type = t[o.type] : o.type === "popup" && i(o), o.type === "depart-select" && (o.checkStrictly = !0), o.type === "user-select" && c(o), o.type === "pca" && (o.width = "230px"), (o.width == 120 || o.width == "120px") && (o.type == "image" || o.type == "file") && (o.width = "130px"), o.width || (o.width = "200px"), e && e(o);
|
|
1940
1940
|
});
|
|
1941
|
-
function i(
|
|
1942
|
-
let { destFields: f, orgFields: v } =
|
|
1941
|
+
function i(o) {
|
|
1942
|
+
let { destFields: f, orgFields: v } = o, h = [];
|
|
1943
1943
|
if (!(!f || f.length == 0)) {
|
|
1944
1944
|
let y = f.split(","), O = v.split(",");
|
|
1945
1945
|
for (let b = 0; b < y.length; b++)
|
|
@@ -1948,16 +1948,16 @@ function Zt(n, e) {
|
|
|
1948
1948
|
source: O[b]
|
|
1949
1949
|
});
|
|
1950
1950
|
}
|
|
1951
|
-
|
|
1951
|
+
o.fieldConfig = h;
|
|
1952
1952
|
}
|
|
1953
|
-
function c(
|
|
1954
|
-
let f =
|
|
1953
|
+
function c(o) {
|
|
1954
|
+
let f = o.fieldExtendJson, v = !1;
|
|
1955
1955
|
if (f)
|
|
1956
1956
|
try {
|
|
1957
1957
|
JSON.parse(f).multiSelect === !1 && (v = !0);
|
|
1958
1958
|
} catch (h) {
|
|
1959
1959
|
}
|
|
1960
|
-
|
|
1960
|
+
o.isRadioSelection = v;
|
|
1961
1961
|
}
|
|
1962
1962
|
}
|
|
1963
1963
|
function tl(n) {
|
|
@@ -2003,7 +2003,7 @@ function tl(n) {
|
|
|
2003
2003
|
function c(b, P) {
|
|
2004
2004
|
e[b] = P;
|
|
2005
2005
|
}
|
|
2006
|
-
function
|
|
2006
|
+
function o(b) {
|
|
2007
2007
|
Object.keys(b).map((P) => {
|
|
2008
2008
|
e[P] = b[P];
|
|
2009
2009
|
});
|
|
@@ -2023,7 +2023,7 @@ function tl(n) {
|
|
|
2023
2023
|
return {
|
|
2024
2024
|
onlineFormContext: i,
|
|
2025
2025
|
addObject2Context: c,
|
|
2026
|
-
resetContext:
|
|
2026
|
+
resetContext: o,
|
|
2027
2027
|
getSubAddBtnCfg: v,
|
|
2028
2028
|
getSubRemoveBtnCfg: h,
|
|
2029
2029
|
getSubOpenAddBtnCfg: y,
|
|
@@ -2032,7 +2032,7 @@ function tl(n) {
|
|
|
2032
2032
|
}
|
|
2033
2033
|
function nl(n, e) {
|
|
2034
2034
|
const {
|
|
2035
|
-
config: { table: t, key: i, txt: c, linkField:
|
|
2035
|
+
config: { table: t, key: i, txt: c, linkField: o, idField: f, pidField: v, condition: h },
|
|
2036
2036
|
others: y,
|
|
2037
2037
|
order: O,
|
|
2038
2038
|
title: b
|
|
@@ -2052,8 +2052,8 @@ function nl(n, e) {
|
|
|
2052
2052
|
condition: h,
|
|
2053
2053
|
origin: !0
|
|
2054
2054
|
}, P);
|
|
2055
|
-
if (
|
|
2056
|
-
let E =
|
|
2055
|
+
if (o && o.length > 0) {
|
|
2056
|
+
let E = o.split(",");
|
|
2057
2057
|
N.next = E[0];
|
|
2058
2058
|
for (let U = 0; U < E.length; U++)
|
|
2059
2059
|
for (let B of y)
|
|
@@ -2099,7 +2099,7 @@ function sl(n, e) {
|
|
|
2099
2099
|
t || (t = []), ll.setOnlineSubTableAuth(i, t);
|
|
2100
2100
|
}
|
|
2101
2101
|
function Ns(n) {
|
|
2102
|
-
const e = D([]), t = {}, i = Se({}), c = D(!1),
|
|
2102
|
+
const e = D([]), t = {}, i = Se({}), c = D(!1), o = D([]), f = D({}), { getIsMobile: v } = jt(), h = pe(() => {
|
|
2103
2103
|
let C = n.formTemplate;
|
|
2104
2104
|
return v.value ? 24 : C == "2" ? 12 : C == "3" ? 8 : C == "4" ? 6 : 24;
|
|
2105
2105
|
});
|
|
@@ -2154,7 +2154,7 @@ function Ns(n) {
|
|
|
2154
2154
|
return B.order - L.order;
|
|
2155
2155
|
}), N.sort(function(B, L) {
|
|
2156
2156
|
return B.order - L.order;
|
|
2157
|
-
}),
|
|
2157
|
+
}), o.value = N;
|
|
2158
2158
|
for (let B = 0; B < E.length; B++) {
|
|
2159
2159
|
let L = E[B];
|
|
2160
2160
|
if ((L.isFile === !0 || L.isImage === !0 || L.isHtml === !0) && B > 0) {
|
|
@@ -2198,8 +2198,8 @@ function Ns(n) {
|
|
|
2198
2198
|
let I = J.split(",");
|
|
2199
2199
|
for (let _ of I) {
|
|
2200
2200
|
let F = "";
|
|
2201
|
-
for (let
|
|
2202
|
-
|
|
2201
|
+
for (let R of K)
|
|
2202
|
+
R.field == _ && (F = R.title);
|
|
2203
2203
|
E.push(Object.assign({}, { key: _ }, T, { title: F }));
|
|
2204
2204
|
}
|
|
2205
2205
|
}
|
|
@@ -2208,7 +2208,7 @@ function Ns(n) {
|
|
|
2208
2208
|
return {
|
|
2209
2209
|
detailFormSchemas: e,
|
|
2210
2210
|
hasSubTable: c,
|
|
2211
|
-
subTabInfo:
|
|
2211
|
+
subTabInfo: o,
|
|
2212
2212
|
refMap: t,
|
|
2213
2213
|
showStatus: i,
|
|
2214
2214
|
createFormSchemas: y,
|
|
@@ -2216,10 +2216,10 @@ function Ns(n) {
|
|
|
2216
2216
|
subDataSource: f
|
|
2217
2217
|
};
|
|
2218
2218
|
}
|
|
2219
|
-
function
|
|
2219
|
+
function ol(n, e = !0) {
|
|
2220
2220
|
let t = Se({});
|
|
2221
|
-
const i = (b, P) => ge.get({ url: b, params: P }, { isTransformResponse: !1 }), c = (b, P) => ge.post({ url: b, params: P }, { isTransformResponse: !1 }),
|
|
2222
|
-
e === !0 ? (n._getAction = i, n._postAction = c, n._putAction =
|
|
2221
|
+
const i = (b, P) => ge.get({ url: b, params: P }, { isTransformResponse: !1 }), c = (b, P) => ge.post({ url: b, params: P }, { isTransformResponse: !1 }), o = (b, P) => ge.put({ url: b, params: P }, { isTransformResponse: !1 }), f = (b, P) => ge.delete({ url: b, params: P }, { isTransformResponse: !1 });
|
|
2222
|
+
e === !0 ? (n._getAction = i, n._postAction = c, n._putAction = o, n._deleteAction = f, n._useMessage = ke) : (n.addObject2Context("_getAction", i), n.addObject2Context("_postAction", c), n.addObject2Context("_putAction", o), n.addObject2Context("_deleteAction", f), n.addObject2Context("_useMessage", ke));
|
|
2223
2223
|
function v(b) {
|
|
2224
2224
|
if (b) {
|
|
2225
2225
|
let P, C;
|
|
@@ -2257,7 +2257,7 @@ function rl(n, e = !0) {
|
|
|
2257
2257
|
triggerJsFun: h
|
|
2258
2258
|
};
|
|
2259
2259
|
}
|
|
2260
|
-
const
|
|
2260
|
+
const rl = "/online/cgform/api/subform", al = {
|
|
2261
2261
|
name: "OnlineSubForm",
|
|
2262
2262
|
components: {
|
|
2263
2263
|
BasicForm: Mt,
|
|
@@ -2299,7 +2299,7 @@ const ol = "/online/cgform/api/subform", al = {
|
|
|
2299
2299
|
ke();
|
|
2300
2300
|
const {
|
|
2301
2301
|
formSchemas: c,
|
|
2302
|
-
defaultValueFields:
|
|
2302
|
+
defaultValueFields: o,
|
|
2303
2303
|
changeDataIfArray2String: f,
|
|
2304
2304
|
tableName: v,
|
|
2305
2305
|
dbData: h,
|
|
@@ -2330,13 +2330,13 @@ const ol = "/online/cgform/api/subform", al = {
|
|
|
2330
2330
|
{ immediate: !0 }
|
|
2331
2331
|
), he(
|
|
2332
2332
|
() => n.properties,
|
|
2333
|
-
(
|
|
2333
|
+
(r) => {
|
|
2334
2334
|
i.value = !1, T(), b(n.properties, n.requiredFields, y), i.value = !0;
|
|
2335
2335
|
},
|
|
2336
2336
|
{ deep: !0, immediate: !0 }
|
|
2337
2337
|
), he(
|
|
2338
2338
|
() => n.mainId,
|
|
2339
|
-
(
|
|
2339
|
+
(r) => {
|
|
2340
2340
|
setTimeout(() => {
|
|
2341
2341
|
_();
|
|
2342
2342
|
}, 100);
|
|
@@ -2344,14 +2344,14 @@ const ol = "/online/cgform/api/subform", al = {
|
|
|
2344
2344
|
{ immediate: !0 }
|
|
2345
2345
|
), he(
|
|
2346
2346
|
() => n.disabled,
|
|
2347
|
-
(
|
|
2348
|
-
B({ disabled:
|
|
2347
|
+
(r) => {
|
|
2348
|
+
B({ disabled: r });
|
|
2349
2349
|
}
|
|
2350
2350
|
);
|
|
2351
2351
|
function T() {
|
|
2352
2352
|
return Z(this, null, function* () {
|
|
2353
|
-
let
|
|
2354
|
-
|
|
2353
|
+
let r = yield Ee(t);
|
|
2354
|
+
r.$formValueChange = (a, s) => {
|
|
2355
2355
|
let S = { [a]: s };
|
|
2356
2356
|
e("formChange", S);
|
|
2357
2357
|
};
|
|
@@ -2359,8 +2359,8 @@ const ol = "/online/cgform/api/subform", al = {
|
|
|
2359
2359
|
}
|
|
2360
2360
|
function I() {
|
|
2361
2361
|
if (Ce(n.isUpdate) === !1) {
|
|
2362
|
-
let
|
|
2363
|
-
|
|
2362
|
+
let r = be(o[v.value]);
|
|
2363
|
+
ot(r, (a) => {
|
|
2364
2364
|
A(a);
|
|
2365
2365
|
});
|
|
2366
2366
|
}
|
|
@@ -2368,15 +2368,15 @@ const ol = "/online/cgform/api/subform", al = {
|
|
|
2368
2368
|
function _() {
|
|
2369
2369
|
return Z(this, null, function* () {
|
|
2370
2370
|
yield Ee(i), yield J(), I();
|
|
2371
|
-
const { table:
|
|
2372
|
-
if (!
|
|
2371
|
+
const { table: r, mainId: a } = n;
|
|
2372
|
+
if (!r || !a)
|
|
2373
2373
|
return;
|
|
2374
|
-
let s = yield F(
|
|
2374
|
+
let s = yield F(r, a);
|
|
2375
2375
|
h.value = s, yield A(s);
|
|
2376
2376
|
});
|
|
2377
2377
|
}
|
|
2378
|
-
function F(
|
|
2379
|
-
let s = `${
|
|
2378
|
+
function F(r, a) {
|
|
2379
|
+
let s = `${rl}/${r}/${a}`;
|
|
2380
2380
|
return new Promise((S, x) => {
|
|
2381
2381
|
ge.get({ url: s }, { isTransformResponse: !1 }).then((u) => {
|
|
2382
2382
|
u.success ? S(u.result) : x();
|
|
@@ -2385,31 +2385,31 @@ const ol = "/online/cgform/api/subform", al = {
|
|
|
2385
2385
|
h.value = "";
|
|
2386
2386
|
});
|
|
2387
2387
|
}
|
|
2388
|
-
function
|
|
2389
|
-
return new Promise((
|
|
2388
|
+
function R() {
|
|
2389
|
+
return new Promise((r, a) => {
|
|
2390
2390
|
L().then(() => {
|
|
2391
2391
|
let s = z();
|
|
2392
|
-
s = f(s),
|
|
2392
|
+
s = f(s), r(s);
|
|
2393
2393
|
}).catch((s) => {
|
|
2394
2394
|
s.errorFields && (s.scrollToField = () => s.errorFields[0] && X(s.errorFields[0].name, { behavior: "smooth", block: "center" })), a(s);
|
|
2395
2395
|
});
|
|
2396
2396
|
});
|
|
2397
2397
|
}
|
|
2398
2398
|
function $() {
|
|
2399
|
-
let
|
|
2400
|
-
return
|
|
2401
|
-
row:
|
|
2399
|
+
let r = z();
|
|
2400
|
+
return r.id || (r.id = "sub-change-temp-id"), {
|
|
2401
|
+
row: r,
|
|
2402
2402
|
target: l
|
|
2403
2403
|
};
|
|
2404
2404
|
}
|
|
2405
|
-
function d(
|
|
2406
|
-
A(
|
|
2405
|
+
function d(r) {
|
|
2406
|
+
A(r);
|
|
2407
2407
|
}
|
|
2408
2408
|
function p() {
|
|
2409
|
-
let
|
|
2410
|
-
|
|
2409
|
+
let r = z(), a = be(o[v.value]);
|
|
2410
|
+
ot(a, (s) => {
|
|
2411
2411
|
A(s);
|
|
2412
|
-
},
|
|
2412
|
+
}, r);
|
|
2413
2413
|
}
|
|
2414
2414
|
const l = {
|
|
2415
2415
|
onlineFormRef: t,
|
|
@@ -2420,7 +2420,7 @@ const ol = "/online/cgform/api/subform", al = {
|
|
|
2420
2420
|
getFieldsValue: z,
|
|
2421
2421
|
getFormEvent: $,
|
|
2422
2422
|
setValues: d,
|
|
2423
|
-
getAll:
|
|
2423
|
+
getAll: R,
|
|
2424
2424
|
executeFillRule: p,
|
|
2425
2425
|
sh: O,
|
|
2426
2426
|
resetFields: J,
|
|
@@ -2429,7 +2429,7 @@ const ol = "/online/cgform/api/subform", al = {
|
|
|
2429
2429
|
return l;
|
|
2430
2430
|
}
|
|
2431
2431
|
};
|
|
2432
|
-
function ul(n, e, t, i, c,
|
|
2432
|
+
function ul(n, e, t, i, c, o) {
|
|
2433
2433
|
const f = se("BasicForm");
|
|
2434
2434
|
return ne(), Pe(f, {
|
|
2435
2435
|
ref: "onlineFormRef",
|
|
@@ -2494,7 +2494,7 @@ const Gt = /* @__PURE__ */ $e(al, [["render", ul], ["__scopeId", "data-v-196bf57
|
|
|
2494
2494
|
},
|
|
2495
2495
|
emits: ["success", "rendered", "dataChange"],
|
|
2496
2496
|
setup(n, { emit: e }) {
|
|
2497
|
-
const { createMessage: t } = ke(), [i, { openModal: c }] = Ie(),
|
|
2497
|
+
const { createMessage: t } = ke(), [i, { openModal: c }] = Ie(), o = D(""), f = D(null), v = D(!0), h = D(!1), y = D(1), O = D(!1), b = D(!1), P = Se({
|
|
2498
2498
|
reportPrintShow: 0,
|
|
2499
2499
|
reportPrintUrl: "",
|
|
2500
2500
|
joinQuery: 0,
|
|
@@ -2514,12 +2514,12 @@ const Gt = /* @__PURE__ */ $e(al, [["render", ul], ["__scopeId", "data-v-196bf57
|
|
|
2514
2514
|
baseColProps: I,
|
|
2515
2515
|
createFormSchemas: _,
|
|
2516
2516
|
fieldDisplayStatus: F,
|
|
2517
|
-
labelCol:
|
|
2517
|
+
labelCol: R,
|
|
2518
2518
|
wrapperCol: $,
|
|
2519
2519
|
labelWidth: d
|
|
2520
2520
|
} = Kt(n, f);
|
|
2521
|
-
let { EnhanceJS: p, initCgEnhanceJs: l } =
|
|
2522
|
-
const [
|
|
2521
|
+
let { EnhanceJS: p, initCgEnhanceJs: l } = ol(C, !1);
|
|
2522
|
+
const [r, { setProps: a, validate: s, resetFields: S, setFieldsValue: x, updateSchema: u, getFieldsValue: w, scrollToField: M }] = Rt({
|
|
2523
2523
|
schemas: E,
|
|
2524
2524
|
showActionButtonGroup: !1,
|
|
2525
2525
|
baseColProps: I,
|
|
@@ -2527,7 +2527,7 @@ const Gt = /* @__PURE__ */ $e(al, [["render", ul], ["__scopeId", "data-v-196bf57
|
|
|
2527
2527
|
labelWidth: d,
|
|
2528
2528
|
// update-end--author:liaozhiyang---date:20240329---for:【QQYUN-7872】online表单label较长优化
|
|
2529
2529
|
// update-begin--author:liaozhiyang---date:20240105---for:【QQYUN-7499】多列风格富文本、markdown增加独占一行功能
|
|
2530
|
-
labelCol:
|
|
2530
|
+
labelCol: R,
|
|
2531
2531
|
wrapperCol: $
|
|
2532
2532
|
// update-end--author:liaozhiyang---date:20240105---for:【QQYUN-7499】多列风格富文本、markdown增加独占一行功能
|
|
2533
2533
|
}), q = D(!1);
|
|
@@ -2547,7 +2547,7 @@ const Gt = /* @__PURE__ */ $e(al, [["render", ul], ["__scopeId", "data-v-196bf57
|
|
|
2547
2547
|
function j() {
|
|
2548
2548
|
if (Ce(b) === !1) {
|
|
2549
2549
|
let m = be(U[L.value]);
|
|
2550
|
-
|
|
2550
|
+
ot(m, (g) => {
|
|
2551
2551
|
x(g);
|
|
2552
2552
|
});
|
|
2553
2553
|
}
|
|
@@ -2609,7 +2609,7 @@ const Gt = /* @__PURE__ */ $e(al, [["render", ul], ["__scopeId", "data-v-196bf57
|
|
|
2609
2609
|
code: je,
|
|
2610
2610
|
key: L.value,
|
|
2611
2611
|
// 滚动到未通过校验的字段上
|
|
2612
|
-
scrollToField: () => W[0] &&
|
|
2612
|
+
scrollToField: () => W[0] && M(W[0].name, { behavior: "smooth", block: "center" })
|
|
2613
2613
|
});
|
|
2614
2614
|
}
|
|
2615
2615
|
);
|
|
@@ -2657,7 +2657,7 @@ const Gt = /* @__PURE__ */ $e(al, [["render", ul], ["__scopeId", "data-v-196bf57
|
|
|
2657
2657
|
} catch (m) {
|
|
2658
2658
|
if (kt(m)) {
|
|
2659
2659
|
const g = m.errorFields;
|
|
2660
|
-
g != null && g.length && g[0].errors && (t.warning(g[0].errors[0]),
|
|
2660
|
+
g != null && g.length && g[0].errors && (t.warning(g[0].errors[0]), M(g[0].name, { behavior: "smooth", block: "center" }));
|
|
2661
2661
|
}
|
|
2662
2662
|
} finally {
|
|
2663
2663
|
h.value = !1;
|
|
@@ -2684,14 +2684,14 @@ const Gt = /* @__PURE__ */ $e(al, [["render", ul], ["__scopeId", "data-v-196bf57
|
|
|
2684
2684
|
k[m] = g, x(k);
|
|
2685
2685
|
}
|
|
2686
2686
|
const Le = D("0"), pt = D(300), mt = D(340);
|
|
2687
|
-
function
|
|
2687
|
+
function on(m) {
|
|
2688
2688
|
if (b.value === !0) {
|
|
2689
2689
|
let g = J.value;
|
|
2690
|
-
return
|
|
2690
|
+
return rn(g, m);
|
|
2691
2691
|
}
|
|
2692
2692
|
return "";
|
|
2693
2693
|
}
|
|
2694
|
-
function
|
|
2694
|
+
function rn(m, g) {
|
|
2695
2695
|
if (m) {
|
|
2696
2696
|
let k = m[g];
|
|
2697
2697
|
return !k && k !== 0 && (k = m[g.toLowerCase()], !k && k !== 0 && (k = m[g.toUpperCase()])), k;
|
|
@@ -2814,7 +2814,7 @@ const Gt = /* @__PURE__ */ $e(al, [["render", ul], ["__scopeId", "data-v-196bf57
|
|
|
2814
2814
|
Un(m, g, k);
|
|
2815
2815
|
}
|
|
2816
2816
|
function wn(m) {
|
|
2817
|
-
|
|
2817
|
+
o.value = m.id, c(!0);
|
|
2818
2818
|
}
|
|
2819
2819
|
function Cn(m) {
|
|
2820
2820
|
}
|
|
@@ -2825,7 +2825,7 @@ const Gt = /* @__PURE__ */ $e(al, [["render", ul], ["__scopeId", "data-v-196bf57
|
|
|
2825
2825
|
e("success", m);
|
|
2826
2826
|
else {
|
|
2827
2827
|
let g = `${it.optPre}${n.id}?tabletype=${y.value}`;
|
|
2828
|
-
O.value === !0 && (m[
|
|
2828
|
+
O.value === !0 && (m[oi] = 1);
|
|
2829
2829
|
let k = b.value === !0 ? "put" : "post";
|
|
2830
2830
|
ge.request({ url: g, method: k, params: m }, { isTransformResponse: !1 }).then((W) => {
|
|
2831
2831
|
W.success ? (W.result && (m.id || (m.id = W.result)), e("success", m), J.value = m, b.value = !0, t.success("操作成功!")) : t.warning(W.message);
|
|
@@ -2872,7 +2872,7 @@ const Gt = /* @__PURE__ */ $e(al, [["render", ul], ["__scopeId", "data-v-196bf57
|
|
|
2872
2872
|
//主表
|
|
2873
2873
|
tableName: L,
|
|
2874
2874
|
onlineFormRef: f,
|
|
2875
|
-
registerForm:
|
|
2875
|
+
registerForm: r,
|
|
2876
2876
|
loading: h,
|
|
2877
2877
|
//子表
|
|
2878
2878
|
subActiveKey: Le,
|
|
@@ -2881,7 +2881,7 @@ const Gt = /* @__PURE__ */ $e(al, [["render", ul], ["__scopeId", "data-v-196bf57
|
|
|
2881
2881
|
refMap: X,
|
|
2882
2882
|
//一对一子表
|
|
2883
2883
|
subFormHeight: pt,
|
|
2884
|
-
getSubTableForeignKeyValue:
|
|
2884
|
+
getSubTableForeignKeyValue: on,
|
|
2885
2885
|
isUpdate: b,
|
|
2886
2886
|
handleSubFormChange: an,
|
|
2887
2887
|
//一对多子表
|
|
@@ -2894,7 +2894,7 @@ const Gt = /* @__PURE__ */ $e(al, [["render", ul], ["__scopeId", "data-v-196bf57
|
|
|
2894
2894
|
openSubFormModalForAdd: wn,
|
|
2895
2895
|
openSubFormModalForEdit: Cn,
|
|
2896
2896
|
registerVxeFormModal: i,
|
|
2897
|
-
vxeTableId:
|
|
2897
|
+
vxeTableId: o,
|
|
2898
2898
|
//父组件调用
|
|
2899
2899
|
show: H,
|
|
2900
2900
|
createRootProperties: ie,
|
|
@@ -2912,7 +2912,7 @@ const Gt = /* @__PURE__ */ $e(al, [["render", ul], ["__scopeId", "data-v-196bf57
|
|
|
2912
2912
|
}
|
|
2913
2913
|
};
|
|
2914
2914
|
const dl = ["id"];
|
|
2915
|
-
function fl(n, e, t, i, c,
|
|
2915
|
+
function fl(n, e, t, i, c, o) {
|
|
2916
2916
|
const f = se("BasicForm");
|
|
2917
2917
|
return ne(), de("div", {
|
|
2918
2918
|
id: i.tableName + "_form",
|
|
@@ -2929,15 +2929,15 @@ const Xt = /* @__PURE__ */ $e(cl, [["render", fl], ["__scopeId", "data-v-2c2d570
|
|
|
2929
2929
|
default: Xt
|
|
2930
2930
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2931
2931
|
function pl(n, { emit: e } = {}, t) {
|
|
2932
|
-
const i = D(null), c = D(!1),
|
|
2932
|
+
const i = D(null), c = D(!1), o = D(1), f = D([]), v = D(!1), h = D(0), y = D(!1), O = D(""), b = D(!1), P = D(!1), C = D(!0), N = Se({}), E = D(!0), U = D(""), B = D(!0), L = D(!1), { popModalFixedWidth: J, resetBodyStyle: A, popBodyStyle: z } = en(), K = D(!1), X = D(""), { getIsMobile: T } = jt(), I = {
|
|
2933
2933
|
handleOpenModal: (V) => {
|
|
2934
2934
|
}
|
|
2935
|
-
}, _ = D(""), F = D(""),
|
|
2935
|
+
}, _ = D(""), F = D(""), R = D(""), $ = D(!1);
|
|
2936
2936
|
let d = {};
|
|
2937
2937
|
const p = pe(() => {
|
|
2938
2938
|
let V = U.value;
|
|
2939
2939
|
return V || (Ce(c) === !0 ? "详情" : Ce(P) === !0 ? "编辑" : "新增");
|
|
2940
|
-
}), [l, { setModalProps:
|
|
2940
|
+
}), [l, { setModalProps: r, closeModal: a }] = Dt((V) => Z(this, null, function* () {
|
|
2941
2941
|
U.value = "", L.value = !1, n === !0 ? yield I.handleOpenModal(V) : yield x(V), A(), t && t();
|
|
2942
2942
|
})), s = D(!1);
|
|
2943
2943
|
function S() {
|
|
@@ -2947,20 +2947,20 @@ function pl(n, { emit: e } = {}, t) {
|
|
|
2947
2947
|
}
|
|
2948
2948
|
function x(V) {
|
|
2949
2949
|
return Z(this, null, function* () {
|
|
2950
|
-
|
|
2950
|
+
r({ confirmLoading: !1 }), P.value = V.isUpdate, c.value = V.disableSubmit || !1, (V == null ? void 0 : V.hideSub) === !0 && (E.value = !1), V != null && V.title && (U.value = V.title), V != null && V.record ? R.value = V.record.id : R.value = "", yield Be(() => Z(this, null, function* () {
|
|
2951
2951
|
yield Ee(v), w(), yield i.value.show(V == null ? void 0 : V.isUpdate, V == null ? void 0 : V.record, V == null ? void 0 : V.param);
|
|
2952
2952
|
}));
|
|
2953
2953
|
});
|
|
2954
2954
|
}
|
|
2955
2955
|
function u(V) {
|
|
2956
|
-
v.value = !0, h.value = V.modalMinWidth, V.modelFullscreen == 1 ?
|
|
2956
|
+
v.value = !0, h.value = V.modalMinWidth, V.modelFullscreen == 1 ? r({ defaultFullscreen: !0 }) : r({ defaultFullscreen: !1 }), d = V, T.value && (d.commentStatus = 0);
|
|
2957
2957
|
}
|
|
2958
2958
|
function w() {
|
|
2959
|
-
let V =
|
|
2960
|
-
d.commentStatus == 1 && V ? ($.value = !0,
|
|
2959
|
+
let V = R.value;
|
|
2960
|
+
d.commentStatus == 1 && V ? ($.value = !0, r({ defaultFullscreen: !0 })) : $.value = !1;
|
|
2961
2961
|
}
|
|
2962
|
-
const
|
|
2963
|
-
let V = 200 * (
|
|
2962
|
+
const M = 800, q = 1100, Y = pe(() => {
|
|
2963
|
+
let V = 200 * (o.value - 1), ae = (Ce(C) ? M : q) + V;
|
|
2964
2964
|
ae = H(ae);
|
|
2965
2965
|
let ve = h.value;
|
|
2966
2966
|
return ve && ae < ve && (ae = ve), ae;
|
|
@@ -3005,16 +3005,16 @@ function pl(n, { emit: e } = {}, t) {
|
|
|
3005
3005
|
} else
|
|
3006
3006
|
ue = yield te(V, ae);
|
|
3007
3007
|
let We = ue.head.formTemplate;
|
|
3008
|
-
|
|
3008
|
+
o.value = We ? Number(We) : 1, f.value = ue.cgButtonList, y.value = ue.head.isTree === "Y", O.value = ue.head.treeParentIdField || "", _.value = ue.head.id, F.value = ue.head.tableName, X.value = ue.head.themeTemplate, ue.form_disable_update === !0 ? K.value = !0 : K.value = !1, s.value = !0, e && e("formConfig", ue), ve && ve(ue), yield Be(() => Z(this, null, function* () {
|
|
3009
3009
|
yield (yield Ee(i)).createRootProperties(ue);
|
|
3010
3010
|
}));
|
|
3011
3011
|
});
|
|
3012
3012
|
}
|
|
3013
3013
|
function Fe(V) {
|
|
3014
|
-
V[
|
|
3014
|
+
V[ri] = F.value, e("success", V), B.value == !0 && a(), L.value = !1, B.value = !0;
|
|
3015
3015
|
}
|
|
3016
3016
|
function Ze() {
|
|
3017
|
-
i.value && i.value.onCloseModal(), P.value && (d != null ? d : {}).commentStatus == 1 &&
|
|
3017
|
+
i.value && i.value.onCloseModal(), P.value && (d != null ? d : {}).commentStatus == 1 && r({ defaultFullscreen: !1 });
|
|
3018
3018
|
}
|
|
3019
3019
|
return {
|
|
3020
3020
|
// modal
|
|
@@ -3038,7 +3038,7 @@ function pl(n, { emit: e } = {}, t) {
|
|
|
3038
3038
|
//表单
|
|
3039
3039
|
handleFormConfig: ie,
|
|
3040
3040
|
onlineFormCompRef: i,
|
|
3041
|
-
formTemplate:
|
|
3041
|
+
formTemplate: o,
|
|
3042
3042
|
isTreeForm: y,
|
|
3043
3043
|
pidFieldName: O,
|
|
3044
3044
|
renderSuccess: u,
|
|
@@ -3049,7 +3049,7 @@ function pl(n, { emit: e } = {}, t) {
|
|
|
3049
3049
|
// 评论区域参数
|
|
3050
3050
|
tableId: _,
|
|
3051
3051
|
tableName: F,
|
|
3052
|
-
formDataId:
|
|
3052
|
+
formDataId: R,
|
|
3053
3053
|
enableComment: $,
|
|
3054
3054
|
popBodyStyle: z,
|
|
3055
3055
|
popModalFixedWidth: J,
|
|
@@ -3062,9 +3062,9 @@ function en() {
|
|
|
3062
3062
|
t < 800 && (t = 800), e.value = t;
|
|
3063
3063
|
const i = D({});
|
|
3064
3064
|
function c() {
|
|
3065
|
-
let
|
|
3065
|
+
let o = window.innerHeight - 210;
|
|
3066
3066
|
i.value = {
|
|
3067
|
-
height:
|
|
3067
|
+
height: o + "px",
|
|
3068
3068
|
overflowY: "auto"
|
|
3069
3069
|
};
|
|
3070
3070
|
}
|
|
@@ -3135,7 +3135,7 @@ const ml = xt({
|
|
|
3135
3135
|
title: t,
|
|
3136
3136
|
registerModal: i,
|
|
3137
3137
|
cgButtonList: c,
|
|
3138
|
-
handleCgButtonClick:
|
|
3138
|
+
handleCgButtonClick: o,
|
|
3139
3139
|
disableSubmit: f,
|
|
3140
3140
|
handleSubmit: v,
|
|
3141
3141
|
submitLoading: h,
|
|
@@ -3173,7 +3173,7 @@ const ml = xt({
|
|
|
3173
3173
|
function F() {
|
|
3174
3174
|
L.value = !0;
|
|
3175
3175
|
}
|
|
3176
|
-
const
|
|
3176
|
+
const R = pe(() => f.value || !A.value ? !1 : n.topTip), $ = pe(() => {
|
|
3177
3177
|
if (A.value == !0)
|
|
3178
3178
|
return null;
|
|
3179
3179
|
{
|
|
@@ -3198,13 +3198,13 @@ const ml = xt({
|
|
|
3198
3198
|
formTemplate: P,
|
|
3199
3199
|
disableSubmit: f,
|
|
3200
3200
|
cgButtonList: c,
|
|
3201
|
-
handleCgButtonClick:
|
|
3201
|
+
handleCgButtonClick: o,
|
|
3202
3202
|
isTreeForm: C,
|
|
3203
3203
|
pidFieldName: N,
|
|
3204
3204
|
submitLoading: h,
|
|
3205
3205
|
handleDataChange: F,
|
|
3206
3206
|
isUpdate: A,
|
|
3207
|
-
showTopTip:
|
|
3207
|
+
showTopTip: R,
|
|
3208
3208
|
modalFooter: $,
|
|
3209
3209
|
popBodyStyle: z,
|
|
3210
3210
|
popModalFixedWidth: K,
|
|
@@ -3212,7 +3212,7 @@ const ml = xt({
|
|
|
3212
3212
|
};
|
|
3213
3213
|
}
|
|
3214
3214
|
});
|
|
3215
|
-
function hl(n, e, t, i, c,
|
|
3215
|
+
function hl(n, e, t, i, c, o) {
|
|
3216
3216
|
const f = se("j-modal-tip"), v = se("online-pop-form"), h = se("BasicModal");
|
|
3217
3217
|
return ne(), Pe(h, Ot({
|
|
3218
3218
|
width: n.popModalFixedWidth,
|
|
@@ -3225,7 +3225,7 @@ function hl(n, e, t, i, c, r) {
|
|
|
3225
3225
|
wrapClassName: "jeecg-online-pop-modal",
|
|
3226
3226
|
onOk: n.handleSubmit
|
|
3227
3227
|
}), {
|
|
3228
|
-
title:
|
|
3228
|
+
title: re(() => [
|
|
3229
3229
|
Te(Oe(n.title) + " ", 1),
|
|
3230
3230
|
n.showTopTip ? (ne(), Pe(f, {
|
|
3231
3231
|
key: 0,
|
|
@@ -3234,7 +3234,7 @@ function hl(n, e, t, i, c, r) {
|
|
|
3234
3234
|
onCancel: n.handleRecover
|
|
3235
3235
|
}, null, 8, ["visible", "onSave", "onCancel"])) : xe("", !0)
|
|
3236
3236
|
]),
|
|
3237
|
-
default:
|
|
3237
|
+
default: re(() => [
|
|
3238
3238
|
fe(v, {
|
|
3239
3239
|
ref: "onlineFormCompRef",
|
|
3240
3240
|
id: n.id,
|
|
@@ -3266,7 +3266,7 @@ function gl(n, e) {
|
|
|
3266
3266
|
return ge.get({ url: t, params: e });
|
|
3267
3267
|
}
|
|
3268
3268
|
function tn(n) {
|
|
3269
|
-
const e = D("1"), t = D({}), i = D({}), c = D(""),
|
|
3269
|
+
const e = D("1"), t = D({}), i = D({}), c = D(""), o = Se({
|
|
3270
3270
|
add: !0,
|
|
3271
3271
|
update: !0
|
|
3272
3272
|
}), f = pe(() => n.textField ? n.textField.split(",") : []), v = D([]), h = pe(() => {
|
|
@@ -3282,8 +3282,8 @@ function tn(n) {
|
|
|
3282
3282
|
for (let d of $)
|
|
3283
3283
|
F.push(d);
|
|
3284
3284
|
}
|
|
3285
|
-
let
|
|
3286
|
-
|
|
3285
|
+
let R = n.imageField || "";
|
|
3286
|
+
R && F.push(R), t.value = {
|
|
3287
3287
|
linkTableSelectFields: F.join(",")
|
|
3288
3288
|
}, yield C(), yield N();
|
|
3289
3289
|
}
|
|
@@ -3293,8 +3293,8 @@ function tn(n) {
|
|
|
3293
3293
|
if (T) {
|
|
3294
3294
|
let F = T.split(",");
|
|
3295
3295
|
_ = F[0];
|
|
3296
|
-
for (let
|
|
3297
|
-
|
|
3296
|
+
for (let R = 0; R < F.length; R++)
|
|
3297
|
+
R > 0 && I.push(F[R]);
|
|
3298
3298
|
}
|
|
3299
3299
|
return {
|
|
3300
3300
|
others: I,
|
|
@@ -3306,24 +3306,24 @@ function tn(n) {
|
|
|
3306
3306
|
let T = t.value;
|
|
3307
3307
|
const I = yield gl(n.tableName, T);
|
|
3308
3308
|
if (b.value = I.columns, I.columns) {
|
|
3309
|
-
let _ = n.imageField, F = I.columns.filter((
|
|
3309
|
+
let _ = n.imageField, F = I.columns.filter((R) => R.dataIndex != c.value && R.dataIndex != _);
|
|
3310
3310
|
v.value = F;
|
|
3311
3311
|
}
|
|
3312
3312
|
if (P.value = I.dictOptions, I.hideColumns) {
|
|
3313
3313
|
let _ = I.hideColumns;
|
|
3314
|
-
_.indexOf("add") >= 0 ?
|
|
3314
|
+
_.indexOf("add") >= 0 ? o.add = !1 : o.add = !0, _.indexOf("update") >= 0 ? o.update = !1 : o.update = !0;
|
|
3315
3315
|
}
|
|
3316
3316
|
});
|
|
3317
3317
|
}
|
|
3318
3318
|
function N() {
|
|
3319
3319
|
return Z(this, null, function* () {
|
|
3320
|
-
let T = U(), _ = (yield _t(n.tableName, T)).records, F = [], { others:
|
|
3320
|
+
let T = U(), _ = (yield _t(n.tableName, T)).records, F = [], { others: R, labelField: $ } = y.value, d = n.imageField;
|
|
3321
3321
|
if (_ && _.length > 0)
|
|
3322
3322
|
for (let p of _) {
|
|
3323
3323
|
let l = ce({}, p);
|
|
3324
3324
|
E(l);
|
|
3325
|
-
let
|
|
3326
|
-
d && (
|
|
3325
|
+
let r = Object.assign({}, Qe(l, R), { id: l.id, label: l[$], value: l[n.valueField] });
|
|
3326
|
+
d && (r[d] = l[d]), F.push(r);
|
|
3327
3327
|
}
|
|
3328
3328
|
n.editBtnShow && F.push({}), O.value = F;
|
|
3329
3329
|
});
|
|
@@ -3331,13 +3331,13 @@ function tn(n) {
|
|
|
3331
3331
|
function E(T) {
|
|
3332
3332
|
let I = b.value, _ = P.value;
|
|
3333
3333
|
for (let F of I) {
|
|
3334
|
-
const { dataIndex:
|
|
3335
|
-
if ((T[
|
|
3336
|
-
T[
|
|
3334
|
+
const { dataIndex: R, customRender: $ } = F;
|
|
3335
|
+
if ((T[R] || T[R] === 0) && $ && $ == R && _[$]) {
|
|
3336
|
+
T[R] = $t(_[$], T[R]);
|
|
3337
3337
|
continue;
|
|
3338
3338
|
}
|
|
3339
|
-
let d = T[
|
|
3340
|
-
d && (T[
|
|
3339
|
+
let d = T[R + "_dictText"];
|
|
3340
|
+
d && (T[R] = d);
|
|
3341
3341
|
}
|
|
3342
3342
|
}
|
|
3343
3343
|
function U() {
|
|
@@ -3348,8 +3348,8 @@ function tn(n) {
|
|
|
3348
3348
|
i.value = {};
|
|
3349
3349
|
else {
|
|
3350
3350
|
let I = f.value, _ = [], F = [];
|
|
3351
|
-
for (let
|
|
3352
|
-
|
|
3351
|
+
for (let R = 0; R < I.length; R++)
|
|
3352
|
+
R <= 1 && (F.push(I[R]), _.push({ field: I[R], rule: "like", val: T }));
|
|
3353
3353
|
_.superQueryMatchType = "or", _.superQueryParams = encodeURI(JSON.stringify(_)), i.value = _;
|
|
3354
3354
|
}
|
|
3355
3355
|
}
|
|
@@ -3380,8 +3380,8 @@ function tn(n) {
|
|
|
3380
3380
|
if (_.length != T.length)
|
|
3381
3381
|
return !1;
|
|
3382
3382
|
let F = !0;
|
|
3383
|
-
for (let
|
|
3384
|
-
let $ =
|
|
3383
|
+
for (let R of T) {
|
|
3384
|
+
let $ = R[n.valueField];
|
|
3385
3385
|
_.indexOf($) < 0 && (F = !1);
|
|
3386
3386
|
}
|
|
3387
3387
|
return F;
|
|
@@ -3394,7 +3394,7 @@ function tn(n) {
|
|
|
3394
3394
|
function z(T, I, _) {
|
|
3395
3395
|
if (_ || (_ = {}), I && I.length > 0)
|
|
3396
3396
|
for (let F of I) {
|
|
3397
|
-
let
|
|
3397
|
+
let R = F.split(","), $ = R[0], d = R[1];
|
|
3398
3398
|
if (T[$])
|
|
3399
3399
|
T[$].push(_[d]);
|
|
3400
3400
|
else {
|
|
@@ -3428,31 +3428,31 @@ function tn(n) {
|
|
|
3428
3428
|
initFormData: z,
|
|
3429
3429
|
getImageSrc: K,
|
|
3430
3430
|
showImage: X,
|
|
3431
|
-
auths:
|
|
3431
|
+
auths: o
|
|
3432
3432
|
};
|
|
3433
3433
|
}
|
|
3434
3434
|
const bl = {
|
|
3435
3435
|
name: "LinkTableSelect",
|
|
3436
3436
|
components: {
|
|
3437
|
-
PlusOutlined:
|
|
3437
|
+
PlusOutlined: rt,
|
|
3438
3438
|
EditOutlined: An,
|
|
3439
3439
|
OnlinePopModal: Ke
|
|
3440
3440
|
},
|
|
3441
3441
|
props: {
|
|
3442
|
-
valueField:
|
|
3443
|
-
textField:
|
|
3444
|
-
tableName:
|
|
3445
|
-
multi:
|
|
3446
|
-
value:
|
|
3447
|
-
linkFields:
|
|
3448
|
-
imageField:
|
|
3442
|
+
valueField: oe.string.def(""),
|
|
3443
|
+
textField: oe.string.def(""),
|
|
3444
|
+
tableName: oe.string.def(""),
|
|
3445
|
+
multi: oe.bool.def(!1),
|
|
3446
|
+
value: oe.oneOfType([oe.string, oe.number, oe.array]),
|
|
3447
|
+
linkFields: oe.array.def([]),
|
|
3448
|
+
imageField: oe.string.def(""),
|
|
3449
3449
|
// update-begin--author:liaozhiyang---date:20240530---for:【TV360X-389】普通查询关联记录去掉编辑按钮
|
|
3450
|
-
editBtnShow:
|
|
3450
|
+
editBtnShow: oe.bool.def(!0)
|
|
3451
3451
|
// update-end--author:liaozhiyang---date:20240530---for:【TV360X-389】普通查询关联记录去掉编辑按钮
|
|
3452
3452
|
},
|
|
3453
3453
|
emits: ["change", "update:value"],
|
|
3454
3454
|
setup(n, { emit: e, attrs: t }) {
|
|
3455
|
-
const i = Mn("tableId", D(null)), c = D(),
|
|
3455
|
+
const i = Mn("tableId", D(null)), c = D(), o = D([]), { auths: f, mainContentField: v, textFieldArray: h, selectOptions: y, reloadTableLinkOptions: O, addQueryParams: b, formatData: P, initFormData: C, getImageSrc: N, showImage: E } = tn(n), [U, { openModal: B }] = Ie(), L = pe(() => n.tableName), J = pe(() => n.multi === !0 ? Re(ce({}, t), {
|
|
3456
3456
|
// update-end--author:liaozhiyang---date:20240617---for:【TV360X-988】关联记录组件下拉风格禁用未生效
|
|
3457
3457
|
mode: "multiple"
|
|
3458
3458
|
}) : ce({}, t));
|
|
@@ -3478,12 +3478,12 @@ const bl = {
|
|
|
3478
3478
|
return Z(this, null, function* () {
|
|
3479
3479
|
try {
|
|
3480
3480
|
const l = document.querySelectorAll(`.online-list-${i.value} .jeecg-basic-table-form-container.online-query-form .link-table-select-box`);
|
|
3481
|
-
l && l.length > 0 && l.forEach((
|
|
3481
|
+
l && l.length > 0 && l.forEach((r) => r.dispatchEvent(new Event(K)));
|
|
3482
3482
|
} catch (l) {
|
|
3483
3483
|
}
|
|
3484
3484
|
yield O();
|
|
3485
3485
|
let p = d[n.valueField];
|
|
3486
|
-
n.multi === !0 ?
|
|
3486
|
+
n.multi === !0 ? o.value = [p] : o.value = p, _(o.value);
|
|
3487
3487
|
});
|
|
3488
3488
|
}
|
|
3489
3489
|
function I(d) {
|
|
@@ -3493,41 +3493,41 @@ const bl = {
|
|
|
3493
3493
|
F(d), d || (b(), O());
|
|
3494
3494
|
}
|
|
3495
3495
|
function F(d) {
|
|
3496
|
-
let p = {}, l = n.linkFields,
|
|
3496
|
+
let p = {}, l = n.linkFields, r = [];
|
|
3497
3497
|
if (!d)
|
|
3498
3498
|
C(p, l);
|
|
3499
3499
|
else {
|
|
3500
3500
|
let a = be(y.value), s = be(d);
|
|
3501
|
-
s instanceof Array ?
|
|
3502
|
-
let S = a.filter((x) =>
|
|
3501
|
+
s instanceof Array ? r = [...s] : n.multi == !0 ? r = s.split(",") : r = [s];
|
|
3502
|
+
let S = a.filter((x) => r.indexOf(x[n.valueField]) >= 0);
|
|
3503
3503
|
if (S && S.length > 0) {
|
|
3504
3504
|
let x = ce({}, S[0]);
|
|
3505
3505
|
if (S.length > 1)
|
|
3506
3506
|
for (let w = 1; w < S.length; w++)
|
|
3507
|
-
x =
|
|
3507
|
+
x = R(x, S[w]);
|
|
3508
3508
|
let u = v.value;
|
|
3509
3509
|
x[u] = x.label, C(p, l, x);
|
|
3510
3510
|
}
|
|
3511
3511
|
}
|
|
3512
|
-
P(p), e("change",
|
|
3512
|
+
P(p), e("change", r.join(",") || "", p), e("update:value", r.join(",") || "");
|
|
3513
3513
|
}
|
|
3514
|
-
function
|
|
3514
|
+
function R(d, p) {
|
|
3515
3515
|
let l = {};
|
|
3516
|
-
return Object.keys(d).map((
|
|
3517
|
-
l[
|
|
3516
|
+
return Object.keys(d).map((r) => {
|
|
3517
|
+
l[r] = (d[r] || "") + "," + (p[r] || "");
|
|
3518
3518
|
}), l;
|
|
3519
3519
|
}
|
|
3520
3520
|
he(() => n.value, (d) => Z(this, null, function* () {
|
|
3521
|
-
d ? (n.multi == !0 ?
|
|
3521
|
+
d ? (n.multi == !0 ? o.value = d.split(",") : o.value = d, n.linkFields && n.linkFields.length > 0 && F(d)) : o.value = [];
|
|
3522
3522
|
}), { immediate: !0 }), he(() => y.value, (d) => {
|
|
3523
|
-
d && d.length > 0 && n.linkFields && n.linkFields.length > 0 &&
|
|
3523
|
+
d && d.length > 0 && n.linkFields && n.linkFields.length > 0 && o.value && o.value.length > 0 && F(o.value);
|
|
3524
3524
|
});
|
|
3525
3525
|
const $ = (d) => {
|
|
3526
3526
|
d.target.src = ze;
|
|
3527
3527
|
};
|
|
3528
3528
|
return {
|
|
3529
3529
|
boxRef: c,
|
|
3530
|
-
selectValue:
|
|
3530
|
+
selectValue: o,
|
|
3531
3531
|
selectOptions: y,
|
|
3532
3532
|
registerPopModal: U,
|
|
3533
3533
|
popTableName: L,
|
|
@@ -3556,7 +3556,7 @@ const vl = {
|
|
|
3556
3556
|
key: 0,
|
|
3557
3557
|
class: "left-avatar"
|
|
3558
3558
|
}, Cl = ["src"], Sl = ["src"], Fl = { class: "right-content" }, _l = { class: "others" }, Tl = { class: "other-item ellipsis" };
|
|
3559
|
-
function xl(n, e, t, i, c,
|
|
3559
|
+
function xl(n, e, t, i, c, o) {
|
|
3560
3560
|
const f = se("PlusOutlined"), v = se("EditOutlined"), h = se("a-select"), y = se("online-pop-modal");
|
|
3561
3561
|
return ne(), de("div", vl, [
|
|
3562
3562
|
fe(h, Ot({
|
|
@@ -3575,7 +3575,7 @@ function xl(n, e, t, i, c, r) {
|
|
|
3575
3575
|
onSearch: i.handleSearch,
|
|
3576
3576
|
onChange: i.handleChange
|
|
3577
3577
|
}), {
|
|
3578
|
-
option:
|
|
3578
|
+
option: re((O) => [
|
|
3579
3579
|
!O.value && i.auths.add ? (ne(), de("div", {
|
|
3580
3580
|
key: 0,
|
|
3581
3581
|
class: "opt-add",
|
|
@@ -3628,27 +3628,27 @@ const nn = /* @__PURE__ */ $e(bl, [["render", xl], ["__scopeId", "data-v-76bee33
|
|
|
3628
3628
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3629
3629
|
function Ol(n, e) {
|
|
3630
3630
|
let t = Gn();
|
|
3631
|
-
const i = D([]), c = D({}),
|
|
3631
|
+
const i = D([]), c = D({}), o = D([]), f = D(null);
|
|
3632
3632
|
let v = D(!0), h = pe(() => {
|
|
3633
3633
|
if (v.value != !0)
|
|
3634
3634
|
return { x: !1 };
|
|
3635
3635
|
});
|
|
3636
3636
|
const [y, { openModal: O }] = Ie(), b = D(""), [P, { openModal: C }] = Ie(), N = D("");
|
|
3637
|
-
function E(l,
|
|
3637
|
+
function E(l, r = "checkbox") {
|
|
3638
3638
|
c.value = l.dictOptions, l.checkboxFlag == "Y" ? f.value = {
|
|
3639
|
-
selectedRowKeys:
|
|
3639
|
+
selectedRowKeys: o,
|
|
3640
3640
|
onChange: U,
|
|
3641
|
-
type:
|
|
3641
|
+
type: r
|
|
3642
3642
|
} : f.value = null, v.value = l.scrollFlag == 1;
|
|
3643
3643
|
let a = l.columns;
|
|
3644
3644
|
a.forEach((u) => {
|
|
3645
3645
|
var w;
|
|
3646
3646
|
if (u.fieldExtendJson && JSON.parse(u.fieldExtendJson).isFixed && (u.fixed = "left"), u.hrefSlotName && u.scopedSlots) {
|
|
3647
|
-
const
|
|
3648
|
-
|
|
3647
|
+
const M = (w = l.fieldHrefSlots) == null ? void 0 : w.find((q) => q.slotName === u.hrefSlotName);
|
|
3648
|
+
M && (u.fieldHref = M);
|
|
3649
3649
|
}
|
|
3650
|
-
Object.keys(u).map((
|
|
3651
|
-
u[
|
|
3650
|
+
Object.keys(u).map((M) => {
|
|
3651
|
+
u[M] == null && delete u[M];
|
|
3652
3652
|
});
|
|
3653
3653
|
});
|
|
3654
3654
|
let s = l.fieldHrefSlots;
|
|
@@ -3657,30 +3657,30 @@ function Ol(n, e) {
|
|
|
3657
3657
|
let x = [];
|
|
3658
3658
|
if (x = B(a, S), T(x), n.isTree() === !0) {
|
|
3659
3659
|
let u = l.textField, w = -1;
|
|
3660
|
-
for (let
|
|
3661
|
-
if (x[
|
|
3662
|
-
w =
|
|
3660
|
+
for (let M = 0; M < x.length; M++)
|
|
3661
|
+
if (x[M].dataIndex == u) {
|
|
3662
|
+
w = M;
|
|
3663
3663
|
break;
|
|
3664
3664
|
}
|
|
3665
3665
|
if (w > 0) {
|
|
3666
|
-
let
|
|
3667
|
-
x.unshift(
|
|
3666
|
+
let M = x.splice(w, 1);
|
|
3667
|
+
x.unshift(M[0]);
|
|
3668
3668
|
}
|
|
3669
3669
|
x.length > 0 && (x[0].align = "left");
|
|
3670
3670
|
}
|
|
3671
3671
|
i.value = x, n.reloadTable();
|
|
3672
3672
|
}
|
|
3673
|
-
function U(l,
|
|
3674
|
-
|
|
3673
|
+
function U(l, r) {
|
|
3674
|
+
o.value = l, n.selectedRows = be(r), n.selectedRowKeys = be(l);
|
|
3675
3675
|
}
|
|
3676
|
-
function B(l,
|
|
3676
|
+
function B(l, r) {
|
|
3677
3677
|
var a;
|
|
3678
3678
|
for (let s of l) {
|
|
3679
3679
|
let { customRender: S, hrefSlotName: x, fieldType: u } = s;
|
|
3680
3680
|
if (u == "date" || u == "Date")
|
|
3681
3681
|
s.customRender = ({ text: w }) => w ? w.length > 10 ? w.substring(0, 10) : w : "";
|
|
3682
3682
|
else if (u == "link_table") {
|
|
3683
|
-
const w = (a = s.fieldExtendJson) != null ? a : "{}",
|
|
3683
|
+
const w = (a = s.fieldExtendJson) != null ? a : "{}", M = JSON.parse(w);
|
|
3684
3684
|
s.customRender = ({ text: q, record: Y }) => {
|
|
3685
3685
|
if (!q)
|
|
3686
3686
|
return "";
|
|
@@ -3696,7 +3696,7 @@ function Ol(n, e) {
|
|
|
3696
3696
|
{
|
|
3697
3697
|
id: H[G],
|
|
3698
3698
|
text: j[G],
|
|
3699
|
-
onTab: (ie) => p(ie, x,
|
|
3699
|
+
onTab: (ie) => p(ie, x, M.isListReadOnly)
|
|
3700
3700
|
}
|
|
3701
3701
|
);
|
|
3702
3702
|
Q.push(te);
|
|
@@ -3705,20 +3705,20 @@ function Ol(n, e) {
|
|
|
3705
3705
|
}
|
|
3706
3706
|
};
|
|
3707
3707
|
} else if (u === "popup_dict")
|
|
3708
|
-
s.customRender = ({ text: w, record:
|
|
3708
|
+
s.customRender = ({ text: w, record: M }) => M[s.dataIndex + "_dictText"] != null ? M[s.dataIndex + "_dictText"] : w;
|
|
3709
3709
|
else {
|
|
3710
|
-
if (!x && s.scopedSlots && s.scopedSlots.customRender &&
|
|
3711
|
-
let w = S,
|
|
3710
|
+
if (!x && s.scopedSlots && s.scopedSlots.customRender && r.hasOwnProperty(s.scopedSlots.customRender) && (x = s.scopedSlots.customRender), S || x) {
|
|
3711
|
+
let w = S, M = "_replace_text_";
|
|
3712
3712
|
s.ellipsis = !0, s.customRender = ({ text: q, record: Y }) => {
|
|
3713
3713
|
let H = q;
|
|
3714
3714
|
if (w)
|
|
3715
|
-
if (w.startsWith(
|
|
3716
|
-
let j = w.replace(
|
|
3715
|
+
if (w.startsWith(M)) {
|
|
3716
|
+
let j = w.replace(M, "");
|
|
3717
3717
|
H = Y[j];
|
|
3718
3718
|
} else
|
|
3719
3719
|
H = $t(Ce(c)[w], q + "");
|
|
3720
3720
|
if (s.showLength && H && H.length > s.showLength && (H = H.substr(0, s.showLength) + "..."), x) {
|
|
3721
|
-
let j =
|
|
3721
|
+
let j = r[x];
|
|
3722
3722
|
if (j)
|
|
3723
3723
|
return Ae(
|
|
3724
3724
|
"a",
|
|
@@ -3740,7 +3740,7 @@ function Ol(n, e) {
|
|
|
3740
3740
|
}
|
|
3741
3741
|
return l;
|
|
3742
3742
|
}
|
|
3743
|
-
function L(l,
|
|
3743
|
+
function L(l, r) {
|
|
3744
3744
|
let a = l.href, s = /(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%\$#_]*)?/, S = /\.vue(\?.*)?$/, x = /{{([^}]+)}}/g;
|
|
3745
3745
|
if (typeof a == "string")
|
|
3746
3746
|
if (a.startsWith("ONLINE:")) {
|
|
@@ -3751,13 +3751,13 @@ function Ol(n, e) {
|
|
|
3751
3751
|
isUpdate: !0,
|
|
3752
3752
|
disableSubmit: !0,
|
|
3753
3753
|
hideSub: !0,
|
|
3754
|
-
record: { id:
|
|
3754
|
+
record: { id: r[w] }
|
|
3755
3755
|
});
|
|
3756
3756
|
} else
|
|
3757
|
-
a = a.trim().replace(/\${([^}]+)?}/g, (u, w) =>
|
|
3757
|
+
a = a.trim().replace(/\${([^}]+)?}/g, (u, w) => r[w]), x.test(a) && (a = a.replace(x, function(u, w) {
|
|
3758
3758
|
try {
|
|
3759
3759
|
return w.trim() === "ACCESS_TOKEN" ? Lt() : at(w);
|
|
3760
|
-
} catch (
|
|
3760
|
+
} catch (M) {
|
|
3761
3761
|
return u;
|
|
3762
3762
|
}
|
|
3763
3763
|
})), s.test(a) ? window.open(a, "_blank") : S.test(a) ? z(a) : t.push(a);
|
|
@@ -3789,10 +3789,10 @@ function Ol(n, e) {
|
|
|
3789
3789
|
params: {}
|
|
3790
3790
|
});
|
|
3791
3791
|
function z(l) {
|
|
3792
|
-
let
|
|
3793
|
-
if (
|
|
3794
|
-
a = l.substring(0,
|
|
3795
|
-
let S = l.substring(
|
|
3792
|
+
let r = l.indexOf("?"), a = l;
|
|
3793
|
+
if (r !== -1) {
|
|
3794
|
+
a = l.substring(0, r);
|
|
3795
|
+
let S = l.substring(r + 1, l.length).split("&"), x = {};
|
|
3796
3796
|
S.forEach((u) => {
|
|
3797
3797
|
let w = u.split("=");
|
|
3798
3798
|
x[w[0]] = w[1];
|
|
@@ -3812,22 +3812,22 @@ function Ol(n, e) {
|
|
|
3812
3812
|
width: 150
|
|
3813
3813
|
});
|
|
3814
3814
|
he(() => e == null ? void 0 : e.value, () => {
|
|
3815
|
-
var l,
|
|
3816
|
-
((l = e == null ? void 0 : e.value) == null ? void 0 : l.tableFixedAction) === 1 && (X.fixed = ((
|
|
3815
|
+
var l, r;
|
|
3816
|
+
((l = e == null ? void 0 : e.value) == null ? void 0 : l.tableFixedAction) === 1 && (X.fixed = ((r = e == null ? void 0 : e.value) == null ? void 0 : r.tableFixedActionType) || "right", n.isTree() && (X.fixed = "right"));
|
|
3817
3817
|
});
|
|
3818
3818
|
function T(l) {
|
|
3819
|
-
let
|
|
3819
|
+
let r = !1;
|
|
3820
3820
|
for (let a = 0; a < l.length; a++)
|
|
3821
3821
|
if (l[a].dataIndex.toLowerCase() == "bpm_status") {
|
|
3822
|
-
|
|
3822
|
+
r = !0;
|
|
3823
3823
|
break;
|
|
3824
3824
|
}
|
|
3825
|
-
return n.hasBpmStatus =
|
|
3825
|
+
return n.hasBpmStatus = r, r;
|
|
3826
3826
|
}
|
|
3827
|
-
function I(l,
|
|
3827
|
+
function I(l, r, a, s) {
|
|
3828
3828
|
if (l)
|
|
3829
3829
|
if (l.indexOf(",") > 0)
|
|
3830
|
-
ni(`/online/cgform/field/download/${s}/${
|
|
3830
|
+
ni(`/online/cgform/field/download/${s}/${r.id}/${a.dataIndex}`, `文件_${r.id}.zip`);
|
|
3831
3831
|
else {
|
|
3832
3832
|
const S = Ue(l);
|
|
3833
3833
|
window.open(S);
|
|
@@ -3839,31 +3839,31 @@ function Ol(n, e) {
|
|
|
3839
3839
|
function F(l) {
|
|
3840
3840
|
return l ? Xn(l) : "";
|
|
3841
3841
|
}
|
|
3842
|
-
function
|
|
3842
|
+
function R(l, r) {
|
|
3843
3843
|
if (!l)
|
|
3844
3844
|
return "";
|
|
3845
3845
|
let a = l;
|
|
3846
3846
|
a.length > 10 && (a = a.substring(0, 10));
|
|
3847
|
-
let s =
|
|
3847
|
+
let s = r == null ? void 0 : r.fieldExtendJson;
|
|
3848
3848
|
return s && (s = JSON.parse(s), s.picker && s.picker != "default") ? Hn(a)[s.picker] : a;
|
|
3849
3849
|
}
|
|
3850
|
-
he(
|
|
3851
|
-
n.selectedRowKeys = be(
|
|
3850
|
+
he(o, () => {
|
|
3851
|
+
n.selectedRowKeys = be(o.value);
|
|
3852
3852
|
}), n.clearSelectedRow = () => {
|
|
3853
|
-
|
|
3853
|
+
o.value = [], n.selectedRows = [], n.selectedRowKeys = [];
|
|
3854
3854
|
};
|
|
3855
3855
|
function $(l) {
|
|
3856
3856
|
if (l) {
|
|
3857
|
-
let
|
|
3857
|
+
let r = [], a = l.split(",");
|
|
3858
3858
|
for (let s of a)
|
|
3859
|
-
s &&
|
|
3860
|
-
ei({ imageList:
|
|
3859
|
+
s && r.push(Ue(s));
|
|
3860
|
+
ei({ imageList: r });
|
|
3861
3861
|
}
|
|
3862
3862
|
}
|
|
3863
3863
|
const d = D();
|
|
3864
|
-
function p(l,
|
|
3864
|
+
function p(l, r, a) {
|
|
3865
3865
|
return Z(this, null, function* () {
|
|
3866
|
-
N.value =
|
|
3866
|
+
N.value = r, (yield d.value.getFormStatus()) == !0 ? (b.value = r, O(!0, {
|
|
3867
3867
|
isUpdate: !0,
|
|
3868
3868
|
disableSubmit: !0,
|
|
3869
3869
|
hideSub: !0,
|
|
@@ -3882,14 +3882,14 @@ function Ol(n, e) {
|
|
|
3882
3882
|
return {
|
|
3883
3883
|
columns: i,
|
|
3884
3884
|
actionColumn: X,
|
|
3885
|
-
selectedKeys:
|
|
3885
|
+
selectedKeys: o,
|
|
3886
3886
|
rowSelection: f,
|
|
3887
3887
|
enableScrollBar: v,
|
|
3888
3888
|
tableScroll: h,
|
|
3889
3889
|
downloadRowFile: I,
|
|
3890
3890
|
getImgView: _,
|
|
3891
3891
|
getPcaText: F,
|
|
3892
|
-
getFormatDate:
|
|
3892
|
+
getFormatDate: R,
|
|
3893
3893
|
handleColumnResult: E,
|
|
3894
3894
|
onSelectChange: U,
|
|
3895
3895
|
hrefComponent: A,
|
|
@@ -3925,13 +3925,13 @@ const Pl = xt({
|
|
|
3925
3925
|
BasicModal: It,
|
|
3926
3926
|
BasicTable: zn,
|
|
3927
3927
|
TableAction: Kn,
|
|
3928
|
-
PlusOutlined:
|
|
3928
|
+
PlusOutlined: rt,
|
|
3929
3929
|
OnlinePopModal: Ke
|
|
3930
3930
|
},
|
|
3931
3931
|
emits: ["success", "register"],
|
|
3932
3932
|
setup(n, { emit: e }) {
|
|
3933
|
-
const { createMessage: t } = ke(), { popModalFixedWidth: i, resetBodyStyle: c, popBodyStyle:
|
|
3934
|
-
f.value = "", s.value = j.selectedRowKeys, S.value = j.selectedRows,
|
|
3933
|
+
const { createMessage: t } = ke(), { popModalFixedWidth: i, resetBodyStyle: c, popBodyStyle: o } = en(), f = D(""), v = D(800), [h, { closeModal: y }] = Dt((j) => {
|
|
3934
|
+
f.value = "", s.value = j.selectedRowKeys, S.value = j.selectedRows, r({ current: 1 }), l(), c();
|
|
3935
3935
|
}), [O, { openModal: b }] = Ie();
|
|
3936
3936
|
function P() {
|
|
3937
3937
|
y();
|
|
@@ -3974,7 +3974,7 @@ const Pl = xt({
|
|
|
3974
3974
|
hrefComponent: _,
|
|
3975
3975
|
viewOnlineCellImage: F
|
|
3976
3976
|
} = Ol(L, J);
|
|
3977
|
-
function
|
|
3977
|
+
function R() {
|
|
3978
3978
|
const j = "/online/cgform/api/getColumns/" + n.id;
|
|
3979
3979
|
return new Promise((Q, G) => {
|
|
3980
3980
|
ge.get({ url: j }, { isTransformResponse: !1 }).then((te) => {
|
|
@@ -3984,7 +3984,7 @@ const Pl = xt({
|
|
|
3984
3984
|
}
|
|
3985
3985
|
const $ = D("");
|
|
3986
3986
|
he(() => n.id, () => Z(this, null, function* () {
|
|
3987
|
-
let j = yield
|
|
3987
|
+
let j = yield R();
|
|
3988
3988
|
I(j), $.value = j.description;
|
|
3989
3989
|
}), { immediate: !0 });
|
|
3990
3990
|
const { tableContext: d } = Zn({
|
|
@@ -4007,7 +4007,7 @@ const Pl = xt({
|
|
|
4007
4007
|
useSearchForm: !1,
|
|
4008
4008
|
beforeFetch: (j) => q(j)
|
|
4009
4009
|
}
|
|
4010
|
-
}), [p, { reload: l, setPagination:
|
|
4010
|
+
}), [p, { reload: l, setPagination: r }, { rowSelection: a, selectedRowKeys: s, selectedRows: S }] = d;
|
|
4011
4011
|
he(() => n.multi, (j) => {
|
|
4012
4012
|
j == !0 ? a.type = "checkbox" : a.type = "radio";
|
|
4013
4013
|
}, { immediate: !0 });
|
|
@@ -4024,7 +4024,7 @@ const Pl = xt({
|
|
|
4024
4024
|
function w() {
|
|
4025
4025
|
l();
|
|
4026
4026
|
}
|
|
4027
|
-
const
|
|
4027
|
+
const M = ["int", "double", "Date", "Datetime", "BigDecimal"];
|
|
4028
4028
|
function q(j) {
|
|
4029
4029
|
let Q = f.value;
|
|
4030
4030
|
if (!Q)
|
|
@@ -4032,7 +4032,7 @@ const Pl = xt({
|
|
|
4032
4032
|
let G = A.value, te = [];
|
|
4033
4033
|
if (G && G.length > 0)
|
|
4034
4034
|
for (let ie of G)
|
|
4035
|
-
ie.dbType && (ie.dbType == "string" ? te.push({ field: ie.dataIndex, type: ie.dbType.toLowerCase(), rule: "like", val: Q }) : ie.dbType == "Date" ? Q.length == 10 && te.push({ field: ie.dataIndex, type: ie.dbType.toLowerCase(), rule: "eq", val: Q }) : ie.dbType == "Datetime" ? Q.length == 19 && te.push({ field: ie.dataIndex, type: ie.dbType.toLowerCase(), rule: "eq", val: Q }) :
|
|
4035
|
+
ie.dbType && (ie.dbType == "string" ? te.push({ field: ie.dataIndex, type: ie.dbType.toLowerCase(), rule: "like", val: Q }) : ie.dbType == "Date" ? Q.length == 10 && te.push({ field: ie.dataIndex, type: ie.dbType.toLowerCase(), rule: "eq", val: Q }) : ie.dbType == "Datetime" ? Q.length == 19 && te.push({ field: ie.dataIndex, type: ie.dbType.toLowerCase(), rule: "eq", val: Q }) : M.indexOf(ie.dbType) && te.push({ field: ie.dataIndex, type: ie.dbType.toLowerCase(), rule: "eq", val: Q }));
|
|
4036
4036
|
return j.superQueryMatchType = "or", j.superQueryParams = encodeURI(JSON.stringify(te)), j;
|
|
4037
4037
|
}
|
|
4038
4038
|
function Y() {
|
|
@@ -4065,7 +4065,7 @@ const Pl = xt({
|
|
|
4065
4065
|
handleAdd: Y,
|
|
4066
4066
|
reload: l,
|
|
4067
4067
|
popModalFixedWidth: i,
|
|
4068
|
-
popBodyStyle:
|
|
4068
|
+
popBodyStyle: o,
|
|
4069
4069
|
handleDataSave: H
|
|
4070
4070
|
};
|
|
4071
4071
|
}
|
|
@@ -4076,7 +4076,7 @@ const Pl = xt({
|
|
|
4076
4076
|
key: 0,
|
|
4077
4077
|
style: { "font-size": "12px", "font-style": "italic" }
|
|
4078
4078
|
}, Rl = ["src", "onClick"], kl = ["innerHTML"], El = ["title"];
|
|
4079
|
-
function $l(n, e, t, i, c,
|
|
4079
|
+
function $l(n, e, t, i, c, o) {
|
|
4080
4080
|
const f = se("PlusOutlined"), v = se("a-button"), h = se("a-input-search"), y = se("TableAction"), O = se("BasicTable"), b = se("BasicModal"), P = se("online-pop-modal");
|
|
4081
4081
|
return ne(), de(He, null, [
|
|
4082
4082
|
fe(b, {
|
|
@@ -4087,7 +4087,7 @@ function $l(n, e, t, i, c, r) {
|
|
|
4087
4087
|
title: n.modalTitle,
|
|
4088
4088
|
wrapClassName: "jeecg-online-pop-list-modal"
|
|
4089
4089
|
}, {
|
|
4090
|
-
footer:
|
|
4090
|
+
footer: re(() => [
|
|
4091
4091
|
me("div", Dl, [
|
|
4092
4092
|
n.addAuth ? (ne(), Pe(v, {
|
|
4093
4093
|
key: 0,
|
|
@@ -4095,7 +4095,7 @@ function $l(n, e, t, i, c, r) {
|
|
|
4095
4095
|
type: "primary",
|
|
4096
4096
|
onClick: n.handleAdd
|
|
4097
4097
|
}, {
|
|
4098
|
-
default:
|
|
4098
|
+
default: re(() => [
|
|
4099
4099
|
fe(f),
|
|
4100
4100
|
e[1] || (e[1] = Te("新增记录"))
|
|
4101
4101
|
]),
|
|
@@ -4106,7 +4106,7 @@ function $l(n, e, t, i, c, r) {
|
|
|
4106
4106
|
key: "back",
|
|
4107
4107
|
onClick: n.handleCancel
|
|
4108
4108
|
}, {
|
|
4109
|
-
default:
|
|
4109
|
+
default: re(() => e[2] || (e[2] = [
|
|
4110
4110
|
Te("关闭")
|
|
4111
4111
|
])),
|
|
4112
4112
|
_: 1
|
|
@@ -4118,18 +4118,18 @@ function $l(n, e, t, i, c, r) {
|
|
|
4118
4118
|
onClick: n.handleSubmit,
|
|
4119
4119
|
loading: n.submitLoading
|
|
4120
4120
|
}, {
|
|
4121
|
-
default:
|
|
4121
|
+
default: re(() => e[3] || (e[3] = [
|
|
4122
4122
|
Te("确定")
|
|
4123
4123
|
])),
|
|
4124
4124
|
_: 1
|
|
4125
4125
|
}, 8, ["disabled", "onClick", "loading"])
|
|
4126
4126
|
]),
|
|
4127
|
-
default:
|
|
4127
|
+
default: re(() => [
|
|
4128
4128
|
fe(O, {
|
|
4129
4129
|
onRegister: n.registerTable,
|
|
4130
4130
|
rowSelection: n.rowSelection
|
|
4131
4131
|
}, {
|
|
4132
|
-
tableTitle:
|
|
4132
|
+
tableTitle: re(() => [
|
|
4133
4133
|
fe(h, {
|
|
4134
4134
|
value: n.searchText,
|
|
4135
4135
|
"onUpdate:value": e[0] || (e[0] = (C) => n.searchText = C),
|
|
@@ -4138,12 +4138,12 @@ function $l(n, e, t, i, c, r) {
|
|
|
4138
4138
|
style: { width: "240px" }
|
|
4139
4139
|
}, null, 8, ["value", "onSearch"])
|
|
4140
4140
|
]),
|
|
4141
|
-
action:
|
|
4141
|
+
action: re(({ record: C }) => [
|
|
4142
4142
|
fe(y, {
|
|
4143
4143
|
actions: n.getTableAction(C)
|
|
4144
4144
|
}, null, 8, ["actions"])
|
|
4145
4145
|
]),
|
|
4146
|
-
fileSlot:
|
|
4146
|
+
fileSlot: re(({ text: C }) => [
|
|
4147
4147
|
C ? (ne(), Pe(v, {
|
|
4148
4148
|
key: 1,
|
|
4149
4149
|
ghost: !0,
|
|
@@ -4152,13 +4152,13 @@ function $l(n, e, t, i, c, r) {
|
|
|
4152
4152
|
size: "small",
|
|
4153
4153
|
onClick: (N) => n.downloadRowFile(C)
|
|
4154
4154
|
}, {
|
|
4155
|
-
default:
|
|
4155
|
+
default: re(() => e[4] || (e[4] = [
|
|
4156
4156
|
Te(" 下载 ")
|
|
4157
4157
|
])),
|
|
4158
4158
|
_: 2
|
|
4159
4159
|
}, 1032, ["onClick"])) : (ne(), de("span", Il, "无文件"))
|
|
4160
4160
|
]),
|
|
4161
|
-
imgSlot:
|
|
4161
|
+
imgSlot: re(({ text: C }) => [
|
|
4162
4162
|
C ? (ne(), de("img", {
|
|
4163
4163
|
key: 1,
|
|
4164
4164
|
src: n.getImgView(C),
|
|
@@ -4167,15 +4167,15 @@ function $l(n, e, t, i, c, r) {
|
|
|
4167
4167
|
onClick: (N) => n.viewOnlineCellImage(C)
|
|
4168
4168
|
}, null, 8, Rl)) : (ne(), de("span", Ml, "无图片"))
|
|
4169
4169
|
]),
|
|
4170
|
-
htmlSlot:
|
|
4170
|
+
htmlSlot: re(({ text: C }) => [
|
|
4171
4171
|
me("div", { innerHTML: C }, null, 8, kl)
|
|
4172
4172
|
]),
|
|
4173
|
-
pcaSlot:
|
|
4173
|
+
pcaSlot: re(({ text: C }) => [
|
|
4174
4174
|
me("div", {
|
|
4175
4175
|
title: n.getPcaText(C)
|
|
4176
4176
|
}, Oe(n.getPcaText(C)), 9, El)
|
|
4177
4177
|
]),
|
|
4178
|
-
dateSlot:
|
|
4178
|
+
dateSlot: re(({ text: C, column: N }) => [
|
|
4179
4179
|
me("span", null, Oe(n.getFormatDate(C, N)), 1)
|
|
4180
4180
|
]),
|
|
4181
4181
|
_: 1
|
|
@@ -4198,28 +4198,28 @@ const ln = /* @__PURE__ */ $e(Pl, [["render", $l]]), Ys = /* @__PURE__ */ Object
|
|
|
4198
4198
|
const Ll = {
|
|
4199
4199
|
name: "LinkTableCard",
|
|
4200
4200
|
props: {
|
|
4201
|
-
valueField:
|
|
4202
|
-
textField:
|
|
4203
|
-
tableName:
|
|
4204
|
-
multi:
|
|
4205
|
-
value:
|
|
4201
|
+
valueField: oe.string.def(""),
|
|
4202
|
+
textField: oe.string.def(""),
|
|
4203
|
+
tableName: oe.string.def(""),
|
|
4204
|
+
multi: oe.bool.def(!1),
|
|
4205
|
+
value: oe.oneOfType([oe.string, oe.number]),
|
|
4206
4206
|
// ["表单字段,表字典字段","表单字段,表字典字段"]
|
|
4207
|
-
linkFields:
|
|
4207
|
+
linkFields: oe.array.def([]),
|
|
4208
4208
|
//是否是禁用页面
|
|
4209
|
-
disabled:
|
|
4209
|
+
disabled: oe.bool.def(!1),
|
|
4210
4210
|
// 是否是detail页面
|
|
4211
|
-
detail:
|
|
4212
|
-
imageField:
|
|
4211
|
+
detail: oe.bool.def(!1),
|
|
4212
|
+
imageField: oe.string.def("")
|
|
4213
4213
|
},
|
|
4214
4214
|
components: {
|
|
4215
|
-
PlusOutlined:
|
|
4215
|
+
PlusOutlined: rt,
|
|
4216
4216
|
MinusCircleFilled: Nn,
|
|
4217
4217
|
OnlinePopListModal: ln,
|
|
4218
4218
|
OnlinePopModal: Ke
|
|
4219
4219
|
},
|
|
4220
4220
|
emits: ["change", "update:value"],
|
|
4221
4221
|
setup(n, { emit: e }) {
|
|
4222
|
-
const t = pe(() => n.tableName), [i, { openModal: c }] = Ie(), [
|
|
4222
|
+
const t = pe(() => n.tableName), [i, { openModal: c }] = Ie(), [o, { openModal: f }] = Ie(), v = D([]), h = D([]), y = D(null), O = D(0), b = pe(() => !(n.disabled == !0 || n.multi === !1 && h.value.length > 0)), { auths: P, otherColumns: C, realShowColumns: N, tableColumns: E, textFieldArray: U, transData: B, loadOne: L, compareData: J, formatData: A, initFormData: z, getImageSrc: K, showImage: X } = tn(n), T = pe(() => n.multi === !0 ? 12 : 24), I = pe(() => n.multi === !0 ? 24 : 12);
|
|
4223
4223
|
function _(s) {
|
|
4224
4224
|
if (s && U.value.length > 0) {
|
|
4225
4225
|
let S = U.value[0];
|
|
@@ -4229,7 +4229,7 @@ const Ll = {
|
|
|
4229
4229
|
function F(s) {
|
|
4230
4230
|
s == null || s.stopPropagation(), s == null || s.preventDefault();
|
|
4231
4231
|
}
|
|
4232
|
-
function
|
|
4232
|
+
function R(s, S) {
|
|
4233
4233
|
F(s), P.update != !1 && n.disabled == !1 && f(!0, {
|
|
4234
4234
|
isUpdate: !0,
|
|
4235
4235
|
record: S
|
|
@@ -4249,7 +4249,7 @@ const Ll = {
|
|
|
4249
4249
|
let u = ce({}, x);
|
|
4250
4250
|
B(u), S.push(u);
|
|
4251
4251
|
}
|
|
4252
|
-
h.value = S,
|
|
4252
|
+
h.value = S, r();
|
|
4253
4253
|
}
|
|
4254
4254
|
function p(s) {
|
|
4255
4255
|
let S = h.value;
|
|
@@ -4258,18 +4258,18 @@ const Ll = {
|
|
|
4258
4258
|
let u = ce({}, s);
|
|
4259
4259
|
B(u), S.splice(x, 1, u);
|
|
4260
4260
|
}
|
|
4261
|
-
h.value = S,
|
|
4261
|
+
h.value = S, r();
|
|
4262
4262
|
}
|
|
4263
4263
|
function l(s, S) {
|
|
4264
4264
|
F(s);
|
|
4265
4265
|
let x = h.value;
|
|
4266
|
-
x && x.length > S && (x.splice(S, 1), h.value = x),
|
|
4266
|
+
x && x.length > S && (x.splice(S, 1), h.value = x), r();
|
|
4267
4267
|
}
|
|
4268
|
-
function
|
|
4268
|
+
function r() {
|
|
4269
4269
|
let s = h.value, S = [], x = {}, u = n.linkFields;
|
|
4270
4270
|
if (s.length > 0)
|
|
4271
|
-
for (let
|
|
4272
|
-
S.push(s[
|
|
4271
|
+
for (let M = 0; M < s.length; M++)
|
|
4272
|
+
S.push(s[M][n.valueField]), z(x, u, s[M]);
|
|
4273
4273
|
else
|
|
4274
4274
|
z(x, u);
|
|
4275
4275
|
let w = S.join(",");
|
|
@@ -4281,7 +4281,7 @@ const Ll = {
|
|
|
4281
4281
|
let x = yield L(s);
|
|
4282
4282
|
h.value = x;
|
|
4283
4283
|
}
|
|
4284
|
-
n.linkFields && n.linkFields.length > 0 &&
|
|
4284
|
+
n.linkFields && n.linkFields.length > 0 && r();
|
|
4285
4285
|
} else
|
|
4286
4286
|
h.value = [];
|
|
4287
4287
|
}), { immediate: !0 }), Pt(() => {
|
|
@@ -4301,8 +4301,8 @@ const Ll = {
|
|
|
4301
4301
|
tableColumns: E,
|
|
4302
4302
|
addCard: d,
|
|
4303
4303
|
registerListModal: i,
|
|
4304
|
-
registerFormModal:
|
|
4305
|
-
handleClickEdit:
|
|
4304
|
+
registerFormModal: o,
|
|
4305
|
+
handleClickEdit: R,
|
|
4306
4306
|
updateCardData: p,
|
|
4307
4307
|
getImageSrc: K,
|
|
4308
4308
|
showImage: X,
|
|
@@ -4325,14 +4325,14 @@ const Ll = {
|
|
|
4325
4325
|
key: 0,
|
|
4326
4326
|
class: "card-item-image"
|
|
4327
4327
|
}, zl = ["src"];
|
|
4328
|
-
function Kl(n, e, t, i, c,
|
|
4328
|
+
function Kl(n, e, t, i, c, o) {
|
|
4329
4329
|
const f = se("PlusOutlined"), v = se("a-button"), h = se("minus-circle-filled"), y = se("a-col"), O = se("a-row"), b = se("online-pop-list-modal"), P = se("online-pop-modal");
|
|
4330
4330
|
return ne(), de("div", jl, [
|
|
4331
4331
|
me("div", Al, [
|
|
4332
4332
|
me("div", Nl, [
|
|
4333
4333
|
i.showButton ? (ne(), de("div", Bl, [
|
|
4334
4334
|
fe(v, { onClick: i.handleAddRecord }, {
|
|
4335
|
-
default:
|
|
4335
|
+
default: re(() => [
|
|
4336
4336
|
fe(f),
|
|
4337
4337
|
e[1] || (e[1] = Te("记 录"))
|
|
4338
4338
|
]),
|
|
@@ -4340,11 +4340,11 @@ function Kl(n, e, t, i, c, r) {
|
|
|
4340
4340
|
}, 8, ["onClick"])
|
|
4341
4341
|
])) : xe("", !0),
|
|
4342
4342
|
fe(O, null, {
|
|
4343
|
-
default:
|
|
4343
|
+
default: re(() => [
|
|
4344
4344
|
(ne(!0), de(He, null, lt(i.selectRecords, (C, N) => (ne(), Pe(y, {
|
|
4345
4345
|
span: i.fixedSpan ? i.fixedSpan : i.itemSpan
|
|
4346
4346
|
}, {
|
|
4347
|
-
default:
|
|
4347
|
+
default: re(() => [
|
|
4348
4348
|
me("div", {
|
|
4349
4349
|
class: qe(["card-item", { "disabled-chunk": t.detail == !0 }]),
|
|
4350
4350
|
onClick: (E) => i.handleClickEdit(E, C)
|
|
@@ -4361,9 +4361,9 @@ function Kl(n, e, t, i, c, r) {
|
|
|
4361
4361
|
me("div", Yl, Oe(i.getMainContent(C)), 1),
|
|
4362
4362
|
me("div", Ul, [
|
|
4363
4363
|
fe(O, null, {
|
|
4364
|
-
default:
|
|
4364
|
+
default: re(() => [
|
|
4365
4365
|
(ne(!0), de(He, null, lt(i.realShowColumns, (E) => (ne(), Pe(y, { span: i.columnSpan }, {
|
|
4366
|
-
default:
|
|
4366
|
+
default: re(() => [
|
|
4367
4367
|
me("span", ql, Oe(E.title), 1),
|
|
4368
4368
|
me("span", Hl, Oe(C[E.dataIndex]), 1)
|
|
4369
4369
|
]),
|
|
@@ -4429,20 +4429,20 @@ export {
|
|
|
4429
4429
|
et as F,
|
|
4430
4430
|
sn as L,
|
|
4431
4431
|
Ke as O,
|
|
4432
|
-
|
|
4432
|
+
oi as S,
|
|
4433
4433
|
je as V,
|
|
4434
4434
|
Ol as a,
|
|
4435
4435
|
pl as b,
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4436
|
+
Zl as c,
|
|
4437
|
+
we as d,
|
|
4438
|
+
Gt as e,
|
|
4439
|
+
tl as f,
|
|
4440
4440
|
Ee as g,
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4441
|
+
Kt as h,
|
|
4442
|
+
As as i,
|
|
4443
|
+
ks as j,
|
|
4444
|
+
ri as k,
|
|
4445
|
+
ot as l,
|
|
4446
4446
|
Ns as m,
|
|
4447
4447
|
Ls as n,
|
|
4448
4448
|
js as o,
|
|
@@ -4451,7 +4451,7 @@ export {
|
|
|
4451
4451
|
Ft as r,
|
|
4452
4452
|
Es as s,
|
|
4453
4453
|
Bs as t,
|
|
4454
|
-
|
|
4454
|
+
ol as u,
|
|
4455
4455
|
Vs as v,
|
|
4456
4456
|
Ws as w,
|
|
4457
4457
|
Js as x,
|