@das-fed/ui 6.4.0-dev.86 → 6.4.0-dev.88
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/change-enterprises/index.d.ts +5 -5
- package/packages/business-components/change-enterprises/src/index.vue.d.ts +1 -1
- package/packages/business-components/device-panel/i18n/index.d.ts +21 -8
- package/packages/business-components/device-panel/index.js +10409 -10380
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/export-button/index.js +24 -24
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/index.js +2 -2
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +770 -764
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/i18n/index.d.ts +15 -0
- package/packages/business-components/user-org-dialog/index.js +233 -226
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/style.css +1 -1
- package/packages/business-components/user-org-dialog/style.css.gz +0 -0
- package/packages/components/cascader/index.d.ts +7 -7
- package/packages/components/cascader/index.js +194 -156
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/src/Index.vue.d.ts +1 -1
- package/packages/components/cascader/style.css +1 -1
- package/packages/components/cascader/style.css.gz +0 -0
- package/packages/components/checkbox/index.js +1 -1
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/style.css +1 -1
- package/packages/components/checkbox/style.css.gz +0 -0
- package/packages/components/date-picker/index.d.ts +12 -0
- package/packages/components/date-picker/index.js +988 -774
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/src/DatePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/src/RangePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/src/TimePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/src/type.d.ts +96 -1
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/edit-table/index.js +2 -2
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/edit-table/style.css +1 -1
- package/packages/components/edit-table/style.css.gz +0 -0
- package/packages/components/form-item/index.js +2 -2
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/image-viewer/index.js +106 -106
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/input/index.js +47 -52
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/style.css +1 -1
- package/packages/components/input/style.css.gz +0 -0
- package/packages/components/input-dialog-select/index.js +92 -88
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-dialog-select/style.css +1 -1
- package/packages/components/input-dialog-select/style.css.gz +0 -0
- package/packages/components/input-dialog-select/theme/index.d.ts +1 -1
- package/packages/components/input-number/index.d.ts +136 -0
- package/packages/components/input-number/index.js +202 -152
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/input-number/src/App.vue.d.ts +1 -5671
- package/packages/components/input-number/src/type.d.ts +3 -0
- package/packages/components/input-number/style.css +1 -1
- package/packages/components/input-number/style.css.gz +0 -0
- package/packages/components/input-number/theme/index.d.ts +1 -1
- package/packages/components/rich-editor/style.css +1 -1
- package/packages/components/rich-editor/style.css.gz +0 -0
- package/packages/components/search/index.js +4 -4
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search/style.css +1 -1
- package/packages/components/search/style.css.gz +0 -0
- package/packages/components/search-form/index.js +425 -422
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/src/SearchDateRange.vue.d.ts +1 -0
- package/packages/components/search-form/src/hooks/searchFormItem.d.ts +2 -0
- package/packages/components/search-form/src/type.d.ts +3 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select/index.js +374 -356
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/select-input/index.d.ts +1 -0
- package/packages/components/select-input/index.js +82 -52
- package/packages/components/select-input/index.js.gz +0 -0
- package/packages/components/select-input/src/Index.vue.d.ts +1 -0
- package/packages/components/select-input/src/hooks/use-select-input.d.ts +1 -0
- package/packages/components/select-input/src/type.d.ts +2 -0
- package/packages/components/select-input/style.css +1 -1
- package/packages/components/select-input/style.css.gz +0 -0
- package/packages/components/tooltip/index.js +5 -4
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tooltip/style.css +1 -1
- package/packages/components/tooltip/style.css.gz +0 -0
- package/packages/components/tree-select/index.js +1 -1
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-v2/index.d.ts +9 -2
- package/packages/components/tree-v2/index.js +609 -609
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/tree-v2/src/App.vue.d.ts +2 -1
- package/packages/components/tree-v2/style.css +1 -1
- package/packages/components/tree-v2/style.css.gz +0 -0
- package/packages/global/theme/index.js +2 -1
- package/packages/global/theme/index.js.gz +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
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 i, defineComponent as
|
|
3
|
+
import { ref as i, defineComponent as Q, watch as L, openBlock as V, createBlock as F, unref as a, withCtx as R, createVNode as N, createCommentVNode as q, createElementVNode as je, createElementBlock as Y, Fragment as G, createTextVNode as ee, toDisplayString as te, isRef as he, createSlots as dt, h as le, renderList as ie, resolveDynamicComponent as ge, onMounted as ct, withDirectives as gt, normalizeStyle as mt } from "vue";
|
|
4
4
|
import { DasFormRef as vt, 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
|
-
import { DasFormItem as
|
|
9
|
+
import { DasFormItem as U } from "@das-fed/ui/packages/components/form-item/index";
|
|
10
10
|
import { DasAutocomplete as bt } from "@das-fed/ui/packages/components/autocomplete/index";
|
|
11
11
|
import ve from "dayjs";
|
|
12
|
-
import { DasImageViewer as
|
|
12
|
+
import { DasImageViewer as Ke } from "@das-fed/ui/packages/components/image-viewer/index";
|
|
13
13
|
import { DasInput as _t } from "@das-fed/ui/packages/components/input/index";
|
|
14
14
|
import { DasTooltip as Ve } from "@das-fed/ui/packages/components/tooltip/index";
|
|
15
|
-
import { i18n as B, t as
|
|
15
|
+
import { i18n as B, t as _, setI18nRule as wt } from "@das-fed/web/packages/i18n/index";
|
|
16
16
|
import { DasTableColumn as I } from "@das-fed/ui/packages/components/table/index";
|
|
17
17
|
import { DasSearchForm as Ct } from "@das-fed/ui/packages/components/search-form/index";
|
|
18
18
|
import { DasModelTableDialog as Dt } from "@das-fed/ui/packages/business-components/model-table-dialog";
|
|
19
|
-
import { getProjectInfo as
|
|
19
|
+
import { getProjectInfo as Be } from "@das-fed/utils/common-info";
|
|
20
20
|
import { getConfig as Vt } from "@das-fed/utils/config";
|
|
21
21
|
import { DasRichEditor as Ee } from "@das-fed/ui/packages/components/rich-editor/index";
|
|
22
22
|
import { DasCollaspe as Ae } from "@das-fed/ui/packages/components/collaspe/index";
|
|
@@ -25,83 +25,85 @@ const X = "v1", kt = Z(`/workflow/form/form/${X}`), St = Z(`/workflow/form/formD
|
|
|
25
25
|
Z(`/workflow/api/user/${X}`);
|
|
26
26
|
const Ue = Z(`/workflow/api/extend/${X}`), Nt = Z(`/workflow/flow/def/${X}`), Lt = Z(`/workflow/form/customQuery/${X}`), ae = Z(`/api/enterpriseright/permission/${X}`), ke = Z(`/api/space-manage/space-tree/${X}`), zt = Z(`/workflow/form/dataTemplate/${X}`), Se = Z(`/api/supply/supplier/${X}`), Mt = Z(`/api/warehouse/vms/${X}/asset-receive`), Tt = zt.get("/getBpmDataTemplateInfoByFlowKey"), Rt = kt.get("/formDesign"), $t = St.get("/get"), Pt = Ue.get("/report-config");
|
|
27
27
|
Ue.get("/application-report");
|
|
28
|
-
const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt = ae.get("/organization/authTree"),
|
|
28
|
+
const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt = ae.get("/organization/authTree"), Ot = ae.post("/user/list"), jt = ae.post("/data/user-query"), Kt = ae.get("/role/list"), Bt = 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 = ke.get("/controller/area-children"), xt = ke.get("/controller/fuzzy-tree-all"), Yt = ke.get("/controller/space"), Jt = Se.post("/supplier/list/page", (o) => {
|
|
29
29
|
var e, t;
|
|
30
30
|
return o.data.pageBean = {
|
|
31
31
|
page: ((e = o == null ? void 0 : o.data) == null ? void 0 : e.pageIndex) || 1,
|
|
32
32
|
pageSize: ((t = o == null ? void 0 : o.data) == null ? void 0 : t.pageSize) || 20
|
|
33
33
|
}, o;
|
|
34
34
|
}), Ht = Se.get("/supplier"), Wt = Se.post("/classification/list/all"), Zt = Mt.get("/receive-code"), be = i(""), Gt = (o, e, t) => {
|
|
35
|
-
const { setDetailData: l, getFormData: p, setFormData: u, formRule:
|
|
36
|
-
const [
|
|
37
|
-
if (
|
|
38
|
-
const
|
|
39
|
-
be.value =
|
|
40
|
-
|
|
35
|
+
const { setDetailData: l, getFormData: p, setFormData: u, formRule: f, showData: w, disabledData: n, encryptionData: s } = t, m = i([]), v = i([]), c = i([]), d = i(!1), C = vt(), g = i([]), h = (S) => Object.keys(S).length === 0, r = async (S) => {
|
|
36
|
+
const [z, k] = await Rt({ formId: S }).run();
|
|
37
|
+
if (z) return;
|
|
38
|
+
const j = JSON.parse(k.bos);
|
|
39
|
+
be.value = j[0].alias, v.value.length && v.value.forEach((H) => {
|
|
40
|
+
H.formKey === k.formKey && u(k.formKey, be.value, H.id);
|
|
41
41
|
});
|
|
42
|
-
const [
|
|
43
|
-
await
|
|
44
|
-
|
|
45
|
-
}), n.value = { ...n.value, ...o.disabledData },
|
|
46
|
-
|
|
42
|
+
const [T, E] = await $t({ formDefId: k.defId }).run();
|
|
43
|
+
await D(), c.value = JSON.parse(E.value.expand).list, c.value.forEach((H) => {
|
|
44
|
+
H.columns && H.columns[0].isOpen && g.value.push(H.columns[0].idKey);
|
|
45
|
+
}), n.value = { ...n.value, ...o.disabledData }, v.value.length || u(k.formKey, be.value), setTimeout(() => {
|
|
46
|
+
w.value = { ...w.value, ...o.showData }, h(o.data) && (d.value = !0), h(o.data) || (l(o.data), o.flowKey && (m.value = o.data.button_list ? JSON.parse(o.data.button_list) : []), d.value = !0);
|
|
47
47
|
}, 50);
|
|
48
|
-
},
|
|
48
|
+
}, y = async () => {
|
|
49
49
|
if (o.formConfigurationId) {
|
|
50
|
-
const [
|
|
51
|
-
if (
|
|
52
|
-
|
|
50
|
+
const [S, z] = await Pt({ id: o.formConfigurationId }).run();
|
|
51
|
+
if (S) return;
|
|
52
|
+
v.value = z.reports, m.value = z.reports[0].buttons.filter((k) => !(o.isView && k.event !== "LINK")), r(z.reports[0].formId);
|
|
53
53
|
}
|
|
54
54
|
if (o.flowKey) {
|
|
55
|
-
const [
|
|
56
|
-
if (
|
|
57
|
-
r(
|
|
55
|
+
const [S, z] = await Ft({ flowKey: o.flowKey }).run();
|
|
56
|
+
if (S) return;
|
|
57
|
+
r(z.pcForm.pcFormId);
|
|
58
58
|
}
|
|
59
|
-
},
|
|
59
|
+
}, D = async () => {
|
|
60
|
+
var k, j, T, E;
|
|
60
61
|
if (!o.flowKey) return;
|
|
61
|
-
const [
|
|
62
|
+
const [S, z] = await Tt().run({
|
|
62
63
|
flowKey: o.flowKey,
|
|
63
64
|
needDisplayFileds: !1
|
|
64
65
|
});
|
|
65
|
-
s.value = T.value.boDef.boEnt.attributeList.filter((
|
|
66
|
+
s.value = ((E = (T = (j = (k = z == null ? void 0 : z.value) == null ? void 0 : k.boDef) == null ? void 0 : j.boEnt) == null ? void 0 : T.attributeList) == null ? void 0 : E.filter((H) => H.encryption == "phone")) || [];
|
|
66
67
|
};
|
|
67
68
|
return {
|
|
68
69
|
isShowPage: d,
|
|
69
|
-
formJsonList:
|
|
70
|
-
btnList:
|
|
71
|
-
formRef:
|
|
72
|
-
activityKeys:
|
|
70
|
+
formJsonList: c,
|
|
71
|
+
btnList: m,
|
|
72
|
+
formRef: C,
|
|
73
|
+
activityKeys: g,
|
|
73
74
|
getForm: r,
|
|
74
|
-
getBtnSet:
|
|
75
|
-
handleClick: (
|
|
76
|
-
var
|
|
77
|
-
(
|
|
78
|
-
|
|
79
|
-
|
|
75
|
+
getBtnSet: y,
|
|
76
|
+
handleClick: (S) => {
|
|
77
|
+
var z;
|
|
78
|
+
(z = C.value) == null || z.validate(async (k) => {
|
|
79
|
+
k && (e("handleClick", S, p()), S.event === "LINK" && v.value.forEach((j) => {
|
|
80
|
+
S.eventTarget === j.formKey && (m.value = j.buttons.filter((T) => !(o.isView && T.event !== "LINK")), d.value = !1, f.value = {}, r(j.formId));
|
|
80
81
|
}));
|
|
81
82
|
});
|
|
82
83
|
}
|
|
83
84
|
};
|
|
84
|
-
},
|
|
85
|
+
}, J = (o) => {
|
|
85
86
|
var e = new RegExp("<.+?>", "g"), t = o.replace(e, "").replace(/ /g, "");
|
|
86
87
|
return t;
|
|
87
88
|
}, se = async (o, e, t = {}) => {
|
|
88
89
|
const [l, p] = await It({ alias: o }).run();
|
|
89
90
|
if (!l && p.url) {
|
|
91
|
+
typeof e == "string" && (e = JSON.parse(e));
|
|
90
92
|
const u = i({});
|
|
91
93
|
e.forEach((s) => {
|
|
92
94
|
s.defaultType == 2 && (u.value[s.field] = s.defaultValue);
|
|
93
95
|
}), u.value = { ...u.value, ...t };
|
|
94
|
-
const
|
|
95
|
-
return
|
|
96
|
+
const f = p.requestType === "POST" ? Z(p.url).post("") : Z(p.url).get(""), [w, n] = await f({}, { params: u.value }).run();
|
|
97
|
+
return w ? void 0 : n;
|
|
96
98
|
}
|
|
97
|
-
},
|
|
99
|
+
}, W = async (o) => {
|
|
98
100
|
const e = i(!1);
|
|
99
101
|
return o.forEach((t) => {
|
|
100
102
|
t.key === "required" && (e.value = !0);
|
|
101
103
|
}), e.value;
|
|
102
104
|
}, Xt = {
|
|
103
105
|
name: "attachment"
|
|
104
|
-
}, ea = /* @__PURE__ */
|
|
106
|
+
}, ea = /* @__PURE__ */ Q({
|
|
105
107
|
...Xt,
|
|
106
108
|
props: {
|
|
107
109
|
setting: { default: () => ({
|
|
@@ -117,29 +119,29 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
117
119
|
store: {}
|
|
118
120
|
},
|
|
119
121
|
setup(o) {
|
|
120
|
-
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule:
|
|
121
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
122
|
+
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i([]), s = i(!0);
|
|
123
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), L(
|
|
122
124
|
() => t.value,
|
|
123
125
|
() => {
|
|
124
|
-
s.value = t.value[e.setting.name], s.value || (n.value = [],
|
|
126
|
+
s.value = t.value[e.setting.name], s.value || (n.value = [], w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
125
127
|
},
|
|
126
128
|
{ deep: !0, immediate: !0 }
|
|
127
129
|
);
|
|
128
|
-
const
|
|
129
|
-
return e.setting.options.tip && (
|
|
130
|
-
p(e.setting.name, JSON.stringify(
|
|
131
|
-
}), (
|
|
130
|
+
const m = i();
|
|
131
|
+
return e.setting.options.tip && (m.value = J(e.setting.options.tip)), n.value || p(e.setting.name, null), L(n, (v) => {
|
|
132
|
+
p(e.setting.name, JSON.stringify(v));
|
|
133
|
+
}), (v, c) => s.value ? (V(), F(a(U), {
|
|
132
134
|
key: 0,
|
|
133
135
|
col: e.span,
|
|
134
|
-
label:
|
|
136
|
+
label: v.setting.desc,
|
|
135
137
|
type: "custom",
|
|
136
|
-
helpMessage:
|
|
138
|
+
helpMessage: m.value
|
|
137
139
|
}, {
|
|
138
|
-
default:
|
|
139
|
-
|
|
140
|
+
default: R(() => [
|
|
141
|
+
N(a(yt), {
|
|
140
142
|
style: { width: "100%" },
|
|
141
143
|
modelValue: n.value,
|
|
142
|
-
"onUpdate:modelValue":
|
|
144
|
+
"onUpdate:modelValue": c[0] || (c[0] = (d) => n.value = d)
|
|
143
145
|
}, null, 8, ["modelValue"])
|
|
144
146
|
]),
|
|
145
147
|
_: 1
|
|
@@ -151,7 +153,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
151
153
|
default: ea
|
|
152
154
|
}, Symbol.toStringTag, { value: "Module" })), ta = {
|
|
153
155
|
name: "autocomplete"
|
|
154
|
-
}, aa = /* @__PURE__ */
|
|
156
|
+
}, aa = /* @__PURE__ */ Q({
|
|
155
157
|
...ta,
|
|
156
158
|
props: {
|
|
157
159
|
setting: { default: () => ({
|
|
@@ -167,46 +169,46 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
167
169
|
store: {}
|
|
168
170
|
},
|
|
169
171
|
setup(o) {
|
|
170
|
-
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule:
|
|
171
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
172
|
+
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(""), s = i(!0);
|
|
173
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), L(
|
|
172
174
|
() => t.value,
|
|
173
175
|
() => {
|
|
174
|
-
s.value = t.value[e.setting.name], s.value || (n.value = "",
|
|
176
|
+
s.value = t.value[e.setting.name], s.value || (n.value = "", w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
175
177
|
},
|
|
176
178
|
{ deep: !0, immediate: !0 }
|
|
177
179
|
);
|
|
178
|
-
const
|
|
179
|
-
|
|
180
|
-
|
|
180
|
+
const m = l.value[e.setting.name] || !1, v = i(!1);
|
|
181
|
+
W(e.setting.options.validateList).then((r) => {
|
|
182
|
+
v.value = r;
|
|
181
183
|
});
|
|
182
|
-
const
|
|
184
|
+
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", d = e.setting.options.children ? e.setting.options.children : "children", C = !!e.setting.options.fillInFullPath, g = i([]);
|
|
183
185
|
e.setting.options.customQuery.alias ? se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((r) => {
|
|
184
|
-
|
|
185
|
-
}) :
|
|
186
|
-
const
|
|
187
|
-
return e.setting.options.tip && (
|
|
186
|
+
g.value = r;
|
|
187
|
+
}) : g.value = e.setting.options.options;
|
|
188
|
+
const h = i();
|
|
189
|
+
return e.setting.options.tip && (h.value = J(e.setting.options.tip)), n.value = u(e.setting.name) || n.value, n.value || p(e.setting.name, null), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(n, (r) => {
|
|
188
190
|
p(e.setting.name, r.toString());
|
|
189
|
-
}), (r,
|
|
191
|
+
}), (r, y) => s.value ? (V(), F(a(U), {
|
|
190
192
|
key: 0,
|
|
191
193
|
col: e.span,
|
|
192
194
|
prop: e.setting.name,
|
|
193
195
|
modelValue: n.value,
|
|
194
|
-
"onUpdate:modelValue":
|
|
196
|
+
"onUpdate:modelValue": y[1] || (y[1] = (D) => n.value = D),
|
|
195
197
|
label: r.setting.desc,
|
|
196
198
|
type: "custom",
|
|
197
|
-
helpMessage:
|
|
198
|
-
required:
|
|
199
|
-
disabled: a(
|
|
199
|
+
helpMessage: h.value,
|
|
200
|
+
required: v.value,
|
|
201
|
+
disabled: a(m)
|
|
200
202
|
}, {
|
|
201
|
-
default:
|
|
202
|
-
|
|
203
|
+
default: R(() => [
|
|
204
|
+
N(a(bt), {
|
|
203
205
|
modelValue: n.value,
|
|
204
|
-
"onUpdate:modelValue":
|
|
205
|
-
options:
|
|
206
|
+
"onUpdate:modelValue": y[0] || (y[0] = (D) => n.value = D),
|
|
207
|
+
options: g.value,
|
|
206
208
|
isView: e.isView,
|
|
207
209
|
width: "100%",
|
|
208
|
-
fieldNames: { label: a(
|
|
209
|
-
showFullPath: a(
|
|
210
|
+
fieldNames: { label: a(c), children: a(d) },
|
|
211
|
+
showFullPath: a(C),
|
|
210
212
|
placeholder: r.setting.options.placeholder,
|
|
211
213
|
clearable: ""
|
|
212
214
|
}, null, 8, ["modelValue", "options", "isView", "fieldNames", "showFullPath", "placeholder"])
|
|
@@ -220,7 +222,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
220
222
|
default: aa
|
|
221
223
|
}, Symbol.toStringTag, { value: "Module" })), na = {
|
|
222
224
|
name: "checkbox"
|
|
223
|
-
}, sa = /* @__PURE__ */
|
|
225
|
+
}, sa = /* @__PURE__ */ Q({
|
|
224
226
|
...na,
|
|
225
227
|
props: {
|
|
226
228
|
setting: { default: () => ({
|
|
@@ -236,43 +238,43 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
236
238
|
store: {}
|
|
237
239
|
},
|
|
238
240
|
setup(o) {
|
|
239
|
-
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule:
|
|
240
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
241
|
+
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i([]), s = i(!0);
|
|
242
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), L(
|
|
241
243
|
() => t.value,
|
|
242
244
|
() => {
|
|
243
|
-
s.value = t.value[e.setting.name], s.value || (n.value = [],
|
|
245
|
+
s.value = t.value[e.setting.name], s.value || (n.value = [], w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
244
246
|
},
|
|
245
247
|
{ deep: !0, immediate: !0 }
|
|
246
248
|
);
|
|
247
|
-
const
|
|
248
|
-
|
|
249
|
-
|
|
249
|
+
const m = l.value[e.setting.name] || !1, v = i(!1);
|
|
250
|
+
W(e.setting.options.validateList).then((h) => {
|
|
251
|
+
v.value = h;
|
|
250
252
|
});
|
|
251
|
-
const
|
|
252
|
-
e.setting.options.customQuery.alias ? se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((
|
|
253
|
-
|
|
254
|
-
}) :
|
|
255
|
-
const
|
|
256
|
-
return e.setting.options.tip && (
|
|
253
|
+
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", C = i([]);
|
|
254
|
+
e.setting.options.customQuery.alias ? se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((h) => {
|
|
255
|
+
C.value = h;
|
|
256
|
+
}) : C.value = e.setting.options.options;
|
|
257
|
+
const g = i();
|
|
258
|
+
return e.setting.options.tip && (g.value = J(e.setting.options.tip)()), setTimeout(() => {
|
|
257
259
|
u(e.setting.name) && (n.value = u(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (n.value = e.setting.options.formulasDiyJs.split(",")), n.value.length || n.value || p(e.setting.name, null);
|
|
258
|
-
}, 50), e.setting.options.validateList.length &&
|
|
259
|
-
p(e.setting.name,
|
|
260
|
-
}), (
|
|
260
|
+
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(n, (h) => {
|
|
261
|
+
p(e.setting.name, h.toString());
|
|
262
|
+
}), (h, r) => s.value ? (V(), F(a(U), {
|
|
261
263
|
key: 0,
|
|
262
264
|
col: e.span,
|
|
263
265
|
modelValue: n.value,
|
|
264
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
265
|
-
layout:
|
|
266
|
-
label:
|
|
266
|
+
"onUpdate:modelValue": r[0] || (r[0] = (y) => n.value = y),
|
|
267
|
+
layout: h.setting.options.inline ? "vertical" : "default",
|
|
268
|
+
label: h.setting.desc,
|
|
267
269
|
prop: e.setting.name,
|
|
268
270
|
type: "checkbox",
|
|
269
|
-
options:
|
|
271
|
+
options: C.value,
|
|
270
272
|
isView: e.isView,
|
|
271
|
-
disabled: a(
|
|
272
|
-
optionsValueKey: a(
|
|
273
|
+
disabled: a(m),
|
|
274
|
+
optionsValueKey: a(c),
|
|
273
275
|
optionsLabelKey: a(d),
|
|
274
|
-
helpMessage:
|
|
275
|
-
required:
|
|
276
|
+
helpMessage: g.value,
|
|
277
|
+
required: v.value
|
|
276
278
|
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "disabled", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"])) : q("v-if", !0);
|
|
277
279
|
}
|
|
278
280
|
}), Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -280,7 +282,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
280
282
|
default: sa
|
|
281
283
|
}, Symbol.toStringTag, { value: "Module" })), oa = {
|
|
282
284
|
name: "date"
|
|
283
|
-
}, la = /* @__PURE__ */
|
|
285
|
+
}, la = /* @__PURE__ */ Q({
|
|
284
286
|
...oa,
|
|
285
287
|
props: {
|
|
286
288
|
setting: { default: () => ({
|
|
@@ -296,45 +298,45 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
296
298
|
store: {}
|
|
297
299
|
},
|
|
298
300
|
setup(o) {
|
|
299
|
-
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule:
|
|
300
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
301
|
+
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
|
|
302
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), L(
|
|
301
303
|
() => t.value,
|
|
302
304
|
() => {
|
|
303
|
-
s.value = t.value[e.setting.name], s.value || (n.value = null,
|
|
305
|
+
s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
304
306
|
},
|
|
305
307
|
{ deep: !0, immediate: !0 }
|
|
306
308
|
);
|
|
307
|
-
const
|
|
308
|
-
|
|
309
|
-
|
|
309
|
+
const m = l.value[e.setting.name] || !1, v = i(!1);
|
|
310
|
+
W(e.setting.options.validateList).then((g) => {
|
|
311
|
+
v.value = g;
|
|
310
312
|
});
|
|
311
|
-
const
|
|
313
|
+
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 = i("");
|
|
312
314
|
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");
|
|
313
|
-
const
|
|
314
|
-
if (e.setting.options.tip && (
|
|
315
|
+
const C = i();
|
|
316
|
+
if (e.setting.options.tip && (C.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
315
317
|
n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
|
|
316
318
|
}, 50), e.setting.options.showCurrentDate) {
|
|
317
|
-
let
|
|
318
|
-
|
|
319
|
+
let g = /* @__PURE__ */ new Date();
|
|
320
|
+
g.setDate(g.getDate() + e.setting.options.day), n.value = ve(g.getTime()).format(c), p(e.setting.name, n.value);
|
|
319
321
|
}
|
|
320
|
-
return e.setting.options.validateList.length &&
|
|
321
|
-
p(e.setting.name,
|
|
322
|
-
}), (
|
|
322
|
+
return e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(n, (g) => {
|
|
323
|
+
p(e.setting.name, g);
|
|
324
|
+
}), (g, h) => s.value ? (V(), F(a(U), {
|
|
323
325
|
key: 0,
|
|
324
326
|
col: e.span,
|
|
325
327
|
modelValue: n.value,
|
|
326
|
-
"onUpdate:modelValue":
|
|
327
|
-
label:
|
|
328
|
+
"onUpdate:modelValue": h[0] || (h[0] = (r) => n.value = r),
|
|
329
|
+
label: g.setting.desc,
|
|
328
330
|
prop: e.setting.name,
|
|
329
|
-
type: a(
|
|
330
|
-
format: a(
|
|
331
|
+
type: a(c).indexOf("HH") != -1 ? "dateTime" : "date",
|
|
332
|
+
format: a(c),
|
|
331
333
|
valueFormat: "YYYY-MM-DD HH:mm:ss",
|
|
332
334
|
picker: d.value,
|
|
333
335
|
isView: e.isView,
|
|
334
|
-
disabled: a(
|
|
335
|
-
placeholder:
|
|
336
|
-
helpMessage:
|
|
337
|
-
required:
|
|
336
|
+
disabled: a(m),
|
|
337
|
+
placeholder: g.setting.options.placeholder,
|
|
338
|
+
helpMessage: C.value,
|
|
339
|
+
required: v.value
|
|
338
340
|
}, null, 8, ["col", "modelValue", "label", "prop", "type", "format", "picker", "isView", "disabled", "placeholder", "helpMessage", "required"])) : q("v-if", !0);
|
|
339
341
|
}
|
|
340
342
|
}), He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -342,7 +344,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
342
344
|
default: la
|
|
343
345
|
}, Symbol.toStringTag, { value: "Module" })), ia = {
|
|
344
346
|
name: "dropdown"
|
|
345
|
-
}, ra = /* @__PURE__ */
|
|
347
|
+
}, ra = /* @__PURE__ */ Q({
|
|
346
348
|
...ia,
|
|
347
349
|
props: {
|
|
348
350
|
setting: { default: () => ({
|
|
@@ -358,50 +360,50 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
358
360
|
store: {}
|
|
359
361
|
},
|
|
360
362
|
setup(o) {
|
|
361
|
-
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule:
|
|
362
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
363
|
+
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w, setLinkData: n } = e.store || {}, s = i(""), m = i(!0);
|
|
364
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), L(
|
|
363
365
|
() => t.value,
|
|
364
366
|
() => {
|
|
365
|
-
|
|
367
|
+
m.value = t.value[e.setting.name], m.value || (s.value = e.setting.options.multiple ? [] : "", w(e.setting.name)), m.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
366
368
|
},
|
|
367
369
|
{ deep: !0, immediate: !0 }
|
|
368
370
|
);
|
|
369
|
-
const
|
|
371
|
+
const v = () => {
|
|
370
372
|
e.setting.options.customQuery && e.setting.options.customQuery.custQueryJson.length && n(e.setting.options.customQuery.custQueryJson, s.value);
|
|
371
|
-
},
|
|
372
|
-
|
|
373
|
-
d.value =
|
|
373
|
+
}, c = l.value[e.setting.name] || !1, d = i(!1);
|
|
374
|
+
W(e.setting.options.validateList).then((b) => {
|
|
375
|
+
d.value = b;
|
|
374
376
|
});
|
|
375
|
-
const
|
|
376
|
-
e.setting.options.customQuery.alias && se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((
|
|
377
|
-
|
|
377
|
+
const C = i(""), g = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", h = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", r = e.setting.options.customQuery.PId || "children", y = i([]);
|
|
378
|
+
e.setting.options.customQuery.alias && se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((b) => {
|
|
379
|
+
y.value = b;
|
|
378
380
|
});
|
|
379
|
-
const
|
|
380
|
-
return e.setting.options.tip && (
|
|
381
|
-
p(e.setting.name,
|
|
382
|
-
}), (
|
|
381
|
+
const D = i();
|
|
382
|
+
return e.setting.options.tip && (D.value = J(e.setting.options.tip)), s.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && u(e.setting.name) ? s.value = u(e.setting.name).split(",") : s.value = u(e.setting.name) || s.value, s.value || p(e.setting.name, null), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(s, (b) => {
|
|
383
|
+
p(e.setting.name, b.toString());
|
|
384
|
+
}), (b, S) => m.value ? (V(), F(a(U), {
|
|
383
385
|
key: 0,
|
|
384
386
|
col: e.span,
|
|
385
387
|
modelValue: s.value,
|
|
386
|
-
"onUpdate:modelValue":
|
|
387
|
-
keyword:
|
|
388
|
-
"onUpdate:keyword":
|
|
389
|
-
label:
|
|
388
|
+
"onUpdate:modelValue": S[0] || (S[0] = (z) => s.value = z),
|
|
389
|
+
keyword: C.value,
|
|
390
|
+
"onUpdate:keyword": S[1] || (S[1] = (z) => C.value = z),
|
|
391
|
+
label: b.setting.desc,
|
|
390
392
|
type: "treeSelect",
|
|
391
|
-
"node-key":
|
|
392
|
-
placeholder:
|
|
393
|
-
mode:
|
|
393
|
+
"node-key": b.setting.options.customQuery.valueBind,
|
|
394
|
+
placeholder: b.setting.options.placeholder,
|
|
395
|
+
mode: b.setting.options.multiple ? "multiple" : "",
|
|
394
396
|
prop: e.setting.name,
|
|
395
|
-
filter:
|
|
397
|
+
filter: b.setting.options.filterable,
|
|
396
398
|
selectAttrs: { allowClear: !0 },
|
|
397
|
-
options:
|
|
399
|
+
options: y.value,
|
|
398
400
|
isView: e.isView,
|
|
399
|
-
helpMessage:
|
|
400
|
-
disabled: a(
|
|
401
|
-
props: { label: a(
|
|
402
|
-
"check-strictly": !
|
|
401
|
+
helpMessage: D.value,
|
|
402
|
+
disabled: a(c),
|
|
403
|
+
props: { label: a(h), value: a(g), children: a(r) },
|
|
404
|
+
"check-strictly": !b.setting.options.cascade,
|
|
403
405
|
required: d.value,
|
|
404
|
-
onChange:
|
|
406
|
+
onChange: v
|
|
405
407
|
}, null, 8, ["col", "modelValue", "keyword", "label", "node-key", "placeholder", "mode", "prop", "filter", "options", "isView", "helpMessage", "disabled", "props", "check-strictly", "required"])) : q("v-if", !0);
|
|
406
408
|
}
|
|
407
409
|
}), We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -409,7 +411,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
409
411
|
default: ra
|
|
410
412
|
}, Symbol.toStringTag, { value: "Module" })), ua = { class: "form-image" }, pa = {
|
|
411
413
|
name: "imageViewer"
|
|
412
|
-
}, da = /* @__PURE__ */
|
|
414
|
+
}, da = /* @__PURE__ */ Q({
|
|
413
415
|
...pa,
|
|
414
416
|
props: {
|
|
415
417
|
setting: { default: () => ({
|
|
@@ -425,68 +427,68 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
425
427
|
store: {}
|
|
426
428
|
},
|
|
427
429
|
setup(o) {
|
|
428
|
-
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule:
|
|
429
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
430
|
+
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
|
|
431
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), L(
|
|
430
432
|
() => t.value,
|
|
431
433
|
() => {
|
|
432
|
-
s.value = t.value[e.setting.name], s.value || (n.value = e.setting.options.file.limit > 1 ? [] : "",
|
|
434
|
+
s.value = t.value[e.setting.name], s.value || (n.value = e.setting.options.file.limit > 1 ? [] : "", w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
433
435
|
},
|
|
434
436
|
{ deep: !0, immediate: !0 }
|
|
435
437
|
);
|
|
436
|
-
const
|
|
437
|
-
|
|
438
|
-
|
|
438
|
+
const m = l.value[e.setting.name] || !1, v = i(!1);
|
|
439
|
+
W(e.setting.options.validateList).then((g) => {
|
|
440
|
+
v.value = g;
|
|
439
441
|
});
|
|
440
|
-
const
|
|
441
|
-
e.isView && (
|
|
442
|
+
const c = i("normal");
|
|
443
|
+
e.isView && (c.value = "info");
|
|
442
444
|
const d = i();
|
|
443
|
-
e.setting.options.tip && (d.value =
|
|
444
|
-
const
|
|
445
|
+
e.setting.options.tip && (d.value = J(e.setting.options.tip)), n.value = e.setting.options.file.limit > 1 ? [] : "", e.setting.options.file.limit > 1 && u(e.setting.name) ? n.value = u(e.setting.name).split(",") : n.value = u(e.setting.name) || n.value, n.value || p(e.setting.name, null);
|
|
446
|
+
const C = (g) => {
|
|
445
447
|
setTimeout(() => {
|
|
446
448
|
p(e.setting.name, n.value.toString());
|
|
447
449
|
}, 100);
|
|
448
450
|
};
|
|
449
|
-
return e.setting.options.validateList.length &&
|
|
450
|
-
const
|
|
451
|
-
let
|
|
452
|
-
return r.indexOf("/oss/") != -1 ?
|
|
451
|
+
return e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(n.value, (g) => {
|
|
452
|
+
const h = g.map((r) => {
|
|
453
|
+
let y = "";
|
|
454
|
+
return r.indexOf("/oss/") != -1 ? y = r : y = `/oss/${r}`, y;
|
|
453
455
|
});
|
|
454
456
|
setTimeout(() => {
|
|
455
|
-
p(e.setting.name,
|
|
457
|
+
p(e.setting.name, h.join(","));
|
|
456
458
|
}, 100);
|
|
457
|
-
}), (
|
|
459
|
+
}), (g, h) => s.value ? (V(), F(a(U), {
|
|
458
460
|
key: 0,
|
|
459
461
|
modelValue: n.value,
|
|
460
|
-
"onUpdate:modelValue":
|
|
462
|
+
"onUpdate:modelValue": h[2] || (h[2] = (r) => n.value = r),
|
|
461
463
|
"margin-bottom": "0",
|
|
462
464
|
prop: e.setting.name,
|
|
463
|
-
label:
|
|
465
|
+
label: g.setting.desc,
|
|
464
466
|
type: "custom",
|
|
465
467
|
helpMessage: d.value,
|
|
466
|
-
required:
|
|
468
|
+
required: v.value,
|
|
467
469
|
col: e.span
|
|
468
470
|
}, {
|
|
469
|
-
default:
|
|
471
|
+
default: R(() => [
|
|
470
472
|
je("div", ua, [
|
|
471
|
-
|
|
473
|
+
N(a(Ke), {
|
|
472
474
|
modelValue: n.value,
|
|
473
|
-
"onUpdate:modelValue":
|
|
474
|
-
status:
|
|
475
|
-
"onUpdate:status":
|
|
475
|
+
"onUpdate:modelValue": h[0] || (h[0] = (r) => n.value = r),
|
|
476
|
+
status: c.value,
|
|
477
|
+
"onUpdate:status": h[1] || (h[1] = (r) => c.value = r),
|
|
476
478
|
maxSize: "6",
|
|
477
|
-
"limit-num":
|
|
479
|
+
"limit-num": g.setting.options.file.limit,
|
|
478
480
|
prop: e.setting.name,
|
|
479
481
|
"service-name": "hotent",
|
|
480
482
|
"accept-video": "",
|
|
481
483
|
"accept-audio": "",
|
|
482
484
|
videoWidth: 420,
|
|
483
485
|
videoHeight: 680,
|
|
484
|
-
disabled: a(
|
|
486
|
+
disabled: a(m),
|
|
485
487
|
"show-image-name": "",
|
|
486
|
-
needDownloadBtn:
|
|
487
|
-
needPreview:
|
|
488
|
-
onImageUpload:
|
|
489
|
-
required:
|
|
488
|
+
needDownloadBtn: g.setting.options.file.allowDownload == !0,
|
|
489
|
+
needPreview: g.setting.options.file.allowPreview == !0,
|
|
490
|
+
onImageUpload: C,
|
|
491
|
+
required: v.value
|
|
490
492
|
}, null, 8, ["modelValue", "status", "limit-num", "prop", "disabled", "needDownloadBtn", "needPreview", "required"])
|
|
491
493
|
])
|
|
492
494
|
]),
|
|
@@ -507,43 +509,43 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
507
509
|
return ((n) => {
|
|
508
510
|
const s = n.length;
|
|
509
511
|
if (s < 6) return n;
|
|
510
|
-
let
|
|
512
|
+
let m = 0;
|
|
511
513
|
switch (s) {
|
|
512
514
|
case 6:
|
|
513
515
|
case 7:
|
|
514
|
-
|
|
516
|
+
m = 1;
|
|
515
517
|
break;
|
|
516
518
|
case 8:
|
|
517
519
|
case 9:
|
|
518
|
-
|
|
520
|
+
m = 2;
|
|
519
521
|
break;
|
|
520
522
|
case 10:
|
|
521
523
|
case 11:
|
|
522
|
-
|
|
524
|
+
m = 3;
|
|
523
525
|
break;
|
|
524
526
|
case 12:
|
|
525
|
-
|
|
527
|
+
m = 4;
|
|
526
528
|
break;
|
|
527
529
|
case 13:
|
|
528
|
-
|
|
530
|
+
m = 5;
|
|
529
531
|
break;
|
|
530
532
|
case 14:
|
|
531
|
-
|
|
533
|
+
m = 6;
|
|
532
534
|
break;
|
|
533
535
|
case 15:
|
|
534
|
-
|
|
536
|
+
m = 7;
|
|
535
537
|
break;
|
|
536
538
|
}
|
|
537
|
-
const
|
|
538
|
-
return n.slice(0,
|
|
539
|
+
const v = m + t.length;
|
|
540
|
+
return n.slice(0, m) + t + n.slice(v);
|
|
539
541
|
})(p) + u;
|
|
540
542
|
}, ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
541
543
|
__proto__: null,
|
|
542
544
|
default: ga
|
|
543
545
|
}, Symbol.toStringTag, { value: "Module" })), me = {}, va = /^\.\/(.+)\/index\.ts$/, qe = /* @__PURE__ */ Object.assign({ "./phone/index.ts": ma });
|
|
544
|
-
var
|
|
546
|
+
var Oe;
|
|
545
547
|
for (const o in qe) {
|
|
546
|
-
const e = qe[o], t = (
|
|
548
|
+
const e = qe[o], t = (Oe = o.match(va)) == null ? void 0 : Oe[1];
|
|
547
549
|
me[t] = e.default;
|
|
548
550
|
}
|
|
549
551
|
const fa = (o, e) => {
|
|
@@ -551,7 +553,7 @@ const fa = (o, e) => {
|
|
|
551
553
|
return e ? ((l = me[o]) == null ? void 0 : l.call(me, e)) ?? e : "-";
|
|
552
554
|
}, ha = {
|
|
553
555
|
name: "input"
|
|
554
|
-
}, ya = /* @__PURE__ */
|
|
556
|
+
}, ya = /* @__PURE__ */ Q({
|
|
555
557
|
...ha,
|
|
556
558
|
props: {
|
|
557
559
|
setting: { default: () => ({
|
|
@@ -567,71 +569,71 @@ const fa = (o, e) => {
|
|
|
567
569
|
store: {}
|
|
568
570
|
},
|
|
569
571
|
setup(o) {
|
|
570
|
-
const e = o, { data: t, showData: l, disabledData: p, setData: u, getData:
|
|
572
|
+
const e = o, { data: t, showData: l, disabledData: p, setData: u, getData: f, setFormRule: w, deleteRule: n, encryptionData: s } = e.store || {}, m = i(""), v = i(!1);
|
|
571
573
|
s.value.length && s.value.forEach((r) => {
|
|
572
|
-
r.name === e.setting.name && (
|
|
574
|
+
r.name === e.setting.name && (v.value = !0);
|
|
573
575
|
});
|
|
574
|
-
const
|
|
575
|
-
!l.value[e.setting.name] && l.value[e.setting.name] != !1 && (l.value[e.setting.name] = !0),
|
|
576
|
+
const c = i(""), d = i(!0);
|
|
577
|
+
!l.value[e.setting.name] && l.value[e.setting.name] != !1 && (l.value[e.setting.name] = !0), L(
|
|
576
578
|
() => l.value,
|
|
577
579
|
() => {
|
|
578
|
-
d.value = l.value[e.setting.name], d.value || (
|
|
580
|
+
d.value = l.value[e.setting.name], d.value || (c.value = "", n(e.setting.name)), d.value && e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList);
|
|
579
581
|
},
|
|
580
582
|
{ deep: !0, immediate: !0 }
|
|
581
|
-
),
|
|
583
|
+
), L(
|
|
582
584
|
() => t.value,
|
|
583
585
|
() => {
|
|
584
|
-
t.value[e.setting.name] && (
|
|
586
|
+
t.value[e.setting.name] && (c.value = t.value[e.setting.name]);
|
|
585
587
|
},
|
|
586
588
|
{ deep: !0 }
|
|
587
589
|
);
|
|
588
|
-
const
|
|
589
|
-
|
|
590
|
-
|
|
590
|
+
const C = p.value[e.setting.name] || !1, g = i(!1);
|
|
591
|
+
W(e.setting.options.validateList).then((r) => {
|
|
592
|
+
g.value = r;
|
|
591
593
|
});
|
|
592
|
-
const
|
|
593
|
-
return e.setting.options.tip && (
|
|
594
|
-
|
|
595
|
-
}, 50), e.setting.options.validateList.length &&
|
|
594
|
+
const h = i();
|
|
595
|
+
return e.setting.options.tip && (h.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
596
|
+
c.value = f(e.setting.name) || e.setting.options.formulasDiyJs || c.value, v && e.isView && (m.value = fa("phone", c.value)), c.value || u(e.setting.name, null);
|
|
597
|
+
}, 50), e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList), L(c, (r) => {
|
|
596
598
|
e.setting.options.dataType === "number" && !isNaN(r) ? u(e.setting.name, Number(r)) : u(e.setting.name, r);
|
|
597
|
-
}), (r,
|
|
599
|
+
}), (r, y) => (V(), Y(
|
|
598
600
|
G,
|
|
599
601
|
null,
|
|
600
602
|
[
|
|
601
|
-
d.value &&
|
|
603
|
+
d.value && v.value && e.isView ? (V(), F(a(U), {
|
|
602
604
|
key: 0,
|
|
603
605
|
col: e.span,
|
|
604
606
|
prop: e.setting.name,
|
|
605
|
-
modelValue:
|
|
606
|
-
"onUpdate:modelValue":
|
|
607
|
+
modelValue: c.value,
|
|
608
|
+
"onUpdate:modelValue": y[1] || (y[1] = (D) => c.value = D),
|
|
607
609
|
label: r.setting.desc,
|
|
608
610
|
type: "custom",
|
|
609
|
-
helpMessage:
|
|
610
|
-
required:
|
|
611
|
+
helpMessage: h.value,
|
|
612
|
+
required: g.value
|
|
611
613
|
}, {
|
|
612
|
-
default:
|
|
613
|
-
|
|
614
|
+
default: R(() => [
|
|
615
|
+
N(a(Ve), {
|
|
614
616
|
placement: "top",
|
|
615
|
-
disabled: !
|
|
616
|
-
content:
|
|
617
|
+
disabled: !c.value,
|
|
618
|
+
content: c.value
|
|
617
619
|
}, {
|
|
618
|
-
default:
|
|
619
|
-
|
|
620
|
-
modelValue:
|
|
621
|
-
"onUpdate:modelValue":
|
|
620
|
+
default: R(() => [
|
|
621
|
+
N(a(_t), {
|
|
622
|
+
modelValue: m.value,
|
|
623
|
+
"onUpdate:modelValue": y[0] || (y[0] = (D) => m.value = D),
|
|
622
624
|
width: r.setting.options.width,
|
|
623
|
-
disabled: r.setting.options.isInputEdit || a(
|
|
625
|
+
disabled: r.setting.options.isInputEdit || a(C),
|
|
624
626
|
isView: r.setting.options.isReadonly || e.isView,
|
|
625
627
|
placeholder: r.setting.options.placeholder
|
|
626
628
|
}, {
|
|
627
|
-
prepend:
|
|
629
|
+
prepend: R(() => [
|
|
628
630
|
ee(
|
|
629
631
|
te(r.setting.options.bindPreAndSufFixjson.preFix),
|
|
630
632
|
1
|
|
631
633
|
/* TEXT */
|
|
632
634
|
)
|
|
633
635
|
]),
|
|
634
|
-
append:
|
|
636
|
+
append: R(() => [
|
|
635
637
|
ee(
|
|
636
638
|
te(r.setting.options.bindPreAndSufFixjson.sufSix),
|
|
637
639
|
1
|
|
@@ -649,22 +651,22 @@ const fa = (o, e) => {
|
|
|
649
651
|
_: 1
|
|
650
652
|
/* STABLE */
|
|
651
653
|
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required"])) : q("v-if", !0),
|
|
652
|
-
d.value && (!
|
|
654
|
+
d.value && (!v.value || !e.isView) ? (V(), F(a(U), {
|
|
653
655
|
key: 1,
|
|
654
656
|
col: e.span,
|
|
655
|
-
modelValue:
|
|
656
|
-
"onUpdate:modelValue":
|
|
657
|
+
modelValue: c.value,
|
|
658
|
+
"onUpdate:modelValue": y[2] || (y[2] = (D) => c.value = D),
|
|
657
659
|
width: r.setting.options.width,
|
|
658
|
-
disabled: r.setting.options.isInputEdit || a(
|
|
660
|
+
disabled: r.setting.options.isInputEdit || a(C),
|
|
659
661
|
isView: r.setting.options.isReadonly || e.isView,
|
|
660
662
|
prop: e.setting.name,
|
|
661
663
|
label: r.setting.desc,
|
|
662
664
|
type: "input",
|
|
663
|
-
helpMessage:
|
|
664
|
-
required:
|
|
665
|
+
helpMessage: h.value,
|
|
666
|
+
required: g.value,
|
|
665
667
|
placeholder: r.setting.options.placeholder
|
|
666
668
|
}, {
|
|
667
|
-
default:
|
|
669
|
+
default: R(() => [
|
|
668
670
|
q(` <DasInput\r
|
|
669
671
|
v-model="inputValue"\r
|
|
670
672
|
>\r
|
|
@@ -685,7 +687,7 @@ const fa = (o, e) => {
|
|
|
685
687
|
default: ya
|
|
686
688
|
}, Symbol.toStringTag, { value: "Module" })), ba = {
|
|
687
689
|
name: "number"
|
|
688
|
-
}, _a = /* @__PURE__ */
|
|
690
|
+
}, _a = /* @__PURE__ */ Q({
|
|
689
691
|
...ba,
|
|
690
692
|
props: {
|
|
691
693
|
setting: { default: () => ({
|
|
@@ -701,28 +703,28 @@ const fa = (o, e) => {
|
|
|
701
703
|
store: {}
|
|
702
704
|
},
|
|
703
705
|
setup(o) {
|
|
704
|
-
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule:
|
|
705
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
706
|
+
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(0), s = i(!0);
|
|
707
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), L(
|
|
706
708
|
() => t.value,
|
|
707
709
|
() => {
|
|
708
|
-
s.value = t.value[e.setting.name], s.value || (n.value = 0,
|
|
710
|
+
s.value = t.value[e.setting.name], s.value || (n.value = 0, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
709
711
|
},
|
|
710
712
|
{ deep: !0, immediate: !0 }
|
|
711
713
|
);
|
|
712
|
-
const
|
|
713
|
-
|
|
714
|
-
|
|
714
|
+
const m = l.value[e.setting.name] || !1, v = i(!1);
|
|
715
|
+
W(e.setting.options.validateList).then((d) => {
|
|
716
|
+
v.value = d;
|
|
715
717
|
});
|
|
716
|
-
const
|
|
717
|
-
return e.setting.options.tip && (
|
|
718
|
+
const c = i();
|
|
719
|
+
return e.setting.options.tip && (c.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
718
720
|
n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
|
|
719
|
-
}, 50), e.setting.options.validateList.length &&
|
|
721
|
+
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(n, (d) => {
|
|
720
722
|
p(e.setting.name, d);
|
|
721
|
-
}), (d,
|
|
723
|
+
}), (d, C) => s.value ? (V(), F(a(U), {
|
|
722
724
|
key: 0,
|
|
723
725
|
col: e.span,
|
|
724
726
|
modelValue: n.value,
|
|
725
|
-
"onUpdate:modelValue":
|
|
727
|
+
"onUpdate:modelValue": C[0] || (C[0] = (g) => n.value = g),
|
|
726
728
|
style: { width: "100%" },
|
|
727
729
|
label: d.setting.desc,
|
|
728
730
|
type: "inputNumber",
|
|
@@ -730,11 +732,11 @@ const fa = (o, e) => {
|
|
|
730
732
|
max: d.setting.options.max,
|
|
731
733
|
min: d.setting.options.min,
|
|
732
734
|
step: d.setting.options.step,
|
|
733
|
-
disabled: a(
|
|
735
|
+
disabled: a(m),
|
|
734
736
|
isView: e.isView,
|
|
735
737
|
precision: d.setting.options.decimalDigits,
|
|
736
|
-
helpMessage:
|
|
737
|
-
required:
|
|
738
|
+
helpMessage: c.value,
|
|
739
|
+
required: v.value
|
|
738
740
|
}, null, 8, ["col", "modelValue", "label", "prop", "max", "min", "step", "disabled", "isView", "precision", "helpMessage", "required"])) : q("v-if", !0);
|
|
739
741
|
}
|
|
740
742
|
}), Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -742,7 +744,7 @@ const fa = (o, e) => {
|
|
|
742
744
|
default: _a
|
|
743
745
|
}, Symbol.toStringTag, { value: "Module" })), wa = {
|
|
744
746
|
name: "radio"
|
|
745
|
-
}, Ca = /* @__PURE__ */
|
|
747
|
+
}, Ca = /* @__PURE__ */ Q({
|
|
746
748
|
...wa,
|
|
747
749
|
props: {
|
|
748
750
|
setting: { default: () => ({
|
|
@@ -760,53 +762,53 @@ const fa = (o, e) => {
|
|
|
760
762
|
store: {}
|
|
761
763
|
},
|
|
762
764
|
setup(o) {
|
|
763
|
-
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule:
|
|
764
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
765
|
+
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(null), s = i(!0);
|
|
766
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), L(
|
|
765
767
|
() => t.value,
|
|
766
768
|
() => {
|
|
767
|
-
s.value = t.value[e.setting.name], s.value || (n.value = null,
|
|
769
|
+
s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
768
770
|
},
|
|
769
771
|
{ deep: !0, immediate: !0 }
|
|
770
772
|
);
|
|
771
|
-
const
|
|
772
|
-
|
|
773
|
-
|
|
773
|
+
const m = l.value[e.setting.name] || !1, v = i(!1);
|
|
774
|
+
W(e.setting.options.validateList).then((r) => {
|
|
775
|
+
v.value = r;
|
|
774
776
|
});
|
|
775
|
-
const
|
|
777
|
+
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", C = i([]);
|
|
776
778
|
e.setting.options.customQuery.alias ? se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((r) => {
|
|
777
|
-
|
|
778
|
-
}) :
|
|
779
|
-
const
|
|
780
|
-
e.setting.options.tip && (
|
|
779
|
+
C.value = r;
|
|
780
|
+
}) : C.value = e.setting.options.options;
|
|
781
|
+
const g = i();
|
|
782
|
+
e.setting.options.tip && (g.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
781
783
|
n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
|
|
782
|
-
}, 50), e.setting.options.validateList.length &&
|
|
784
|
+
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(n, (r) => {
|
|
783
785
|
p(e.setting.name, r);
|
|
784
786
|
});
|
|
785
|
-
const
|
|
786
|
-
e.setting.options.linkage.length && e.setting.options.linkage.forEach((
|
|
787
|
-
if (
|
|
788
|
-
const
|
|
789
|
-
t.value[
|
|
787
|
+
const h = (r) => {
|
|
788
|
+
e.setting.options.linkage.length && e.setting.options.linkage.forEach((y) => {
|
|
789
|
+
if (y.value === r) {
|
|
790
|
+
const b = y.effect[0].target.split(".")[2];
|
|
791
|
+
t.value[b] = y.effect[0].type === "w";
|
|
790
792
|
}
|
|
791
793
|
});
|
|
792
794
|
};
|
|
793
|
-
return (r,
|
|
795
|
+
return (r, y) => s.value ? (V(), F(a(U), {
|
|
794
796
|
key: 0,
|
|
795
|
-
onChange:
|
|
797
|
+
onChange: h,
|
|
796
798
|
col: e.span,
|
|
797
799
|
modelValue: n.value,
|
|
798
|
-
"onUpdate:modelValue":
|
|
800
|
+
"onUpdate:modelValue": y[0] || (y[0] = (D) => n.value = D),
|
|
799
801
|
layout: r.setting.options.inline ? "vertical" : "default",
|
|
800
802
|
label: r.setting.desc,
|
|
801
803
|
type: "radio",
|
|
802
804
|
prop: e.setting.name,
|
|
803
|
-
options:
|
|
805
|
+
options: C.value,
|
|
804
806
|
isView: e.isView,
|
|
805
|
-
optionsValueKey: a(
|
|
807
|
+
optionsValueKey: a(c),
|
|
806
808
|
optionsLabelKey: a(d),
|
|
807
|
-
helpMessage:
|
|
808
|
-
disabled: a(
|
|
809
|
-
required:
|
|
809
|
+
helpMessage: g.value,
|
|
810
|
+
disabled: a(m),
|
|
811
|
+
required: v.value,
|
|
810
812
|
isSetTimeout: !0
|
|
811
813
|
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : q("v-if", !0);
|
|
812
814
|
}
|
|
@@ -815,7 +817,7 @@ const fa = (o, e) => {
|
|
|
815
817
|
default: Ca
|
|
816
818
|
}, Symbol.toStringTag, { value: "Module" })), Da = {
|
|
817
819
|
name: "select"
|
|
818
|
-
}, Va = /* @__PURE__ */
|
|
820
|
+
}, Va = /* @__PURE__ */ Q({
|
|
819
821
|
...Da,
|
|
820
822
|
props: {
|
|
821
823
|
setting: { default: () => ({
|
|
@@ -831,88 +833,92 @@ const fa = (o, e) => {
|
|
|
831
833
|
store: {}
|
|
832
834
|
},
|
|
833
835
|
setup(o) {
|
|
834
|
-
|
|
835
|
-
|
|
836
|
+
var y, D;
|
|
837
|
+
const e = o, { showData: t, disabledData: l, linkData: p, setData: u, getData: f, setFormRule: w, deleteRule: n } = e.store || {}, s = i(), m = i(!0);
|
|
838
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), L(
|
|
836
839
|
() => t.value,
|
|
837
840
|
() => {
|
|
838
|
-
|
|
841
|
+
m.value = t.value[e.setting.name], m.value || (s.value = null, n(e.setting.name)), m.value && e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList);
|
|
839
842
|
},
|
|
840
843
|
{ deep: !0, immediate: !0 }
|
|
841
|
-
),
|
|
844
|
+
), L(
|
|
842
845
|
() => p.value,
|
|
843
846
|
() => {
|
|
844
|
-
p.value.data.forEach((
|
|
845
|
-
if (e.setting.options.customQuery.alias && e.setting.options.customQuery.alias ===
|
|
847
|
+
p.value.data.forEach((b) => {
|
|
848
|
+
if (e.setting.options.customQuery.alias && e.setting.options.customQuery.alias === b.alias) {
|
|
846
849
|
s.value = null;
|
|
847
|
-
const
|
|
848
|
-
let
|
|
849
|
-
|
|
850
|
-
const
|
|
851
|
-
|
|
850
|
+
const S = b.conditionfield.filter((k) => k.defaultType == 1);
|
|
851
|
+
let z = {};
|
|
852
|
+
S.forEach((k) => {
|
|
853
|
+
const j = k.fieldPath.split("."), T = j[j.length - 1];
|
|
854
|
+
z[k.field] = f(T);
|
|
852
855
|
}), se(
|
|
853
856
|
e.setting.options.customQuery.alias,
|
|
854
857
|
e.setting.options.customQuery.conditionfield,
|
|
855
|
-
|
|
858
|
+
z
|
|
856
859
|
).then((k) => {
|
|
857
|
-
|
|
860
|
+
g.value = k;
|
|
858
861
|
});
|
|
859
862
|
}
|
|
860
863
|
});
|
|
861
864
|
},
|
|
862
865
|
{ deep: !0 }
|
|
863
866
|
);
|
|
864
|
-
const
|
|
865
|
-
|
|
866
|
-
|
|
867
|
+
const v = l.value[e.setting.name] || !1, c = i(!1);
|
|
868
|
+
W(e.setting.options.validateList).then((b) => {
|
|
869
|
+
c.value = b;
|
|
867
870
|
});
|
|
868
|
-
const d = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key",
|
|
871
|
+
const d = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", C = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", g = i([]);
|
|
869
872
|
if (e.setting.options.customQuery.alias) {
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
(
|
|
877
|
-
|
|
873
|
+
let b = (D = (y = e.setting.options) == null ? void 0 : y.customQuery) == null ? void 0 : D.conditionfield;
|
|
874
|
+
typeof b == "string" && (b = JSON.parse(b));
|
|
875
|
+
const S = b.filter((k) => k.defaultType == 1);
|
|
876
|
+
let z = {};
|
|
877
|
+
S.forEach((k) => {
|
|
878
|
+
var E;
|
|
879
|
+
const j = (E = k.fieldPath) == null ? void 0 : E.split("."), T = j[j.length - 1];
|
|
880
|
+
z[k.field] = f(T);
|
|
881
|
+
}), se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield, z).then(
|
|
882
|
+
(k) => {
|
|
883
|
+
g.value = k;
|
|
878
884
|
}
|
|
879
885
|
);
|
|
880
886
|
} else
|
|
881
|
-
|
|
882
|
-
const
|
|
883
|
-
e.setting.options.tip && (
|
|
884
|
-
e.setting.options.multiple && (
|
|
885
|
-
}, 50), e.setting.options.validateList.length &&
|
|
886
|
-
e.setting.options.multiple ? u(e.setting.name,
|
|
887
|
+
g.value = e.setting.options.options;
|
|
888
|
+
const h = i();
|
|
889
|
+
e.setting.options.tip && (h.value = J(e.setting.options.tip)), s.value = e.setting.options.multiple ? [] : null, setTimeout(() => {
|
|
890
|
+
e.setting.options.multiple && (f(e.setting.name) || e.setting.options.formulasDiyJs) ? (f(e.setting.name) && (s.value = f(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (s.value = e.setting.options.formulasDiyJs.split(","))) : s.value = f(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || u(e.setting.name, null);
|
|
891
|
+
}, 50), e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList), L(s, (b) => {
|
|
892
|
+
e.setting.options.multiple ? u(e.setting.name, b.toString()) : u(e.setting.name, b);
|
|
887
893
|
});
|
|
888
|
-
const r = (
|
|
889
|
-
e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((
|
|
890
|
-
if (
|
|
891
|
-
const k =
|
|
892
|
-
t.value[k] =
|
|
894
|
+
const r = (b) => {
|
|
895
|
+
e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((S) => {
|
|
896
|
+
if (S.value === b) {
|
|
897
|
+
const k = S.effect[0].target.split(".")[2];
|
|
898
|
+
t.value[k] = S.effect[0].type === "w";
|
|
893
899
|
}
|
|
894
900
|
});
|
|
895
901
|
};
|
|
896
|
-
return (
|
|
902
|
+
return (b, S) => m.value ? (V(), F(a(U), {
|
|
897
903
|
key: 0,
|
|
898
904
|
col: e.span,
|
|
899
905
|
modelValue: s.value,
|
|
900
|
-
"onUpdate:modelValue":
|
|
901
|
-
label:
|
|
906
|
+
"onUpdate:modelValue": S[0] || (S[0] = (z) => s.value = z),
|
|
907
|
+
label: b.setting.desc,
|
|
902
908
|
onChange: r,
|
|
903
909
|
type: "select",
|
|
904
910
|
prop: e.setting.name,
|
|
905
|
-
placeholder:
|
|
906
|
-
mode:
|
|
907
|
-
showSearch:
|
|
911
|
+
placeholder: b.setting.options.placeholder,
|
|
912
|
+
mode: b.setting.options.multiple ? "tags" : "combobox",
|
|
913
|
+
showSearch: b.setting.options.filterable,
|
|
908
914
|
allowClear: !0,
|
|
909
915
|
isView: e.isView,
|
|
910
|
-
options:
|
|
916
|
+
options: g.value,
|
|
911
917
|
optionsValueKey: a(d),
|
|
912
|
-
optionsLabelKey: a(
|
|
913
|
-
helpMessage:
|
|
914
|
-
disabled: a(
|
|
915
|
-
required:
|
|
918
|
+
optionsLabelKey: a(C),
|
|
919
|
+
helpMessage: h.value,
|
|
920
|
+
disabled: a(v),
|
|
921
|
+
required: c.value
|
|
916
922
|
}, null, 8, ["col", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : q("v-if", !0);
|
|
917
923
|
}
|
|
918
924
|
}), tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -920,7 +926,7 @@ const fa = (o, e) => {
|
|
|
920
926
|
default: Va
|
|
921
927
|
}, Symbol.toStringTag, { value: "Module" })), ka = (o, e, t) => {
|
|
922
928
|
var ue, ne, pe, de, ce;
|
|
923
|
-
const l =
|
|
929
|
+
const l = Be().id, p = i(!1), u = (ce = (de = (pe = (ne = (ue = o == null ? void 0 : o.options) == null ? void 0 : ue.selector) == null ? void 0 : ne.type) == null ? void 0 : pe.alias) == null ? void 0 : de.replace("eip-", "")) == null ? void 0 : ce.replace("-selector", ""), f = i([]), w = i(""), n = i(""), s = {
|
|
924
930
|
user: B("搜索姓名/账号/手机号").value,
|
|
925
931
|
org: B("搜索组织名称/组织编码").value,
|
|
926
932
|
role: B("搜索角色名称").value,
|
|
@@ -928,7 +934,7 @@ const fa = (o, e) => {
|
|
|
928
934
|
post: B("搜索岗位名称/岗位编码").value,
|
|
929
935
|
supplier: B("搜索供应商编码/名称").value,
|
|
930
936
|
source: B("搜索单据编码/申请人").value
|
|
931
|
-
},
|
|
937
|
+
}, m = {
|
|
932
938
|
user: B("添加用户").value,
|
|
933
939
|
org: B("组织选择器").value,
|
|
934
940
|
role: B("角色选择器").value,
|
|
@@ -936,7 +942,7 @@ const fa = (o, e) => {
|
|
|
936
942
|
post: B("岗位选择器").value,
|
|
937
943
|
supplier: B("选择供应商").value,
|
|
938
944
|
source: B("选择源单").value
|
|
939
|
-
},
|
|
945
|
+
}, v = {
|
|
940
946
|
user: "id",
|
|
941
947
|
org: "id",
|
|
942
948
|
role: "id",
|
|
@@ -944,25 +950,25 @@ const fa = (o, e) => {
|
|
|
944
950
|
post: "stationId",
|
|
945
951
|
supplier: "id",
|
|
946
952
|
source: "code"
|
|
947
|
-
},
|
|
953
|
+
}, c = {
|
|
948
954
|
1: B("正常").value,
|
|
949
955
|
2: B("锁定").value,
|
|
950
956
|
3: B("禁用").value
|
|
951
957
|
}, d = {
|
|
952
958
|
0: B("普通").value,
|
|
953
959
|
1: B("管理员").value
|
|
954
|
-
},
|
|
960
|
+
}, C = {
|
|
955
961
|
0: B("无效").value,
|
|
956
962
|
1: B("有效").value
|
|
957
|
-
},
|
|
963
|
+
}, g = {
|
|
958
964
|
user: jt,
|
|
959
965
|
org: ye,
|
|
960
|
-
role:
|
|
966
|
+
role: Bt,
|
|
961
967
|
job: ye,
|
|
962
968
|
post: ye,
|
|
963
969
|
supplier: Ht
|
|
964
|
-
},
|
|
965
|
-
var
|
|
970
|
+
}, h = m[u], r = i({}), y = i([]), D = () => {
|
|
971
|
+
var O, x;
|
|
966
972
|
u === "supplier" ? (r.value = {
|
|
967
973
|
left: !1,
|
|
968
974
|
content: {
|
|
@@ -991,7 +997,7 @@ const fa = (o, e) => {
|
|
|
991
997
|
}
|
|
992
998
|
},
|
|
993
999
|
right: !1
|
|
994
|
-
},
|
|
1000
|
+
}, z(), S()) : u === "source" ? (r.value = {
|
|
995
1001
|
left: !1,
|
|
996
1002
|
content: {
|
|
997
1003
|
api: Zt,
|
|
@@ -1009,7 +1015,7 @@ const fa = (o, e) => {
|
|
|
1009
1015
|
}
|
|
1010
1016
|
},
|
|
1011
1017
|
right: !1
|
|
1012
|
-
},
|
|
1018
|
+
}, b()) : u === "org" ? (r.value = {
|
|
1013
1019
|
left: !1,
|
|
1014
1020
|
content: {
|
|
1015
1021
|
api: Et,
|
|
@@ -1020,7 +1026,7 @@ const fa = (o, e) => {
|
|
|
1020
1026
|
data: []
|
|
1021
1027
|
}
|
|
1022
1028
|
}
|
|
1023
|
-
},
|
|
1029
|
+
}, b()) : r.value = {
|
|
1024
1030
|
left: {
|
|
1025
1031
|
api: qt,
|
|
1026
1032
|
params: {
|
|
@@ -1039,7 +1045,7 @@ const fa = (o, e) => {
|
|
|
1039
1045
|
}
|
|
1040
1046
|
}
|
|
1041
1047
|
}, u === "user" && (r.value.content = {
|
|
1042
|
-
api:
|
|
1048
|
+
api: Ot,
|
|
1043
1049
|
searchKey: "groupId",
|
|
1044
1050
|
params: {
|
|
1045
1051
|
status: 1,
|
|
@@ -1048,8 +1054,8 @@ const fa = (o, e) => {
|
|
|
1048
1054
|
selectListProps: {
|
|
1049
1055
|
data: []
|
|
1050
1056
|
}
|
|
1051
|
-
},
|
|
1052
|
-
api:
|
|
1057
|
+
}, b()), u === "role" && (r.value.content = {
|
|
1058
|
+
api: Kt,
|
|
1053
1059
|
searchKey: "orgId",
|
|
1054
1060
|
params: {
|
|
1055
1061
|
status: 1
|
|
@@ -1057,7 +1063,7 @@ const fa = (o, e) => {
|
|
|
1057
1063
|
selectListProps: {
|
|
1058
1064
|
data: []
|
|
1059
1065
|
}
|
|
1060
|
-
},
|
|
1066
|
+
}, b()), u === "job" && (r.value.content = {
|
|
1061
1067
|
api: Qt,
|
|
1062
1068
|
searchKey: "groupId",
|
|
1063
1069
|
props: {
|
|
@@ -1066,7 +1072,7 @@ const fa = (o, e) => {
|
|
|
1066
1072
|
selectListProps: {
|
|
1067
1073
|
data: []
|
|
1068
1074
|
}
|
|
1069
|
-
},
|
|
1075
|
+
}, b()), u === "post" && (r.value.content = {
|
|
1070
1076
|
api: At,
|
|
1071
1077
|
searchKey: "groupId",
|
|
1072
1078
|
props: {
|
|
@@ -1075,9 +1081,9 @@ const fa = (o, e) => {
|
|
|
1075
1081
|
selectListProps: {
|
|
1076
1082
|
data: []
|
|
1077
1083
|
}
|
|
1078
|
-
},
|
|
1079
|
-
},
|
|
1080
|
-
|
|
1084
|
+
}, b()), r.value.content.multiple = u === "supplier" || u === "source" ? !1 : !((x = (O = o == null ? void 0 : o.options) == null ? void 0 : O.selector) != null && x.isSingle);
|
|
1085
|
+
}, b = async () => {
|
|
1086
|
+
y.value = [
|
|
1081
1087
|
{
|
|
1082
1088
|
type: "searchInput",
|
|
1083
1089
|
key: "inputtKey",
|
|
@@ -1090,8 +1096,8 @@ const fa = (o, e) => {
|
|
|
1090
1096
|
size: "small"
|
|
1091
1097
|
}
|
|
1092
1098
|
];
|
|
1093
|
-
},
|
|
1094
|
-
|
|
1099
|
+
}, S = async () => {
|
|
1100
|
+
y.value = [
|
|
1095
1101
|
{
|
|
1096
1102
|
type: "searchInput",
|
|
1097
1103
|
key: "inputtKey",
|
|
@@ -1117,25 +1123,25 @@ const fa = (o, e) => {
|
|
|
1117
1123
|
allowClear: !0
|
|
1118
1124
|
}
|
|
1119
1125
|
];
|
|
1120
|
-
},
|
|
1121
|
-
const
|
|
1126
|
+
}, z = async () => {
|
|
1127
|
+
const O = {
|
|
1122
1128
|
name: "",
|
|
1123
1129
|
published: 1
|
|
1124
|
-
}, [
|
|
1125
|
-
|
|
1126
|
-
},
|
|
1127
|
-
var
|
|
1128
|
-
|
|
1129
|
-
let
|
|
1130
|
-
r.value.content.selectListProps.data = (
|
|
1130
|
+
}, [x, K] = await Wt(O).run();
|
|
1131
|
+
x || (y.value[1].options = K);
|
|
1132
|
+
}, k = () => {
|
|
1133
|
+
var x;
|
|
1134
|
+
w.value = "", p.value = !0;
|
|
1135
|
+
let O = v[u];
|
|
1136
|
+
r.value.content.selectListProps.data = (x = f == null ? void 0 : f.value) == null ? void 0 : x.map((K) => ({ name: K == null ? void 0 : K.label, [O]: K == null ? void 0 : K.value }));
|
|
1131
1137
|
};
|
|
1132
|
-
|
|
1133
|
-
const
|
|
1134
|
-
var
|
|
1138
|
+
D();
|
|
1139
|
+
const j = async () => {
|
|
1140
|
+
var O, x, K, $, A, P, M, oe, Ne, Le, ze, Me, Te, Re, $e, Pe, Fe;
|
|
1135
1141
|
r.value.content.params = {
|
|
1136
|
-
...(
|
|
1142
|
+
...(x = (O = r == null ? void 0 : r.value) == null ? void 0 : O.content) == null ? void 0 : x.params,
|
|
1137
1143
|
pageIndex: 1
|
|
1138
|
-
}, (u === "user" || u === "org" || u === "post" || u === "role" || u === "job") && (r.value.content.params.name = (
|
|
1144
|
+
}, (u === "user" || u === "org" || u === "post" || u === "role" || u === "job") && (r.value.content.params.name = (K = y == null ? void 0 : y.value[0]) == null ? void 0 : K.value), u === "source" && (r.value.content.params.key = ($ = y == null ? void 0 : y.value[0]) == null ? void 0 : $.value), u === "supplier" && (r.value.content.params.querys = [
|
|
1139
1145
|
{
|
|
1140
1146
|
property: "orgId",
|
|
1141
1147
|
value: l,
|
|
@@ -1143,80 +1149,80 @@ const fa = (o, e) => {
|
|
|
1143
1149
|
relation: "AND",
|
|
1144
1150
|
operation: "EQUAL"
|
|
1145
1151
|
}
|
|
1146
|
-
], (
|
|
1152
|
+
], (A = y == null ? void 0 : y.value[0]) != null && A.value && (r.value.content.params.querys = (ze = (oe = (M = (P = r == null ? void 0 : r.value) == null ? void 0 : P.content) == null ? void 0 : M.params) == null ? void 0 : oe.querys) == null ? void 0 : ze.concat([
|
|
1147
1153
|
{
|
|
1148
1154
|
property: "name",
|
|
1149
|
-
value: (Ne =
|
|
1155
|
+
value: (Ne = y == null ? void 0 : y.value[0]) == null ? void 0 : Ne.value,
|
|
1150
1156
|
group: "merge",
|
|
1151
1157
|
relation: "OR",
|
|
1152
1158
|
operation: "LIKE"
|
|
1153
1159
|
},
|
|
1154
1160
|
{
|
|
1155
1161
|
property: "code",
|
|
1156
|
-
value: (Le =
|
|
1162
|
+
value: (Le = y == null ? void 0 : y.value[0]) == null ? void 0 : Le.value,
|
|
1157
1163
|
group: "merge",
|
|
1158
1164
|
relation: "OR",
|
|
1159
1165
|
operation: "LIKE"
|
|
1160
1166
|
}
|
|
1161
|
-
])), (Me =
|
|
1167
|
+
])), (Me = y == null ? void 0 : y.value[1]) != null && Me.value && (r.value.content.params.querys = (Fe = ($e = (Re = (Te = r == null ? void 0 : r.value) == null ? void 0 : Te.content) == null ? void 0 : Re.params) == null ? void 0 : $e.querys) == null ? void 0 : Fe.concat([
|
|
1162
1168
|
{
|
|
1163
1169
|
property: "classificationId",
|
|
1164
|
-
value: (Pe =
|
|
1170
|
+
value: (Pe = y == null ? void 0 : y.value[1]) == null ? void 0 : Pe.value,
|
|
1165
1171
|
group: "quick",
|
|
1166
1172
|
relation: "AND",
|
|
1167
1173
|
operation: "EQUAL"
|
|
1168
1174
|
}
|
|
1169
1175
|
])));
|
|
1170
1176
|
};
|
|
1171
|
-
|
|
1177
|
+
L(
|
|
1172
1178
|
() => p == null ? void 0 : p.value,
|
|
1173
|
-
(
|
|
1174
|
-
|
|
1179
|
+
(O) => {
|
|
1180
|
+
O || T();
|
|
1175
1181
|
}
|
|
1176
1182
|
);
|
|
1177
|
-
const
|
|
1178
|
-
u === "supplier" ? (
|
|
1183
|
+
const T = async () => {
|
|
1184
|
+
u === "supplier" ? (y.value[0].value = "", y.value[1].value = void 0) : (u === "org" || u === "user" || u === "source" || u === "post" || u === "role" || u === "job") && (y.value[0].value = ""), D();
|
|
1179
1185
|
};
|
|
1180
1186
|
return {
|
|
1181
1187
|
dialogVisible: p,
|
|
1182
|
-
title:
|
|
1183
|
-
searchName:
|
|
1188
|
+
title: h,
|
|
1189
|
+
searchName: w,
|
|
1184
1190
|
selectorType: u,
|
|
1185
|
-
selectOptions:
|
|
1191
|
+
selectOptions: f,
|
|
1186
1192
|
tableOptions: r,
|
|
1187
|
-
userStatusMap:
|
|
1193
|
+
userStatusMap: c,
|
|
1188
1194
|
roleTypeMap: d,
|
|
1189
|
-
roleStatusMap:
|
|
1190
|
-
openDialog:
|
|
1191
|
-
confirm: (
|
|
1192
|
-
var
|
|
1193
|
-
let
|
|
1194
|
-
|
|
1195
|
+
roleStatusMap: C,
|
|
1196
|
+
openDialog: k,
|
|
1197
|
+
confirm: (O) => {
|
|
1198
|
+
var K;
|
|
1199
|
+
let x = v[u];
|
|
1200
|
+
f.value = O == null ? void 0 : O.map(($) => ({ label: ($ == null ? void 0 : $.name) || ($ == null ? void 0 : $.code), value: $[x] })), u === "supplier" && (n.value = (K = O[0]) == null ? void 0 : K.linkmanPhone);
|
|
1195
1201
|
},
|
|
1196
|
-
getDetail: async (
|
|
1197
|
-
if (!
|
|
1198
|
-
const
|
|
1199
|
-
let
|
|
1200
|
-
const
|
|
1202
|
+
getDetail: async (O) => {
|
|
1203
|
+
if (!O) return;
|
|
1204
|
+
const x = g[u];
|
|
1205
|
+
let K = {};
|
|
1206
|
+
const $ = O == null ? void 0 : O.split(",");
|
|
1201
1207
|
if (u === "source") {
|
|
1202
|
-
|
|
1208
|
+
f.value = [
|
|
1203
1209
|
{
|
|
1204
|
-
label:
|
|
1205
|
-
value:
|
|
1210
|
+
label: O,
|
|
1211
|
+
value: O
|
|
1206
1212
|
}
|
|
1207
1213
|
];
|
|
1208
1214
|
return;
|
|
1209
|
-
} else u === "user" ?
|
|
1210
|
-
const [
|
|
1211
|
-
|
|
1215
|
+
} else u === "user" ? K.userIds = $ : u === "role" ? K.ids = $ : u === "supplier" ? K.id = $ : K = $;
|
|
1216
|
+
const [A, P] = await x(K).run();
|
|
1217
|
+
A || (u === "supplier" ? f.value = [
|
|
1212
1218
|
{
|
|
1213
1219
|
label: (P == null ? void 0 : P.name) || (P == null ? void 0 : P.code),
|
|
1214
1220
|
value: P == null ? void 0 : P.id
|
|
1215
1221
|
}
|
|
1216
|
-
] :
|
|
1222
|
+
] : f.value = P == null ? void 0 : P.map((M) => ({ label: (M == null ? void 0 : M.name) || (M == null ? void 0 : M.code), value: M == null ? void 0 : M.id })));
|
|
1217
1223
|
},
|
|
1218
|
-
searchData:
|
|
1219
|
-
searchOptions:
|
|
1224
|
+
searchData: j,
|
|
1225
|
+
searchOptions: y,
|
|
1220
1226
|
linkmanPhone: n
|
|
1221
1227
|
};
|
|
1222
1228
|
}, Sa = () => {
|
|
@@ -1233,34 +1239,34 @@ const fa = (o, e) => {
|
|
|
1233
1239
|
let s = {
|
|
1234
1240
|
pageSize: 1e4,
|
|
1235
1241
|
pageIndex: 1,
|
|
1236
|
-
projectId:
|
|
1242
|
+
projectId: Be().id,
|
|
1237
1243
|
//项目id
|
|
1238
1244
|
spaceId: ""
|
|
1239
1245
|
// orgId:getProjectInfo().id
|
|
1240
1246
|
};
|
|
1241
1247
|
s.spaceId = n != null && n.id ? n.id : "";
|
|
1242
|
-
let
|
|
1243
|
-
const [
|
|
1244
|
-
return
|
|
1248
|
+
let m = Ut;
|
|
1249
|
+
const [v, c] = await m(s).run();
|
|
1250
|
+
return v ? {} : c;
|
|
1245
1251
|
},
|
|
1246
1252
|
filterSpaceTree: async (n) => {
|
|
1247
1253
|
if (!n) return [];
|
|
1248
1254
|
let s = xt;
|
|
1249
|
-
const
|
|
1255
|
+
const m = {
|
|
1250
1256
|
name: n
|
|
1251
|
-
}, [
|
|
1252
|
-
return
|
|
1257
|
+
}, [v, c] = await s(m).run();
|
|
1258
|
+
return v ? {} : (c.forEach((d) => {
|
|
1253
1259
|
d.path.startsWith("/0") && (d.path = d.path.slice(2) + `/${d.id}`), d._name = d.nodeName ? d.nodeName : d.name;
|
|
1254
|
-
}),
|
|
1260
|
+
}), c);
|
|
1255
1261
|
},
|
|
1256
1262
|
getSpaceDetail: async (n) => {
|
|
1257
|
-
const [s,
|
|
1258
|
-
s || (o.value =
|
|
1263
|
+
const [s, m] = await Yt().run({ spaceId: n });
|
|
1264
|
+
s || (o.value = m.path);
|
|
1259
1265
|
}
|
|
1260
1266
|
};
|
|
1261
1267
|
}, Na = { class: "table-search-process-top" }, La = {
|
|
1262
1268
|
name: "selector"
|
|
1263
|
-
}, za = /* @__PURE__ */
|
|
1269
|
+
}, za = /* @__PURE__ */ Q({
|
|
1264
1270
|
...La,
|
|
1265
1271
|
props: {
|
|
1266
1272
|
setting: { default: () => ({
|
|
@@ -1276,119 +1282,119 @@ const fa = (o, e) => {
|
|
|
1276
1282
|
store: {}
|
|
1277
1283
|
},
|
|
1278
1284
|
setup(o) {
|
|
1279
|
-
const e = o, { showData: t, setData: l, getData: p, flowKey: u, setFormRule:
|
|
1280
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1285
|
+
const e = o, { showData: t, setData: l, getData: p, flowKey: u, setFormRule: f, deleteRule: w, disabledData: n } = e.store || {}, s = i(""), m = i(!0);
|
|
1286
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), L(
|
|
1281
1287
|
() => t.value,
|
|
1282
1288
|
() => {
|
|
1283
|
-
|
|
1289
|
+
m.value = t.value[e.setting.name], m.value || (s.value = "", r.value = [], w(e.setting.name)), m.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
1284
1290
|
},
|
|
1285
1291
|
{ deep: !0, immediate: !0 }
|
|
1286
1292
|
);
|
|
1287
|
-
const
|
|
1288
|
-
dialogVisible:
|
|
1293
|
+
const v = n.value[e.setting.name] || !1, {
|
|
1294
|
+
dialogVisible: c,
|
|
1289
1295
|
title: d,
|
|
1290
|
-
searchName:
|
|
1291
|
-
tableOptions:
|
|
1292
|
-
selectorType:
|
|
1296
|
+
searchName: C,
|
|
1297
|
+
tableOptions: g,
|
|
1298
|
+
selectorType: h,
|
|
1293
1299
|
selectOptions: r,
|
|
1294
|
-
userStatusMap:
|
|
1295
|
-
roleTypeMap:
|
|
1296
|
-
roleStatusMap:
|
|
1297
|
-
openDialog:
|
|
1298
|
-
confirm:
|
|
1299
|
-
getDetail:
|
|
1300
|
-
searchData:
|
|
1301
|
-
searchOptions:
|
|
1302
|
-
linkmanPhone:
|
|
1303
|
-
} = ka(e.setting, u, s), { spacePath:
|
|
1304
|
-
|
|
1305
|
-
|
|
1300
|
+
userStatusMap: y,
|
|
1301
|
+
roleTypeMap: D,
|
|
1302
|
+
roleStatusMap: b,
|
|
1303
|
+
openDialog: S,
|
|
1304
|
+
confirm: z,
|
|
1305
|
+
getDetail: k,
|
|
1306
|
+
searchData: j,
|
|
1307
|
+
searchOptions: T,
|
|
1308
|
+
linkmanPhone: E
|
|
1309
|
+
} = ka(e.setting, u, s), { spacePath: H, spaceName: ue, searchSpace: ne, changeSpace: pe, spaceLoad: de, filterSpaceTree: ce, getSpaceDetail: O } = Sa(), x = i(!1);
|
|
1310
|
+
W(e.setting.options.validateList).then(($) => {
|
|
1311
|
+
x.value = $;
|
|
1306
1312
|
});
|
|
1307
|
-
const
|
|
1308
|
-
return e.setting.options.tip && (
|
|
1309
|
-
l(e.setting.name,
|
|
1310
|
-
}),
|
|
1311
|
-
l(e.setting.options.selector.type.positionName,
|
|
1312
|
-
})) :
|
|
1313
|
-
l(e.setting.name,
|
|
1314
|
-
}),
|
|
1315
|
-
var
|
|
1316
|
-
((oe = (
|
|
1317
|
-
})) : (s.value = p(e.setting.name) ? p(e.setting.name) : s.value, s.value &&
|
|
1318
|
-
s.value =
|
|
1319
|
-
})), (
|
|
1313
|
+
const K = i();
|
|
1314
|
+
return e.setting.options.tip && (K.value = J(e.setting.options.tip)), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), h == "position" ? (s.value = p(e.setting.name) ? p(e.setting.name) : s.value, s.value && O(s.value), s.value || l(e.setting.name, null), L(s, ($) => {
|
|
1315
|
+
l(e.setting.name, $);
|
|
1316
|
+
}), L(ue, ($) => {
|
|
1317
|
+
l(e.setting.options.selector.type.positionName, $);
|
|
1318
|
+
})) : h == "supplier" ? (s.value = p(e.setting.name) ? [p(e.setting.name)] : [s.value], s.value && k(p(e.setting.name)), L(s, ($) => {
|
|
1319
|
+
l(e.setting.name, $ == null ? void 0 : $.toString());
|
|
1320
|
+
}), L(E, ($) => {
|
|
1321
|
+
var A, P, M, oe;
|
|
1322
|
+
((oe = (M = (P = (A = e == null ? void 0 : e.setting) == null ? void 0 : A.options) == null ? void 0 : P.selector) == null ? void 0 : M.type) == null ? void 0 : oe.supplierPhone) !== void 0 && l(e.setting.options.selector.type.supplierPhone, $);
|
|
1323
|
+
})) : (s.value = p(e.setting.name) ? p(e.setting.name) : s.value, s.value && k(s.value), s.value.length || l(e.setting.name, null), L(r, ($) => {
|
|
1324
|
+
s.value = $.map((A) => A.value).toString(), l(e.setting.name, s.value);
|
|
1325
|
+
})), ($, A) => (V(), Y(
|
|
1320
1326
|
G,
|
|
1321
1327
|
null,
|
|
1322
1328
|
[
|
|
1323
|
-
|
|
1329
|
+
m.value && a(h) != "position" ? (V(), F(a(U), {
|
|
1324
1330
|
key: 0,
|
|
1325
1331
|
col: e.span,
|
|
1326
1332
|
modelValue: s.value,
|
|
1327
|
-
"onUpdate:modelValue":
|
|
1333
|
+
"onUpdate:modelValue": A[1] || (A[1] = (P) => s.value = P),
|
|
1328
1334
|
prop: e.setting.name,
|
|
1329
|
-
label:
|
|
1335
|
+
label: $.setting.desc,
|
|
1330
1336
|
type: "inputDialogSelect",
|
|
1331
1337
|
options: a(r),
|
|
1332
|
-
helpMessage:
|
|
1338
|
+
helpMessage: K.value,
|
|
1333
1339
|
isView: e.isView,
|
|
1334
|
-
disabled: a(
|
|
1335
|
-
required:
|
|
1336
|
-
placeholder:
|
|
1337
|
-
onOpenDialog: a(
|
|
1340
|
+
disabled: a(v),
|
|
1341
|
+
required: x.value,
|
|
1342
|
+
placeholder: $.setting.options.placeholder || a(_)("请选择"),
|
|
1343
|
+
onOpenDialog: a(S)
|
|
1338
1344
|
}, {
|
|
1339
|
-
default:
|
|
1345
|
+
default: R(() => {
|
|
1340
1346
|
var P;
|
|
1341
1347
|
return [
|
|
1342
|
-
|
|
1348
|
+
N(a(Dt), {
|
|
1343
1349
|
"append-to-body": "",
|
|
1344
|
-
modelValue: a(
|
|
1345
|
-
"onUpdate:modelValue":
|
|
1346
|
-
options: a(
|
|
1347
|
-
onConfirm: a(
|
|
1350
|
+
modelValue: a(c),
|
|
1351
|
+
"onUpdate:modelValue": A[0] || (A[0] = (M) => he(c) ? c.value = M : null),
|
|
1352
|
+
options: a(g),
|
|
1353
|
+
onConfirm: a(z),
|
|
1348
1354
|
title: a(d),
|
|
1349
1355
|
"body-style": { padding: "0px" }
|
|
1350
1356
|
}, dt({
|
|
1351
1357
|
_: 2
|
|
1352
1358
|
/* DYNAMIC */
|
|
1353
1359
|
}, [
|
|
1354
|
-
((P = a(
|
|
1360
|
+
((P = a(T)) == null ? void 0 : P.length) > 0 ? {
|
|
1355
1361
|
name: "table-header-search",
|
|
1356
|
-
fn:
|
|
1362
|
+
fn: R(() => [
|
|
1357
1363
|
je("div", Na, [
|
|
1358
|
-
|
|
1364
|
+
N(a(Ct), {
|
|
1359
1365
|
labelLength: "6",
|
|
1360
|
-
options: a(
|
|
1361
|
-
onConfirm: a(
|
|
1366
|
+
options: a(T),
|
|
1367
|
+
onConfirm: a(j),
|
|
1362
1368
|
"is-margin-right": !1
|
|
1363
1369
|
}, null, 8, ["options", "onConfirm"])
|
|
1364
1370
|
])
|
|
1365
1371
|
]),
|
|
1366
1372
|
key: "0"
|
|
1367
1373
|
} : void 0,
|
|
1368
|
-
a(
|
|
1374
|
+
a(h) === "user" ? {
|
|
1369
1375
|
name: "table-column",
|
|
1370
|
-
fn:
|
|
1371
|
-
|
|
1372
|
-
label: a(
|
|
1376
|
+
fn: R(() => [
|
|
1377
|
+
N(a(I), {
|
|
1378
|
+
label: a(_)("姓名"),
|
|
1373
1379
|
prop: "name"
|
|
1374
1380
|
}, null, 8, ["label"]),
|
|
1375
|
-
|
|
1376
|
-
label: a(
|
|
1381
|
+
N(a(I), {
|
|
1382
|
+
label: a(_)("账号"),
|
|
1377
1383
|
prop: "userName"
|
|
1378
1384
|
}, null, 8, ["label"]),
|
|
1379
|
-
|
|
1380
|
-
label: a(
|
|
1385
|
+
N(a(I), {
|
|
1386
|
+
label: a(_)("手机号"),
|
|
1381
1387
|
prop: "sensitivePhone"
|
|
1382
1388
|
}, {
|
|
1383
|
-
default:
|
|
1384
|
-
|
|
1389
|
+
default: R(({ row: M }) => [
|
|
1390
|
+
N(a(Ve), {
|
|
1385
1391
|
placement: "top",
|
|
1386
|
-
content:
|
|
1387
|
-
disabled: !
|
|
1392
|
+
content: M.phone,
|
|
1393
|
+
disabled: !M.phone
|
|
1388
1394
|
}, {
|
|
1389
|
-
default:
|
|
1395
|
+
default: R(() => [
|
|
1390
1396
|
ee(
|
|
1391
|
-
te(
|
|
1397
|
+
te(M.sensitivePhone || "-"),
|
|
1392
1398
|
1
|
|
1393
1399
|
/* TEXT */
|
|
1394
1400
|
)
|
|
@@ -1400,12 +1406,12 @@ const fa = (o, e) => {
|
|
|
1400
1406
|
_: 1
|
|
1401
1407
|
/* STABLE */
|
|
1402
1408
|
}, 8, ["label"]),
|
|
1403
|
-
|
|
1404
|
-
label: a(
|
|
1409
|
+
N(a(I), {
|
|
1410
|
+
label: a(_)("状态")
|
|
1405
1411
|
}, {
|
|
1406
|
-
default:
|
|
1412
|
+
default: R(({ row: M }) => [
|
|
1407
1413
|
ee(
|
|
1408
|
-
te(a(
|
|
1414
|
+
te(a(y)[M.status]),
|
|
1409
1415
|
1
|
|
1410
1416
|
/* TEXT */
|
|
1411
1417
|
)
|
|
@@ -1416,37 +1422,37 @@ const fa = (o, e) => {
|
|
|
1416
1422
|
]),
|
|
1417
1423
|
key: "1"
|
|
1418
1424
|
} : void 0,
|
|
1419
|
-
a(
|
|
1425
|
+
a(h) === "org" ? {
|
|
1420
1426
|
name: "table-column",
|
|
1421
|
-
fn:
|
|
1422
|
-
|
|
1423
|
-
label: a(
|
|
1427
|
+
fn: R(() => [
|
|
1428
|
+
N(a(I), {
|
|
1429
|
+
label: a(_)("组织名称"),
|
|
1424
1430
|
prop: "name"
|
|
1425
1431
|
}, null, 8, ["label"]),
|
|
1426
|
-
|
|
1427
|
-
label: a(
|
|
1432
|
+
N(a(I), {
|
|
1433
|
+
label: a(_)("组织编码"),
|
|
1428
1434
|
prop: "code"
|
|
1429
1435
|
}, null, 8, ["label"]),
|
|
1430
|
-
|
|
1431
|
-
label: a(
|
|
1436
|
+
N(a(I), {
|
|
1437
|
+
label: a(_)("组织类型"),
|
|
1432
1438
|
prop: "typeName"
|
|
1433
1439
|
}, null, 8, ["label"])
|
|
1434
1440
|
]),
|
|
1435
1441
|
key: "2"
|
|
1436
1442
|
} : void 0,
|
|
1437
|
-
a(
|
|
1443
|
+
a(h) === "role" ? {
|
|
1438
1444
|
name: "table-column",
|
|
1439
|
-
fn:
|
|
1440
|
-
|
|
1441
|
-
label: a(
|
|
1445
|
+
fn: R(() => [
|
|
1446
|
+
N(a(I), {
|
|
1447
|
+
label: a(_)("角色名称"),
|
|
1442
1448
|
prop: "name"
|
|
1443
1449
|
}, null, 8, ["label"]),
|
|
1444
|
-
|
|
1445
|
-
label: a(
|
|
1450
|
+
N(a(I), {
|
|
1451
|
+
label: a(_)("角色类型")
|
|
1446
1452
|
}, {
|
|
1447
|
-
default:
|
|
1453
|
+
default: R(({ row: M }) => [
|
|
1448
1454
|
ee(
|
|
1449
|
-
te(a(
|
|
1455
|
+
te(a(D)[M.type]),
|
|
1450
1456
|
1
|
|
1451
1457
|
/* TEXT */
|
|
1452
1458
|
)
|
|
@@ -1454,12 +1460,12 @@ const fa = (o, e) => {
|
|
|
1454
1460
|
_: 1
|
|
1455
1461
|
/* STABLE */
|
|
1456
1462
|
}, 8, ["label"]),
|
|
1457
|
-
|
|
1458
|
-
label: a(
|
|
1463
|
+
N(a(I), {
|
|
1464
|
+
label: a(_)("角色状态")
|
|
1459
1465
|
}, {
|
|
1460
|
-
default:
|
|
1466
|
+
default: R(({ row: M }) => [
|
|
1461
1467
|
ee(
|
|
1462
|
-
te(a(
|
|
1468
|
+
te(a(b)[M.status]),
|
|
1463
1469
|
1
|
|
1464
1470
|
/* TEXT */
|
|
1465
1471
|
)
|
|
@@ -1470,66 +1476,66 @@ const fa = (o, e) => {
|
|
|
1470
1476
|
]),
|
|
1471
1477
|
key: "3"
|
|
1472
1478
|
} : void 0,
|
|
1473
|
-
a(
|
|
1479
|
+
a(h) === "job" ? {
|
|
1474
1480
|
name: "table-column",
|
|
1475
|
-
fn:
|
|
1476
|
-
|
|
1477
|
-
label: a(
|
|
1481
|
+
fn: R(() => [
|
|
1482
|
+
N(a(I), {
|
|
1483
|
+
label: a(_)("职务名称"),
|
|
1478
1484
|
prop: "name"
|
|
1479
1485
|
}, null, 8, ["label"]),
|
|
1480
|
-
|
|
1481
|
-
label: a(
|
|
1486
|
+
N(a(I), {
|
|
1487
|
+
label: a(_)("职务编码"),
|
|
1482
1488
|
prop: "code"
|
|
1483
1489
|
}, null, 8, ["label"]),
|
|
1484
|
-
|
|
1485
|
-
label: a(
|
|
1490
|
+
N(a(I), {
|
|
1491
|
+
label: a(_)("所属组织路径"),
|
|
1486
1492
|
prop: "groupName"
|
|
1487
1493
|
}, null, 8, ["label"])
|
|
1488
1494
|
]),
|
|
1489
1495
|
key: "4"
|
|
1490
1496
|
} : void 0,
|
|
1491
|
-
a(
|
|
1497
|
+
a(h) === "post" ? {
|
|
1492
1498
|
name: "table-column",
|
|
1493
|
-
fn:
|
|
1494
|
-
|
|
1495
|
-
label: a(
|
|
1499
|
+
fn: R(() => [
|
|
1500
|
+
N(a(I), {
|
|
1501
|
+
label: a(_)("岗位名称"),
|
|
1496
1502
|
prop: "name"
|
|
1497
1503
|
}, null, 8, ["label"]),
|
|
1498
|
-
|
|
1499
|
-
label: a(
|
|
1504
|
+
N(a(I), {
|
|
1505
|
+
label: a(_)("岗位编码"),
|
|
1500
1506
|
prop: "code"
|
|
1501
1507
|
}, null, 8, ["label"]),
|
|
1502
|
-
|
|
1503
|
-
label: a(
|
|
1508
|
+
N(a(I), {
|
|
1509
|
+
label: a(_)("所属组织路径"),
|
|
1504
1510
|
prop: "groupName"
|
|
1505
1511
|
}, null, 8, ["label"])
|
|
1506
1512
|
]),
|
|
1507
1513
|
key: "5"
|
|
1508
1514
|
} : void 0,
|
|
1509
|
-
a(
|
|
1515
|
+
a(h) === "supplier" ? {
|
|
1510
1516
|
name: "table-column",
|
|
1511
|
-
fn:
|
|
1512
|
-
|
|
1517
|
+
fn: R(() => [
|
|
1518
|
+
N(a(I), {
|
|
1513
1519
|
type: "index",
|
|
1514
1520
|
width: "50"
|
|
1515
1521
|
}),
|
|
1516
|
-
|
|
1517
|
-
label: a(
|
|
1522
|
+
N(a(I), {
|
|
1523
|
+
label: a(_)("供应商名称"),
|
|
1518
1524
|
prop: "name"
|
|
1519
1525
|
}, null, 8, ["label"]),
|
|
1520
|
-
|
|
1521
|
-
label: a(
|
|
1526
|
+
N(a(I), {
|
|
1527
|
+
label: a(_)("供应商编码"),
|
|
1522
1528
|
prop: "code"
|
|
1523
1529
|
}, null, 8, ["label"]),
|
|
1524
|
-
|
|
1525
|
-
label: a(
|
|
1530
|
+
N(a(I), {
|
|
1531
|
+
label: a(_)("供应商等级"),
|
|
1526
1532
|
prop: "supplierLevel"
|
|
1527
1533
|
}, null, 8, ["label"]),
|
|
1528
|
-
|
|
1529
|
-
label: a(
|
|
1534
|
+
N(a(I), {
|
|
1535
|
+
label: a(_)("供应商分类"),
|
|
1530
1536
|
prop: "classificationName"
|
|
1531
1537
|
}, {
|
|
1532
|
-
default:
|
|
1538
|
+
default: R(() => [
|
|
1533
1539
|
q(` <template #default="{row}">\r
|
|
1534
1540
|
{{ getSupplierName(row) }}\r
|
|
1535
1541
|
</template> `)
|
|
@@ -1537,13 +1543,13 @@ const fa = (o, e) => {
|
|
|
1537
1543
|
_: 1
|
|
1538
1544
|
/* STABLE */
|
|
1539
1545
|
}, 8, ["label"]),
|
|
1540
|
-
|
|
1541
|
-
label: a(
|
|
1546
|
+
N(a(I), {
|
|
1547
|
+
label: a(_)("个人/公司"),
|
|
1542
1548
|
prop: "businessType"
|
|
1543
1549
|
}, {
|
|
1544
|
-
default:
|
|
1550
|
+
default: R(({ row: M }) => [
|
|
1545
1551
|
ee(
|
|
1546
|
-
te(
|
|
1552
|
+
te(M.businessType == "COMPANY" ? a(_)("公司") : a(_)("个人")),
|
|
1547
1553
|
1
|
|
1548
1554
|
/* TEXT */
|
|
1549
1555
|
)
|
|
@@ -1554,34 +1560,34 @@ const fa = (o, e) => {
|
|
|
1554
1560
|
]),
|
|
1555
1561
|
key: "6"
|
|
1556
1562
|
} : void 0,
|
|
1557
|
-
a(
|
|
1563
|
+
a(h) === "source" ? {
|
|
1558
1564
|
name: "table-column",
|
|
1559
|
-
fn:
|
|
1560
|
-
|
|
1565
|
+
fn: R(() => [
|
|
1566
|
+
N(a(I), {
|
|
1561
1567
|
type: "index",
|
|
1562
1568
|
width: "50"
|
|
1563
1569
|
}),
|
|
1564
|
-
|
|
1565
|
-
label: a(
|
|
1570
|
+
N(a(I), {
|
|
1571
|
+
label: a(_)("单据编码"),
|
|
1566
1572
|
prop: "code"
|
|
1567
1573
|
}, null, 8, ["label"]),
|
|
1568
|
-
|
|
1569
|
-
label: a(
|
|
1574
|
+
N(a(I), {
|
|
1575
|
+
label: a(_)("申请人"),
|
|
1570
1576
|
prop: "userName"
|
|
1571
1577
|
}, null, 8, ["label"]),
|
|
1572
|
-
|
|
1573
|
-
label: a(
|
|
1578
|
+
N(a(I), {
|
|
1579
|
+
label: a(_)("联系电话"),
|
|
1574
1580
|
prop: "sensitivePhone"
|
|
1575
1581
|
}, {
|
|
1576
|
-
default:
|
|
1577
|
-
|
|
1582
|
+
default: R(({ row: M }) => [
|
|
1583
|
+
N(a(Ve), {
|
|
1578
1584
|
placement: "top",
|
|
1579
|
-
content:
|
|
1580
|
-
disabled: !
|
|
1585
|
+
content: M.phone,
|
|
1586
|
+
disabled: !M.phone
|
|
1581
1587
|
}, {
|
|
1582
|
-
default:
|
|
1588
|
+
default: R(() => [
|
|
1583
1589
|
ee(
|
|
1584
|
-
te(
|
|
1590
|
+
te(M.sensitivePhone || "-"),
|
|
1585
1591
|
1
|
|
1586
1592
|
/* TEXT */
|
|
1587
1593
|
)
|
|
@@ -1593,13 +1599,13 @@ const fa = (o, e) => {
|
|
|
1593
1599
|
_: 1
|
|
1594
1600
|
/* STABLE */
|
|
1595
1601
|
}, 8, ["label"]),
|
|
1596
|
-
|
|
1597
|
-
label: a(
|
|
1602
|
+
N(a(I), {
|
|
1603
|
+
label: a(_)("计划领用日期"),
|
|
1598
1604
|
prop: "claimingDate"
|
|
1599
1605
|
}, {
|
|
1600
|
-
default:
|
|
1606
|
+
default: R(({ row: M }) => [
|
|
1601
1607
|
ee(
|
|
1602
|
-
te(
|
|
1608
|
+
te(M.claimingDate ? a(ve)(Number(M == null ? void 0 : M.claimingDate)).format("YYYY/MM/DD") : "-"),
|
|
1603
1609
|
1
|
|
1604
1610
|
/* TEXT */
|
|
1605
1611
|
)
|
|
@@ -1607,8 +1613,8 @@ const fa = (o, e) => {
|
|
|
1607
1613
|
_: 1
|
|
1608
1614
|
/* STABLE */
|
|
1609
1615
|
}, 8, ["label"]),
|
|
1610
|
-
|
|
1611
|
-
label: a(
|
|
1616
|
+
N(a(I), {
|
|
1617
|
+
label: a(_)("资产用途"),
|
|
1612
1618
|
prop: "purpose"
|
|
1613
1619
|
}, null, 8, ["label"])
|
|
1614
1620
|
]),
|
|
@@ -1620,25 +1626,25 @@ const fa = (o, e) => {
|
|
|
1620
1626
|
_: 1
|
|
1621
1627
|
/* STABLE */
|
|
1622
1628
|
}, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "placeholder", "onOpenDialog"])) : q("v-if", !0),
|
|
1623
|
-
|
|
1629
|
+
m.value && a(h) == "position" ? (V(), F(a(U), {
|
|
1624
1630
|
key: 1,
|
|
1625
1631
|
col: e.span,
|
|
1626
|
-
label:
|
|
1632
|
+
label: $.setting.desc,
|
|
1627
1633
|
prop: e.setting.name,
|
|
1628
1634
|
type: "treeSelect",
|
|
1629
1635
|
"node-key": "id",
|
|
1630
1636
|
showFullPath: !0,
|
|
1631
|
-
helpMessage:
|
|
1632
|
-
placeholder:
|
|
1633
|
-
required:
|
|
1637
|
+
helpMessage: K.value,
|
|
1638
|
+
placeholder: $.setting.options.placeholder,
|
|
1639
|
+
required: x.value,
|
|
1634
1640
|
modelValue: s.value,
|
|
1635
|
-
"onUpdate:modelValue":
|
|
1641
|
+
"onUpdate:modelValue": A[2] || (A[2] = (P) => s.value = P),
|
|
1636
1642
|
keyword: a(ne),
|
|
1637
|
-
"onUpdate:keyword":
|
|
1638
|
-
path: a(
|
|
1639
|
-
"onUpdate:path":
|
|
1643
|
+
"onUpdate:keyword": A[3] || (A[3] = (P) => he(ne) ? ne.value = P : null),
|
|
1644
|
+
path: a(H),
|
|
1645
|
+
"onUpdate:path": A[4] || (A[4] = (P) => he(H) ? H.value = P : null),
|
|
1640
1646
|
isView: e.isView,
|
|
1641
|
-
disabled: a(
|
|
1647
|
+
disabled: a(v),
|
|
1642
1648
|
load: a(de),
|
|
1643
1649
|
search: a(ce),
|
|
1644
1650
|
props: {
|
|
@@ -1663,7 +1669,7 @@ const fa = (o, e) => {
|
|
|
1663
1669
|
style: { "margin-bottom": "10px" }
|
|
1664
1670
|
}, $a = {
|
|
1665
1671
|
name: "soundRecording"
|
|
1666
|
-
}, Pa = /* @__PURE__ */
|
|
1672
|
+
}, Pa = /* @__PURE__ */ Q({
|
|
1667
1673
|
...$a,
|
|
1668
1674
|
props: {
|
|
1669
1675
|
setting: { default: () => ({
|
|
@@ -1679,45 +1685,45 @@ const fa = (o, e) => {
|
|
|
1679
1685
|
store: {}
|
|
1680
1686
|
},
|
|
1681
1687
|
setup(o) {
|
|
1682
|
-
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule:
|
|
1683
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1688
|
+
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
|
|
1689
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), L(
|
|
1684
1690
|
() => t.value,
|
|
1685
1691
|
() => {
|
|
1686
|
-
s.value = t.value[e.setting.name], s.value || (n.value = "",
|
|
1692
|
+
s.value = t.value[e.setting.name], s.value || (n.value = "", w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
1687
1693
|
},
|
|
1688
1694
|
{ deep: !0, immediate: !0 }
|
|
1689
1695
|
), l.value[e.setting.name];
|
|
1690
|
-
const { baseURL:
|
|
1691
|
-
|
|
1692
|
-
|
|
1696
|
+
const { baseURL: m } = Vt(), v = i(!1);
|
|
1697
|
+
W(e.setting.options.validateList).then((C) => {
|
|
1698
|
+
v.value = C;
|
|
1693
1699
|
});
|
|
1694
|
-
const
|
|
1695
|
-
if (e.setting.options.tip && (d.value =
|
|
1696
|
-
const
|
|
1697
|
-
n.value =
|
|
1700
|
+
const c = i("info"), d = i();
|
|
1701
|
+
if (e.setting.options.tip && (d.value = J(e.setting.options.tip)), u(e.setting.name)) {
|
|
1702
|
+
const C = JSON.parse(u(e.setting.name));
|
|
1703
|
+
n.value = m + C[0].url;
|
|
1698
1704
|
}
|
|
1699
|
-
return e.setting.options.validateList.length &&
|
|
1705
|
+
return e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), (C, g) => e.isView && s.value ? (V(), F(a(U), {
|
|
1700
1706
|
key: 0,
|
|
1701
1707
|
modelValue: n.value,
|
|
1702
|
-
"onUpdate:modelValue":
|
|
1708
|
+
"onUpdate:modelValue": g[2] || (g[2] = (h) => n.value = h),
|
|
1703
1709
|
"margin-bottom": "0",
|
|
1704
1710
|
prop: e.setting.name,
|
|
1705
|
-
label:
|
|
1711
|
+
label: C.setting.desc,
|
|
1706
1712
|
type: "custom",
|
|
1707
1713
|
helpMessage: d.value,
|
|
1708
|
-
required:
|
|
1714
|
+
required: v.value,
|
|
1709
1715
|
col: e.span
|
|
1710
1716
|
}, {
|
|
1711
|
-
default:
|
|
1712
|
-
n.value ? (V(),
|
|
1713
|
-
|
|
1717
|
+
default: R(() => [
|
|
1718
|
+
n.value ? (V(), Y("div", Ta, [
|
|
1719
|
+
N(a(Ke), {
|
|
1714
1720
|
modelValue: n.value,
|
|
1715
|
-
"onUpdate:modelValue":
|
|
1716
|
-
status:
|
|
1717
|
-
"onUpdate:status":
|
|
1718
|
-
required:
|
|
1721
|
+
"onUpdate:modelValue": g[0] || (g[0] = (h) => n.value = h),
|
|
1722
|
+
status: c.value,
|
|
1723
|
+
"onUpdate:status": g[1] || (g[1] = (h) => c.value = h),
|
|
1724
|
+
required: v.value
|
|
1719
1725
|
}, null, 8, ["modelValue", "status", "required"])
|
|
1720
|
-
])) : (V(),
|
|
1726
|
+
])) : (V(), Y("div", Ra, "-"))
|
|
1721
1727
|
]),
|
|
1722
1728
|
_: 1
|
|
1723
1729
|
/* STABLE */
|
|
@@ -1728,7 +1734,7 @@ const fa = (o, e) => {
|
|
|
1728
1734
|
default: Fa
|
|
1729
1735
|
}, Symbol.toStringTag, { value: "Module" })), Ia = {
|
|
1730
1736
|
name: "switch"
|
|
1731
|
-
}, qa = /* @__PURE__ */
|
|
1737
|
+
}, qa = /* @__PURE__ */ Q({
|
|
1732
1738
|
...Ia,
|
|
1733
1739
|
props: {
|
|
1734
1740
|
setting: { default: () => ({
|
|
@@ -1744,28 +1750,28 @@ const fa = (o, e) => {
|
|
|
1744
1750
|
store: {}
|
|
1745
1751
|
},
|
|
1746
1752
|
setup(o) {
|
|
1747
|
-
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule:
|
|
1748
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1753
|
+
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
|
|
1754
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), L(
|
|
1749
1755
|
() => t.value,
|
|
1750
1756
|
() => {
|
|
1751
|
-
s.value = t.value[e.setting.name], s.value || (n.value = null,
|
|
1757
|
+
s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
1752
1758
|
},
|
|
1753
1759
|
{ deep: !0, immediate: !0 }
|
|
1754
1760
|
);
|
|
1755
|
-
const
|
|
1756
|
-
|
|
1757
|
-
|
|
1761
|
+
const m = l.value[e.setting.name] || !1, v = i(!1);
|
|
1762
|
+
W(e.setting.options.validateList).then((d) => {
|
|
1763
|
+
v.value = d;
|
|
1758
1764
|
});
|
|
1759
|
-
const
|
|
1760
|
-
return e.setting.options.tip && (
|
|
1765
|
+
const c = i();
|
|
1766
|
+
return e.setting.options.tip && (c.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
1761
1767
|
n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
|
|
1762
|
-
}, 50), e.setting.options.validateList.length &&
|
|
1768
|
+
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(n, (d) => {
|
|
1763
1769
|
p(e.setting.name, d);
|
|
1764
|
-
}), (d,
|
|
1770
|
+
}), (d, C) => s.value ? (V(), F(a(U), {
|
|
1765
1771
|
key: 0,
|
|
1766
1772
|
col: e.span,
|
|
1767
1773
|
modelValue: n.value,
|
|
1768
|
-
"onUpdate:modelValue":
|
|
1774
|
+
"onUpdate:modelValue": C[0] || (C[0] = (g) => n.value = g),
|
|
1769
1775
|
label: d.setting.desc,
|
|
1770
1776
|
type: "switch",
|
|
1771
1777
|
prop: e.setting.name,
|
|
@@ -1773,19 +1779,19 @@ const fa = (o, e) => {
|
|
|
1773
1779
|
inactiveValue: d.setting.options.inactiveValue,
|
|
1774
1780
|
activeText: d.setting.options.activeText,
|
|
1775
1781
|
inactiveText: d.setting.options.inactiveText,
|
|
1776
|
-
helpMessage:
|
|
1777
|
-
disabled: a(
|
|
1778
|
-
required:
|
|
1782
|
+
helpMessage: c.value,
|
|
1783
|
+
disabled: a(m),
|
|
1784
|
+
required: v.value,
|
|
1779
1785
|
isView: e.isView
|
|
1780
1786
|
}, null, 8, ["col", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "disabled", "required", "isView"])) : q("v-if", !0);
|
|
1781
1787
|
}
|
|
1782
1788
|
}), st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1783
1789
|
__proto__: null,
|
|
1784
1790
|
default: qa
|
|
1785
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1791
|
+
}, Symbol.toStringTag, { value: "Module" })), Oa = {
|
|
1786
1792
|
name: "text"
|
|
1787
|
-
}, ja = /* @__PURE__ */
|
|
1788
|
-
...
|
|
1793
|
+
}, ja = /* @__PURE__ */ Q({
|
|
1794
|
+
...Oa,
|
|
1789
1795
|
props: {
|
|
1790
1796
|
setting: { default: () => ({
|
|
1791
1797
|
icon: "",
|
|
@@ -1800,31 +1806,31 @@ const fa = (o, e) => {
|
|
|
1800
1806
|
store: {}
|
|
1801
1807
|
},
|
|
1802
1808
|
setup(o) {
|
|
1803
|
-
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule:
|
|
1804
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1809
|
+
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
|
|
1810
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), L(
|
|
1805
1811
|
() => t.value,
|
|
1806
1812
|
() => {
|
|
1807
|
-
s.value = t.value[e.setting.name], s.value || (n.value = null,
|
|
1813
|
+
s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
1808
1814
|
},
|
|
1809
1815
|
{ deep: !0, immediate: !0 }
|
|
1810
1816
|
);
|
|
1811
|
-
const
|
|
1812
|
-
return e.setting.options.tip && (
|
|
1813
|
-
p(e.setting.name,
|
|
1814
|
-
}), (
|
|
1817
|
+
const m = i();
|
|
1818
|
+
return e.setting.options.tip && (m.value = J(e.setting.options.tip)), n.value = e.setting.options.textValue, n.value = u(e.setting.name) || n.value, n.value || p(e.setting.name, null), L(n, (v) => {
|
|
1819
|
+
p(e.setting.name, v);
|
|
1820
|
+
}), (v, c) => s.value ? (V(), F(a(U), {
|
|
1815
1821
|
key: 0,
|
|
1816
1822
|
col: e.span,
|
|
1817
1823
|
modelValue: n.value,
|
|
1818
|
-
"onUpdate:modelValue":
|
|
1819
|
-
label:
|
|
1824
|
+
"onUpdate:modelValue": c[1] || (c[1] = (d) => n.value = d),
|
|
1825
|
+
label: v.setting.desc,
|
|
1820
1826
|
type: "custom",
|
|
1821
|
-
helpMessage:
|
|
1827
|
+
helpMessage: m.value
|
|
1822
1828
|
}, {
|
|
1823
|
-
default:
|
|
1824
|
-
|
|
1829
|
+
default: R(() => [
|
|
1830
|
+
N(a(Ee), {
|
|
1825
1831
|
type: "text",
|
|
1826
1832
|
modelValue: n.value,
|
|
1827
|
-
"onUpdate:modelValue":
|
|
1833
|
+
"onUpdate:modelValue": c[0] || (c[0] = (d) => n.value = d)
|
|
1828
1834
|
}, null, 8, ["modelValue"])
|
|
1829
1835
|
]),
|
|
1830
1836
|
_: 1
|
|
@@ -1834,10 +1840,10 @@ const fa = (o, e) => {
|
|
|
1834
1840
|
}), ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1835
1841
|
__proto__: null,
|
|
1836
1842
|
default: ja
|
|
1837
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1843
|
+
}, Symbol.toStringTag, { value: "Module" })), Ka = {
|
|
1838
1844
|
name: "textarea"
|
|
1839
|
-
},
|
|
1840
|
-
...
|
|
1845
|
+
}, Ba = /* @__PURE__ */ Q({
|
|
1846
|
+
...Ka,
|
|
1841
1847
|
props: {
|
|
1842
1848
|
setting: { default: () => ({
|
|
1843
1849
|
icon: "",
|
|
@@ -1852,68 +1858,68 @@ const fa = (o, e) => {
|
|
|
1852
1858
|
store: {}
|
|
1853
1859
|
},
|
|
1854
1860
|
setup(o) {
|
|
1855
|
-
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule:
|
|
1856
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1861
|
+
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(""), s = i(!0);
|
|
1862
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), L(
|
|
1857
1863
|
() => t.value,
|
|
1858
1864
|
() => {
|
|
1859
|
-
s.value = t.value[e.setting.name], s.value || (n.value = "",
|
|
1865
|
+
s.value = t.value[e.setting.name], s.value || (n.value = "", w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
1860
1866
|
},
|
|
1861
1867
|
{ deep: !0, immediate: !0 }
|
|
1862
1868
|
);
|
|
1863
|
-
const
|
|
1864
|
-
|
|
1865
|
-
|
|
1869
|
+
const m = l.value[e.setting.name] || !1, v = i(!1);
|
|
1870
|
+
W(e.setting.options.validateList).then((g) => {
|
|
1871
|
+
v.value = g;
|
|
1866
1872
|
});
|
|
1867
|
-
const
|
|
1868
|
-
e.setting.options.tip && (
|
|
1873
|
+
const c = i();
|
|
1874
|
+
e.setting.options.tip && (c.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
1869
1875
|
n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
|
|
1870
1876
|
}, 50);
|
|
1871
|
-
const d = i(),
|
|
1872
|
-
return d.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "",
|
|
1873
|
-
p(e.setting.name,
|
|
1874
|
-
}), (
|
|
1877
|
+
const d = i(), C = i();
|
|
1878
|
+
return d.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", C.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(n, (g) => {
|
|
1879
|
+
p(e.setting.name, g);
|
|
1880
|
+
}), (g, h) => (V(), Y(
|
|
1875
1881
|
G,
|
|
1876
1882
|
null,
|
|
1877
1883
|
[
|
|
1878
|
-
!
|
|
1884
|
+
!g.setting.options.isEditor && s.value ? (V(), F(a(U), {
|
|
1879
1885
|
key: 0,
|
|
1880
1886
|
col: e.span,
|
|
1881
|
-
label:
|
|
1887
|
+
label: g.setting.desc,
|
|
1882
1888
|
type: "textarea",
|
|
1883
1889
|
modelValue: n.value,
|
|
1884
|
-
"onUpdate:modelValue":
|
|
1890
|
+
"onUpdate:modelValue": h[0] || (h[0] = (r) => n.value = r),
|
|
1885
1891
|
prop: e.setting.name,
|
|
1886
|
-
placeholder:
|
|
1887
|
-
disabled:
|
|
1892
|
+
placeholder: g.setting.options.placeholder,
|
|
1893
|
+
disabled: g.setting.options.isInputEdit || a(m),
|
|
1888
1894
|
isView: e.isView,
|
|
1889
1895
|
autosize: {
|
|
1890
1896
|
minRows: 1,
|
|
1891
1897
|
maxRows: 3
|
|
1892
1898
|
},
|
|
1893
1899
|
"show-word-limit": "",
|
|
1894
|
-
helpMessage:
|
|
1895
|
-
required:
|
|
1900
|
+
helpMessage: c.value,
|
|
1901
|
+
required: v.value
|
|
1896
1902
|
}, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) : q("v-if", !0),
|
|
1897
|
-
|
|
1903
|
+
g.setting.options.isEditor && s.value ? (V(), F(a(U), {
|
|
1898
1904
|
key: 1,
|
|
1899
1905
|
modelValue: n.value,
|
|
1900
|
-
"onUpdate:modelValue":
|
|
1906
|
+
"onUpdate:modelValue": h[2] || (h[2] = (r) => n.value = r),
|
|
1901
1907
|
prop: e.setting.name,
|
|
1902
1908
|
contentWidth: d.value,
|
|
1903
|
-
label:
|
|
1909
|
+
label: g.setting.desc,
|
|
1904
1910
|
type: "custom",
|
|
1905
|
-
helpMessage:
|
|
1906
|
-
required:
|
|
1911
|
+
helpMessage: c.value,
|
|
1912
|
+
required: v.value,
|
|
1907
1913
|
readOnly: e.isView
|
|
1908
1914
|
}, {
|
|
1909
|
-
default:
|
|
1910
|
-
|
|
1915
|
+
default: R(() => [
|
|
1916
|
+
N(a(Ee), {
|
|
1911
1917
|
ref: "editor",
|
|
1912
1918
|
width: d.value,
|
|
1913
|
-
height:
|
|
1919
|
+
height: C.value,
|
|
1914
1920
|
modelValue: n.value,
|
|
1915
|
-
"onUpdate:modelValue":
|
|
1916
|
-
placeholder:
|
|
1921
|
+
"onUpdate:modelValue": h[1] || (h[1] = (r) => n.value = r),
|
|
1922
|
+
placeholder: g.setting.options.placeholder
|
|
1917
1923
|
}, null, 8, ["width", "height", "modelValue", "placeholder"])
|
|
1918
1924
|
]),
|
|
1919
1925
|
_: 1
|
|
@@ -1926,10 +1932,10 @@ const fa = (o, e) => {
|
|
|
1926
1932
|
}
|
|
1927
1933
|
}), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1928
1934
|
__proto__: null,
|
|
1929
|
-
default:
|
|
1935
|
+
default: Ba
|
|
1930
1936
|
}, Symbol.toStringTag, { value: "Module" })), Ea = {
|
|
1931
1937
|
name: "time"
|
|
1932
|
-
}, Aa = /* @__PURE__ */
|
|
1938
|
+
}, Aa = /* @__PURE__ */ Q({
|
|
1933
1939
|
...Ea,
|
|
1934
1940
|
props: {
|
|
1935
1941
|
setting: { default: () => ({
|
|
@@ -1945,42 +1951,42 @@ const fa = (o, e) => {
|
|
|
1945
1951
|
store: {}
|
|
1946
1952
|
},
|
|
1947
1953
|
setup(o) {
|
|
1948
|
-
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule:
|
|
1949
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1954
|
+
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
|
|
1955
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), L(
|
|
1950
1956
|
() => t.value,
|
|
1951
1957
|
() => {
|
|
1952
|
-
s.value = t.value[e.setting.name], s.value || (n.value = null,
|
|
1958
|
+
s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
1953
1959
|
},
|
|
1954
1960
|
{ deep: !0, immediate: !0 }
|
|
1955
1961
|
);
|
|
1956
|
-
const
|
|
1957
|
-
|
|
1958
|
-
|
|
1962
|
+
const m = l.value[e.setting.name] || !1, v = i(!1);
|
|
1963
|
+
W(e.setting.options.validateList).then((d) => {
|
|
1964
|
+
v.value = d;
|
|
1959
1965
|
});
|
|
1960
|
-
const
|
|
1961
|
-
return e.setting.options.tip && (
|
|
1966
|
+
const c = i();
|
|
1967
|
+
return e.setting.options.tip && (c.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
1962
1968
|
const d = ve().format("YYYY-MM-DD ");
|
|
1963
1969
|
u(e.setting.name) && (n.value = u(e.setting.name)), e.setting.options.formulasDiyJs && (n.value = ve(d + e.setting.options.formulasDiyJs)), n.value || p(e.setting.name, null);
|
|
1964
|
-
}, 50), e.setting.options.validateList.length &&
|
|
1970
|
+
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(n, (d) => {
|
|
1965
1971
|
p(e.setting.name, d);
|
|
1966
|
-
}), (d,
|
|
1972
|
+
}), (d, C) => s.value ? (V(), F(a(U), {
|
|
1967
1973
|
key: 0,
|
|
1968
1974
|
col: e.span,
|
|
1969
1975
|
modelValue: n.value,
|
|
1970
|
-
"onUpdate:modelValue":
|
|
1976
|
+
"onUpdate:modelValue": C[0] || (C[0] = (g) => n.value = g),
|
|
1971
1977
|
prop: e.setting.name,
|
|
1972
1978
|
label: d.setting.desc,
|
|
1973
1979
|
type: "time",
|
|
1974
|
-
helpMessage:
|
|
1980
|
+
helpMessage: c.value,
|
|
1975
1981
|
isView: e.isView,
|
|
1976
|
-
required:
|
|
1977
|
-
disabled: a(
|
|
1982
|
+
required: v.value,
|
|
1983
|
+
disabled: a(m)
|
|
1978
1984
|
}, null, 8, ["col", "modelValue", "prop", "label", "helpMessage", "isView", "required", "disabled"])) : q("v-if", !0);
|
|
1979
1985
|
}
|
|
1980
1986
|
}), it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1981
1987
|
__proto__: null,
|
|
1982
1988
|
default: Aa
|
|
1983
|
-
}, Symbol.toStringTag, { value: "Module" })), Qa =
|
|
1989
|
+
}, Symbol.toStringTag, { value: "Module" })), Qa = Q({
|
|
1984
1990
|
name: "accordion",
|
|
1985
1991
|
props: {
|
|
1986
1992
|
columns: {
|
|
@@ -2022,7 +2028,7 @@ const fa = (o, e) => {
|
|
|
2022
2028
|
}
|
|
2023
2029
|
}), Ua = {
|
|
2024
2030
|
name: "accordion"
|
|
2025
|
-
}, xa = /* @__PURE__ */
|
|
2031
|
+
}, xa = /* @__PURE__ */ Q({
|
|
2026
2032
|
...Ua,
|
|
2027
2033
|
props: {
|
|
2028
2034
|
setting: { default: () => ({
|
|
@@ -2064,7 +2070,7 @@ const fa = (o, e) => {
|
|
|
2064
2070
|
default: xa
|
|
2065
2071
|
}, Symbol.toStringTag, { value: "Module" })), Ja = {
|
|
2066
2072
|
name: "grid"
|
|
2067
|
-
}, Ha = /* @__PURE__ */
|
|
2073
|
+
}, Ha = /* @__PURE__ */ Q({
|
|
2068
2074
|
...Ja,
|
|
2069
2075
|
props: {
|
|
2070
2076
|
setting: { default: () => ({
|
|
@@ -2091,20 +2097,20 @@ const fa = (o, e) => {
|
|
|
2091
2097
|
},
|
|
2092
2098
|
setup(o) {
|
|
2093
2099
|
const e = o;
|
|
2094
|
-
return (t, l) => (V(),
|
|
2100
|
+
return (t, l) => (V(), Y(
|
|
2095
2101
|
G,
|
|
2096
2102
|
null,
|
|
2097
2103
|
[
|
|
2098
2104
|
q(' <GridLayout :columns="setting.columns" :isView="props.isView" :store="store"></GridLayout> '),
|
|
2099
2105
|
q(' <div style="display: flex; flex-direction: row; flex-wrap: wrap; width: 100%"> '),
|
|
2100
|
-
(V(!0),
|
|
2106
|
+
(V(!0), Y(
|
|
2101
2107
|
G,
|
|
2102
2108
|
null,
|
|
2103
|
-
ie(t.setting.columns, (p) => (V(),
|
|
2109
|
+
ie(t.setting.columns, (p) => (V(), Y(
|
|
2104
2110
|
G,
|
|
2105
2111
|
null,
|
|
2106
2112
|
[
|
|
2107
|
-
(V(!0),
|
|
2113
|
+
(V(!0), Y(
|
|
2108
2114
|
G,
|
|
2109
2115
|
null,
|
|
2110
2116
|
ie(p.list, (u) => (V(), F(ge(a(Ga)[u.ctrlType]), {
|
|
@@ -2138,53 +2144,53 @@ Object.keys(Ce).map((o) => ut[Ce[o].default.name] = Ce[o].default);
|
|
|
2138
2144
|
Object.keys(De).map((o) => Za[De[o].default.name] = De[o].default);
|
|
2139
2145
|
Object.keys(_e).map((o) => re[_e[o].default.name] = _e[o].default);
|
|
2140
2146
|
const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
|
|
2141
|
-
(!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${
|
|
2147
|
+
(!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${_("*必填")}`)) : t();
|
|
2142
2148
|
}, en = (o, e, t, l) => {
|
|
2143
|
-
e !== "" && e.length > parseInt(l.value) ? t(new Error(`${
|
|
2149
|
+
e !== "" && e.length > parseInt(l.value) ? t(new Error(`${_("最大文本长度")}${_("不能超过")}${l.value}`)) : t();
|
|
2144
2150
|
}, tn = (o, e, t, l) => {
|
|
2145
|
-
e !== "" && e.length < parseInt(l.value) ? t(new Error(`${
|
|
2151
|
+
e !== "" && e.length < parseInt(l.value) ? t(new Error(`${_("最小文本长度")}${_("不能少于")}${l.value}`)) : t();
|
|
2146
2152
|
}, an = (o, e, t, l) => {
|
|
2147
2153
|
if (e !== "" && !/^1[3456789]\d{9}$/.test(e))
|
|
2148
|
-
return t(new Error(
|
|
2154
|
+
return t(new Error(_("手机号码格式不正确,请重新输入"))), !1;
|
|
2149
2155
|
t();
|
|
2150
2156
|
}, nn = (o, e, t) => {
|
|
2151
2157
|
if (e !== "" && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e))
|
|
2152
|
-
return t(new Error(
|
|
2158
|
+
return t(new Error(_("电子邮箱格式不正确,请重新输入"))), !1;
|
|
2153
2159
|
t();
|
|
2154
2160
|
}, sn = (o, e, t) => {
|
|
2155
2161
|
if (e !== "" && !/^-?\d+$/.test(e))
|
|
2156
|
-
return t(new Error(
|
|
2162
|
+
return t(new Error(_("请输入整数"))), !1;
|
|
2157
2163
|
t();
|
|
2158
2164
|
}, on = (o, e, t, l) => {
|
|
2159
2165
|
if (e !== "" && e != l.value)
|
|
2160
|
-
return t(new Error(
|
|
2166
|
+
return t(new Error(_("请输入相同的值"))), !1;
|
|
2161
2167
|
t();
|
|
2162
2168
|
}, ln = (o, e, t, l) => {
|
|
2163
|
-
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(l.value) ? t(new Error(`${l.name}${
|
|
2169
|
+
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(l.value) ? t(new Error(`${l.name}${_("不能小于")}${l.value}`)) : t() : t(new Error(_("请输入数字")));
|
|
2164
2170
|
}, rn = (o, e, t, l) => {
|
|
2165
|
-
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(l.value) ? t(new Error(`${l.name}${
|
|
2171
|
+
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(l.value) ? t(new Error(`${l.name}${_("不能大于")}${l.value}`)) : t() : t(new Error(_("请输入数字")));
|
|
2166
2172
|
}, un = (o, e, t, l) => {
|
|
2167
2173
|
const p = /^[+-]?(\d*\.\d+([eE]?[+-]?\d+)?|\d+[eE][+-]?\d+)$/, u = /^-?\d+$/;
|
|
2168
|
-
e === "" ? t() : p.test(e) || u.test(e) ? e >= parseFloat(l.start) && e <= parseFloat(l.end) ? t() : t(new Error(`${
|
|
2174
|
+
e === "" ? t() : p.test(e) || u.test(e) ? e >= parseFloat(l.start) && e <= parseFloat(l.end) ? t() : t(new Error(`${_("只能输入指定数字范围")}${l.start}-${l.end}`)) : t(new Error(_("请输入数字")));
|
|
2169
2175
|
}, pn = (o, e, t, l) => {
|
|
2170
|
-
e === "" || parseFloat(e) === parseFloat(l.value) ? t() : t(new Error(`${
|
|
2176
|
+
e === "" || parseFloat(e) === parseFloat(l.value) ? t() : t(new Error(`${_("只能输入指定的值")}${l.value}`));
|
|
2171
2177
|
}, dn = (o, e, t, l) => {
|
|
2172
|
-
e === "" ? t() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(l.value) ? t() : t(new Error(`${
|
|
2178
|
+
e === "" ? t() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(l.value) ? t() : t(new Error(`${_("只能输入")}${l.value}${_("位数数字")}`)) : t(new Error(_("请输入整数")));
|
|
2173
2179
|
}, cn = (o, e, t) => {
|
|
2174
2180
|
if (e !== "" && !/^[a-zA-Z]{1,}$/.test(e))
|
|
2175
|
-
return t(new Error(
|
|
2181
|
+
return t(new Error(_("只能输入字母"))), !1;
|
|
2176
2182
|
t();
|
|
2177
2183
|
}, gn = (o, e, t) => {
|
|
2178
2184
|
if (e !== "" && !/^[a-zA-Z ]{1,}$/.test(e))
|
|
2179
|
-
return t(new Error(
|
|
2185
|
+
return t(new Error(_("只能输入字母空格"))), !1;
|
|
2180
2186
|
t();
|
|
2181
2187
|
}, mn = (o, e, t) => {
|
|
2182
2188
|
if (e !== "" && !/^[0-9a-zA-Z_-]{1,}$/.test(e))
|
|
2183
|
-
return t(new Error(
|
|
2189
|
+
return t(new Error(_("只能输入字母数字横线下划线"))), !1;
|
|
2184
2190
|
t();
|
|
2185
2191
|
}, vn = (o, e, t) => {
|
|
2186
2192
|
if (e !== "" && !/^[0-9a-zA-Z]{1,}$/.test(e))
|
|
2187
|
-
return t(new Error(
|
|
2193
|
+
return t(new Error(_("只能输入字母数字"))), !1;
|
|
2188
2194
|
t();
|
|
2189
2195
|
}, fn = (o, e, t, l) => {
|
|
2190
2196
|
const p = new RegExp(l.value);
|
|
@@ -2210,53 +2216,53 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
|
|
|
2210
2216
|
alpha_num: vn,
|
|
2211
2217
|
regex: fn
|
|
2212
2218
|
}, yn = () => {
|
|
2213
|
-
const o = i({}), e = i([]), t = i({}), l = i({}), p = i([]), u = i(""),
|
|
2219
|
+
const o = i({}), e = i([]), t = i({}), l = i({}), p = i([]), u = i(""), f = i(""), w = i({}), n = i([]), s = i({});
|
|
2214
2220
|
return {
|
|
2215
2221
|
data: o,
|
|
2216
2222
|
formData: e,
|
|
2217
|
-
formRule:
|
|
2223
|
+
formRule: w,
|
|
2218
2224
|
showData: t,
|
|
2219
2225
|
disabledData: l,
|
|
2220
2226
|
flowKey: u,
|
|
2221
2227
|
linkData: s,
|
|
2222
2228
|
encryptionData: n,
|
|
2223
|
-
setData: (
|
|
2224
|
-
e.value.forEach((
|
|
2225
|
-
|
|
2229
|
+
setData: (D, b) => {
|
|
2230
|
+
e.value.forEach((S) => {
|
|
2231
|
+
S.formKey === f.value && (S.data[D] = b);
|
|
2226
2232
|
});
|
|
2227
2233
|
},
|
|
2228
|
-
setDetailData: (
|
|
2229
|
-
o.value =
|
|
2230
|
-
|
|
2234
|
+
setDetailData: (D) => {
|
|
2235
|
+
o.value = D, e.value.forEach((b) => {
|
|
2236
|
+
b.formKey === f.value && (b.data = D);
|
|
2231
2237
|
});
|
|
2232
2238
|
},
|
|
2233
|
-
setLinkData: (
|
|
2234
|
-
s.value = { data:
|
|
2239
|
+
setLinkData: (D, b) => {
|
|
2240
|
+
s.value = { data: D, val: b };
|
|
2235
2241
|
},
|
|
2236
|
-
getData: (
|
|
2237
|
-
setFormData: (
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
}) : (p.value.push(
|
|
2241
|
-
formKey:
|
|
2242
|
-
boKey:
|
|
2243
|
-
reportId:
|
|
2242
|
+
getData: (D) => o.value[D],
|
|
2243
|
+
setFormData: (D, b, S) => {
|
|
2244
|
+
f.value = D, p.value.includes(D) ? e.value.forEach((z) => {
|
|
2245
|
+
z.formKey === D && (o.value = z.data);
|
|
2246
|
+
}) : (p.value.push(D), e.value.push({
|
|
2247
|
+
formKey: D,
|
|
2248
|
+
boKey: b,
|
|
2249
|
+
reportId: S || null,
|
|
2244
2250
|
data: {}
|
|
2245
2251
|
}));
|
|
2246
2252
|
},
|
|
2247
2253
|
getFormData: () => e.value,
|
|
2248
|
-
setFormRule: (
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
validator: (
|
|
2254
|
+
setFormRule: (D, b) => {
|
|
2255
|
+
w.value[D] = [], b && b.length && b.forEach((S) => {
|
|
2256
|
+
w.value[D].push({
|
|
2257
|
+
validator: (z, k, j) => hn[S.key](z, k, j, S)
|
|
2252
2258
|
});
|
|
2253
2259
|
});
|
|
2254
2260
|
},
|
|
2255
2261
|
clearData: () => {
|
|
2256
|
-
o.value = {}, e.value = [], p.value = [],
|
|
2262
|
+
o.value = {}, e.value = [], p.value = [], w.value = {};
|
|
2257
2263
|
},
|
|
2258
|
-
deleteRule: (
|
|
2259
|
-
delete
|
|
2264
|
+
deleteRule: (D) => {
|
|
2265
|
+
delete w.value[D];
|
|
2260
2266
|
}
|
|
2261
2267
|
};
|
|
2262
2268
|
}, bn = { class: "custom-page" }, _n = {
|
|
@@ -2265,7 +2271,7 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
|
|
|
2265
2271
|
}, wn = {
|
|
2266
2272
|
key: 1,
|
|
2267
2273
|
style: { "background-color": "#fff" }
|
|
2268
|
-
}, Cn = /* @__PURE__ */
|
|
2274
|
+
}, Cn = /* @__PURE__ */ Q({
|
|
2269
2275
|
__name: "App",
|
|
2270
2276
|
props: {
|
|
2271
2277
|
formConfigurationId: {},
|
|
@@ -2279,58 +2285,58 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
|
|
|
2279
2285
|
},
|
|
2280
2286
|
emits: ["handleClick", "change"],
|
|
2281
2287
|
setup(o, { expose: e, emit: t }) {
|
|
2282
|
-
const l = yn(), { formRule: p, data: u, flowKey:
|
|
2283
|
-
|
|
2284
|
-
const
|
|
2285
|
-
|
|
2288
|
+
const l = yn(), { formRule: p, data: u, flowKey: f, clearData: w, getFormData: n } = l, s = o, m = t;
|
|
2289
|
+
f.value = s.flowKey;
|
|
2290
|
+
const v = (k) => k === "accordion";
|
|
2291
|
+
L(
|
|
2286
2292
|
() => u.value,
|
|
2287
|
-
(
|
|
2288
|
-
|
|
2293
|
+
(k) => {
|
|
2294
|
+
m("change", k);
|
|
2289
2295
|
},
|
|
2290
2296
|
{
|
|
2291
2297
|
immediate: !0,
|
|
2292
2298
|
deep: !0
|
|
2293
2299
|
}
|
|
2294
2300
|
);
|
|
2295
|
-
const { formJsonList:
|
|
2301
|
+
const { formJsonList: c, isShowPage: d, btnList: C, formRef: g, activityKeys: h, getForm: r, getBtnSet: y, handleClick: D } = Gt(
|
|
2296
2302
|
s,
|
|
2297
|
-
|
|
2303
|
+
m,
|
|
2298
2304
|
l
|
|
2299
|
-
),
|
|
2300
|
-
const { key:
|
|
2301
|
-
|
|
2302
|
-
},
|
|
2303
|
-
let
|
|
2304
|
-
for (const
|
|
2305
|
-
|
|
2306
|
-
|
|
2305
|
+
), b = i({}), S = (k, j) => {
|
|
2306
|
+
const { key: T } = j;
|
|
2307
|
+
b.value[T] || (b.value[T] = k);
|
|
2308
|
+
}, z = () => new Promise((k, j) => {
|
|
2309
|
+
let T = !0;
|
|
2310
|
+
for (const E in b.value)
|
|
2311
|
+
b.value[E].validate((H) => {
|
|
2312
|
+
H == !1 && (T = !1);
|
|
2307
2313
|
});
|
|
2308
2314
|
setTimeout(() => {
|
|
2309
|
-
|
|
2310
|
-
result:
|
|
2315
|
+
k({
|
|
2316
|
+
result: T,
|
|
2311
2317
|
data: n()
|
|
2312
2318
|
});
|
|
2313
2319
|
}, 50);
|
|
2314
2320
|
});
|
|
2315
2321
|
return ct(async () => {
|
|
2316
|
-
s.isShowBtn == !1 ? r(s.formConfigurationId) :
|
|
2322
|
+
s.isShowBtn == !1 ? r(s.formConfigurationId) : y();
|
|
2317
2323
|
}), e({
|
|
2318
|
-
validateFormData:
|
|
2319
|
-
clearData:
|
|
2320
|
-
}), (
|
|
2321
|
-
a(
|
|
2322
|
-
(V(!0),
|
|
2324
|
+
validateFormData: z,
|
|
2325
|
+
clearData: w
|
|
2326
|
+
}), (k, j) => (V(), Y("div", bn, [
|
|
2327
|
+
a(C).length > 0 ? (V(), Y("div", _n, [
|
|
2328
|
+
(V(!0), Y(
|
|
2323
2329
|
G,
|
|
2324
2330
|
null,
|
|
2325
|
-
ie(a(
|
|
2326
|
-
key:
|
|
2331
|
+
ie(a(C), (T) => (V(), F(a(ft), {
|
|
2332
|
+
key: T.id,
|
|
2327
2333
|
style: { "margin-right": "20px" },
|
|
2328
2334
|
"btn-type": "primary",
|
|
2329
|
-
onClick: (
|
|
2335
|
+
onClick: (E) => a(D)(T)
|
|
2330
2336
|
}, {
|
|
2331
|
-
default:
|
|
2337
|
+
default: R(() => [
|
|
2332
2338
|
ee(
|
|
2333
|
-
te(
|
|
2339
|
+
te(T.name),
|
|
2334
2340
|
1
|
|
2335
2341
|
/* TEXT */
|
|
2336
2342
|
)
|
|
@@ -2342,38 +2348,38 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
|
|
|
2342
2348
|
/* KEYED_FRAGMENT */
|
|
2343
2349
|
))
|
|
2344
2350
|
])) : q("v-if", !0),
|
|
2345
|
-
gt((V(),
|
|
2351
|
+
gt((V(), Y(
|
|
2346
2352
|
"div",
|
|
2347
2353
|
{
|
|
2348
2354
|
class: "content-box",
|
|
2349
|
-
style: mt({ margin: "0 10px", ...
|
|
2355
|
+
style: mt({ margin: "0 10px", ...k.customStyle })
|
|
2350
2356
|
},
|
|
2351
2357
|
[
|
|
2352
|
-
(V(!0),
|
|
2358
|
+
(V(!0), Y(
|
|
2353
2359
|
G,
|
|
2354
2360
|
null,
|
|
2355
|
-
ie(a(
|
|
2361
|
+
ie(a(c), (T) => (V(), Y(
|
|
2356
2362
|
G,
|
|
2357
2363
|
{
|
|
2358
|
-
key:
|
|
2364
|
+
key: T.name
|
|
2359
2365
|
},
|
|
2360
2366
|
[
|
|
2361
|
-
|
|
2367
|
+
v(T.ctrlType) ? (V(), F(a(Ae), {
|
|
2362
2368
|
key: 0,
|
|
2363
2369
|
style: { "margin-bottom": "10px" },
|
|
2364
|
-
collapsible:
|
|
2365
|
-
activeKey: a(
|
|
2370
|
+
collapsible: T.options.accordion ? "" : "disabled",
|
|
2371
|
+
activeKey: a(h)
|
|
2366
2372
|
}, {
|
|
2367
|
-
default:
|
|
2373
|
+
default: R(() => [
|
|
2368
2374
|
(V(), F(a(Qe), {
|
|
2369
|
-
key:
|
|
2370
|
-
header:
|
|
2375
|
+
key: T.columns[0].idKey,
|
|
2376
|
+
header: T.columns[0].span
|
|
2371
2377
|
}, {
|
|
2372
|
-
default:
|
|
2378
|
+
default: R(() => [
|
|
2373
2379
|
a(d) ? (V(), F(a(Ie), {
|
|
2374
2380
|
key: 0,
|
|
2375
2381
|
ref_for: !0,
|
|
2376
|
-
ref: (
|
|
2382
|
+
ref: (E) => S(E, T),
|
|
2377
2383
|
cols: 24,
|
|
2378
2384
|
alignType: "horizontal",
|
|
2379
2385
|
"margin-right": "80px",
|
|
@@ -2381,24 +2387,24 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
|
|
|
2381
2387
|
rules: a(p),
|
|
2382
2388
|
form: a(l).data
|
|
2383
2389
|
}, {
|
|
2384
|
-
default:
|
|
2385
|
-
(V(!0),
|
|
2390
|
+
default: R(() => [
|
|
2391
|
+
(V(!0), Y(
|
|
2386
2392
|
G,
|
|
2387
2393
|
null,
|
|
2388
|
-
ie(
|
|
2394
|
+
ie(T.columns[0].list, (E) => (V(), Y(
|
|
2389
2395
|
G,
|
|
2390
2396
|
{
|
|
2391
|
-
key:
|
|
2397
|
+
key: T.name
|
|
2392
2398
|
},
|
|
2393
2399
|
[
|
|
2394
|
-
|
|
2400
|
+
E.ctrlType == "grid" ? (V(), F(ge(a(re).grid), {
|
|
2395
2401
|
key: 0,
|
|
2396
|
-
setting:
|
|
2402
|
+
setting: E,
|
|
2397
2403
|
isView: s.isView,
|
|
2398
2404
|
store: a(l)
|
|
2399
|
-
}, null, 8, ["setting", "isView", "store"])) : (V(), F(ge(a(re)[
|
|
2405
|
+
}, null, 8, ["setting", "isView", "store"])) : (V(), F(ge(a(re)[E.ctrlType]), {
|
|
2400
2406
|
key: 1,
|
|
2401
|
-
setting:
|
|
2407
|
+
setting: E,
|
|
2402
2408
|
isView: s.isView,
|
|
2403
2409
|
store: a(l)
|
|
2404
2410
|
}, null, 8, ["setting", "isView", "store"]))
|
|
@@ -2420,11 +2426,11 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
|
|
|
2420
2426
|
]),
|
|
2421
2427
|
_: 2
|
|
2422
2428
|
/* DYNAMIC */
|
|
2423
|
-
}, 1032, ["collapsible", "activeKey"])) : (V(),
|
|
2429
|
+
}, 1032, ["collapsible", "activeKey"])) : (V(), Y("div", wn, [
|
|
2424
2430
|
a(d) ? (V(), F(a(Ie), {
|
|
2425
2431
|
key: 0,
|
|
2426
2432
|
ref_for: !0,
|
|
2427
|
-
ref: (
|
|
2433
|
+
ref: (E) => S(E, T),
|
|
2428
2434
|
cols: 24,
|
|
2429
2435
|
"auto-margin-right": "",
|
|
2430
2436
|
alignType: "horizontal",
|
|
@@ -2432,9 +2438,9 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
|
|
|
2432
2438
|
rules: a(p),
|
|
2433
2439
|
form: a(l).data
|
|
2434
2440
|
}, {
|
|
2435
|
-
default:
|
|
2436
|
-
(V(), F(ge(a(re)[
|
|
2437
|
-
setting:
|
|
2441
|
+
default: R(() => [
|
|
2442
|
+
(V(), F(ge(a(re)[T.ctrlType]), {
|
|
2443
|
+
setting: T,
|
|
2438
2444
|
isView: s.isView,
|
|
2439
2445
|
store: a(l)
|
|
2440
2446
|
}, null, 8, ["setting", "isView", "store"]))
|