@das-fed/ui 6.4.0-dev.55.3 → 6.4.0-dev.55.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -5
- package/packages/business-components/change-enterprises/i18n/index.d.ts +3 -0
- package/packages/business-components/change-enterprises/index.js +44 -44
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-pwd/i18n/index.d.ts +18 -0
- package/packages/business-components/change-pwd/index.js +127 -122
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/currency-page/i18n/index.d.ts +8 -4
- package/packages/business-components/currency-page/index.js +14 -6
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +239 -0
- package/packages/business-components/device-panel/index.js +9953 -9905
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/export-button/i18n/index.d.ts +11 -0
- package/packages/business-components/export-button/index.js +82 -77
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +26 -0
- package/packages/business-components/import-button/index.js +288 -279
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/i18n/index.d.ts +6 -0
- package/packages/business-components/model-table-dialog/index.js +433 -433
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/process-configuration/i18n/index.d.ts +31 -0
- package/packages/business-components/process-configuration/index.js +205 -202
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/i18n/index.d.ts +80 -0
- package/packages/business-components/process-form/index.js +906 -887
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-log/i18n/index.d.ts +10 -0
- package/packages/business-components/process-log/index.js +245 -245
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-search-form/i18n/index.d.ts +10 -1
- package/packages/business-components/process-search-form/index.js +463 -463
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/i18n/index.d.ts +8 -0
- package/packages/business-components/process-table/index.js +128 -128
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/upload-file/i18n/index.d.ts +1 -0
- package/packages/business-components/upload-file/index.js +32 -31
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/i18n/index.d.ts +90 -0
- package/packages/business-components/urgent-panel/index.js +1237 -1223
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/i18n/index.d.ts +15 -0
- package/packages/business-components/user-org-dialog/index.js +223 -219
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/i18n/index.d.ts +20 -0
- package/packages/business-components/video-dialog/index.js +233 -233
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/breadcrumb/index.d.ts +9 -3
- package/packages/components/breadcrumb/index.js +48 -45
- package/packages/components/breadcrumb/index.js.gz +0 -0
- package/packages/components/breadcrumb/src/BreadCrumb.vue.d.ts +3 -1
- package/packages/components/breadcrumb/src/type.d.ts +1 -0
- package/packages/components/breadcrumb/style.css +1 -1
- package/packages/components/breadcrumb/style.css.gz +0 -0
- package/packages/components/calendar/i18n/index.d.ts +92 -46
- package/packages/components/calendar/index.js +277 -277
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/i18n/index.d.ts +2 -1
- package/packages/components/cascader/index.js +22 -24
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/color-picker/i18n/index.d.ts +2 -1
- package/packages/components/color-picker/index.js +39 -41
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/custom-search-item/i18n/index.d.ts +2 -1
- package/packages/components/custom-search-item/index.js +17 -19
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/i18n/index.d.ts +6 -3
- package/packages/components/date-picker/index.js +519 -518
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/src/DatePicker.vue.d.ts +2 -1
- package/packages/components/date-picker/src/RangePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/src/TimePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/dialog/i18n/index.d.ts +12 -6
- package/packages/components/dialog/index.js +58 -58
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dimple-layout/i18n/index.d.ts +20 -10
- package/packages/components/dimple-layout/index.js +287 -283
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/i18n/index.d.ts +2 -1
- package/packages/components/dropdown/index.js +14 -16
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/empty/i18n/index.d.ts +1 -0
- package/packages/components/empty/index.js +11 -11
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/image-upload/i18n/index.d.ts +6 -0
- package/packages/components/image-upload/index.js +87 -78
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/input/i18n/index.d.ts +3 -0
- package/packages/components/input/index.js +28 -28
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/live-player/i18n/index.d.ts +2 -0
- package/packages/components/live-player/index.js +144 -143
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/loading/i18n/index.d.ts +1 -0
- package/packages/components/loading/index.js +53 -53
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/i18n/index.d.ts +4 -0
- package/packages/components/map/index.js +73 -68
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/i18n/index.d.ts +1 -0
- package/packages/components/menu-aside/index.js +1 -1
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/message/i18n/index.d.ts +1 -0
- package/packages/components/message/index.js +1 -1
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/notification/i18n/index.d.ts +1 -0
- package/packages/components/notification/index.js +1 -1
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/pagination/i18n/index.d.ts +4 -0
- package/packages/components/pagination/index.js +140 -139
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/pagination/style.css +1 -1
- package/packages/components/pagination/style.css.gz +0 -0
- package/packages/components/popover/i18n/index.d.ts +2 -0
- package/packages/components/popover/index.js +7 -7
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/preview/i18n/index.d.ts +1 -0
- package/packages/components/preview/index.js +6 -6
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/rich-editor/i18n/index.d.ts +8 -4
- package/packages/components/rich-editor/index.js +1110 -1094
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/search-form/i18n/index.d.ts +6 -0
- package/packages/components/search-form/index.js +230 -230
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/select/i18n/index.d.ts +10 -5
- package/packages/components/select/index.js +183 -183
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/i18n/index.d.ts +8 -4
- package/packages/components/select-list/index.js +73 -73
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/i18n/index.d.ts +8 -4
- package/packages/components/special-range-picker-month/index.js +72 -72
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/i18n/index.d.ts +6 -3
- package/packages/components/special-range-picker-year/index.js +99 -99
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/i18n/index.d.ts +1 -0
- package/packages/components/spin/index.js +27 -27
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/table/i18n/index.d.ts +49 -0
- package/packages/components/table/index.js +3657 -3585
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/type.d.ts +5 -1
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tabs/i18n/index.d.ts +3 -0
- package/packages/components/tabs/index.js +63 -63
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tooltip/i18n/index.d.ts +1 -0
- package/packages/components/tooltip/index.js +16 -16
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/i18n/index.d.ts +7 -0
- package/packages/components/tree/index.js +219 -218
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/upload/i18n/index.d.ts +5 -0
- package/packages/components/upload/index.js +68 -68
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/i18n/index.d.ts +1 -0
- package/packages/components/virtual-tree/index.js +15 -15
- package/packages/components/virtual-tree/index.js.gz +0 -0
|
@@ -1,81 +1,81 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/process-form/style.css';
|
|
2
2
|
import { withInstall as pt } from "@das-fed/utils/with-install/index";
|
|
3
|
-
import { ref as
|
|
4
|
-
import { DasFormRef as
|
|
3
|
+
import { ref as l, defineComponent as j, watch as N, openBlock as D, createBlock as F, unref as a, withCtx as z, createVNode as S, createCommentVNode as I, createElementVNode as qe, createElementBlock as U, Fragment as G, createTextVNode as ee, toDisplayString as te, isRef as he, createSlots as dt, h as le, renderList as ie, resolveDynamicComponent as ge, onMounted as ct, withDirectives as gt, normalizeStyle as mt } from "vue";
|
|
4
|
+
import { DasFormRef as vt, DasForm as Fe } from "@das-fed/ui/packages/components/form/index";
|
|
5
5
|
import { DasButton as ft } from "@das-fed/ui/packages/components/button/index";
|
|
6
6
|
import { vOverlay as ht } from "@das-fed/ui/packages/components/overlay/index";
|
|
7
7
|
import { createService as Z } from "@das-fed/utils/create-api-service";
|
|
8
8
|
import { DasUpload as yt } from "@das-fed/ui/packages/components/upload/index";
|
|
9
9
|
import { DasFormItem as A } from "@das-fed/ui/packages/components/form-item/index";
|
|
10
10
|
import { DasAutocomplete as bt } from "@das-fed/ui/packages/components/autocomplete/index";
|
|
11
|
-
import
|
|
12
|
-
import { DasImageViewer as
|
|
11
|
+
import ve from "dayjs";
|
|
12
|
+
import { DasImageViewer as Be } from "@das-fed/ui/packages/components/image-viewer/index";
|
|
13
13
|
import { DasInput as _t } from "@das-fed/ui/packages/components/input/index";
|
|
14
|
-
import { DasTooltip as
|
|
15
|
-
import { i18n as
|
|
16
|
-
import { DasTableColumn as
|
|
17
|
-
import { DasSearchForm as
|
|
18
|
-
import { DasModelTableDialog as
|
|
19
|
-
import { getProjectInfo as
|
|
20
|
-
import { getConfig as
|
|
21
|
-
import { DasRichEditor as
|
|
14
|
+
import { DasTooltip as De } from "@das-fed/ui/packages/components/tooltip/index";
|
|
15
|
+
import { i18n as B, t as V, setI18nRule as wt } from "@das-fed/web/packages/i18n/index";
|
|
16
|
+
import { DasTableColumn as E } from "@das-fed/ui/packages/components/table/index";
|
|
17
|
+
import { DasSearchForm as Ct } from "@das-fed/ui/packages/components/search-form/index";
|
|
18
|
+
import { DasModelTableDialog as Vt } from "@das-fed/ui/packages/business-components/model-table-dialog";
|
|
19
|
+
import { getProjectInfo as Ke } from "@das-fed/utils/common-info";
|
|
20
|
+
import { getConfig as Dt } from "@das-fed/utils/config";
|
|
21
|
+
import { DasRichEditor as je } from "@das-fed/ui/packages/components/rich-editor/index";
|
|
22
22
|
import { DasCollaspe as Ae } from "@das-fed/ui/packages/components/collaspe/index";
|
|
23
23
|
import { DasCollaspePanel as Qe } from "@das-fed/ui/packages/components/collapse-panel/index";
|
|
24
|
-
const X = "v1",
|
|
24
|
+
const X = "v1", kt = Z(`/workflow/form/form/${X}`), St = Z(`/workflow/form/formDef/${X}`);
|
|
25
25
|
Z(`/workflow/api/user/${X}`);
|
|
26
|
-
const Ue = Z(`/workflow/api/extend/${X}`),
|
|
26
|
+
const Ue = Z(`/workflow/api/extend/${X}`), Nt = Z(`/workflow/flow/def/${X}`), Lt = Z(`/workflow/form/customQuery/${X}`), ae = Z(`/api/enterpriseright/permission/${X}`), ke = Z(`/api/space-manage/space-tree/${X}`), zt = Z(`/workflow/form/dataTemplate/${X}`), Se = Z(`/api/supply/supplier/${X}`), Mt = Z(`/api/warehouse/vms/${X}/asset-receive`), Tt = zt.get("/getBpmDataTemplateInfoByFlowKey"), Rt = kt.get("/formDesign"), Pt = St.get("/get"), $t = Ue.get("/report-config");
|
|
27
27
|
Ue.get("/application-report");
|
|
28
|
-
const
|
|
28
|
+
const Et = Nt.get("/getBindRelationByDefKey"), Ft = Lt.get("/getByAlias"), It = ae.get("/organization/authTree"), Ot = ae.post("/user/list"), qt = ae.post("/data/user-query"), Bt = ae.get("/role/list"), Kt = ae.post("/data/role-ids"), jt = ae.get("/organization/organizationpage"), At = ae.get("/station/list"), Qt = ae.get("/position/list"), ye = ae.post("/organization/detailbyids"), Ut = ke.get("/controller/area-children"), Yt = ke.get("/controller/fuzzy-tree-all"), xt = ke.get("/controller/space"), Jt = Se.post("/supplier/list/page", (n) => {
|
|
29
29
|
var e, t;
|
|
30
30
|
return n.data.pageBean = {
|
|
31
31
|
page: ((e = n == null ? void 0 : n.data) == null ? void 0 : e.pageIndex) || 1,
|
|
32
32
|
pageSize: ((t = n == null ? void 0 : n.data) == null ? void 0 : t.pageSize) || 20
|
|
33
33
|
}, n;
|
|
34
|
-
}), Ht =
|
|
35
|
-
const { setDetailData: s, getFormData: g, setFormData: i, formRule: y, showData:
|
|
36
|
-
const [T, R] = await Rt({ formId:
|
|
34
|
+
}), Ht = Se.get("/supplier"), Wt = Se.post("/classification/list/all"), Zt = Mt.get("/receive-code"), be = l(""), Gt = (n, e, t) => {
|
|
35
|
+
const { setDetailData: s, getFormData: g, setFormData: i, formRule: y, showData: C, disabledData: u, encryptionData: h } = t, m = l([]), c = l([]), d = l([]), r = l(!1), _ = vt(), v = l([]), p = (k) => Object.keys(k).length === 0, o = async (k) => {
|
|
36
|
+
const [T, R] = await Rt({ formId: k }).run();
|
|
37
37
|
if (T) return;
|
|
38
38
|
const J = JSON.parse(R.bos);
|
|
39
39
|
be.value = J[0].alias, c.value.length && c.value.forEach((W) => {
|
|
40
40
|
W.formKey === R.formKey && i(R.formKey, be.value, W.id);
|
|
41
41
|
});
|
|
42
|
-
const [
|
|
42
|
+
const [P, Y] = await Pt({ formDefId: R.defId }).run();
|
|
43
43
|
await b(), d.value = JSON.parse(Y.value.expand).list, d.value.forEach((W) => {
|
|
44
|
-
W.columns && W.columns[0].isOpen &&
|
|
45
|
-
}),
|
|
46
|
-
|
|
44
|
+
W.columns && W.columns[0].isOpen && v.value.push(W.columns[0].idKey);
|
|
45
|
+
}), u.value = { ...u.value, ...n.disabledData }, c.value.length || i(R.formKey, be.value), p(n.data) && (r.value = !0), p(n.data) || (s(n.data), n.flowKey && (m.value = n.data.button_list ? JSON.parse(n.data.button_list) : []), r.value = !0), setTimeout(() => {
|
|
46
|
+
C.value = { ...C.value, ...n.showData };
|
|
47
47
|
}, 50);
|
|
48
48
|
}, f = async () => {
|
|
49
49
|
if (n.formConfigurationId) {
|
|
50
|
-
const [
|
|
51
|
-
if (
|
|
52
|
-
c.value = T.reports,
|
|
50
|
+
const [k, T] = await $t({ id: n.formConfigurationId }).run();
|
|
51
|
+
if (k) return;
|
|
52
|
+
c.value = T.reports, m.value = T.reports[0].buttons.filter((R) => !(n.isView && R.event !== "LINK")), o(T.reports[0].formId);
|
|
53
53
|
}
|
|
54
54
|
if (n.flowKey) {
|
|
55
|
-
const [
|
|
56
|
-
if (
|
|
57
|
-
|
|
55
|
+
const [k, T] = await Et({ flowKey: n.flowKey }).run();
|
|
56
|
+
if (k) return;
|
|
57
|
+
o(T.pcForm.pcFormId);
|
|
58
58
|
}
|
|
59
59
|
}, b = async () => {
|
|
60
|
-
const [
|
|
60
|
+
const [k, T] = await Tt().run({
|
|
61
61
|
flowKey: n.flowKey,
|
|
62
62
|
needDisplayFileds: !1
|
|
63
63
|
});
|
|
64
64
|
h.value = T.value.boDef.boEnt.attributeList.filter((R) => R.encryption == "phone");
|
|
65
65
|
};
|
|
66
66
|
return {
|
|
67
|
-
isShowPage:
|
|
67
|
+
isShowPage: r,
|
|
68
68
|
formJsonList: d,
|
|
69
|
-
btnList:
|
|
69
|
+
btnList: m,
|
|
70
70
|
formRef: _,
|
|
71
|
-
activityKeys:
|
|
72
|
-
getForm:
|
|
71
|
+
activityKeys: v,
|
|
72
|
+
getForm: o,
|
|
73
73
|
getBtnSet: f,
|
|
74
|
-
handleClick: (
|
|
74
|
+
handleClick: (k) => {
|
|
75
75
|
var T;
|
|
76
76
|
(T = _.value) == null || T.validate(async (R) => {
|
|
77
|
-
R && (e("handleClick",
|
|
78
|
-
|
|
77
|
+
R && (e("handleClick", k, g()), k.event === "LINK" && c.value.forEach((J) => {
|
|
78
|
+
k.eventTarget === J.formKey && (m.value = J.buttons.filter((P) => !(n.isView && P.event !== "LINK")), r.value = !1, y.value = {}, o(J.formId));
|
|
79
79
|
}));
|
|
80
80
|
});
|
|
81
81
|
}
|
|
@@ -84,23 +84,23 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
84
84
|
var e = new RegExp("<.+?>", "g"), t = n.replace(e, "").replace(/ /g, "");
|
|
85
85
|
return t;
|
|
86
86
|
}, se = async (n, e, t = {}) => {
|
|
87
|
-
const [s, g] = await
|
|
87
|
+
const [s, g] = await Ft({ alias: n }).run();
|
|
88
88
|
if (!s && g.url) {
|
|
89
|
-
const i =
|
|
89
|
+
const i = l({});
|
|
90
90
|
e.forEach((h) => {
|
|
91
91
|
h.defaultType == 2 && (i.value[h.field] = h.defaultValue);
|
|
92
92
|
}), i.value = { ...i.value, ...t };
|
|
93
|
-
const y = g.requestType === "POST" ? Z(g.url).post("") : Z(g.url).get(""), [
|
|
94
|
-
return
|
|
93
|
+
const y = g.requestType === "POST" ? Z(g.url).post("") : Z(g.url).get(""), [C, u] = await y({}, { params: i.value }).run();
|
|
94
|
+
return C ? void 0 : u;
|
|
95
95
|
}
|
|
96
96
|
}, H = async (n) => {
|
|
97
|
-
const e =
|
|
97
|
+
const e = l(!1);
|
|
98
98
|
return n.forEach((t) => {
|
|
99
99
|
t.key === "required" && (e.value = !0);
|
|
100
100
|
}), e.value;
|
|
101
101
|
}, Xt = {
|
|
102
102
|
name: "attachment"
|
|
103
|
-
}, ea = /* @__PURE__ */
|
|
103
|
+
}, ea = /* @__PURE__ */ j({
|
|
104
104
|
...Xt,
|
|
105
105
|
props: {
|
|
106
106
|
setting: { default: () => ({
|
|
@@ -116,43 +116,43 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
116
116
|
store: {}
|
|
117
117
|
},
|
|
118
118
|
setup(n) {
|
|
119
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule:
|
|
120
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
119
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
|
|
120
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
121
121
|
() => t.value,
|
|
122
122
|
() => {
|
|
123
|
-
|
|
123
|
+
u.value = t.value[e.setting.name], u.value || (m.value = [], C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
124
124
|
},
|
|
125
125
|
{ deep: !0 }
|
|
126
126
|
);
|
|
127
|
-
const h =
|
|
127
|
+
const h = l();
|
|
128
128
|
e.setting.options.tip && (h.value = x(e.setting.options.tip));
|
|
129
|
-
const
|
|
130
|
-
return
|
|
129
|
+
const m = l([{ name: "111", sizeText: "9.4KB" }]);
|
|
130
|
+
return m.value || g(e.setting.name, null), N(m, (c) => {
|
|
131
131
|
g(e.setting.name, JSON.stringify(c));
|
|
132
|
-
}), (c, d) =>
|
|
132
|
+
}), (c, d) => u.value ? (D(), F(a(A), {
|
|
133
133
|
key: 0,
|
|
134
134
|
col: e.span,
|
|
135
135
|
label: c.setting.desc,
|
|
136
136
|
type: "custom",
|
|
137
137
|
helpMessage: h.value
|
|
138
138
|
}, {
|
|
139
|
-
default:
|
|
140
|
-
|
|
139
|
+
default: z(() => [
|
|
140
|
+
S(a(yt), {
|
|
141
141
|
style: { width: "100%" },
|
|
142
|
-
modelValue:
|
|
143
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
142
|
+
modelValue: m.value,
|
|
143
|
+
"onUpdate:modelValue": d[0] || (d[0] = (r) => m.value = r)
|
|
144
144
|
}, null, 8, ["modelValue"])
|
|
145
145
|
]),
|
|
146
146
|
_: 1
|
|
147
147
|
/* STABLE */
|
|
148
|
-
}, 8, ["col", "label", "helpMessage"])) :
|
|
148
|
+
}, 8, ["col", "label", "helpMessage"])) : I("v-if", !0);
|
|
149
149
|
}
|
|
150
150
|
}), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
151
151
|
__proto__: null,
|
|
152
152
|
default: ea
|
|
153
153
|
}, Symbol.toStringTag, { value: "Module" })), ta = {
|
|
154
154
|
name: "autocomplete"
|
|
155
|
-
}, aa = /* @__PURE__ */
|
|
155
|
+
}, aa = /* @__PURE__ */ j({
|
|
156
156
|
...ta,
|
|
157
157
|
props: {
|
|
158
158
|
setting: { default: () => ({
|
|
@@ -168,62 +168,62 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
168
168
|
store: {}
|
|
169
169
|
},
|
|
170
170
|
setup(n) {
|
|
171
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule:
|
|
172
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
171
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
|
|
172
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
173
173
|
() => t.value,
|
|
174
174
|
() => {
|
|
175
|
-
|
|
175
|
+
u.value = t.value[e.setting.name], u.value || (p.value = "", C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
176
176
|
},
|
|
177
177
|
{ deep: !0 }
|
|
178
178
|
);
|
|
179
|
-
const h = s.value[e.setting.name] || !1,
|
|
180
|
-
H(e.setting.options.validateList).then((
|
|
181
|
-
|
|
179
|
+
const h = s.value[e.setting.name] || !1, m = l(!1);
|
|
180
|
+
H(e.setting.options.validateList).then((o) => {
|
|
181
|
+
m.value = o;
|
|
182
182
|
});
|
|
183
|
-
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", d = e.setting.options.children ? e.setting.options.children : "children",
|
|
184
|
-
e.setting.options.customQuery.alias ? se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((
|
|
185
|
-
_.value =
|
|
183
|
+
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", d = e.setting.options.children ? e.setting.options.children : "children", r = !!e.setting.options.fillInFullPath, _ = l([]);
|
|
184
|
+
e.setting.options.customQuery.alias ? se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((o) => {
|
|
185
|
+
_.value = o;
|
|
186
186
|
}) : _.value = e.setting.options.options;
|
|
187
|
-
const
|
|
188
|
-
e.setting.options.tip && (
|
|
189
|
-
const p =
|
|
190
|
-
return p.value = i(e.setting.name) || p.value, p.value || g(e.setting.name, null), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList),
|
|
191
|
-
g(e.setting.name,
|
|
192
|
-
}), (
|
|
187
|
+
const v = l();
|
|
188
|
+
e.setting.options.tip && (v.value = x(e.setting.options.tip));
|
|
189
|
+
const p = l("");
|
|
190
|
+
return p.value = i(e.setting.name) || p.value, p.value || g(e.setting.name, null), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(p, (o) => {
|
|
191
|
+
g(e.setting.name, o.toString());
|
|
192
|
+
}), (o, f) => u.value ? (D(), F(a(A), {
|
|
193
193
|
key: 0,
|
|
194
194
|
col: e.span,
|
|
195
195
|
prop: e.setting.name,
|
|
196
196
|
modelValue: p.value,
|
|
197
197
|
"onUpdate:modelValue": f[1] || (f[1] = (b) => p.value = b),
|
|
198
|
-
label:
|
|
198
|
+
label: o.setting.desc,
|
|
199
199
|
type: "custom",
|
|
200
|
-
helpMessage:
|
|
201
|
-
required:
|
|
200
|
+
helpMessage: v.value,
|
|
201
|
+
required: m.value,
|
|
202
202
|
disabled: a(h)
|
|
203
203
|
}, {
|
|
204
|
-
default:
|
|
205
|
-
|
|
204
|
+
default: z(() => [
|
|
205
|
+
S(a(bt), {
|
|
206
206
|
modelValue: p.value,
|
|
207
207
|
"onUpdate:modelValue": f[0] || (f[0] = (b) => p.value = b),
|
|
208
208
|
options: _.value,
|
|
209
209
|
isView: e.isView,
|
|
210
210
|
width: "100%",
|
|
211
211
|
fieldNames: { label: a(c), children: a(d) },
|
|
212
|
-
showFullPath: a(
|
|
213
|
-
placeholder:
|
|
212
|
+
showFullPath: a(r),
|
|
213
|
+
placeholder: o.setting.options.placeholder,
|
|
214
214
|
clearable: ""
|
|
215
215
|
}, null, 8, ["modelValue", "options", "isView", "fieldNames", "showFullPath", "placeholder"])
|
|
216
216
|
]),
|
|
217
217
|
_: 1
|
|
218
218
|
/* STABLE */
|
|
219
|
-
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required", "disabled"])) :
|
|
219
|
+
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required", "disabled"])) : I("v-if", !0);
|
|
220
220
|
}
|
|
221
221
|
}), xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
222
222
|
__proto__: null,
|
|
223
223
|
default: aa
|
|
224
224
|
}, Symbol.toStringTag, { value: "Module" })), na = {
|
|
225
225
|
name: "checkbox"
|
|
226
|
-
}, sa = /* @__PURE__ */
|
|
226
|
+
}, sa = /* @__PURE__ */ j({
|
|
227
227
|
...na,
|
|
228
228
|
props: {
|
|
229
229
|
setting: { default: () => ({
|
|
@@ -239,54 +239,54 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
239
239
|
store: {}
|
|
240
240
|
},
|
|
241
241
|
setup(n) {
|
|
242
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule:
|
|
243
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
242
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
|
|
243
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
244
244
|
() => t.value,
|
|
245
245
|
() => {
|
|
246
|
-
|
|
246
|
+
u.value = t.value[e.setting.name], u.value || (v.value = [], C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
247
247
|
},
|
|
248
248
|
{ deep: !0 }
|
|
249
249
|
);
|
|
250
|
-
const h = s.value[e.setting.name] || !1,
|
|
250
|
+
const h = s.value[e.setting.name] || !1, m = l(!1);
|
|
251
251
|
H(e.setting.options.validateList).then((p) => {
|
|
252
|
-
|
|
252
|
+
m.value = p;
|
|
253
253
|
});
|
|
254
|
-
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value",
|
|
254
|
+
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", r = l([]);
|
|
255
255
|
e.setting.options.customQuery.alias ? se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((p) => {
|
|
256
|
-
|
|
257
|
-
}) :
|
|
258
|
-
const _ =
|
|
256
|
+
r.value = p;
|
|
257
|
+
}) : r.value = e.setting.options.options;
|
|
258
|
+
const _ = l();
|
|
259
259
|
e.setting.options.tip && (_.value = x(e.setting.options.tip)());
|
|
260
|
-
const
|
|
260
|
+
const v = l([]);
|
|
261
261
|
return setTimeout(() => {
|
|
262
|
-
i(e.setting.name) && (
|
|
263
|
-
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList),
|
|
262
|
+
i(e.setting.name) && (v.value = i(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (v.value = e.setting.options.formulasDiyJs.split(",")), v.value.length || v.value || g(e.setting.name, null);
|
|
263
|
+
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(v, (p) => {
|
|
264
264
|
g(e.setting.name, p.toString());
|
|
265
|
-
}), (p,
|
|
265
|
+
}), (p, o) => u.value ? (D(), F(a(A), {
|
|
266
266
|
key: 0,
|
|
267
267
|
col: e.span,
|
|
268
|
-
modelValue:
|
|
269
|
-
"onUpdate:modelValue":
|
|
268
|
+
modelValue: v.value,
|
|
269
|
+
"onUpdate:modelValue": o[0] || (o[0] = (f) => v.value = f),
|
|
270
270
|
layout: p.setting.options.inline ? "vertical" : "default",
|
|
271
271
|
label: p.setting.desc,
|
|
272
272
|
prop: e.setting.name,
|
|
273
273
|
type: "checkbox",
|
|
274
|
-
options:
|
|
274
|
+
options: r.value,
|
|
275
275
|
isView: e.isView,
|
|
276
276
|
disabled: a(h),
|
|
277
277
|
optionsValueKey: a(c),
|
|
278
278
|
optionsLabelKey: a(d),
|
|
279
279
|
helpMessage: _.value,
|
|
280
|
-
required:
|
|
281
|
-
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "disabled", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"])) :
|
|
280
|
+
required: m.value
|
|
281
|
+
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "disabled", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"])) : I("v-if", !0);
|
|
282
282
|
}
|
|
283
283
|
}), Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
284
284
|
__proto__: null,
|
|
285
285
|
default: sa
|
|
286
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
286
|
+
}, Symbol.toStringTag, { value: "Module" })), oa = {
|
|
287
287
|
name: "date"
|
|
288
|
-
},
|
|
289
|
-
...
|
|
288
|
+
}, la = /* @__PURE__ */ j({
|
|
289
|
+
...oa,
|
|
290
290
|
props: {
|
|
291
291
|
setting: { default: () => ({
|
|
292
292
|
icon: "",
|
|
@@ -301,37 +301,37 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
301
301
|
store: {}
|
|
302
302
|
},
|
|
303
303
|
setup(n) {
|
|
304
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule:
|
|
305
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
304
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
|
|
305
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
306
306
|
() => t.value,
|
|
307
307
|
() => {
|
|
308
|
-
|
|
308
|
+
u.value = t.value[e.setting.name], u.value || (_.value = null, C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
309
309
|
},
|
|
310
310
|
{ deep: !0 }
|
|
311
311
|
);
|
|
312
|
-
const h = s.value[e.setting.name] || !1,
|
|
313
|
-
H(e.setting.options.validateList).then((
|
|
314
|
-
|
|
312
|
+
const h = s.value[e.setting.name] || !1, m = l(!1);
|
|
313
|
+
H(e.setting.options.validateList).then((v) => {
|
|
314
|
+
m.value = v;
|
|
315
315
|
});
|
|
316
|
-
const c = e.setting.options.inputFormat === "yyyy-MM-dd" ? "YYYY/MM/DD" : e.setting.options.inputFormat === "yyyy-MM-dd HH:mm:ss" ? "YYYY/MM/DD HH:mm:ss" : e.setting.options.inputFormat, d =
|
|
316
|
+
const c = e.setting.options.inputFormat === "yyyy-MM-dd" ? "YYYY/MM/DD" : e.setting.options.inputFormat === "yyyy-MM-dd HH:mm:ss" ? "YYYY/MM/DD HH:mm:ss" : e.setting.options.inputFormat, d = l("");
|
|
317
317
|
e.setting.options.inputFormat === "YYYY/MM/DD" && (d.value = "date"), e.setting.options.inputFormat === "MM/DD" && (d.value = "date"), e.setting.options.inputFormat === "YYYY/MM" && (d.value = "month"), e.setting.options.inputFormat === "YYYY" && (d.value = "year");
|
|
318
|
-
const
|
|
319
|
-
e.setting.options.tip && (
|
|
320
|
-
const _ =
|
|
318
|
+
const r = l();
|
|
319
|
+
e.setting.options.tip && (r.value = x(e.setting.options.tip));
|
|
320
|
+
const _ = l();
|
|
321
321
|
if (setTimeout(() => {
|
|
322
322
|
_.value = i(e.setting.name) || e.setting.options.formulasDiyJs || _.value, _.value || g(e.setting.name, null);
|
|
323
323
|
}, 50), e.setting.options.showCurrentDate) {
|
|
324
|
-
let
|
|
325
|
-
|
|
324
|
+
let v = /* @__PURE__ */ new Date();
|
|
325
|
+
v.setDate(v.getDate() + e.setting.options.day), _.value = ve(v.getTime()).format(c), g(e.setting.name, _.value);
|
|
326
326
|
}
|
|
327
|
-
return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList),
|
|
328
|
-
g(e.setting.name,
|
|
329
|
-
}), (
|
|
327
|
+
return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(_, (v) => {
|
|
328
|
+
g(e.setting.name, v);
|
|
329
|
+
}), (v, p) => u.value ? (D(), F(a(A), {
|
|
330
330
|
key: 0,
|
|
331
331
|
col: e.span,
|
|
332
332
|
modelValue: _.value,
|
|
333
|
-
"onUpdate:modelValue": p[0] || (p[0] = (
|
|
334
|
-
label:
|
|
333
|
+
"onUpdate:modelValue": p[0] || (p[0] = (o) => _.value = o),
|
|
334
|
+
label: v.setting.desc,
|
|
335
335
|
prop: e.setting.name,
|
|
336
336
|
type: a(c).indexOf("HH") != -1 ? "dateTime" : "date",
|
|
337
337
|
format: a(c),
|
|
@@ -339,17 +339,17 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
339
339
|
picker: d.value,
|
|
340
340
|
isView: e.isView,
|
|
341
341
|
disabled: a(h),
|
|
342
|
-
placeholder:
|
|
343
|
-
helpMessage:
|
|
344
|
-
required:
|
|
345
|
-
}, null, 8, ["col", "modelValue", "label", "prop", "type", "format", "picker", "isView", "disabled", "placeholder", "helpMessage", "required"])) :
|
|
342
|
+
placeholder: v.setting.options.placeholder,
|
|
343
|
+
helpMessage: r.value,
|
|
344
|
+
required: m.value
|
|
345
|
+
}, null, 8, ["col", "modelValue", "label", "prop", "type", "format", "picker", "isView", "disabled", "placeholder", "helpMessage", "required"])) : I("v-if", !0);
|
|
346
346
|
}
|
|
347
347
|
}), He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
348
348
|
__proto__: null,
|
|
349
|
-
default:
|
|
349
|
+
default: la
|
|
350
350
|
}, Symbol.toStringTag, { value: "Module" })), ia = {
|
|
351
351
|
name: "dropdown"
|
|
352
|
-
},
|
|
352
|
+
}, ra = /* @__PURE__ */ j({
|
|
353
353
|
...ia,
|
|
354
354
|
props: {
|
|
355
355
|
setting: { default: () => ({
|
|
@@ -365,36 +365,36 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
365
365
|
store: {}
|
|
366
366
|
},
|
|
367
367
|
setup(n) {
|
|
368
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule:
|
|
369
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
368
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C, setLinkData: u } = e.store || {}, h = l(!0);
|
|
369
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
370
370
|
() => t.value,
|
|
371
371
|
() => {
|
|
372
|
-
h.value = t.value[e.setting.name], h.value || (b.value = e.setting.options.multiple ? [] : "",
|
|
372
|
+
h.value = t.value[e.setting.name], h.value || (b.value = e.setting.options.multiple ? [] : "", C(e.setting.name)), h.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
373
373
|
},
|
|
374
374
|
{ deep: !0 }
|
|
375
375
|
);
|
|
376
|
-
const
|
|
377
|
-
e.setting.options.customQuery && e.setting.options.customQuery.custQueryJson.length &&
|
|
378
|
-
}, c = s.value[e.setting.name] || !1, d =
|
|
376
|
+
const m = () => {
|
|
377
|
+
e.setting.options.customQuery && e.setting.options.customQuery.custQueryJson.length && u(e.setting.options.customQuery.custQueryJson, b.value);
|
|
378
|
+
}, c = s.value[e.setting.name] || !1, d = l(!1);
|
|
379
379
|
H(e.setting.options.validateList).then((w) => {
|
|
380
380
|
d.value = w;
|
|
381
381
|
});
|
|
382
|
-
const
|
|
382
|
+
const r = l(""), _ = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", v = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", p = e.setting.options.customQuery.PId || "children", o = l([]);
|
|
383
383
|
e.setting.options.customQuery.alias && se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((w) => {
|
|
384
|
-
|
|
384
|
+
o.value = w;
|
|
385
385
|
});
|
|
386
|
-
const f =
|
|
386
|
+
const f = l();
|
|
387
387
|
e.setting.options.tip && (f.value = x(e.setting.options.tip));
|
|
388
|
-
const b =
|
|
389
|
-
return b.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && i(e.setting.name) ? b.value = i(e.setting.name).split(",") : b.value = i(e.setting.name) || b.value, b.value || g(e.setting.name, null), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList),
|
|
388
|
+
const b = l();
|
|
389
|
+
return b.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && i(e.setting.name) ? b.value = i(e.setting.name).split(",") : b.value = i(e.setting.name) || b.value, b.value || g(e.setting.name, null), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(b, (w) => {
|
|
390
390
|
g(e.setting.name, w.toString());
|
|
391
|
-
}), (w,
|
|
391
|
+
}), (w, k) => h.value ? (D(), F(a(A), {
|
|
392
392
|
key: 0,
|
|
393
393
|
col: e.span,
|
|
394
394
|
modelValue: b.value,
|
|
395
|
-
"onUpdate:modelValue":
|
|
396
|
-
keyword:
|
|
397
|
-
"onUpdate:keyword":
|
|
395
|
+
"onUpdate:modelValue": k[0] || (k[0] = (T) => b.value = T),
|
|
396
|
+
keyword: r.value,
|
|
397
|
+
"onUpdate:keyword": k[1] || (k[1] = (T) => r.value = T),
|
|
398
398
|
label: w.setting.desc,
|
|
399
399
|
type: "treeSelect",
|
|
400
400
|
"node-key": w.setting.options.customQuery.valueBind,
|
|
@@ -403,22 +403,22 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
403
403
|
prop: e.setting.name,
|
|
404
404
|
filter: w.setting.options.filterable,
|
|
405
405
|
selectAttrs: { allowClear: !0 },
|
|
406
|
-
options:
|
|
406
|
+
options: o.value,
|
|
407
407
|
isView: e.isView,
|
|
408
408
|
helpMessage: f.value,
|
|
409
409
|
disabled: a(c),
|
|
410
|
-
props: { label: a(
|
|
410
|
+
props: { label: a(v), value: a(_), children: a(p) },
|
|
411
411
|
"check-strictly": !w.setting.options.cascade,
|
|
412
412
|
required: d.value,
|
|
413
|
-
onChange:
|
|
414
|
-
}, null, 8, ["col", "modelValue", "keyword", "label", "node-key", "placeholder", "mode", "prop", "filter", "options", "isView", "helpMessage", "disabled", "props", "check-strictly", "required"])) :
|
|
413
|
+
onChange: m
|
|
414
|
+
}, null, 8, ["col", "modelValue", "keyword", "label", "node-key", "placeholder", "mode", "prop", "filter", "options", "isView", "helpMessage", "disabled", "props", "check-strictly", "required"])) : I("v-if", !0);
|
|
415
415
|
}
|
|
416
416
|
}), We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
417
417
|
__proto__: null,
|
|
418
|
-
default:
|
|
419
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
418
|
+
default: ra
|
|
419
|
+
}, Symbol.toStringTag, { value: "Module" })), ua = { class: "form-image" }, pa = {
|
|
420
420
|
name: "imageViewer"
|
|
421
|
-
}, da = /* @__PURE__ */
|
|
421
|
+
}, da = /* @__PURE__ */ j({
|
|
422
422
|
...pa,
|
|
423
423
|
props: {
|
|
424
424
|
setting: { default: () => ({
|
|
@@ -434,57 +434,57 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
434
434
|
store: {}
|
|
435
435
|
},
|
|
436
436
|
setup(n) {
|
|
437
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule:
|
|
438
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
437
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
|
|
438
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
439
439
|
() => t.value,
|
|
440
440
|
() => {
|
|
441
|
-
|
|
441
|
+
u.value = t.value[e.setting.name], u.value || (r.value = e.setting.options.file.limit > 1 ? [] : "", C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
442
442
|
},
|
|
443
443
|
{ deep: !0 }
|
|
444
444
|
);
|
|
445
|
-
const h = s.value[e.setting.name] || !1,
|
|
446
|
-
H(e.setting.options.validateList).then((
|
|
447
|
-
|
|
445
|
+
const h = s.value[e.setting.name] || !1, m = l(!1);
|
|
446
|
+
H(e.setting.options.validateList).then((v) => {
|
|
447
|
+
m.value = v;
|
|
448
448
|
});
|
|
449
|
-
const c =
|
|
449
|
+
const c = l("normal");
|
|
450
450
|
e.isView && (c.value = "info");
|
|
451
|
-
const d =
|
|
451
|
+
const d = l();
|
|
452
452
|
e.setting.options.tip && (d.value = x(e.setting.options.tip));
|
|
453
|
-
const
|
|
454
|
-
|
|
455
|
-
const _ = (
|
|
453
|
+
const r = l();
|
|
454
|
+
r.value = e.setting.options.file.limit > 1 ? [] : "", e.setting.options.file.limit > 1 && i(e.setting.name) ? r.value = i(e.setting.name).split(",") : r.value = i(e.setting.name) || r.value, r.value || g(e.setting.name, null);
|
|
455
|
+
const _ = (v) => {
|
|
456
456
|
setTimeout(() => {
|
|
457
|
-
g(e.setting.name,
|
|
457
|
+
g(e.setting.name, r.value.toString());
|
|
458
458
|
}, 100);
|
|
459
459
|
};
|
|
460
|
-
return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList),
|
|
461
|
-
const p =
|
|
460
|
+
return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(r.value, (v) => {
|
|
461
|
+
const p = v.map((o) => {
|
|
462
462
|
let f = "";
|
|
463
|
-
return
|
|
463
|
+
return o.indexOf("/oss/") != -1 ? f = o : f = `/oss/${o}`, f;
|
|
464
464
|
});
|
|
465
465
|
setTimeout(() => {
|
|
466
466
|
g(e.setting.name, p.join(","));
|
|
467
467
|
}, 100);
|
|
468
|
-
}), (
|
|
468
|
+
}), (v, p) => u.value ? (D(), F(a(A), {
|
|
469
469
|
key: 0,
|
|
470
|
-
modelValue:
|
|
471
|
-
"onUpdate:modelValue": p[2] || (p[2] = (
|
|
470
|
+
modelValue: r.value,
|
|
471
|
+
"onUpdate:modelValue": p[2] || (p[2] = (o) => r.value = o),
|
|
472
472
|
"margin-bottom": "0",
|
|
473
473
|
prop: e.setting.name,
|
|
474
|
-
label:
|
|
474
|
+
label: v.setting.desc,
|
|
475
475
|
type: "custom",
|
|
476
476
|
helpMessage: d.value,
|
|
477
|
-
required:
|
|
477
|
+
required: m.value
|
|
478
478
|
}, {
|
|
479
|
-
default:
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
modelValue:
|
|
483
|
-
"onUpdate:modelValue": p[0] || (p[0] = (
|
|
479
|
+
default: z(() => [
|
|
480
|
+
qe("div", ua, [
|
|
481
|
+
S(a(Be), {
|
|
482
|
+
modelValue: r.value,
|
|
483
|
+
"onUpdate:modelValue": p[0] || (p[0] = (o) => r.value = o),
|
|
484
484
|
status: c.value,
|
|
485
|
-
"onUpdate:status": p[1] || (p[1] = (
|
|
485
|
+
"onUpdate:status": p[1] || (p[1] = (o) => c.value = o),
|
|
486
486
|
maxSize: "6",
|
|
487
|
-
"limit-num":
|
|
487
|
+
"limit-num": v.setting.options.file.limit,
|
|
488
488
|
prop: e.setting.name,
|
|
489
489
|
"service-name": "hotent",
|
|
490
490
|
"accept-video": "",
|
|
@@ -493,16 +493,16 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
493
493
|
videoHeight: 680,
|
|
494
494
|
disabled: a(h),
|
|
495
495
|
"show-image-name": "",
|
|
496
|
-
needDownloadBtn:
|
|
497
|
-
needPreview:
|
|
496
|
+
needDownloadBtn: v.setting.options.file.allowDownload == !0,
|
|
497
|
+
needPreview: v.setting.options.file.allowPreview == !0,
|
|
498
498
|
onImageUpload: _,
|
|
499
|
-
required:
|
|
499
|
+
required: m.value
|
|
500
500
|
}, null, 8, ["modelValue", "status", "limit-num", "prop", "disabled", "needDownloadBtn", "needPreview", "required"])
|
|
501
501
|
])
|
|
502
502
|
]),
|
|
503
503
|
_: 1
|
|
504
504
|
/* STABLE */
|
|
505
|
-
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) :
|
|
505
|
+
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) : I("v-if", !0);
|
|
506
506
|
}
|
|
507
507
|
}), fe = (n, e) => {
|
|
508
508
|
const t = n.__vccOpts || n;
|
|
@@ -514,54 +514,54 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
514
514
|
default: ca
|
|
515
515
|
}, Symbol.toStringTag, { value: "Module" })), ga = (n) => {
|
|
516
516
|
const t = "****", s = String(n), g = s.slice(0, 15), i = s.slice(15);
|
|
517
|
-
return ((
|
|
518
|
-
const h =
|
|
519
|
-
if (h < 6) return
|
|
520
|
-
let
|
|
517
|
+
return ((u) => {
|
|
518
|
+
const h = u.length;
|
|
519
|
+
if (h < 6) return u;
|
|
520
|
+
let m = 0;
|
|
521
521
|
switch (h) {
|
|
522
522
|
case 6:
|
|
523
523
|
case 7:
|
|
524
|
-
|
|
524
|
+
m = 1;
|
|
525
525
|
break;
|
|
526
526
|
case 8:
|
|
527
527
|
case 9:
|
|
528
|
-
|
|
528
|
+
m = 2;
|
|
529
529
|
break;
|
|
530
530
|
case 10:
|
|
531
531
|
case 11:
|
|
532
|
-
|
|
532
|
+
m = 3;
|
|
533
533
|
break;
|
|
534
534
|
case 12:
|
|
535
|
-
|
|
535
|
+
m = 4;
|
|
536
536
|
break;
|
|
537
537
|
case 13:
|
|
538
|
-
|
|
538
|
+
m = 5;
|
|
539
539
|
break;
|
|
540
540
|
case 14:
|
|
541
|
-
|
|
541
|
+
m = 6;
|
|
542
542
|
break;
|
|
543
543
|
case 15:
|
|
544
|
-
|
|
544
|
+
m = 7;
|
|
545
545
|
break;
|
|
546
546
|
}
|
|
547
|
-
const c =
|
|
548
|
-
return
|
|
547
|
+
const c = m + t.length;
|
|
548
|
+
return u.slice(0, m) + t + u.slice(c);
|
|
549
549
|
})(g) + i;
|
|
550
|
-
},
|
|
550
|
+
}, ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
551
551
|
__proto__: null,
|
|
552
552
|
default: ga
|
|
553
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
554
|
-
var
|
|
555
|
-
for (const n in
|
|
556
|
-
const e =
|
|
557
|
-
|
|
553
|
+
}, Symbol.toStringTag, { value: "Module" })), me = {}, va = /^\.\/(.+)\/index\.ts$/, Ie = /* @__PURE__ */ Object.assign({ "./phone/index.ts": ma });
|
|
554
|
+
var Oe;
|
|
555
|
+
for (const n in Ie) {
|
|
556
|
+
const e = Ie[n], t = (Oe = n.match(va)) == null ? void 0 : Oe[1];
|
|
557
|
+
me[t] = e.default;
|
|
558
558
|
}
|
|
559
559
|
const fa = (n, e) => {
|
|
560
560
|
var s;
|
|
561
|
-
return e ? ((s =
|
|
561
|
+
return e ? ((s = me[n]) == null ? void 0 : s.call(me, e)) ?? e : "-";
|
|
562
562
|
}, ha = {
|
|
563
563
|
name: "input"
|
|
564
|
-
}, ya = /* @__PURE__ */
|
|
564
|
+
}, ya = /* @__PURE__ */ j({
|
|
565
565
|
...ha,
|
|
566
566
|
props: {
|
|
567
567
|
setting: { default: () => ({
|
|
@@ -577,75 +577,75 @@ const fa = (n, e) => {
|
|
|
577
577
|
store: {}
|
|
578
578
|
},
|
|
579
579
|
setup(n) {
|
|
580
|
-
const e = n, { data: t, showData: s, disabledData: g, setData: i, getData: y, setFormRule:
|
|
581
|
-
h.value.length && h.value.forEach((
|
|
582
|
-
|
|
580
|
+
const e = n, { data: t, showData: s, disabledData: g, setData: i, getData: y, setFormRule: C, deleteRule: u, encryptionData: h } = e.store || {}, m = l(""), c = l(!1);
|
|
581
|
+
h.value.length && h.value.forEach((o) => {
|
|
582
|
+
o.name === e.setting.name && (c.value = !0);
|
|
583
583
|
});
|
|
584
|
-
const d =
|
|
585
|
-
!s.value[e.setting.name] && s.value[e.setting.name] != !1 && (s.value[e.setting.name] = !0),
|
|
584
|
+
const d = l(!0);
|
|
585
|
+
!s.value[e.setting.name] && s.value[e.setting.name] != !1 && (s.value[e.setting.name] = !0), N(
|
|
586
586
|
() => s.value,
|
|
587
587
|
() => {
|
|
588
|
-
d.value = s.value[e.setting.name], d.value || (p.value = "",
|
|
588
|
+
d.value = s.value[e.setting.name], d.value || (p.value = "", u(e.setting.name)), d.value && e.setting.options.validateList.length && C(e.setting.name, e.setting.options.validateList);
|
|
589
589
|
},
|
|
590
590
|
{ deep: !0 }
|
|
591
|
-
),
|
|
591
|
+
), N(
|
|
592
592
|
() => t.value,
|
|
593
593
|
() => {
|
|
594
594
|
t.value[e.setting.name] && (p.value = t.value[e.setting.name]);
|
|
595
595
|
},
|
|
596
596
|
{ deep: !0 }
|
|
597
597
|
);
|
|
598
|
-
const
|
|
599
|
-
H(e.setting.options.validateList).then((
|
|
600
|
-
_.value =
|
|
598
|
+
const r = g.value[e.setting.name] || !1, _ = l(!1);
|
|
599
|
+
H(e.setting.options.validateList).then((o) => {
|
|
600
|
+
_.value = o;
|
|
601
601
|
});
|
|
602
|
-
const
|
|
603
|
-
e.setting.options.tip && (
|
|
604
|
-
const p =
|
|
602
|
+
const v = l();
|
|
603
|
+
e.setting.options.tip && (v.value = x(e.setting.options.tip));
|
|
604
|
+
const p = l("");
|
|
605
605
|
return setTimeout(() => {
|
|
606
|
-
p.value = y(e.setting.name) || e.setting.options.formulasDiyJs || p.value, c && e.isView && (
|
|
607
|
-
}, 50), e.setting.options.validateList.length &&
|
|
608
|
-
e.setting.options.dataType === "number" && !isNaN(
|
|
609
|
-
}), (
|
|
606
|
+
p.value = y(e.setting.name) || e.setting.options.formulasDiyJs || p.value, c && e.isView && (m.value = fa("phone", p.value)), p.value || i(e.setting.name, null);
|
|
607
|
+
}, 50), e.setting.options.validateList.length && C(e.setting.name, e.setting.options.validateList), N(p, (o) => {
|
|
608
|
+
e.setting.options.dataType === "number" && !isNaN(o) ? i(e.setting.name, Number(o)) : i(e.setting.name, o);
|
|
609
|
+
}), (o, f) => (D(), U(
|
|
610
610
|
G,
|
|
611
611
|
null,
|
|
612
612
|
[
|
|
613
|
-
d.value && c.value && e.isView ? (
|
|
613
|
+
d.value && c.value && e.isView ? (D(), F(a(A), {
|
|
614
614
|
key: 0,
|
|
615
615
|
col: e.span,
|
|
616
616
|
prop: e.setting.name,
|
|
617
617
|
modelValue: p.value,
|
|
618
618
|
"onUpdate:modelValue": f[1] || (f[1] = (b) => p.value = b),
|
|
619
|
-
label:
|
|
619
|
+
label: o.setting.desc,
|
|
620
620
|
type: "custom",
|
|
621
|
-
helpMessage:
|
|
621
|
+
helpMessage: v.value,
|
|
622
622
|
required: _.value
|
|
623
623
|
}, {
|
|
624
|
-
default:
|
|
625
|
-
|
|
624
|
+
default: z(() => [
|
|
625
|
+
S(a(De), {
|
|
626
626
|
placement: "top",
|
|
627
627
|
disabled: !p.value,
|
|
628
628
|
content: p.value
|
|
629
629
|
}, {
|
|
630
|
-
default:
|
|
631
|
-
|
|
632
|
-
modelValue:
|
|
633
|
-
"onUpdate:modelValue": f[0] || (f[0] = (b) =>
|
|
634
|
-
width:
|
|
635
|
-
disabled:
|
|
636
|
-
isView:
|
|
637
|
-
placeholder:
|
|
630
|
+
default: z(() => [
|
|
631
|
+
S(a(_t), {
|
|
632
|
+
modelValue: m.value,
|
|
633
|
+
"onUpdate:modelValue": f[0] || (f[0] = (b) => m.value = b),
|
|
634
|
+
width: o.setting.options.width,
|
|
635
|
+
disabled: o.setting.options.isInputEdit || a(r),
|
|
636
|
+
isView: o.setting.options.isReadonly || e.isView,
|
|
637
|
+
placeholder: o.setting.options.placeholder
|
|
638
638
|
}, {
|
|
639
|
-
prepend:
|
|
639
|
+
prepend: z(() => [
|
|
640
640
|
ee(
|
|
641
|
-
te(
|
|
641
|
+
te(o.setting.options.bindPreAndSufFixjson.preFix),
|
|
642
642
|
1
|
|
643
643
|
/* TEXT */
|
|
644
644
|
)
|
|
645
645
|
]),
|
|
646
|
-
append:
|
|
646
|
+
append: z(() => [
|
|
647
647
|
ee(
|
|
648
|
-
te(
|
|
648
|
+
te(o.setting.options.bindPreAndSufFixjson.sufSix),
|
|
649
649
|
1
|
|
650
650
|
/* TEXT */
|
|
651
651
|
)
|
|
@@ -660,24 +660,24 @@ const fa = (n, e) => {
|
|
|
660
660
|
]),
|
|
661
661
|
_: 1
|
|
662
662
|
/* STABLE */
|
|
663
|
-
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required"])) :
|
|
664
|
-
d.value && (!c.value || !e.isView) ? (
|
|
663
|
+
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required"])) : I("v-if", !0),
|
|
664
|
+
d.value && (!c.value || !e.isView) ? (D(), F(a(A), {
|
|
665
665
|
key: 1,
|
|
666
666
|
col: e.span,
|
|
667
667
|
modelValue: p.value,
|
|
668
668
|
"onUpdate:modelValue": f[2] || (f[2] = (b) => p.value = b),
|
|
669
|
-
width:
|
|
670
|
-
disabled:
|
|
671
|
-
isView:
|
|
669
|
+
width: o.setting.options.width,
|
|
670
|
+
disabled: o.setting.options.isInputEdit || a(r),
|
|
671
|
+
isView: o.setting.options.isReadonly || e.isView,
|
|
672
672
|
prop: e.setting.name,
|
|
673
|
-
label:
|
|
673
|
+
label: o.setting.desc,
|
|
674
674
|
type: "input",
|
|
675
|
-
helpMessage:
|
|
675
|
+
helpMessage: v.value,
|
|
676
676
|
required: _.value,
|
|
677
|
-
placeholder:
|
|
677
|
+
placeholder: o.setting.options.placeholder
|
|
678
678
|
}, {
|
|
679
|
-
default:
|
|
680
|
-
|
|
679
|
+
default: z(() => [
|
|
680
|
+
I(` <DasInput\r
|
|
681
681
|
v-model="inputValue"\r
|
|
682
682
|
>\r
|
|
683
683
|
<template #prepend>{{ setting.options.bindPreAndSufFixjson.preFix }}</template>\r
|
|
@@ -686,7 +686,7 @@ const fa = (n, e) => {
|
|
|
686
686
|
]),
|
|
687
687
|
_: 1
|
|
688
688
|
/* STABLE */
|
|
689
|
-
}, 8, ["col", "modelValue", "width", "disabled", "isView", "prop", "label", "helpMessage", "required", "placeholder"])) :
|
|
689
|
+
}, 8, ["col", "modelValue", "width", "disabled", "isView", "prop", "label", "helpMessage", "required", "placeholder"])) : I("v-if", !0)
|
|
690
690
|
],
|
|
691
691
|
64
|
|
692
692
|
/* STABLE_FRAGMENT */
|
|
@@ -697,7 +697,7 @@ const fa = (n, e) => {
|
|
|
697
697
|
default: ya
|
|
698
698
|
}, Symbol.toStringTag, { value: "Module" })), ba = {
|
|
699
699
|
name: "number"
|
|
700
|
-
}, _a = /* @__PURE__ */
|
|
700
|
+
}, _a = /* @__PURE__ */ j({
|
|
701
701
|
...ba,
|
|
702
702
|
props: {
|
|
703
703
|
setting: { default: () => ({
|
|
@@ -713,50 +713,50 @@ const fa = (n, e) => {
|
|
|
713
713
|
store: {}
|
|
714
714
|
},
|
|
715
715
|
setup(n) {
|
|
716
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule:
|
|
717
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
716
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
|
|
717
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
718
718
|
() => t.value,
|
|
719
719
|
() => {
|
|
720
|
-
|
|
720
|
+
u.value = t.value[e.setting.name], u.value || (d.value = 0, C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
721
721
|
},
|
|
722
722
|
{ deep: !0 }
|
|
723
723
|
);
|
|
724
|
-
const h = s.value[e.setting.name] || !1,
|
|
725
|
-
H(e.setting.options.validateList).then((
|
|
726
|
-
|
|
724
|
+
const h = s.value[e.setting.name] || !1, m = l(!1);
|
|
725
|
+
H(e.setting.options.validateList).then((r) => {
|
|
726
|
+
m.value = r;
|
|
727
727
|
});
|
|
728
|
-
const c =
|
|
728
|
+
const c = l();
|
|
729
729
|
e.setting.options.tip && (c.value = x(e.setting.options.tip));
|
|
730
|
-
const d =
|
|
730
|
+
const d = l(0);
|
|
731
731
|
return setTimeout(() => {
|
|
732
732
|
d.value = i(e.setting.name) || e.setting.options.formulasDiyJs || d.value, d.value || g(e.setting.name, null);
|
|
733
|
-
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList),
|
|
734
|
-
g(e.setting.name,
|
|
735
|
-
}), (
|
|
733
|
+
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(d, (r) => {
|
|
734
|
+
g(e.setting.name, r);
|
|
735
|
+
}), (r, _) => u.value ? (D(), F(a(A), {
|
|
736
736
|
key: 0,
|
|
737
737
|
col: e.span,
|
|
738
738
|
modelValue: d.value,
|
|
739
|
-
"onUpdate:modelValue": _[0] || (_[0] = (
|
|
739
|
+
"onUpdate:modelValue": _[0] || (_[0] = (v) => d.value = v),
|
|
740
740
|
style: { width: "100%" },
|
|
741
|
-
label:
|
|
741
|
+
label: r.setting.desc,
|
|
742
742
|
type: "inputNumber",
|
|
743
743
|
prop: e.setting.name,
|
|
744
|
-
max:
|
|
745
|
-
min:
|
|
746
|
-
step:
|
|
744
|
+
max: r.setting.options.max,
|
|
745
|
+
min: r.setting.options.min,
|
|
746
|
+
step: r.setting.options.step,
|
|
747
747
|
disabled: a(h),
|
|
748
748
|
isView: e.isView,
|
|
749
|
-
precision:
|
|
749
|
+
precision: r.setting.options.decimalDigits,
|
|
750
750
|
helpMessage: c.value,
|
|
751
|
-
required:
|
|
752
|
-
}, null, 8, ["col", "modelValue", "label", "prop", "max", "min", "step", "disabled", "isView", "precision", "helpMessage", "required"])) :
|
|
751
|
+
required: m.value
|
|
752
|
+
}, null, 8, ["col", "modelValue", "label", "prop", "max", "min", "step", "disabled", "isView", "precision", "helpMessage", "required"])) : I("v-if", !0);
|
|
753
753
|
}
|
|
754
754
|
}), Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
755
755
|
__proto__: null,
|
|
756
756
|
default: _a
|
|
757
757
|
}, Symbol.toStringTag, { value: "Module" })), wa = {
|
|
758
758
|
name: "radio"
|
|
759
|
-
},
|
|
759
|
+
}, Ca = /* @__PURE__ */ j({
|
|
760
760
|
...wa,
|
|
761
761
|
props: {
|
|
762
762
|
setting: { default: () => ({
|
|
@@ -774,65 +774,65 @@ const fa = (n, e) => {
|
|
|
774
774
|
store: {}
|
|
775
775
|
},
|
|
776
776
|
setup(n) {
|
|
777
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule:
|
|
778
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
777
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
|
|
778
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
779
779
|
() => t.value,
|
|
780
780
|
() => {
|
|
781
|
-
|
|
781
|
+
u.value = t.value[e.setting.name], u.value || (v.value = null, C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
782
782
|
},
|
|
783
783
|
{ deep: !0 }
|
|
784
784
|
);
|
|
785
|
-
const h = s.value[e.setting.name] || !1,
|
|
786
|
-
H(e.setting.options.validateList).then((
|
|
787
|
-
|
|
785
|
+
const h = s.value[e.setting.name] || !1, m = l(!1);
|
|
786
|
+
H(e.setting.options.validateList).then((o) => {
|
|
787
|
+
m.value = o;
|
|
788
788
|
});
|
|
789
|
-
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value",
|
|
790
|
-
e.setting.options.customQuery.alias ? se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((
|
|
791
|
-
|
|
792
|
-
}) :
|
|
793
|
-
const _ =
|
|
789
|
+
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", r = l([]);
|
|
790
|
+
e.setting.options.customQuery.alias ? se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((o) => {
|
|
791
|
+
r.value = o;
|
|
792
|
+
}) : r.value = e.setting.options.options;
|
|
793
|
+
const _ = l();
|
|
794
794
|
e.setting.options.tip && (_.value = x(e.setting.options.tip));
|
|
795
|
-
const
|
|
795
|
+
const v = l(null);
|
|
796
796
|
setTimeout(() => {
|
|
797
|
-
|
|
798
|
-
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList),
|
|
799
|
-
g(e.setting.name,
|
|
797
|
+
v.value = i(e.setting.name) || e.setting.options.formulasDiyJs || v.value, v.value || g(e.setting.name, null);
|
|
798
|
+
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(v, (o) => {
|
|
799
|
+
g(e.setting.name, o);
|
|
800
800
|
});
|
|
801
|
-
const p = (
|
|
801
|
+
const p = (o) => {
|
|
802
802
|
e.setting.options.linkage.length && e.setting.options.linkage.forEach((f) => {
|
|
803
|
-
if (f.value ===
|
|
803
|
+
if (f.value === o) {
|
|
804
804
|
const w = f.effect[0].target.split(".")[2];
|
|
805
805
|
t.value[w] = f.effect[0].type === "w";
|
|
806
806
|
}
|
|
807
807
|
});
|
|
808
808
|
};
|
|
809
|
-
return (
|
|
809
|
+
return (o, f) => u.value ? (D(), F(a(A), {
|
|
810
810
|
key: 0,
|
|
811
811
|
onChange: p,
|
|
812
812
|
col: e.span,
|
|
813
|
-
modelValue:
|
|
814
|
-
"onUpdate:modelValue": f[0] || (f[0] = (b) =>
|
|
815
|
-
layout:
|
|
816
|
-
label:
|
|
813
|
+
modelValue: v.value,
|
|
814
|
+
"onUpdate:modelValue": f[0] || (f[0] = (b) => v.value = b),
|
|
815
|
+
layout: o.setting.options.inline ? "vertical" : "default",
|
|
816
|
+
label: o.setting.desc,
|
|
817
817
|
type: "radio",
|
|
818
818
|
prop: e.setting.name,
|
|
819
|
-
options:
|
|
819
|
+
options: r.value,
|
|
820
820
|
isView: e.isView,
|
|
821
821
|
optionsValueKey: a(c),
|
|
822
822
|
optionsLabelKey: a(d),
|
|
823
823
|
helpMessage: _.value,
|
|
824
824
|
disabled: a(h),
|
|
825
|
-
required:
|
|
825
|
+
required: m.value,
|
|
826
826
|
isSetTimeout: !0
|
|
827
|
-
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) :
|
|
827
|
+
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : I("v-if", !0);
|
|
828
828
|
}
|
|
829
829
|
}), et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
830
830
|
__proto__: null,
|
|
831
|
-
default:
|
|
832
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
831
|
+
default: Ca
|
|
832
|
+
}, Symbol.toStringTag, { value: "Module" })), Va = {
|
|
833
833
|
name: "select"
|
|
834
|
-
},
|
|
835
|
-
...
|
|
834
|
+
}, Da = /* @__PURE__ */ j({
|
|
835
|
+
...Va,
|
|
836
836
|
props: {
|
|
837
837
|
setting: { default: () => ({
|
|
838
838
|
icon: "",
|
|
@@ -847,46 +847,46 @@ const fa = (n, e) => {
|
|
|
847
847
|
store: {}
|
|
848
848
|
},
|
|
849
849
|
setup(n) {
|
|
850
|
-
const e = n, { showData: t, disabledData: s, linkData: g, setData: i, getData: y, setFormRule:
|
|
851
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
850
|
+
const e = n, { showData: t, disabledData: s, linkData: g, setData: i, getData: y, setFormRule: C, deleteRule: u } = e.store || {}, h = l(!0);
|
|
851
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
852
852
|
() => t.value,
|
|
853
853
|
() => {
|
|
854
|
-
h.value = t.value[e.setting.name], h.value || (p.value = null,
|
|
854
|
+
h.value = t.value[e.setting.name], h.value || (p.value = null, u(e.setting.name)), h.value && e.setting.options.validateList.length && C(e.setting.name, e.setting.options.validateList);
|
|
855
855
|
},
|
|
856
856
|
{ deep: !0 }
|
|
857
|
-
),
|
|
857
|
+
), N(
|
|
858
858
|
() => g.value,
|
|
859
859
|
() => {
|
|
860
860
|
g.value.data.forEach((f) => {
|
|
861
861
|
if (e.setting.options.customQuery.alias && e.setting.options.customQuery.alias === f.alias) {
|
|
862
862
|
p.value = null;
|
|
863
|
-
const b = f.conditionfield.filter((
|
|
863
|
+
const b = f.conditionfield.filter((k) => k.defaultType == 1);
|
|
864
864
|
let w = {};
|
|
865
|
-
b.forEach((
|
|
866
|
-
const T =
|
|
867
|
-
w[
|
|
865
|
+
b.forEach((k) => {
|
|
866
|
+
const T = k.fieldPath.split("."), R = T[T.length - 1];
|
|
867
|
+
w[k.field] = y(R);
|
|
868
868
|
}), se(
|
|
869
869
|
e.setting.options.customQuery.alias,
|
|
870
870
|
e.setting.options.customQuery.conditionfield,
|
|
871
871
|
w
|
|
872
|
-
).then((
|
|
873
|
-
_.value =
|
|
872
|
+
).then((k) => {
|
|
873
|
+
_.value = k;
|
|
874
874
|
});
|
|
875
875
|
}
|
|
876
876
|
});
|
|
877
877
|
},
|
|
878
878
|
{ deep: !0 }
|
|
879
879
|
);
|
|
880
|
-
const
|
|
880
|
+
const m = s.value[e.setting.name] || !1, c = l(!1);
|
|
881
881
|
H(e.setting.options.validateList).then((f) => {
|
|
882
882
|
c.value = f;
|
|
883
883
|
});
|
|
884
|
-
const d = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key",
|
|
884
|
+
const d = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", r = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", _ = l([]);
|
|
885
885
|
if (e.setting.options.customQuery.alias) {
|
|
886
886
|
const f = e.setting.options.customQuery.conditionfield.filter((w) => w.defaultType == 1);
|
|
887
887
|
let b = {};
|
|
888
888
|
f.forEach((w) => {
|
|
889
|
-
const
|
|
889
|
+
const k = w.fieldPath.split("."), T = k[k.length - 1];
|
|
890
890
|
b[w.field] = y(T);
|
|
891
891
|
}), se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield, b).then(
|
|
892
892
|
(w) => {
|
|
@@ -895,29 +895,29 @@ const fa = (n, e) => {
|
|
|
895
895
|
);
|
|
896
896
|
} else
|
|
897
897
|
_.value = e.setting.options.options;
|
|
898
|
-
const
|
|
899
|
-
e.setting.options.tip && (
|
|
900
|
-
const p =
|
|
898
|
+
const v = l();
|
|
899
|
+
e.setting.options.tip && (v.value = x(e.setting.options.tip));
|
|
900
|
+
const p = l();
|
|
901
901
|
p.value = e.setting.options.multiple ? [] : null, setTimeout(() => {
|
|
902
902
|
e.setting.options.multiple && (y(e.setting.name) || e.setting.options.formulasDiyJs) ? (y(e.setting.name) && (p.value = y(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (p.value = e.setting.options.formulasDiyJs.split(","))) : p.value = y(e.setting.name) || e.setting.options.formulasDiyJs || p.value, p.value || i(e.setting.name, null);
|
|
903
|
-
}, 50), e.setting.options.validateList.length &&
|
|
903
|
+
}, 50), e.setting.options.validateList.length && C(e.setting.name, e.setting.options.validateList), N(p, (f) => {
|
|
904
904
|
e.setting.options.multiple ? i(e.setting.name, f.toString()) : i(e.setting.name, f);
|
|
905
905
|
});
|
|
906
|
-
const
|
|
906
|
+
const o = (f) => {
|
|
907
907
|
e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((b) => {
|
|
908
908
|
if (b.value === f) {
|
|
909
|
-
const
|
|
910
|
-
t.value[
|
|
909
|
+
const k = b.effect[0].target.split(".")[2];
|
|
910
|
+
t.value[k] = b.effect[0].type === "w";
|
|
911
911
|
}
|
|
912
912
|
});
|
|
913
913
|
};
|
|
914
|
-
return (f, b) => h.value ? (
|
|
914
|
+
return (f, b) => h.value ? (D(), F(a(A), {
|
|
915
915
|
key: 0,
|
|
916
916
|
col: e.span,
|
|
917
917
|
modelValue: p.value,
|
|
918
918
|
"onUpdate:modelValue": b[0] || (b[0] = (w) => p.value = w),
|
|
919
919
|
label: f.setting.desc,
|
|
920
|
-
onChange:
|
|
920
|
+
onChange: o,
|
|
921
921
|
type: "select",
|
|
922
922
|
prop: e.setting.name,
|
|
923
923
|
placeholder: f.setting.options.placeholder,
|
|
@@ -927,33 +927,33 @@ const fa = (n, e) => {
|
|
|
927
927
|
isView: e.isView,
|
|
928
928
|
options: _.value,
|
|
929
929
|
optionsValueKey: a(d),
|
|
930
|
-
optionsLabelKey: a(
|
|
931
|
-
helpMessage:
|
|
932
|
-
disabled: a(
|
|
930
|
+
optionsLabelKey: a(r),
|
|
931
|
+
helpMessage: v.value,
|
|
932
|
+
disabled: a(m),
|
|
933
933
|
required: c.value
|
|
934
|
-
}, null, 8, ["col", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) :
|
|
934
|
+
}, null, 8, ["col", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : I("v-if", !0);
|
|
935
935
|
}
|
|
936
936
|
}), tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
937
937
|
__proto__: null,
|
|
938
|
-
default:
|
|
939
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
940
|
-
var
|
|
941
|
-
const s =
|
|
942
|
-
user:
|
|
943
|
-
org:
|
|
944
|
-
role:
|
|
945
|
-
job:
|
|
946
|
-
post:
|
|
947
|
-
supplier:
|
|
948
|
-
source:
|
|
949
|
-
},
|
|
950
|
-
user:
|
|
951
|
-
org:
|
|
952
|
-
role:
|
|
953
|
-
job:
|
|
954
|
-
post:
|
|
955
|
-
supplier:
|
|
956
|
-
source:
|
|
938
|
+
default: Da
|
|
939
|
+
}, Symbol.toStringTag, { value: "Module" })), ka = (n, e, t) => {
|
|
940
|
+
var ue, ne, pe, de, ce;
|
|
941
|
+
const s = Ke().id, g = l(!1), i = (ce = (de = (pe = (ne = (ue = n == null ? void 0 : n.options) == null ? void 0 : ue.selector) == null ? void 0 : ne.type) == null ? void 0 : pe.alias) == null ? void 0 : de.replace("eip-", "")) == null ? void 0 : ce.replace("-selector", ""), y = l([]), C = l(""), u = l(""), h = {
|
|
942
|
+
user: B("搜索姓名/账号/手机号").value,
|
|
943
|
+
org: B("搜索组织名称/组织编码").value,
|
|
944
|
+
role: B("搜索角色名称").value,
|
|
945
|
+
job: B("职务名称/职务编码").value,
|
|
946
|
+
post: B("搜索岗位名称/岗位编码").value,
|
|
947
|
+
supplier: B("搜索供应商编码/名称").value,
|
|
948
|
+
source: B("搜索单据编码/申请人").value
|
|
949
|
+
}, m = {
|
|
950
|
+
user: B("添加用户").value,
|
|
951
|
+
org: B("组织选择器").value,
|
|
952
|
+
role: B("角色选择器").value,
|
|
953
|
+
job: B("职务选择器").value,
|
|
954
|
+
post: B("岗位选择器").value,
|
|
955
|
+
supplier: B("选择供应商").value,
|
|
956
|
+
source: B("选择源单").value
|
|
957
957
|
}, c = {
|
|
958
958
|
user: "id",
|
|
959
959
|
org: "id",
|
|
@@ -963,25 +963,25 @@ const fa = (n, e) => {
|
|
|
963
963
|
supplier: "id",
|
|
964
964
|
source: "code"
|
|
965
965
|
}, d = {
|
|
966
|
-
1:
|
|
967
|
-
2:
|
|
968
|
-
3:
|
|
969
|
-
},
|
|
970
|
-
0:
|
|
971
|
-
1:
|
|
966
|
+
1: B("正常").value,
|
|
967
|
+
2: B("锁定").value,
|
|
968
|
+
3: B("禁用").value
|
|
969
|
+
}, r = {
|
|
970
|
+
0: B("普通").value,
|
|
971
|
+
1: B("管理员").value
|
|
972
972
|
}, _ = {
|
|
973
|
-
0:
|
|
974
|
-
1:
|
|
975
|
-
},
|
|
976
|
-
user:
|
|
973
|
+
0: B("无效").value,
|
|
974
|
+
1: B("有效").value
|
|
975
|
+
}, v = {
|
|
976
|
+
user: qt,
|
|
977
977
|
org: ye,
|
|
978
|
-
role:
|
|
978
|
+
role: Kt,
|
|
979
979
|
job: ye,
|
|
980
980
|
post: ye,
|
|
981
981
|
supplier: Ht
|
|
982
|
-
}, p =
|
|
983
|
-
var
|
|
984
|
-
i === "supplier" ? (
|
|
982
|
+
}, p = m[i], o = l({}), f = l([]), b = () => {
|
|
983
|
+
var O, Q;
|
|
984
|
+
i === "supplier" ? (o.value = {
|
|
985
985
|
left: !1,
|
|
986
986
|
content: {
|
|
987
987
|
api: Jt,
|
|
@@ -1009,7 +1009,7 @@ const fa = (n, e) => {
|
|
|
1009
1009
|
}
|
|
1010
1010
|
},
|
|
1011
1011
|
right: !1
|
|
1012
|
-
}, T(),
|
|
1012
|
+
}, T(), k()) : i === "source" ? (o.value = {
|
|
1013
1013
|
left: !1,
|
|
1014
1014
|
content: {
|
|
1015
1015
|
api: Zt,
|
|
@@ -1027,10 +1027,10 @@ const fa = (n, e) => {
|
|
|
1027
1027
|
}
|
|
1028
1028
|
},
|
|
1029
1029
|
right: !1
|
|
1030
|
-
}, w()) : i === "org" ? (
|
|
1030
|
+
}, w()) : i === "org" ? (o.value = {
|
|
1031
1031
|
left: !1,
|
|
1032
1032
|
content: {
|
|
1033
|
-
api:
|
|
1033
|
+
api: jt,
|
|
1034
1034
|
params: {
|
|
1035
1035
|
search: ""
|
|
1036
1036
|
},
|
|
@@ -1038,16 +1038,16 @@ const fa = (n, e) => {
|
|
|
1038
1038
|
data: []
|
|
1039
1039
|
}
|
|
1040
1040
|
}
|
|
1041
|
-
}, w()) :
|
|
1041
|
+
}, w()) : o.value = {
|
|
1042
1042
|
left: {
|
|
1043
|
-
api:
|
|
1043
|
+
api: It,
|
|
1044
1044
|
params: {
|
|
1045
1045
|
projectId: s,
|
|
1046
1046
|
parentId: s
|
|
1047
1047
|
},
|
|
1048
1048
|
props: {
|
|
1049
1049
|
inputOptions: {
|
|
1050
|
-
placeholder:
|
|
1050
|
+
placeholder: B("搜索组织名称").value
|
|
1051
1051
|
}
|
|
1052
1052
|
}
|
|
1053
1053
|
},
|
|
@@ -1056,8 +1056,8 @@ const fa = (n, e) => {
|
|
|
1056
1056
|
data: []
|
|
1057
1057
|
}
|
|
1058
1058
|
}
|
|
1059
|
-
}, i === "user" && (
|
|
1060
|
-
api:
|
|
1059
|
+
}, i === "user" && (o.value.content = {
|
|
1060
|
+
api: Ot,
|
|
1061
1061
|
searchKey: "groupId",
|
|
1062
1062
|
params: {
|
|
1063
1063
|
status: 1,
|
|
@@ -1066,8 +1066,8 @@ const fa = (n, e) => {
|
|
|
1066
1066
|
selectListProps: {
|
|
1067
1067
|
data: []
|
|
1068
1068
|
}
|
|
1069
|
-
}, w()), i === "role" && (
|
|
1070
|
-
api:
|
|
1069
|
+
}, w()), i === "role" && (o.value.content = {
|
|
1070
|
+
api: Bt,
|
|
1071
1071
|
searchKey: "orgId",
|
|
1072
1072
|
params: {
|
|
1073
1073
|
status: 1
|
|
@@ -1075,7 +1075,7 @@ const fa = (n, e) => {
|
|
|
1075
1075
|
selectListProps: {
|
|
1076
1076
|
data: []
|
|
1077
1077
|
}
|
|
1078
|
-
}, w()), i === "job" && (
|
|
1078
|
+
}, w()), i === "job" && (o.value.content = {
|
|
1079
1079
|
api: Qt,
|
|
1080
1080
|
searchKey: "groupId",
|
|
1081
1081
|
props: {
|
|
@@ -1084,7 +1084,7 @@ const fa = (n, e) => {
|
|
|
1084
1084
|
selectListProps: {
|
|
1085
1085
|
data: []
|
|
1086
1086
|
}
|
|
1087
|
-
}, w()), i === "post" && (
|
|
1087
|
+
}, w()), i === "post" && (o.value.content = {
|
|
1088
1088
|
api: At,
|
|
1089
1089
|
searchKey: "groupId",
|
|
1090
1090
|
props: {
|
|
@@ -1093,7 +1093,7 @@ const fa = (n, e) => {
|
|
|
1093
1093
|
selectListProps: {
|
|
1094
1094
|
data: []
|
|
1095
1095
|
}
|
|
1096
|
-
}, w()),
|
|
1096
|
+
}, w()), o.value.content.multiple = i === "supplier" || i === "source" ? !1 : !((Q = (O = n == null ? void 0 : n.options) == null ? void 0 : O.selector) != null && Q.isSingle);
|
|
1097
1097
|
}, w = async () => {
|
|
1098
1098
|
f.value = [
|
|
1099
1099
|
{
|
|
@@ -1108,7 +1108,7 @@ const fa = (n, e) => {
|
|
|
1108
1108
|
size: "small"
|
|
1109
1109
|
}
|
|
1110
1110
|
];
|
|
1111
|
-
},
|
|
1111
|
+
}, k = async () => {
|
|
1112
1112
|
f.value = [
|
|
1113
1113
|
{
|
|
1114
1114
|
type: "searchInput",
|
|
@@ -1123,7 +1123,7 @@ const fa = (n, e) => {
|
|
|
1123
1123
|
},
|
|
1124
1124
|
{
|
|
1125
1125
|
type: "select",
|
|
1126
|
-
label:
|
|
1126
|
+
label: B("供应商类型").value,
|
|
1127
1127
|
layout: "out",
|
|
1128
1128
|
width: "200px",
|
|
1129
1129
|
closable: !0,
|
|
@@ -1136,24 +1136,24 @@ const fa = (n, e) => {
|
|
|
1136
1136
|
}
|
|
1137
1137
|
];
|
|
1138
1138
|
}, T = async () => {
|
|
1139
|
-
const
|
|
1139
|
+
const O = {
|
|
1140
1140
|
name: "",
|
|
1141
1141
|
published: 1
|
|
1142
|
-
}, [Q,
|
|
1143
|
-
Q || (f.value[1].options =
|
|
1142
|
+
}, [Q, q] = await Wt(O).run();
|
|
1143
|
+
Q || (f.value[1].options = q);
|
|
1144
1144
|
}, R = () => {
|
|
1145
1145
|
var Q;
|
|
1146
|
-
|
|
1147
|
-
let
|
|
1148
|
-
|
|
1146
|
+
C.value = "", g.value = !0;
|
|
1147
|
+
let O = c[i];
|
|
1148
|
+
o.value.content.selectListProps.data = (Q = y == null ? void 0 : y.value) == null ? void 0 : Q.map((q) => ({ name: q == null ? void 0 : q.label, [O]: q == null ? void 0 : q.value }));
|
|
1149
1149
|
};
|
|
1150
1150
|
b();
|
|
1151
1151
|
const J = async () => {
|
|
1152
|
-
var
|
|
1153
|
-
|
|
1154
|
-
...(Q = (
|
|
1152
|
+
var O, Q, q, M, K, $, L, oe, Ne, Le, ze, Me, Te, Re, Pe, $e, Ee;
|
|
1153
|
+
o.value.content.params = {
|
|
1154
|
+
...(Q = (O = o == null ? void 0 : o.value) == null ? void 0 : O.content) == null ? void 0 : Q.params,
|
|
1155
1155
|
pageIndex: 1
|
|
1156
|
-
}, (i === "user" || i === "org" || i === "post" || i === "role" || i === "job") && (
|
|
1156
|
+
}, (i === "user" || i === "org" || i === "post" || i === "role" || i === "job") && (o.value.content.params.name = (q = f == null ? void 0 : f.value[0]) == null ? void 0 : q.value), i === "source" && (o.value.content.params.key = (M = f == null ? void 0 : f.value[0]) == null ? void 0 : M.value), i === "supplier" && (o.value.content.params.querys = [
|
|
1157
1157
|
{
|
|
1158
1158
|
property: "orgId",
|
|
1159
1159
|
value: s,
|
|
@@ -1161,125 +1161,125 @@ const fa = (n, e) => {
|
|
|
1161
1161
|
relation: "AND",
|
|
1162
1162
|
operation: "EQUAL"
|
|
1163
1163
|
}
|
|
1164
|
-
], (
|
|
1164
|
+
], (K = f == null ? void 0 : f.value[0]) != null && K.value && (o.value.content.params.querys = (ze = (oe = (L = ($ = o == null ? void 0 : o.value) == null ? void 0 : $.content) == null ? void 0 : L.params) == null ? void 0 : oe.querys) == null ? void 0 : ze.concat([
|
|
1165
1165
|
{
|
|
1166
1166
|
property: "name",
|
|
1167
|
-
value: (
|
|
1167
|
+
value: (Ne = f == null ? void 0 : f.value[0]) == null ? void 0 : Ne.value,
|
|
1168
1168
|
group: "merge",
|
|
1169
1169
|
relation: "OR",
|
|
1170
1170
|
operation: "LIKE"
|
|
1171
1171
|
},
|
|
1172
1172
|
{
|
|
1173
1173
|
property: "code",
|
|
1174
|
-
value: (
|
|
1174
|
+
value: (Le = f == null ? void 0 : f.value[0]) == null ? void 0 : Le.value,
|
|
1175
1175
|
group: "merge",
|
|
1176
1176
|
relation: "OR",
|
|
1177
1177
|
operation: "LIKE"
|
|
1178
1178
|
}
|
|
1179
|
-
])), (
|
|
1179
|
+
])), (Me = f == null ? void 0 : f.value[1]) != null && Me.value && (o.value.content.params.querys = (Ee = (Pe = (Re = (Te = o == null ? void 0 : o.value) == null ? void 0 : Te.content) == null ? void 0 : Re.params) == null ? void 0 : Pe.querys) == null ? void 0 : Ee.concat([
|
|
1180
1180
|
{
|
|
1181
1181
|
property: "classificationId",
|
|
1182
|
-
value: (
|
|
1182
|
+
value: ($e = f == null ? void 0 : f.value[1]) == null ? void 0 : $e.value,
|
|
1183
1183
|
group: "quick",
|
|
1184
1184
|
relation: "AND",
|
|
1185
1185
|
operation: "EQUAL"
|
|
1186
1186
|
}
|
|
1187
1187
|
])));
|
|
1188
1188
|
};
|
|
1189
|
-
|
|
1189
|
+
N(
|
|
1190
1190
|
() => g == null ? void 0 : g.value,
|
|
1191
|
-
(
|
|
1192
|
-
|
|
1191
|
+
(O) => {
|
|
1192
|
+
O || P();
|
|
1193
1193
|
}
|
|
1194
1194
|
);
|
|
1195
|
-
const
|
|
1195
|
+
const P = async () => {
|
|
1196
1196
|
i === "supplier" ? (f.value[0].value = "", f.value[1].value = void 0) : (i === "org" || i === "user" || i === "source" || i === "post" || i === "role" || i === "job") && (f.value[0].value = ""), b();
|
|
1197
1197
|
};
|
|
1198
1198
|
return {
|
|
1199
1199
|
dialogVisible: g,
|
|
1200
1200
|
title: p,
|
|
1201
|
-
searchName:
|
|
1201
|
+
searchName: C,
|
|
1202
1202
|
selectorType: i,
|
|
1203
1203
|
selectOptions: y,
|
|
1204
|
-
tableOptions:
|
|
1204
|
+
tableOptions: o,
|
|
1205
1205
|
userStatusMap: d,
|
|
1206
|
-
roleTypeMap:
|
|
1206
|
+
roleTypeMap: r,
|
|
1207
1207
|
roleStatusMap: _,
|
|
1208
1208
|
openDialog: R,
|
|
1209
|
-
confirm: (
|
|
1210
|
-
var
|
|
1209
|
+
confirm: (O) => {
|
|
1210
|
+
var q;
|
|
1211
1211
|
let Q = c[i];
|
|
1212
|
-
y.value =
|
|
1212
|
+
y.value = O == null ? void 0 : O.map((M) => ({ label: (M == null ? void 0 : M.name) || (M == null ? void 0 : M.code), value: M[Q] })), i === "supplier" && (u.value = (q = O[0]) == null ? void 0 : q.linkmanPhone);
|
|
1213
1213
|
},
|
|
1214
|
-
getDetail: async (
|
|
1215
|
-
if (!
|
|
1216
|
-
const Q =
|
|
1217
|
-
let
|
|
1218
|
-
const
|
|
1214
|
+
getDetail: async (O) => {
|
|
1215
|
+
if (!O) return;
|
|
1216
|
+
const Q = v[i];
|
|
1217
|
+
let q = {};
|
|
1218
|
+
const M = O == null ? void 0 : O.split(",");
|
|
1219
1219
|
if (i === "source") {
|
|
1220
1220
|
y.value = [
|
|
1221
1221
|
{
|
|
1222
|
-
label:
|
|
1223
|
-
value:
|
|
1222
|
+
label: O,
|
|
1223
|
+
value: O
|
|
1224
1224
|
}
|
|
1225
1225
|
];
|
|
1226
1226
|
return;
|
|
1227
|
-
} else i === "user" ?
|
|
1228
|
-
const [
|
|
1229
|
-
|
|
1227
|
+
} else i === "user" ? q.userIds = M : i === "role" ? q.ids = M : i === "supplier" ? q.id = M : q = M;
|
|
1228
|
+
const [K, $] = await Q(q).run();
|
|
1229
|
+
K || (i === "supplier" ? y.value = [
|
|
1230
1230
|
{
|
|
1231
|
-
label: (
|
|
1232
|
-
value:
|
|
1231
|
+
label: ($ == null ? void 0 : $.name) || ($ == null ? void 0 : $.code),
|
|
1232
|
+
value: $ == null ? void 0 : $.id
|
|
1233
1233
|
}
|
|
1234
|
-
] : y.value =
|
|
1234
|
+
] : y.value = $ == null ? void 0 : $.map((L) => ({ label: (L == null ? void 0 : L.name) || (L == null ? void 0 : L.code), value: L == null ? void 0 : L.id })));
|
|
1235
1235
|
},
|
|
1236
1236
|
searchData: J,
|
|
1237
1237
|
searchOptions: f,
|
|
1238
|
-
linkmanPhone:
|
|
1238
|
+
linkmanPhone: u
|
|
1239
1239
|
};
|
|
1240
|
-
},
|
|
1241
|
-
const n =
|
|
1240
|
+
}, Sa = () => {
|
|
1241
|
+
const n = l(""), e = l(""), t = l([]), s = l("");
|
|
1242
1242
|
return {
|
|
1243
1243
|
spacePath: n,
|
|
1244
1244
|
spaceName: e,
|
|
1245
1245
|
spaceTreeData: t,
|
|
1246
1246
|
searchSpace: s,
|
|
1247
|
-
changeSpace: (
|
|
1247
|
+
changeSpace: (u, h) => {
|
|
1248
1248
|
n.value = h[0].path, e.value = h[0].pathName;
|
|
1249
1249
|
},
|
|
1250
|
-
spaceLoad: async (
|
|
1250
|
+
spaceLoad: async (u) => {
|
|
1251
1251
|
let h = {
|
|
1252
1252
|
pageSize: 1e4,
|
|
1253
1253
|
pageIndex: 1,
|
|
1254
|
-
projectId:
|
|
1254
|
+
projectId: Ke().id,
|
|
1255
1255
|
//项目id
|
|
1256
1256
|
spaceId: ""
|
|
1257
1257
|
// orgId:getProjectInfo().id
|
|
1258
1258
|
};
|
|
1259
|
-
h.spaceId =
|
|
1260
|
-
let
|
|
1261
|
-
const [c, d] = await
|
|
1259
|
+
h.spaceId = u != null && u.id ? u.id : "";
|
|
1260
|
+
let m = Ut;
|
|
1261
|
+
const [c, d] = await m(h).run();
|
|
1262
1262
|
return c ? {} : d;
|
|
1263
1263
|
},
|
|
1264
|
-
filterSpaceTree: async (
|
|
1265
|
-
if (!
|
|
1264
|
+
filterSpaceTree: async (u) => {
|
|
1265
|
+
if (!u) return [];
|
|
1266
1266
|
let h = Yt;
|
|
1267
|
-
const
|
|
1268
|
-
name:
|
|
1269
|
-
}, [c, d] = await h(
|
|
1270
|
-
return c ? {} : (d.forEach((
|
|
1271
|
-
|
|
1267
|
+
const m = {
|
|
1268
|
+
name: u
|
|
1269
|
+
}, [c, d] = await h(m).run();
|
|
1270
|
+
return c ? {} : (d.forEach((r) => {
|
|
1271
|
+
r.path.startsWith("/0") && (r.path = r.path.slice(2) + `/${r.id}`), r._name = r.nodeName ? r.nodeName : r.name;
|
|
1272
1272
|
}), d);
|
|
1273
1273
|
},
|
|
1274
|
-
getSpaceDetail: async (
|
|
1275
|
-
const [h,
|
|
1276
|
-
h || (n.value =
|
|
1274
|
+
getSpaceDetail: async (u) => {
|
|
1275
|
+
const [h, m] = await xt().run({ spaceId: u });
|
|
1276
|
+
h || (n.value = m.path);
|
|
1277
1277
|
}
|
|
1278
1278
|
};
|
|
1279
|
-
},
|
|
1279
|
+
}, Na = { class: "table-search-process-top" }, La = {
|
|
1280
1280
|
name: "selector"
|
|
1281
|
-
},
|
|
1282
|
-
...
|
|
1281
|
+
}, za = /* @__PURE__ */ j({
|
|
1282
|
+
...La,
|
|
1283
1283
|
props: {
|
|
1284
1284
|
setting: { default: () => ({
|
|
1285
1285
|
icon: "",
|
|
@@ -1294,88 +1294,88 @@ const fa = (n, e) => {
|
|
|
1294
1294
|
store: {}
|
|
1295
1295
|
},
|
|
1296
1296
|
setup(n) {
|
|
1297
|
-
const e = n, { showData: t, setData: s, getData: g, flowKey: i, setFormRule: y, deleteRule:
|
|
1298
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1297
|
+
const e = n, { showData: t, setData: s, getData: g, flowKey: i, setFormRule: y, deleteRule: C, disabledData: u } = e.store || {}, h = l(!0);
|
|
1298
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
1299
1299
|
() => t.value,
|
|
1300
1300
|
() => {
|
|
1301
|
-
h.value = t.value[e.setting.name], h.value || (c.value = "",
|
|
1301
|
+
h.value = t.value[e.setting.name], h.value || (c.value = "", o.value = [], C(e.setting.name)), h.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
1302
1302
|
},
|
|
1303
1303
|
{ deep: !0 }
|
|
1304
1304
|
);
|
|
1305
|
-
const
|
|
1305
|
+
const m = u.value[e.setting.name] || !1, c = l(""), {
|
|
1306
1306
|
dialogVisible: d,
|
|
1307
|
-
title:
|
|
1307
|
+
title: r,
|
|
1308
1308
|
searchName: _,
|
|
1309
|
-
tableOptions:
|
|
1309
|
+
tableOptions: v,
|
|
1310
1310
|
selectorType: p,
|
|
1311
|
-
selectOptions:
|
|
1311
|
+
selectOptions: o,
|
|
1312
1312
|
userStatusMap: f,
|
|
1313
1313
|
roleTypeMap: b,
|
|
1314
1314
|
roleStatusMap: w,
|
|
1315
|
-
openDialog:
|
|
1315
|
+
openDialog: k,
|
|
1316
1316
|
confirm: T,
|
|
1317
1317
|
getDetail: R,
|
|
1318
1318
|
searchData: J,
|
|
1319
|
-
searchOptions:
|
|
1319
|
+
searchOptions: P,
|
|
1320
1320
|
linkmanPhone: Y
|
|
1321
|
-
} =
|
|
1322
|
-
H(e.setting.options.validateList).then((
|
|
1323
|
-
Q.value =
|
|
1321
|
+
} = ka(e.setting, i, c), { spacePath: W, spaceName: ue, searchSpace: ne, changeSpace: pe, spaceLoad: de, filterSpaceTree: ce, getSpaceDetail: O } = Sa(), Q = l(!1);
|
|
1322
|
+
H(e.setting.options.validateList).then((M) => {
|
|
1323
|
+
Q.value = M;
|
|
1324
1324
|
});
|
|
1325
|
-
const
|
|
1326
|
-
return e.setting.options.tip && (
|
|
1327
|
-
s(e.setting.name,
|
|
1328
|
-
}),
|
|
1329
|
-
s(e.setting.options.selector.type.positionName,
|
|
1330
|
-
})) : p == "supplier" ? (c.value = g(e.setting.name) ? [g(e.setting.name)] : [c.value], c.value && R(g(e.setting.name)),
|
|
1331
|
-
s(e.setting.name,
|
|
1332
|
-
}),
|
|
1333
|
-
var
|
|
1334
|
-
((
|
|
1335
|
-
})) : (c.value = g(e.setting.name) ? g(e.setting.name) : c.value, c.value && R(c.value), c.value.length || s(e.setting.name, null),
|
|
1336
|
-
c.value =
|
|
1337
|
-
})), (
|
|
1325
|
+
const q = l();
|
|
1326
|
+
return e.setting.options.tip && (q.value = x(e.setting.options.tip)), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), p == "position" ? (c.value = g(e.setting.name) ? g(e.setting.name) : c.value, c.value && O(c.value), c.value || s(e.setting.name, null), N(c, (M) => {
|
|
1327
|
+
s(e.setting.name, M);
|
|
1328
|
+
}), N(ue, (M) => {
|
|
1329
|
+
s(e.setting.options.selector.type.positionName, M);
|
|
1330
|
+
})) : p == "supplier" ? (c.value = g(e.setting.name) ? [g(e.setting.name)] : [c.value], c.value && R(g(e.setting.name)), N(c, (M) => {
|
|
1331
|
+
s(e.setting.name, M == null ? void 0 : M.toString());
|
|
1332
|
+
}), N(Y, (M) => {
|
|
1333
|
+
var K, $, L, oe;
|
|
1334
|
+
((oe = (L = ($ = (K = e == null ? void 0 : e.setting) == null ? void 0 : K.options) == null ? void 0 : $.selector) == null ? void 0 : L.type) == null ? void 0 : oe.supplierPhone) !== void 0 && s(e.setting.options.selector.type.supplierPhone, M);
|
|
1335
|
+
})) : (c.value = g(e.setting.name) ? g(e.setting.name) : c.value, c.value && R(c.value), c.value.length || s(e.setting.name, null), N(o, (M) => {
|
|
1336
|
+
c.value = M.map((K) => K.value).toString(), s(e.setting.name, c.value);
|
|
1337
|
+
})), (M, K) => (D(), U(
|
|
1338
1338
|
G,
|
|
1339
1339
|
null,
|
|
1340
1340
|
[
|
|
1341
|
-
h.value && a(p) != "position" ? (
|
|
1341
|
+
h.value && a(p) != "position" ? (D(), F(a(A), {
|
|
1342
1342
|
key: 0,
|
|
1343
1343
|
col: e.span,
|
|
1344
1344
|
modelValue: c.value,
|
|
1345
|
-
"onUpdate:modelValue":
|
|
1345
|
+
"onUpdate:modelValue": K[1] || (K[1] = ($) => c.value = $),
|
|
1346
1346
|
prop: e.setting.name,
|
|
1347
|
-
label:
|
|
1347
|
+
label: M.setting.desc,
|
|
1348
1348
|
type: "inputDialogSelect",
|
|
1349
|
-
options: a(
|
|
1350
|
-
helpMessage:
|
|
1349
|
+
options: a(o),
|
|
1350
|
+
helpMessage: q.value,
|
|
1351
1351
|
isView: e.isView,
|
|
1352
|
-
disabled: a(
|
|
1352
|
+
disabled: a(m),
|
|
1353
1353
|
required: Q.value,
|
|
1354
|
-
placeholder:
|
|
1355
|
-
onOpenDialog: a(
|
|
1354
|
+
placeholder: M.setting.options.placeholder,
|
|
1355
|
+
onOpenDialog: a(k)
|
|
1356
1356
|
}, {
|
|
1357
|
-
default:
|
|
1358
|
-
var
|
|
1357
|
+
default: z(() => {
|
|
1358
|
+
var $;
|
|
1359
1359
|
return [
|
|
1360
|
-
|
|
1360
|
+
S(a(Vt), {
|
|
1361
1361
|
"append-to-body": "",
|
|
1362
1362
|
modelValue: a(d),
|
|
1363
|
-
"onUpdate:modelValue":
|
|
1364
|
-
options: a(
|
|
1363
|
+
"onUpdate:modelValue": K[0] || (K[0] = (L) => he(d) ? d.value = L : null),
|
|
1364
|
+
options: a(v),
|
|
1365
1365
|
onConfirm: a(T),
|
|
1366
|
-
title: a(
|
|
1366
|
+
title: a(r),
|
|
1367
1367
|
"body-style": { padding: "0px" }
|
|
1368
1368
|
}, dt({
|
|
1369
1369
|
_: 2
|
|
1370
1370
|
/* DYNAMIC */
|
|
1371
1371
|
}, [
|
|
1372
|
-
((
|
|
1372
|
+
(($ = a(P)) == null ? void 0 : $.length) > 0 ? {
|
|
1373
1373
|
name: "table-header-search",
|
|
1374
|
-
fn:
|
|
1375
|
-
|
|
1376
|
-
|
|
1374
|
+
fn: z(() => [
|
|
1375
|
+
qe("div", Na, [
|
|
1376
|
+
S(a(Ct), {
|
|
1377
1377
|
labelLength: "6",
|
|
1378
|
-
options: a(
|
|
1378
|
+
options: a(P),
|
|
1379
1379
|
onConfirm: a(J),
|
|
1380
1380
|
"is-margin-right": !1
|
|
1381
1381
|
}, null, 8, ["options", "onConfirm"])
|
|
@@ -1385,28 +1385,28 @@ const fa = (n, e) => {
|
|
|
1385
1385
|
} : void 0,
|
|
1386
1386
|
a(p) === "user" ? {
|
|
1387
1387
|
name: "table-column",
|
|
1388
|
-
fn:
|
|
1389
|
-
|
|
1390
|
-
label: a(
|
|
1388
|
+
fn: z(() => [
|
|
1389
|
+
S(a(E), {
|
|
1390
|
+
label: a(V)("姓名"),
|
|
1391
1391
|
prop: "name"
|
|
1392
1392
|
}, null, 8, ["label"]),
|
|
1393
|
-
|
|
1394
|
-
label: a(
|
|
1393
|
+
S(a(E), {
|
|
1394
|
+
label: a(V)("账号"),
|
|
1395
1395
|
prop: "userName"
|
|
1396
1396
|
}, null, 8, ["label"]),
|
|
1397
|
-
|
|
1398
|
-
label: a(
|
|
1397
|
+
S(a(E), {
|
|
1398
|
+
label: a(V)("手机号"),
|
|
1399
1399
|
prop: "sensitivePhone"
|
|
1400
1400
|
}, {
|
|
1401
|
-
default:
|
|
1402
|
-
|
|
1401
|
+
default: z(({ row: L }) => [
|
|
1402
|
+
S(a(De), {
|
|
1403
1403
|
placement: "top",
|
|
1404
|
-
content:
|
|
1405
|
-
disabled: !
|
|
1404
|
+
content: L.phone,
|
|
1405
|
+
disabled: !L.phone
|
|
1406
1406
|
}, {
|
|
1407
|
-
default:
|
|
1407
|
+
default: z(() => [
|
|
1408
1408
|
ee(
|
|
1409
|
-
te(
|
|
1409
|
+
te(L.sensitivePhone || "-"),
|
|
1410
1410
|
1
|
|
1411
1411
|
/* TEXT */
|
|
1412
1412
|
)
|
|
@@ -1418,12 +1418,12 @@ const fa = (n, e) => {
|
|
|
1418
1418
|
_: 1
|
|
1419
1419
|
/* STABLE */
|
|
1420
1420
|
}, 8, ["label"]),
|
|
1421
|
-
|
|
1422
|
-
label: a(
|
|
1421
|
+
S(a(E), {
|
|
1422
|
+
label: a(V)("状态")
|
|
1423
1423
|
}, {
|
|
1424
|
-
default:
|
|
1424
|
+
default: z(({ row: L }) => [
|
|
1425
1425
|
ee(
|
|
1426
|
-
te(a(f)[
|
|
1426
|
+
te(a(f)[L.status]),
|
|
1427
1427
|
1
|
|
1428
1428
|
/* TEXT */
|
|
1429
1429
|
)
|
|
@@ -1436,17 +1436,17 @@ const fa = (n, e) => {
|
|
|
1436
1436
|
} : void 0,
|
|
1437
1437
|
a(p) === "org" ? {
|
|
1438
1438
|
name: "table-column",
|
|
1439
|
-
fn:
|
|
1440
|
-
|
|
1441
|
-
label: a(
|
|
1439
|
+
fn: z(() => [
|
|
1440
|
+
S(a(E), {
|
|
1441
|
+
label: a(V)("组织名称"),
|
|
1442
1442
|
prop: "name"
|
|
1443
1443
|
}, null, 8, ["label"]),
|
|
1444
|
-
|
|
1445
|
-
label: a(
|
|
1444
|
+
S(a(E), {
|
|
1445
|
+
label: a(V)("组织编码"),
|
|
1446
1446
|
prop: "code"
|
|
1447
1447
|
}, null, 8, ["label"]),
|
|
1448
|
-
|
|
1449
|
-
label: a(
|
|
1448
|
+
S(a(E), {
|
|
1449
|
+
label: a(V)("组织类型"),
|
|
1450
1450
|
prop: "typeName"
|
|
1451
1451
|
}, null, 8, ["label"])
|
|
1452
1452
|
]),
|
|
@@ -1454,17 +1454,17 @@ const fa = (n, e) => {
|
|
|
1454
1454
|
} : void 0,
|
|
1455
1455
|
a(p) === "role" ? {
|
|
1456
1456
|
name: "table-column",
|
|
1457
|
-
fn:
|
|
1458
|
-
|
|
1459
|
-
label: a(
|
|
1457
|
+
fn: z(() => [
|
|
1458
|
+
S(a(E), {
|
|
1459
|
+
label: a(V)("角色名称"),
|
|
1460
1460
|
prop: "name"
|
|
1461
1461
|
}, null, 8, ["label"]),
|
|
1462
|
-
|
|
1463
|
-
label: a(
|
|
1462
|
+
S(a(E), {
|
|
1463
|
+
label: a(V)("角色类型")
|
|
1464
1464
|
}, {
|
|
1465
|
-
default:
|
|
1465
|
+
default: z(({ row: L }) => [
|
|
1466
1466
|
ee(
|
|
1467
|
-
te(a(b)[
|
|
1467
|
+
te(a(b)[L.type]),
|
|
1468
1468
|
1
|
|
1469
1469
|
/* TEXT */
|
|
1470
1470
|
)
|
|
@@ -1472,12 +1472,12 @@ const fa = (n, e) => {
|
|
|
1472
1472
|
_: 1
|
|
1473
1473
|
/* STABLE */
|
|
1474
1474
|
}, 8, ["label"]),
|
|
1475
|
-
|
|
1476
|
-
label: a(
|
|
1475
|
+
S(a(E), {
|
|
1476
|
+
label: a(V)("角色状态")
|
|
1477
1477
|
}, {
|
|
1478
|
-
default:
|
|
1478
|
+
default: z(({ row: L }) => [
|
|
1479
1479
|
ee(
|
|
1480
|
-
te(a(w)[
|
|
1480
|
+
te(a(w)[L.status]),
|
|
1481
1481
|
1
|
|
1482
1482
|
/* TEXT */
|
|
1483
1483
|
)
|
|
@@ -1490,17 +1490,17 @@ const fa = (n, e) => {
|
|
|
1490
1490
|
} : void 0,
|
|
1491
1491
|
a(p) === "job" ? {
|
|
1492
1492
|
name: "table-column",
|
|
1493
|
-
fn:
|
|
1494
|
-
|
|
1495
|
-
label: a(
|
|
1493
|
+
fn: z(() => [
|
|
1494
|
+
S(a(E), {
|
|
1495
|
+
label: a(V)("职务名称"),
|
|
1496
1496
|
prop: "name"
|
|
1497
1497
|
}, null, 8, ["label"]),
|
|
1498
|
-
|
|
1499
|
-
label: a(
|
|
1498
|
+
S(a(E), {
|
|
1499
|
+
label: a(V)("职务编码"),
|
|
1500
1500
|
prop: "code"
|
|
1501
1501
|
}, null, 8, ["label"]),
|
|
1502
|
-
|
|
1503
|
-
label: a(
|
|
1502
|
+
S(a(E), {
|
|
1503
|
+
label: a(V)("所属组织路径"),
|
|
1504
1504
|
prop: "groupName"
|
|
1505
1505
|
}, null, 8, ["label"])
|
|
1506
1506
|
]),
|
|
@@ -1508,17 +1508,17 @@ const fa = (n, e) => {
|
|
|
1508
1508
|
} : void 0,
|
|
1509
1509
|
a(p) === "post" ? {
|
|
1510
1510
|
name: "table-column",
|
|
1511
|
-
fn:
|
|
1512
|
-
|
|
1513
|
-
label: a(
|
|
1511
|
+
fn: z(() => [
|
|
1512
|
+
S(a(E), {
|
|
1513
|
+
label: a(V)("岗位名称"),
|
|
1514
1514
|
prop: "name"
|
|
1515
1515
|
}, null, 8, ["label"]),
|
|
1516
|
-
|
|
1517
|
-
label: a(
|
|
1516
|
+
S(a(E), {
|
|
1517
|
+
label: a(V)("岗位编码"),
|
|
1518
1518
|
prop: "code"
|
|
1519
1519
|
}, null, 8, ["label"]),
|
|
1520
|
-
|
|
1521
|
-
label: a(
|
|
1520
|
+
S(a(E), {
|
|
1521
|
+
label: a(V)("所属组织路径"),
|
|
1522
1522
|
prop: "groupName"
|
|
1523
1523
|
}, null, 8, ["label"])
|
|
1524
1524
|
]),
|
|
@@ -1526,42 +1526,42 @@ const fa = (n, e) => {
|
|
|
1526
1526
|
} : void 0,
|
|
1527
1527
|
a(p) === "supplier" ? {
|
|
1528
1528
|
name: "table-column",
|
|
1529
|
-
fn:
|
|
1530
|
-
|
|
1529
|
+
fn: z(() => [
|
|
1530
|
+
S(a(E), {
|
|
1531
1531
|
type: "index",
|
|
1532
1532
|
width: "50"
|
|
1533
1533
|
}),
|
|
1534
|
-
|
|
1535
|
-
label: a(
|
|
1534
|
+
S(a(E), {
|
|
1535
|
+
label: a(V)("供应商名称"),
|
|
1536
1536
|
prop: "name"
|
|
1537
1537
|
}, null, 8, ["label"]),
|
|
1538
|
-
|
|
1539
|
-
label: a(
|
|
1538
|
+
S(a(E), {
|
|
1539
|
+
label: a(V)("供应商编码"),
|
|
1540
1540
|
prop: "code"
|
|
1541
1541
|
}, null, 8, ["label"]),
|
|
1542
|
-
|
|
1543
|
-
label: a(
|
|
1542
|
+
S(a(E), {
|
|
1543
|
+
label: a(V)("供应商等级"),
|
|
1544
1544
|
prop: "supplierLevel"
|
|
1545
1545
|
}, null, 8, ["label"]),
|
|
1546
|
-
|
|
1547
|
-
label: a(
|
|
1546
|
+
S(a(E), {
|
|
1547
|
+
label: a(V)("供应商分类"),
|
|
1548
1548
|
prop: "classificationName"
|
|
1549
1549
|
}, {
|
|
1550
|
-
default:
|
|
1551
|
-
|
|
1550
|
+
default: z(() => [
|
|
1551
|
+
I(` <template #default="{row}">\r
|
|
1552
1552
|
{{ getSupplierName(row) }}\r
|
|
1553
1553
|
</template> `)
|
|
1554
1554
|
]),
|
|
1555
1555
|
_: 1
|
|
1556
1556
|
/* STABLE */
|
|
1557
1557
|
}, 8, ["label"]),
|
|
1558
|
-
|
|
1559
|
-
label: a(
|
|
1558
|
+
S(a(E), {
|
|
1559
|
+
label: a(V)("个人/公司"),
|
|
1560
1560
|
prop: "businessType"
|
|
1561
1561
|
}, {
|
|
1562
|
-
default:
|
|
1562
|
+
default: z(({ row: L }) => [
|
|
1563
1563
|
ee(
|
|
1564
|
-
te(
|
|
1564
|
+
te(L.businessType == "COMPANY" ? a(V)("公司") : a(V)("个人")),
|
|
1565
1565
|
1
|
|
1566
1566
|
/* TEXT */
|
|
1567
1567
|
)
|
|
@@ -1574,32 +1574,32 @@ const fa = (n, e) => {
|
|
|
1574
1574
|
} : void 0,
|
|
1575
1575
|
a(p) === "source" ? {
|
|
1576
1576
|
name: "table-column",
|
|
1577
|
-
fn:
|
|
1578
|
-
|
|
1577
|
+
fn: z(() => [
|
|
1578
|
+
S(a(E), {
|
|
1579
1579
|
type: "index",
|
|
1580
1580
|
width: "50"
|
|
1581
1581
|
}),
|
|
1582
|
-
|
|
1583
|
-
label: a(
|
|
1582
|
+
S(a(E), {
|
|
1583
|
+
label: a(V)("单据编码"),
|
|
1584
1584
|
prop: "code"
|
|
1585
1585
|
}, null, 8, ["label"]),
|
|
1586
|
-
|
|
1587
|
-
label: a(
|
|
1586
|
+
S(a(E), {
|
|
1587
|
+
label: a(V)("申请人"),
|
|
1588
1588
|
prop: "userName"
|
|
1589
1589
|
}, null, 8, ["label"]),
|
|
1590
|
-
|
|
1591
|
-
label: a(
|
|
1590
|
+
S(a(E), {
|
|
1591
|
+
label: a(V)("联系电话"),
|
|
1592
1592
|
prop: "sensitivePhone"
|
|
1593
1593
|
}, {
|
|
1594
|
-
default:
|
|
1595
|
-
|
|
1594
|
+
default: z(({ row: L }) => [
|
|
1595
|
+
S(a(De), {
|
|
1596
1596
|
placement: "top",
|
|
1597
|
-
content:
|
|
1598
|
-
disabled: !
|
|
1597
|
+
content: L.phone,
|
|
1598
|
+
disabled: !L.phone
|
|
1599
1599
|
}, {
|
|
1600
|
-
default:
|
|
1600
|
+
default: z(() => [
|
|
1601
1601
|
ee(
|
|
1602
|
-
te(
|
|
1602
|
+
te(L.sensitivePhone || "-"),
|
|
1603
1603
|
1
|
|
1604
1604
|
/* TEXT */
|
|
1605
1605
|
)
|
|
@@ -1611,13 +1611,13 @@ const fa = (n, e) => {
|
|
|
1611
1611
|
_: 1
|
|
1612
1612
|
/* STABLE */
|
|
1613
1613
|
}, 8, ["label"]),
|
|
1614
|
-
|
|
1615
|
-
label: a(
|
|
1614
|
+
S(a(E), {
|
|
1615
|
+
label: a(V)("计划领用日期"),
|
|
1616
1616
|
prop: "claimingDate"
|
|
1617
1617
|
}, {
|
|
1618
|
-
default:
|
|
1618
|
+
default: z(({ row: L }) => [
|
|
1619
1619
|
ee(
|
|
1620
|
-
te(
|
|
1620
|
+
te(L.claimingDate ? a(ve)(Number(L == null ? void 0 : L.claimingDate)).format("YYYY/MM/DD") : "-"),
|
|
1621
1621
|
1
|
|
1622
1622
|
/* TEXT */
|
|
1623
1623
|
)
|
|
@@ -1625,8 +1625,8 @@ const fa = (n, e) => {
|
|
|
1625
1625
|
_: 1
|
|
1626
1626
|
/* STABLE */
|
|
1627
1627
|
}, 8, ["label"]),
|
|
1628
|
-
|
|
1629
|
-
label: a(
|
|
1628
|
+
S(a(E), {
|
|
1629
|
+
label: a(V)("资产用途"),
|
|
1630
1630
|
prop: "purpose"
|
|
1631
1631
|
}, null, 8, ["label"])
|
|
1632
1632
|
]),
|
|
@@ -1637,26 +1637,26 @@ const fa = (n, e) => {
|
|
|
1637
1637
|
}),
|
|
1638
1638
|
_: 1
|
|
1639
1639
|
/* STABLE */
|
|
1640
|
-
}, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "placeholder", "onOpenDialog"])) :
|
|
1641
|
-
h.value && a(p) == "position" ? (
|
|
1640
|
+
}, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "placeholder", "onOpenDialog"])) : I("v-if", !0),
|
|
1641
|
+
h.value && a(p) == "position" ? (D(), F(a(A), {
|
|
1642
1642
|
key: 1,
|
|
1643
1643
|
col: e.span,
|
|
1644
|
-
label:
|
|
1644
|
+
label: M.setting.desc,
|
|
1645
1645
|
prop: e.setting.name,
|
|
1646
1646
|
type: "treeSelect",
|
|
1647
1647
|
"node-key": "id",
|
|
1648
1648
|
showFullPath: !0,
|
|
1649
|
-
helpMessage:
|
|
1650
|
-
placeholder:
|
|
1649
|
+
helpMessage: q.value,
|
|
1650
|
+
placeholder: M.setting.options.placeholder,
|
|
1651
1651
|
required: Q.value,
|
|
1652
1652
|
modelValue: c.value,
|
|
1653
|
-
"onUpdate:modelValue":
|
|
1653
|
+
"onUpdate:modelValue": K[2] || (K[2] = ($) => c.value = $),
|
|
1654
1654
|
keyword: a(ne),
|
|
1655
|
-
"onUpdate:keyword":
|
|
1655
|
+
"onUpdate:keyword": K[3] || (K[3] = ($) => he(ne) ? ne.value = $ : null),
|
|
1656
1656
|
path: a(W),
|
|
1657
|
-
"onUpdate:path":
|
|
1657
|
+
"onUpdate:path": K[4] || (K[4] = ($) => he(W) ? W.value = $ : null),
|
|
1658
1658
|
isView: e.isView,
|
|
1659
|
-
disabled: a(
|
|
1659
|
+
disabled: a(m),
|
|
1660
1660
|
load: a(de),
|
|
1661
1661
|
search: a(ce),
|
|
1662
1662
|
props: {
|
|
@@ -1664,25 +1664,25 @@ const fa = (n, e) => {
|
|
|
1664
1664
|
label: "name"
|
|
1665
1665
|
},
|
|
1666
1666
|
onChange: a(pe)
|
|
1667
|
-
}, null, 8, ["col", "label", "prop", "helpMessage", "placeholder", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange"])) :
|
|
1667
|
+
}, null, 8, ["col", "label", "prop", "helpMessage", "placeholder", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange"])) : I("v-if", !0)
|
|
1668
1668
|
],
|
|
1669
1669
|
64
|
|
1670
1670
|
/* STABLE_FRAGMENT */
|
|
1671
1671
|
));
|
|
1672
1672
|
}
|
|
1673
|
-
}),
|
|
1673
|
+
}), Ma = /* @__PURE__ */ fe(za, [["__scopeId", "data-v-a1e1fa30"]]), at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1674
1674
|
__proto__: null,
|
|
1675
|
-
default:
|
|
1675
|
+
default: Ma
|
|
1676
1676
|
}, Symbol.toStringTag, { value: "Module" })), Ta = {
|
|
1677
1677
|
key: 0,
|
|
1678
1678
|
class: "form-image"
|
|
1679
1679
|
}, Ra = {
|
|
1680
1680
|
key: 1,
|
|
1681
1681
|
style: { "margin-bottom": "10px" }
|
|
1682
|
-
},
|
|
1682
|
+
}, Pa = {
|
|
1683
1683
|
name: "soundRecording"
|
|
1684
|
-
},
|
|
1685
|
-
|
|
1684
|
+
}, $a = /* @__PURE__ */ j({
|
|
1685
|
+
...Pa,
|
|
1686
1686
|
props: {
|
|
1687
1687
|
setting: { default: () => ({
|
|
1688
1688
|
icon: "",
|
|
@@ -1697,58 +1697,58 @@ const fa = (n, e) => {
|
|
|
1697
1697
|
store: {}
|
|
1698
1698
|
},
|
|
1699
1699
|
setup(n) {
|
|
1700
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule:
|
|
1701
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1700
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
|
|
1701
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
1702
1702
|
() => t.value,
|
|
1703
1703
|
() => {
|
|
1704
|
-
|
|
1704
|
+
u.value = t.value[e.setting.name], u.value || (r.value = "", C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
1705
1705
|
},
|
|
1706
1706
|
{ deep: !0 }
|
|
1707
1707
|
), s.value[e.setting.name];
|
|
1708
|
-
const { baseURL: h } =
|
|
1708
|
+
const { baseURL: h } = Dt(), m = l(!1);
|
|
1709
1709
|
H(e.setting.options.validateList).then((_) => {
|
|
1710
|
-
|
|
1710
|
+
m.value = _;
|
|
1711
1711
|
});
|
|
1712
|
-
const c =
|
|
1712
|
+
const c = l("info"), d = l();
|
|
1713
1713
|
e.setting.options.tip && (d.value = x(e.setting.options.tip));
|
|
1714
|
-
const
|
|
1714
|
+
const r = l();
|
|
1715
1715
|
if (i(e.setting.name)) {
|
|
1716
1716
|
const _ = JSON.parse(i(e.setting.name));
|
|
1717
|
-
|
|
1717
|
+
r.value = h + _[0].url;
|
|
1718
1718
|
}
|
|
1719
|
-
return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), (_,
|
|
1719
|
+
return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), (_, v) => e.isView && u.value ? (D(), F(a(A), {
|
|
1720
1720
|
key: 0,
|
|
1721
|
-
modelValue:
|
|
1722
|
-
"onUpdate:modelValue":
|
|
1721
|
+
modelValue: r.value,
|
|
1722
|
+
"onUpdate:modelValue": v[2] || (v[2] = (p) => r.value = p),
|
|
1723
1723
|
"margin-bottom": "0",
|
|
1724
1724
|
prop: e.setting.name,
|
|
1725
1725
|
label: _.setting.desc,
|
|
1726
1726
|
type: "custom",
|
|
1727
1727
|
helpMessage: d.value,
|
|
1728
|
-
required:
|
|
1728
|
+
required: m.value
|
|
1729
1729
|
}, {
|
|
1730
|
-
default:
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
modelValue:
|
|
1734
|
-
"onUpdate:modelValue":
|
|
1730
|
+
default: z(() => [
|
|
1731
|
+
r.value ? (D(), U("div", Ta, [
|
|
1732
|
+
S(a(Be), {
|
|
1733
|
+
modelValue: r.value,
|
|
1734
|
+
"onUpdate:modelValue": v[0] || (v[0] = (p) => r.value = p),
|
|
1735
1735
|
status: c.value,
|
|
1736
|
-
"onUpdate:status":
|
|
1737
|
-
required:
|
|
1736
|
+
"onUpdate:status": v[1] || (v[1] = (p) => c.value = p),
|
|
1737
|
+
required: m.value
|
|
1738
1738
|
}, null, 8, ["modelValue", "status", "required"])
|
|
1739
|
-
])) : (
|
|
1739
|
+
])) : (D(), U("div", Ra, "-"))
|
|
1740
1740
|
]),
|
|
1741
1741
|
_: 1
|
|
1742
1742
|
/* STABLE */
|
|
1743
|
-
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) :
|
|
1743
|
+
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) : I("v-if", !0);
|
|
1744
1744
|
}
|
|
1745
|
-
}),
|
|
1745
|
+
}), Ea = /* @__PURE__ */ fe($a, [["__scopeId", "data-v-c408712c"]]), nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1746
1746
|
__proto__: null,
|
|
1747
|
-
default:
|
|
1748
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1747
|
+
default: Ea
|
|
1748
|
+
}, Symbol.toStringTag, { value: "Module" })), Fa = {
|
|
1749
1749
|
name: "switch"
|
|
1750
|
-
},
|
|
1751
|
-
...
|
|
1750
|
+
}, Ia = /* @__PURE__ */ j({
|
|
1751
|
+
...Fa,
|
|
1752
1752
|
props: {
|
|
1753
1753
|
setting: { default: () => ({
|
|
1754
1754
|
icon: "",
|
|
@@ -1763,50 +1763,50 @@ const fa = (n, e) => {
|
|
|
1763
1763
|
store: {}
|
|
1764
1764
|
},
|
|
1765
1765
|
setup(n) {
|
|
1766
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule:
|
|
1767
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1766
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
|
|
1767
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
1768
1768
|
() => t.value,
|
|
1769
1769
|
() => {
|
|
1770
|
-
|
|
1770
|
+
u.value = t.value[e.setting.name], u.value || (d.value = null, C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
1771
1771
|
},
|
|
1772
1772
|
{ deep: !0 }
|
|
1773
1773
|
);
|
|
1774
|
-
const h = s.value[e.setting.name] || !1,
|
|
1775
|
-
H(e.setting.options.validateList).then((
|
|
1776
|
-
|
|
1774
|
+
const h = s.value[e.setting.name] || !1, m = l(!1);
|
|
1775
|
+
H(e.setting.options.validateList).then((r) => {
|
|
1776
|
+
m.value = r;
|
|
1777
1777
|
});
|
|
1778
|
-
const c =
|
|
1778
|
+
const c = l();
|
|
1779
1779
|
e.setting.options.tip && (c.value = x(e.setting.options.tip));
|
|
1780
|
-
const d =
|
|
1780
|
+
const d = l();
|
|
1781
1781
|
return setTimeout(() => {
|
|
1782
1782
|
d.value = i(e.setting.name) || e.setting.options.formulasDiyJs || d.value, d.value || g(e.setting.name, null);
|
|
1783
|
-
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList),
|
|
1784
|
-
g(e.setting.name,
|
|
1785
|
-
}), (
|
|
1783
|
+
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(d, (r) => {
|
|
1784
|
+
g(e.setting.name, r);
|
|
1785
|
+
}), (r, _) => u.value ? (D(), F(a(A), {
|
|
1786
1786
|
key: 0,
|
|
1787
1787
|
col: e.span,
|
|
1788
1788
|
modelValue: d.value,
|
|
1789
|
-
"onUpdate:modelValue": _[0] || (_[0] = (
|
|
1790
|
-
label:
|
|
1789
|
+
"onUpdate:modelValue": _[0] || (_[0] = (v) => d.value = v),
|
|
1790
|
+
label: r.setting.desc,
|
|
1791
1791
|
type: "switch",
|
|
1792
1792
|
prop: e.setting.name,
|
|
1793
|
-
activeValue:
|
|
1794
|
-
inactiveValue:
|
|
1795
|
-
activeText:
|
|
1796
|
-
inactiveText:
|
|
1793
|
+
activeValue: r.setting.options.activeValue,
|
|
1794
|
+
inactiveValue: r.setting.options.inactiveValue,
|
|
1795
|
+
activeText: r.setting.options.activeText,
|
|
1796
|
+
inactiveText: r.setting.options.inactiveText,
|
|
1797
1797
|
helpMessage: c.value,
|
|
1798
1798
|
disabled: a(h),
|
|
1799
|
-
required:
|
|
1799
|
+
required: m.value,
|
|
1800
1800
|
isView: e.isView
|
|
1801
|
-
}, null, 8, ["col", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "disabled", "required", "isView"])) :
|
|
1801
|
+
}, null, 8, ["col", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "disabled", "required", "isView"])) : I("v-if", !0);
|
|
1802
1802
|
}
|
|
1803
1803
|
}), st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1804
1804
|
__proto__: null,
|
|
1805
|
-
default:
|
|
1806
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1805
|
+
default: Ia
|
|
1806
|
+
}, Symbol.toStringTag, { value: "Module" })), Oa = {
|
|
1807
1807
|
name: "text"
|
|
1808
|
-
},
|
|
1809
|
-
...
|
|
1808
|
+
}, qa = /* @__PURE__ */ j({
|
|
1809
|
+
...Oa,
|
|
1810
1810
|
props: {
|
|
1811
1811
|
setting: { default: () => ({
|
|
1812
1812
|
icon: "",
|
|
@@ -1821,46 +1821,46 @@ const fa = (n, e) => {
|
|
|
1821
1821
|
store: {}
|
|
1822
1822
|
},
|
|
1823
1823
|
setup(n) {
|
|
1824
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule:
|
|
1825
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1824
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
|
|
1825
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
1826
1826
|
() => t.value,
|
|
1827
1827
|
() => {
|
|
1828
|
-
|
|
1828
|
+
u.value = t.value[e.setting.name], u.value || (m.value = null, C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
1829
1829
|
},
|
|
1830
1830
|
{ deep: !0 }
|
|
1831
1831
|
);
|
|
1832
|
-
const h =
|
|
1832
|
+
const h = l();
|
|
1833
1833
|
e.setting.options.tip && (h.value = x(e.setting.options.tip));
|
|
1834
|
-
const
|
|
1835
|
-
return
|
|
1834
|
+
const m = l();
|
|
1835
|
+
return m.value = e.setting.options.textValue, m.value = i(e.setting.name) || m.value, m.value || g(e.setting.name, null), N(m, (c) => {
|
|
1836
1836
|
g(e.setting.name, c);
|
|
1837
|
-
}), (c, d) =>
|
|
1837
|
+
}), (c, d) => u.value ? (D(), F(a(A), {
|
|
1838
1838
|
key: 0,
|
|
1839
1839
|
col: e.span,
|
|
1840
|
-
modelValue:
|
|
1841
|
-
"onUpdate:modelValue": d[1] || (d[1] = (
|
|
1840
|
+
modelValue: m.value,
|
|
1841
|
+
"onUpdate:modelValue": d[1] || (d[1] = (r) => m.value = r),
|
|
1842
1842
|
label: c.setting.desc,
|
|
1843
1843
|
type: "custom",
|
|
1844
1844
|
helpMessage: h.value
|
|
1845
1845
|
}, {
|
|
1846
|
-
default:
|
|
1847
|
-
|
|
1846
|
+
default: z(() => [
|
|
1847
|
+
S(a(je), {
|
|
1848
1848
|
type: "text",
|
|
1849
|
-
modelValue:
|
|
1850
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
1849
|
+
modelValue: m.value,
|
|
1850
|
+
"onUpdate:modelValue": d[0] || (d[0] = (r) => m.value = r)
|
|
1851
1851
|
}, null, 8, ["modelValue"])
|
|
1852
1852
|
]),
|
|
1853
1853
|
_: 1
|
|
1854
1854
|
/* STABLE */
|
|
1855
|
-
}, 8, ["col", "modelValue", "label", "helpMessage"])) :
|
|
1855
|
+
}, 8, ["col", "modelValue", "label", "helpMessage"])) : I("v-if", !0);
|
|
1856
1856
|
}
|
|
1857
|
-
}),
|
|
1857
|
+
}), ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1858
1858
|
__proto__: null,
|
|
1859
|
-
default:
|
|
1860
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1859
|
+
default: qa
|
|
1860
|
+
}, Symbol.toStringTag, { value: "Module" })), Ba = {
|
|
1861
1861
|
name: "textarea"
|
|
1862
|
-
},
|
|
1863
|
-
...
|
|
1862
|
+
}, Ka = /* @__PURE__ */ j({
|
|
1863
|
+
...Ba,
|
|
1864
1864
|
props: {
|
|
1865
1865
|
setting: { default: () => ({
|
|
1866
1866
|
icon: "",
|
|
@@ -1875,41 +1875,41 @@ const fa = (n, e) => {
|
|
|
1875
1875
|
store: {}
|
|
1876
1876
|
},
|
|
1877
1877
|
setup(n) {
|
|
1878
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule:
|
|
1879
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1878
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
|
|
1879
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
1880
1880
|
() => t.value,
|
|
1881
1881
|
() => {
|
|
1882
|
-
|
|
1882
|
+
u.value = t.value[e.setting.name], u.value || (d.value = "", C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
1883
1883
|
},
|
|
1884
1884
|
{ deep: !0 }
|
|
1885
1885
|
);
|
|
1886
|
-
const h = s.value[e.setting.name] || !1,
|
|
1887
|
-
H(e.setting.options.validateList).then((
|
|
1888
|
-
|
|
1886
|
+
const h = s.value[e.setting.name] || !1, m = l(!1);
|
|
1887
|
+
H(e.setting.options.validateList).then((v) => {
|
|
1888
|
+
m.value = v;
|
|
1889
1889
|
});
|
|
1890
|
-
const c =
|
|
1890
|
+
const c = l();
|
|
1891
1891
|
e.setting.options.tip && (c.value = x(e.setting.options.tip));
|
|
1892
|
-
const d =
|
|
1892
|
+
const d = l("");
|
|
1893
1893
|
setTimeout(() => {
|
|
1894
1894
|
d.value = i(e.setting.name) || e.setting.options.formulasDiyJs || d.value, d.value || g(e.setting.name, null);
|
|
1895
1895
|
}, 50);
|
|
1896
|
-
const
|
|
1897
|
-
return
|
|
1898
|
-
g(e.setting.name,
|
|
1899
|
-
}), (
|
|
1896
|
+
const r = l(), _ = l();
|
|
1897
|
+
return r.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", _.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(d, (v) => {
|
|
1898
|
+
g(e.setting.name, v);
|
|
1899
|
+
}), (v, p) => (D(), U(
|
|
1900
1900
|
G,
|
|
1901
1901
|
null,
|
|
1902
1902
|
[
|
|
1903
|
-
!
|
|
1903
|
+
!v.setting.options.isEditor && u.value ? (D(), F(a(A), {
|
|
1904
1904
|
key: 0,
|
|
1905
1905
|
col: e.span,
|
|
1906
|
-
label:
|
|
1906
|
+
label: v.setting.desc,
|
|
1907
1907
|
type: "textarea",
|
|
1908
1908
|
modelValue: d.value,
|
|
1909
|
-
"onUpdate:modelValue": p[0] || (p[0] = (
|
|
1909
|
+
"onUpdate:modelValue": p[0] || (p[0] = (o) => d.value = o),
|
|
1910
1910
|
prop: e.setting.name,
|
|
1911
|
-
placeholder:
|
|
1912
|
-
disabled:
|
|
1911
|
+
placeholder: v.setting.options.placeholder,
|
|
1912
|
+
disabled: v.setting.options.isInputEdit || a(h),
|
|
1913
1913
|
isView: e.isView,
|
|
1914
1914
|
autosize: {
|
|
1915
1915
|
minRows: 1,
|
|
@@ -1917,45 +1917,45 @@ const fa = (n, e) => {
|
|
|
1917
1917
|
},
|
|
1918
1918
|
"show-word-limit": "",
|
|
1919
1919
|
helpMessage: c.value,
|
|
1920
|
-
required:
|
|
1921
|
-
}, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) :
|
|
1922
|
-
|
|
1920
|
+
required: m.value
|
|
1921
|
+
}, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) : I("v-if", !0),
|
|
1922
|
+
v.setting.options.isEditor && u.value ? (D(), F(a(A), {
|
|
1923
1923
|
key: 1,
|
|
1924
1924
|
modelValue: d.value,
|
|
1925
|
-
"onUpdate:modelValue": p[2] || (p[2] = (
|
|
1925
|
+
"onUpdate:modelValue": p[2] || (p[2] = (o) => d.value = o),
|
|
1926
1926
|
prop: e.setting.name,
|
|
1927
|
-
contentWidth:
|
|
1928
|
-
label:
|
|
1927
|
+
contentWidth: r.value,
|
|
1928
|
+
label: v.setting.desc,
|
|
1929
1929
|
type: "custom",
|
|
1930
1930
|
helpMessage: c.value,
|
|
1931
|
-
required:
|
|
1931
|
+
required: m.value,
|
|
1932
1932
|
readOnly: e.isView
|
|
1933
1933
|
}, {
|
|
1934
|
-
default:
|
|
1935
|
-
|
|
1934
|
+
default: z(() => [
|
|
1935
|
+
S(a(je), {
|
|
1936
1936
|
ref: "editor",
|
|
1937
|
-
width:
|
|
1937
|
+
width: r.value,
|
|
1938
1938
|
height: _.value,
|
|
1939
1939
|
modelValue: d.value,
|
|
1940
|
-
"onUpdate:modelValue": p[1] || (p[1] = (
|
|
1941
|
-
placeholder:
|
|
1940
|
+
"onUpdate:modelValue": p[1] || (p[1] = (o) => d.value = o),
|
|
1941
|
+
placeholder: v.setting.options.placeholder
|
|
1942
1942
|
}, null, 8, ["width", "height", "modelValue", "placeholder"])
|
|
1943
1943
|
]),
|
|
1944
1944
|
_: 1
|
|
1945
1945
|
/* STABLE */
|
|
1946
|
-
}, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) :
|
|
1946
|
+
}, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) : I("v-if", !0)
|
|
1947
1947
|
],
|
|
1948
1948
|
64
|
|
1949
1949
|
/* STABLE_FRAGMENT */
|
|
1950
1950
|
));
|
|
1951
1951
|
}
|
|
1952
|
-
}),
|
|
1952
|
+
}), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1953
1953
|
__proto__: null,
|
|
1954
|
-
default:
|
|
1955
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1954
|
+
default: Ka
|
|
1955
|
+
}, Symbol.toStringTag, { value: "Module" })), ja = {
|
|
1956
1956
|
name: "time"
|
|
1957
|
-
}, Aa = /* @__PURE__ */
|
|
1958
|
-
...
|
|
1957
|
+
}, Aa = /* @__PURE__ */ j({
|
|
1958
|
+
...ja,
|
|
1959
1959
|
props: {
|
|
1960
1960
|
setting: { default: () => ({
|
|
1961
1961
|
icon: "",
|
|
@@ -1970,44 +1970,44 @@ const fa = (n, e) => {
|
|
|
1970
1970
|
store: {}
|
|
1971
1971
|
},
|
|
1972
1972
|
setup(n) {
|
|
1973
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule:
|
|
1974
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1973
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
|
|
1974
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
1975
1975
|
() => t.value,
|
|
1976
1976
|
() => {
|
|
1977
|
-
|
|
1977
|
+
u.value = t.value[e.setting.name], u.value || (d.value = null, C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
1978
1978
|
},
|
|
1979
1979
|
{ deep: !0 }
|
|
1980
1980
|
);
|
|
1981
|
-
const h = s.value[e.setting.name] || !1,
|
|
1982
|
-
H(e.setting.options.validateList).then((
|
|
1983
|
-
|
|
1981
|
+
const h = s.value[e.setting.name] || !1, m = l(!1);
|
|
1982
|
+
H(e.setting.options.validateList).then((r) => {
|
|
1983
|
+
m.value = r;
|
|
1984
1984
|
});
|
|
1985
|
-
const c =
|
|
1985
|
+
const c = l();
|
|
1986
1986
|
e.setting.options.tip && (c.value = x(e.setting.options.tip));
|
|
1987
|
-
const d =
|
|
1987
|
+
const d = l();
|
|
1988
1988
|
return setTimeout(() => {
|
|
1989
|
-
const
|
|
1990
|
-
i(e.setting.name) && (d.value = i(e.setting.name)), e.setting.options.formulasDiyJs && (d.value =
|
|
1991
|
-
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList),
|
|
1992
|
-
g(e.setting.name,
|
|
1993
|
-
}), (
|
|
1989
|
+
const r = ve().format("YYYY-MM-DD ");
|
|
1990
|
+
i(e.setting.name) && (d.value = i(e.setting.name)), e.setting.options.formulasDiyJs && (d.value = ve(r + e.setting.options.formulasDiyJs)), d.value || g(e.setting.name, null);
|
|
1991
|
+
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(d, (r) => {
|
|
1992
|
+
g(e.setting.name, r);
|
|
1993
|
+
}), (r, _) => u.value ? (D(), F(a(A), {
|
|
1994
1994
|
key: 0,
|
|
1995
1995
|
col: e.span,
|
|
1996
1996
|
modelValue: d.value,
|
|
1997
|
-
"onUpdate:modelValue": _[0] || (_[0] = (
|
|
1997
|
+
"onUpdate:modelValue": _[0] || (_[0] = (v) => d.value = v),
|
|
1998
1998
|
prop: e.setting.name,
|
|
1999
|
-
label:
|
|
1999
|
+
label: r.setting.desc,
|
|
2000
2000
|
type: "time",
|
|
2001
2001
|
helpMessage: c.value,
|
|
2002
2002
|
isView: e.isView,
|
|
2003
|
-
required:
|
|
2003
|
+
required: m.value,
|
|
2004
2004
|
disabled: a(h)
|
|
2005
|
-
}, null, 8, ["col", "modelValue", "prop", "label", "helpMessage", "isView", "required", "disabled"])) :
|
|
2005
|
+
}, null, 8, ["col", "modelValue", "prop", "label", "helpMessage", "isView", "required", "disabled"])) : I("v-if", !0);
|
|
2006
2006
|
}
|
|
2007
2007
|
}), it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2008
2008
|
__proto__: null,
|
|
2009
2009
|
default: Aa
|
|
2010
|
-
}, Symbol.toStringTag, { value: "Module" })), Qa =
|
|
2010
|
+
}, Symbol.toStringTag, { value: "Module" })), Qa = j({
|
|
2011
2011
|
name: "accordion",
|
|
2012
2012
|
props: {
|
|
2013
2013
|
columns: {
|
|
@@ -2024,23 +2024,23 @@ const fa = (n, e) => {
|
|
|
2024
2024
|
}
|
|
2025
2025
|
},
|
|
2026
2026
|
setup(n) {
|
|
2027
|
-
const e =
|
|
2027
|
+
const e = l([]), t = n.columns.map((s) => {
|
|
2028
2028
|
const g = s.list.map(
|
|
2029
|
-
(i) =>
|
|
2029
|
+
(i) => le(re[i.ctrlType], { setting: i, isView: n.isView, store: n.store })
|
|
2030
2030
|
);
|
|
2031
|
-
return s.isOpen == !0 && e.value.push(s.idKey),
|
|
2031
|
+
return s.isOpen == !0 && e.value.push(s.idKey), le(
|
|
2032
2032
|
Qe,
|
|
2033
2033
|
{
|
|
2034
2034
|
header: s.span,
|
|
2035
2035
|
key: `${s.idKey}`
|
|
2036
2036
|
},
|
|
2037
|
-
|
|
2037
|
+
le("div", g)
|
|
2038
2038
|
);
|
|
2039
2039
|
});
|
|
2040
|
-
return () =>
|
|
2040
|
+
return () => le(
|
|
2041
2041
|
"div",
|
|
2042
2042
|
{ class: "accordion-layout" },
|
|
2043
|
-
|
|
2043
|
+
le(
|
|
2044
2044
|
Ae,
|
|
2045
2045
|
{ activeKey: e.value, collapsible: n.options.accordion ? "" : "disabled" },
|
|
2046
2046
|
t
|
|
@@ -2049,7 +2049,7 @@ const fa = (n, e) => {
|
|
|
2049
2049
|
}
|
|
2050
2050
|
}), Ua = {
|
|
2051
2051
|
name: "accordion"
|
|
2052
|
-
}, Ya = /* @__PURE__ */
|
|
2052
|
+
}, Ya = /* @__PURE__ */ j({
|
|
2053
2053
|
...Ua,
|
|
2054
2054
|
props: {
|
|
2055
2055
|
setting: { default: () => ({
|
|
@@ -2078,7 +2078,7 @@ const fa = (n, e) => {
|
|
|
2078
2078
|
store: {}
|
|
2079
2079
|
},
|
|
2080
2080
|
setup(n) {
|
|
2081
|
-
return (e, t) => (
|
|
2081
|
+
return (e, t) => (D(), F(a(Qa), {
|
|
2082
2082
|
columns: e.setting.columns,
|
|
2083
2083
|
options: e.setting.options,
|
|
2084
2084
|
isView: e.isView,
|
|
@@ -2091,7 +2091,7 @@ const fa = (n, e) => {
|
|
|
2091
2091
|
default: Ya
|
|
2092
2092
|
}, Symbol.toStringTag, { value: "Module" })), Ja = {
|
|
2093
2093
|
name: "grid"
|
|
2094
|
-
}, Ha = /* @__PURE__ */
|
|
2094
|
+
}, Ha = /* @__PURE__ */ j({
|
|
2095
2095
|
...Ja,
|
|
2096
2096
|
props: {
|
|
2097
2097
|
setting: { default: () => ({
|
|
@@ -2118,23 +2118,23 @@ const fa = (n, e) => {
|
|
|
2118
2118
|
},
|
|
2119
2119
|
setup(n) {
|
|
2120
2120
|
const e = n;
|
|
2121
|
-
return (t, s) => (
|
|
2121
|
+
return (t, s) => (D(), U(
|
|
2122
2122
|
G,
|
|
2123
2123
|
null,
|
|
2124
2124
|
[
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
(
|
|
2125
|
+
I(' <GridLayout :columns="setting.columns" :isView="props.isView" :store="store"></GridLayout> '),
|
|
2126
|
+
I(' <div style="display: flex; flex-direction: row; flex-wrap: wrap; width: 100%"> '),
|
|
2127
|
+
(D(!0), U(
|
|
2128
2128
|
G,
|
|
2129
2129
|
null,
|
|
2130
|
-
ie(t.setting.columns, (g) => (
|
|
2130
|
+
ie(t.setting.columns, (g) => (D(), U(
|
|
2131
2131
|
G,
|
|
2132
2132
|
null,
|
|
2133
2133
|
[
|
|
2134
|
-
(
|
|
2134
|
+
(D(!0), U(
|
|
2135
2135
|
G,
|
|
2136
2136
|
null,
|
|
2137
|
-
ie(g.list, (i) => (
|
|
2137
|
+
ie(g.list, (i) => (D(), F(ge(a(Ga)[i.ctrlType]), {
|
|
2138
2138
|
setting: i,
|
|
2139
2139
|
isView: e.isView,
|
|
2140
2140
|
store: t.store,
|
|
@@ -2150,7 +2150,7 @@ const fa = (n, e) => {
|
|
|
2150
2150
|
256
|
|
2151
2151
|
/* UNKEYED_FRAGMENT */
|
|
2152
2152
|
)),
|
|
2153
|
-
|
|
2153
|
+
I(" </div> ")
|
|
2154
2154
|
],
|
|
2155
2155
|
2112
|
|
2156
2156
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
@@ -2159,59 +2159,59 @@ const fa = (n, e) => {
|
|
|
2159
2159
|
}), Wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2160
2160
|
__proto__: null,
|
|
2161
2161
|
default: Ha
|
|
2162
|
-
}, Symbol.toStringTag, { value: "Module" })), _e = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ye, "./base/autocomplete.vue": xe, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue":
|
|
2163
|
-
Object.keys(we).map((n) =>
|
|
2164
|
-
Object.keys(
|
|
2165
|
-
Object.keys(
|
|
2166
|
-
Object.keys(_e).map((n) =>
|
|
2167
|
-
const Ga = { ...
|
|
2168
|
-
(!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${
|
|
2162
|
+
}, Symbol.toStringTag, { value: "Module" })), _e = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ye, "./base/autocomplete.vue": xe, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue": ot, "./base/textarea.vue": lt, "./base/time.vue": it, "./layout/accordion/accordion.vue": xa, "./layout/grid/gridLayout.vue": Wa }), we = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ye, "./base/autocomplete.vue": xe, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue": ot, "./base/textarea.vue": lt, "./base/time.vue": it }), Ce = /* @__PURE__ */ Object.assign({}), Ve = /* @__PURE__ */ Object.assign({}), re = {}, rt = {}, ut = {}, Za = {};
|
|
2163
|
+
Object.keys(we).map((n) => rt[we[n].default.name] = we[n].default);
|
|
2164
|
+
Object.keys(Ce).map((n) => ut[Ce[n].default.name] = Ce[n].default);
|
|
2165
|
+
Object.keys(Ve).map((n) => Za[Ve[n].default.name] = Ve[n].default);
|
|
2166
|
+
Object.keys(_e).map((n) => re[_e[n].default.name] = _e[n].default);
|
|
2167
|
+
const Ga = { ...rt, ...ut }, Xa = (n, e, t, s) => {
|
|
2168
|
+
(!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${V("*必填")}`)) : t();
|
|
2169
2169
|
}, en = (n, e, t, s) => {
|
|
2170
|
-
e !== "" && e.length > parseInt(s.value) ? t(new Error(`${s.name}${
|
|
2170
|
+
e !== "" && e.length > parseInt(s.value) ? t(new Error(`${s.name}${V("不能超过")}${s.value}`)) : t();
|
|
2171
2171
|
}, tn = (n, e, t, s) => {
|
|
2172
|
-
e !== "" && e.length < parseInt(s.value) ? t(new Error(`${s.name}${
|
|
2172
|
+
e !== "" && e.length < parseInt(s.value) ? t(new Error(`${s.name}${V("不能少于")}${s.value}`)) : t();
|
|
2173
2173
|
}, an = (n, e, t, s) => {
|
|
2174
2174
|
if (e !== "" && !/^1[3456789]\d{9}$/.test(e))
|
|
2175
|
-
return t(new Error(
|
|
2175
|
+
return t(new Error(V("手机号码格式不正确,请重新输入"))), !1;
|
|
2176
2176
|
t();
|
|
2177
2177
|
}, nn = (n, e, t) => {
|
|
2178
2178
|
if (e !== "" && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e))
|
|
2179
|
-
return t(new Error(
|
|
2179
|
+
return t(new Error(V("电子邮箱格式不正确,请重新输入"))), !1;
|
|
2180
2180
|
t();
|
|
2181
2181
|
}, sn = (n, e, t) => {
|
|
2182
2182
|
if (e !== "" && !/^-?\d+$/.test(e))
|
|
2183
|
-
return t(new Error(
|
|
2183
|
+
return t(new Error(V("请输入整数"))), !1;
|
|
2184
2184
|
t();
|
|
2185
|
-
},
|
|
2185
|
+
}, on = (n, e, t, s) => {
|
|
2186
2186
|
if (e !== "" && e != s.value)
|
|
2187
|
-
return t(new Error(
|
|
2187
|
+
return t(new Error(V("请输入相同的值"))), !1;
|
|
2188
2188
|
t();
|
|
2189
|
-
},
|
|
2190
|
-
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(s.value) ? t(new Error(`${s.name}${
|
|
2191
|
-
}, un = (n, e, t, s) => {
|
|
2192
|
-
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(s.value) ? t(new Error(`${s.name}${D("不能大于")}${s.value}`)) : t() : t(new Error(D("请输入数字")));
|
|
2189
|
+
}, ln = (n, e, t, s) => {
|
|
2190
|
+
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(s.value) ? t(new Error(`${s.name}${V("不能小于")}${s.value}`)) : t() : t(new Error(V("请输入数字")));
|
|
2193
2191
|
}, rn = (n, e, t, s) => {
|
|
2192
|
+
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(s.value) ? t(new Error(`${s.name}${V("不能大于")}${s.value}`)) : t() : t(new Error(V("请输入数字")));
|
|
2193
|
+
}, un = (n, e, t, s) => {
|
|
2194
2194
|
const g = /^[+-]?(\d*\.\d+([eE]?[+-]?\d+)?|\d+[eE][+-]?\d+)$/, i = /^-?\d+$/;
|
|
2195
|
-
e === "" ? t() : g.test(e) || i.test(e) ? e >= parseFloat(s.start) && e <= parseFloat(s.end) ? t() : t(new Error(`${
|
|
2195
|
+
e === "" ? t() : g.test(e) || i.test(e) ? e >= parseFloat(s.start) && e <= parseFloat(s.end) ? t() : t(new Error(`${V("只能输入指定数字范围")}${s.start}-${s.end}`)) : t(new Error(V("请输入数字")));
|
|
2196
2196
|
}, pn = (n, e, t, s) => {
|
|
2197
|
-
e === "" || parseFloat(e) === parseFloat(s.value) ? t() : t(new Error(`${
|
|
2197
|
+
e === "" || parseFloat(e) === parseFloat(s.value) ? t() : t(new Error(`${V("只能输入指定的值")}${s.value}`));
|
|
2198
2198
|
}, dn = (n, e, t, s) => {
|
|
2199
|
-
e === "" ? t() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(s.value) ? t() : t(new Error(`${
|
|
2199
|
+
e === "" ? t() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(s.value) ? t() : t(new Error(`${V("只能输入")}${s.value}${V("位数数字")}`)) : t(new Error(V("请输入整数")));
|
|
2200
2200
|
}, cn = (n, e, t) => {
|
|
2201
2201
|
if (e !== "" && !/^[a-zA-Z]{1,}$/.test(e))
|
|
2202
|
-
return t(new Error(
|
|
2202
|
+
return t(new Error(V("只能输入字母"))), !1;
|
|
2203
2203
|
t();
|
|
2204
2204
|
}, gn = (n, e, t) => {
|
|
2205
2205
|
if (e !== "" && !/^[a-zA-Z ]{1,}$/.test(e))
|
|
2206
|
-
return t(new Error(
|
|
2206
|
+
return t(new Error(V("只能输入字母空格"))), !1;
|
|
2207
2207
|
t();
|
|
2208
|
-
},
|
|
2208
|
+
}, mn = (n, e, t) => {
|
|
2209
2209
|
if (e !== "" && !/^[0-9a-zA-Z_-]{1,}$/.test(e))
|
|
2210
|
-
return t(new Error(
|
|
2210
|
+
return t(new Error(V("只能输入字母数字横线下划线"))), !1;
|
|
2211
2211
|
t();
|
|
2212
|
-
},
|
|
2212
|
+
}, vn = (n, e, t) => {
|
|
2213
2213
|
if (e !== "" && !/^[0-9a-zA-Z]{1,}$/.test(e))
|
|
2214
|
-
return t(new Error(
|
|
2214
|
+
return t(new Error(V("只能输入字母数字"))), !1;
|
|
2215
2215
|
t();
|
|
2216
2216
|
}, fn = (n, e, t, s) => {
|
|
2217
2217
|
const g = new RegExp(s.value);
|
|
@@ -2223,33 +2223,33 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2223
2223
|
min: tn,
|
|
2224
2224
|
max: en,
|
|
2225
2225
|
email: nn,
|
|
2226
|
-
min_value:
|
|
2227
|
-
max_value:
|
|
2228
|
-
confirmed:
|
|
2226
|
+
min_value: ln,
|
|
2227
|
+
max_value: rn,
|
|
2228
|
+
confirmed: on,
|
|
2229
2229
|
numeric: sn,
|
|
2230
|
-
between:
|
|
2230
|
+
between: un,
|
|
2231
2231
|
is: pn,
|
|
2232
2232
|
digits: dn,
|
|
2233
2233
|
mobile: an,
|
|
2234
2234
|
alpha: cn,
|
|
2235
2235
|
alpha_spaces: gn,
|
|
2236
|
-
alpha_dash:
|
|
2237
|
-
alpha_num:
|
|
2236
|
+
alpha_dash: mn,
|
|
2237
|
+
alpha_num: vn,
|
|
2238
2238
|
regex: fn
|
|
2239
2239
|
}, yn = () => {
|
|
2240
|
-
const n =
|
|
2240
|
+
const n = l({}), e = l([]), t = l({}), s = l({}), g = l([]), i = l(""), y = l(""), C = l({}), u = l([]), h = l({});
|
|
2241
2241
|
return {
|
|
2242
2242
|
data: n,
|
|
2243
2243
|
formData: e,
|
|
2244
|
-
formRule:
|
|
2244
|
+
formRule: C,
|
|
2245
2245
|
showData: t,
|
|
2246
2246
|
disabledData: s,
|
|
2247
2247
|
flowKey: i,
|
|
2248
2248
|
linkData: h,
|
|
2249
|
-
encryptionData:
|
|
2249
|
+
encryptionData: u,
|
|
2250
2250
|
setData: (b, w) => {
|
|
2251
|
-
e.value.forEach((
|
|
2252
|
-
|
|
2251
|
+
e.value.forEach((k) => {
|
|
2252
|
+
k.formKey === y.value && (k.data[b] = w);
|
|
2253
2253
|
});
|
|
2254
2254
|
},
|
|
2255
2255
|
setDetailData: (b) => {
|
|
@@ -2261,29 +2261,29 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2261
2261
|
h.value = { data: b, val: w };
|
|
2262
2262
|
},
|
|
2263
2263
|
getData: (b) => n.value[b],
|
|
2264
|
-
setFormData: (b, w,
|
|
2264
|
+
setFormData: (b, w, k) => {
|
|
2265
2265
|
y.value = b, g.value.includes(b) ? e.value.forEach((T) => {
|
|
2266
2266
|
T.formKey === b && (n.value = T.data);
|
|
2267
2267
|
}) : (g.value.push(b), e.value.push({
|
|
2268
2268
|
formKey: b,
|
|
2269
2269
|
boKey: w,
|
|
2270
|
-
reportId:
|
|
2270
|
+
reportId: k || null,
|
|
2271
2271
|
data: {}
|
|
2272
2272
|
}));
|
|
2273
2273
|
},
|
|
2274
2274
|
getFormData: () => e.value,
|
|
2275
2275
|
setFormRule: (b, w) => {
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
validator: (T, R, J) => hn[
|
|
2276
|
+
C.value[b] = [], w && w.length && w.forEach((k) => {
|
|
2277
|
+
C.value[b].push({
|
|
2278
|
+
validator: (T, R, J) => hn[k.key](T, R, J, k)
|
|
2279
2279
|
});
|
|
2280
2280
|
});
|
|
2281
2281
|
},
|
|
2282
2282
|
clearData: () => {
|
|
2283
|
-
n.value = {}, e.value = [], g.value = [],
|
|
2283
|
+
n.value = {}, e.value = [], g.value = [], C.value = {};
|
|
2284
2284
|
},
|
|
2285
2285
|
deleteRule: (b) => {
|
|
2286
|
-
delete
|
|
2286
|
+
delete C.value[b];
|
|
2287
2287
|
}
|
|
2288
2288
|
};
|
|
2289
2289
|
}, bn = { class: "custom-page" }, _n = {
|
|
@@ -2292,7 +2292,7 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2292
2292
|
}, wn = {
|
|
2293
2293
|
key: 1,
|
|
2294
2294
|
style: { "background-color": "#fff" }
|
|
2295
|
-
},
|
|
2295
|
+
}, Cn = /* @__PURE__ */ j({
|
|
2296
2296
|
__name: "App",
|
|
2297
2297
|
props: {
|
|
2298
2298
|
formConfigurationId: {},
|
|
@@ -2306,58 +2306,58 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2306
2306
|
},
|
|
2307
2307
|
emits: ["handleClick", "change"],
|
|
2308
2308
|
setup(n, { expose: e, emit: t }) {
|
|
2309
|
-
const s = yn(), { formRule: g, data: i, flowKey: y, clearData:
|
|
2309
|
+
const s = yn(), { formRule: g, data: i, flowKey: y, clearData: C, getFormData: u } = s, h = n, m = t;
|
|
2310
2310
|
y.value = h.flowKey;
|
|
2311
2311
|
const c = (R) => R === "accordion";
|
|
2312
|
-
|
|
2312
|
+
N(
|
|
2313
2313
|
() => i.value,
|
|
2314
2314
|
(R) => {
|
|
2315
|
-
|
|
2315
|
+
m("change", R);
|
|
2316
2316
|
},
|
|
2317
2317
|
{
|
|
2318
2318
|
immediate: !0,
|
|
2319
2319
|
deep: !0
|
|
2320
2320
|
}
|
|
2321
2321
|
);
|
|
2322
|
-
const { formJsonList: d, isShowPage:
|
|
2322
|
+
const { formJsonList: d, isShowPage: r, btnList: _, formRef: v, activityKeys: p, getForm: o, getBtnSet: f, handleClick: b } = Gt(
|
|
2323
2323
|
h,
|
|
2324
|
-
|
|
2324
|
+
m,
|
|
2325
2325
|
s
|
|
2326
|
-
), w =
|
|
2327
|
-
const { key:
|
|
2328
|
-
w.value[
|
|
2326
|
+
), w = l({}), k = (R, J) => {
|
|
2327
|
+
const { key: P } = J;
|
|
2328
|
+
w.value[P] || (w.value[P] = R);
|
|
2329
2329
|
}, T = () => new Promise((R, J) => {
|
|
2330
|
-
let
|
|
2330
|
+
let P = !0;
|
|
2331
2331
|
for (const Y in w.value)
|
|
2332
2332
|
w.value[Y].validate((W) => {
|
|
2333
|
-
W == !1 && (
|
|
2333
|
+
W == !1 && (P = !1);
|
|
2334
2334
|
});
|
|
2335
2335
|
setTimeout(() => {
|
|
2336
2336
|
R({
|
|
2337
|
-
result:
|
|
2338
|
-
data:
|
|
2337
|
+
result: P,
|
|
2338
|
+
data: u()
|
|
2339
2339
|
});
|
|
2340
2340
|
}, 50);
|
|
2341
2341
|
});
|
|
2342
2342
|
return ct(async () => {
|
|
2343
|
-
h.isShowBtn == !1 ?
|
|
2343
|
+
h.isShowBtn == !1 ? o(h.formConfigurationId) : f();
|
|
2344
2344
|
}), e({
|
|
2345
2345
|
validateFormData: T,
|
|
2346
|
-
clearData:
|
|
2347
|
-
}), (R, J) => (
|
|
2348
|
-
a(_).length > 0 ? (
|
|
2349
|
-
(
|
|
2346
|
+
clearData: C
|
|
2347
|
+
}), (R, J) => (D(), U("div", bn, [
|
|
2348
|
+
a(_).length > 0 ? (D(), U("div", _n, [
|
|
2349
|
+
(D(!0), U(
|
|
2350
2350
|
G,
|
|
2351
2351
|
null,
|
|
2352
|
-
ie(a(_), (
|
|
2353
|
-
key:
|
|
2352
|
+
ie(a(_), (P) => (D(), F(a(ft), {
|
|
2353
|
+
key: P.id,
|
|
2354
2354
|
style: { "margin-right": "20px" },
|
|
2355
2355
|
"btn-type": "primary",
|
|
2356
|
-
onClick: (Y) => a(b)(
|
|
2356
|
+
onClick: (Y) => a(b)(P)
|
|
2357
2357
|
}, {
|
|
2358
|
-
default:
|
|
2358
|
+
default: z(() => [
|
|
2359
2359
|
ee(
|
|
2360
|
-
te(
|
|
2360
|
+
te(P.name),
|
|
2361
2361
|
1
|
|
2362
2362
|
/* TEXT */
|
|
2363
2363
|
)
|
|
@@ -2368,38 +2368,38 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2368
2368
|
128
|
|
2369
2369
|
/* KEYED_FRAGMENT */
|
|
2370
2370
|
))
|
|
2371
|
-
])) :
|
|
2372
|
-
gt((
|
|
2371
|
+
])) : I("v-if", !0),
|
|
2372
|
+
gt((D(), U(
|
|
2373
2373
|
"div",
|
|
2374
2374
|
{
|
|
2375
2375
|
class: "content-box",
|
|
2376
|
-
style:
|
|
2376
|
+
style: mt({ margin: "0 10px", ...R.customStyle })
|
|
2377
2377
|
},
|
|
2378
2378
|
[
|
|
2379
|
-
(
|
|
2379
|
+
(D(!0), U(
|
|
2380
2380
|
G,
|
|
2381
2381
|
null,
|
|
2382
|
-
ie(a(d), (
|
|
2382
|
+
ie(a(d), (P) => (D(), U(
|
|
2383
2383
|
G,
|
|
2384
2384
|
{
|
|
2385
|
-
key:
|
|
2385
|
+
key: P.name
|
|
2386
2386
|
},
|
|
2387
2387
|
[
|
|
2388
|
-
c(
|
|
2388
|
+
c(P.ctrlType) ? (D(), F(a(Ae), {
|
|
2389
2389
|
key: 0,
|
|
2390
2390
|
style: { "margin-bottom": "10px" },
|
|
2391
|
-
collapsible:
|
|
2391
|
+
collapsible: P.options.accordion ? "" : "disabled",
|
|
2392
2392
|
activeKey: a(p)
|
|
2393
2393
|
}, {
|
|
2394
|
-
default:
|
|
2395
|
-
(
|
|
2396
|
-
key:
|
|
2397
|
-
header:
|
|
2394
|
+
default: z(() => [
|
|
2395
|
+
(D(), F(a(Qe), {
|
|
2396
|
+
key: P.columns[0].idKey,
|
|
2397
|
+
header: P.columns[0].span
|
|
2398
2398
|
}, {
|
|
2399
|
-
default:
|
|
2400
|
-
|
|
2399
|
+
default: z(() => [
|
|
2400
|
+
S(a(Fe), {
|
|
2401
2401
|
ref_for: !0,
|
|
2402
|
-
ref: (Y) =>
|
|
2402
|
+
ref: (Y) => k(Y, P),
|
|
2403
2403
|
cols: 24,
|
|
2404
2404
|
alignType: "horizontal",
|
|
2405
2405
|
"margin-right": "80px",
|
|
@@ -2407,22 +2407,22 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2407
2407
|
rules: a(g),
|
|
2408
2408
|
form: a(s).data
|
|
2409
2409
|
}, {
|
|
2410
|
-
default:
|
|
2411
|
-
(
|
|
2410
|
+
default: z(() => [
|
|
2411
|
+
(D(!0), U(
|
|
2412
2412
|
G,
|
|
2413
2413
|
null,
|
|
2414
|
-
ie(
|
|
2414
|
+
ie(P.columns[0].list, (Y) => (D(), U(
|
|
2415
2415
|
G,
|
|
2416
2416
|
{
|
|
2417
|
-
key:
|
|
2417
|
+
key: P.name
|
|
2418
2418
|
},
|
|
2419
2419
|
[
|
|
2420
|
-
Y.ctrlType == "grid" ? (
|
|
2420
|
+
Y.ctrlType == "grid" ? (D(), F(ge(a(re).grid), {
|
|
2421
2421
|
key: 0,
|
|
2422
2422
|
setting: Y,
|
|
2423
2423
|
isView: h.isView,
|
|
2424
2424
|
store: a(s)
|
|
2425
|
-
}, null, 8, ["setting", "isView", "store"])) : (
|
|
2425
|
+
}, null, 8, ["setting", "isView", "store"])) : (D(), F(ge(a(re)[Y.ctrlType]), {
|
|
2426
2426
|
key: 1,
|
|
2427
2427
|
setting: Y,
|
|
2428
2428
|
isView: h.isView,
|
|
@@ -2446,11 +2446,11 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2446
2446
|
]),
|
|
2447
2447
|
_: 2
|
|
2448
2448
|
/* DYNAMIC */
|
|
2449
|
-
}, 1032, ["collapsible", "activeKey"])) : (
|
|
2450
|
-
a(
|
|
2449
|
+
}, 1032, ["collapsible", "activeKey"])) : (D(), U("div", wn, [
|
|
2450
|
+
a(r) ? (D(), F(a(Fe), {
|
|
2451
2451
|
key: 0,
|
|
2452
2452
|
ref_for: !0,
|
|
2453
|
-
ref: (Y) =>
|
|
2453
|
+
ref: (Y) => k(Y, P),
|
|
2454
2454
|
cols: 24,
|
|
2455
2455
|
"auto-margin-right": "",
|
|
2456
2456
|
alignType: "horizontal",
|
|
@@ -2458,16 +2458,16 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2458
2458
|
rules: a(g),
|
|
2459
2459
|
form: a(s).data
|
|
2460
2460
|
}, {
|
|
2461
|
-
default:
|
|
2462
|
-
(
|
|
2463
|
-
setting:
|
|
2461
|
+
default: z(() => [
|
|
2462
|
+
(D(), F(ge(a(re)[P.ctrlType]), {
|
|
2463
|
+
setting: P,
|
|
2464
2464
|
isView: h.isView,
|
|
2465
2465
|
store: a(s)
|
|
2466
2466
|
}, null, 8, ["setting", "isView", "store"]))
|
|
2467
2467
|
]),
|
|
2468
2468
|
_: 2
|
|
2469
2469
|
/* DYNAMIC */
|
|
2470
|
-
}, 1032, ["rules", "form"])) :
|
|
2470
|
+
}, 1032, ["rules", "form"])) : I("v-if", !0)
|
|
2471
2471
|
]))
|
|
2472
2472
|
],
|
|
2473
2473
|
64
|
|
@@ -2484,99 +2484,118 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2484
2484
|
])
|
|
2485
2485
|
]));
|
|
2486
2486
|
}
|
|
2487
|
-
}),
|
|
2488
|
-
姓名: { "zh-CN": "姓名", en: "Name" },
|
|
2489
|
-
状态: { "zh-CN": "状态", en: "Status" },
|
|
2490
|
-
组织名称: { "zh-CN": "组织名称", en: "Organization
|
|
2491
|
-
组织类型: { "zh-CN": "组织类型", en: "Organization
|
|
2492
|
-
角色名称: { "zh-CN": "角色名称", en: "Role
|
|
2493
|
-
角色类型: { "zh-CN": "角色类型", en: "Role
|
|
2494
|
-
角色状态: { "zh-CN": "角色状态", en: "Role
|
|
2495
|
-
所属组织路径: { "zh-CN": "所属组织路径", en: "Associated
|
|
2496
|
-
岗位名称: { "zh-CN": "岗位名称", en: "Position
|
|
2497
|
-
供应商名称: { "zh-CN": "供应商名称", en: "Supplier
|
|
2498
|
-
供应商编码: { "zh-CN": "供应商编码", en: "Supplier
|
|
2499
|
-
供应商等级: { "zh-CN": "供应商等级", en: "Supplier
|
|
2500
|
-
供应商分类: { "zh-CN": "供应商分类", en: "Supplier
|
|
2501
|
-
个人: { "zh-CN": "个人", en: "Individual" },
|
|
2502
|
-
公司: { "zh-CN": "公司", en: "Company" },
|
|
2503
|
-
单据编码: { "zh-CN": "单据编码", en: "Document
|
|
2504
|
-
联系电话: { "zh-CN": "联系电话", en: "Contact
|
|
2505
|
-
计划领用日期: { "zh-CN": "计划领用日期", en: "Planned
|
|
2506
|
-
资产用途: { "zh-CN": "资产用途", en: "Asset
|
|
2507
|
-
"*必填": { "zh-CN": "*必填", en: "*
|
|
2508
|
-
不能超过: { "zh-CN": "不能超过", en: "Cannot
|
|
2509
|
-
不能少于: { "zh-CN": "不能少于", en: "Cannot be
|
|
2510
|
-
手机号码格式不正确: { "zh-CN": "手机号码格式不正确", en: "Invalid
|
|
2511
|
-
请重新输入: { "zh-CN": "请重新输入", en: "Please
|
|
2512
|
-
电子邮箱格式不正确: { "zh-CN": "电子邮箱格式不正确", en: "Invalid
|
|
2513
|
-
请输入整数: { "zh-CN": "请输入整数", en: "Please
|
|
2514
|
-
请输入相同的值: { "zh-CN": "请输入相同的值", en: "Please
|
|
2515
|
-
不能小于: { "zh-CN": "不能小于", en: "Cannot be
|
|
2516
|
-
请输入数字: { "zh-CN": "请输入数字", en: "Please
|
|
2517
|
-
不能大于: { "zh-CN": "不能大于", en: "Cannot be
|
|
2518
|
-
日期必须晚于: { "zh-CN": "日期必须晚于", en: "Date
|
|
2519
|
-
日期必须早于: { "zh-CN": "日期必须早于", en: "Date
|
|
2520
|
-
日期必须不晚于: { "zh-CN": "日期必须不晚于", en: "Date
|
|
2521
|
-
日期必须不早于: { "zh-CN": "日期必须不早于", en: "Date
|
|
2522
|
-
只能输入指定数字范围: {
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2487
|
+
}), Vn = /* @__PURE__ */ fe(Cn, [["__scopeId", "data-v-9e8a4790"]]), Dn = {
|
|
2488
|
+
姓名: { "zh-CN": "姓名", en: "Name", _appCode: "framework" },
|
|
2489
|
+
状态: { "zh-CN": "状态", en: "Status", _appCode: "framework" },
|
|
2490
|
+
组织名称: { "zh-CN": "组织名称", en: "Organization Name", _appCode: "framework" },
|
|
2491
|
+
组织类型: { "zh-CN": "组织类型", en: "Organization Type", _appCode: "framework" },
|
|
2492
|
+
角色名称: { "zh-CN": "角色名称", en: "Role Name", _appCode: "framework" },
|
|
2493
|
+
角色类型: { "zh-CN": "角色类型", en: "Role Type", _appCode: "framework" },
|
|
2494
|
+
角色状态: { "zh-CN": "角色状态", en: "Role Status", _appCode: "framework" },
|
|
2495
|
+
所属组织路径: { "zh-CN": "所属组织路径", en: "Associated Organization Path", _appCode: "framework" },
|
|
2496
|
+
岗位名称: { "zh-CN": "岗位名称", en: "Position Name", _appCode: "framework" },
|
|
2497
|
+
供应商名称: { "zh-CN": "供应商名称", en: "Supplier Name", _appCode: "framework" },
|
|
2498
|
+
供应商编码: { "zh-CN": "供应商编码", en: "Supplier Code", _appCode: "framework" },
|
|
2499
|
+
供应商等级: { "zh-CN": "供应商等级", en: "Supplier Level", _appCode: "framework" },
|
|
2500
|
+
供应商分类: { "zh-CN": "供应商分类", en: "Supplier Classification", _appCode: "framework" },
|
|
2501
|
+
个人: { "zh-CN": "个人", en: "Individual", _appCode: "framework" },
|
|
2502
|
+
公司: { "zh-CN": "公司", en: "Company", _appCode: "framework" },
|
|
2503
|
+
单据编码: { "zh-CN": "单据编码", en: "Document Code", _appCode: "framework" },
|
|
2504
|
+
联系电话: { "zh-CN": "联系电话", en: "Contact Phone", _appCode: "framework" },
|
|
2505
|
+
计划领用日期: { "zh-CN": "计划领用日期", en: "Planned Usage Date", _appCode: "framework" },
|
|
2506
|
+
资产用途: { "zh-CN": "资产用途", en: "Asset Usage", _appCode: "framework" },
|
|
2507
|
+
"*必填": { "zh-CN": "*必填", en: "*Required", _appCode: "framework" },
|
|
2508
|
+
不能超过: { "zh-CN": "不能超过", en: "Cannot Exceed", _appCode: "framework" },
|
|
2509
|
+
不能少于: { "zh-CN": "不能少于", en: "Cannot be Less Than", _appCode: "framework" },
|
|
2510
|
+
手机号码格式不正确: { "zh-CN": "手机号码格式不正确", en: "Invalid Mobile Number Format", _appCode: "framework" },
|
|
2511
|
+
请重新输入: { "zh-CN": "请重新输入", en: "Please Re-Enter", _appCode: "framework" },
|
|
2512
|
+
电子邮箱格式不正确: { "zh-CN": "电子邮箱格式不正确", en: "Invalid Email Format", _appCode: "framework" },
|
|
2513
|
+
请输入整数: { "zh-CN": "请输入整数", en: "Please Enter an Integer", _appCode: "framework" },
|
|
2514
|
+
请输入相同的值: { "zh-CN": "请输入相同的值", en: "Please Enter the Same Value", _appCode: "framework" },
|
|
2515
|
+
不能小于: { "zh-CN": "不能小于", en: "Cannot be Less Than", _appCode: "framework" },
|
|
2516
|
+
请输入数字: { "zh-CN": "请输入数字", en: "Please Enter a Number", _appCode: "framework" },
|
|
2517
|
+
不能大于: { "zh-CN": "不能大于", en: "Cannot be Greater Than", _appCode: "framework" },
|
|
2518
|
+
日期必须晚于: { "zh-CN": "日期必须晚于", en: "Date Must be Later Than", _appCode: "framework" },
|
|
2519
|
+
日期必须早于: { "zh-CN": "日期必须早于", en: "Date Must be Earlier Than", _appCode: "framework" },
|
|
2520
|
+
日期必须不晚于: { "zh-CN": "日期必须不晚于", en: "Date Must Not be Later Than", _appCode: "framework" },
|
|
2521
|
+
日期必须不早于: { "zh-CN": "日期必须不早于", en: "Date Must Not be Earlier Than", _appCode: "framework" },
|
|
2522
|
+
只能输入指定数字范围: {
|
|
2523
|
+
"zh-CN": "只能输入指定数字范围",
|
|
2524
|
+
en: "Can Only Enter Specified Numeric Range",
|
|
2525
|
+
_appCode: "framework"
|
|
2526
|
+
},
|
|
2527
|
+
只能输入指定的值: { "zh-CN": "只能输入指定的值", en: "Can Only Enter the Specified Value", _appCode: "framework" },
|
|
2528
|
+
只能输入: { "zh-CN": "只能输入", en: "Can Only Enter", _appCode: "framework" },
|
|
2529
|
+
位数数字: { "zh-CN": "位数数字", en: "Digit Numbers", _appCode: "framework" },
|
|
2530
|
+
只能输入字母: { "zh-CN": "只能输入字母", en: "Can Only Enter Letters", _appCode: "framework" },
|
|
2531
|
+
只能输入字母空格: { "zh-CN": "只能输入字母空格", en: "Can Only Enter Letters and Spaces", _appCode: "framework" },
|
|
2528
2532
|
只能输入字母数字横线下划线: {
|
|
2529
2533
|
"zh-CN": "只能输入字母数字横线下划线",
|
|
2530
|
-
en: "Can
|
|
2534
|
+
en: "Can Only Enter Letters, Numbers, Hyphens, Underscores",
|
|
2535
|
+
_appCode: "framework"
|
|
2536
|
+
},
|
|
2537
|
+
只能输入字母数字: { "zh-CN": "只能输入字母数字", en: "Can Only Enter Letters and Numbers", _appCode: "framework" },
|
|
2538
|
+
搜索姓名: { "zh-CN": "搜索姓名", en: "Search Name", _appCode: "framework" },
|
|
2539
|
+
账号: { "zh-CN": "账号", en: "Account", _appCode: "framework" },
|
|
2540
|
+
手机号: { "zh-CN": "手机号", en: "Phone Number", _appCode: "framework" },
|
|
2541
|
+
搜索组织名称: { "zh-CN": "搜索组织名称", en: "Search Organization Name", _appCode: "framework" },
|
|
2542
|
+
组织编码: { "zh-CN": "组织编码", en: "Organization Code", _appCode: "framework" },
|
|
2543
|
+
搜索角色名称: { "zh-CN": "搜索角色名称", en: "Search Role Name", _appCode: "framework" },
|
|
2544
|
+
职务名称: { "zh-CN": "职务名称", en: "Position Name", _appCode: "framework" },
|
|
2545
|
+
职务编码: { "zh-CN": "职务编码", en: "Position Code", _appCode: "framework" },
|
|
2546
|
+
搜索岗位名称: { "zh-CN": "搜索岗位名称", en: "Search Job Title", _appCode: "framework" },
|
|
2547
|
+
岗位编码: { "zh-CN": "岗位编码", en: "Position Code", _appCode: "framework" },
|
|
2548
|
+
搜索供应商编码: { "zh-CN": "搜索供应商编码", en: "Search Supplier Code", _appCode: "framework" },
|
|
2549
|
+
名称: { "zh-CN": "名称", en: "Name", _appCode: "framework" },
|
|
2550
|
+
搜索单据编码: { "zh-CN": "搜索单据编码", en: "Search Document Code", _appCode: "framework" },
|
|
2551
|
+
申请人: { "zh-CN": "申请人", en: "Applicant", _appCode: "framework" },
|
|
2552
|
+
添加用户: { "zh-CN": "添加用户", en: "Add User", _appCode: "framework" },
|
|
2553
|
+
组织选择器: { "zh-CN": "组织选择器", en: "Organization Selector", _appCode: "framework" },
|
|
2554
|
+
角色选择器: { "zh-CN": "角色选择器", en: "Role Selector", _appCode: "framework" },
|
|
2555
|
+
职务选择器: { "zh-CN": "职务选择器", en: "Position Selector", _appCode: "framework" },
|
|
2556
|
+
岗位选择器: { "zh-CN": "岗位选择器", en: "Position Selector", _appCode: "framework" },
|
|
2557
|
+
选择供应商: { "zh-CN": "选择供应商", en: "Select Supplier", _appCode: "framework" },
|
|
2558
|
+
源单选择器: { "zh-CN": "源单选择器", en: "Source Document Selector", _appCode: "framework" },
|
|
2559
|
+
正常: { "zh-CN": "正常", en: "Normal", _appCode: "framework" },
|
|
2560
|
+
锁定: { "zh-CN": "锁定", en: "Locked", _appCode: "framework" },
|
|
2561
|
+
禁用: { "zh-CN": "禁用", en: "Disabled", _appCode: "framework" },
|
|
2562
|
+
普通: { "zh-CN": "普通", en: "Regular", _appCode: "framework" },
|
|
2563
|
+
管理员: { "zh-CN": "管理员", en: "Administrator", _appCode: "framework" },
|
|
2564
|
+
无效: { "zh-CN": "无效", en: "Invalid", _appCode: "framework" },
|
|
2565
|
+
有效: { "zh-CN": "有效", en: "Valid", _appCode: "framework" },
|
|
2566
|
+
"搜索姓名/账号/手机号": {
|
|
2567
|
+
"zh-CN": "搜索姓名/账号/手机号",
|
|
2568
|
+
en: "Search Name/Account/Phone Number",
|
|
2569
|
+
_appCode: "framework"
|
|
2570
|
+
},
|
|
2571
|
+
"搜索组织名称/组织编码": {
|
|
2572
|
+
"zh-CN": "搜索组织名称/组织编码",
|
|
2573
|
+
en: "Search Organization Name/Code",
|
|
2574
|
+
_appCode: "framework"
|
|
2575
|
+
},
|
|
2576
|
+
"职务名称/职务编码": { "zh-CN": "职务名称/职务编码", en: "Position Name/Code", _appCode: "framework" },
|
|
2577
|
+
"搜索岗位名称/岗位编码": { "zh-CN": "搜索岗位名称/岗位编码", en: "Search Position Name/Code", _appCode: "framework" },
|
|
2578
|
+
"搜索供应商编码/名称": { "zh-CN": "搜索供应商编码/名称", en: "Search Supplier Code/Name", _appCode: "framework" },
|
|
2579
|
+
"搜索单据编码/申请人": {
|
|
2580
|
+
"zh-CN": "搜索单据编码/申请人",
|
|
2581
|
+
en: "Search Document Code/Applicant",
|
|
2582
|
+
_appCode: "framework"
|
|
2531
2583
|
},
|
|
2532
|
-
|
|
2533
|
-
搜索姓名: { "zh-CN": "搜索姓名", en: "Search name" },
|
|
2534
|
-
账号: { "zh-CN": "账号", en: "Account" },
|
|
2535
|
-
手机号: { "zh-CN": "手机号", en: "Phone number" },
|
|
2536
|
-
搜索组织名称: { "zh-CN": "搜索组织名称", en: "Search organization name" },
|
|
2537
|
-
组织编码: { "zh-CN": "组织编码", en: "Organization code" },
|
|
2538
|
-
搜索角色名称: { "zh-CN": "搜索角色名称", en: "Search role name" },
|
|
2539
|
-
职务名称: { "zh-CN": "职务名称", en: "Position name" },
|
|
2540
|
-
职务编码: { "zh-CN": "职务编码", en: "Position code" },
|
|
2541
|
-
搜索岗位名称: { "zh-CN": "搜索岗位名称", en: "Search Job Title" },
|
|
2542
|
-
岗位编码: { "zh-CN": "岗位编码", en: "Position code" },
|
|
2543
|
-
搜索供应商编码: { "zh-CN": "搜索供应商编码", en: "Search Supplier Code" },
|
|
2544
|
-
名称: { "zh-CN": "名称", en: "Name" },
|
|
2545
|
-
搜索单据编码: { "zh-CN": "搜索单据编码", en: "Search Document Code" },
|
|
2546
|
-
申请人: { "zh-CN": "申请人", en: "Applicant" },
|
|
2547
|
-
添加用户: { "zh-CN": "添加用户", en: "Add user" },
|
|
2548
|
-
组织选择器: { "zh-CN": "组织选择器", en: "Organization selector" },
|
|
2549
|
-
角色选择器: { "zh-CN": "角色选择器", en: "Role selector" },
|
|
2550
|
-
职务选择器: { "zh-CN": "职务选择器", en: "Position selector" },
|
|
2551
|
-
岗位选择器: { "zh-CN": "岗位选择器", en: "Position selector" },
|
|
2552
|
-
选择供应商: { "zh-CN": "选择供应商", en: "Select supplier" },
|
|
2553
|
-
源单选择器: { "zh-CN": "源单选择器", en: "Source document selector" },
|
|
2554
|
-
正常: { "zh-CN": "正常", en: "Normal" },
|
|
2555
|
-
锁定: { "zh-CN": "锁定", en: "Locked" },
|
|
2556
|
-
禁用: { "zh-CN": "禁用", en: "Disabled" },
|
|
2557
|
-
普通: { "zh-CN": "普通", en: "Regular" },
|
|
2558
|
-
管理员: { "zh-CN": "管理员", en: "Administrator" },
|
|
2559
|
-
无效: { "zh-CN": "无效", en: "Invalid" },
|
|
2560
|
-
有效: { "zh-CN": "有效", en: "Valid" },
|
|
2561
|
-
"搜索姓名/账号/手机号": { "zh-CN": "搜索姓名/账号/手机号", en: "Search name/account/phone number" },
|
|
2562
|
-
"搜索组织名称/组织编码": { "zh-CN": "搜索组织名称/组织编码", en: "Search organization name/code" },
|
|
2563
|
-
"职务名称/职务编码": { "zh-CN": "职务名称/职务编码", en: "Position name/code" },
|
|
2564
|
-
"搜索岗位名称/岗位编码": { "zh-CN": "搜索岗位名称/岗位编码", en: "Search position name/code" },
|
|
2565
|
-
"搜索供应商编码/名称": { "zh-CN": "搜索供应商编码/名称", en: "Search supplier code/name" },
|
|
2566
|
-
"搜索单据编码/申请人": { "zh-CN": "搜索单据编码/申请人", en: "Search document code/applicant" },
|
|
2567
|
-
供应商类型: { "zh-CN": "供应商类型", en: "Supplier type" },
|
|
2584
|
+
供应商类型: { "zh-CN": "供应商类型", en: "Supplier Type", _appCode: "framework" },
|
|
2568
2585
|
"手机号码格式不正确,请重新输入": {
|
|
2569
2586
|
"zh-CN": "手机号码格式不正确,请重新输入",
|
|
2570
|
-
en: "Incorrect
|
|
2587
|
+
en: "Incorrect Phone Number Format, Please Re-Enter",
|
|
2588
|
+
_appCode: "framework"
|
|
2571
2589
|
},
|
|
2572
2590
|
"电子邮箱格式不正确,请重新输入": {
|
|
2573
2591
|
"zh-CN": "电子邮箱格式不正确,请重新输入",
|
|
2574
|
-
en: "Incorrect
|
|
2592
|
+
en: "Incorrect Email Format, Please Re-Enter",
|
|
2593
|
+
_appCode: "framework"
|
|
2575
2594
|
},
|
|
2576
|
-
"个人/公司": { "zh-CN": "个人/公司", en: "Individual/Company" }
|
|
2595
|
+
"个人/公司": { "zh-CN": "个人/公司", en: "Individual/Company", _appCode: "framework" }
|
|
2577
2596
|
};
|
|
2578
|
-
wt(
|
|
2579
|
-
const xn = pt(
|
|
2597
|
+
wt(Dn);
|
|
2598
|
+
const xn = pt(Vn);
|
|
2580
2599
|
export {
|
|
2581
2600
|
xn as DasProcessForm,
|
|
2582
2601
|
xn as default
|