@das-fed/ui 6.4.0-hot.5 → 6.4.0-hot.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -8
- package/packages/business-components/app-container/index.js +46 -255
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/change-enterprises/index.js +89 -298
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/device-panel/index.js +23782 -28729
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/layout-breadcrumb/index.js +37 -37
- package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +801 -1010
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-log/index.js +331 -3669
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-search-form/index.js +416 -404
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/hooks/useProcessTable.d.ts +2 -74
- package/packages/business-components/process-table/hooks/useValueFormatter.d.ts +6 -0
- package/packages/business-components/process-table/index.js +616 -788
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/process-table/src/type.d.ts +42 -0
- package/packages/business-components/process-table/style.css +1 -1
- package/packages/business-components/process-table/util/encryption/index.d.ts +7 -0
- package/packages/business-components/urgent-panel/index.js +1590 -2470
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/index.js +289 -273
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/style.css +1 -1
- package/packages/business-components/user-org-dialog/style.css.gz +0 -0
- package/packages/business-components/video-dialog/index.js +88 -88
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/alert/index.js +51 -3418
- package/packages/components/alert/index.js.gz +0 -0
- package/packages/components/autocomplete/index.js +456 -2875
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/breadcrumb/index.js +47 -271
- package/packages/components/breadcrumb/index.js.gz +0 -0
- package/packages/components/button/index.js +212 -9801
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/cascader/index.js +139 -6406
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/checkbox/index.js +179 -3837
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/collapse-panel/index.js +30 -3624
- package/packages/components/collapse-panel/index.js.gz +0 -0
- package/packages/components/collaspe/index.js +30 -3624
- package/packages/components/collaspe/index.js.gz +0 -0
- package/packages/components/color-picker/index.js +106 -5346
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/date-picker/index.js +529 -13993
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/dialog/index.js +186 -1835
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/drawer/index.js +38 -1614
- package/packages/components/drawer/index.js.gz +0 -0
- package/packages/components/dropdown/index.js +54 -4615
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/edit-table/index.js +411 -408
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/edit-table/src/type.d.ts +2 -6
- package/packages/components/empty/index.js +39 -800
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/image-preview/index.js +34 -1283
- package/packages/components/image-preview/index.js.gz +0 -0
- package/packages/components/image-upload/index.js +111 -11722
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/index.js +386 -13168
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/input/index.js +157 -1086
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input-number/index.js +145 -1831
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/live-player/index.js +2883 -3669
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/map/index.js +1189 -5213
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/index.js +603 -8297
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/menu-header/index.js +38 -10077
- package/packages/components/menu-header/index.js.gz +0 -0
- package/packages/components/message/index.js +53 -1289
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/notification/index.js +47 -3269
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/notification/style.css +1 -1
- package/packages/components/notification/style.css.gz +0 -0
- package/packages/components/pagination/index.js +153 -8030
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/popover/index.js +44 -2495
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/progress/index.js +107 -517
- package/packages/components/progress/index.js.gz +0 -0
- package/packages/components/radio/index.js +159 -3724
- package/packages/components/radio/index.js.gz +0 -0
- package/packages/components/scrollbar/index.js +915 -1442
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/search/index.js +89 -5261
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search-form/index.js +930 -1008
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select/index.js +379 -10505
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/index.js +1173 -1433
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/index.js +196 -2645
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/index.js +259 -2710
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/index.js +48 -3534
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/step/index.js +28 -4085
- package/packages/components/step/index.js.gz +0 -0
- package/packages/components/steps/index.js +14 -4070
- package/packages/components/switch/index.js +31 -547
- package/packages/components/switch/index.js.gz +0 -0
- package/packages/components/table/index.d.ts +2 -14
- package/packages/components/table/index.js +6286 -18588
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/table-column/index.vue.d.ts +0 -3
- package/packages/components/table/src/type.d.ts +1 -1
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tabs/index.js +172 -12630
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tag/index.js +55 -325
- package/packages/components/tag/index.js.gz +0 -0
- package/packages/components/time-line/index.js +60 -3397
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tooltip/index.js +65 -2174
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/index.js +1881 -6751
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree/src/App.vue.d.ts +24 -19
- package/packages/components/tree/src/hooks/use-tree.d.ts +0 -1
- package/packages/components/tree-select/index.js +358 -2778
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/upload/index.js +115 -11726
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/index.js +86 -2928
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/components/watermark/index.js +17 -368
- package/packages/global/theme/index.js +8 -1802
- package/packages/global/theme/index.js.gz +0 -0
- package/packages/components/steps/index.js.gz +0 -0
- package/packages/components/watermark/index.js.gz +0 -0
|
@@ -1,100 +1,101 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/process-form/style.css';
|
|
2
|
-
import { withInstall as
|
|
3
|
-
import { ref as
|
|
4
|
-
import { DasFormRef as
|
|
5
|
-
import { DasButton as
|
|
6
|
-
import { vOverlay as
|
|
7
|
-
import { createService as
|
|
8
|
-
import { DasUpload as
|
|
9
|
-
import { DasFormItem as
|
|
10
|
-
import { DasAutocomplete as
|
|
11
|
-
import
|
|
12
|
-
import { DasImageViewer as
|
|
13
|
-
import { DasInput as
|
|
2
|
+
import { withInstall as qe } from "@das-fed/utils/with-install/index";
|
|
3
|
+
import { ref as g, defineComponent as D, watch as L, openBlock as v, createBlock as V, unref as n, withCtx as R, createVNode as _, createElementVNode as Be, createTextVNode as x, toDisplayString as J, createElementBlock as E, Fragment as Z, isRef as X, createSlots as Ie, createCommentVNode as U, h as A, onMounted as Ke, renderList as pe, withDirectives as Pe, resolveDynamicComponent as Ee } from "vue";
|
|
4
|
+
import { DasFormRef as Ne, DasForm as ke } from "@das-fed/ui/packages/components/form/index";
|
|
5
|
+
import { DasButton as Ae } from "@das-fed/ui/packages/components/button/index";
|
|
6
|
+
import { vOverlay as Qe } from "@das-fed/ui/packages/components/overlay/index";
|
|
7
|
+
import { createService as P } from "@das-fed/utils/create-api-service";
|
|
8
|
+
import { DasUpload as ze } from "@das-fed/ui/packages/components/upload/index";
|
|
9
|
+
import { DasFormItem as S } from "@das-fed/ui/packages/components/form-item/index";
|
|
10
|
+
import { DasAutocomplete as Ue } from "@das-fed/ui/packages/components/autocomplete/index";
|
|
11
|
+
import ne from "dayjs";
|
|
12
|
+
import { DasImageViewer as ge } from "@das-fed/ui/packages/components/image-viewer/index";
|
|
13
|
+
import { DasInput as Ce } from "@das-fed/ui/packages/components/input/index";
|
|
14
14
|
import { DasTableColumn as T } from "@das-fed/ui/packages/components/table/index";
|
|
15
|
-
import { DasModelTableDialog as
|
|
16
|
-
import { getProjectInfo as
|
|
17
|
-
import { i18n as
|
|
18
|
-
import { getConfig as
|
|
19
|
-
import { DasRichEditor as
|
|
20
|
-
import { DasCollaspe as
|
|
21
|
-
import { DasCollaspePanel as
|
|
15
|
+
import { DasModelTableDialog as xe } from "@das-fed/ui/packages/business-components/model-table-dialog";
|
|
16
|
+
import { getProjectInfo as de } from "@das-fed/utils/common-info";
|
|
17
|
+
import { i18n as K } from "@das-fed/web/packages/i18n/index";
|
|
18
|
+
import { getConfig as Je } from "@das-fed/utils/config";
|
|
19
|
+
import { DasRichEditor as ce } from "@das-fed/ui/packages/components/rich-editor/index";
|
|
20
|
+
import { DasCollaspe as We } from "@das-fed/ui/packages/components/collaspe/index";
|
|
21
|
+
import { DasCollaspePanel as Ye } from "@das-fed/ui/packages/components/collapse-panel/index";
|
|
22
|
+
import { ElCol as Ze, ElRow as He } from "element-plus";
|
|
22
23
|
import "element-plus/theme-chalk/el-row.css";
|
|
23
24
|
import "element-plus/theme-chalk/el-col.css";
|
|
24
|
-
const Q = "v1",
|
|
25
|
-
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
const
|
|
29
|
-
const { setDetailData:
|
|
30
|
-
const [
|
|
31
|
-
if (
|
|
32
|
-
const q = JSON.parse(
|
|
33
|
-
|
|
34
|
-
z.formKey ===
|
|
25
|
+
const Q = "v1", Ge = P(`/workflow/form/form/${Q}`), Xe = P(`/workflow/form/formDef/${Q}`);
|
|
26
|
+
P(`/workflow/api/user/${Q}`);
|
|
27
|
+
const me = P(`/workflow/api/extend/${Q}`), et = P(`/workflow/flow/def/${Q}`), tt = P(`/workflow/form/customQuery/${Q}`), N = P(`/api/enterpriseright/permission/${Q}`), le = P(`/api/space-manage/space-tree/${Q}`), st = Ge.get("/formDesign"), ot = Xe.get("/get"), at = me.get("/report-config");
|
|
28
|
+
me.get("/application-report");
|
|
29
|
+
const it = et.get("/getBindRelationByDefKey"), nt = tt.get("/getByAlias"), lt = N.get("/organization/authTree"), rt = N.post("/user/list"), ut = N.post("/data/user-query"), pt = N.get("/role/list"), gt = N.post("/data/role-ids"), dt = N.get("/organization/organizationpage"), ct = N.get("/station/list"), mt = N.get("/position/list"), ee = N.post("/organization/detailbyids"), ft = le.get("/controller/area-children"), vt = le.get("/controller/fuzzy-tree-all"), yt = le.get("/controller/space"), te = g(""), ht = (a, e, t) => {
|
|
30
|
+
const { setDetailData: s, getFormData: f, setFormData: d, formRule: c } = t, r = g([]), o = g([]), l = g([]), i = g(!1), u = Ne(), p = (h) => Object.keys(h).length === 0, m = async (h) => {
|
|
31
|
+
const [y, b] = await st({ formId: h }).run();
|
|
32
|
+
if (y) return;
|
|
33
|
+
const q = JSON.parse(b.bos);
|
|
34
|
+
te.value = q[0].alias, o.value.length && o.value.forEach((z) => {
|
|
35
|
+
z.formKey === b.formKey && d(b.formKey, te.value, z.id);
|
|
35
36
|
});
|
|
36
|
-
const [
|
|
37
|
-
|
|
37
|
+
const [k, W] = await ot({ formDefId: b.defId }).run();
|
|
38
|
+
l.value = JSON.parse(W.value.expand).list, o.value.length || d(b.formKey, te.value), p(a.data) && (i.value = !0), p(a.data) || (s(a.data), a.flowKey && (r.value = a.data.button_list ? JSON.parse(a.data.button_list) : []), i.value = !0);
|
|
38
39
|
};
|
|
39
40
|
return {
|
|
40
41
|
isShowPage: i,
|
|
41
|
-
formJsonList:
|
|
42
|
-
btnList:
|
|
42
|
+
formJsonList: l,
|
|
43
|
+
btnList: r,
|
|
43
44
|
formRef: u,
|
|
44
|
-
getForm:
|
|
45
|
+
getForm: m,
|
|
45
46
|
getBtnSet: async () => {
|
|
46
|
-
if (
|
|
47
|
-
const [
|
|
48
|
-
if (
|
|
49
|
-
|
|
47
|
+
if (a.formConfigurationId) {
|
|
48
|
+
const [h, y] = await at({ id: a.formConfigurationId }).run();
|
|
49
|
+
if (h) return;
|
|
50
|
+
o.value = y.reports, r.value = y.reports[0].buttons.filter((b) => !(a.isView && b.event !== "LINK")), m(y.reports[0].formId);
|
|
50
51
|
}
|
|
51
|
-
if (
|
|
52
|
-
const [
|
|
53
|
-
if (
|
|
54
|
-
|
|
52
|
+
if (a.flowKey) {
|
|
53
|
+
const [h, y] = await it({ flowKey: a.flowKey }).run();
|
|
54
|
+
if (h) return;
|
|
55
|
+
m(y.pcForm.pcFormId);
|
|
55
56
|
}
|
|
56
57
|
},
|
|
57
|
-
handleClick: (
|
|
58
|
-
var
|
|
59
|
-
(
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
handleClick: (h) => {
|
|
59
|
+
var y;
|
|
60
|
+
(y = u.value) == null || y.validate(async (b) => {
|
|
61
|
+
b && (e("handleClick", h, f()), h.event === "LINK" && o.value.forEach((q) => {
|
|
62
|
+
h.eventTarget === q.formKey && (r.value = q.buttons.filter((k) => !(a.isView && k.event !== "LINK")), i.value = !1, c.value = {}, m(q.formId));
|
|
62
63
|
}));
|
|
63
64
|
});
|
|
64
65
|
},
|
|
65
|
-
validateFormData: () => new Promise((
|
|
66
|
-
var
|
|
67
|
-
(
|
|
68
|
-
const
|
|
69
|
-
|
|
66
|
+
validateFormData: () => new Promise((h, y) => {
|
|
67
|
+
var b;
|
|
68
|
+
(b = u.value) == null || b.validate((q) => {
|
|
69
|
+
const k = f();
|
|
70
|
+
h({
|
|
70
71
|
result: q,
|
|
71
|
-
data:
|
|
72
|
+
data: k
|
|
72
73
|
});
|
|
73
74
|
});
|
|
74
75
|
})
|
|
75
76
|
};
|
|
76
|
-
},
|
|
77
|
-
var e = new RegExp("<.+?>", "g"), t =
|
|
77
|
+
}, $ = (a) => {
|
|
78
|
+
var e = new RegExp("<.+?>", "g"), t = a.replace(e, "").replace(/ /g, "");
|
|
78
79
|
return t;
|
|
79
|
-
},
|
|
80
|
-
const [t,
|
|
81
|
-
if (!t &&
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
|
|
80
|
+
}, Y = async (a, e) => {
|
|
81
|
+
const [t, s] = await nt({ alias: a }).run();
|
|
82
|
+
if (!t && s.url) {
|
|
83
|
+
const f = e.filter((l) => l.defaultType == 2), d = g({});
|
|
84
|
+
f.forEach((l) => {
|
|
85
|
+
d.value[l.field] = l.defaultValue;
|
|
85
86
|
});
|
|
86
|
-
const
|
|
87
|
-
return
|
|
87
|
+
const c = s.requestType === "POST" ? P(s.url).post("") : P(s.url).get(""), [r, o] = await c({}, { params: d.value }).run();
|
|
88
|
+
return r ? void 0 : o;
|
|
88
89
|
}
|
|
89
|
-
},
|
|
90
|
-
const e =
|
|
91
|
-
return
|
|
90
|
+
}, j = async (a) => {
|
|
91
|
+
const e = g(!1);
|
|
92
|
+
return a.forEach((t) => {
|
|
92
93
|
t.key === "required" && (e.value = !0);
|
|
93
94
|
}), e.value;
|
|
94
|
-
},
|
|
95
|
+
}, bt = {
|
|
95
96
|
name: "attachment"
|
|
96
|
-
},
|
|
97
|
-
...
|
|
97
|
+
}, _t = /* @__PURE__ */ D({
|
|
98
|
+
...bt,
|
|
98
99
|
props: {
|
|
99
100
|
setting: { default: () => ({
|
|
100
101
|
icon: "",
|
|
@@ -108,36 +109,36 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
108
109
|
marginRight: { default: "80px" },
|
|
109
110
|
store: {}
|
|
110
111
|
},
|
|
111
|
-
setup(
|
|
112
|
-
const e =
|
|
113
|
-
e.setting.options.tip && (
|
|
114
|
-
const
|
|
115
|
-
return
|
|
116
|
-
t(e.setting.name, JSON.stringify(
|
|
117
|
-
}), (
|
|
112
|
+
setup(a) {
|
|
113
|
+
const e = a, { setData: t, getData: s, setFormRule: f } = e.store || {}, d = g();
|
|
114
|
+
e.setting.options.tip && (d.value = $(e.setting.options.tip));
|
|
115
|
+
const c = g([{ name: "111", sizeText: "9.4KB" }]);
|
|
116
|
+
return c.value || t(e.setting.name, null), L(c, (r) => {
|
|
117
|
+
t(e.setting.name, JSON.stringify(r));
|
|
118
|
+
}), (r, o) => (v(), V(n(S), {
|
|
118
119
|
col: e.span,
|
|
119
|
-
marginRight:
|
|
120
|
-
label:
|
|
120
|
+
marginRight: r.marginRight,
|
|
121
|
+
label: r.setting.desc,
|
|
121
122
|
type: "custom",
|
|
122
|
-
helpMessage:
|
|
123
|
+
helpMessage: d.value
|
|
123
124
|
}, {
|
|
124
|
-
default:
|
|
125
|
-
|
|
125
|
+
default: R(() => [
|
|
126
|
+
_(n(ze), {
|
|
126
127
|
style: { width: "100%" },
|
|
127
|
-
modelValue:
|
|
128
|
-
"onUpdate:modelValue":
|
|
128
|
+
modelValue: c.value,
|
|
129
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => c.value = l)
|
|
129
130
|
}, null, 8, ["modelValue"])
|
|
130
131
|
]),
|
|
131
132
|
_: 1
|
|
132
133
|
}, 8, ["col", "marginRight", "label", "helpMessage"]));
|
|
133
134
|
}
|
|
134
|
-
}),
|
|
135
|
+
}), fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
135
136
|
__proto__: null,
|
|
136
|
-
default:
|
|
137
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
137
|
+
default: _t
|
|
138
|
+
}, Symbol.toStringTag, { value: "Module" })), Vt = {
|
|
138
139
|
name: "autocomplete"
|
|
139
|
-
},
|
|
140
|
-
...
|
|
140
|
+
}, wt = /* @__PURE__ */ D({
|
|
141
|
+
...Vt,
|
|
141
142
|
props: {
|
|
142
143
|
setting: { default: () => ({
|
|
143
144
|
icon: "",
|
|
@@ -151,54 +152,54 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
151
152
|
marginRight: { default: "80px" },
|
|
152
153
|
store: {}
|
|
153
154
|
},
|
|
154
|
-
setup(
|
|
155
|
-
const e =
|
|
156
|
-
|
|
157
|
-
|
|
155
|
+
setup(a) {
|
|
156
|
+
const e = a, { setData: t, getData: s, setFormRule: f } = e.store || {}, d = g(!1);
|
|
157
|
+
j(e.setting.options.validateList).then((p) => {
|
|
158
|
+
d.value = p;
|
|
158
159
|
});
|
|
159
|
-
const
|
|
160
|
-
e.setting.options.customQuery.alias ?
|
|
161
|
-
|
|
162
|
-
}) :
|
|
163
|
-
const i =
|
|
164
|
-
e.setting.options.tip && (i.value =
|
|
165
|
-
const u =
|
|
166
|
-
return u.value =
|
|
167
|
-
t(e.setting.name,
|
|
168
|
-
}), (
|
|
160
|
+
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", r = e.setting.options.children ? e.setting.options.children : "children", o = !!e.setting.options.fillInFullPath, l = g([]);
|
|
161
|
+
e.setting.options.customQuery.alias ? Y(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((p) => {
|
|
162
|
+
l.value = p;
|
|
163
|
+
}) : l.value = e.setting.options.options;
|
|
164
|
+
const i = g();
|
|
165
|
+
e.setting.options.tip && (i.value = $(e.setting.options.tip));
|
|
166
|
+
const u = g("");
|
|
167
|
+
return u.value = s(e.setting.name) || u.value, u.value || t(e.setting.name, null), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(u, (p) => {
|
|
168
|
+
t(e.setting.name, p.toString());
|
|
169
|
+
}), (p, m) => (v(), V(n(S), {
|
|
169
170
|
col: e.span,
|
|
170
|
-
marginRight:
|
|
171
|
+
marginRight: p.marginRight,
|
|
171
172
|
prop: e.setting.name,
|
|
172
173
|
modelValue: u.value,
|
|
173
|
-
"onUpdate:modelValue":
|
|
174
|
-
label:
|
|
174
|
+
"onUpdate:modelValue": m[1] || (m[1] = (w) => u.value = w),
|
|
175
|
+
label: p.setting.desc,
|
|
175
176
|
type: "custom",
|
|
176
177
|
helpMessage: i.value,
|
|
177
|
-
required:
|
|
178
|
+
required: d.value
|
|
178
179
|
}, {
|
|
179
|
-
default:
|
|
180
|
-
|
|
180
|
+
default: R(() => [
|
|
181
|
+
_(n(Ue), {
|
|
181
182
|
modelValue: u.value,
|
|
182
|
-
"onUpdate:modelValue":
|
|
183
|
-
options:
|
|
183
|
+
"onUpdate:modelValue": m[0] || (m[0] = (w) => u.value = w),
|
|
184
|
+
options: l.value,
|
|
184
185
|
isView: e.isView,
|
|
185
186
|
width: "100%",
|
|
186
|
-
fieldNames: { label:
|
|
187
|
-
showFullPath:
|
|
188
|
-
placeholder:
|
|
187
|
+
fieldNames: { label: n(c), children: n(r) },
|
|
188
|
+
showFullPath: n(o),
|
|
189
|
+
placeholder: p.setting.options.placeholder,
|
|
189
190
|
clearable: ""
|
|
190
191
|
}, null, 8, ["modelValue", "options", "isView", "fieldNames", "showFullPath", "placeholder"])
|
|
191
192
|
]),
|
|
192
193
|
_: 1
|
|
193
194
|
}, 8, ["col", "marginRight", "prop", "modelValue", "label", "helpMessage", "required"]));
|
|
194
195
|
}
|
|
195
|
-
}),
|
|
196
|
+
}), ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
196
197
|
__proto__: null,
|
|
197
|
-
default:
|
|
198
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
198
|
+
default: wt
|
|
199
|
+
}, Symbol.toStringTag, { value: "Module" })), Dt = {
|
|
199
200
|
name: "checkbox"
|
|
200
|
-
},
|
|
201
|
-
...
|
|
201
|
+
}, Rt = /* @__PURE__ */ D({
|
|
202
|
+
...Dt,
|
|
202
203
|
props: {
|
|
203
204
|
setting: { default: () => ({
|
|
204
205
|
icon: "",
|
|
@@ -212,46 +213,46 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
212
213
|
marginRight: { default: "80px" },
|
|
213
214
|
store: {}
|
|
214
215
|
},
|
|
215
|
-
setup(
|
|
216
|
-
const e =
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
setup(a) {
|
|
217
|
+
const e = a, { setData: t, getData: s, setFormRule: f } = e.store || {}, d = g(!1);
|
|
218
|
+
j(e.setting.options.validateList).then((u) => {
|
|
219
|
+
d.value = u;
|
|
219
220
|
});
|
|
220
|
-
const
|
|
221
|
-
e.setting.options.customQuery.alias ?
|
|
222
|
-
|
|
223
|
-
}) :
|
|
224
|
-
const
|
|
225
|
-
e.setting.options.tip && (
|
|
226
|
-
const i =
|
|
221
|
+
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", r = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", o = g([]);
|
|
222
|
+
e.setting.options.customQuery.alias ? Y(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((u) => {
|
|
223
|
+
o.value = u;
|
|
224
|
+
}) : o.value = e.setting.options.options;
|
|
225
|
+
const l = g();
|
|
226
|
+
e.setting.options.tip && (l.value = $(e.setting.options.tip)());
|
|
227
|
+
const i = g([]);
|
|
227
228
|
return setTimeout(() => {
|
|
228
|
-
|
|
229
|
-
}, 50), e.setting.options.validateList.length &&
|
|
229
|
+
s(e.setting.name) && (i.value = s(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (i.value = e.setting.options.formulasDiyJs.split(",")), i.value.length || i.value || t(e.setting.name, null);
|
|
230
|
+
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(i, (u) => {
|
|
230
231
|
t(e.setting.name, u.toString());
|
|
231
|
-
}), (u,
|
|
232
|
+
}), (u, p) => (v(), V(n(S), {
|
|
232
233
|
col: e.span,
|
|
233
234
|
marginRight: u.marginRight,
|
|
234
235
|
modelValue: i.value,
|
|
235
|
-
"onUpdate:modelValue":
|
|
236
|
+
"onUpdate:modelValue": p[0] || (p[0] = (m) => i.value = m),
|
|
236
237
|
layout: u.setting.options.inline ? "vertical" : "default",
|
|
237
238
|
label: u.setting.desc,
|
|
238
239
|
prop: e.setting.name,
|
|
239
240
|
type: "checkbox",
|
|
240
|
-
options:
|
|
241
|
+
options: o.value,
|
|
241
242
|
isView: e.isView,
|
|
242
|
-
optionsValueKey:
|
|
243
|
-
optionsLabelKey:
|
|
244
|
-
helpMessage:
|
|
245
|
-
required:
|
|
243
|
+
optionsValueKey: n(c),
|
|
244
|
+
optionsLabelKey: n(r),
|
|
245
|
+
helpMessage: l.value,
|
|
246
|
+
required: d.value
|
|
246
247
|
}, null, 8, ["col", "marginRight", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"]));
|
|
247
248
|
}
|
|
248
|
-
}),
|
|
249
|
+
}), ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
249
250
|
__proto__: null,
|
|
250
|
-
default:
|
|
251
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
251
|
+
default: Rt
|
|
252
|
+
}, Symbol.toStringTag, { value: "Module" })), St = {
|
|
252
253
|
name: "date"
|
|
253
|
-
},
|
|
254
|
-
...
|
|
254
|
+
}, Mt = /* @__PURE__ */ D({
|
|
255
|
+
...St,
|
|
255
256
|
props: {
|
|
256
257
|
setting: { default: () => ({
|
|
257
258
|
icon: "",
|
|
@@ -265,45 +266,45 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
265
266
|
marginRight: { default: "80px" },
|
|
266
267
|
store: {}
|
|
267
268
|
},
|
|
268
|
-
setup(
|
|
269
|
-
const e =
|
|
270
|
-
|
|
271
|
-
|
|
269
|
+
setup(a) {
|
|
270
|
+
const e = a, { setData: t, getData: s, setFormRule: f } = e.store || {}, d = g(!1);
|
|
271
|
+
j(e.setting.options.validateList).then((l) => {
|
|
272
|
+
d.value = l;
|
|
272
273
|
});
|
|
273
|
-
const
|
|
274
|
-
e.setting.options.tip && (
|
|
275
|
-
const
|
|
274
|
+
const c = e.setting.options.format === "yyyy-MM-dd" ? "YYYY/MM/DD" : "YYYY/MM/DD HH:mm:ss", r = g();
|
|
275
|
+
e.setting.options.tip && (r.value = $(e.setting.options.tip));
|
|
276
|
+
const o = g();
|
|
276
277
|
if (setTimeout(() => {
|
|
277
|
-
|
|
278
|
+
o.value = s(e.setting.name) || e.setting.options.formulasDiyJs || o.value, o.value || t(e.setting.name, null);
|
|
278
279
|
}, 50), e.setting.options.showCurrentDate) {
|
|
279
|
-
let
|
|
280
|
-
|
|
280
|
+
let l = /* @__PURE__ */ new Date();
|
|
281
|
+
l.setDate(l.getDate() + e.setting.options.day), o.value = ne(l.getTime()).format(c), t(e.setting.name, o.value);
|
|
281
282
|
}
|
|
282
|
-
return e.setting.options.validateList.length &&
|
|
283
|
-
t(e.setting.name,
|
|
284
|
-
}), (
|
|
283
|
+
return e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(o, (l) => {
|
|
284
|
+
t(e.setting.name, l);
|
|
285
|
+
}), (l, i) => (v(), V(n(S), {
|
|
285
286
|
col: e.span,
|
|
286
|
-
marginRight:
|
|
287
|
-
modelValue:
|
|
288
|
-
"onUpdate:modelValue": i[0] || (i[0] = (u) =>
|
|
289
|
-
label:
|
|
287
|
+
marginRight: l.marginRight,
|
|
288
|
+
modelValue: o.value,
|
|
289
|
+
"onUpdate:modelValue": i[0] || (i[0] = (u) => o.value = u),
|
|
290
|
+
label: l.setting.desc,
|
|
290
291
|
prop: e.setting.name,
|
|
291
292
|
type: e.setting.options.format === "yyyy/MM/dd" ? "date" : "dateTime",
|
|
292
|
-
format:
|
|
293
|
-
valueFormat:
|
|
293
|
+
format: n(c),
|
|
294
|
+
valueFormat: n(c),
|
|
294
295
|
isView: e.isView,
|
|
295
|
-
placeholder:
|
|
296
|
-
helpMessage:
|
|
297
|
-
required:
|
|
296
|
+
placeholder: l.setting.options.placeholder,
|
|
297
|
+
helpMessage: r.value,
|
|
298
|
+
required: d.value
|
|
298
299
|
}, null, 8, ["col", "marginRight", "modelValue", "label", "prop", "type", "format", "valueFormat", "isView", "placeholder", "helpMessage", "required"]));
|
|
299
300
|
}
|
|
300
|
-
}),
|
|
301
|
+
}), he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
301
302
|
__proto__: null,
|
|
302
|
-
default:
|
|
303
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
303
|
+
default: Mt
|
|
304
|
+
}, Symbol.toStringTag, { value: "Module" })), Lt = {
|
|
304
305
|
name: "dropdown"
|
|
305
|
-
},
|
|
306
|
-
...
|
|
306
|
+
}, Tt = /* @__PURE__ */ D({
|
|
307
|
+
...Lt,
|
|
307
308
|
props: {
|
|
308
309
|
setting: { default: () => ({
|
|
309
310
|
icon: "",
|
|
@@ -317,50 +318,50 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
317
318
|
marginRight: { default: "80px" },
|
|
318
319
|
store: {}
|
|
319
320
|
},
|
|
320
|
-
setup(
|
|
321
|
-
const e =
|
|
322
|
-
|
|
323
|
-
|
|
321
|
+
setup(a) {
|
|
322
|
+
const e = a, { setData: t, getData: s, setFormRule: f } = e.store || {}, d = g(!1);
|
|
323
|
+
j(e.setting.options.validateList).then((m) => {
|
|
324
|
+
d.value = m;
|
|
324
325
|
});
|
|
325
|
-
const
|
|
326
|
-
e.setting.options.customQuery.alias &&
|
|
327
|
-
i.value =
|
|
326
|
+
const c = g(""), r = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", o = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", l = e.setting.options.customQuery.PId || "children", i = g([]);
|
|
327
|
+
e.setting.options.customQuery.alias && Y(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((m) => {
|
|
328
|
+
i.value = m;
|
|
328
329
|
});
|
|
329
|
-
const u =
|
|
330
|
-
e.setting.options.tip && (u.value =
|
|
331
|
-
const
|
|
332
|
-
return
|
|
333
|
-
t(e.setting.name,
|
|
334
|
-
}), (
|
|
330
|
+
const u = g();
|
|
331
|
+
e.setting.options.tip && (u.value = $(e.setting.options.tip));
|
|
332
|
+
const p = g();
|
|
333
|
+
return p.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && s(e.setting.name) ? p.value = s(e.setting.name).split(",") : p.value = s(e.setting.name) || p.value, p.value || t(e.setting.name, null), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(p, (m) => {
|
|
334
|
+
t(e.setting.name, m.toString());
|
|
335
|
+
}), (m, w) => (v(), V(n(S), {
|
|
335
336
|
col: e.span,
|
|
336
|
-
marginRight:
|
|
337
|
-
modelValue:
|
|
338
|
-
"onUpdate:modelValue":
|
|
339
|
-
keyword:
|
|
340
|
-
"onUpdate:keyword":
|
|
341
|
-
label:
|
|
337
|
+
marginRight: m.marginRight,
|
|
338
|
+
modelValue: p.value,
|
|
339
|
+
"onUpdate:modelValue": w[0] || (w[0] = (F) => p.value = F),
|
|
340
|
+
keyword: c.value,
|
|
341
|
+
"onUpdate:keyword": w[1] || (w[1] = (F) => c.value = F),
|
|
342
|
+
label: m.setting.desc,
|
|
342
343
|
type: "treeSelect",
|
|
343
|
-
"node-key":
|
|
344
|
-
placeholder:
|
|
345
|
-
mode:
|
|
344
|
+
"node-key": m.setting.options.customQuery.valueBind,
|
|
345
|
+
placeholder: m.setting.options.placeholder,
|
|
346
|
+
mode: m.setting.options.multiple ? "multiple" : "",
|
|
346
347
|
prop: e.setting.name,
|
|
347
|
-
filter:
|
|
348
|
+
filter: m.setting.options.filterable,
|
|
348
349
|
selectAttrs: { allowClear: !0 },
|
|
349
350
|
options: i.value,
|
|
350
351
|
isView: e.isView,
|
|
351
352
|
helpMessage: u.value,
|
|
352
|
-
props: { label:
|
|
353
|
-
"check-strictly": !
|
|
354
|
-
required:
|
|
353
|
+
props: { label: n(o), value: n(r), children: n(l) },
|
|
354
|
+
"check-strictly": !m.setting.options.cascade,
|
|
355
|
+
required: d.value
|
|
355
356
|
}, null, 8, ["col", "marginRight", "modelValue", "keyword", "label", "node-key", "placeholder", "mode", "prop", "filter", "options", "isView", "helpMessage", "props", "check-strictly", "required"]));
|
|
356
357
|
}
|
|
357
|
-
}),
|
|
358
|
+
}), be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
358
359
|
__proto__: null,
|
|
359
|
-
default:
|
|
360
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
360
|
+
default: Tt
|
|
361
|
+
}, Symbol.toStringTag, { value: "Module" })), $t = { class: "form-image" }, Ot = {
|
|
361
362
|
name: "imageViewer"
|
|
362
|
-
},
|
|
363
|
-
...
|
|
363
|
+
}, Ft = /* @__PURE__ */ D({
|
|
364
|
+
...Ot,
|
|
364
365
|
props: {
|
|
365
366
|
setting: { default: () => ({
|
|
366
367
|
icon: "",
|
|
@@ -374,47 +375,47 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
374
375
|
marginRight: { default: "80px" },
|
|
375
376
|
store: {}
|
|
376
377
|
},
|
|
377
|
-
setup(
|
|
378
|
-
const e =
|
|
379
|
-
|
|
380
|
-
|
|
378
|
+
setup(a) {
|
|
379
|
+
const e = a, { setData: t, getData: s, setFormRule: f } = e.store || {}, d = g(!1);
|
|
380
|
+
j(e.setting.options.validateList).then((i) => {
|
|
381
|
+
d.value = i;
|
|
381
382
|
});
|
|
382
|
-
const
|
|
383
|
-
e.isView && (
|
|
384
|
-
const
|
|
385
|
-
e.setting.options.tip && (
|
|
386
|
-
const
|
|
387
|
-
|
|
388
|
-
const
|
|
383
|
+
const c = g("normal");
|
|
384
|
+
e.isView && (c.value = "info");
|
|
385
|
+
const r = g();
|
|
386
|
+
e.setting.options.tip && (r.value = $(e.setting.options.tip));
|
|
387
|
+
const o = g();
|
|
388
|
+
o.value = e.setting.options.file.limit > 1 ? [] : "", e.setting.options.file.limit > 1 && s(e.setting.name) ? o.value = s(e.setting.name).split(",") : o.value = s(e.setting.name) || o.value, o.value || t(e.setting.name, null);
|
|
389
|
+
const l = (i) => {
|
|
389
390
|
setTimeout(() => {
|
|
390
|
-
t(e.setting.name,
|
|
391
|
+
t(e.setting.name, o.value.toString());
|
|
391
392
|
}, 100);
|
|
392
393
|
};
|
|
393
|
-
return e.setting.options.validateList.length &&
|
|
394
|
-
const u = i.map((
|
|
395
|
-
let
|
|
396
|
-
return
|
|
394
|
+
return e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(o.value, (i) => {
|
|
395
|
+
const u = i.map((p) => {
|
|
396
|
+
let m = "";
|
|
397
|
+
return p.indexOf("/oss/") != -1 ? m = p : m = `/oss/${p}`, m;
|
|
397
398
|
});
|
|
398
399
|
setTimeout(() => {
|
|
399
400
|
t(e.setting.name, u.join(","));
|
|
400
401
|
}, 100);
|
|
401
|
-
}), (i, u) => (
|
|
402
|
-
modelValue:
|
|
403
|
-
"onUpdate:modelValue": u[2] || (u[2] = (
|
|
402
|
+
}), (i, u) => (v(), V(n(S), {
|
|
403
|
+
modelValue: o.value,
|
|
404
|
+
"onUpdate:modelValue": u[2] || (u[2] = (p) => o.value = p),
|
|
404
405
|
"margin-bottom": "0",
|
|
405
406
|
prop: e.setting.name,
|
|
406
407
|
label: i.setting.desc,
|
|
407
408
|
type: "custom",
|
|
408
|
-
helpMessage:
|
|
409
|
-
required:
|
|
409
|
+
helpMessage: r.value,
|
|
410
|
+
required: d.value
|
|
410
411
|
}, {
|
|
411
|
-
default:
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
modelValue:
|
|
415
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
416
|
-
status:
|
|
417
|
-
"onUpdate:status": u[1] || (u[1] = (
|
|
412
|
+
default: R(() => [
|
|
413
|
+
Be("div", $t, [
|
|
414
|
+
_(n(ge), {
|
|
415
|
+
modelValue: o.value,
|
|
416
|
+
"onUpdate:modelValue": u[0] || (u[0] = (p) => o.value = p),
|
|
417
|
+
status: c.value,
|
|
418
|
+
"onUpdate:status": u[1] || (u[1] = (p) => c.value = p),
|
|
418
419
|
maxSize: "6",
|
|
419
420
|
"limit-num": i.setting.options.file.limit,
|
|
420
421
|
prop: e.setting.name,
|
|
@@ -426,26 +427,26 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
426
427
|
"show-image-name": "",
|
|
427
428
|
needDownloadBtn: i.setting.options.file.allowDownload == !0,
|
|
428
429
|
needPreview: i.setting.options.file.allowPreview == !0,
|
|
429
|
-
onImageUpload:
|
|
430
|
-
required:
|
|
430
|
+
onImageUpload: l,
|
|
431
|
+
required: d.value
|
|
431
432
|
}, null, 8, ["modelValue", "status", "limit-num", "prop", "needDownloadBtn", "needPreview", "required"])
|
|
432
433
|
])
|
|
433
434
|
]),
|
|
434
435
|
_: 1
|
|
435
436
|
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"]));
|
|
436
437
|
}
|
|
437
|
-
}),
|
|
438
|
-
const t =
|
|
439
|
-
for (const [
|
|
440
|
-
t[
|
|
438
|
+
}), re = (a, e) => {
|
|
439
|
+
const t = a.__vccOpts || a;
|
|
440
|
+
for (const [s, f] of e)
|
|
441
|
+
t[s] = f;
|
|
441
442
|
return t;
|
|
442
|
-
},
|
|
443
|
+
}, jt = /* @__PURE__ */ re(Ft, [["__scopeId", "data-v-e26b3898"]]), _e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
443
444
|
__proto__: null,
|
|
444
|
-
default:
|
|
445
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
445
|
+
default: jt
|
|
446
|
+
}, Symbol.toStringTag, { value: "Module" })), qt = {
|
|
446
447
|
name: "input"
|
|
447
|
-
},
|
|
448
|
-
...
|
|
448
|
+
}, Bt = /* @__PURE__ */ D({
|
|
449
|
+
...qt,
|
|
449
450
|
props: {
|
|
450
451
|
setting: { default: () => ({
|
|
451
452
|
icon: "",
|
|
@@ -459,43 +460,43 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
459
460
|
marginRight: { default: "80px" },
|
|
460
461
|
store: {}
|
|
461
462
|
},
|
|
462
|
-
setup(
|
|
463
|
-
const e =
|
|
464
|
-
|
|
465
|
-
|
|
463
|
+
setup(a) {
|
|
464
|
+
const e = a, { setData: t, getData: s, setFormRule: f } = e.store || {}, d = g(!1);
|
|
465
|
+
j(e.setting.options.validateList).then((o) => {
|
|
466
|
+
d.value = o;
|
|
466
467
|
});
|
|
467
|
-
const
|
|
468
|
-
e.setting.options.tip && (
|
|
469
|
-
const
|
|
468
|
+
const c = g();
|
|
469
|
+
e.setting.options.tip && (c.value = $(e.setting.options.tip));
|
|
470
|
+
const r = g("");
|
|
470
471
|
return setTimeout(() => {
|
|
471
|
-
|
|
472
|
-
}, 50), e.setting.options.validateList.length &&
|
|
473
|
-
e.setting.options.dataType === "number" && !isNaN(
|
|
474
|
-
}), (
|
|
472
|
+
r.value = s(e.setting.name) || e.setting.options.formulasDiyJs || r.value, r.value || t(e.setting.name, null);
|
|
473
|
+
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(r, (o) => {
|
|
474
|
+
e.setting.options.dataType === "number" && !isNaN(o) ? t(e.setting.name, Number(o)) : t(e.setting.name, o);
|
|
475
|
+
}), (o, l) => (v(), V(n(S), {
|
|
475
476
|
col: e.span,
|
|
476
|
-
marginRight:
|
|
477
|
+
marginRight: o.marginRight,
|
|
477
478
|
prop: e.setting.name,
|
|
478
|
-
modelValue:
|
|
479
|
-
"onUpdate:modelValue":
|
|
480
|
-
label:
|
|
479
|
+
modelValue: r.value,
|
|
480
|
+
"onUpdate:modelValue": l[1] || (l[1] = (i) => r.value = i),
|
|
481
|
+
label: o.setting.desc,
|
|
481
482
|
type: "custom",
|
|
482
|
-
helpMessage:
|
|
483
|
-
required:
|
|
483
|
+
helpMessage: c.value,
|
|
484
|
+
required: d.value
|
|
484
485
|
}, {
|
|
485
|
-
default:
|
|
486
|
-
|
|
487
|
-
modelValue:
|
|
488
|
-
"onUpdate:modelValue":
|
|
489
|
-
width:
|
|
490
|
-
disabled:
|
|
491
|
-
isView:
|
|
492
|
-
placeholder:
|
|
486
|
+
default: R(() => [
|
|
487
|
+
_(n(Ce), {
|
|
488
|
+
modelValue: r.value,
|
|
489
|
+
"onUpdate:modelValue": l[0] || (l[0] = (i) => r.value = i),
|
|
490
|
+
width: o.setting.options.width,
|
|
491
|
+
disabled: o.setting.options.isInputEdit,
|
|
492
|
+
isView: o.setting.options.isReadonly || e.isView,
|
|
493
|
+
placeholder: o.setting.options.placeholder
|
|
493
494
|
}, {
|
|
494
|
-
prepend:
|
|
495
|
-
|
|
495
|
+
prepend: R(() => [
|
|
496
|
+
x(J(o.setting.options.bindPreAndSufFixjson.preFix), 1)
|
|
496
497
|
]),
|
|
497
|
-
append:
|
|
498
|
-
|
|
498
|
+
append: R(() => [
|
|
499
|
+
x(J(o.setting.options.bindPreAndSufFixjson.sufSix), 1)
|
|
499
500
|
]),
|
|
500
501
|
_: 1
|
|
501
502
|
}, 8, ["modelValue", "width", "disabled", "isView", "placeholder"])
|
|
@@ -503,13 +504,13 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
503
504
|
_: 1
|
|
504
505
|
}, 8, ["col", "marginRight", "prop", "modelValue", "label", "helpMessage", "required"]));
|
|
505
506
|
}
|
|
506
|
-
}),
|
|
507
|
+
}), Ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
507
508
|
__proto__: null,
|
|
508
|
-
default:
|
|
509
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
509
|
+
default: Bt
|
|
510
|
+
}, Symbol.toStringTag, { value: "Module" })), It = {
|
|
510
511
|
name: "number"
|
|
511
|
-
},
|
|
512
|
-
...
|
|
512
|
+
}, Kt = /* @__PURE__ */ D({
|
|
513
|
+
...It,
|
|
513
514
|
props: {
|
|
514
515
|
setting: { default: () => ({
|
|
515
516
|
icon: "",
|
|
@@ -523,43 +524,43 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
523
524
|
marginRight: { default: "80px" },
|
|
524
525
|
store: {}
|
|
525
526
|
},
|
|
526
|
-
setup(
|
|
527
|
-
const e =
|
|
528
|
-
|
|
529
|
-
|
|
527
|
+
setup(a) {
|
|
528
|
+
const e = a, { setData: t, getData: s, setFormRule: f } = e.store || {}, d = g(!1);
|
|
529
|
+
j(e.setting.options.validateList).then((o) => {
|
|
530
|
+
d.value = o;
|
|
530
531
|
});
|
|
531
|
-
const
|
|
532
|
-
e.setting.options.tip && (
|
|
533
|
-
const
|
|
532
|
+
const c = g();
|
|
533
|
+
e.setting.options.tip && (c.value = $(e.setting.options.tip));
|
|
534
|
+
const r = g(0);
|
|
534
535
|
return setTimeout(() => {
|
|
535
|
-
|
|
536
|
-
}, 50), e.setting.options.validateList.length &&
|
|
537
|
-
t(e.setting.name,
|
|
538
|
-
}), (
|
|
536
|
+
r.value = s(e.setting.name) || e.setting.options.formulasDiyJs || r.value, r.value || t(e.setting.name, null);
|
|
537
|
+
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(r, (o) => {
|
|
538
|
+
t(e.setting.name, o);
|
|
539
|
+
}), (o, l) => (v(), V(n(S), {
|
|
539
540
|
col: e.span,
|
|
540
|
-
marginRight:
|
|
541
|
-
modelValue:
|
|
542
|
-
"onUpdate:modelValue":
|
|
541
|
+
marginRight: o.marginRight,
|
|
542
|
+
modelValue: r.value,
|
|
543
|
+
"onUpdate:modelValue": l[0] || (l[0] = (i) => r.value = i),
|
|
543
544
|
style: { width: "100%" },
|
|
544
|
-
label:
|
|
545
|
+
label: o.setting.desc,
|
|
545
546
|
type: "inputNumber",
|
|
546
547
|
prop: e.setting.name,
|
|
547
|
-
max:
|
|
548
|
-
min:
|
|
549
|
-
step:
|
|
548
|
+
max: o.setting.options.max,
|
|
549
|
+
min: o.setting.options.min,
|
|
550
|
+
step: o.setting.options.step,
|
|
550
551
|
isView: e.isView,
|
|
551
|
-
precision:
|
|
552
|
-
helpMessage:
|
|
553
|
-
required:
|
|
552
|
+
precision: o.setting.options.decimalDigits,
|
|
553
|
+
helpMessage: c.value,
|
|
554
|
+
required: d.value
|
|
554
555
|
}, null, 8, ["col", "marginRight", "modelValue", "label", "prop", "max", "min", "step", "isView", "precision", "helpMessage", "required"]));
|
|
555
556
|
}
|
|
556
|
-
}),
|
|
557
|
+
}), we = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
557
558
|
__proto__: null,
|
|
558
|
-
default:
|
|
559
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
559
|
+
default: Kt
|
|
560
|
+
}, Symbol.toStringTag, { value: "Module" })), Pt = {
|
|
560
561
|
name: "radio"
|
|
561
|
-
},
|
|
562
|
-
...
|
|
562
|
+
}, Et = /* @__PURE__ */ D({
|
|
563
|
+
...Pt,
|
|
563
564
|
props: {
|
|
564
565
|
setting: { default: () => ({
|
|
565
566
|
icon: "",
|
|
@@ -573,47 +574,47 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
573
574
|
marginRight: { default: "80px" },
|
|
574
575
|
store: {}
|
|
575
576
|
},
|
|
576
|
-
setup(
|
|
577
|
-
const e =
|
|
578
|
-
|
|
579
|
-
|
|
577
|
+
setup(a) {
|
|
578
|
+
const e = a, { setData: t, getData: s, setFormRule: f } = e.store || {}, d = g(!1);
|
|
579
|
+
j(e.setting.options.validateList).then((u) => {
|
|
580
|
+
d.value = u;
|
|
580
581
|
});
|
|
581
|
-
const
|
|
582
|
-
e.setting.options.customQuery.alias ?
|
|
583
|
-
|
|
584
|
-
}) :
|
|
585
|
-
const
|
|
586
|
-
e.setting.options.tip && (
|
|
587
|
-
const i =
|
|
582
|
+
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", r = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", o = g([]);
|
|
583
|
+
e.setting.options.customQuery.alias ? Y(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((u) => {
|
|
584
|
+
o.value = u;
|
|
585
|
+
}) : o.value = e.setting.options.options;
|
|
586
|
+
const l = g();
|
|
587
|
+
e.setting.options.tip && (l.value = $(e.setting.options.tip));
|
|
588
|
+
const i = g(null);
|
|
588
589
|
return setTimeout(() => {
|
|
589
|
-
i.value =
|
|
590
|
-
}, 50), e.setting.options.validateList.length &&
|
|
590
|
+
i.value = s(e.setting.name) || e.setting.options.formulasDiyJs || i.value, i.value || t(e.setting.name, null);
|
|
591
|
+
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(i, (u) => {
|
|
591
592
|
t(e.setting.name, u);
|
|
592
|
-
}), (u,
|
|
593
|
+
}), (u, p) => (v(), V(n(S), {
|
|
593
594
|
col: e.span,
|
|
594
595
|
marginRight: u.marginRight,
|
|
595
596
|
modelValue: i.value,
|
|
596
|
-
"onUpdate:modelValue":
|
|
597
|
+
"onUpdate:modelValue": p[0] || (p[0] = (m) => i.value = m),
|
|
597
598
|
layout: u.setting.options.inline ? "vertical" : "default",
|
|
598
599
|
label: u.setting.desc,
|
|
599
600
|
type: "radio",
|
|
600
601
|
prop: e.setting.name,
|
|
601
|
-
options:
|
|
602
|
+
options: o.value,
|
|
602
603
|
isView: e.isView,
|
|
603
|
-
optionsValueKey:
|
|
604
|
-
optionsLabelKey:
|
|
605
|
-
helpMessage:
|
|
606
|
-
required:
|
|
604
|
+
optionsValueKey: n(c),
|
|
605
|
+
optionsLabelKey: n(r),
|
|
606
|
+
helpMessage: l.value,
|
|
607
|
+
required: d.value,
|
|
607
608
|
isSetTimeout: !0
|
|
608
609
|
}, null, 8, ["col", "marginRight", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"]));
|
|
609
610
|
}
|
|
610
|
-
}),
|
|
611
|
+
}), De = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
611
612
|
__proto__: null,
|
|
612
|
-
default:
|
|
613
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
613
|
+
default: Et
|
|
614
|
+
}, Symbol.toStringTag, { value: "Module" })), Nt = {
|
|
614
615
|
name: "select"
|
|
615
|
-
},
|
|
616
|
-
...
|
|
616
|
+
}, kt = /* @__PURE__ */ D({
|
|
617
|
+
...Nt,
|
|
617
618
|
props: {
|
|
618
619
|
setting: { default: () => ({
|
|
619
620
|
icon: "",
|
|
@@ -627,27 +628,27 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
627
628
|
marginRight: { default: "80px" },
|
|
628
629
|
store: {}
|
|
629
630
|
},
|
|
630
|
-
setup(
|
|
631
|
-
const e =
|
|
632
|
-
|
|
633
|
-
|
|
631
|
+
setup(a) {
|
|
632
|
+
const e = a, { setData: t, getData: s, setFormRule: f } = e.store || {}, d = g(!1);
|
|
633
|
+
j(e.setting.options.validateList).then((u) => {
|
|
634
|
+
d.value = u;
|
|
634
635
|
});
|
|
635
|
-
const
|
|
636
|
-
e.setting.options.customQuery.alias ?
|
|
637
|
-
|
|
638
|
-
}) :
|
|
639
|
-
const
|
|
640
|
-
e.setting.options.tip && (
|
|
641
|
-
const i =
|
|
636
|
+
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", r = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", o = g([]);
|
|
637
|
+
e.setting.options.customQuery.alias ? Y(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((u) => {
|
|
638
|
+
o.value = u;
|
|
639
|
+
}) : o.value = e.setting.options.options;
|
|
640
|
+
const l = g();
|
|
641
|
+
e.setting.options.tip && (l.value = $(e.setting.options.tip));
|
|
642
|
+
const i = g();
|
|
642
643
|
return i.value = e.setting.options.multiple ? [] : "", setTimeout(() => {
|
|
643
|
-
e.setting.options.multiple && (
|
|
644
|
-
}, 50), e.setting.options.validateList.length &&
|
|
644
|
+
e.setting.options.multiple && (s(e.setting.name) || e.setting.options.formulasDiyJs) ? (s(e.setting.name) && (i.value = s(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (i.value = e.setting.options.formulasDiyJs.split(","))) : i.value = s(e.setting.name) || e.setting.options.formulasDiyJs || i.value, i.value || t(e.setting.name, null);
|
|
645
|
+
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(i, (u) => {
|
|
645
646
|
t(e.setting.name, u.toString());
|
|
646
|
-
}), (u,
|
|
647
|
+
}), (u, p) => (v(), V(n(S), {
|
|
647
648
|
col: e.span,
|
|
648
649
|
marginRight: u.marginRight,
|
|
649
650
|
modelValue: i.value,
|
|
650
|
-
"onUpdate:modelValue":
|
|
651
|
+
"onUpdate:modelValue": p[0] || (p[0] = (m) => i.value = m),
|
|
651
652
|
label: u.setting.desc,
|
|
652
653
|
type: "select",
|
|
653
654
|
prop: e.setting.name,
|
|
@@ -656,60 +657,60 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
656
657
|
showSearch: u.setting.options.filterable,
|
|
657
658
|
allowClear: !0,
|
|
658
659
|
isView: e.isView,
|
|
659
|
-
options:
|
|
660
|
-
optionsValueKey:
|
|
661
|
-
optionsLabelKey:
|
|
662
|
-
helpMessage:
|
|
663
|
-
required:
|
|
660
|
+
options: o.value,
|
|
661
|
+
optionsValueKey: n(c),
|
|
662
|
+
optionsLabelKey: n(r),
|
|
663
|
+
helpMessage: l.value,
|
|
664
|
+
required: d.value
|
|
664
665
|
}, null, 8, ["col", "marginRight", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"]));
|
|
665
666
|
}
|
|
666
|
-
}),
|
|
667
|
+
}), Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
667
668
|
__proto__: null,
|
|
668
|
-
default:
|
|
669
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
670
|
-
const e =
|
|
671
|
-
user:
|
|
672
|
-
org:
|
|
673
|
-
role:
|
|
674
|
-
job:
|
|
675
|
-
post:
|
|
676
|
-
},
|
|
669
|
+
default: kt
|
|
670
|
+
}, Symbol.toStringTag, { value: "Module" })), At = (a) => {
|
|
671
|
+
const e = de().id, t = g(!1), s = a.options.selector.type.alias.replace("eip-", "").replace("-selector", ""), f = g([]), d = g(""), c = {
|
|
672
|
+
user: K("用户选择器").value,
|
|
673
|
+
org: K("组织选择器").value,
|
|
674
|
+
role: K("角色选择器").value,
|
|
675
|
+
job: K("职务选择器").value,
|
|
676
|
+
post: K("岗位选择器").value
|
|
677
|
+
}, r = {
|
|
677
678
|
user: "id",
|
|
678
679
|
org: "id",
|
|
679
680
|
role: "id",
|
|
680
681
|
job: "positionId",
|
|
681
682
|
post: "stationId"
|
|
682
|
-
},
|
|
683
|
-
1:
|
|
684
|
-
2:
|
|
685
|
-
3:
|
|
686
|
-
},
|
|
687
|
-
0:
|
|
688
|
-
1:
|
|
683
|
+
}, o = {
|
|
684
|
+
1: K("正常").value,
|
|
685
|
+
2: K("锁定").value,
|
|
686
|
+
3: K("禁用").value
|
|
687
|
+
}, l = {
|
|
688
|
+
0: K("普通").value,
|
|
689
|
+
1: K("管理员").value
|
|
689
690
|
}, i = {
|
|
690
|
-
0:
|
|
691
|
-
1:
|
|
691
|
+
0: K("无效").value,
|
|
692
|
+
1: K("有效").value
|
|
692
693
|
}, u = {
|
|
693
|
-
user:
|
|
694
|
-
org:
|
|
695
|
-
role:
|
|
696
|
-
job:
|
|
697
|
-
post:
|
|
698
|
-
},
|
|
699
|
-
return
|
|
694
|
+
user: ut,
|
|
695
|
+
org: ee,
|
|
696
|
+
role: gt,
|
|
697
|
+
job: ee,
|
|
698
|
+
post: ee
|
|
699
|
+
}, p = c[s], m = g({});
|
|
700
|
+
return s === "org" ? m.value = {
|
|
700
701
|
left: !1,
|
|
701
702
|
content: {}
|
|
702
|
-
} :
|
|
703
|
+
} : m.value = {
|
|
703
704
|
left: {
|
|
704
|
-
api:
|
|
705
|
+
api: lt,
|
|
705
706
|
params: {
|
|
706
707
|
projectId: e,
|
|
707
708
|
parentId: e
|
|
708
709
|
}
|
|
709
710
|
},
|
|
710
711
|
content: {}
|
|
711
|
-
},
|
|
712
|
-
api:
|
|
712
|
+
}, s === "user" && (m.value.content = {
|
|
713
|
+
api: rt,
|
|
713
714
|
searchKey: "groupId",
|
|
714
715
|
params: {
|
|
715
716
|
status: 1
|
|
@@ -717,13 +718,13 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
717
718
|
selectListProps: {
|
|
718
719
|
data: []
|
|
719
720
|
}
|
|
720
|
-
}),
|
|
721
|
-
api:
|
|
721
|
+
}), s === "org" && (m.value.content = {
|
|
722
|
+
api: dt,
|
|
722
723
|
selectListProps: {
|
|
723
724
|
data: []
|
|
724
725
|
}
|
|
725
|
-
}),
|
|
726
|
-
api:
|
|
726
|
+
}), s === "role" && (m.value.content = {
|
|
727
|
+
api: pt,
|
|
727
728
|
searchKey: "orgId",
|
|
728
729
|
params: {
|
|
729
730
|
status: 1
|
|
@@ -731,8 +732,8 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
731
732
|
selectListProps: {
|
|
732
733
|
data: []
|
|
733
734
|
}
|
|
734
|
-
}),
|
|
735
|
-
api:
|
|
735
|
+
}), s === "job" && (m.value.content = {
|
|
736
|
+
api: mt,
|
|
736
737
|
searchKey: "groupId",
|
|
737
738
|
props: {
|
|
738
739
|
rowKey: "positionId"
|
|
@@ -740,8 +741,8 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
740
741
|
selectListProps: {
|
|
741
742
|
data: []
|
|
742
743
|
}
|
|
743
|
-
}),
|
|
744
|
-
api:
|
|
744
|
+
}), s === "post" && (m.value.content = {
|
|
745
|
+
api: ct,
|
|
745
746
|
searchKey: "groupId",
|
|
746
747
|
props: {
|
|
747
748
|
rowKey: "stationId"
|
|
@@ -749,77 +750,77 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
749
750
|
selectListProps: {
|
|
750
751
|
data: []
|
|
751
752
|
}
|
|
752
|
-
}),
|
|
753
|
+
}), m.value.content.multiple = !a.options.selector.isSingle, {
|
|
753
754
|
dialogVisible: t,
|
|
754
|
-
title:
|
|
755
|
-
searchName:
|
|
756
|
-
selectorType:
|
|
757
|
-
selectOptions:
|
|
758
|
-
tableOptions:
|
|
759
|
-
userStatusMap:
|
|
760
|
-
roleTypeMap:
|
|
755
|
+
title: p,
|
|
756
|
+
searchName: d,
|
|
757
|
+
selectorType: s,
|
|
758
|
+
selectOptions: f,
|
|
759
|
+
tableOptions: m,
|
|
760
|
+
userStatusMap: o,
|
|
761
|
+
roleTypeMap: l,
|
|
761
762
|
roleStatusMap: i,
|
|
762
763
|
openDialog: () => {
|
|
763
|
-
|
|
764
|
-
let
|
|
765
|
-
|
|
764
|
+
d.value = "", t.value = !0;
|
|
765
|
+
let h = r[s];
|
|
766
|
+
m.value.content.selectListProps.data = f.value.map((y) => ({ name: y.label, [h]: y.value }));
|
|
766
767
|
},
|
|
767
|
-
confirm: (
|
|
768
|
-
let
|
|
769
|
-
|
|
768
|
+
confirm: (h) => {
|
|
769
|
+
let y = r[s];
|
|
770
|
+
f.value = h.map((b) => ({ label: b.name, value: b[y] }));
|
|
770
771
|
},
|
|
771
|
-
getDetail: async (
|
|
772
|
-
const
|
|
773
|
-
let
|
|
774
|
-
const q =
|
|
775
|
-
|
|
776
|
-
const [
|
|
777
|
-
|
|
772
|
+
getDetail: async (h) => {
|
|
773
|
+
const y = u[s];
|
|
774
|
+
let b = {};
|
|
775
|
+
const q = h.split(",");
|
|
776
|
+
s === "user" && (b = { userIds: q }), s === "role" ? b = { ids: q } : b = q;
|
|
777
|
+
const [k, W] = await y().run(b);
|
|
778
|
+
k || (f.value = W.map((z) => ({ label: z.name, value: z.id })));
|
|
778
779
|
}
|
|
779
780
|
};
|
|
780
|
-
},
|
|
781
|
-
const
|
|
781
|
+
}, Qt = () => {
|
|
782
|
+
const a = g(""), e = g(""), t = g([]), s = g("");
|
|
782
783
|
return {
|
|
783
|
-
spacePath:
|
|
784
|
+
spacePath: a,
|
|
784
785
|
spaceName: e,
|
|
785
786
|
spaceTreeData: t,
|
|
786
|
-
searchSpace:
|
|
787
|
-
changeSpace: (
|
|
788
|
-
|
|
787
|
+
searchSpace: s,
|
|
788
|
+
changeSpace: (o, l) => {
|
|
789
|
+
a.value = l[0].path, e.value = l[0].pathName;
|
|
789
790
|
},
|
|
790
|
-
spaceLoad: async (
|
|
791
|
-
let
|
|
791
|
+
spaceLoad: async (o) => {
|
|
792
|
+
let l = {
|
|
792
793
|
pageSize: 1e4,
|
|
793
794
|
pageIndex: 1,
|
|
794
|
-
projectId:
|
|
795
|
+
projectId: de().id,
|
|
795
796
|
//项目id
|
|
796
797
|
spaceId: ""
|
|
797
798
|
// orgId:getProjectInfo().id
|
|
798
799
|
};
|
|
799
|
-
|
|
800
|
-
let i =
|
|
801
|
-
const [u,
|
|
802
|
-
return u ? {} :
|
|
800
|
+
l.spaceId = o != null && o.id ? o.id : "";
|
|
801
|
+
let i = ft;
|
|
802
|
+
const [u, p] = await i(l).run();
|
|
803
|
+
return u ? {} : p;
|
|
803
804
|
},
|
|
804
|
-
filterSpaceTree: async (
|
|
805
|
-
if (!
|
|
806
|
-
let
|
|
805
|
+
filterSpaceTree: async (o) => {
|
|
806
|
+
if (!o) return [];
|
|
807
|
+
let l = vt;
|
|
807
808
|
const i = {
|
|
808
|
-
name:
|
|
809
|
-
}, [u,
|
|
810
|
-
return u ? {} : (
|
|
811
|
-
|
|
812
|
-
}),
|
|
809
|
+
name: o
|
|
810
|
+
}, [u, p] = await l(i).run();
|
|
811
|
+
return u ? {} : (p.forEach((m) => {
|
|
812
|
+
m.path.startsWith("/0") && (m.path = m.path.slice(2) + `/${m.id}`), m._name = m.nodeName ? m.nodeName : m.name;
|
|
813
|
+
}), p);
|
|
813
814
|
},
|
|
814
|
-
getSpaceDetail: async (
|
|
815
|
-
const [
|
|
816
|
-
|
|
815
|
+
getSpaceDetail: async (o) => {
|
|
816
|
+
const [l, i] = await yt().run({ spaceId: o });
|
|
817
|
+
l || (a.value = i.path);
|
|
817
818
|
}
|
|
818
819
|
};
|
|
819
|
-
},
|
|
820
|
+
}, zt = {
|
|
820
821
|
name: "selector"
|
|
821
|
-
},
|
|
822
|
-
...
|
|
822
|
+
}, Ut = /* @__PURE__ */ D({
|
|
823
|
+
...zt,
|
|
823
824
|
props: {
|
|
824
825
|
setting: { default: () => ({
|
|
825
826
|
icon: "",
|
|
@@ -833,149 +834,149 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
833
834
|
marginRight: { default: "80px" },
|
|
834
835
|
store: {}
|
|
835
836
|
},
|
|
836
|
-
setup(
|
|
837
|
-
const e =
|
|
838
|
-
dialogVisible:
|
|
839
|
-
title:
|
|
840
|
-
searchName:
|
|
841
|
-
tableOptions:
|
|
842
|
-
selectorType:
|
|
837
|
+
setup(a) {
|
|
838
|
+
const e = a, { setData: t, getData: s, setFormRule: f } = e.store || {}, {
|
|
839
|
+
dialogVisible: d,
|
|
840
|
+
title: c,
|
|
841
|
+
searchName: r,
|
|
842
|
+
tableOptions: o,
|
|
843
|
+
selectorType: l,
|
|
843
844
|
selectOptions: i,
|
|
844
845
|
userStatusMap: u,
|
|
845
|
-
roleTypeMap:
|
|
846
|
-
roleStatusMap:
|
|
847
|
-
openDialog:
|
|
848
|
-
confirm:
|
|
849
|
-
getDetail:
|
|
850
|
-
} =
|
|
851
|
-
|
|
852
|
-
|
|
846
|
+
roleTypeMap: p,
|
|
847
|
+
roleStatusMap: m,
|
|
848
|
+
openDialog: w,
|
|
849
|
+
confirm: F,
|
|
850
|
+
getDetail: C
|
|
851
|
+
} = At(e.setting), { spacePath: h, spaceName: y, searchSpace: b, changeSpace: q, spaceLoad: k, filterSpaceTree: W, getSpaceDetail: z } = Qt(), H = g(!1);
|
|
852
|
+
j(e.setting.options.validateList).then((B) => {
|
|
853
|
+
H.value = B;
|
|
853
854
|
});
|
|
854
|
-
const
|
|
855
|
-
return e.setting.options.tip && (
|
|
856
|
-
|
|
857
|
-
})) : (
|
|
855
|
+
const M = g(""), G = g();
|
|
856
|
+
return e.setting.options.tip && (G.value = $(e.setting.options.tip)), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), l !== "position" ? (M.value = s(e.setting.name) ? s(e.setting.name) : M.value, M.value && C(M.value), M.value.length || t(e.setting.name, null), L(i, (B) => {
|
|
857
|
+
M.value = B.map((I) => I.value).toString(), t(e.setting.name, M.value);
|
|
858
|
+
})) : (M.value = s(e.setting.name) ? s(e.setting.name) : M.value, M.value && z(M.value), M.value || t(e.setting.name, null), L(M, (B) => {
|
|
858
859
|
t(e.setting.name, B);
|
|
859
|
-
}),
|
|
860
|
+
}), L(y, (B) => {
|
|
860
861
|
t(e.setting.options.selector.type.positionName, B);
|
|
861
|
-
})), (B,
|
|
862
|
-
l
|
|
862
|
+
})), (B, I) => (v(), E(Z, null, [
|
|
863
|
+
n(l) != "position" ? (v(), V(n(S), {
|
|
863
864
|
key: 0,
|
|
864
865
|
col: e.span,
|
|
865
866
|
marginRight: B.marginRight,
|
|
866
|
-
modelValue:
|
|
867
|
-
"onUpdate:modelValue":
|
|
867
|
+
modelValue: M.value,
|
|
868
|
+
"onUpdate:modelValue": I[1] || (I[1] = (O) => M.value = O),
|
|
868
869
|
prop: e.setting.name,
|
|
869
870
|
label: B.setting.desc,
|
|
870
871
|
type: "inputDialogSelect",
|
|
871
|
-
options:
|
|
872
|
-
helpMessage:
|
|
872
|
+
options: n(i),
|
|
873
|
+
helpMessage: G.value,
|
|
873
874
|
isView: e.isView,
|
|
874
|
-
required:
|
|
875
|
-
onOpenDialog:
|
|
875
|
+
required: H.value,
|
|
876
|
+
onOpenDialog: n(w)
|
|
876
877
|
}, {
|
|
877
|
-
default:
|
|
878
|
-
|
|
879
|
-
modelValue:
|
|
880
|
-
"onUpdate:modelValue":
|
|
881
|
-
options:
|
|
882
|
-
onConfirm:
|
|
883
|
-
title:
|
|
884
|
-
},
|
|
885
|
-
l
|
|
878
|
+
default: R(() => [
|
|
879
|
+
_(n(xe), {
|
|
880
|
+
modelValue: n(d),
|
|
881
|
+
"onUpdate:modelValue": I[0] || (I[0] = (O) => X(d) ? d.value = O : null),
|
|
882
|
+
options: n(o),
|
|
883
|
+
onConfirm: n(F),
|
|
884
|
+
title: n(c)
|
|
885
|
+
}, Ie({ _: 2 }, [
|
|
886
|
+
n(l) === "user" ? {
|
|
886
887
|
name: "table-column",
|
|
887
|
-
fn:
|
|
888
|
-
|
|
888
|
+
fn: R(() => [
|
|
889
|
+
_(n(T), {
|
|
889
890
|
label: "姓名",
|
|
890
891
|
prop: "name"
|
|
891
892
|
}),
|
|
892
|
-
|
|
893
|
+
_(n(T), {
|
|
893
894
|
label: "账号",
|
|
894
895
|
prop: "userName"
|
|
895
896
|
}),
|
|
896
|
-
|
|
897
|
+
_(n(T), {
|
|
897
898
|
label: "手机号",
|
|
898
899
|
prop: "sensitivePhone"
|
|
899
900
|
}),
|
|
900
|
-
|
|
901
|
-
default:
|
|
902
|
-
|
|
901
|
+
_(n(T), { label: "状态" }, {
|
|
902
|
+
default: R(({ row: O }) => [
|
|
903
|
+
x(J(n(u)[O.status]), 1)
|
|
903
904
|
]),
|
|
904
905
|
_: 1
|
|
905
906
|
})
|
|
906
907
|
]),
|
|
907
908
|
key: "0"
|
|
908
909
|
} : void 0,
|
|
909
|
-
l
|
|
910
|
+
n(l) === "org" ? {
|
|
910
911
|
name: "table-column",
|
|
911
|
-
fn:
|
|
912
|
-
|
|
912
|
+
fn: R(() => [
|
|
913
|
+
_(n(T), {
|
|
913
914
|
label: "组织名称",
|
|
914
915
|
prop: "name"
|
|
915
916
|
}),
|
|
916
|
-
|
|
917
|
+
_(n(T), {
|
|
917
918
|
label: "组织编码",
|
|
918
919
|
prop: "code"
|
|
919
920
|
}),
|
|
920
|
-
|
|
921
|
+
_(n(T), {
|
|
921
922
|
label: "组织类型",
|
|
922
923
|
prop: "typeName"
|
|
923
924
|
})
|
|
924
925
|
]),
|
|
925
926
|
key: "1"
|
|
926
927
|
} : void 0,
|
|
927
|
-
l
|
|
928
|
+
n(l) === "role" ? {
|
|
928
929
|
name: "table-column",
|
|
929
|
-
fn:
|
|
930
|
-
|
|
930
|
+
fn: R(() => [
|
|
931
|
+
_(n(T), {
|
|
931
932
|
label: "角色名称",
|
|
932
933
|
prop: "name"
|
|
933
934
|
}),
|
|
934
|
-
|
|
935
|
-
default:
|
|
936
|
-
|
|
935
|
+
_(n(T), { label: "角色类型" }, {
|
|
936
|
+
default: R(({ row: O }) => [
|
|
937
|
+
x(J(n(p)[O.type]), 1)
|
|
937
938
|
]),
|
|
938
939
|
_: 1
|
|
939
940
|
}),
|
|
940
|
-
|
|
941
|
-
default:
|
|
942
|
-
|
|
941
|
+
_(n(T), { label: "角色状态" }, {
|
|
942
|
+
default: R(({ row: O }) => [
|
|
943
|
+
x(J(n(m)[O.status]), 1)
|
|
943
944
|
]),
|
|
944
945
|
_: 1
|
|
945
946
|
})
|
|
946
947
|
]),
|
|
947
948
|
key: "2"
|
|
948
949
|
} : void 0,
|
|
949
|
-
l
|
|
950
|
+
n(l) === "job" ? {
|
|
950
951
|
name: "table-column",
|
|
951
|
-
fn:
|
|
952
|
-
|
|
952
|
+
fn: R(() => [
|
|
953
|
+
_(n(T), {
|
|
953
954
|
label: "职务名称",
|
|
954
955
|
prop: "name"
|
|
955
956
|
}),
|
|
956
|
-
|
|
957
|
+
_(n(T), {
|
|
957
958
|
label: "职务编码",
|
|
958
959
|
prop: "code"
|
|
959
960
|
}),
|
|
960
|
-
|
|
961
|
+
_(n(T), {
|
|
961
962
|
label: "所属组织路径",
|
|
962
963
|
prop: "groupName"
|
|
963
964
|
})
|
|
964
965
|
]),
|
|
965
966
|
key: "3"
|
|
966
967
|
} : void 0,
|
|
967
|
-
l
|
|
968
|
+
n(l) === "post" ? {
|
|
968
969
|
name: "table-column",
|
|
969
|
-
fn:
|
|
970
|
-
|
|
970
|
+
fn: R(() => [
|
|
971
|
+
_(n(T), {
|
|
971
972
|
label: "岗位名称",
|
|
972
973
|
prop: "name"
|
|
973
974
|
}),
|
|
974
|
-
|
|
975
|
+
_(n(T), {
|
|
975
976
|
label: "岗位编码",
|
|
976
977
|
prop: "code"
|
|
977
978
|
}),
|
|
978
|
-
|
|
979
|
+
_(n(T), {
|
|
979
980
|
label: "所属组织路径",
|
|
980
981
|
prop: "groupName"
|
|
981
982
|
})
|
|
@@ -985,8 +986,8 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
985
986
|
]), 1032, ["modelValue", "options", "onConfirm", "title"])
|
|
986
987
|
]),
|
|
987
988
|
_: 1
|
|
988
|
-
}, 8, ["col", "marginRight", "modelValue", "prop", "label", "options", "helpMessage", "isView", "required", "onOpenDialog"])) :
|
|
989
|
-
l
|
|
989
|
+
}, 8, ["col", "marginRight", "modelValue", "prop", "label", "options", "helpMessage", "isView", "required", "onOpenDialog"])) : U("", !0),
|
|
990
|
+
n(l) == "position" ? (v(), V(n(S), {
|
|
990
991
|
key: 1,
|
|
991
992
|
col: e.span,
|
|
992
993
|
marginRight: B.marginRight,
|
|
@@ -995,38 +996,38 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
995
996
|
type: "treeSelect",
|
|
996
997
|
"node-key": "id",
|
|
997
998
|
showFullPath: !0,
|
|
998
|
-
helpMessage:
|
|
999
|
-
required:
|
|
1000
|
-
modelValue:
|
|
1001
|
-
"onUpdate:modelValue":
|
|
1002
|
-
keyword:
|
|
1003
|
-
"onUpdate:keyword":
|
|
1004
|
-
path:
|
|
1005
|
-
"onUpdate:path":
|
|
999
|
+
helpMessage: G.value,
|
|
1000
|
+
required: H.value,
|
|
1001
|
+
modelValue: M.value,
|
|
1002
|
+
"onUpdate:modelValue": I[2] || (I[2] = (O) => M.value = O),
|
|
1003
|
+
keyword: n(b),
|
|
1004
|
+
"onUpdate:keyword": I[3] || (I[3] = (O) => X(b) ? b.value = O : null),
|
|
1005
|
+
path: n(h),
|
|
1006
|
+
"onUpdate:path": I[4] || (I[4] = (O) => X(h) ? h.value = O : null),
|
|
1006
1007
|
isView: e.isView,
|
|
1007
|
-
load:
|
|
1008
|
-
search:
|
|
1008
|
+
load: n(k),
|
|
1009
|
+
search: n(W),
|
|
1009
1010
|
props: {
|
|
1010
1011
|
isLeaf: "leaf",
|
|
1011
1012
|
label: "name"
|
|
1012
1013
|
},
|
|
1013
|
-
onChange:
|
|
1014
|
-
}, null, 8, ["col", "marginRight", "label", "prop", "helpMessage", "required", "modelValue", "keyword", "path", "isView", "load", "search", "onChange"])) :
|
|
1014
|
+
onChange: n(q)
|
|
1015
|
+
}, null, 8, ["col", "marginRight", "label", "prop", "helpMessage", "required", "modelValue", "keyword", "path", "isView", "load", "search", "onChange"])) : U("", !0)
|
|
1015
1016
|
], 64));
|
|
1016
1017
|
}
|
|
1017
|
-
}),
|
|
1018
|
+
}), Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1018
1019
|
__proto__: null,
|
|
1019
|
-
default:
|
|
1020
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1020
|
+
default: Ut
|
|
1021
|
+
}, Symbol.toStringTag, { value: "Module" })), Ct = {
|
|
1021
1022
|
key: 0,
|
|
1022
1023
|
class: "form-image"
|
|
1023
|
-
},
|
|
1024
|
+
}, xt = {
|
|
1024
1025
|
key: 1,
|
|
1025
1026
|
style: { "margin-bottom": "10px" }
|
|
1026
|
-
},
|
|
1027
|
+
}, Jt = {
|
|
1027
1028
|
name: "soundRecording"
|
|
1028
|
-
},
|
|
1029
|
-
...
|
|
1029
|
+
}, Wt = /* @__PURE__ */ D({
|
|
1030
|
+
...Jt,
|
|
1030
1031
|
props: {
|
|
1031
1032
|
setting: { default: () => ({
|
|
1032
1033
|
icon: "",
|
|
@@ -1040,50 +1041,50 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
1040
1041
|
marginRight: { default: "80px" },
|
|
1041
1042
|
store: {}
|
|
1042
1043
|
},
|
|
1043
|
-
setup(
|
|
1044
|
-
const e =
|
|
1045
|
-
|
|
1046
|
-
|
|
1044
|
+
setup(a) {
|
|
1045
|
+
const e = a, { setData: t, getData: s, setFormRule: f } = e.store || {}, { baseURL: d } = Je(), c = g(!1);
|
|
1046
|
+
j(e.setting.options.validateList).then((i) => {
|
|
1047
|
+
c.value = i;
|
|
1047
1048
|
});
|
|
1048
|
-
const
|
|
1049
|
-
e.setting.options.tip && (
|
|
1050
|
-
const
|
|
1051
|
-
if (
|
|
1052
|
-
const i = JSON.parse(
|
|
1053
|
-
|
|
1049
|
+
const r = g("info"), o = g();
|
|
1050
|
+
e.setting.options.tip && (o.value = $(e.setting.options.tip));
|
|
1051
|
+
const l = g();
|
|
1052
|
+
if (s(e.setting.name)) {
|
|
1053
|
+
const i = JSON.parse(s(e.setting.name));
|
|
1054
|
+
l.value = d + i[0].url;
|
|
1054
1055
|
}
|
|
1055
|
-
return e.setting.options.validateList.length &&
|
|
1056
|
+
return e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), (i, u) => e.isView ? (v(), V(n(S), {
|
|
1056
1057
|
key: 0,
|
|
1057
|
-
modelValue:
|
|
1058
|
-
"onUpdate:modelValue": u[2] || (u[2] = (
|
|
1058
|
+
modelValue: l.value,
|
|
1059
|
+
"onUpdate:modelValue": u[2] || (u[2] = (p) => l.value = p),
|
|
1059
1060
|
"margin-bottom": "0",
|
|
1060
1061
|
prop: e.setting.name,
|
|
1061
1062
|
label: i.setting.desc,
|
|
1062
1063
|
type: "custom",
|
|
1063
|
-
helpMessage:
|
|
1064
|
-
required:
|
|
1064
|
+
helpMessage: o.value,
|
|
1065
|
+
required: c.value
|
|
1065
1066
|
}, {
|
|
1066
|
-
default:
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
modelValue:
|
|
1070
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
1071
|
-
status:
|
|
1072
|
-
"onUpdate:status": u[1] || (u[1] = (
|
|
1073
|
-
required:
|
|
1067
|
+
default: R(() => [
|
|
1068
|
+
l.value ? (v(), E("div", Ct, [
|
|
1069
|
+
_(n(ge), {
|
|
1070
|
+
modelValue: l.value,
|
|
1071
|
+
"onUpdate:modelValue": u[0] || (u[0] = (p) => l.value = p),
|
|
1072
|
+
status: r.value,
|
|
1073
|
+
"onUpdate:status": u[1] || (u[1] = (p) => r.value = p),
|
|
1074
|
+
required: c.value
|
|
1074
1075
|
}, null, 8, ["modelValue", "status", "required"])
|
|
1075
|
-
])) : (
|
|
1076
|
+
])) : (v(), E("div", xt, "-"))
|
|
1076
1077
|
]),
|
|
1077
1078
|
_: 1
|
|
1078
|
-
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) :
|
|
1079
|
+
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) : U("", !0);
|
|
1079
1080
|
}
|
|
1080
|
-
}),
|
|
1081
|
+
}), Yt = /* @__PURE__ */ re(Wt, [["__scopeId", "data-v-044dd90f"]]), Me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1081
1082
|
__proto__: null,
|
|
1082
|
-
default:
|
|
1083
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1083
|
+
default: Yt
|
|
1084
|
+
}, Symbol.toStringTag, { value: "Module" })), Zt = {
|
|
1084
1085
|
name: "switch"
|
|
1085
|
-
},
|
|
1086
|
-
...
|
|
1086
|
+
}, Ht = /* @__PURE__ */ D({
|
|
1087
|
+
...Zt,
|
|
1087
1088
|
props: {
|
|
1088
1089
|
setting: { default: () => ({
|
|
1089
1090
|
icon: "",
|
|
@@ -1097,42 +1098,42 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
1097
1098
|
marginRight: { default: "80px" },
|
|
1098
1099
|
store: {}
|
|
1099
1100
|
},
|
|
1100
|
-
setup(
|
|
1101
|
-
const e =
|
|
1102
|
-
|
|
1103
|
-
|
|
1101
|
+
setup(a) {
|
|
1102
|
+
const e = a, { setData: t, getData: s, setFormRule: f } = e.store || {}, d = g(!1);
|
|
1103
|
+
j(e.setting.options.validateList).then((o) => {
|
|
1104
|
+
d.value = o;
|
|
1104
1105
|
});
|
|
1105
|
-
const
|
|
1106
|
-
e.setting.options.tip && (
|
|
1107
|
-
const
|
|
1106
|
+
const c = g();
|
|
1107
|
+
e.setting.options.tip && (c.value = $(e.setting.options.tip));
|
|
1108
|
+
const r = g();
|
|
1108
1109
|
return setTimeout(() => {
|
|
1109
|
-
|
|
1110
|
-
}, 50), e.setting.options.validateList.length &&
|
|
1111
|
-
t(e.setting.name,
|
|
1112
|
-
}), (
|
|
1110
|
+
r.value = s(e.setting.name) || e.setting.options.formulasDiyJs || r.value, r.value || t(e.setting.name, null);
|
|
1111
|
+
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(r, (o) => {
|
|
1112
|
+
t(e.setting.name, o);
|
|
1113
|
+
}), (o, l) => (v(), V(n(S), {
|
|
1113
1114
|
col: e.span,
|
|
1114
|
-
marginRight:
|
|
1115
|
-
modelValue:
|
|
1116
|
-
"onUpdate:modelValue":
|
|
1117
|
-
label:
|
|
1115
|
+
marginRight: o.marginRight,
|
|
1116
|
+
modelValue: r.value,
|
|
1117
|
+
"onUpdate:modelValue": l[0] || (l[0] = (i) => r.value = i),
|
|
1118
|
+
label: o.setting.desc,
|
|
1118
1119
|
type: "switch",
|
|
1119
1120
|
prop: e.setting.name,
|
|
1120
|
-
activeValue:
|
|
1121
|
-
inactiveValue:
|
|
1122
|
-
activeText:
|
|
1123
|
-
inactiveText:
|
|
1124
|
-
helpMessage:
|
|
1125
|
-
required:
|
|
1121
|
+
activeValue: o.setting.options.activeValue,
|
|
1122
|
+
inactiveValue: o.setting.options.inactiveValue,
|
|
1123
|
+
activeText: o.setting.options.activeText,
|
|
1124
|
+
inactiveText: o.setting.options.inactiveText,
|
|
1125
|
+
helpMessage: c.value,
|
|
1126
|
+
required: d.value,
|
|
1126
1127
|
isView: e.isView
|
|
1127
1128
|
}, null, 8, ["col", "marginRight", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "required", "isView"]));
|
|
1128
1129
|
}
|
|
1129
|
-
}),
|
|
1130
|
+
}), Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1130
1131
|
__proto__: null,
|
|
1131
|
-
default:
|
|
1132
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1132
|
+
default: Ht
|
|
1133
|
+
}, Symbol.toStringTag, { value: "Module" })), Gt = {
|
|
1133
1134
|
name: "text"
|
|
1134
|
-
},
|
|
1135
|
-
...
|
|
1135
|
+
}, Xt = /* @__PURE__ */ D({
|
|
1136
|
+
...Gt,
|
|
1136
1137
|
props: {
|
|
1137
1138
|
setting: { default: () => ({
|
|
1138
1139
|
icon: "",
|
|
@@ -1146,38 +1147,38 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
1146
1147
|
marginRight: { default: "80px" },
|
|
1147
1148
|
store: {}
|
|
1148
1149
|
},
|
|
1149
|
-
setup(
|
|
1150
|
-
const e =
|
|
1151
|
-
e.setting.options.tip && (
|
|
1152
|
-
const
|
|
1153
|
-
return
|
|
1154
|
-
t(e.setting.name,
|
|
1155
|
-
}), (
|
|
1150
|
+
setup(a) {
|
|
1151
|
+
const e = a, { setData: t, getData: s, setFormRule: f } = e.store || {}, d = g();
|
|
1152
|
+
e.setting.options.tip && (d.value = $(e.setting.options.tip));
|
|
1153
|
+
const c = g();
|
|
1154
|
+
return c.value = e.setting.options.textValue, c.value = s(e.setting.name) || c.value, c.value || t(e.setting.name, null), L(c, (r) => {
|
|
1155
|
+
t(e.setting.name, r);
|
|
1156
|
+
}), (r, o) => (v(), V(n(S), {
|
|
1156
1157
|
col: e.span,
|
|
1157
|
-
marginRight:
|
|
1158
|
-
modelValue:
|
|
1159
|
-
"onUpdate:modelValue":
|
|
1160
|
-
label:
|
|
1158
|
+
marginRight: r.marginRight,
|
|
1159
|
+
modelValue: c.value,
|
|
1160
|
+
"onUpdate:modelValue": o[1] || (o[1] = (l) => c.value = l),
|
|
1161
|
+
label: r.setting.desc,
|
|
1161
1162
|
type: "custom",
|
|
1162
|
-
helpMessage:
|
|
1163
|
+
helpMessage: d.value
|
|
1163
1164
|
}, {
|
|
1164
|
-
default:
|
|
1165
|
-
|
|
1165
|
+
default: R(() => [
|
|
1166
|
+
_(n(ce), {
|
|
1166
1167
|
type: "text",
|
|
1167
|
-
modelValue:
|
|
1168
|
-
"onUpdate:modelValue":
|
|
1168
|
+
modelValue: c.value,
|
|
1169
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => c.value = l)
|
|
1169
1170
|
}, null, 8, ["modelValue"])
|
|
1170
1171
|
]),
|
|
1171
1172
|
_: 1
|
|
1172
1173
|
}, 8, ["col", "marginRight", "modelValue", "label", "helpMessage"]));
|
|
1173
1174
|
}
|
|
1174
|
-
}),
|
|
1175
|
+
}), Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1175
1176
|
__proto__: null,
|
|
1176
|
-
default:
|
|
1177
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1177
|
+
default: Xt
|
|
1178
|
+
}, Symbol.toStringTag, { value: "Module" })), es = {
|
|
1178
1179
|
name: "textarea"
|
|
1179
|
-
},
|
|
1180
|
-
...
|
|
1180
|
+
}, ts = /* @__PURE__ */ D({
|
|
1181
|
+
...es,
|
|
1181
1182
|
props: {
|
|
1182
1183
|
setting: { default: () => ({
|
|
1183
1184
|
icon: "",
|
|
@@ -1191,29 +1192,29 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
1191
1192
|
marginRight: { default: "80px" },
|
|
1192
1193
|
store: {}
|
|
1193
1194
|
},
|
|
1194
|
-
setup(
|
|
1195
|
-
const e =
|
|
1196
|
-
|
|
1197
|
-
|
|
1195
|
+
setup(a) {
|
|
1196
|
+
const e = a, { setData: t, getData: s, setFormRule: f } = e.store || {}, d = g(!1);
|
|
1197
|
+
j(e.setting.options.validateList).then((i) => {
|
|
1198
|
+
d.value = i;
|
|
1198
1199
|
});
|
|
1199
|
-
const
|
|
1200
|
-
e.setting.options.tip && (
|
|
1201
|
-
const
|
|
1200
|
+
const c = g();
|
|
1201
|
+
e.setting.options.tip && (c.value = $(e.setting.options.tip));
|
|
1202
|
+
const r = g("");
|
|
1202
1203
|
setTimeout(() => {
|
|
1203
|
-
|
|
1204
|
+
r.value = s(e.setting.name) || e.setting.options.formulasDiyJs || r.value, r.value || t(e.setting.name, null);
|
|
1204
1205
|
}, 50);
|
|
1205
|
-
const
|
|
1206
|
-
return
|
|
1206
|
+
const o = g(), l = g();
|
|
1207
|
+
return o.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", l.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(r, (i) => {
|
|
1207
1208
|
t(e.setting.name, i);
|
|
1208
|
-
}), (i, u) => (
|
|
1209
|
-
i.setting.options.isEditor ?
|
|
1209
|
+
}), (i, u) => (v(), E(Z, null, [
|
|
1210
|
+
i.setting.options.isEditor ? U("", !0) : (v(), V(n(S), {
|
|
1210
1211
|
key: 0,
|
|
1211
1212
|
col: e.span,
|
|
1212
1213
|
marginRight: i.marginRight,
|
|
1213
1214
|
label: i.setting.desc,
|
|
1214
1215
|
type: "textarea",
|
|
1215
|
-
modelValue:
|
|
1216
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
1216
|
+
modelValue: r.value,
|
|
1217
|
+
"onUpdate:modelValue": u[0] || (u[0] = (p) => r.value = p),
|
|
1217
1218
|
prop: e.setting.name,
|
|
1218
1219
|
placeholder: i.setting.options.placeholder,
|
|
1219
1220
|
disabled: i.setting.options.isInputEdit,
|
|
@@ -1223,42 +1224,42 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
1223
1224
|
maxRows: 3
|
|
1224
1225
|
},
|
|
1225
1226
|
"show-word-limit": "",
|
|
1226
|
-
helpMessage:
|
|
1227
|
-
required:
|
|
1227
|
+
helpMessage: c.value,
|
|
1228
|
+
required: d.value
|
|
1228
1229
|
}, null, 8, ["col", "marginRight", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])),
|
|
1229
|
-
i.setting.options.isEditor ? (
|
|
1230
|
+
i.setting.options.isEditor ? (v(), V(n(S), {
|
|
1230
1231
|
key: 1,
|
|
1231
|
-
modelValue:
|
|
1232
|
-
"onUpdate:modelValue": u[2] || (u[2] = (
|
|
1232
|
+
modelValue: r.value,
|
|
1233
|
+
"onUpdate:modelValue": u[2] || (u[2] = (p) => r.value = p),
|
|
1233
1234
|
prop: e.setting.name,
|
|
1234
|
-
contentWidth:
|
|
1235
|
+
contentWidth: o.value,
|
|
1235
1236
|
label: i.setting.desc,
|
|
1236
1237
|
type: "custom",
|
|
1237
|
-
helpMessage:
|
|
1238
|
-
required:
|
|
1238
|
+
helpMessage: c.value,
|
|
1239
|
+
required: d.value,
|
|
1239
1240
|
readOnly: e.isView
|
|
1240
1241
|
}, {
|
|
1241
|
-
default:
|
|
1242
|
-
|
|
1242
|
+
default: R(() => [
|
|
1243
|
+
_(n(ce), {
|
|
1243
1244
|
ref: "editor",
|
|
1244
|
-
width:
|
|
1245
|
-
height:
|
|
1246
|
-
modelValue:
|
|
1247
|
-
"onUpdate:modelValue": u[1] || (u[1] = (
|
|
1245
|
+
width: o.value,
|
|
1246
|
+
height: l.value,
|
|
1247
|
+
modelValue: r.value,
|
|
1248
|
+
"onUpdate:modelValue": u[1] || (u[1] = (p) => r.value = p),
|
|
1248
1249
|
placeholder: i.setting.options.placeholder
|
|
1249
1250
|
}, null, 8, ["width", "height", "modelValue", "placeholder"])
|
|
1250
1251
|
]),
|
|
1251
1252
|
_: 1
|
|
1252
|
-
}, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) :
|
|
1253
|
+
}, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) : U("", !0)
|
|
1253
1254
|
], 64));
|
|
1254
1255
|
}
|
|
1255
|
-
}),
|
|
1256
|
+
}), $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1256
1257
|
__proto__: null,
|
|
1257
|
-
default:
|
|
1258
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1258
|
+
default: ts
|
|
1259
|
+
}, Symbol.toStringTag, { value: "Module" })), ss = {
|
|
1259
1260
|
name: "time"
|
|
1260
|
-
},
|
|
1261
|
-
...
|
|
1261
|
+
}, os = /* @__PURE__ */ D({
|
|
1262
|
+
...ss,
|
|
1262
1263
|
props: {
|
|
1263
1264
|
setting: { default: () => ({
|
|
1264
1265
|
icon: "",
|
|
@@ -1272,36 +1273,36 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
1272
1273
|
marginRight: { default: "80px" },
|
|
1273
1274
|
store: {}
|
|
1274
1275
|
},
|
|
1275
|
-
setup(
|
|
1276
|
-
const e =
|
|
1277
|
-
|
|
1278
|
-
|
|
1276
|
+
setup(a) {
|
|
1277
|
+
const e = a, { setData: t, getData: s, setFormRule: f } = e.store || {}, d = g(!1);
|
|
1278
|
+
j(e.setting.options.validateList).then((o) => {
|
|
1279
|
+
d.value = o;
|
|
1279
1280
|
});
|
|
1280
|
-
const
|
|
1281
|
-
e.setting.options.tip && (
|
|
1282
|
-
const
|
|
1281
|
+
const c = g();
|
|
1282
|
+
e.setting.options.tip && (c.value = $(e.setting.options.tip));
|
|
1283
|
+
const r = g();
|
|
1283
1284
|
return setTimeout(() => {
|
|
1284
|
-
const
|
|
1285
|
-
|
|
1286
|
-
}, 50), e.setting.options.validateList.length &&
|
|
1287
|
-
t(e.setting.name,
|
|
1288
|
-
}), (
|
|
1285
|
+
const o = ne().format("YYYY-MM-DD ");
|
|
1286
|
+
s(e.setting.name) && (r.value = s(e.setting.name)), e.setting.options.formulasDiyJs && (r.value = ne(o + e.setting.options.formulasDiyJs)), r.value || t(e.setting.name, null);
|
|
1287
|
+
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), L(r, (o) => {
|
|
1288
|
+
t(e.setting.name, o);
|
|
1289
|
+
}), (o, l) => (v(), V(n(S), {
|
|
1289
1290
|
col: e.span,
|
|
1290
|
-
marginRight:
|
|
1291
|
-
modelValue:
|
|
1292
|
-
"onUpdate:modelValue":
|
|
1291
|
+
marginRight: o.marginRight,
|
|
1292
|
+
modelValue: r.value,
|
|
1293
|
+
"onUpdate:modelValue": l[0] || (l[0] = (i) => r.value = i),
|
|
1293
1294
|
prop: e.setting.name,
|
|
1294
|
-
label:
|
|
1295
|
+
label: o.setting.desc,
|
|
1295
1296
|
type: "time",
|
|
1296
|
-
helpMessage:
|
|
1297
|
+
helpMessage: c.value,
|
|
1297
1298
|
isView: e.isView,
|
|
1298
|
-
required:
|
|
1299
|
+
required: d.value
|
|
1299
1300
|
}, null, 8, ["col", "marginRight", "modelValue", "prop", "label", "helpMessage", "isView", "required"]));
|
|
1300
1301
|
}
|
|
1301
|
-
}),
|
|
1302
|
+
}), Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1302
1303
|
__proto__: null,
|
|
1303
|
-
default:
|
|
1304
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1304
|
+
default: os
|
|
1305
|
+
}, Symbol.toStringTag, { value: "Module" })), as = D({
|
|
1305
1306
|
name: "accordion",
|
|
1306
1307
|
props: {
|
|
1307
1308
|
columns: {
|
|
@@ -1317,34 +1318,34 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
1317
1318
|
type: Object
|
|
1318
1319
|
}
|
|
1319
1320
|
},
|
|
1320
|
-
setup(
|
|
1321
|
-
const e =
|
|
1322
|
-
const
|
|
1323
|
-
(
|
|
1321
|
+
setup(a) {
|
|
1322
|
+
const e = g([]), t = a.columns.map((s) => {
|
|
1323
|
+
const f = s.list.map(
|
|
1324
|
+
(d) => A(ue[d.ctrlType], { setting: d, isView: a.isView, store: a.store })
|
|
1324
1325
|
);
|
|
1325
|
-
return
|
|
1326
|
-
|
|
1326
|
+
return s.isOpen == !0 && e.value.push(s.idKey), A(
|
|
1327
|
+
Ye,
|
|
1327
1328
|
{
|
|
1328
|
-
header:
|
|
1329
|
-
key: `${
|
|
1329
|
+
header: s.span,
|
|
1330
|
+
key: `${s.idKey}`
|
|
1330
1331
|
},
|
|
1331
|
-
|
|
1332
|
+
A("div", f)
|
|
1332
1333
|
);
|
|
1333
1334
|
});
|
|
1334
|
-
return () =>
|
|
1335
|
+
return () => A(
|
|
1335
1336
|
"div",
|
|
1336
1337
|
{ class: "accordion-layout" },
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
{ activeKey: e.value, collapsible:
|
|
1338
|
+
A(
|
|
1339
|
+
We,
|
|
1340
|
+
{ activeKey: e.value, collapsible: a.options.accordion ? "" : "disabled" },
|
|
1340
1341
|
t
|
|
1341
1342
|
)
|
|
1342
1343
|
);
|
|
1343
1344
|
}
|
|
1344
|
-
}),
|
|
1345
|
+
}), is = {
|
|
1345
1346
|
name: "accordion"
|
|
1346
|
-
},
|
|
1347
|
-
|
|
1347
|
+
}, ns = /* @__PURE__ */ D({
|
|
1348
|
+
...is,
|
|
1348
1349
|
props: {
|
|
1349
1350
|
setting: { default: () => ({
|
|
1350
1351
|
name: "",
|
|
@@ -1371,8 +1372,8 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
1371
1372
|
isView: { type: Boolean },
|
|
1372
1373
|
store: {}
|
|
1373
1374
|
},
|
|
1374
|
-
setup(
|
|
1375
|
-
return (e, t) => (
|
|
1375
|
+
setup(a) {
|
|
1376
|
+
return (e, t) => (v(), V(n(as), {
|
|
1376
1377
|
columns: e.setting.columns,
|
|
1377
1378
|
options: e.setting.options,
|
|
1378
1379
|
isView: e.isView,
|
|
@@ -1380,220 +1381,10 @@ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St =
|
|
|
1380
1381
|
style: { "margin-bottom": "10px" }
|
|
1381
1382
|
}, null, 8, ["columns", "options", "isView", "store"]));
|
|
1382
1383
|
}
|
|
1383
|
-
}),
|
|
1384
|
+
}), ls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1384
1385
|
__proto__: null,
|
|
1385
|
-
default:
|
|
1386
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
1387
|
-
/**
|
|
1388
|
-
* @vue/shared v3.4.35
|
|
1389
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1390
|
-
* @license MIT
|
|
1391
|
-
**/
|
|
1392
|
-
process.env.NODE_ENV !== "production" && Object.freeze({});
|
|
1393
|
-
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
1394
|
-
const Ms = Object.prototype.hasOwnProperty, he = (s, e) => Ms.call(s, e), fe = (s) => s !== null && typeof s == "object";
|
|
1395
|
-
function Ls(s) {
|
|
1396
|
-
for (var e = -1, t = s == null ? 0 : s.length, o = {}; ++e < t; ) {
|
|
1397
|
-
var m = s[e];
|
|
1398
|
-
o[m[0]] = m[1];
|
|
1399
|
-
}
|
|
1400
|
-
return o;
|
|
1401
|
-
}
|
|
1402
|
-
const be = (s) => typeof s == "number", ze = "__epPropKey", H = (s) => s, Os = (s) => fe(s) && !!s[ze], Ts = (s, e) => {
|
|
1403
|
-
if (!fe(s) || Os(s))
|
|
1404
|
-
return s;
|
|
1405
|
-
const { values: t, required: o, default: m, type: g, validator: r } = s, n = {
|
|
1406
|
-
type: g,
|
|
1407
|
-
required: !!o,
|
|
1408
|
-
validator: t || r ? (a) => {
|
|
1409
|
-
let i = !1, u = [];
|
|
1410
|
-
if (t && (u = Array.from(t), he(s, "default") && u.push(m), i || (i = u.includes(a))), r && (i || (i = r(a))), !i && u.length > 0) {
|
|
1411
|
-
const c = [...new Set(u)].map((f) => JSON.stringify(f)).join(", ");
|
|
1412
|
-
tt(`Invalid prop: validation failed${e ? ` for prop "${e}"` : ""}. Expected one of [${c}], got value ${JSON.stringify(a)}.`);
|
|
1413
|
-
}
|
|
1414
|
-
return i;
|
|
1415
|
-
} : void 0,
|
|
1416
|
-
[ze]: !0
|
|
1417
|
-
};
|
|
1418
|
-
return he(s, "default") && (n.default = m), n;
|
|
1419
|
-
}, Ue = (s) => Ls(Object.entries(s).map(([e, t]) => [
|
|
1420
|
-
e,
|
|
1421
|
-
Ts(t, e)
|
|
1422
|
-
])), xe = (s, e) => (s.install = (t) => {
|
|
1423
|
-
for (const o of [s, ...Object.values({})])
|
|
1424
|
-
t.component(o.name, o);
|
|
1425
|
-
}, s), G = (s) => s, ie = "el", js = "is-", U = (s, e, t, o, m) => {
|
|
1426
|
-
let g = `${s}-${e}`;
|
|
1427
|
-
return t && (g += `-${t}`), o && (g += `__${o}`), m && (g += `--${m}`), g;
|
|
1428
|
-
}, Ns = Symbol("namespaceContextKey"), Fs = (s) => {
|
|
1429
|
-
const e = st() ? _e(Ns, d(ie)) : d(ie);
|
|
1430
|
-
return x(() => l(e) || ie);
|
|
1431
|
-
}, Je = (s, e) => {
|
|
1432
|
-
const t = Fs();
|
|
1433
|
-
return {
|
|
1434
|
-
namespace: t,
|
|
1435
|
-
b: (v = "") => U(t.value, s, v, "", ""),
|
|
1436
|
-
e: (v) => v ? U(t.value, s, "", v, "") : "",
|
|
1437
|
-
m: (v) => v ? U(t.value, s, "", "", v) : "",
|
|
1438
|
-
be: (v, _) => v && _ ? U(t.value, s, v, _, "") : "",
|
|
1439
|
-
em: (v, _) => v && _ ? U(t.value, s, "", v, _) : "",
|
|
1440
|
-
bm: (v, _) => v && _ ? U(t.value, s, v, "", _) : "",
|
|
1441
|
-
bem: (v, _, y) => v && _ && y ? U(t.value, s, v, _, y) : "",
|
|
1442
|
-
is: (v, ..._) => {
|
|
1443
|
-
const y = _.length >= 1 ? _[0] : !0;
|
|
1444
|
-
return v && y ? `${js}${v}` : "";
|
|
1445
|
-
},
|
|
1446
|
-
cssVar: (v) => {
|
|
1447
|
-
const _ = {};
|
|
1448
|
-
for (const y in v)
|
|
1449
|
-
v[y] && (_[`--${t.value}-${y}`] = v[y]);
|
|
1450
|
-
return _;
|
|
1451
|
-
},
|
|
1452
|
-
cssVarName: (v) => `--${t.value}-${v}`,
|
|
1453
|
-
cssVarBlock: (v) => {
|
|
1454
|
-
const _ = {};
|
|
1455
|
-
for (const y in v)
|
|
1456
|
-
v[y] && (_[`--${t.value}-${s}-${y}`] = v[y]);
|
|
1457
|
-
return _;
|
|
1458
|
-
},
|
|
1459
|
-
cssVarBlockName: (v) => `--${t.value}-${s}-${v}`
|
|
1460
|
-
};
|
|
1461
|
-
};
|
|
1462
|
-
var We = (s, e) => {
|
|
1463
|
-
const t = s.__vccOpts || s;
|
|
1464
|
-
for (const [o, m] of e)
|
|
1465
|
-
t[o] = m;
|
|
1466
|
-
return t;
|
|
1467
|
-
};
|
|
1468
|
-
const Ye = Symbol("rowContextKey"), qs = [
|
|
1469
|
-
"start",
|
|
1470
|
-
"center",
|
|
1471
|
-
"end",
|
|
1472
|
-
"space-around",
|
|
1473
|
-
"space-between",
|
|
1474
|
-
"space-evenly"
|
|
1475
|
-
], Bs = ["top", "middle", "bottom"], Ps = Ue({
|
|
1476
|
-
tag: {
|
|
1477
|
-
type: String,
|
|
1478
|
-
default: "div"
|
|
1479
|
-
},
|
|
1480
|
-
gutter: {
|
|
1481
|
-
type: Number,
|
|
1482
|
-
default: 0
|
|
1483
|
-
},
|
|
1484
|
-
justify: {
|
|
1485
|
-
type: String,
|
|
1486
|
-
values: qs,
|
|
1487
|
-
default: "start"
|
|
1488
|
-
},
|
|
1489
|
-
align: {
|
|
1490
|
-
type: String,
|
|
1491
|
-
values: Bs
|
|
1492
|
-
}
|
|
1493
|
-
}), Es = D({
|
|
1494
|
-
name: "ElRow"
|
|
1495
|
-
}), Ks = /* @__PURE__ */ D({
|
|
1496
|
-
...Es,
|
|
1497
|
-
props: Ps,
|
|
1498
|
-
setup(s) {
|
|
1499
|
-
const e = s, t = Je("row"), o = x(() => e.gutter);
|
|
1500
|
-
ot(Ye, {
|
|
1501
|
-
gutter: o
|
|
1502
|
-
});
|
|
1503
|
-
const m = x(() => {
|
|
1504
|
-
const r = {};
|
|
1505
|
-
return e.gutter && (r.marginRight = r.marginLeft = `-${e.gutter / 2}px`), r;
|
|
1506
|
-
}), g = x(() => [
|
|
1507
|
-
t.b(),
|
|
1508
|
-
t.is(`justify-${e.justify}`, e.justify !== "start"),
|
|
1509
|
-
t.is(`align-${e.align}`, !!e.align)
|
|
1510
|
-
]);
|
|
1511
|
-
return (r, p) => (h(), V(ce(r.tag), {
|
|
1512
|
-
class: we(l(g)),
|
|
1513
|
-
style: Ve(l(m))
|
|
1514
|
-
}, {
|
|
1515
|
-
default: S(() => [
|
|
1516
|
-
De(r.$slots, "default")
|
|
1517
|
-
]),
|
|
1518
|
-
_: 3
|
|
1519
|
-
}, 8, ["class", "style"]));
|
|
1520
|
-
}
|
|
1521
|
-
});
|
|
1522
|
-
var Is = /* @__PURE__ */ We(Ks, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/row/src/row.vue"]]);
|
|
1523
|
-
const ks = xe(Is), As = Ue({
|
|
1524
|
-
tag: {
|
|
1525
|
-
type: String,
|
|
1526
|
-
default: "div"
|
|
1527
|
-
},
|
|
1528
|
-
span: {
|
|
1529
|
-
type: Number,
|
|
1530
|
-
default: 24
|
|
1531
|
-
},
|
|
1532
|
-
offset: {
|
|
1533
|
-
type: Number,
|
|
1534
|
-
default: 0
|
|
1535
|
-
},
|
|
1536
|
-
pull: {
|
|
1537
|
-
type: Number,
|
|
1538
|
-
default: 0
|
|
1539
|
-
},
|
|
1540
|
-
push: {
|
|
1541
|
-
type: Number,
|
|
1542
|
-
default: 0
|
|
1543
|
-
},
|
|
1544
|
-
xs: {
|
|
1545
|
-
type: H([Number, Object]),
|
|
1546
|
-
default: () => G({})
|
|
1547
|
-
},
|
|
1548
|
-
sm: {
|
|
1549
|
-
type: H([Number, Object]),
|
|
1550
|
-
default: () => G({})
|
|
1551
|
-
},
|
|
1552
|
-
md: {
|
|
1553
|
-
type: H([Number, Object]),
|
|
1554
|
-
default: () => G({})
|
|
1555
|
-
},
|
|
1556
|
-
lg: {
|
|
1557
|
-
type: H([Number, Object]),
|
|
1558
|
-
default: () => G({})
|
|
1559
|
-
},
|
|
1560
|
-
xl: {
|
|
1561
|
-
type: H([Number, Object]),
|
|
1562
|
-
default: () => G({})
|
|
1563
|
-
}
|
|
1564
|
-
}), Cs = D({
|
|
1565
|
-
name: "ElCol"
|
|
1566
|
-
}), Qs = /* @__PURE__ */ D({
|
|
1567
|
-
...Cs,
|
|
1568
|
-
props: As,
|
|
1569
|
-
setup(s) {
|
|
1570
|
-
const e = s, { gutter: t } = _e(Ye, { gutter: x(() => 0) }), o = Je("col"), m = x(() => {
|
|
1571
|
-
const r = {};
|
|
1572
|
-
return t.value && (r.paddingLeft = r.paddingRight = `${t.value / 2}px`), r;
|
|
1573
|
-
}), g = x(() => {
|
|
1574
|
-
const r = [];
|
|
1575
|
-
return ["span", "offset", "pull", "push"].forEach((a) => {
|
|
1576
|
-
const i = e[a];
|
|
1577
|
-
be(i) && (a === "span" ? r.push(o.b(`${e[a]}`)) : i > 0 && r.push(o.b(`${a}-${e[a]}`)));
|
|
1578
|
-
}), ["xs", "sm", "md", "lg", "xl"].forEach((a) => {
|
|
1579
|
-
be(e[a]) ? r.push(o.b(`${a}-${e[a]}`)) : fe(e[a]) && Object.entries(e[a]).forEach(([i, u]) => {
|
|
1580
|
-
r.push(i !== "span" ? o.b(`${a}-${i}-${u}`) : o.b(`${a}-${u}`));
|
|
1581
|
-
});
|
|
1582
|
-
}), t.value && r.push(o.is("guttered")), [o.b(), r];
|
|
1583
|
-
});
|
|
1584
|
-
return (r, p) => (h(), V(ce(r.tag), {
|
|
1585
|
-
class: we(l(g)),
|
|
1586
|
-
style: Ve(l(m))
|
|
1587
|
-
}, {
|
|
1588
|
-
default: S(() => [
|
|
1589
|
-
De(r.$slots, "default")
|
|
1590
|
-
]),
|
|
1591
|
-
_: 3
|
|
1592
|
-
}, 8, ["class", "style"]));
|
|
1593
|
-
}
|
|
1594
|
-
});
|
|
1595
|
-
var zs = /* @__PURE__ */ We(Qs, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);
|
|
1596
|
-
const Us = xe(zs), xs = D({
|
|
1386
|
+
default: ns
|
|
1387
|
+
}, Symbol.toStringTag, { value: "Module" })), rs = D({
|
|
1597
1388
|
name: "grid",
|
|
1598
1389
|
props: {
|
|
1599
1390
|
columns: {
|
|
@@ -1608,24 +1399,24 @@ const Us = xe(zs), xs = D({
|
|
|
1608
1399
|
type: Object
|
|
1609
1400
|
}
|
|
1610
1401
|
},
|
|
1611
|
-
setup(
|
|
1402
|
+
setup(a) {
|
|
1612
1403
|
let e = 0;
|
|
1613
|
-
const t =
|
|
1614
|
-
const
|
|
1615
|
-
e +=
|
|
1616
|
-
const
|
|
1617
|
-
return e == 24 && (e = 0),
|
|
1618
|
-
setting:
|
|
1619
|
-
isView:
|
|
1620
|
-
store:
|
|
1404
|
+
const t = a.columns.map((s) => {
|
|
1405
|
+
const f = s.list.map((d) => {
|
|
1406
|
+
e += s.span;
|
|
1407
|
+
const c = e == 24 ? "0px" : "80px";
|
|
1408
|
+
return e == 24 && (e = 0), A(cs[d.ctrlType], {
|
|
1409
|
+
setting: d,
|
|
1410
|
+
isView: a.isView,
|
|
1411
|
+
store: a.store,
|
|
1621
1412
|
class: "grid-item-layout",
|
|
1622
|
-
marginRight:
|
|
1413
|
+
marginRight: c
|
|
1623
1414
|
});
|
|
1624
1415
|
});
|
|
1625
|
-
return
|
|
1416
|
+
return A(Ze, { span: s.span }, f);
|
|
1626
1417
|
});
|
|
1627
|
-
return () =>
|
|
1628
|
-
|
|
1418
|
+
return () => A(
|
|
1419
|
+
He,
|
|
1629
1420
|
{
|
|
1630
1421
|
class: "grid-layout"
|
|
1631
1422
|
// gutter: 0,
|
|
@@ -1633,10 +1424,10 @@ const Us = xe(zs), xs = D({
|
|
|
1633
1424
|
t
|
|
1634
1425
|
);
|
|
1635
1426
|
}
|
|
1636
|
-
}),
|
|
1427
|
+
}), us = {
|
|
1637
1428
|
name: "grid"
|
|
1638
|
-
},
|
|
1639
|
-
...
|
|
1429
|
+
}, ps = /* @__PURE__ */ D({
|
|
1430
|
+
...us,
|
|
1640
1431
|
props: {
|
|
1641
1432
|
setting: { default: () => ({
|
|
1642
1433
|
name: "",
|
|
@@ -1660,126 +1451,126 @@ const Us = xe(zs), xs = D({
|
|
|
1660
1451
|
isView: { type: Boolean },
|
|
1661
1452
|
store: {}
|
|
1662
1453
|
},
|
|
1663
|
-
setup(
|
|
1664
|
-
const e =
|
|
1665
|
-
return (t,
|
|
1454
|
+
setup(a) {
|
|
1455
|
+
const e = a;
|
|
1456
|
+
return (t, s) => (v(), V(n(rs), {
|
|
1666
1457
|
columns: t.setting.columns,
|
|
1667
1458
|
isView: e.isView,
|
|
1668
1459
|
store: t.store
|
|
1669
1460
|
}, null, 8, ["columns", "isView", "store"]));
|
|
1670
1461
|
}
|
|
1671
|
-
}),
|
|
1462
|
+
}), gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1672
1463
|
__proto__: null,
|
|
1673
|
-
default:
|
|
1674
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1675
|
-
Object.keys(
|
|
1676
|
-
Object.keys(
|
|
1677
|
-
Object.keys(
|
|
1678
|
-
Object.keys(
|
|
1679
|
-
const
|
|
1680
|
-
(!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${
|
|
1681
|
-
},
|
|
1682
|
-
e !== "" && e.length > parseInt(
|
|
1683
|
-
},
|
|
1684
|
-
e !== "" && e.length < parseInt(
|
|
1685
|
-
},
|
|
1464
|
+
default: ps
|
|
1465
|
+
}, Symbol.toStringTag, { value: "Module" })), se = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": fe, "./base/autocomplete.vue": ve, "./base/checkbox.vue": ye, "./base/date.vue": he, "./base/dropdown.vue": be, "./base/imageViewer.vue": _e, "./base/input.vue": Ve, "./base/number.vue": we, "./base/radio.vue": De, "./base/select.vue": Re, "./base/selector.vue": Se, "./base/soundRecording.vue": Me, "./base/switch.vue": Le, "./base/text.vue": Te, "./base/textarea.vue": $e, "./base/time.vue": Oe, "./layout/accordion/accordion.vue": ls, "./layout/grid/gridLayout.vue": gs }), oe = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": fe, "./base/autocomplete.vue": ve, "./base/checkbox.vue": ye, "./base/date.vue": he, "./base/dropdown.vue": be, "./base/imageViewer.vue": _e, "./base/input.vue": Ve, "./base/number.vue": we, "./base/radio.vue": De, "./base/select.vue": Re, "./base/selector.vue": Se, "./base/soundRecording.vue": Me, "./base/switch.vue": Le, "./base/text.vue": Te, "./base/textarea.vue": $e, "./base/time.vue": Oe }), ae = /* @__PURE__ */ Object.assign({}), ie = /* @__PURE__ */ Object.assign({}), ue = {}, Fe = {}, je = {}, ds = {};
|
|
1466
|
+
Object.keys(oe).map((a) => Fe[oe[a].default.name] = oe[a].default);
|
|
1467
|
+
Object.keys(ae).map((a) => je[ae[a].default.name] = ae[a].default);
|
|
1468
|
+
Object.keys(ie).map((a) => ds[ie[a].default.name] = ie[a].default);
|
|
1469
|
+
Object.keys(se).map((a) => ue[se[a].default.name] = se[a].default);
|
|
1470
|
+
const cs = { ...Fe, ...je }, ms = (a, e, t, s) => {
|
|
1471
|
+
(!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${s.name}`)) : t();
|
|
1472
|
+
}, fs = (a, e, t, s) => {
|
|
1473
|
+
e !== "" && e.length > parseInt(s.value) ? t(new Error(`${s.name}不能超过${s.value}`)) : t();
|
|
1474
|
+
}, vs = (a, e, t, s) => {
|
|
1475
|
+
e !== "" && e.length < parseInt(s.value) ? t(new Error(`${s.name}不能少于${s.value}`)) : t();
|
|
1476
|
+
}, ys = (a, e, t, s) => {
|
|
1686
1477
|
if (e !== "" && !/^1[3456789]\d{9}$/.test(e))
|
|
1687
1478
|
return t(new Error("手机号码格式不正确,请重新输入")), !1;
|
|
1688
1479
|
t();
|
|
1689
|
-
},
|
|
1480
|
+
}, hs = (a, e, t) => {
|
|
1690
1481
|
if (e !== "" && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e))
|
|
1691
1482
|
return t(new Error("电子邮箱格式不正确,请重新输入")), !1;
|
|
1692
1483
|
t();
|
|
1693
|
-
},
|
|
1484
|
+
}, bs = (a, e, t) => {
|
|
1694
1485
|
if (e !== "" && !/^-?\d+$/.test(e))
|
|
1695
1486
|
return t(new Error("请输入整数")), !1;
|
|
1696
1487
|
t();
|
|
1697
|
-
},
|
|
1698
|
-
if (e !== "" && e !=
|
|
1488
|
+
}, _s = (a, e, t, s) => {
|
|
1489
|
+
if (e !== "" && e != s.value)
|
|
1699
1490
|
return t(new Error("请输入相同的值")), !1;
|
|
1700
1491
|
t();
|
|
1701
|
-
},
|
|
1702
|
-
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(
|
|
1703
|
-
},
|
|
1704
|
-
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(
|
|
1705
|
-
},
|
|
1706
|
-
const
|
|
1707
|
-
e === "" ? t() :
|
|
1708
|
-
},
|
|
1709
|
-
e === "" || parseFloat(e) === parseFloat(
|
|
1710
|
-
},
|
|
1711
|
-
e === "" ? t() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(
|
|
1712
|
-
},
|
|
1492
|
+
}, Vs = (a, e, t, s) => {
|
|
1493
|
+
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(s.value) ? t(new Error(`${s.name}不能小于${s.value}`)) : t() : t(new Error("请输入数字"));
|
|
1494
|
+
}, ws = (a, e, t, s) => {
|
|
1495
|
+
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(s.value) ? t(new Error(`${s.name}不能大于${s.value}`)) : t() : t(new Error("请输入数字"));
|
|
1496
|
+
}, Ds = (a, e, t, s) => {
|
|
1497
|
+
const f = /^[+-]?(\d*\.\d+([eE]?[+-]?\d+)?|\d+[eE][+-]?\d+)$/, d = /^-?\d+$/;
|
|
1498
|
+
e === "" ? t() : f.test(e) || d.test(e) ? e >= parseFloat(s.start) && e <= parseFloat(s.end) ? t() : t(new Error(`只能输入指定数字范围${s.start}-${s.end}`)) : t(new Error("请输入数字"));
|
|
1499
|
+
}, Rs = (a, e, t, s) => {
|
|
1500
|
+
e === "" || parseFloat(e) === parseFloat(s.value) ? t() : t(new Error(`只能输入指定的值${s.value}`));
|
|
1501
|
+
}, Ss = (a, e, t, s) => {
|
|
1502
|
+
e === "" ? t() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(s.value) ? t() : t(new Error(`只能输入${s.value}位数数字`)) : t(new Error("请输入整数"));
|
|
1503
|
+
}, Ms = (a, e, t) => {
|
|
1713
1504
|
if (e !== "" && !/^[a-zA-Z]{1,}$/.test(e))
|
|
1714
1505
|
return t(new Error("只能输入字母")), !1;
|
|
1715
1506
|
t();
|
|
1716
|
-
},
|
|
1507
|
+
}, Ls = (a, e, t) => {
|
|
1717
1508
|
if (e !== "" && !/^[a-zA-Z ]{1,}$/.test(e))
|
|
1718
1509
|
return t(new Error("只能输入字母空格")), !1;
|
|
1719
1510
|
t();
|
|
1720
|
-
},
|
|
1511
|
+
}, Ts = (a, e, t) => {
|
|
1721
1512
|
if (e !== "" && !/^[0-9a-zA-Z_-]{1,}$/.test(e))
|
|
1722
1513
|
return t(new Error("只能输入字母数字横线下划线")), !1;
|
|
1723
1514
|
t();
|
|
1724
|
-
},
|
|
1515
|
+
}, $s = (a, e, t) => {
|
|
1725
1516
|
if (e !== "" && !/^[0-9a-zA-Z]{1,}$/.test(e))
|
|
1726
1517
|
return t(new Error("只能输入字母数字")), !1;
|
|
1727
1518
|
t();
|
|
1728
|
-
},
|
|
1729
|
-
const
|
|
1730
|
-
if (e !== "" && !
|
|
1519
|
+
}, Os = (a, e, t, s) => {
|
|
1520
|
+
const f = new RegExp(s.value);
|
|
1521
|
+
if (e !== "" && !f.test(e))
|
|
1731
1522
|
return t(new Error("校验失败")), !1;
|
|
1732
1523
|
t();
|
|
1733
|
-
},
|
|
1734
|
-
required:
|
|
1735
|
-
min:
|
|
1736
|
-
max:
|
|
1737
|
-
email:
|
|
1738
|
-
min_value:
|
|
1739
|
-
max_value:
|
|
1740
|
-
confirmed:
|
|
1741
|
-
numeric:
|
|
1742
|
-
between:
|
|
1743
|
-
is:
|
|
1744
|
-
digits:
|
|
1745
|
-
mobile:
|
|
1746
|
-
alpha:
|
|
1747
|
-
alpha_spaces:
|
|
1748
|
-
alpha_dash:
|
|
1749
|
-
alpha_num:
|
|
1750
|
-
regex:
|
|
1751
|
-
},
|
|
1752
|
-
const
|
|
1753
|
-
return { data:
|
|
1754
|
-
e.value.forEach((
|
|
1755
|
-
|
|
1524
|
+
}, Fs = {
|
|
1525
|
+
required: ms,
|
|
1526
|
+
min: vs,
|
|
1527
|
+
max: fs,
|
|
1528
|
+
email: hs,
|
|
1529
|
+
min_value: Vs,
|
|
1530
|
+
max_value: ws,
|
|
1531
|
+
confirmed: _s,
|
|
1532
|
+
numeric: bs,
|
|
1533
|
+
between: Ds,
|
|
1534
|
+
is: Rs,
|
|
1535
|
+
digits: Ss,
|
|
1536
|
+
mobile: ys,
|
|
1537
|
+
alpha: Ms,
|
|
1538
|
+
alpha_spaces: Ls,
|
|
1539
|
+
alpha_dash: Ts,
|
|
1540
|
+
alpha_num: $s,
|
|
1541
|
+
regex: Os
|
|
1542
|
+
}, js = () => {
|
|
1543
|
+
const a = g({}), e = g([]), t = g([]), s = g(""), f = g({});
|
|
1544
|
+
return { data: a, formData: e, formRule: f, setData: (p, m) => {
|
|
1545
|
+
e.value.forEach((w) => {
|
|
1546
|
+
w.formKey === s.value && (w.data[p] = m);
|
|
1756
1547
|
});
|
|
1757
|
-
}, setDetailData: (
|
|
1758
|
-
|
|
1759
|
-
|
|
1548
|
+
}, setDetailData: (p) => {
|
|
1549
|
+
a.value = p, e.value.forEach((m) => {
|
|
1550
|
+
m.formKey === s.value && (m.data = p);
|
|
1760
1551
|
});
|
|
1761
|
-
}, getData: (
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
}) : (t.value.push(
|
|
1765
|
-
formKey:
|
|
1766
|
-
boKey:
|
|
1767
|
-
reportId:
|
|
1552
|
+
}, getData: (p) => a.value[p], setFormData: (p, m, w) => {
|
|
1553
|
+
s.value = p, t.value.includes(p) ? e.value.forEach((F) => {
|
|
1554
|
+
F.formKey === p && (a.value = F.data);
|
|
1555
|
+
}) : (t.value.push(p), e.value.push({
|
|
1556
|
+
formKey: p,
|
|
1557
|
+
boKey: m,
|
|
1558
|
+
reportId: w || null,
|
|
1768
1559
|
data: {}
|
|
1769
1560
|
}));
|
|
1770
|
-
}, getFormData: () => e.value, setFormRule: (
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
validator: (
|
|
1561
|
+
}, getFormData: () => e.value, setFormRule: (p, m) => {
|
|
1562
|
+
f.value[p] = [], m.forEach((w) => {
|
|
1563
|
+
f.value[p].push({
|
|
1564
|
+
validator: (F, C, h) => Fs[w.key](F, C, h, w)
|
|
1774
1565
|
});
|
|
1775
1566
|
});
|
|
1776
1567
|
}, clearData: () => {
|
|
1777
|
-
|
|
1568
|
+
a.value = {}, e.value = [], t.value = [], f.value = {};
|
|
1778
1569
|
} };
|
|
1779
|
-
},
|
|
1570
|
+
}, qs = { class: "custom-page" }, Bs = {
|
|
1780
1571
|
key: 0,
|
|
1781
1572
|
class: "btn-box"
|
|
1782
|
-
},
|
|
1573
|
+
}, Is = { class: "content-box" }, Ks = /* @__PURE__ */ D({
|
|
1783
1574
|
__name: "App",
|
|
1784
1575
|
props: {
|
|
1785
1576
|
formConfigurationId: {},
|
|
@@ -1788,60 +1579,60 @@ const Hs = { ...Ze, ...He }, Gs = (s, e, t, o) => {
|
|
|
1788
1579
|
data: {}
|
|
1789
1580
|
},
|
|
1790
1581
|
emits: ["handleClick"],
|
|
1791
|
-
setup(
|
|
1792
|
-
const
|
|
1582
|
+
setup(a, { expose: e, emit: t }) {
|
|
1583
|
+
const s = js(), { formRule: f, clearData: d } = s, c = a, r = t, { formJsonList: o, isShowPage: l, btnList: i, formRef: u, getForm: p, getBtnSet: m, handleClick: w, validateFormData: F } = ht(
|
|
1584
|
+
c,
|
|
1793
1585
|
r,
|
|
1794
|
-
|
|
1795
|
-
o
|
|
1586
|
+
s
|
|
1796
1587
|
);
|
|
1797
|
-
return
|
|
1798
|
-
|
|
1588
|
+
return Ke(async () => {
|
|
1589
|
+
m();
|
|
1799
1590
|
}), e({
|
|
1800
|
-
validateFormData:
|
|
1801
|
-
clearData:
|
|
1802
|
-
}), (
|
|
1803
|
-
|
|
1804
|
-
(
|
|
1805
|
-
key:
|
|
1591
|
+
validateFormData: F,
|
|
1592
|
+
clearData: d
|
|
1593
|
+
}), (C, h) => (v(), E("div", qs, [
|
|
1594
|
+
n(i).length > 0 ? (v(), E("div", Bs, [
|
|
1595
|
+
(v(!0), E(Z, null, pe(n(i), (y) => (v(), V(n(Ae), {
|
|
1596
|
+
key: y.id,
|
|
1806
1597
|
style: { "margin-right": "20px" },
|
|
1807
1598
|
"btn-type": "primary",
|
|
1808
|
-
onClick: (
|
|
1599
|
+
onClick: (b) => n(w)(y)
|
|
1809
1600
|
}, {
|
|
1810
|
-
default:
|
|
1811
|
-
|
|
1601
|
+
default: R(() => [
|
|
1602
|
+
x(J(y.name), 1)
|
|
1812
1603
|
]),
|
|
1813
1604
|
_: 2
|
|
1814
1605
|
}, 1032, ["onClick"]))), 128))
|
|
1815
|
-
])) :
|
|
1816
|
-
|
|
1817
|
-
l
|
|
1606
|
+
])) : U("", !0),
|
|
1607
|
+
Pe((v(), E("div", Is, [
|
|
1608
|
+
n(l) ? (v(), V(n(ke), {
|
|
1818
1609
|
key: 0,
|
|
1819
1610
|
ref_key: "formRef",
|
|
1820
1611
|
ref: u,
|
|
1821
1612
|
cols: 24,
|
|
1822
1613
|
"margin-right": "80px",
|
|
1823
|
-
rules:
|
|
1824
|
-
form:
|
|
1614
|
+
rules: n(f),
|
|
1615
|
+
form: n(s).data,
|
|
1825
1616
|
class: "form-preview-page",
|
|
1826
1617
|
alignType: "horizontal"
|
|
1827
1618
|
}, {
|
|
1828
|
-
default:
|
|
1829
|
-
(
|
|
1830
|
-
key:
|
|
1831
|
-
setting:
|
|
1832
|
-
isView:
|
|
1833
|
-
store:
|
|
1619
|
+
default: R(() => [
|
|
1620
|
+
(v(!0), E(Z, null, pe(n(o), (y) => (v(), V(Ee(n(ue)[y.ctrlType]), {
|
|
1621
|
+
key: y.name,
|
|
1622
|
+
setting: y,
|
|
1623
|
+
isView: c.isView,
|
|
1624
|
+
store: n(s)
|
|
1834
1625
|
}, null, 8, ["setting", "isView", "store"]))), 128))
|
|
1835
1626
|
]),
|
|
1836
1627
|
_: 1
|
|
1837
|
-
}, 8, ["rules", "form"])) :
|
|
1628
|
+
}, 8, ["rules", "form"])) : U("", !0)
|
|
1838
1629
|
])), [
|
|
1839
|
-
[
|
|
1630
|
+
[n(Qe)]
|
|
1840
1631
|
])
|
|
1841
1632
|
]));
|
|
1842
1633
|
}
|
|
1843
|
-
}),
|
|
1634
|
+
}), Ps = /* @__PURE__ */ re(Ks, [["__scopeId", "data-v-993c1451"]]), lo = qe(Ps);
|
|
1844
1635
|
export {
|
|
1845
|
-
|
|
1846
|
-
|
|
1636
|
+
lo as DasProcessForm,
|
|
1637
|
+
lo as default
|
|
1847
1638
|
};
|