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