@das-fed/ui 6.4.0-dev.54.9 → 6.4.0-dev.55
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/package.json +5 -5
- package/packages/business-components/process-form/index.js +291 -269
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/style.css +1 -1
- package/packages/business-components/process-search-form/index.js +75 -78
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/components/preview/index.js +6 -5
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/preview/style.css +1 -1
- package/packages/components/scrollbar/index.js +2 -2
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/scrollbar/style.css +1 -1
- package/packages/components/scrollbar/style.css.gz +0 -0
- package/packages/components/tree/index.js +4 -2
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree/src/App.vue.d.ts +17 -9
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/process-form/style.css';
|
|
2
2
|
import { withInstall as pt } from "@das-fed/utils/with-install/index";
|
|
3
|
-
import { ref as o, defineComponent as E, watch as C, openBlock as S, createBlock as I, unref as a, withCtx as M, createVNode as N, createCommentVNode as q, createElementVNode as
|
|
4
|
-
import { DasFormRef as
|
|
3
|
+
import { ref as o, defineComponent as E, watch as C, openBlock as S, createBlock as I, unref as a, withCtx as M, createVNode as N, createCommentVNode as q, createElementVNode as Ke, createElementBlock as U, Fragment as G, createTextVNode as ee, toDisplayString as te, isRef as he, createSlots as dt, h as oe, renderList as ie, resolveDynamicComponent as ge, onMounted as ct, withDirectives as gt, normalizeStyle as vt } from "vue";
|
|
4
|
+
import { DasFormRef as mt, DasForm as Ie } from "@das-fed/ui/packages/components/form/index";
|
|
5
5
|
import { DasButton as ft } from "@das-fed/ui/packages/components/button/index";
|
|
6
6
|
import { vOverlay as ht } from "@das-fed/ui/packages/components/overlay/index";
|
|
7
7
|
import { createService as Z } from "@das-fed/utils/create-api-service";
|
|
8
8
|
import { DasUpload as yt } from "@das-fed/ui/packages/components/upload/index";
|
|
9
9
|
import { DasFormItem as A } from "@das-fed/ui/packages/components/form-item/index";
|
|
10
10
|
import { DasAutocomplete as bt } from "@das-fed/ui/packages/components/autocomplete/index";
|
|
11
|
-
import
|
|
12
|
-
import { DasImageViewer as
|
|
11
|
+
import me from "dayjs";
|
|
12
|
+
import { DasImageViewer as je } from "@das-fed/ui/packages/components/image-viewer/index";
|
|
13
13
|
import { DasInput as _t } from "@das-fed/ui/packages/components/input/index";
|
|
14
|
-
import { DasTooltip as
|
|
14
|
+
import { DasTooltip as Se } from "@das-fed/ui/packages/components/tooltip/index";
|
|
15
15
|
import { i18n as j, t as D, setI18nRule as wt } from "@das-fed/web/packages/i18n/index";
|
|
16
16
|
import { DasTableColumn as F } from "@das-fed/ui/packages/components/table/index";
|
|
17
17
|
import { DasSearchForm as Vt } from "@das-fed/ui/packages/components/search-form/index";
|
|
@@ -23,64 +23,64 @@ import { DasCollaspe as Ae } from "@das-fed/ui/packages/components/collaspe/inde
|
|
|
23
23
|
import { DasCollaspePanel as Qe } from "@das-fed/ui/packages/components/collapse-panel/index";
|
|
24
24
|
const X = "v1", Lt = Z(`/workflow/form/form/${X}`), Nt = Z(`/workflow/form/formDef/${X}`);
|
|
25
25
|
Z(`/workflow/api/user/${X}`);
|
|
26
|
-
const Ue = Z(`/workflow/api/extend/${X}`), Ct = Z(`/workflow/flow/def/${X}`), zt = Z(`/workflow/form/customQuery/${X}`), ae = Z(`/api/enterpriseright/permission/${X}`),
|
|
26
|
+
const Ue = Z(`/workflow/api/extend/${X}`), Ct = Z(`/workflow/flow/def/${X}`), zt = Z(`/workflow/form/customQuery/${X}`), ae = Z(`/api/enterpriseright/permission/${X}`), Le = Z(`/api/space-manage/space-tree/${X}`), Mt = Z(`/workflow/form/dataTemplate/${X}`), Ne = Z(`/api/supply/supplier/${X}`), kt = Z(`/api/warehouse/vms/${X}/asset-receive`), Tt = Mt.get("/getBpmDataTemplateInfoByFlowKey"), Rt = Lt.get("/formDesign"), $t = Nt.get("/get"), Pt = Ue.get("/report-config");
|
|
27
27
|
Ue.get("/application-report");
|
|
28
|
-
const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt = ae.get("/organization/authTree"), Bt = ae.post("/user/list"), Kt = ae.post("/data/user-query"), jt = ae.get("/role/list"), Ot = ae.post("/data/role-ids"), Et = ae.get("/organization/organizationpage"), At = ae.get("/station/list"), Qt = ae.get("/position/list"), ye = ae.post("/organization/detailbyids"), Ut =
|
|
28
|
+
const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt = ae.get("/organization/authTree"), Bt = ae.post("/user/list"), Kt = ae.post("/data/user-query"), jt = ae.get("/role/list"), Ot = ae.post("/data/role-ids"), Et = ae.get("/organization/organizationpage"), At = ae.get("/station/list"), Qt = ae.get("/position/list"), ye = ae.post("/organization/detailbyids"), Ut = Le.get("/controller/area-children"), Yt = Le.get("/controller/fuzzy-tree-all"), xt = Le.get("/controller/space"), Jt = Ne.post("/supplier/list/page", (n) => {
|
|
29
29
|
var e, t;
|
|
30
30
|
return n.data.pageBean = {
|
|
31
31
|
page: ((e = n == null ? void 0 : n.data) == null ? void 0 : e.pageIndex) || 1,
|
|
32
32
|
pageSize: ((t = n == null ? void 0 : n.data) == null ? void 0 : t.pageSize) || 20
|
|
33
33
|
}, n;
|
|
34
|
-
}), Ht =
|
|
35
|
-
const { setDetailData: s, getFormData: g, setFormData: i, formRule: y, showData: V, disabledData: r, encryptionData: h } = t,
|
|
36
|
-
const [
|
|
37
|
-
if (
|
|
34
|
+
}), Ht = Ne.get("/supplier"), Wt = Ne.post("/classification/list/all"), Zt = kt.get("/receive-code"), be = o(""), Gt = (n, e, t) => {
|
|
35
|
+
const { setDetailData: s, getFormData: g, setFormData: i, formRule: y, showData: V, disabledData: r, encryptionData: h } = t, v = o([]), c = o([]), d = o([]), u = o(!1), _ = mt(), m = o([]), p = (L) => Object.keys(L).length === 0, l = async (L) => {
|
|
36
|
+
const [T, R] = await Rt({ formId: L }).run();
|
|
37
|
+
if (T) return;
|
|
38
38
|
const J = JSON.parse(R.bos);
|
|
39
39
|
be.value = J[0].alias, c.value.length && c.value.forEach((W) => {
|
|
40
40
|
W.formKey === R.formKey && i(R.formKey, be.value, W.id);
|
|
41
41
|
});
|
|
42
|
-
const [$,
|
|
43
|
-
await b(), d.value = JSON.parse(
|
|
44
|
-
W.columns && W.columns[0].isOpen &&
|
|
45
|
-
}), r.value = { ...r.value, ...n.disabledData }, c.value.length || i(R.formKey, be.value), p(n.data) && (u.value = !0), p(n.data) || (s(n.data), n.flowKey && (
|
|
42
|
+
const [$, Y] = await $t({ formDefId: R.defId }).run();
|
|
43
|
+
await b(), d.value = JSON.parse(Y.value.expand).list, d.value.forEach((W) => {
|
|
44
|
+
W.columns && W.columns[0].isOpen && m.value.push(W.columns[0].idKey);
|
|
45
|
+
}), r.value = { ...r.value, ...n.disabledData }, c.value.length || i(R.formKey, be.value), p(n.data) && (u.value = !0), p(n.data) || (s(n.data), n.flowKey && (v.value = n.data.button_list ? JSON.parse(n.data.button_list) : []), u.value = !0), setTimeout(() => {
|
|
46
46
|
V.value = { ...V.value, ...n.showData };
|
|
47
47
|
}, 50);
|
|
48
48
|
}, f = async () => {
|
|
49
49
|
if (n.formConfigurationId) {
|
|
50
|
-
const [L,
|
|
50
|
+
const [L, T] = await Pt({ id: n.formConfigurationId }).run();
|
|
51
51
|
if (L) return;
|
|
52
|
-
c.value =
|
|
52
|
+
c.value = T.reports, v.value = T.reports[0].buttons.filter((R) => !(n.isView && R.event !== "LINK")), l(T.reports[0].formId);
|
|
53
53
|
}
|
|
54
54
|
if (n.flowKey) {
|
|
55
|
-
const [L,
|
|
55
|
+
const [L, T] = await Ft({ flowKey: n.flowKey }).run();
|
|
56
56
|
if (L) return;
|
|
57
|
-
l(
|
|
57
|
+
l(T.pcForm.pcFormId);
|
|
58
58
|
}
|
|
59
59
|
}, b = async () => {
|
|
60
|
-
const [L,
|
|
60
|
+
const [L, T] = await Tt().run({
|
|
61
61
|
flowKey: n.flowKey,
|
|
62
62
|
needDisplayFileds: !1
|
|
63
63
|
});
|
|
64
|
-
h.value =
|
|
64
|
+
h.value = T.value.boDef.boEnt.attributeList.filter((R) => R.encryption == "phone");
|
|
65
65
|
};
|
|
66
66
|
return {
|
|
67
67
|
isShowPage: u,
|
|
68
68
|
formJsonList: d,
|
|
69
|
-
btnList:
|
|
69
|
+
btnList: v,
|
|
70
70
|
formRef: _,
|
|
71
|
-
activityKeys:
|
|
71
|
+
activityKeys: m,
|
|
72
72
|
getForm: l,
|
|
73
73
|
getBtnSet: f,
|
|
74
74
|
handleClick: (L) => {
|
|
75
|
-
var
|
|
76
|
-
(
|
|
75
|
+
var T;
|
|
76
|
+
(T = _.value) == null || T.validate(async (R) => {
|
|
77
77
|
R && (e("handleClick", L, g()), L.event === "LINK" && c.value.forEach((J) => {
|
|
78
|
-
L.eventTarget === J.formKey && (
|
|
78
|
+
L.eventTarget === J.formKey && (v.value = J.buttons.filter(($) => !(n.isView && $.event !== "LINK")), u.value = !1, y.value = {}, l(J.formId));
|
|
79
79
|
}));
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
|
-
},
|
|
83
|
+
}, x = (n) => {
|
|
84
84
|
var e = new RegExp("<.+?>", "g"), t = n.replace(e, "").replace(/ /g, "");
|
|
85
85
|
return t;
|
|
86
86
|
}, se = async (n, e, t = {}) => {
|
|
@@ -120,14 +120,14 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
120
120
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
121
121
|
() => t.value,
|
|
122
122
|
() => {
|
|
123
|
-
r.value = t.value[e.setting.name], r.value || (
|
|
123
|
+
r.value = t.value[e.setting.name], r.value || (v.value = [], V(e.setting.name)), r.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
124
124
|
},
|
|
125
125
|
{ deep: !0 }
|
|
126
126
|
);
|
|
127
127
|
const h = o();
|
|
128
|
-
e.setting.options.tip && (h.value =
|
|
129
|
-
const
|
|
130
|
-
return
|
|
128
|
+
e.setting.options.tip && (h.value = x(e.setting.options.tip));
|
|
129
|
+
const v = o([{ name: "111", sizeText: "9.4KB" }]);
|
|
130
|
+
return v.value || g(e.setting.name, null), C(v, (c) => {
|
|
131
131
|
g(e.setting.name, JSON.stringify(c));
|
|
132
132
|
}), (c, d) => r.value ? (S(), I(a(A), {
|
|
133
133
|
key: 0,
|
|
@@ -139,15 +139,15 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
139
139
|
default: M(() => [
|
|
140
140
|
N(a(yt), {
|
|
141
141
|
style: { width: "100%" },
|
|
142
|
-
modelValue:
|
|
143
|
-
"onUpdate:modelValue": d[0] || (d[0] = (u) =>
|
|
142
|
+
modelValue: v.value,
|
|
143
|
+
"onUpdate:modelValue": d[0] || (d[0] = (u) => v.value = u)
|
|
144
144
|
}, null, 8, ["modelValue"])
|
|
145
145
|
]),
|
|
146
146
|
_: 1
|
|
147
147
|
/* STABLE */
|
|
148
148
|
}, 8, ["col", "label", "helpMessage"])) : q("v-if", !0);
|
|
149
149
|
}
|
|
150
|
-
}),
|
|
150
|
+
}), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
151
151
|
__proto__: null,
|
|
152
152
|
default: ea
|
|
153
153
|
}, Symbol.toStringTag, { value: "Module" })), ta = {
|
|
@@ -176,16 +176,16 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
176
176
|
},
|
|
177
177
|
{ deep: !0 }
|
|
178
178
|
);
|
|
179
|
-
const h = s.value[e.setting.name] || !1,
|
|
179
|
+
const h = s.value[e.setting.name] || !1, v = o(!1);
|
|
180
180
|
H(e.setting.options.validateList).then((l) => {
|
|
181
|
-
|
|
181
|
+
v.value = l;
|
|
182
182
|
});
|
|
183
183
|
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", d = e.setting.options.children ? e.setting.options.children : "children", u = !!e.setting.options.fillInFullPath, _ = o([]);
|
|
184
184
|
e.setting.options.customQuery.alias ? se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((l) => {
|
|
185
185
|
_.value = l;
|
|
186
186
|
}) : _.value = e.setting.options.options;
|
|
187
|
-
const
|
|
188
|
-
e.setting.options.tip && (
|
|
187
|
+
const m = o();
|
|
188
|
+
e.setting.options.tip && (m.value = x(e.setting.options.tip));
|
|
189
189
|
const p = o("");
|
|
190
190
|
return p.value = i(e.setting.name) || p.value, p.value || g(e.setting.name, null), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(p, (l) => {
|
|
191
191
|
g(e.setting.name, l.toString());
|
|
@@ -197,8 +197,8 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
197
197
|
"onUpdate:modelValue": f[1] || (f[1] = (b) => p.value = b),
|
|
198
198
|
label: l.setting.desc,
|
|
199
199
|
type: "custom",
|
|
200
|
-
helpMessage:
|
|
201
|
-
required:
|
|
200
|
+
helpMessage: m.value,
|
|
201
|
+
required: v.value,
|
|
202
202
|
disabled: a(h)
|
|
203
203
|
}, {
|
|
204
204
|
default: M(() => [
|
|
@@ -218,7 +218,7 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
218
218
|
/* STABLE */
|
|
219
219
|
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required", "disabled"])) : q("v-if", !0);
|
|
220
220
|
}
|
|
221
|
-
}),
|
|
221
|
+
}), xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
222
222
|
__proto__: null,
|
|
223
223
|
default: aa
|
|
224
224
|
}, Symbol.toStringTag, { value: "Module" })), na = {
|
|
@@ -243,30 +243,30 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
243
243
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
244
244
|
() => t.value,
|
|
245
245
|
() => {
|
|
246
|
-
r.value = t.value[e.setting.name], r.value || (
|
|
246
|
+
r.value = t.value[e.setting.name], r.value || (m.value = [], V(e.setting.name)), r.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
247
247
|
},
|
|
248
248
|
{ deep: !0 }
|
|
249
249
|
);
|
|
250
|
-
const h = s.value[e.setting.name] || !1,
|
|
250
|
+
const h = s.value[e.setting.name] || !1, v = o(!1);
|
|
251
251
|
H(e.setting.options.validateList).then((p) => {
|
|
252
|
-
|
|
252
|
+
v.value = p;
|
|
253
253
|
});
|
|
254
254
|
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", u = o([]);
|
|
255
255
|
e.setting.options.customQuery.alias ? se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((p) => {
|
|
256
256
|
u.value = p;
|
|
257
257
|
}) : u.value = e.setting.options.options;
|
|
258
258
|
const _ = o();
|
|
259
|
-
e.setting.options.tip && (_.value =
|
|
260
|
-
const
|
|
259
|
+
e.setting.options.tip && (_.value = x(e.setting.options.tip)());
|
|
260
|
+
const m = o([]);
|
|
261
261
|
return setTimeout(() => {
|
|
262
|
-
i(e.setting.name) && (
|
|
263
|
-
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(
|
|
262
|
+
i(e.setting.name) && (m.value = i(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (m.value = e.setting.options.formulasDiyJs.split(",")), m.value.length || m.value || g(e.setting.name, null);
|
|
263
|
+
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(m, (p) => {
|
|
264
264
|
g(e.setting.name, p.toString());
|
|
265
265
|
}), (p, l) => r.value ? (S(), I(a(A), {
|
|
266
266
|
key: 0,
|
|
267
267
|
col: e.span,
|
|
268
|
-
modelValue:
|
|
269
|
-
"onUpdate:modelValue": l[0] || (l[0] = (f) =>
|
|
268
|
+
modelValue: m.value,
|
|
269
|
+
"onUpdate:modelValue": l[0] || (l[0] = (f) => m.value = f),
|
|
270
270
|
layout: p.setting.options.inline ? "vertical" : "default",
|
|
271
271
|
label: p.setting.desc,
|
|
272
272
|
prop: e.setting.name,
|
|
@@ -277,7 +277,7 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
277
277
|
optionsValueKey: a(c),
|
|
278
278
|
optionsLabelKey: a(d),
|
|
279
279
|
helpMessage: _.value,
|
|
280
|
-
required:
|
|
280
|
+
required: v.value
|
|
281
281
|
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "disabled", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"])) : q("v-if", !0);
|
|
282
282
|
}
|
|
283
283
|
}), Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -309,29 +309,29 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
309
309
|
},
|
|
310
310
|
{ deep: !0 }
|
|
311
311
|
);
|
|
312
|
-
const h = s.value[e.setting.name] || !1,
|
|
313
|
-
H(e.setting.options.validateList).then((
|
|
314
|
-
|
|
312
|
+
const h = s.value[e.setting.name] || !1, v = o(!1);
|
|
313
|
+
H(e.setting.options.validateList).then((m) => {
|
|
314
|
+
v.value = m;
|
|
315
315
|
});
|
|
316
316
|
const c = e.setting.options.inputFormat === "yyyy-MM-dd" ? "YYYY/MM/DD" : e.setting.options.inputFormat === "yyyy-MM-dd HH:mm:ss" ? "YYYY/MM/DD HH:mm:ss" : e.setting.options.inputFormat, d = o("");
|
|
317
317
|
e.setting.options.inputFormat === "YYYY/MM/DD" && (d.value = "date"), e.setting.options.inputFormat === "MM/DD" && (d.value = "date"), e.setting.options.inputFormat === "YYYY/MM" && (d.value = "month"), e.setting.options.inputFormat === "YYYY" && (d.value = "year");
|
|
318
318
|
const u = o();
|
|
319
|
-
e.setting.options.tip && (u.value =
|
|
319
|
+
e.setting.options.tip && (u.value = x(e.setting.options.tip));
|
|
320
320
|
const _ = o();
|
|
321
321
|
if (setTimeout(() => {
|
|
322
322
|
_.value = i(e.setting.name) || e.setting.options.formulasDiyJs || _.value, _.value || g(e.setting.name, null);
|
|
323
323
|
}, 50), e.setting.options.showCurrentDate) {
|
|
324
|
-
let
|
|
325
|
-
|
|
324
|
+
let m = /* @__PURE__ */ new Date();
|
|
325
|
+
m.setDate(m.getDate() + e.setting.options.day), _.value = me(m.getTime()).format(c), g(e.setting.name, _.value);
|
|
326
326
|
}
|
|
327
|
-
return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(_, (
|
|
328
|
-
g(e.setting.name,
|
|
329
|
-
}), (
|
|
327
|
+
return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(_, (m) => {
|
|
328
|
+
g(e.setting.name, m);
|
|
329
|
+
}), (m, p) => r.value ? (S(), I(a(A), {
|
|
330
330
|
key: 0,
|
|
331
331
|
col: e.span,
|
|
332
332
|
modelValue: _.value,
|
|
333
333
|
"onUpdate:modelValue": p[0] || (p[0] = (l) => _.value = l),
|
|
334
|
-
label:
|
|
334
|
+
label: m.setting.desc,
|
|
335
335
|
prop: e.setting.name,
|
|
336
336
|
type: a(c).indexOf("HH") != -1 ? "dateTime" : "date",
|
|
337
337
|
format: a(c),
|
|
@@ -339,9 +339,9 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
339
339
|
picker: d.value,
|
|
340
340
|
isView: e.isView,
|
|
341
341
|
disabled: a(h),
|
|
342
|
-
placeholder:
|
|
342
|
+
placeholder: m.setting.options.placeholder,
|
|
343
343
|
helpMessage: u.value,
|
|
344
|
-
required:
|
|
344
|
+
required: v.value
|
|
345
345
|
}, null, 8, ["col", "modelValue", "label", "prop", "type", "format", "picker", "isView", "disabled", "placeholder", "helpMessage", "required"])) : q("v-if", !0);
|
|
346
346
|
}
|
|
347
347
|
}), He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -373,18 +373,18 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
373
373
|
},
|
|
374
374
|
{ deep: !0 }
|
|
375
375
|
);
|
|
376
|
-
const
|
|
376
|
+
const v = () => {
|
|
377
377
|
e.setting.options.customQuery && e.setting.options.customQuery.custQueryJson.length && r(e.setting.options.customQuery.custQueryJson, b.value);
|
|
378
378
|
}, c = s.value[e.setting.name] || !1, d = o(!1);
|
|
379
379
|
H(e.setting.options.validateList).then((w) => {
|
|
380
380
|
d.value = w;
|
|
381
381
|
});
|
|
382
|
-
const u = o(""), _ = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key",
|
|
382
|
+
const u = o(""), _ = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", m = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", p = e.setting.options.customQuery.PId || "children", l = o([]);
|
|
383
383
|
e.setting.options.customQuery.alias && se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((w) => {
|
|
384
384
|
l.value = w;
|
|
385
385
|
});
|
|
386
386
|
const f = o();
|
|
387
|
-
e.setting.options.tip && (f.value =
|
|
387
|
+
e.setting.options.tip && (f.value = x(e.setting.options.tip));
|
|
388
388
|
const b = o();
|
|
389
389
|
return b.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && i(e.setting.name) ? b.value = i(e.setting.name).split(",") : b.value = i(e.setting.name) || b.value, b.value || g(e.setting.name, null), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(b, (w) => {
|
|
390
390
|
g(e.setting.name, w.toString());
|
|
@@ -392,9 +392,9 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
392
392
|
key: 0,
|
|
393
393
|
col: e.span,
|
|
394
394
|
modelValue: b.value,
|
|
395
|
-
"onUpdate:modelValue": L[0] || (L[0] = (
|
|
395
|
+
"onUpdate:modelValue": L[0] || (L[0] = (T) => b.value = T),
|
|
396
396
|
keyword: u.value,
|
|
397
|
-
"onUpdate:keyword": L[1] || (L[1] = (
|
|
397
|
+
"onUpdate:keyword": L[1] || (L[1] = (T) => u.value = T),
|
|
398
398
|
label: w.setting.desc,
|
|
399
399
|
type: "treeSelect",
|
|
400
400
|
"node-key": w.setting.options.customQuery.valueBind,
|
|
@@ -407,10 +407,10 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
407
407
|
isView: e.isView,
|
|
408
408
|
helpMessage: f.value,
|
|
409
409
|
disabled: a(c),
|
|
410
|
-
props: { label: a(
|
|
410
|
+
props: { label: a(m), value: a(_), children: a(p) },
|
|
411
411
|
"check-strictly": !w.setting.options.cascade,
|
|
412
412
|
required: d.value,
|
|
413
|
-
onChange:
|
|
413
|
+
onChange: v
|
|
414
414
|
}, null, 8, ["col", "modelValue", "keyword", "label", "node-key", "placeholder", "mode", "prop", "filter", "options", "isView", "helpMessage", "disabled", "props", "check-strictly", "required"])) : q("v-if", !0);
|
|
415
415
|
}
|
|
416
416
|
}), We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -442,49 +442,49 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
442
442
|
},
|
|
443
443
|
{ deep: !0 }
|
|
444
444
|
);
|
|
445
|
-
const h = s.value[e.setting.name] || !1,
|
|
446
|
-
H(e.setting.options.validateList).then((
|
|
447
|
-
|
|
445
|
+
const h = s.value[e.setting.name] || !1, v = o(!1);
|
|
446
|
+
H(e.setting.options.validateList).then((m) => {
|
|
447
|
+
v.value = m;
|
|
448
448
|
});
|
|
449
449
|
const c = o("normal");
|
|
450
450
|
e.isView && (c.value = "info");
|
|
451
451
|
const d = o();
|
|
452
|
-
e.setting.options.tip && (d.value =
|
|
452
|
+
e.setting.options.tip && (d.value = x(e.setting.options.tip));
|
|
453
453
|
const u = o();
|
|
454
454
|
u.value = e.setting.options.file.limit > 1 ? [] : "", e.setting.options.file.limit > 1 && i(e.setting.name) ? u.value = i(e.setting.name).split(",") : u.value = i(e.setting.name) || u.value, u.value || g(e.setting.name, null);
|
|
455
|
-
const _ = (
|
|
455
|
+
const _ = (m) => {
|
|
456
456
|
setTimeout(() => {
|
|
457
457
|
g(e.setting.name, u.value.toString());
|
|
458
458
|
}, 100);
|
|
459
459
|
};
|
|
460
|
-
return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(u.value, (
|
|
461
|
-
const p =
|
|
460
|
+
return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(u.value, (m) => {
|
|
461
|
+
const p = m.map((l) => {
|
|
462
462
|
let f = "";
|
|
463
463
|
return l.indexOf("/oss/") != -1 ? f = l : f = `/oss/${l}`, f;
|
|
464
464
|
});
|
|
465
465
|
setTimeout(() => {
|
|
466
466
|
g(e.setting.name, p.join(","));
|
|
467
467
|
}, 100);
|
|
468
|
-
}), (
|
|
468
|
+
}), (m, p) => r.value ? (S(), I(a(A), {
|
|
469
469
|
key: 0,
|
|
470
470
|
modelValue: u.value,
|
|
471
471
|
"onUpdate:modelValue": p[2] || (p[2] = (l) => u.value = l),
|
|
472
472
|
"margin-bottom": "0",
|
|
473
473
|
prop: e.setting.name,
|
|
474
|
-
label:
|
|
474
|
+
label: m.setting.desc,
|
|
475
475
|
type: "custom",
|
|
476
476
|
helpMessage: d.value,
|
|
477
|
-
required:
|
|
477
|
+
required: v.value
|
|
478
478
|
}, {
|
|
479
479
|
default: M(() => [
|
|
480
|
-
|
|
481
|
-
N(a(
|
|
480
|
+
Ke("div", ra, [
|
|
481
|
+
N(a(je), {
|
|
482
482
|
modelValue: u.value,
|
|
483
483
|
"onUpdate:modelValue": p[0] || (p[0] = (l) => u.value = l),
|
|
484
484
|
status: c.value,
|
|
485
485
|
"onUpdate:status": p[1] || (p[1] = (l) => c.value = l),
|
|
486
486
|
maxSize: "6",
|
|
487
|
-
"limit-num":
|
|
487
|
+
"limit-num": m.setting.options.file.limit,
|
|
488
488
|
prop: e.setting.name,
|
|
489
489
|
"service-name": "hotent",
|
|
490
490
|
"accept-video": "",
|
|
@@ -493,10 +493,10 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
493
493
|
videoHeight: 680,
|
|
494
494
|
disabled: a(h),
|
|
495
495
|
"show-image-name": "",
|
|
496
|
-
needDownloadBtn:
|
|
497
|
-
needPreview:
|
|
496
|
+
needDownloadBtn: m.setting.options.file.allowDownload == !0,
|
|
497
|
+
needPreview: m.setting.options.file.allowPreview == !0,
|
|
498
498
|
onImageUpload: _,
|
|
499
|
-
required:
|
|
499
|
+
required: v.value
|
|
500
500
|
}, null, 8, ["modelValue", "status", "limit-num", "prop", "disabled", "needDownloadBtn", "needPreview", "required"])
|
|
501
501
|
])
|
|
502
502
|
]),
|
|
@@ -517,48 +517,48 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
517
517
|
return ((r) => {
|
|
518
518
|
const h = r.length;
|
|
519
519
|
if (h < 6) return r;
|
|
520
|
-
let
|
|
520
|
+
let v = 0;
|
|
521
521
|
switch (h) {
|
|
522
522
|
case 6:
|
|
523
523
|
case 7:
|
|
524
|
-
|
|
524
|
+
v = 1;
|
|
525
525
|
break;
|
|
526
526
|
case 8:
|
|
527
527
|
case 9:
|
|
528
|
-
|
|
528
|
+
v = 2;
|
|
529
529
|
break;
|
|
530
530
|
case 10:
|
|
531
531
|
case 11:
|
|
532
|
-
|
|
532
|
+
v = 3;
|
|
533
533
|
break;
|
|
534
534
|
case 12:
|
|
535
|
-
|
|
535
|
+
v = 4;
|
|
536
536
|
break;
|
|
537
537
|
case 13:
|
|
538
|
-
|
|
538
|
+
v = 5;
|
|
539
539
|
break;
|
|
540
540
|
case 14:
|
|
541
|
-
|
|
541
|
+
v = 6;
|
|
542
542
|
break;
|
|
543
543
|
case 15:
|
|
544
|
-
|
|
544
|
+
v = 7;
|
|
545
545
|
break;
|
|
546
546
|
}
|
|
547
|
-
const c =
|
|
548
|
-
return r.slice(0,
|
|
547
|
+
const c = v + t.length;
|
|
548
|
+
return r.slice(0, v) + t + r.slice(c);
|
|
549
549
|
})(g) + i;
|
|
550
|
-
},
|
|
550
|
+
}, va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
551
551
|
__proto__: null,
|
|
552
552
|
default: ga
|
|
553
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
554
|
-
var
|
|
555
|
-
for (const n in
|
|
556
|
-
const e =
|
|
557
|
-
|
|
553
|
+
}, Symbol.toStringTag, { value: "Module" })), ve = {}, ma = /^\.\/(.+)\/index\.ts$/, qe = /* @__PURE__ */ Object.assign({ "./phone/index.ts": va });
|
|
554
|
+
var Be;
|
|
555
|
+
for (const n in qe) {
|
|
556
|
+
const e = qe[n], t = (Be = n.match(ma)) == null ? void 0 : Be[1];
|
|
557
|
+
ve[t] = e.default;
|
|
558
558
|
}
|
|
559
559
|
const fa = (n, e) => {
|
|
560
560
|
var s;
|
|
561
|
-
return e ? ((s =
|
|
561
|
+
return e ? ((s = ve[n]) == null ? void 0 : s.call(ve, e)) ?? e : "-";
|
|
562
562
|
}, ha = {
|
|
563
563
|
name: "input"
|
|
564
564
|
}, ya = /* @__PURE__ */ E({
|
|
@@ -577,7 +577,7 @@ const fa = (n, e) => {
|
|
|
577
577
|
store: {}
|
|
578
578
|
},
|
|
579
579
|
setup(n) {
|
|
580
|
-
const e = n, { data: t, showData: s, disabledData: g, setData: i, getData: y, setFormRule: V, deleteRule: r, encryptionData: h } = e.store || {},
|
|
580
|
+
const e = n, { data: t, showData: s, disabledData: g, setData: i, getData: y, setFormRule: V, deleteRule: r, encryptionData: h } = e.store || {}, v = o(""), c = o(!1);
|
|
581
581
|
h.value.length && h.value.forEach((l) => {
|
|
582
582
|
l.name === e.setting.name && (c.value = !0);
|
|
583
583
|
});
|
|
@@ -599,11 +599,11 @@ const fa = (n, e) => {
|
|
|
599
599
|
H(e.setting.options.validateList).then((l) => {
|
|
600
600
|
_.value = l;
|
|
601
601
|
});
|
|
602
|
-
const
|
|
603
|
-
e.setting.options.tip && (
|
|
602
|
+
const m = o();
|
|
603
|
+
e.setting.options.tip && (m.value = x(e.setting.options.tip));
|
|
604
604
|
const p = o("");
|
|
605
605
|
return setTimeout(() => {
|
|
606
|
-
p.value = y(e.setting.name) || e.setting.options.formulasDiyJs || p.value, c && e.isView && (
|
|
606
|
+
p.value = y(e.setting.name) || e.setting.options.formulasDiyJs || p.value, c && e.isView && (v.value = fa("phone", p.value)), p.value || i(e.setting.name, null);
|
|
607
607
|
}, 50), e.setting.options.validateList.length && V(e.setting.name, e.setting.options.validateList), C(p, (l) => {
|
|
608
608
|
e.setting.options.dataType === "number" && !isNaN(l) ? i(e.setting.name, Number(l)) : i(e.setting.name, l);
|
|
609
609
|
}), (l, f) => (S(), U(
|
|
@@ -618,19 +618,19 @@ const fa = (n, e) => {
|
|
|
618
618
|
"onUpdate:modelValue": f[1] || (f[1] = (b) => p.value = b),
|
|
619
619
|
label: l.setting.desc,
|
|
620
620
|
type: "custom",
|
|
621
|
-
helpMessage:
|
|
621
|
+
helpMessage: m.value,
|
|
622
622
|
required: _.value
|
|
623
623
|
}, {
|
|
624
624
|
default: M(() => [
|
|
625
|
-
N(a(
|
|
625
|
+
N(a(Se), {
|
|
626
626
|
placement: "top",
|
|
627
627
|
disabled: !p.value,
|
|
628
628
|
content: p.value
|
|
629
629
|
}, {
|
|
630
630
|
default: M(() => [
|
|
631
631
|
N(a(_t), {
|
|
632
|
-
modelValue:
|
|
633
|
-
"onUpdate:modelValue": f[0] || (f[0] = (b) =>
|
|
632
|
+
modelValue: v.value,
|
|
633
|
+
"onUpdate:modelValue": f[0] || (f[0] = (b) => v.value = b),
|
|
634
634
|
width: l.setting.options.width,
|
|
635
635
|
disabled: l.setting.options.isInputEdit || a(u),
|
|
636
636
|
isView: l.setting.options.isReadonly || e.isView,
|
|
@@ -672,7 +672,7 @@ const fa = (n, e) => {
|
|
|
672
672
|
prop: e.setting.name,
|
|
673
673
|
label: l.setting.desc,
|
|
674
674
|
type: "input",
|
|
675
|
-
helpMessage:
|
|
675
|
+
helpMessage: m.value,
|
|
676
676
|
required: _.value,
|
|
677
677
|
placeholder: l.setting.options.placeholder
|
|
678
678
|
}, {
|
|
@@ -721,12 +721,12 @@ const fa = (n, e) => {
|
|
|
721
721
|
},
|
|
722
722
|
{ deep: !0 }
|
|
723
723
|
);
|
|
724
|
-
const h = s.value[e.setting.name] || !1,
|
|
724
|
+
const h = s.value[e.setting.name] || !1, v = o(!1);
|
|
725
725
|
H(e.setting.options.validateList).then((u) => {
|
|
726
|
-
|
|
726
|
+
v.value = u;
|
|
727
727
|
});
|
|
728
728
|
const c = o();
|
|
729
|
-
e.setting.options.tip && (c.value =
|
|
729
|
+
e.setting.options.tip && (c.value = x(e.setting.options.tip));
|
|
730
730
|
const d = o(0);
|
|
731
731
|
return setTimeout(() => {
|
|
732
732
|
d.value = i(e.setting.name) || e.setting.options.formulasDiyJs || d.value, d.value || g(e.setting.name, null);
|
|
@@ -736,7 +736,7 @@ const fa = (n, e) => {
|
|
|
736
736
|
key: 0,
|
|
737
737
|
col: e.span,
|
|
738
738
|
modelValue: d.value,
|
|
739
|
-
"onUpdate:modelValue": _[0] || (_[0] = (
|
|
739
|
+
"onUpdate:modelValue": _[0] || (_[0] = (m) => d.value = m),
|
|
740
740
|
style: { width: "100%" },
|
|
741
741
|
label: u.setting.desc,
|
|
742
742
|
type: "inputNumber",
|
|
@@ -748,7 +748,7 @@ const fa = (n, e) => {
|
|
|
748
748
|
isView: e.isView,
|
|
749
749
|
precision: u.setting.options.decimalDigits,
|
|
750
750
|
helpMessage: c.value,
|
|
751
|
-
required:
|
|
751
|
+
required: v.value
|
|
752
752
|
}, null, 8, ["col", "modelValue", "label", "prop", "max", "min", "step", "disabled", "isView", "precision", "helpMessage", "required"])) : q("v-if", !0);
|
|
753
753
|
}
|
|
754
754
|
}), Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -778,24 +778,24 @@ const fa = (n, e) => {
|
|
|
778
778
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
779
779
|
() => t.value,
|
|
780
780
|
() => {
|
|
781
|
-
r.value = t.value[e.setting.name], r.value || (
|
|
781
|
+
r.value = t.value[e.setting.name], r.value || (m.value = null, V(e.setting.name)), r.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
782
782
|
},
|
|
783
783
|
{ deep: !0 }
|
|
784
784
|
);
|
|
785
|
-
const h = s.value[e.setting.name] || !1,
|
|
785
|
+
const h = s.value[e.setting.name] || !1, v = o(!1);
|
|
786
786
|
H(e.setting.options.validateList).then((l) => {
|
|
787
|
-
|
|
787
|
+
v.value = l;
|
|
788
788
|
});
|
|
789
789
|
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", u = o([]);
|
|
790
790
|
e.setting.options.customQuery.alias ? se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((l) => {
|
|
791
791
|
u.value = l;
|
|
792
792
|
}) : u.value = e.setting.options.options;
|
|
793
793
|
const _ = o();
|
|
794
|
-
e.setting.options.tip && (_.value =
|
|
795
|
-
const
|
|
794
|
+
e.setting.options.tip && (_.value = x(e.setting.options.tip));
|
|
795
|
+
const m = o(null);
|
|
796
796
|
setTimeout(() => {
|
|
797
|
-
|
|
798
|
-
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(
|
|
797
|
+
m.value = i(e.setting.name) || e.setting.options.formulasDiyJs || m.value, m.value || g(e.setting.name, null);
|
|
798
|
+
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(m, (l) => {
|
|
799
799
|
g(e.setting.name, l);
|
|
800
800
|
});
|
|
801
801
|
const p = (l) => {
|
|
@@ -810,8 +810,8 @@ const fa = (n, e) => {
|
|
|
810
810
|
key: 0,
|
|
811
811
|
onChange: p,
|
|
812
812
|
col: e.span,
|
|
813
|
-
modelValue:
|
|
814
|
-
"onUpdate:modelValue": f[0] || (f[0] = (b) =>
|
|
813
|
+
modelValue: m.value,
|
|
814
|
+
"onUpdate:modelValue": f[0] || (f[0] = (b) => m.value = b),
|
|
815
815
|
layout: l.setting.options.inline ? "vertical" : "default",
|
|
816
816
|
label: l.setting.desc,
|
|
817
817
|
type: "radio",
|
|
@@ -822,7 +822,7 @@ const fa = (n, e) => {
|
|
|
822
822
|
optionsLabelKey: a(d),
|
|
823
823
|
helpMessage: _.value,
|
|
824
824
|
disabled: a(h),
|
|
825
|
-
required:
|
|
825
|
+
required: v.value,
|
|
826
826
|
isSetTimeout: !0
|
|
827
827
|
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : q("v-if", !0);
|
|
828
828
|
}
|
|
@@ -863,7 +863,7 @@ const fa = (n, e) => {
|
|
|
863
863
|
const b = f.conditionfield.filter((L) => L.defaultType == 1);
|
|
864
864
|
let w = {};
|
|
865
865
|
b.forEach((L) => {
|
|
866
|
-
const
|
|
866
|
+
const T = L.fieldPath.split("."), R = T[T.length - 1];
|
|
867
867
|
w[L.field] = y(R);
|
|
868
868
|
}), se(
|
|
869
869
|
e.setting.options.customQuery.alias,
|
|
@@ -877,7 +877,7 @@ const fa = (n, e) => {
|
|
|
877
877
|
},
|
|
878
878
|
{ deep: !0 }
|
|
879
879
|
);
|
|
880
|
-
const
|
|
880
|
+
const v = s.value[e.setting.name] || !1, c = o(!1);
|
|
881
881
|
H(e.setting.options.validateList).then((f) => {
|
|
882
882
|
c.value = f;
|
|
883
883
|
});
|
|
@@ -886,8 +886,8 @@ const fa = (n, e) => {
|
|
|
886
886
|
const f = e.setting.options.customQuery.conditionfield.filter((w) => w.defaultType == 1);
|
|
887
887
|
let b = {};
|
|
888
888
|
f.forEach((w) => {
|
|
889
|
-
const L = w.fieldPath.split("."),
|
|
890
|
-
b[w.field] = y(
|
|
889
|
+
const L = w.fieldPath.split("."), T = L[L.length - 1];
|
|
890
|
+
b[w.field] = y(T);
|
|
891
891
|
}), se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield, b).then(
|
|
892
892
|
(w) => {
|
|
893
893
|
_.value = w;
|
|
@@ -895,8 +895,8 @@ const fa = (n, e) => {
|
|
|
895
895
|
);
|
|
896
896
|
} else
|
|
897
897
|
_.value = e.setting.options.options;
|
|
898
|
-
const
|
|
899
|
-
e.setting.options.tip && (
|
|
898
|
+
const m = o();
|
|
899
|
+
e.setting.options.tip && (m.value = x(e.setting.options.tip));
|
|
900
900
|
const p = o();
|
|
901
901
|
p.value = e.setting.options.multiple ? [] : null, setTimeout(() => {
|
|
902
902
|
e.setting.options.multiple && (y(e.setting.name) || e.setting.options.formulasDiyJs) ? (y(e.setting.name) && (p.value = y(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (p.value = e.setting.options.formulasDiyJs.split(","))) : p.value = y(e.setting.name) || e.setting.options.formulasDiyJs || p.value, p.value || i(e.setting.name, null);
|
|
@@ -928,8 +928,8 @@ const fa = (n, e) => {
|
|
|
928
928
|
options: _.value,
|
|
929
929
|
optionsValueKey: a(d),
|
|
930
930
|
optionsLabelKey: a(u),
|
|
931
|
-
helpMessage:
|
|
932
|
-
disabled: a(
|
|
931
|
+
helpMessage: m.value,
|
|
932
|
+
disabled: a(v),
|
|
933
933
|
required: c.value
|
|
934
934
|
}, null, 8, ["col", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : q("v-if", !0);
|
|
935
935
|
}
|
|
@@ -946,14 +946,14 @@ const fa = (n, e) => {
|
|
|
946
946
|
post: j("搜索岗位名称/岗位编码").value,
|
|
947
947
|
supplier: j("搜索供应商编码/名称").value,
|
|
948
948
|
source: j("搜索单据编码/申请人").value
|
|
949
|
-
},
|
|
949
|
+
}, v = {
|
|
950
950
|
user: j("添加用户").value,
|
|
951
951
|
org: j("组织选择器").value,
|
|
952
952
|
role: j("角色选择器").value,
|
|
953
953
|
job: j("职务选择器").value,
|
|
954
954
|
post: j("岗位选择器").value,
|
|
955
955
|
supplier: j("选择供应商").value,
|
|
956
|
-
source: j("
|
|
956
|
+
source: j("选择源单").value
|
|
957
957
|
}, c = {
|
|
958
958
|
user: "id",
|
|
959
959
|
org: "id",
|
|
@@ -972,14 +972,14 @@ const fa = (n, e) => {
|
|
|
972
972
|
}, _ = {
|
|
973
973
|
0: j("无效").value,
|
|
974
974
|
1: j("有效").value
|
|
975
|
-
},
|
|
975
|
+
}, m = {
|
|
976
976
|
user: Kt,
|
|
977
977
|
org: ye,
|
|
978
978
|
role: Ot,
|
|
979
979
|
job: ye,
|
|
980
980
|
post: ye,
|
|
981
981
|
supplier: Ht
|
|
982
|
-
}, p =
|
|
982
|
+
}, p = v[i], l = o({}), f = o([]), b = () => {
|
|
983
983
|
var B, Q;
|
|
984
984
|
i === "supplier" ? (l.value = {
|
|
985
985
|
left: !1,
|
|
@@ -1009,7 +1009,7 @@ const fa = (n, e) => {
|
|
|
1009
1009
|
}
|
|
1010
1010
|
},
|
|
1011
1011
|
right: !1
|
|
1012
|
-
},
|
|
1012
|
+
}, T(), L()) : i === "source" ? (l.value = {
|
|
1013
1013
|
left: !1,
|
|
1014
1014
|
content: {
|
|
1015
1015
|
api: Zt,
|
|
@@ -1135,7 +1135,7 @@ const fa = (n, e) => {
|
|
|
1135
1135
|
allowClear: !0
|
|
1136
1136
|
}
|
|
1137
1137
|
];
|
|
1138
|
-
},
|
|
1138
|
+
}, T = async () => {
|
|
1139
1139
|
const B = {
|
|
1140
1140
|
name: "",
|
|
1141
1141
|
published: 1
|
|
@@ -1149,11 +1149,11 @@ const fa = (n, e) => {
|
|
|
1149
1149
|
};
|
|
1150
1150
|
b();
|
|
1151
1151
|
const J = async () => {
|
|
1152
|
-
var B, Q, K,
|
|
1152
|
+
var B, Q, K, k, O, P, z, le, Ce, ze, Me, ke, Te, Re, $e, Pe, Fe;
|
|
1153
1153
|
l.value.content.params = {
|
|
1154
1154
|
...(Q = (B = l == null ? void 0 : l.value) == null ? void 0 : B.content) == null ? void 0 : Q.params,
|
|
1155
1155
|
pageIndex: 1
|
|
1156
|
-
}, (i === "user" || i === "org" || i === "post" || i === "role" || i === "job") && (l.value.content.params.name = (K = f == null ? void 0 : f.value[0]) == null ? void 0 : K.value), i === "source" && (l.value.content.params.key = (
|
|
1156
|
+
}, (i === "user" || i === "org" || i === "post" || i === "role" || i === "job") && (l.value.content.params.name = (K = f == null ? void 0 : f.value[0]) == null ? void 0 : K.value), i === "source" && (l.value.content.params.key = (k = f == null ? void 0 : f.value[0]) == null ? void 0 : k.value), i === "supplier" && (l.value.content.params.querys = [
|
|
1157
1157
|
{
|
|
1158
1158
|
property: "orgId",
|
|
1159
1159
|
value: s,
|
|
@@ -1161,25 +1161,25 @@ const fa = (n, e) => {
|
|
|
1161
1161
|
relation: "AND",
|
|
1162
1162
|
operation: "EQUAL"
|
|
1163
1163
|
}
|
|
1164
|
-
], (O = f == null ? void 0 : f.value[0]) != null && O.value && (l.value.content.params.querys = (
|
|
1164
|
+
], (O = f == null ? void 0 : f.value[0]) != null && O.value && (l.value.content.params.querys = (Me = (le = (z = (P = l == null ? void 0 : l.value) == null ? void 0 : P.content) == null ? void 0 : z.params) == null ? void 0 : le.querys) == null ? void 0 : Me.concat([
|
|
1165
1165
|
{
|
|
1166
1166
|
property: "name",
|
|
1167
|
-
value: (
|
|
1167
|
+
value: (Ce = f == null ? void 0 : f.value[0]) == null ? void 0 : Ce.value,
|
|
1168
1168
|
group: "merge",
|
|
1169
1169
|
relation: "OR",
|
|
1170
1170
|
operation: "LIKE"
|
|
1171
1171
|
},
|
|
1172
1172
|
{
|
|
1173
1173
|
property: "code",
|
|
1174
|
-
value: (
|
|
1174
|
+
value: (ze = f == null ? void 0 : f.value[0]) == null ? void 0 : ze.value,
|
|
1175
1175
|
group: "merge",
|
|
1176
1176
|
relation: "OR",
|
|
1177
1177
|
operation: "LIKE"
|
|
1178
1178
|
}
|
|
1179
|
-
])), (
|
|
1179
|
+
])), (ke = f == null ? void 0 : f.value[1]) != null && ke.value && (l.value.content.params.querys = (Fe = ($e = (Re = (Te = l == null ? void 0 : l.value) == null ? void 0 : Te.content) == null ? void 0 : Re.params) == null ? void 0 : $e.querys) == null ? void 0 : Fe.concat([
|
|
1180
1180
|
{
|
|
1181
1181
|
property: "classificationId",
|
|
1182
|
-
value: (
|
|
1182
|
+
value: (Pe = f == null ? void 0 : f.value[1]) == null ? void 0 : Pe.value,
|
|
1183
1183
|
group: "quick",
|
|
1184
1184
|
relation: "AND",
|
|
1185
1185
|
operation: "EQUAL"
|
|
@@ -1209,13 +1209,13 @@ const fa = (n, e) => {
|
|
|
1209
1209
|
confirm: (B) => {
|
|
1210
1210
|
var K;
|
|
1211
1211
|
let Q = c[i];
|
|
1212
|
-
y.value = B == null ? void 0 : B.map((
|
|
1212
|
+
y.value = B == null ? void 0 : B.map((k) => ({ label: (k == null ? void 0 : k.name) || (k == null ? void 0 : k.code), value: k[Q] })), i === "supplier" && (r.value = (K = B[0]) == null ? void 0 : K.linkmanPhone);
|
|
1213
1213
|
},
|
|
1214
1214
|
getDetail: async (B) => {
|
|
1215
1215
|
if (!B) return;
|
|
1216
|
-
const Q =
|
|
1216
|
+
const Q = m[i];
|
|
1217
1217
|
let K = {};
|
|
1218
|
-
const
|
|
1218
|
+
const k = B == null ? void 0 : B.split(",");
|
|
1219
1219
|
if (i === "source") {
|
|
1220
1220
|
y.value = [
|
|
1221
1221
|
{
|
|
@@ -1224,7 +1224,7 @@ const fa = (n, e) => {
|
|
|
1224
1224
|
}
|
|
1225
1225
|
];
|
|
1226
1226
|
return;
|
|
1227
|
-
} else i === "user" ? K.userIds =
|
|
1227
|
+
} else i === "user" ? K.userIds = k : i === "role" ? K.ids = k : i === "supplier" ? K.id = k : K = k;
|
|
1228
1228
|
const [O, P] = await Q(K).run();
|
|
1229
1229
|
O || (i === "supplier" ? y.value = [
|
|
1230
1230
|
{
|
|
@@ -1257,23 +1257,23 @@ const fa = (n, e) => {
|
|
|
1257
1257
|
// orgId:getProjectInfo().id
|
|
1258
1258
|
};
|
|
1259
1259
|
h.spaceId = r != null && r.id ? r.id : "";
|
|
1260
|
-
let
|
|
1261
|
-
const [c, d] = await
|
|
1260
|
+
let v = Ut;
|
|
1261
|
+
const [c, d] = await v(h).run();
|
|
1262
1262
|
return c ? {} : d;
|
|
1263
1263
|
},
|
|
1264
1264
|
filterSpaceTree: async (r) => {
|
|
1265
1265
|
if (!r) return [];
|
|
1266
|
-
let h =
|
|
1267
|
-
const
|
|
1266
|
+
let h = Yt;
|
|
1267
|
+
const v = {
|
|
1268
1268
|
name: r
|
|
1269
|
-
}, [c, d] = await h(
|
|
1269
|
+
}, [c, d] = await h(v).run();
|
|
1270
1270
|
return c ? {} : (d.forEach((u) => {
|
|
1271
1271
|
u.path.startsWith("/0") && (u.path = u.path.slice(2) + `/${u.id}`), u._name = u.nodeName ? u.nodeName : u.name;
|
|
1272
1272
|
}), d);
|
|
1273
1273
|
},
|
|
1274
1274
|
getSpaceDetail: async (r) => {
|
|
1275
|
-
const [h,
|
|
1276
|
-
h || (n.value =
|
|
1275
|
+
const [h, v] = await xt().run({ spaceId: r });
|
|
1276
|
+
h || (n.value = v.path);
|
|
1277
1277
|
}
|
|
1278
1278
|
};
|
|
1279
1279
|
}, Ca = { class: "table-search-process-top" }, za = {
|
|
@@ -1302,39 +1302,39 @@ const fa = (n, e) => {
|
|
|
1302
1302
|
},
|
|
1303
1303
|
{ deep: !0 }
|
|
1304
1304
|
);
|
|
1305
|
-
const
|
|
1305
|
+
const v = r.value[e.setting.name] || !1, c = o(""), {
|
|
1306
1306
|
dialogVisible: d,
|
|
1307
1307
|
title: u,
|
|
1308
1308
|
searchName: _,
|
|
1309
|
-
tableOptions:
|
|
1309
|
+
tableOptions: m,
|
|
1310
1310
|
selectorType: p,
|
|
1311
1311
|
selectOptions: l,
|
|
1312
1312
|
userStatusMap: f,
|
|
1313
1313
|
roleTypeMap: b,
|
|
1314
1314
|
roleStatusMap: w,
|
|
1315
1315
|
openDialog: L,
|
|
1316
|
-
confirm:
|
|
1316
|
+
confirm: T,
|
|
1317
1317
|
getDetail: R,
|
|
1318
1318
|
searchData: J,
|
|
1319
1319
|
searchOptions: $,
|
|
1320
|
-
linkmanPhone:
|
|
1320
|
+
linkmanPhone: Y
|
|
1321
1321
|
} = La(e.setting, i, c), { spacePath: W, spaceName: re, searchSpace: ne, changeSpace: pe, spaceLoad: de, filterSpaceTree: ce, getSpaceDetail: B } = Na(), Q = o(!1);
|
|
1322
|
-
H(e.setting.options.validateList).then((
|
|
1323
|
-
Q.value =
|
|
1322
|
+
H(e.setting.options.validateList).then((k) => {
|
|
1323
|
+
Q.value = k;
|
|
1324
1324
|
});
|
|
1325
1325
|
const K = o();
|
|
1326
|
-
return e.setting.options.tip && (K.value =
|
|
1327
|
-
s(e.setting.name,
|
|
1328
|
-
}), C(re, (
|
|
1329
|
-
s(e.setting.options.selector.type.positionName,
|
|
1330
|
-
})) : p == "supplier" ? (c.value = g(e.setting.name) ? [g(e.setting.name)] : [c.value], c.value && R(g(e.setting.name)), C(c, (
|
|
1331
|
-
s(e.setting.name,
|
|
1332
|
-
}), C(
|
|
1326
|
+
return e.setting.options.tip && (K.value = x(e.setting.options.tip)), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), p == "position" ? (c.value = g(e.setting.name) ? g(e.setting.name) : c.value, c.value && B(c.value), c.value || s(e.setting.name, null), C(c, (k) => {
|
|
1327
|
+
s(e.setting.name, k);
|
|
1328
|
+
}), C(re, (k) => {
|
|
1329
|
+
s(e.setting.options.selector.type.positionName, k);
|
|
1330
|
+
})) : p == "supplier" ? (c.value = g(e.setting.name) ? [g(e.setting.name)] : [c.value], c.value && R(g(e.setting.name)), C(c, (k) => {
|
|
1331
|
+
s(e.setting.name, k == null ? void 0 : k.toString());
|
|
1332
|
+
}), C(Y, (k) => {
|
|
1333
1333
|
var O, P, z, le;
|
|
1334
|
-
((le = (z = (P = (O = e == null ? void 0 : e.setting) == null ? void 0 : O.options) == null ? void 0 : P.selector) == null ? void 0 : z.type) == null ? void 0 : le.supplierPhone) !== void 0 && s(e.setting.options.selector.type.supplierPhone,
|
|
1335
|
-
})) : (c.value = g(e.setting.name) ? g(e.setting.name) : c.value, c.value && R(c.value), c.value.length || s(e.setting.name, null), C(l, (
|
|
1336
|
-
c.value =
|
|
1337
|
-
})), (
|
|
1334
|
+
((le = (z = (P = (O = e == null ? void 0 : e.setting) == null ? void 0 : O.options) == null ? void 0 : P.selector) == null ? void 0 : z.type) == null ? void 0 : le.supplierPhone) !== void 0 && s(e.setting.options.selector.type.supplierPhone, k);
|
|
1335
|
+
})) : (c.value = g(e.setting.name) ? g(e.setting.name) : c.value, c.value && R(c.value), c.value.length || s(e.setting.name, null), C(l, (k) => {
|
|
1336
|
+
c.value = k.map((O) => O.value).toString(), s(e.setting.name, c.value);
|
|
1337
|
+
})), (k, O) => (S(), U(
|
|
1338
1338
|
G,
|
|
1339
1339
|
null,
|
|
1340
1340
|
[
|
|
@@ -1344,13 +1344,14 @@ const fa = (n, e) => {
|
|
|
1344
1344
|
modelValue: c.value,
|
|
1345
1345
|
"onUpdate:modelValue": O[1] || (O[1] = (P) => c.value = P),
|
|
1346
1346
|
prop: e.setting.name,
|
|
1347
|
-
label:
|
|
1347
|
+
label: k.setting.desc,
|
|
1348
1348
|
type: "inputDialogSelect",
|
|
1349
1349
|
options: a(l),
|
|
1350
1350
|
helpMessage: K.value,
|
|
1351
1351
|
isView: e.isView,
|
|
1352
|
-
disabled: a(
|
|
1352
|
+
disabled: a(v),
|
|
1353
1353
|
required: Q.value,
|
|
1354
|
+
placeholder: k.setting.options.placeholder,
|
|
1354
1355
|
onOpenDialog: a(L)
|
|
1355
1356
|
}, {
|
|
1356
1357
|
default: M(() => {
|
|
@@ -1360,8 +1361,8 @@ const fa = (n, e) => {
|
|
|
1360
1361
|
"append-to-body": "",
|
|
1361
1362
|
modelValue: a(d),
|
|
1362
1363
|
"onUpdate:modelValue": O[0] || (O[0] = (z) => he(d) ? d.value = z : null),
|
|
1363
|
-
options: a(
|
|
1364
|
-
onConfirm: a(
|
|
1364
|
+
options: a(m),
|
|
1365
|
+
onConfirm: a(T),
|
|
1365
1366
|
title: a(u),
|
|
1366
1367
|
"body-style": { padding: "0px" }
|
|
1367
1368
|
}, dt({
|
|
@@ -1371,7 +1372,7 @@ const fa = (n, e) => {
|
|
|
1371
1372
|
((P = a($)) == null ? void 0 : P.length) > 0 ? {
|
|
1372
1373
|
name: "table-header-search",
|
|
1373
1374
|
fn: M(() => [
|
|
1374
|
-
|
|
1375
|
+
Ke("div", Ca, [
|
|
1375
1376
|
N(a(Vt), {
|
|
1376
1377
|
labelLength: "6",
|
|
1377
1378
|
options: a($),
|
|
@@ -1398,7 +1399,7 @@ const fa = (n, e) => {
|
|
|
1398
1399
|
prop: "sensitivePhone"
|
|
1399
1400
|
}, {
|
|
1400
1401
|
default: M(({ row: z }) => [
|
|
1401
|
-
N(a(
|
|
1402
|
+
N(a(Se), {
|
|
1402
1403
|
placement: "top",
|
|
1403
1404
|
content: z.phone,
|
|
1404
1405
|
disabled: !z.phone
|
|
@@ -1588,15 +1589,35 @@ const fa = (n, e) => {
|
|
|
1588
1589
|
}, null, 8, ["label"]),
|
|
1589
1590
|
N(a(F), {
|
|
1590
1591
|
label: a(D)("联系电话"),
|
|
1591
|
-
prop: "
|
|
1592
|
-
},
|
|
1592
|
+
prop: "sensitivePhone"
|
|
1593
|
+
}, {
|
|
1594
|
+
default: M(({ row: z }) => [
|
|
1595
|
+
N(a(Se), {
|
|
1596
|
+
placement: "top",
|
|
1597
|
+
content: z.phone,
|
|
1598
|
+
disabled: !z.phone
|
|
1599
|
+
}, {
|
|
1600
|
+
default: M(() => [
|
|
1601
|
+
ee(
|
|
1602
|
+
te(z.sensitivePhone || "-"),
|
|
1603
|
+
1
|
|
1604
|
+
/* TEXT */
|
|
1605
|
+
)
|
|
1606
|
+
]),
|
|
1607
|
+
_: 2
|
|
1608
|
+
/* DYNAMIC */
|
|
1609
|
+
}, 1032, ["content", "disabled"])
|
|
1610
|
+
]),
|
|
1611
|
+
_: 1
|
|
1612
|
+
/* STABLE */
|
|
1613
|
+
}, 8, ["label"]),
|
|
1593
1614
|
N(a(F), {
|
|
1594
1615
|
label: a(D)("计划领用日期"),
|
|
1595
1616
|
prop: "claimingDate"
|
|
1596
1617
|
}, {
|
|
1597
1618
|
default: M(({ row: z }) => [
|
|
1598
1619
|
ee(
|
|
1599
|
-
te(z.claimingDate ? a(
|
|
1620
|
+
te(z.claimingDate ? a(me)(Number(z == null ? void 0 : z.claimingDate)).format("YYYY/MM/DD") : "-"),
|
|
1600
1621
|
1
|
|
1601
1622
|
/* TEXT */
|
|
1602
1623
|
)
|
|
@@ -1616,16 +1637,17 @@ const fa = (n, e) => {
|
|
|
1616
1637
|
}),
|
|
1617
1638
|
_: 1
|
|
1618
1639
|
/* STABLE */
|
|
1619
|
-
}, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "onOpenDialog"])) : q("v-if", !0),
|
|
1640
|
+
}, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "placeholder", "onOpenDialog"])) : q("v-if", !0),
|
|
1620
1641
|
h.value && a(p) == "position" ? (S(), I(a(A), {
|
|
1621
1642
|
key: 1,
|
|
1622
1643
|
col: e.span,
|
|
1623
|
-
label:
|
|
1644
|
+
label: k.setting.desc,
|
|
1624
1645
|
prop: e.setting.name,
|
|
1625
1646
|
type: "treeSelect",
|
|
1626
1647
|
"node-key": "id",
|
|
1627
1648
|
showFullPath: !0,
|
|
1628
1649
|
helpMessage: K.value,
|
|
1650
|
+
placeholder: k.setting.options.placeholder,
|
|
1629
1651
|
required: Q.value,
|
|
1630
1652
|
modelValue: c.value,
|
|
1631
1653
|
"onUpdate:modelValue": O[2] || (O[2] = (P) => c.value = P),
|
|
@@ -1634,7 +1656,7 @@ const fa = (n, e) => {
|
|
|
1634
1656
|
path: a(W),
|
|
1635
1657
|
"onUpdate:path": O[4] || (O[4] = (P) => he(W) ? W.value = P : null),
|
|
1636
1658
|
isView: e.isView,
|
|
1637
|
-
disabled: a(
|
|
1659
|
+
disabled: a(v),
|
|
1638
1660
|
load: a(de),
|
|
1639
1661
|
search: a(ce),
|
|
1640
1662
|
props: {
|
|
@@ -1642,13 +1664,13 @@ const fa = (n, e) => {
|
|
|
1642
1664
|
label: "name"
|
|
1643
1665
|
},
|
|
1644
1666
|
onChange: a(pe)
|
|
1645
|
-
}, null, 8, ["col", "label", "prop", "helpMessage", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange"])) : q("v-if", !0)
|
|
1667
|
+
}, null, 8, ["col", "label", "prop", "helpMessage", "placeholder", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange"])) : q("v-if", !0)
|
|
1646
1668
|
],
|
|
1647
1669
|
64
|
|
1648
1670
|
/* STABLE_FRAGMENT */
|
|
1649
1671
|
));
|
|
1650
1672
|
}
|
|
1651
|
-
}), ka = /* @__PURE__ */ fe(Ma, [["__scopeId", "data-v-
|
|
1673
|
+
}), ka = /* @__PURE__ */ fe(Ma, [["__scopeId", "data-v-a1e1fa30"]]), at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1652
1674
|
__proto__: null,
|
|
1653
1675
|
default: ka
|
|
1654
1676
|
}, Symbol.toStringTag, { value: "Module" })), Ta = {
|
|
@@ -1683,36 +1705,36 @@ const fa = (n, e) => {
|
|
|
1683
1705
|
},
|
|
1684
1706
|
{ deep: !0 }
|
|
1685
1707
|
), s.value[e.setting.name];
|
|
1686
|
-
const { baseURL: h } = St(),
|
|
1708
|
+
const { baseURL: h } = St(), v = o(!1);
|
|
1687
1709
|
H(e.setting.options.validateList).then((_) => {
|
|
1688
|
-
|
|
1710
|
+
v.value = _;
|
|
1689
1711
|
});
|
|
1690
1712
|
const c = o("info"), d = o();
|
|
1691
|
-
e.setting.options.tip && (d.value =
|
|
1713
|
+
e.setting.options.tip && (d.value = x(e.setting.options.tip));
|
|
1692
1714
|
const u = o();
|
|
1693
1715
|
if (i(e.setting.name)) {
|
|
1694
1716
|
const _ = JSON.parse(i(e.setting.name));
|
|
1695
1717
|
u.value = h + _[0].url;
|
|
1696
1718
|
}
|
|
1697
|
-
return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), (_,
|
|
1719
|
+
return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), (_, m) => e.isView && r.value ? (S(), I(a(A), {
|
|
1698
1720
|
key: 0,
|
|
1699
1721
|
modelValue: u.value,
|
|
1700
|
-
"onUpdate:modelValue":
|
|
1722
|
+
"onUpdate:modelValue": m[2] || (m[2] = (p) => u.value = p),
|
|
1701
1723
|
"margin-bottom": "0",
|
|
1702
1724
|
prop: e.setting.name,
|
|
1703
1725
|
label: _.setting.desc,
|
|
1704
1726
|
type: "custom",
|
|
1705
1727
|
helpMessage: d.value,
|
|
1706
|
-
required:
|
|
1728
|
+
required: v.value
|
|
1707
1729
|
}, {
|
|
1708
1730
|
default: M(() => [
|
|
1709
1731
|
u.value ? (S(), U("div", Ta, [
|
|
1710
|
-
N(a(
|
|
1732
|
+
N(a(je), {
|
|
1711
1733
|
modelValue: u.value,
|
|
1712
|
-
"onUpdate:modelValue":
|
|
1734
|
+
"onUpdate:modelValue": m[0] || (m[0] = (p) => u.value = p),
|
|
1713
1735
|
status: c.value,
|
|
1714
|
-
"onUpdate:status":
|
|
1715
|
-
required:
|
|
1736
|
+
"onUpdate:status": m[1] || (m[1] = (p) => c.value = p),
|
|
1737
|
+
required: v.value
|
|
1716
1738
|
}, null, 8, ["modelValue", "status", "required"])
|
|
1717
1739
|
])) : (S(), U("div", Ra, "-"))
|
|
1718
1740
|
]),
|
|
@@ -1749,12 +1771,12 @@ const fa = (n, e) => {
|
|
|
1749
1771
|
},
|
|
1750
1772
|
{ deep: !0 }
|
|
1751
1773
|
);
|
|
1752
|
-
const h = s.value[e.setting.name] || !1,
|
|
1774
|
+
const h = s.value[e.setting.name] || !1, v = o(!1);
|
|
1753
1775
|
H(e.setting.options.validateList).then((u) => {
|
|
1754
|
-
|
|
1776
|
+
v.value = u;
|
|
1755
1777
|
});
|
|
1756
1778
|
const c = o();
|
|
1757
|
-
e.setting.options.tip && (c.value =
|
|
1779
|
+
e.setting.options.tip && (c.value = x(e.setting.options.tip));
|
|
1758
1780
|
const d = o();
|
|
1759
1781
|
return setTimeout(() => {
|
|
1760
1782
|
d.value = i(e.setting.name) || e.setting.options.formulasDiyJs || d.value, d.value || g(e.setting.name, null);
|
|
@@ -1764,7 +1786,7 @@ const fa = (n, e) => {
|
|
|
1764
1786
|
key: 0,
|
|
1765
1787
|
col: e.span,
|
|
1766
1788
|
modelValue: d.value,
|
|
1767
|
-
"onUpdate:modelValue": _[0] || (_[0] = (
|
|
1789
|
+
"onUpdate:modelValue": _[0] || (_[0] = (m) => d.value = m),
|
|
1768
1790
|
label: u.setting.desc,
|
|
1769
1791
|
type: "switch",
|
|
1770
1792
|
prop: e.setting.name,
|
|
@@ -1774,7 +1796,7 @@ const fa = (n, e) => {
|
|
|
1774
1796
|
inactiveText: u.setting.options.inactiveText,
|
|
1775
1797
|
helpMessage: c.value,
|
|
1776
1798
|
disabled: a(h),
|
|
1777
|
-
required:
|
|
1799
|
+
required: v.value,
|
|
1778
1800
|
isView: e.isView
|
|
1779
1801
|
}, null, 8, ["col", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "disabled", "required", "isView"])) : q("v-if", !0);
|
|
1780
1802
|
}
|
|
@@ -1803,20 +1825,20 @@ const fa = (n, e) => {
|
|
|
1803
1825
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
1804
1826
|
() => t.value,
|
|
1805
1827
|
() => {
|
|
1806
|
-
r.value = t.value[e.setting.name], r.value || (
|
|
1828
|
+
r.value = t.value[e.setting.name], r.value || (v.value = null, V(e.setting.name)), r.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
1807
1829
|
},
|
|
1808
1830
|
{ deep: !0 }
|
|
1809
1831
|
);
|
|
1810
1832
|
const h = o();
|
|
1811
|
-
e.setting.options.tip && (h.value =
|
|
1812
|
-
const
|
|
1813
|
-
return
|
|
1833
|
+
e.setting.options.tip && (h.value = x(e.setting.options.tip));
|
|
1834
|
+
const v = o();
|
|
1835
|
+
return v.value = e.setting.options.textValue, v.value = i(e.setting.name) || v.value, v.value || g(e.setting.name, null), C(v, (c) => {
|
|
1814
1836
|
g(e.setting.name, c);
|
|
1815
1837
|
}), (c, d) => r.value ? (S(), I(a(A), {
|
|
1816
1838
|
key: 0,
|
|
1817
1839
|
col: e.span,
|
|
1818
|
-
modelValue:
|
|
1819
|
-
"onUpdate:modelValue": d[1] || (d[1] = (u) =>
|
|
1840
|
+
modelValue: v.value,
|
|
1841
|
+
"onUpdate:modelValue": d[1] || (d[1] = (u) => v.value = u),
|
|
1820
1842
|
label: c.setting.desc,
|
|
1821
1843
|
type: "custom",
|
|
1822
1844
|
helpMessage: h.value
|
|
@@ -1824,8 +1846,8 @@ const fa = (n, e) => {
|
|
|
1824
1846
|
default: M(() => [
|
|
1825
1847
|
N(a(Ee), {
|
|
1826
1848
|
type: "text",
|
|
1827
|
-
modelValue:
|
|
1828
|
-
"onUpdate:modelValue": d[0] || (d[0] = (u) =>
|
|
1849
|
+
modelValue: v.value,
|
|
1850
|
+
"onUpdate:modelValue": d[0] || (d[0] = (u) => v.value = u)
|
|
1829
1851
|
}, null, 8, ["modelValue"])
|
|
1830
1852
|
]),
|
|
1831
1853
|
_: 1
|
|
@@ -1861,33 +1883,33 @@ const fa = (n, e) => {
|
|
|
1861
1883
|
},
|
|
1862
1884
|
{ deep: !0 }
|
|
1863
1885
|
);
|
|
1864
|
-
const h = s.value[e.setting.name] || !1,
|
|
1865
|
-
H(e.setting.options.validateList).then((
|
|
1866
|
-
|
|
1886
|
+
const h = s.value[e.setting.name] || !1, v = o(!1);
|
|
1887
|
+
H(e.setting.options.validateList).then((m) => {
|
|
1888
|
+
v.value = m;
|
|
1867
1889
|
});
|
|
1868
1890
|
const c = o();
|
|
1869
|
-
e.setting.options.tip && (c.value =
|
|
1891
|
+
e.setting.options.tip && (c.value = x(e.setting.options.tip));
|
|
1870
1892
|
const d = o("");
|
|
1871
1893
|
setTimeout(() => {
|
|
1872
1894
|
d.value = i(e.setting.name) || e.setting.options.formulasDiyJs || d.value, d.value || g(e.setting.name, null);
|
|
1873
1895
|
}, 50);
|
|
1874
1896
|
const u = o(), _ = o();
|
|
1875
|
-
return u.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", _.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(d, (
|
|
1876
|
-
g(e.setting.name,
|
|
1877
|
-
}), (
|
|
1897
|
+
return u.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", _.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(d, (m) => {
|
|
1898
|
+
g(e.setting.name, m);
|
|
1899
|
+
}), (m, p) => (S(), U(
|
|
1878
1900
|
G,
|
|
1879
1901
|
null,
|
|
1880
1902
|
[
|
|
1881
|
-
!
|
|
1903
|
+
!m.setting.options.isEditor && r.value ? (S(), I(a(A), {
|
|
1882
1904
|
key: 0,
|
|
1883
1905
|
col: e.span,
|
|
1884
|
-
label:
|
|
1906
|
+
label: m.setting.desc,
|
|
1885
1907
|
type: "textarea",
|
|
1886
1908
|
modelValue: d.value,
|
|
1887
1909
|
"onUpdate:modelValue": p[0] || (p[0] = (l) => d.value = l),
|
|
1888
1910
|
prop: e.setting.name,
|
|
1889
|
-
placeholder:
|
|
1890
|
-
disabled:
|
|
1911
|
+
placeholder: m.setting.options.placeholder,
|
|
1912
|
+
disabled: m.setting.options.isInputEdit || a(h),
|
|
1891
1913
|
isView: e.isView,
|
|
1892
1914
|
autosize: {
|
|
1893
1915
|
minRows: 1,
|
|
@@ -1895,18 +1917,18 @@ const fa = (n, e) => {
|
|
|
1895
1917
|
},
|
|
1896
1918
|
"show-word-limit": "",
|
|
1897
1919
|
helpMessage: c.value,
|
|
1898
|
-
required:
|
|
1920
|
+
required: v.value
|
|
1899
1921
|
}, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) : q("v-if", !0),
|
|
1900
|
-
|
|
1922
|
+
m.setting.options.isEditor && r.value ? (S(), I(a(A), {
|
|
1901
1923
|
key: 1,
|
|
1902
1924
|
modelValue: d.value,
|
|
1903
1925
|
"onUpdate:modelValue": p[2] || (p[2] = (l) => d.value = l),
|
|
1904
1926
|
prop: e.setting.name,
|
|
1905
1927
|
contentWidth: u.value,
|
|
1906
|
-
label:
|
|
1928
|
+
label: m.setting.desc,
|
|
1907
1929
|
type: "custom",
|
|
1908
1930
|
helpMessage: c.value,
|
|
1909
|
-
required:
|
|
1931
|
+
required: v.value,
|
|
1910
1932
|
readOnly: e.isView
|
|
1911
1933
|
}, {
|
|
1912
1934
|
default: M(() => [
|
|
@@ -1916,7 +1938,7 @@ const fa = (n, e) => {
|
|
|
1916
1938
|
height: _.value,
|
|
1917
1939
|
modelValue: d.value,
|
|
1918
1940
|
"onUpdate:modelValue": p[1] || (p[1] = (l) => d.value = l),
|
|
1919
|
-
placeholder:
|
|
1941
|
+
placeholder: m.setting.options.placeholder
|
|
1920
1942
|
}, null, 8, ["width", "height", "modelValue", "placeholder"])
|
|
1921
1943
|
]),
|
|
1922
1944
|
_: 1
|
|
@@ -1956,29 +1978,29 @@ const fa = (n, e) => {
|
|
|
1956
1978
|
},
|
|
1957
1979
|
{ deep: !0 }
|
|
1958
1980
|
);
|
|
1959
|
-
const h = s.value[e.setting.name] || !1,
|
|
1981
|
+
const h = s.value[e.setting.name] || !1, v = o(!1);
|
|
1960
1982
|
H(e.setting.options.validateList).then((u) => {
|
|
1961
|
-
|
|
1983
|
+
v.value = u;
|
|
1962
1984
|
});
|
|
1963
1985
|
const c = o();
|
|
1964
|
-
e.setting.options.tip && (c.value =
|
|
1986
|
+
e.setting.options.tip && (c.value = x(e.setting.options.tip));
|
|
1965
1987
|
const d = o();
|
|
1966
1988
|
return setTimeout(() => {
|
|
1967
|
-
const u =
|
|
1968
|
-
i(e.setting.name) && (d.value = i(e.setting.name)), e.setting.options.formulasDiyJs && (d.value =
|
|
1989
|
+
const u = me().format("YYYY-MM-DD ");
|
|
1990
|
+
i(e.setting.name) && (d.value = i(e.setting.name)), e.setting.options.formulasDiyJs && (d.value = me(u + e.setting.options.formulasDiyJs)), d.value || g(e.setting.name, null);
|
|
1969
1991
|
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(d, (u) => {
|
|
1970
1992
|
g(e.setting.name, u);
|
|
1971
1993
|
}), (u, _) => r.value ? (S(), I(a(A), {
|
|
1972
1994
|
key: 0,
|
|
1973
1995
|
col: e.span,
|
|
1974
1996
|
modelValue: d.value,
|
|
1975
|
-
"onUpdate:modelValue": _[0] || (_[0] = (
|
|
1997
|
+
"onUpdate:modelValue": _[0] || (_[0] = (m) => d.value = m),
|
|
1976
1998
|
prop: e.setting.name,
|
|
1977
1999
|
label: u.setting.desc,
|
|
1978
2000
|
type: "time",
|
|
1979
2001
|
helpMessage: c.value,
|
|
1980
2002
|
isView: e.isView,
|
|
1981
|
-
required:
|
|
2003
|
+
required: v.value,
|
|
1982
2004
|
disabled: a(h)
|
|
1983
2005
|
}, null, 8, ["col", "modelValue", "prop", "label", "helpMessage", "isView", "required", "disabled"])) : q("v-if", !0);
|
|
1984
2006
|
}
|
|
@@ -2027,7 +2049,7 @@ const fa = (n, e) => {
|
|
|
2027
2049
|
}
|
|
2028
2050
|
}), Ua = {
|
|
2029
2051
|
name: "accordion"
|
|
2030
|
-
},
|
|
2052
|
+
}, Ya = /* @__PURE__ */ E({
|
|
2031
2053
|
...Ua,
|
|
2032
2054
|
props: {
|
|
2033
2055
|
setting: { default: () => ({
|
|
@@ -2064,9 +2086,9 @@ const fa = (n, e) => {
|
|
|
2064
2086
|
style: { "margin-bottom": "10px" }
|
|
2065
2087
|
}, null, 8, ["columns", "options", "isView", "store"]));
|
|
2066
2088
|
}
|
|
2067
|
-
}),
|
|
2089
|
+
}), xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2068
2090
|
__proto__: null,
|
|
2069
|
-
default:
|
|
2091
|
+
default: Ya
|
|
2070
2092
|
}, Symbol.toStringTag, { value: "Module" })), Ja = {
|
|
2071
2093
|
name: "grid"
|
|
2072
2094
|
}, Ha = /* @__PURE__ */ E({
|
|
@@ -2137,7 +2159,7 @@ const fa = (n, e) => {
|
|
|
2137
2159
|
}), Wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2138
2160
|
__proto__: null,
|
|
2139
2161
|
default: Ha
|
|
2140
|
-
}, Symbol.toStringTag, { value: "Module" })), _e = /* @__PURE__ */ Object.assign({ "./base/attachment.vue":
|
|
2162
|
+
}, Symbol.toStringTag, { value: "Module" })), _e = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ye, "./base/autocomplete.vue": xe, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue": lt, "./base/textarea.vue": ot, "./base/time.vue": it, "./layout/accordion/accordion.vue": xa, "./layout/grid/gridLayout.vue": Wa }), we = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ye, "./base/autocomplete.vue": xe, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue": lt, "./base/textarea.vue": ot, "./base/time.vue": it }), Ve = /* @__PURE__ */ Object.assign({}), De = /* @__PURE__ */ Object.assign({}), ue = {}, ut = {}, rt = {}, Za = {};
|
|
2141
2163
|
Object.keys(we).map((n) => ut[we[n].default.name] = we[n].default);
|
|
2142
2164
|
Object.keys(Ve).map((n) => rt[Ve[n].default.name] = Ve[n].default);
|
|
2143
2165
|
Object.keys(De).map((n) => Za[De[n].default.name] = De[n].default);
|
|
@@ -2183,11 +2205,11 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2183
2205
|
if (e !== "" && !/^[a-zA-Z ]{1,}$/.test(e))
|
|
2184
2206
|
return t(new Error(D("只能输入字母空格"))), !1;
|
|
2185
2207
|
t();
|
|
2186
|
-
},
|
|
2208
|
+
}, vn = (n, e, t) => {
|
|
2187
2209
|
if (e !== "" && !/^[0-9a-zA-Z_-]{1,}$/.test(e))
|
|
2188
2210
|
return t(new Error(D("只能输入字母数字横线下划线"))), !1;
|
|
2189
2211
|
t();
|
|
2190
|
-
},
|
|
2212
|
+
}, mn = (n, e, t) => {
|
|
2191
2213
|
if (e !== "" && !/^[0-9a-zA-Z]{1,}$/.test(e))
|
|
2192
2214
|
return t(new Error(D("只能输入字母数字"))), !1;
|
|
2193
2215
|
t();
|
|
@@ -2211,8 +2233,8 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2211
2233
|
mobile: an,
|
|
2212
2234
|
alpha: cn,
|
|
2213
2235
|
alpha_spaces: gn,
|
|
2214
|
-
alpha_dash:
|
|
2215
|
-
alpha_num:
|
|
2236
|
+
alpha_dash: vn,
|
|
2237
|
+
alpha_num: mn,
|
|
2216
2238
|
regex: fn
|
|
2217
2239
|
}, yn = () => {
|
|
2218
2240
|
const n = o({}), e = o([]), t = o({}), s = o({}), g = o([]), i = o(""), y = o(""), V = o({}), r = o([]), h = o({});
|
|
@@ -2240,8 +2262,8 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2240
2262
|
},
|
|
2241
2263
|
getData: (b) => n.value[b],
|
|
2242
2264
|
setFormData: (b, w, L) => {
|
|
2243
|
-
y.value = b, g.value.includes(b) ? e.value.forEach((
|
|
2244
|
-
|
|
2265
|
+
y.value = b, g.value.includes(b) ? e.value.forEach((T) => {
|
|
2266
|
+
T.formKey === b && (n.value = T.data);
|
|
2245
2267
|
}) : (g.value.push(b), e.value.push({
|
|
2246
2268
|
formKey: b,
|
|
2247
2269
|
boKey: w,
|
|
@@ -2253,7 +2275,7 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2253
2275
|
setFormRule: (b, w) => {
|
|
2254
2276
|
V.value[b] = [], w && w.length && w.forEach((L) => {
|
|
2255
2277
|
V.value[b].push({
|
|
2256
|
-
validator: (
|
|
2278
|
+
validator: (T, R, J) => hn[L.key](T, R, J, L)
|
|
2257
2279
|
});
|
|
2258
2280
|
});
|
|
2259
2281
|
},
|
|
@@ -2284,30 +2306,30 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2284
2306
|
},
|
|
2285
2307
|
emits: ["handleClick", "change"],
|
|
2286
2308
|
setup(n, { expose: e, emit: t }) {
|
|
2287
|
-
const s = yn(), { formRule: g, data: i, flowKey: y, clearData: V, getFormData: r } = s, h = n,
|
|
2309
|
+
const s = yn(), { formRule: g, data: i, flowKey: y, clearData: V, getFormData: r } = s, h = n, v = t;
|
|
2288
2310
|
y.value = h.flowKey;
|
|
2289
2311
|
const c = (R) => R === "accordion";
|
|
2290
2312
|
C(
|
|
2291
2313
|
() => i.value,
|
|
2292
2314
|
(R) => {
|
|
2293
|
-
|
|
2315
|
+
v("change", R);
|
|
2294
2316
|
},
|
|
2295
2317
|
{
|
|
2296
2318
|
immediate: !0,
|
|
2297
2319
|
deep: !0
|
|
2298
2320
|
}
|
|
2299
2321
|
);
|
|
2300
|
-
const { formJsonList: d, isShowPage: u, btnList: _, formRef:
|
|
2322
|
+
const { formJsonList: d, isShowPage: u, btnList: _, formRef: m, activityKeys: p, getForm: l, getBtnSet: f, handleClick: b } = Gt(
|
|
2301
2323
|
h,
|
|
2302
|
-
|
|
2324
|
+
v,
|
|
2303
2325
|
s
|
|
2304
2326
|
), w = o({}), L = (R, J) => {
|
|
2305
2327
|
const { key: $ } = J;
|
|
2306
2328
|
w.value[$] || (w.value[$] = R);
|
|
2307
|
-
},
|
|
2329
|
+
}, T = () => new Promise((R, J) => {
|
|
2308
2330
|
let $ = !0;
|
|
2309
|
-
for (const
|
|
2310
|
-
w.value[
|
|
2331
|
+
for (const Y in w.value)
|
|
2332
|
+
w.value[Y].validate((W) => {
|
|
2311
2333
|
W == !1 && ($ = !1);
|
|
2312
2334
|
});
|
|
2313
2335
|
setTimeout(() => {
|
|
@@ -2320,7 +2342,7 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2320
2342
|
return ct(async () => {
|
|
2321
2343
|
h.isShowBtn == !1 ? l(h.formConfigurationId) : f();
|
|
2322
2344
|
}), e({
|
|
2323
|
-
validateFormData:
|
|
2345
|
+
validateFormData: T,
|
|
2324
2346
|
clearData: V
|
|
2325
2347
|
}), (R, J) => (S(), U("div", bn, [
|
|
2326
2348
|
a(_).length > 0 ? (S(), U("div", _n, [
|
|
@@ -2331,7 +2353,7 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2331
2353
|
key: $.id,
|
|
2332
2354
|
style: { "margin-right": "20px" },
|
|
2333
2355
|
"btn-type": "primary",
|
|
2334
|
-
onClick: (
|
|
2356
|
+
onClick: (Y) => a(b)($)
|
|
2335
2357
|
}, {
|
|
2336
2358
|
default: M(() => [
|
|
2337
2359
|
ee(
|
|
@@ -2351,7 +2373,7 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2351
2373
|
"div",
|
|
2352
2374
|
{
|
|
2353
2375
|
class: "content-box",
|
|
2354
|
-
style:
|
|
2376
|
+
style: vt({ margin: "0 10px", ...R.customStyle })
|
|
2355
2377
|
},
|
|
2356
2378
|
[
|
|
2357
2379
|
(S(!0), U(
|
|
@@ -2375,9 +2397,9 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2375
2397
|
header: $.columns[0].span
|
|
2376
2398
|
}, {
|
|
2377
2399
|
default: M(() => [
|
|
2378
|
-
N(a(
|
|
2400
|
+
N(a(Ie), {
|
|
2379
2401
|
ref_for: !0,
|
|
2380
|
-
ref: (
|
|
2402
|
+
ref: (Y) => L(Y, $),
|
|
2381
2403
|
cols: 24,
|
|
2382
2404
|
alignType: "horizontal",
|
|
2383
2405
|
"margin-right": "80px",
|
|
@@ -2389,20 +2411,20 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2389
2411
|
(S(!0), U(
|
|
2390
2412
|
G,
|
|
2391
2413
|
null,
|
|
2392
|
-
ie($.columns[0].list, (
|
|
2414
|
+
ie($.columns[0].list, (Y) => (S(), U(
|
|
2393
2415
|
G,
|
|
2394
2416
|
{
|
|
2395
2417
|
key: $.name
|
|
2396
2418
|
},
|
|
2397
2419
|
[
|
|
2398
|
-
|
|
2420
|
+
Y.ctrlType == "grid" ? (S(), I(ge(a(ue).grid), {
|
|
2399
2421
|
key: 0,
|
|
2400
|
-
setting:
|
|
2422
|
+
setting: Y,
|
|
2401
2423
|
isView: h.isView,
|
|
2402
2424
|
store: a(s)
|
|
2403
|
-
}, null, 8, ["setting", "isView", "store"])) : (S(), I(ge(a(ue)[
|
|
2425
|
+
}, null, 8, ["setting", "isView", "store"])) : (S(), I(ge(a(ue)[Y.ctrlType]), {
|
|
2404
2426
|
key: 1,
|
|
2405
|
-
setting:
|
|
2427
|
+
setting: Y,
|
|
2406
2428
|
isView: h.isView,
|
|
2407
2429
|
store: a(s)
|
|
2408
2430
|
}, null, 8, ["setting", "isView", "store"]))
|
|
@@ -2425,10 +2447,10 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2425
2447
|
_: 2
|
|
2426
2448
|
/* DYNAMIC */
|
|
2427
2449
|
}, 1032, ["collapsible", "activeKey"])) : (S(), U("div", wn, [
|
|
2428
|
-
a(u) ? (S(), I(a(
|
|
2450
|
+
a(u) ? (S(), I(a(Ie), {
|
|
2429
2451
|
key: 0,
|
|
2430
2452
|
ref_for: !0,
|
|
2431
|
-
ref: (
|
|
2453
|
+
ref: (Y) => L(Y, $),
|
|
2432
2454
|
cols: 24,
|
|
2433
2455
|
"auto-margin-right": "",
|
|
2434
2456
|
alignType: "horizontal",
|
|
@@ -2553,8 +2575,8 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2553
2575
|
"个人/公司": { "zh-CN": "个人/公司", en: "Individual/Company" }
|
|
2554
2576
|
};
|
|
2555
2577
|
wt(Sn);
|
|
2556
|
-
const
|
|
2578
|
+
const xn = pt(Dn);
|
|
2557
2579
|
export {
|
|
2558
|
-
|
|
2559
|
-
|
|
2580
|
+
xn as DasProcessForm,
|
|
2581
|
+
xn as default
|
|
2560
2582
|
};
|