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