@das-fed/ui 7.0.7-hot.74 → 7.0.7-hot.75
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/ui",
|
|
3
|
-
"version": "7.0.7-hot.
|
|
3
|
+
"version": "7.0.7-hot.75",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@antv/x6-plugin-snapline": "^2.1.7",
|
|
27
27
|
"@antv/x6-plugin-transform": "^2.1.8",
|
|
28
28
|
"@antv/x6-vue-shape": "^2.1.2",
|
|
29
|
-
"@das-fed/cli": "7.0.7-hot.
|
|
29
|
+
"@das-fed/cli": "7.0.7-hot.75",
|
|
30
30
|
"@element-plus/icons-vue": "^2.3.1",
|
|
31
31
|
"@types/lodash": "^4.14.194",
|
|
32
32
|
"@types/lodash-es": "^4.17.9",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"vue-tsc": "^2.0.29"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@das-fed/ui": "7.0.7-hot.
|
|
60
|
-
"@das-fed/utils": "7.0.7-hot.
|
|
61
|
-
"@das-fed/web": "7.0.7-hot.
|
|
59
|
+
"@das-fed/ui": "7.0.7-hot.75",
|
|
60
|
+
"@das-fed/utils": "7.0.7-hot.75",
|
|
61
|
+
"@das-fed/web": "7.0.7-hot.75",
|
|
62
62
|
"@types/markdown-it": "^14.1.2",
|
|
63
63
|
"@wangeditor-next/editor": "5.6.31",
|
|
64
64
|
"@wangeditor-next/editor-for-vue": "5.1.14",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/process-form/style.css';
|
|
2
2
|
import { withInstall as Nt } from "@das-fed/utils/with-install/index";
|
|
3
|
-
import { ref as u, nextTick as ve, defineComponent as Y, watch as T, createBlock as O, createCommentVNode as A, openBlock as M, unref as a, withCtx as
|
|
3
|
+
import { ref as u, nextTick as ve, defineComponent as Y, watch as T, createBlock as O, createCommentVNode as A, openBlock as M, unref as a, withCtx as $, createVNode as I, createElementVNode as Xe, createElementBlock as H, Fragment as le, createTextVNode as re, toDisplayString as ue, computed as Vt, isRef as Re, createSlots as Lt, h as Se, renderList as ke, resolveDynamicComponent as Le, onMounted as zt, withDirectives as Mt, normalizeStyle as It } from "vue";
|
|
4
4
|
import { DasFormRef as Tt, DasForm as We } from "@das-fed/ui/packages/components/form/index";
|
|
5
5
|
import { DasButton as Pt } from "@das-fed/ui/packages/components/button/index";
|
|
6
6
|
import { vOverlay as Rt } from "@das-fed/ui/packages/components/overlay/index";
|
|
@@ -13,7 +13,7 @@ import { DasImageViewer as et } from "@das-fed/ui/packages/components/image-view
|
|
|
13
13
|
import { DasInput as jt } from "@das-fed/ui/packages/components/input/index";
|
|
14
14
|
import { DasTooltip as Oe } from "@das-fed/ui/packages/components/tooltip/index";
|
|
15
15
|
import { i18n as B, t as k, setI18nRule as Kt } from "@das-fed/web/packages/i18n/index";
|
|
16
|
-
import { DasTableColumn as
|
|
16
|
+
import { DasTableColumn as K } from "@das-fed/ui/packages/components/table/index";
|
|
17
17
|
import { DasSearchForm as qt } from "@das-fed/ui/packages/components/search-form/index";
|
|
18
18
|
import { DasModelTableDialog as Et } from "@das-fed/ui/packages/business-components/model-table-dialog";
|
|
19
19
|
import { getProjectInfo as tt } from "@das-fed/utils/common-info";
|
|
@@ -34,53 +34,53 @@ const ea = Qt.get("/getBindRelationByDefKey"), ta = Ut.get("/getByAlias"), aa =
|
|
|
34
34
|
pageSize: ((t = s == null ? void 0 : s.data) == null ? void 0 : t.pageSize) || 20
|
|
35
35
|
}, s;
|
|
36
36
|
}), ca = Qe.get("/supplier"), ga = Qe.post("/classification/list/all"), ma = Yt.get("/receive-code"), it = Ht.post("/warehouse/account/device"), va = it, fa = Jt.post("/common/device-type/tree"), Fe = u(""), ha = (s, e, t) => {
|
|
37
|
-
const { setDetailData: l, getFormData: d, setFormData: o, formRule: m, showData: L, disabledData: n, encryptionData: r } = t, v = u([]), i = u([]), f = u([]), c = u(!1), D = Tt(), h = u([]), S = (
|
|
38
|
-
const [U,
|
|
37
|
+
const { setDetailData: l, getFormData: d, setFormData: o, formRule: m, showData: L, disabledData: n, encryptionData: r } = t, v = u([]), i = u([]), f = u([]), c = u(!1), D = Tt(), h = u([]), S = (F) => Object.keys(F).length === 0, g = async (F) => {
|
|
38
|
+
const [U, j] = await Zt({ formId: F }).run();
|
|
39
39
|
if (U) return;
|
|
40
|
-
const ee = JSON.parse(
|
|
40
|
+
const ee = JSON.parse(j.bos);
|
|
41
41
|
Fe.value = ee[0].alias, i.value.length && i.value.forEach((x) => {
|
|
42
|
-
x.formKey ===
|
|
42
|
+
x.formKey === j.formKey && o(j.formKey, Fe.value, x.id);
|
|
43
43
|
});
|
|
44
|
-
const [ie, pe] = await Gt({ formDefId:
|
|
45
|
-
await
|
|
44
|
+
const [ie, pe] = await Gt({ formDefId: j.defId }).run();
|
|
45
|
+
await C(), f.value = JSON.parse(pe.value.expand).list, f.value.forEach((x) => {
|
|
46
46
|
x.columns && x.columns[0].isOpen && h.value.push(x.key);
|
|
47
|
-
}), n.value = { ...n.value, ...s.disabledData }, i.value.length || o(
|
|
47
|
+
}), n.value = { ...n.value, ...s.disabledData }, i.value.length || o(j.formKey, Fe.value), setTimeout(() => {
|
|
48
48
|
L.value = { ...L.value, ...s.showData }, S(s.data) && (c.value = !0), S(s.data) || (l(s.data), s.flowKey && (v.value = s.data.button_list ? JSON.parse(s.data.button_list) : []), c.value = !0);
|
|
49
49
|
}, 50);
|
|
50
50
|
}, z = async () => {
|
|
51
|
-
var
|
|
51
|
+
var F;
|
|
52
52
|
if (s.formConfigurationId) {
|
|
53
|
-
const [U,
|
|
53
|
+
const [U, j] = await Xt({ id: s.formConfigurationId }).run();
|
|
54
54
|
if (U) return;
|
|
55
|
-
i.value =
|
|
55
|
+
i.value = j.reports, v.value = (F = j.reports[0]) == null ? void 0 : F.buttons.filter((ee) => !(s.isView && ee.event !== "LINK")), g(j.reports[0].formId);
|
|
56
56
|
}
|
|
57
57
|
if (s.flowKey) {
|
|
58
|
-
const [U,
|
|
58
|
+
const [U, j] = await ea({ flowKey: s.flowKey }).run();
|
|
59
59
|
if (U) return;
|
|
60
|
-
g(
|
|
60
|
+
g(j.pcForm.pcFormId);
|
|
61
61
|
}
|
|
62
|
-
},
|
|
63
|
-
var
|
|
62
|
+
}, C = async () => {
|
|
63
|
+
var j, ee, ie, pe;
|
|
64
64
|
if (!s.flowKey) return;
|
|
65
|
-
const [
|
|
65
|
+
const [F, U] = await Wt().run({
|
|
66
66
|
flowKey: s.flowKey,
|
|
67
67
|
needDisplayFileds: !1
|
|
68
68
|
});
|
|
69
|
-
r.value = ((pe = (ie = (ee = (
|
|
70
|
-
}, p = u({}),
|
|
71
|
-
const { key:
|
|
72
|
-
p.value[
|
|
73
|
-
}, N = async () => (f.value.forEach((
|
|
74
|
-
|
|
75
|
-
}), await ve(), new Promise((
|
|
76
|
-
let
|
|
69
|
+
r.value = ((pe = (ie = (ee = (j = U == null ? void 0 : U.value) == null ? void 0 : j.boDef) == null ? void 0 : ee.boEnt) == null ? void 0 : ie.attributeList) == null ? void 0 : pe.filter((x) => x.encryption == "phone")) || [];
|
|
70
|
+
}, p = u({}), _ = (F, U) => {
|
|
71
|
+
const { key: j } = U;
|
|
72
|
+
p.value[j] || (p.value[j] = F);
|
|
73
|
+
}, N = async () => (f.value.forEach((F) => {
|
|
74
|
+
F.columns && h.value.push(F.key);
|
|
75
|
+
}), await ve(), new Promise((F, U) => {
|
|
76
|
+
let j = !0;
|
|
77
77
|
for (const ee in p.value)
|
|
78
78
|
p.value[ee].validate((ie) => {
|
|
79
|
-
ie == !1 && (
|
|
79
|
+
ie == !1 && (j = !1);
|
|
80
80
|
});
|
|
81
81
|
setTimeout(() => {
|
|
82
|
-
|
|
83
|
-
result:
|
|
82
|
+
F({
|
|
83
|
+
result: j,
|
|
84
84
|
data: d()
|
|
85
85
|
});
|
|
86
86
|
}, 50);
|
|
@@ -93,14 +93,14 @@ const ea = Qt.get("/getBindRelationByDefKey"), ta = Ut.get("/getByAlias"), aa =
|
|
|
93
93
|
activityKeys: h,
|
|
94
94
|
getForm: g,
|
|
95
95
|
getBtnSet: z,
|
|
96
|
-
handleClick: async (
|
|
96
|
+
handleClick: async (F) => {
|
|
97
97
|
let { result: U } = await N();
|
|
98
|
-
U && (e("handleClick",
|
|
99
|
-
|
|
98
|
+
U && (e("handleClick", F, d()), F.event === "LINK" && i.value.forEach((j) => {
|
|
99
|
+
F.eventTarget === j.formKey && (v.value = j.buttons.filter((ee) => !(s.isView && ee.event !== "LINK")), c.value = !1, m.value = {}, g(j.formId));
|
|
100
100
|
}));
|
|
101
101
|
},
|
|
102
102
|
validateFormData: N,
|
|
103
|
-
getFormRef:
|
|
103
|
+
getFormRef: _
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
106
|
let ya = (s = 21) => {
|
|
@@ -176,7 +176,7 @@ const X = (s) => {
|
|
|
176
176
|
type: "custom",
|
|
177
177
|
helpMessage: v.value
|
|
178
178
|
}, {
|
|
179
|
-
default:
|
|
179
|
+
default: $(() => [
|
|
180
180
|
I(a($t), {
|
|
181
181
|
style: { width: "100%" },
|
|
182
182
|
modelValue: n.value,
|
|
@@ -227,22 +227,22 @@ const X = (s) => {
|
|
|
227
227
|
const g = u();
|
|
228
228
|
return e.setting.options.tip && (g.value = X(e.setting.options.tip)), n.value = o(e.setting.name) || n.value, n.value || d(e.setting.name, null), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), T(n, (z) => {
|
|
229
229
|
d(e.setting.name, z.toString());
|
|
230
|
-
}), (z,
|
|
230
|
+
}), (z, C) => r.value ? (M(), O(a(J), {
|
|
231
231
|
key: 0,
|
|
232
232
|
col: e.span,
|
|
233
233
|
prop: e.setting.name,
|
|
234
234
|
modelValue: n.value,
|
|
235
|
-
"onUpdate:modelValue":
|
|
235
|
+
"onUpdate:modelValue": C[1] || (C[1] = (p) => n.value = p),
|
|
236
236
|
label: z.setting.desc,
|
|
237
237
|
type: "custom",
|
|
238
238
|
helpMessage: g.value,
|
|
239
239
|
required: i.value,
|
|
240
240
|
disabled: a(v)
|
|
241
241
|
}, {
|
|
242
|
-
default:
|
|
242
|
+
default: $(() => [
|
|
243
243
|
I(a(Ft), {
|
|
244
244
|
modelValue: n.value,
|
|
245
|
-
"onUpdate:modelValue":
|
|
245
|
+
"onUpdate:modelValue": C[0] || (C[0] = (p) => n.value = p),
|
|
246
246
|
options: S.value,
|
|
247
247
|
isView: e.isView,
|
|
248
248
|
width: "100%",
|
|
@@ -418,16 +418,16 @@ const X = (s) => {
|
|
|
418
418
|
e.setting.options.customQuery.alias && we(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((p) => {
|
|
419
419
|
z.value = p;
|
|
420
420
|
});
|
|
421
|
-
const
|
|
422
|
-
return e.setting.options.tip && (
|
|
421
|
+
const C = u();
|
|
422
|
+
return e.setting.options.tip && (C.value = X(e.setting.options.tip)), r.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && o(e.setting.name) ? r.value = o(e.setting.name).split(",") : r.value = o(e.setting.name) || r.value, r.value || d(e.setting.name, null), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), T(r, (p) => {
|
|
423
423
|
d(e.setting.name, p.toString());
|
|
424
|
-
}), (p,
|
|
424
|
+
}), (p, _) => v.value ? (M(), O(a(J), {
|
|
425
425
|
key: 0,
|
|
426
426
|
col: e.span,
|
|
427
427
|
modelValue: r.value,
|
|
428
|
-
"onUpdate:modelValue":
|
|
428
|
+
"onUpdate:modelValue": _[0] || (_[0] = (N) => r.value = N),
|
|
429
429
|
keyword: D.value,
|
|
430
|
-
"onUpdate:keyword":
|
|
430
|
+
"onUpdate:keyword": _[1] || (_[1] = (N) => D.value = N),
|
|
431
431
|
label: p.setting.desc,
|
|
432
432
|
type: "treeSelect",
|
|
433
433
|
"node-key": p.setting.options.customQuery.valueBind,
|
|
@@ -438,7 +438,7 @@ const X = (s) => {
|
|
|
438
438
|
selectAttrs: { allowClear: !0 },
|
|
439
439
|
options: z.value,
|
|
440
440
|
isView: e.isView,
|
|
441
|
-
helpMessage:
|
|
441
|
+
helpMessage: C.value,
|
|
442
442
|
disabled: a(f),
|
|
443
443
|
props: { label: a(S), value: a(h), children: a(g) },
|
|
444
444
|
"check-strictly": !p.setting.options.cascade,
|
|
@@ -508,7 +508,7 @@ const X = (s) => {
|
|
|
508
508
|
required: i.value,
|
|
509
509
|
col: e.span
|
|
510
510
|
}, {
|
|
511
|
-
default:
|
|
511
|
+
default: $(() => [
|
|
512
512
|
Xe("div", za, [
|
|
513
513
|
I(a(et), {
|
|
514
514
|
modelValue: n.value,
|
|
@@ -645,35 +645,35 @@ const Fa = (s, e) => {
|
|
|
645
645
|
col: e.span,
|
|
646
646
|
prop: e.setting.name,
|
|
647
647
|
modelValue: f.value,
|
|
648
|
-
"onUpdate:modelValue": z[1] || (z[1] = (
|
|
648
|
+
"onUpdate:modelValue": z[1] || (z[1] = (C) => f.value = C),
|
|
649
649
|
label: g.setting.desc,
|
|
650
650
|
type: "custom",
|
|
651
651
|
helpMessage: S.value,
|
|
652
652
|
required: h.value
|
|
653
653
|
}, {
|
|
654
|
-
default:
|
|
654
|
+
default: $(() => [
|
|
655
655
|
I(a(Oe), {
|
|
656
656
|
placement: "top",
|
|
657
657
|
disabled: !f.value,
|
|
658
658
|
content: f.value
|
|
659
659
|
}, {
|
|
660
|
-
default:
|
|
660
|
+
default: $(() => [
|
|
661
661
|
I(a(jt), {
|
|
662
662
|
modelValue: v.value,
|
|
663
|
-
"onUpdate:modelValue": z[0] || (z[0] = (
|
|
663
|
+
"onUpdate:modelValue": z[0] || (z[0] = (C) => v.value = C),
|
|
664
664
|
width: g.setting.options.width,
|
|
665
665
|
disabled: g.setting.options.isInputEdit || a(D),
|
|
666
666
|
isView: g.setting.options.isReadonly || e.isView,
|
|
667
667
|
placeholder: g.setting.options.placeholder
|
|
668
668
|
}, {
|
|
669
|
-
prepend:
|
|
669
|
+
prepend: $(() => [
|
|
670
670
|
re(
|
|
671
671
|
ue(g.setting.options.bindPreAndSufFixjson.preFix),
|
|
672
672
|
1
|
|
673
673
|
/* TEXT */
|
|
674
674
|
)
|
|
675
675
|
]),
|
|
676
|
-
append:
|
|
676
|
+
append: $(() => [
|
|
677
677
|
re(
|
|
678
678
|
ue(g.setting.options.bindPreAndSufFixjson.sufSix),
|
|
679
679
|
1
|
|
@@ -695,7 +695,7 @@ const Fa = (s, e) => {
|
|
|
695
695
|
key: 1,
|
|
696
696
|
col: e.span,
|
|
697
697
|
modelValue: f.value,
|
|
698
|
-
"onUpdate:modelValue": z[2] || (z[2] = (
|
|
698
|
+
"onUpdate:modelValue": z[2] || (z[2] = (C) => f.value = C),
|
|
699
699
|
width: g.setting.options.width,
|
|
700
700
|
disabled: g.setting.options.isInputEdit || a(D),
|
|
701
701
|
isView: g.setting.options.isReadonly || e.isView,
|
|
@@ -706,7 +706,7 @@ const Fa = (s, e) => {
|
|
|
706
706
|
required: h.value,
|
|
707
707
|
placeholder: g.setting.options.placeholder
|
|
708
708
|
}, {
|
|
709
|
-
default:
|
|
709
|
+
default: $(() => [
|
|
710
710
|
A(` <DasInput\r
|
|
711
711
|
v-model="inputValue"\r
|
|
712
712
|
>\r
|
|
@@ -837,7 +837,7 @@ const Fa = (s, e) => {
|
|
|
837
837
|
onChange: S,
|
|
838
838
|
col: e.span,
|
|
839
839
|
modelValue: n.value,
|
|
840
|
-
"onUpdate:modelValue": z[0] || (z[0] = (
|
|
840
|
+
"onUpdate:modelValue": z[0] || (z[0] = (C) => n.value = C),
|
|
841
841
|
layout: g.setting.options.inline ? "vertical" : "default",
|
|
842
842
|
label: g.setting.desc,
|
|
843
843
|
type: "radio",
|
|
@@ -873,7 +873,7 @@ const Fa = (s, e) => {
|
|
|
873
873
|
store: {}
|
|
874
874
|
},
|
|
875
875
|
setup(s) {
|
|
876
|
-
var z,
|
|
876
|
+
var z, C;
|
|
877
877
|
const e = s, { showData: t, disabledData: l, linkData: d, setData: o, getData: m, setFormRule: L, deleteRule: n } = e.store || {}, r = u(), v = u(!0);
|
|
878
878
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), T(
|
|
879
879
|
() => t.value,
|
|
@@ -887,17 +887,17 @@ const Fa = (s, e) => {
|
|
|
887
887
|
d.value.data.forEach((p) => {
|
|
888
888
|
if (e.setting.options.customQuery.alias && e.setting.options.customQuery.alias === p.alias) {
|
|
889
889
|
r.value = null;
|
|
890
|
-
const
|
|
890
|
+
const _ = p.conditionfield.filter((q) => q.defaultType == 1);
|
|
891
891
|
let N = {};
|
|
892
|
-
|
|
893
|
-
const
|
|
894
|
-
N[
|
|
892
|
+
_.forEach((q) => {
|
|
893
|
+
const F = q.fieldPath.split("."), U = F[F.length - 1];
|
|
894
|
+
N[q.field] = m(U);
|
|
895
895
|
}), we(
|
|
896
896
|
e.setting.options.customQuery.alias,
|
|
897
897
|
e.setting.options.customQuery.conditionfield,
|
|
898
898
|
N
|
|
899
|
-
).then((
|
|
900
|
-
h.value =
|
|
899
|
+
).then((q) => {
|
|
900
|
+
h.value = q;
|
|
901
901
|
});
|
|
902
902
|
}
|
|
903
903
|
});
|
|
@@ -910,17 +910,17 @@ const Fa = (s, e) => {
|
|
|
910
910
|
});
|
|
911
911
|
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", h = u([]);
|
|
912
912
|
if (e.setting.options.customQuery.alias) {
|
|
913
|
-
let p = (
|
|
913
|
+
let p = (C = (z = e.setting.options) == null ? void 0 : z.customQuery) == null ? void 0 : C.conditionfield;
|
|
914
914
|
typeof p == "string" && (p = JSON.parse(p));
|
|
915
|
-
const
|
|
915
|
+
const _ = p.filter((q) => q.defaultType == 1);
|
|
916
916
|
let N = {};
|
|
917
|
-
|
|
918
|
-
var
|
|
919
|
-
const
|
|
920
|
-
N[
|
|
921
|
-
}), Object.values(N).every((
|
|
922
|
-
(
|
|
923
|
-
h.value =
|
|
917
|
+
_.forEach((q) => {
|
|
918
|
+
var j;
|
|
919
|
+
const F = (j = q.fieldPath) == null ? void 0 : j.split("."), U = F[F.length - 1];
|
|
920
|
+
N[q.field] = m(U);
|
|
921
|
+
}), Object.values(N).every((q) => q) && we(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield, N).then(
|
|
922
|
+
(q) => {
|
|
923
|
+
h.value = q;
|
|
924
924
|
}
|
|
925
925
|
);
|
|
926
926
|
} else
|
|
@@ -932,18 +932,18 @@ const Fa = (s, e) => {
|
|
|
932
932
|
e.setting.options.multiple ? o(e.setting.name, p.toString()) : o(e.setting.name, p);
|
|
933
933
|
});
|
|
934
934
|
const g = (p) => {
|
|
935
|
-
e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((
|
|
936
|
-
if (
|
|
937
|
-
const
|
|
938
|
-
t.value[
|
|
935
|
+
e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((_) => {
|
|
936
|
+
if (_.value === p) {
|
|
937
|
+
const q = _.effect[0].target.split(".")[2];
|
|
938
|
+
t.value[q] = _.effect[0].type === "w";
|
|
939
939
|
}
|
|
940
940
|
});
|
|
941
941
|
};
|
|
942
|
-
return (p,
|
|
942
|
+
return (p, _) => v.value ? (M(), O(a(J), {
|
|
943
943
|
key: 0,
|
|
944
944
|
col: e.span,
|
|
945
945
|
modelValue: r.value,
|
|
946
|
-
"onUpdate:modelValue":
|
|
946
|
+
"onUpdate:modelValue": _[0] || (_[0] = (N) => r.value = N),
|
|
947
947
|
label: p.setting.desc,
|
|
948
948
|
onChange: g,
|
|
949
949
|
type: "select",
|
|
@@ -1015,9 +1015,9 @@ const Fa = (s, e) => {
|
|
|
1015
1015
|
post: $e,
|
|
1016
1016
|
supplier: ca,
|
|
1017
1017
|
device: va
|
|
1018
|
-
}, z = f[o],
|
|
1018
|
+
}, z = f[o], C = u({}), p = u([]), _ = () => {
|
|
1019
1019
|
var V, Q;
|
|
1020
|
-
o === "supplier" ? (
|
|
1020
|
+
o === "supplier" ? (C.value = {
|
|
1021
1021
|
left: !1,
|
|
1022
1022
|
content: {
|
|
1023
1023
|
api: da,
|
|
@@ -1045,7 +1045,7 @@ const Fa = (s, e) => {
|
|
|
1045
1045
|
}
|
|
1046
1046
|
},
|
|
1047
1047
|
right: !1
|
|
1048
|
-
}, ee(),
|
|
1048
|
+
}, ee(), q()) : o === "device" ? (C.value = {
|
|
1049
1049
|
left: !1,
|
|
1050
1050
|
content: {
|
|
1051
1051
|
multiple: !1,
|
|
@@ -1064,7 +1064,7 @@ const Fa = (s, e) => {
|
|
|
1064
1064
|
}
|
|
1065
1065
|
},
|
|
1066
1066
|
right: !1
|
|
1067
|
-
},
|
|
1067
|
+
}, j(), pe()) : o === "source" ? (C.value = {
|
|
1068
1068
|
left: !1,
|
|
1069
1069
|
content: {
|
|
1070
1070
|
api: ma,
|
|
@@ -1082,7 +1082,7 @@ const Fa = (s, e) => {
|
|
|
1082
1082
|
}
|
|
1083
1083
|
},
|
|
1084
1084
|
right: !1
|
|
1085
|
-
}, N()) : o === "org" ? (
|
|
1085
|
+
}, N()) : o === "org" ? (C.value = {
|
|
1086
1086
|
left: !1,
|
|
1087
1087
|
content: {
|
|
1088
1088
|
api: ia,
|
|
@@ -1093,7 +1093,7 @@ const Fa = (s, e) => {
|
|
|
1093
1093
|
data: []
|
|
1094
1094
|
}
|
|
1095
1095
|
}
|
|
1096
|
-
}, N()) :
|
|
1096
|
+
}, N()) : C.value = {
|
|
1097
1097
|
left: {
|
|
1098
1098
|
api: aa,
|
|
1099
1099
|
params: {
|
|
@@ -1111,7 +1111,7 @@ const Fa = (s, e) => {
|
|
|
1111
1111
|
data: []
|
|
1112
1112
|
}
|
|
1113
1113
|
}
|
|
1114
|
-
}, o === "user" && (
|
|
1114
|
+
}, o === "user" && (C.value.content = {
|
|
1115
1115
|
api: na,
|
|
1116
1116
|
searchKey: "groupId",
|
|
1117
1117
|
params: {
|
|
@@ -1121,7 +1121,7 @@ const Fa = (s, e) => {
|
|
|
1121
1121
|
selectListProps: {
|
|
1122
1122
|
data: []
|
|
1123
1123
|
}
|
|
1124
|
-
}, N()), o === "role" && (
|
|
1124
|
+
}, N()), o === "role" && (C.value.content = {
|
|
1125
1125
|
api: oa,
|
|
1126
1126
|
searchKey: "orgId",
|
|
1127
1127
|
params: {
|
|
@@ -1130,7 +1130,7 @@ const Fa = (s, e) => {
|
|
|
1130
1130
|
selectListProps: {
|
|
1131
1131
|
data: []
|
|
1132
1132
|
}
|
|
1133
|
-
}, N()), o === "job" && (
|
|
1133
|
+
}, N()), o === "job" && (C.value.content = {
|
|
1134
1134
|
api: ua,
|
|
1135
1135
|
searchKey: "groupId",
|
|
1136
1136
|
props: {
|
|
@@ -1139,7 +1139,7 @@ const Fa = (s, e) => {
|
|
|
1139
1139
|
selectListProps: {
|
|
1140
1140
|
data: []
|
|
1141
1141
|
}
|
|
1142
|
-
}, N()), o === "post" && (
|
|
1142
|
+
}, N()), o === "post" && (C.value.content = {
|
|
1143
1143
|
api: ra,
|
|
1144
1144
|
searchKey: "groupId",
|
|
1145
1145
|
props: {
|
|
@@ -1148,7 +1148,7 @@ const Fa = (s, e) => {
|
|
|
1148
1148
|
selectListProps: {
|
|
1149
1149
|
data: []
|
|
1150
1150
|
}
|
|
1151
|
-
}, N()),
|
|
1151
|
+
}, N()), C.value.content.multiple = o === "supplier" || o === "source" || o === "device" ? !1 : !((Q = (V = s == null ? void 0 : s.options) == null ? void 0 : V.selector) != null && Q.isSingle);
|
|
1152
1152
|
}, N = async () => {
|
|
1153
1153
|
p.value = [
|
|
1154
1154
|
{
|
|
@@ -1163,7 +1163,7 @@ const Fa = (s, e) => {
|
|
|
1163
1163
|
size: "small"
|
|
1164
1164
|
}
|
|
1165
1165
|
];
|
|
1166
|
-
},
|
|
1166
|
+
}, q = async () => {
|
|
1167
1167
|
p.value = [
|
|
1168
1168
|
{
|
|
1169
1169
|
type: "searchInput",
|
|
@@ -1190,16 +1190,16 @@ const Fa = (s, e) => {
|
|
|
1190
1190
|
allowClear: !0
|
|
1191
1191
|
}
|
|
1192
1192
|
];
|
|
1193
|
-
},
|
|
1193
|
+
}, F = (V) => {
|
|
1194
1194
|
V.id == "-1" ? V.disabled = !0 : V.disabled = !1;
|
|
1195
1195
|
}, U = async (V) => {
|
|
1196
1196
|
let Q = { spaceId: "" };
|
|
1197
1197
|
V != null && V.id && (Q.spaceId = V.id);
|
|
1198
|
-
const [y,
|
|
1199
|
-
return y ? {} : (
|
|
1200
|
-
|
|
1201
|
-
}),
|
|
1202
|
-
},
|
|
1198
|
+
const [y, P] = await lt(Q).run();
|
|
1199
|
+
return y ? {} : (P.data.forEach((R) => {
|
|
1200
|
+
F(R);
|
|
1201
|
+
}), P);
|
|
1202
|
+
}, j = async () => {
|
|
1203
1203
|
p.value = [
|
|
1204
1204
|
{
|
|
1205
1205
|
type: "searchInput",
|
|
@@ -1255,19 +1255,19 @@ const Fa = (s, e) => {
|
|
|
1255
1255
|
var Q;
|
|
1256
1256
|
L.value = "", d.value = !0;
|
|
1257
1257
|
let V = c[o];
|
|
1258
|
-
|
|
1258
|
+
C.value.content.selectListProps.data = (Q = m == null ? void 0 : m.value) == null ? void 0 : Q.map((y) => o === "device" ? { deviceName: y == null ? void 0 : y.label, [V]: y == null ? void 0 : y.value } : { name: y == null ? void 0 : y.label, [V]: y == null ? void 0 : y.value });
|
|
1259
1259
|
};
|
|
1260
|
-
|
|
1260
|
+
_();
|
|
1261
1261
|
const fe = async () => {
|
|
1262
|
-
var V, Q, y, R,
|
|
1263
|
-
if (
|
|
1264
|
-
...(Q = (V =
|
|
1262
|
+
var V, Q, y, P, R, b, w, E, Z, be, de, se, te, W, ce, ge, oe, Ye, Je, He;
|
|
1263
|
+
if (C.value.content.params = {
|
|
1264
|
+
...(Q = (V = C == null ? void 0 : C.value) == null ? void 0 : V.content) == null ? void 0 : Q.params,
|
|
1265
1265
|
pageIndex: 1
|
|
1266
|
-
}, (o === "user" || o === "org" || o === "post" || o === "role" || o === "job") && (
|
|
1267
|
-
const Pe = (
|
|
1268
|
-
|
|
1266
|
+
}, (o === "user" || o === "org" || o === "post" || o === "role" || o === "job") && (C.value.content.params.name = (y = p == null ? void 0 : p.value[0]) == null ? void 0 : y.value), o === "source" && (C.value.content.params.key = (P = p == null ? void 0 : p.value[0]) == null ? void 0 : P.value), o === "device") {
|
|
1267
|
+
const Pe = (R = p == null ? void 0 : p.value[1]) == null ? void 0 : R.value;
|
|
1268
|
+
C.value.content.params.deviceNameOrCode = ((b = p == null ? void 0 : p.value[0]) == null ? void 0 : b.value) || "", C.value.content.params.groupId = !Pe || Pe === "-1" ? null : Pe, C.value.content.params.spaceId = ((w = p == null ? void 0 : p.value[2]) == null ? void 0 : w.value) || "";
|
|
1269
1269
|
}
|
|
1270
|
-
o === "supplier" && (
|
|
1270
|
+
o === "supplier" && (C.value.content.params.querys = [
|
|
1271
1271
|
{
|
|
1272
1272
|
property: "orgId",
|
|
1273
1273
|
value: l,
|
|
@@ -1275,7 +1275,7 @@ const Fa = (s, e) => {
|
|
|
1275
1275
|
relation: "AND",
|
|
1276
1276
|
operation: "EQUAL"
|
|
1277
1277
|
}
|
|
1278
|
-
], (E = p == null ? void 0 : p.value[0]) != null && E.value && (
|
|
1278
|
+
], (E = p == null ? void 0 : p.value[0]) != null && E.value && (C.value.content.params.querys = (W = (de = (be = (Z = C == null ? void 0 : C.value) == null ? void 0 : Z.content) == null ? void 0 : be.params) == null ? void 0 : de.querys) == null ? void 0 : W.concat([
|
|
1279
1279
|
{
|
|
1280
1280
|
property: "name",
|
|
1281
1281
|
value: (se = p == null ? void 0 : p.value[0]) == null ? void 0 : se.value,
|
|
@@ -1290,7 +1290,7 @@ const Fa = (s, e) => {
|
|
|
1290
1290
|
relation: "OR",
|
|
1291
1291
|
operation: "LIKE"
|
|
1292
1292
|
}
|
|
1293
|
-
])), (ce = p == null ? void 0 : p.value[1]) != null && ce.value && (
|
|
1293
|
+
])), (ce = p == null ? void 0 : p.value[1]) != null && ce.value && (C.value.content.params.querys = (He = (Ye = (oe = (ge = C == null ? void 0 : C.value) == null ? void 0 : ge.content) == null ? void 0 : oe.params) == null ? void 0 : Ye.querys) == null ? void 0 : He.concat([
|
|
1294
1294
|
{
|
|
1295
1295
|
property: "classificationId",
|
|
1296
1296
|
value: (Je = p == null ? void 0 : p.value[1]) == null ? void 0 : Je.value,
|
|
@@ -1307,7 +1307,7 @@ const Fa = (s, e) => {
|
|
|
1307
1307
|
}
|
|
1308
1308
|
);
|
|
1309
1309
|
const _e = async () => {
|
|
1310
|
-
o === "supplier" ? (p.value[0].value = "", p.value[1].value = void 0) : o === "device" ? (p.value[0].value = "", p.value[1].value = "-1", p.value[2].value = "") : (o === "org" || o === "user" || o === "source" || o === "post" || o === "role" || o === "job") && (p.value[0].value = ""),
|
|
1310
|
+
o === "supplier" ? (p.value[0].value = "", p.value[1].value = void 0) : o === "device" ? (p.value[0].value = "", p.value[1].value = "-1", p.value[2].value = "") : (o === "org" || o === "user" || o === "source" || o === "post" || o === "role" || o === "job") && (p.value[0].value = ""), _();
|
|
1311
1311
|
};
|
|
1312
1312
|
return {
|
|
1313
1313
|
dialogVisible: d,
|
|
@@ -1315,16 +1315,16 @@ const Fa = (s, e) => {
|
|
|
1315
1315
|
searchName: L,
|
|
1316
1316
|
selectorType: o,
|
|
1317
1317
|
selectOptions: m,
|
|
1318
|
-
tableOptions:
|
|
1318
|
+
tableOptions: C,
|
|
1319
1319
|
userStatusMap: D,
|
|
1320
1320
|
roleTypeMap: h,
|
|
1321
1321
|
roleStatusMap: S,
|
|
1322
1322
|
openDialog: x,
|
|
1323
1323
|
confirm: async (V) => {
|
|
1324
|
-
var y, R,
|
|
1324
|
+
var y, P, R, b;
|
|
1325
1325
|
let Q = c[o];
|
|
1326
|
-
m.value = V == null ? void 0 : V.map((w) => ({ label: (w == null ? void 0 : w.deviceName) || (w == null ? void 0 : w.name) || (w == null ? void 0 : w.code), value: w[Q] })), o === "supplier" && (n.value = (y = V[0]) == null ? void 0 : y.linkmanPhone), o === "device" && (r.value = ((
|
|
1327
|
-
spaceId: (
|
|
1326
|
+
m.value = V == null ? void 0 : V.map((w) => ({ label: (w == null ? void 0 : w.deviceName) || (w == null ? void 0 : w.name) || (w == null ? void 0 : w.code), value: w[Q] })), o === "supplier" && (n.value = (y = V[0]) == null ? void 0 : y.linkmanPhone), o === "device" && (r.value = ((P = V[0]) == null ? void 0 : P.id) || "", v.value = {
|
|
1327
|
+
spaceId: (R = V[0]) == null ? void 0 : R.spaceId,
|
|
1328
1328
|
spacePath: "",
|
|
1329
1329
|
spacePathName: ((b = V[0]) == null ? void 0 : b.spaceSite) || ""
|
|
1330
1330
|
});
|
|
@@ -1333,7 +1333,7 @@ const Fa = (s, e) => {
|
|
|
1333
1333
|
if (!V) return;
|
|
1334
1334
|
const Q = g[o];
|
|
1335
1335
|
let y = {};
|
|
1336
|
-
const
|
|
1336
|
+
const P = V == null ? void 0 : V.split(",");
|
|
1337
1337
|
if (o === "source") {
|
|
1338
1338
|
m.value = [
|
|
1339
1339
|
{
|
|
@@ -1342,13 +1342,13 @@ const Fa = (s, e) => {
|
|
|
1342
1342
|
}
|
|
1343
1343
|
];
|
|
1344
1344
|
return;
|
|
1345
|
-
} else o === "user" ? y.userIds =
|
|
1345
|
+
} else o === "user" ? y.userIds = P : o === "role" ? y.ids = P : o === "supplier" ? y.id = P : o === "device" ? y = {
|
|
1346
1346
|
deviceNameOrCode: V,
|
|
1347
1347
|
groupId: null,
|
|
1348
1348
|
spaceId: ""
|
|
1349
|
-
} : y =
|
|
1350
|
-
const [
|
|
1351
|
-
if (
|
|
1349
|
+
} : y = P;
|
|
1350
|
+
const [R, b] = await Q(y).run();
|
|
1351
|
+
if (!R)
|
|
1352
1352
|
if (o === "supplier")
|
|
1353
1353
|
m.value = [
|
|
1354
1354
|
{
|
|
@@ -1439,8 +1439,8 @@ const Fa = (s, e) => {
|
|
|
1439
1439
|
setup(s) {
|
|
1440
1440
|
var De, V, Q;
|
|
1441
1441
|
const e = s, t = Vt(() => {
|
|
1442
|
-
var y, R,
|
|
1443
|
-
return e.isView ? !(((y = m(e.setting.name)) == null ? void 0 : y.split(",").length) > 1) : ((b = (
|
|
1442
|
+
var y, P, R, b;
|
|
1443
|
+
return e.isView ? !(((y = m(e.setting.name)) == null ? void 0 : y.split(",").length) > 1) : ((b = (R = (P = e == null ? void 0 : e.setting) == null ? void 0 : P.options) == null ? void 0 : R.selector) == null ? void 0 : b.isSingle) ?? !0;
|
|
1444
1444
|
}), { data: l, showData: d, setData: o, getData: m, flowKey: L, setFormRule: n, deleteRule: r, disabledData: v } = e.store || {}, i = u(""), f = u(!0);
|
|
1445
1445
|
!d.value[e.setting.name] && d.value[e.setting.name] != !1 && (d.value[e.setting.name] = !0), T(
|
|
1446
1446
|
() => d.value,
|
|
@@ -1455,14 +1455,14 @@ const Fa = (s, e) => {
|
|
|
1455
1455
|
tableOptions: S,
|
|
1456
1456
|
selectorType: g,
|
|
1457
1457
|
selectOptions: z,
|
|
1458
|
-
userStatusMap:
|
|
1458
|
+
userStatusMap: C,
|
|
1459
1459
|
roleTypeMap: p,
|
|
1460
|
-
roleStatusMap:
|
|
1460
|
+
roleStatusMap: _,
|
|
1461
1461
|
openDialog: N,
|
|
1462
|
-
confirm:
|
|
1463
|
-
getDetail:
|
|
1462
|
+
confirm: q,
|
|
1463
|
+
getDetail: F,
|
|
1464
1464
|
searchData: U,
|
|
1465
|
-
searchOptions:
|
|
1465
|
+
searchOptions: j,
|
|
1466
1466
|
linkmanPhone: ee,
|
|
1467
1467
|
equipmentArchivesId: ie,
|
|
1468
1468
|
deviceSpaceInfo: pe
|
|
@@ -1475,9 +1475,9 @@ const Fa = (s, e) => {
|
|
|
1475
1475
|
const ye = u();
|
|
1476
1476
|
if (e.setting.options.tip && (ye.value = X(e.setting.options.tip)), e.setting.options.validateList.length && n(e.setting.name, e.setting.options.validateList), g == "position") {
|
|
1477
1477
|
let y = !1;
|
|
1478
|
-
const
|
|
1478
|
+
const P = async (w, E) => {
|
|
1479
1479
|
!w || String(w).includes("/") || !String(E || "").includes("/") || await Ce(String(w));
|
|
1480
|
-
},
|
|
1480
|
+
}, R = async (w, E) => {
|
|
1481
1481
|
if (!(w != null && w.length)) return;
|
|
1482
1482
|
const Z = String(E || "").split(",");
|
|
1483
1483
|
if (!w.some((te, W) => te && !String(te).includes("/") && String(Z[W] || "").includes("/"))) return;
|
|
@@ -1497,7 +1497,7 @@ const Fa = (s, e) => {
|
|
|
1497
1497
|
x.value = w, i.value = w ? String(w).split("/").pop() : i.value, (async () => {
|
|
1498
1498
|
y = !0;
|
|
1499
1499
|
try {
|
|
1500
|
-
await
|
|
1500
|
+
await P(String(w || ""), E);
|
|
1501
1501
|
} finally {
|
|
1502
1502
|
await ve(), y = !1;
|
|
1503
1503
|
}
|
|
@@ -1507,7 +1507,7 @@ const Fa = (s, e) => {
|
|
|
1507
1507
|
x.value = [...w], i.value = w.map((Z) => Z == null ? void 0 : Z.split("/").pop()), (async () => {
|
|
1508
1508
|
y = !0;
|
|
1509
1509
|
try {
|
|
1510
|
-
await
|
|
1510
|
+
await R(w, E);
|
|
1511
1511
|
} finally {
|
|
1512
1512
|
await ve(), y = !1;
|
|
1513
1513
|
}
|
|
@@ -1533,7 +1533,7 @@ const Fa = (s, e) => {
|
|
|
1533
1533
|
}
|
|
1534
1534
|
if (!t.value) {
|
|
1535
1535
|
const W = String(w).split(","), ce = b ? (Z = l == null ? void 0 : l.value) == null ? void 0 : Z[b] : "";
|
|
1536
|
-
x.value = W, await ve(), i.value = W.map((ge) => ge == null ? void 0 : ge.split("/").pop()), await
|
|
1536
|
+
x.value = W, await ve(), i.value = W.map((ge) => ge == null ? void 0 : ge.split("/").pop()), await R(W, ce);
|
|
1537
1537
|
return;
|
|
1538
1538
|
}
|
|
1539
1539
|
let se = String(w), te = se.split("/").pop();
|
|
@@ -1550,37 +1550,37 @@ const Fa = (s, e) => {
|
|
|
1550
1550
|
}
|
|
1551
1551
|
}
|
|
1552
1552
|
);
|
|
1553
|
-
} else g == "supplier" ? (i.value = m(e.setting.name) ? [m(e.setting.name)] : [i.value], i.value &&
|
|
1553
|
+
} else g == "supplier" ? (i.value = m(e.setting.name) ? [m(e.setting.name)] : [i.value], i.value && F(m(e.setting.name)), T(i, (y) => {
|
|
1554
1554
|
o(e.setting.name, y == null ? void 0 : y.toString());
|
|
1555
1555
|
}), T(ee, (y) => {
|
|
1556
|
-
var R,
|
|
1557
|
-
((w = (b = (
|
|
1558
|
-
})) : g == "device" ? (i.value = m(e.setting.name) ? m(e.setting.name) : i.value, i.value &&
|
|
1556
|
+
var P, R, b, w;
|
|
1557
|
+
((w = (b = (R = (P = e == null ? void 0 : e.setting) == null ? void 0 : P.options) == null ? void 0 : R.selector) == null ? void 0 : b.type) == null ? void 0 : w.supplierPhone) !== void 0 && o(e.setting.options.selector.type.supplierPhone, y);
|
|
1558
|
+
})) : g == "device" ? (i.value = m(e.setting.name) ? m(e.setting.name) : i.value, i.value && F(i.value), i.value.length || o(e.setting.name, null), pe.value = {
|
|
1559
1559
|
spaceId: m("wzid") || "",
|
|
1560
1560
|
spacePath: "",
|
|
1561
1561
|
spacePathName: m("wzmc") || ""
|
|
1562
1562
|
}, T(z, (y) => {
|
|
1563
|
-
i.value = y.map((
|
|
1563
|
+
i.value = y.map((P) => P.value).toString(), o(e.setting.name, i.value);
|
|
1564
1564
|
}), T(ie, (y) => {
|
|
1565
1565
|
o("equipment_archives_id", y || null);
|
|
1566
1566
|
}), T(
|
|
1567
1567
|
pe,
|
|
1568
1568
|
async (y) => {
|
|
1569
1569
|
if (!(y != null && y.spaceId)) return;
|
|
1570
|
-
const [
|
|
1571
|
-
if (
|
|
1570
|
+
const [P, R] = await Be().run({ spaceId: y.spaceId });
|
|
1571
|
+
if (P) {
|
|
1572
1572
|
o("wzid", y.spaceId), o("wzmc", y.spacePathName || "");
|
|
1573
1573
|
return;
|
|
1574
1574
|
}
|
|
1575
|
-
o("wzid", (
|
|
1575
|
+
o("wzid", (R == null ? void 0 : R.path) || y.spaceId), o("wzmc", (R == null ? void 0 : R.pathName) || y.spacePathName || "");
|
|
1576
1576
|
},
|
|
1577
1577
|
{
|
|
1578
1578
|
deep: !0
|
|
1579
1579
|
}
|
|
1580
|
-
)) : (i.value = m(e.setting.name) ? m(e.setting.name) : i.value, i.value &&
|
|
1581
|
-
i.value = y.map((
|
|
1580
|
+
)) : (i.value = m(e.setting.name) ? m(e.setting.name) : i.value, i.value && F(i.value), i.value.length || o(e.setting.name, null), T(z, (y) => {
|
|
1581
|
+
i.value = y.map((P) => P.value).toString(), o(e.setting.name, i.value);
|
|
1582
1582
|
}));
|
|
1583
|
-
return (y,
|
|
1583
|
+
return (y, P) => (M(), H(
|
|
1584
1584
|
le,
|
|
1585
1585
|
null,
|
|
1586
1586
|
[
|
|
@@ -1588,7 +1588,7 @@ const Fa = (s, e) => {
|
|
|
1588
1588
|
key: 0,
|
|
1589
1589
|
col: e.span,
|
|
1590
1590
|
modelValue: i.value,
|
|
1591
|
-
"onUpdate:modelValue":
|
|
1591
|
+
"onUpdate:modelValue": P[1] || (P[1] = (R) => i.value = R),
|
|
1592
1592
|
prop: e.setting.name,
|
|
1593
1593
|
label: y.setting.desc,
|
|
1594
1594
|
type: "inputDialogSelect",
|
|
@@ -1600,28 +1600,28 @@ const Fa = (s, e) => {
|
|
|
1600
1600
|
placeholder: y.setting.options.placeholder || a(k)("请选择"),
|
|
1601
1601
|
onOpenDialog: a(N)
|
|
1602
1602
|
}, {
|
|
1603
|
-
default:
|
|
1604
|
-
var
|
|
1603
|
+
default: $(() => {
|
|
1604
|
+
var R;
|
|
1605
1605
|
return [
|
|
1606
1606
|
I(a(Et), {
|
|
1607
1607
|
"append-to-body": "",
|
|
1608
1608
|
modelValue: a(D),
|
|
1609
|
-
"onUpdate:modelValue":
|
|
1609
|
+
"onUpdate:modelValue": P[0] || (P[0] = (b) => Re(D) ? D.value = b : null),
|
|
1610
1610
|
options: a(S),
|
|
1611
|
-
onConfirm: a(
|
|
1611
|
+
onConfirm: a(q),
|
|
1612
1612
|
title: a(h),
|
|
1613
1613
|
"body-style": { padding: "0px" }
|
|
1614
1614
|
}, Lt({
|
|
1615
1615
|
_: 2
|
|
1616
1616
|
/* DYNAMIC */
|
|
1617
1617
|
}, [
|
|
1618
|
-
((
|
|
1618
|
+
((R = a(j)) == null ? void 0 : R.length) > 0 ? {
|
|
1619
1619
|
name: "table-header-search",
|
|
1620
|
-
fn:
|
|
1620
|
+
fn: $(() => [
|
|
1621
1621
|
Xe("div", Ya, [
|
|
1622
1622
|
I(a(qt), {
|
|
1623
1623
|
labelLength: "6",
|
|
1624
|
-
options: a(
|
|
1624
|
+
options: a(j),
|
|
1625
1625
|
onConfirm: a(U),
|
|
1626
1626
|
"is-margin-right": !1,
|
|
1627
1627
|
isExpandAtFocus: a(g) !== "device"
|
|
@@ -1632,26 +1632,26 @@ const Fa = (s, e) => {
|
|
|
1632
1632
|
} : void 0,
|
|
1633
1633
|
a(g) === "user" ? {
|
|
1634
1634
|
name: "table-column",
|
|
1635
|
-
fn:
|
|
1636
|
-
I(a(
|
|
1635
|
+
fn: $(() => [
|
|
1636
|
+
I(a(K), {
|
|
1637
1637
|
label: a(k)("姓名"),
|
|
1638
1638
|
prop: "name"
|
|
1639
1639
|
}, null, 8, ["label"]),
|
|
1640
|
-
I(a(
|
|
1640
|
+
I(a(K), {
|
|
1641
1641
|
label: a(k)("账号"),
|
|
1642
1642
|
prop: "userName"
|
|
1643
1643
|
}, null, 8, ["label"]),
|
|
1644
|
-
I(a(
|
|
1644
|
+
I(a(K), {
|
|
1645
1645
|
label: a(k)("手机号"),
|
|
1646
1646
|
prop: "sensitivePhone"
|
|
1647
1647
|
}, {
|
|
1648
|
-
default:
|
|
1648
|
+
default: $(({ row: b }) => [
|
|
1649
1649
|
I(a(Oe), {
|
|
1650
1650
|
placement: "top",
|
|
1651
1651
|
content: b.phone,
|
|
1652
1652
|
disabled: !b.phone
|
|
1653
1653
|
}, {
|
|
1654
|
-
default:
|
|
1654
|
+
default: $(() => [
|
|
1655
1655
|
re(
|
|
1656
1656
|
ue(b.sensitivePhone || "-"),
|
|
1657
1657
|
1
|
|
@@ -1665,12 +1665,12 @@ const Fa = (s, e) => {
|
|
|
1665
1665
|
_: 1
|
|
1666
1666
|
/* STABLE */
|
|
1667
1667
|
}, 8, ["label"]),
|
|
1668
|
-
I(a(
|
|
1668
|
+
I(a(K), {
|
|
1669
1669
|
label: a(k)("状态")
|
|
1670
1670
|
}, {
|
|
1671
|
-
default:
|
|
1671
|
+
default: $(({ row: b }) => [
|
|
1672
1672
|
re(
|
|
1673
|
-
ue(a(
|
|
1673
|
+
ue(a(C)[b.status]),
|
|
1674
1674
|
1
|
|
1675
1675
|
/* TEXT */
|
|
1676
1676
|
)
|
|
@@ -1683,16 +1683,16 @@ const Fa = (s, e) => {
|
|
|
1683
1683
|
} : void 0,
|
|
1684
1684
|
a(g) === "org" ? {
|
|
1685
1685
|
name: "table-column",
|
|
1686
|
-
fn:
|
|
1687
|
-
I(a(
|
|
1686
|
+
fn: $(() => [
|
|
1687
|
+
I(a(K), {
|
|
1688
1688
|
label: a(k)("组织名称"),
|
|
1689
1689
|
prop: "name"
|
|
1690
1690
|
}, null, 8, ["label"]),
|
|
1691
|
-
I(a(
|
|
1691
|
+
I(a(K), {
|
|
1692
1692
|
label: a(k)("组织编码"),
|
|
1693
1693
|
prop: "code"
|
|
1694
1694
|
}, null, 8, ["label"]),
|
|
1695
|
-
I(a(
|
|
1695
|
+
I(a(K), {
|
|
1696
1696
|
label: a(k)("组织类型"),
|
|
1697
1697
|
prop: "typeName"
|
|
1698
1698
|
}, null, 8, ["label"])
|
|
@@ -1701,15 +1701,15 @@ const Fa = (s, e) => {
|
|
|
1701
1701
|
} : void 0,
|
|
1702
1702
|
a(g) === "role" ? {
|
|
1703
1703
|
name: "table-column",
|
|
1704
|
-
fn:
|
|
1705
|
-
I(a(
|
|
1704
|
+
fn: $(() => [
|
|
1705
|
+
I(a(K), {
|
|
1706
1706
|
label: a(k)("角色名称"),
|
|
1707
1707
|
prop: "name"
|
|
1708
1708
|
}, null, 8, ["label"]),
|
|
1709
|
-
I(a(
|
|
1709
|
+
I(a(K), {
|
|
1710
1710
|
label: a(k)("角色类型")
|
|
1711
1711
|
}, {
|
|
1712
|
-
default:
|
|
1712
|
+
default: $(({ row: b }) => [
|
|
1713
1713
|
re(
|
|
1714
1714
|
ue(a(p)[b.type]),
|
|
1715
1715
|
1
|
|
@@ -1719,12 +1719,12 @@ const Fa = (s, e) => {
|
|
|
1719
1719
|
_: 1
|
|
1720
1720
|
/* STABLE */
|
|
1721
1721
|
}, 8, ["label"]),
|
|
1722
|
-
I(a(
|
|
1722
|
+
I(a(K), {
|
|
1723
1723
|
label: a(k)("角色状态")
|
|
1724
1724
|
}, {
|
|
1725
|
-
default:
|
|
1725
|
+
default: $(({ row: b }) => [
|
|
1726
1726
|
re(
|
|
1727
|
-
ue(a(
|
|
1727
|
+
ue(a(_)[b.status]),
|
|
1728
1728
|
1
|
|
1729
1729
|
/* TEXT */
|
|
1730
1730
|
)
|
|
@@ -1737,16 +1737,16 @@ const Fa = (s, e) => {
|
|
|
1737
1737
|
} : void 0,
|
|
1738
1738
|
a(g) === "job" ? {
|
|
1739
1739
|
name: "table-column",
|
|
1740
|
-
fn:
|
|
1741
|
-
I(a(
|
|
1740
|
+
fn: $(() => [
|
|
1741
|
+
I(a(K), {
|
|
1742
1742
|
label: a(k)("职务名称"),
|
|
1743
1743
|
prop: "name"
|
|
1744
1744
|
}, null, 8, ["label"]),
|
|
1745
|
-
I(a(
|
|
1745
|
+
I(a(K), {
|
|
1746
1746
|
label: a(k)("职务编码"),
|
|
1747
1747
|
prop: "code"
|
|
1748
1748
|
}, null, 8, ["label"]),
|
|
1749
|
-
I(a(
|
|
1749
|
+
I(a(K), {
|
|
1750
1750
|
label: a(k)("所属组织路径"),
|
|
1751
1751
|
prop: "groupName"
|
|
1752
1752
|
}, null, 8, ["label"])
|
|
@@ -1755,16 +1755,16 @@ const Fa = (s, e) => {
|
|
|
1755
1755
|
} : void 0,
|
|
1756
1756
|
a(g) === "post" ? {
|
|
1757
1757
|
name: "table-column",
|
|
1758
|
-
fn:
|
|
1759
|
-
I(a(
|
|
1758
|
+
fn: $(() => [
|
|
1759
|
+
I(a(K), {
|
|
1760
1760
|
label: a(k)("岗位名称"),
|
|
1761
1761
|
prop: "name"
|
|
1762
1762
|
}, null, 8, ["label"]),
|
|
1763
|
-
I(a(
|
|
1763
|
+
I(a(K), {
|
|
1764
1764
|
label: a(k)("岗位编码"),
|
|
1765
1765
|
prop: "code"
|
|
1766
1766
|
}, null, 8, ["label"]),
|
|
1767
|
-
I(a(
|
|
1767
|
+
I(a(K), {
|
|
1768
1768
|
label: a(k)("所属组织路径"),
|
|
1769
1769
|
prop: "groupName"
|
|
1770
1770
|
}, null, 8, ["label"])
|
|
@@ -1773,28 +1773,28 @@ const Fa = (s, e) => {
|
|
|
1773
1773
|
} : void 0,
|
|
1774
1774
|
a(g) === "supplier" ? {
|
|
1775
1775
|
name: "table-column",
|
|
1776
|
-
fn:
|
|
1777
|
-
I(a(
|
|
1776
|
+
fn: $(() => [
|
|
1777
|
+
I(a(K), {
|
|
1778
1778
|
type: "index",
|
|
1779
1779
|
width: "50"
|
|
1780
1780
|
}),
|
|
1781
|
-
I(a(
|
|
1781
|
+
I(a(K), {
|
|
1782
1782
|
label: a(k)("供应商名称"),
|
|
1783
1783
|
prop: "name"
|
|
1784
1784
|
}, null, 8, ["label"]),
|
|
1785
|
-
I(a(
|
|
1785
|
+
I(a(K), {
|
|
1786
1786
|
label: a(k)("供应商编码"),
|
|
1787
1787
|
prop: "code"
|
|
1788
1788
|
}, null, 8, ["label"]),
|
|
1789
|
-
I(a(
|
|
1789
|
+
I(a(K), {
|
|
1790
1790
|
label: a(k)("供应商等级"),
|
|
1791
1791
|
prop: "supplierLevel"
|
|
1792
1792
|
}, null, 8, ["label"]),
|
|
1793
|
-
I(a(
|
|
1793
|
+
I(a(K), {
|
|
1794
1794
|
label: a(k)("供应商分类"),
|
|
1795
1795
|
prop: "classificationName"
|
|
1796
1796
|
}, {
|
|
1797
|
-
default:
|
|
1797
|
+
default: $(() => [
|
|
1798
1798
|
A(` <template #default="{row}">\r
|
|
1799
1799
|
{{ getSupplierName(row) }}\r
|
|
1800
1800
|
</template> `)
|
|
@@ -1802,11 +1802,11 @@ const Fa = (s, e) => {
|
|
|
1802
1802
|
_: 1
|
|
1803
1803
|
/* STABLE */
|
|
1804
1804
|
}, 8, ["label"]),
|
|
1805
|
-
I(a(
|
|
1805
|
+
I(a(K), {
|
|
1806
1806
|
label: a(k)("个人/公司"),
|
|
1807
1807
|
prop: "businessType"
|
|
1808
1808
|
}, {
|
|
1809
|
-
default:
|
|
1809
|
+
default: $(({ row: b }) => [
|
|
1810
1810
|
re(
|
|
1811
1811
|
ue(b.businessType == "COMPANY" ? a(k)("公司") : a(k)("个人")),
|
|
1812
1812
|
1
|
|
@@ -1821,24 +1821,24 @@ const Fa = (s, e) => {
|
|
|
1821
1821
|
} : void 0,
|
|
1822
1822
|
a(g) === "device" ? {
|
|
1823
1823
|
name: "table-column",
|
|
1824
|
-
fn:
|
|
1825
|
-
I(a(
|
|
1824
|
+
fn: $(() => [
|
|
1825
|
+
I(a(K), {
|
|
1826
1826
|
type: "index",
|
|
1827
1827
|
width: "50"
|
|
1828
1828
|
}),
|
|
1829
|
-
I(a(
|
|
1829
|
+
I(a(K), {
|
|
1830
1830
|
label: a(k)("设备名称"),
|
|
1831
1831
|
prop: "deviceName"
|
|
1832
1832
|
}, null, 8, ["label"]),
|
|
1833
|
-
I(a(
|
|
1833
|
+
I(a(K), {
|
|
1834
1834
|
label: a(k)("设备编码"),
|
|
1835
1835
|
prop: "deviceId"
|
|
1836
1836
|
}, null, 8, ["label"]),
|
|
1837
|
-
I(a(
|
|
1837
|
+
I(a(K), {
|
|
1838
1838
|
label: a(k)("设备分类"),
|
|
1839
1839
|
prop: "groupDimensionPath"
|
|
1840
1840
|
}, null, 8, ["label"]),
|
|
1841
|
-
I(a(
|
|
1841
|
+
I(a(K), {
|
|
1842
1842
|
label: a(k)("安装位置"),
|
|
1843
1843
|
prop: "spaceSite"
|
|
1844
1844
|
}, null, 8, ["label"])
|
|
@@ -1847,30 +1847,30 @@ const Fa = (s, e) => {
|
|
|
1847
1847
|
} : void 0,
|
|
1848
1848
|
a(g) === "source" ? {
|
|
1849
1849
|
name: "table-column",
|
|
1850
|
-
fn:
|
|
1851
|
-
I(a(
|
|
1850
|
+
fn: $(() => [
|
|
1851
|
+
I(a(K), {
|
|
1852
1852
|
type: "index",
|
|
1853
1853
|
width: "50"
|
|
1854
1854
|
}),
|
|
1855
|
-
I(a(
|
|
1855
|
+
I(a(K), {
|
|
1856
1856
|
label: a(k)("单据编码"),
|
|
1857
1857
|
prop: "code"
|
|
1858
1858
|
}, null, 8, ["label"]),
|
|
1859
|
-
I(a(
|
|
1859
|
+
I(a(K), {
|
|
1860
1860
|
label: a(k)("申请人"),
|
|
1861
1861
|
prop: "userName"
|
|
1862
1862
|
}, null, 8, ["label"]),
|
|
1863
|
-
I(a(
|
|
1863
|
+
I(a(K), {
|
|
1864
1864
|
label: a(k)("联系电话"),
|
|
1865
1865
|
prop: "sensitivePhone"
|
|
1866
1866
|
}, {
|
|
1867
|
-
default:
|
|
1867
|
+
default: $(({ row: b }) => [
|
|
1868
1868
|
I(a(Oe), {
|
|
1869
1869
|
placement: "top",
|
|
1870
1870
|
content: b.phone,
|
|
1871
1871
|
disabled: !b.phone
|
|
1872
1872
|
}, {
|
|
1873
|
-
default:
|
|
1873
|
+
default: $(() => [
|
|
1874
1874
|
re(
|
|
1875
1875
|
ue(b.sensitivePhone || "-"),
|
|
1876
1876
|
1
|
|
@@ -1884,11 +1884,11 @@ const Fa = (s, e) => {
|
|
|
1884
1884
|
_: 1
|
|
1885
1885
|
/* STABLE */
|
|
1886
1886
|
}, 8, ["label"]),
|
|
1887
|
-
I(a(
|
|
1887
|
+
I(a(K), {
|
|
1888
1888
|
label: a(k)("计划领用日期"),
|
|
1889
1889
|
prop: "claimingDate"
|
|
1890
1890
|
}, {
|
|
1891
|
-
default:
|
|
1891
|
+
default: $(({ row: b }) => [
|
|
1892
1892
|
re(
|
|
1893
1893
|
ue(b.claimingDate ? a(Me)(Number(b == null ? void 0 : b.claimingDate)).format("YYYY/MM/DD") : "-"),
|
|
1894
1894
|
1
|
|
@@ -1898,7 +1898,7 @@ const Fa = (s, e) => {
|
|
|
1898
1898
|
_: 1
|
|
1899
1899
|
/* STABLE */
|
|
1900
1900
|
}, 8, ["label"]),
|
|
1901
|
-
I(a(
|
|
1901
|
+
I(a(K), {
|
|
1902
1902
|
label: a(k)("资产用途"),
|
|
1903
1903
|
prop: "purpose"
|
|
1904
1904
|
}, null, 8, ["label"])
|
|
@@ -1923,11 +1923,11 @@ const Fa = (s, e) => {
|
|
|
1923
1923
|
placeholder: y.setting.options.placeholder,
|
|
1924
1924
|
required: he.value,
|
|
1925
1925
|
modelValue: i.value,
|
|
1926
|
-
"onUpdate:modelValue":
|
|
1926
|
+
"onUpdate:modelValue": P[2] || (P[2] = (R) => i.value = R),
|
|
1927
1927
|
keyword: a(_e),
|
|
1928
|
-
"onUpdate:keyword":
|
|
1928
|
+
"onUpdate:keyword": P[3] || (P[3] = (R) => Re(_e) ? _e.value = R : null),
|
|
1929
1929
|
path: a(x),
|
|
1930
|
-
"onUpdate:path":
|
|
1930
|
+
"onUpdate:path": P[4] || (P[4] = (R) => Re(x) ? x.value = R : null),
|
|
1931
1931
|
isView: e.isView,
|
|
1932
1932
|
disabled: a(c),
|
|
1933
1933
|
load: a(xe),
|
|
@@ -2000,7 +2000,7 @@ const Fa = (s, e) => {
|
|
|
2000
2000
|
required: i.value,
|
|
2001
2001
|
col: e.span
|
|
2002
2002
|
}, {
|
|
2003
|
-
default:
|
|
2003
|
+
default: $(() => [
|
|
2004
2004
|
n.value ? (M(), H("div", Za, [
|
|
2005
2005
|
I(a(et), {
|
|
2006
2006
|
modelValue: n.value,
|
|
@@ -2112,7 +2112,7 @@ const Fa = (s, e) => {
|
|
|
2112
2112
|
type: "custom",
|
|
2113
2113
|
helpMessage: v.value
|
|
2114
2114
|
}, {
|
|
2115
|
-
default:
|
|
2115
|
+
default: $(() => [
|
|
2116
2116
|
I(a(at), {
|
|
2117
2117
|
type: "text",
|
|
2118
2118
|
modelValue: n.value,
|
|
@@ -2198,7 +2198,7 @@ const Fa = (s, e) => {
|
|
|
2198
2198
|
required: i.value,
|
|
2199
2199
|
readOnly: e.isView
|
|
2200
2200
|
}, {
|
|
2201
|
-
default:
|
|
2201
|
+
default: $(() => [
|
|
2202
2202
|
I(a(at), {
|
|
2203
2203
|
ref: "editor",
|
|
2204
2204
|
width: c.value,
|
|
@@ -2502,11 +2502,11 @@ const bn = { ...St, ...kt }, wn = (s, e, t, l) => {
|
|
|
2502
2502
|
alpha_num: $n,
|
|
2503
2503
|
regex: Fn
|
|
2504
2504
|
}, Kn = (s) => {
|
|
2505
|
-
const e = u({}), t = u([]), l = u({}), d = u({}), o = u([]), m = u(""), L = u(""), n = u({}), r = u([]), v = u({}), i = (
|
|
2506
|
-
v.value = { data:
|
|
2505
|
+
const e = u({}), t = u([]), l = u({}), d = u({}), o = u([]), m = u(""), L = u(""), n = u({}), r = u([]), v = u({}), i = (_, N) => {
|
|
2506
|
+
v.value = { data: _, val: N };
|
|
2507
2507
|
}, f = () => {
|
|
2508
|
-
var
|
|
2509
|
-
(
|
|
2508
|
+
var _;
|
|
2509
|
+
(_ = s == null ? void 0 : s.onChange) == null || _.call(s, { ...e.value });
|
|
2510
2510
|
};
|
|
2511
2511
|
return {
|
|
2512
2512
|
data: e,
|
|
@@ -2517,46 +2517,44 @@ const bn = { ...St, ...kt }, wn = (s, e, t, l) => {
|
|
|
2517
2517
|
flowKey: m,
|
|
2518
2518
|
linkData: v,
|
|
2519
2519
|
encryptionData: r,
|
|
2520
|
-
setData: (
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
P.formKey === L.value && (P.data = j);
|
|
2520
|
+
setData: (_, N) => {
|
|
2521
|
+
e.value[_] = N, t.value.forEach((q) => {
|
|
2522
|
+
q.formKey === L.value && (q.data[_] = N);
|
|
2524
2523
|
}), f();
|
|
2525
2524
|
},
|
|
2526
|
-
setDetailData: (
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
j.formKey === L.value && (j.data = N);
|
|
2525
|
+
setDetailData: (_) => {
|
|
2526
|
+
e.value = _ || {}, t.value.forEach((N) => {
|
|
2527
|
+
N.formKey === L.value && (N.data = e.value);
|
|
2530
2528
|
}), f();
|
|
2531
2529
|
},
|
|
2532
2530
|
setLinkData: i,
|
|
2533
|
-
getData: (
|
|
2531
|
+
getData: (_) => {
|
|
2534
2532
|
var N;
|
|
2535
|
-
return e.value[
|
|
2533
|
+
return e.value[_] || ((N = t.value.find((q) => q.formKey === L.value)) == null ? void 0 : N.data[_]);
|
|
2536
2534
|
},
|
|
2537
|
-
setFormData: (
|
|
2538
|
-
L.value =
|
|
2539
|
-
|
|
2540
|
-
}) : (o.value.push(
|
|
2541
|
-
formKey:
|
|
2535
|
+
setFormData: (_, N, q) => {
|
|
2536
|
+
L.value = _, o.value.includes(_) ? t.value.forEach((F) => {
|
|
2537
|
+
F.formKey === _ && (e.value = F.data);
|
|
2538
|
+
}) : (o.value.push(_), t.value.push({
|
|
2539
|
+
formKey: _,
|
|
2542
2540
|
boKey: N,
|
|
2543
|
-
reportId:
|
|
2541
|
+
reportId: q || null,
|
|
2544
2542
|
data: {}
|
|
2545
2543
|
}));
|
|
2546
2544
|
},
|
|
2547
2545
|
getFormData: () => t.value,
|
|
2548
|
-
setFormRule: (
|
|
2549
|
-
n.value[
|
|
2550
|
-
n.value[
|
|
2551
|
-
validator: (
|
|
2546
|
+
setFormRule: (_, N) => {
|
|
2547
|
+
n.value[_] = [], N && N.length && N.forEach((q) => {
|
|
2548
|
+
n.value[_].push({
|
|
2549
|
+
validator: (F, U, j) => jn[q.key](F, U, j, q)
|
|
2552
2550
|
});
|
|
2553
2551
|
});
|
|
2554
2552
|
},
|
|
2555
2553
|
clearData: () => {
|
|
2556
2554
|
e.value = {}, t.value = [], o.value = [], n.value = {};
|
|
2557
2555
|
},
|
|
2558
|
-
deleteRule: (
|
|
2559
|
-
delete n.value[
|
|
2556
|
+
deleteRule: (_) => {
|
|
2557
|
+
delete n.value[_];
|
|
2560
2558
|
}
|
|
2561
2559
|
};
|
|
2562
2560
|
}, qn = { class: "custom-page" }, En = {
|
|
@@ -2580,10 +2578,10 @@ const bn = { ...St, ...kt }, wn = (s, e, t, l) => {
|
|
|
2580
2578
|
emits: ["handleClick", "change"],
|
|
2581
2579
|
setup(s, { expose: e, emit: t }) {
|
|
2582
2580
|
const l = s, d = t, o = Kn({
|
|
2583
|
-
onChange: (
|
|
2581
|
+
onChange: (C) => d("change", C)
|
|
2584
2582
|
}), { formRule: m, flowKey: L, clearData: n } = o;
|
|
2585
2583
|
L.value = l.flowKey;
|
|
2586
|
-
const r = (
|
|
2584
|
+
const r = (C) => C === "accordion", {
|
|
2587
2585
|
formJsonList: v,
|
|
2588
2586
|
isShowPage: i,
|
|
2589
2587
|
btnList: f,
|
|
@@ -2599,20 +2597,20 @@ const bn = { ...St, ...kt }, wn = (s, e, t, l) => {
|
|
|
2599
2597
|
}), e({
|
|
2600
2598
|
validateFormData: g,
|
|
2601
2599
|
clearData: n
|
|
2602
|
-
}), (
|
|
2600
|
+
}), (C, p) => (M(), H("div", qn, [
|
|
2603
2601
|
a(f).length > 0 ? (M(), H("div", En, [
|
|
2604
2602
|
(M(!0), H(
|
|
2605
2603
|
le,
|
|
2606
2604
|
null,
|
|
2607
|
-
ke(a(f), (
|
|
2608
|
-
key:
|
|
2605
|
+
ke(a(f), (_) => (M(), O(a(Pt), {
|
|
2606
|
+
key: _.id,
|
|
2609
2607
|
style: { "margin-right": "20px" },
|
|
2610
2608
|
"btn-type": "primary",
|
|
2611
|
-
onClick: (N) => a(S)(
|
|
2609
|
+
onClick: (N) => a(S)(_)
|
|
2612
2610
|
}, {
|
|
2613
|
-
default:
|
|
2611
|
+
default: $(() => [
|
|
2614
2612
|
re(
|
|
2615
|
-
ue(
|
|
2613
|
+
ue(_.name),
|
|
2616
2614
|
1
|
|
2617
2615
|
/* TEXT */
|
|
2618
2616
|
)
|
|
@@ -2628,34 +2626,34 @@ const bn = { ...St, ...kt }, wn = (s, e, t, l) => {
|
|
|
2628
2626
|
"div",
|
|
2629
2627
|
{
|
|
2630
2628
|
class: "content-box",
|
|
2631
|
-
style: It({ margin: "0 10px", ...
|
|
2629
|
+
style: It({ margin: "0 10px", ...C.customStyle })
|
|
2632
2630
|
},
|
|
2633
2631
|
[
|
|
2634
2632
|
(M(!0), H(
|
|
2635
2633
|
le,
|
|
2636
2634
|
null,
|
|
2637
|
-
ke(a(v), (
|
|
2635
|
+
ke(a(v), (_) => (M(), H(
|
|
2638
2636
|
le,
|
|
2639
2637
|
{
|
|
2640
|
-
key:
|
|
2638
|
+
key: _.name
|
|
2641
2639
|
},
|
|
2642
2640
|
[
|
|
2643
|
-
r(
|
|
2641
|
+
r(_.ctrlType) ? (M(), O(a(nt), {
|
|
2644
2642
|
key: 0,
|
|
2645
2643
|
style: { "margin-bottom": "10px" },
|
|
2646
|
-
collapsible:
|
|
2644
|
+
collapsible: _.options.accordion ? "" : "disabled",
|
|
2647
2645
|
activeKey: a(c)
|
|
2648
2646
|
}, {
|
|
2649
|
-
default:
|
|
2647
|
+
default: $(() => [
|
|
2650
2648
|
(M(), O(a(st), {
|
|
2651
|
-
key:
|
|
2652
|
-
header:
|
|
2649
|
+
key: _.key,
|
|
2650
|
+
header: _.columns[0].span
|
|
2653
2651
|
}, {
|
|
2654
|
-
default:
|
|
2652
|
+
default: $(() => [
|
|
2655
2653
|
a(i) ? (M(), O(a(We), {
|
|
2656
2654
|
key: 0,
|
|
2657
2655
|
ref_for: !0,
|
|
2658
|
-
ref: (N) => a(z)(N,
|
|
2656
|
+
ref: (N) => a(z)(N, _),
|
|
2659
2657
|
cols: 24,
|
|
2660
2658
|
alignType: "horizontal",
|
|
2661
2659
|
"margin-right": "80px",
|
|
@@ -2663,14 +2661,14 @@ const bn = { ...St, ...kt }, wn = (s, e, t, l) => {
|
|
|
2663
2661
|
rules: a(m),
|
|
2664
2662
|
form: a(o).data
|
|
2665
2663
|
}, {
|
|
2666
|
-
default:
|
|
2664
|
+
default: $(() => [
|
|
2667
2665
|
(M(!0), H(
|
|
2668
2666
|
le,
|
|
2669
2667
|
null,
|
|
2670
|
-
ke(
|
|
2668
|
+
ke(_.columns[0].list, (N) => (M(), H(
|
|
2671
2669
|
le,
|
|
2672
2670
|
{
|
|
2673
|
-
key:
|
|
2671
|
+
key: _.name
|
|
2674
2672
|
},
|
|
2675
2673
|
[
|
|
2676
2674
|
N.ctrlType == "grid" ? (M(), O(Le(a(Ne).grid), {
|
|
@@ -2706,7 +2704,7 @@ const bn = { ...St, ...kt }, wn = (s, e, t, l) => {
|
|
|
2706
2704
|
a(i) ? (M(), O(a(We), {
|
|
2707
2705
|
key: 0,
|
|
2708
2706
|
ref_for: !0,
|
|
2709
|
-
ref: (N) => a(z)(N,
|
|
2707
|
+
ref: (N) => a(z)(N, _),
|
|
2710
2708
|
cols: 24,
|
|
2711
2709
|
"auto-margin-right": "",
|
|
2712
2710
|
alignType: "horizontal",
|
|
@@ -2714,9 +2712,9 @@ const bn = { ...St, ...kt }, wn = (s, e, t, l) => {
|
|
|
2714
2712
|
rules: a(m),
|
|
2715
2713
|
form: a(o).data
|
|
2716
2714
|
}, {
|
|
2717
|
-
default:
|
|
2718
|
-
(M(), O(Le(a(Ne)[
|
|
2719
|
-
setting:
|
|
2715
|
+
default: $(() => [
|
|
2716
|
+
(M(), O(Le(a(Ne)[_.ctrlType]), {
|
|
2717
|
+
setting: _,
|
|
2720
2718
|
isView: l.isView,
|
|
2721
2719
|
store: a(o)
|
|
2722
2720
|
}, null, 8, ["setting", "isView", "store"]))
|
|
Binary file
|