@das-fed/upf-ui 6.4.0-dev.310 → 6.4.0-dev.312
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm-map.json +2 -1
- package/front-end/i18n/front-end-page/dasui_en-US.js +3 -0
- package/front-end/i18n/front-end-page/dasui_zh-CN.js +3 -0
- package/front-end/i18n/front-end-page/dasui_zh-MO.js +3 -0
- package/package.json +7 -7
- package/packages/business-components/ai-panel/{index-C1XseEkL.js → index-BdLFU3HT.js} +1 -1
- package/packages/business-components/ai-panel/index-BdLFU3HT.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-_XzaXcle.js → index-Cc1_Wpca.js} +1154 -1136
- package/packages/business-components/ai-panel/index-Cc1_Wpca.js.gz +0 -0
- package/packages/business-components/ai-panel/index.js +1 -1
- package/packages/business-components/ai-panel/src/dasAI/hooks/audio.d.ts +1 -1
- package/packages/business-components/app-container/index.js +56 -56
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/area-phone-select/index.d.ts +30 -30
- package/packages/business-components/area-phone-select/index.js +87 -87
- package/packages/business-components/area-phone-select/index.js.gz +0 -0
- package/packages/business-components/area-phone-select/src/area-popover/index.vue.d.ts +4 -4
- package/packages/business-components/change-enterprises/index.js +20 -20
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-pwd/index.js +15 -15
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +14 -14
- package/packages/business-components/currency-page/index.js +39 -39
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/index.js +46 -46
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/export-button/index.js +92 -92
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/index.js +171 -171
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/layout-breadcrumb/index.js +42 -42
- package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/index.d.ts +4 -4
- package/packages/business-components/model-table-dialog/index.js +233 -233
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/payment/index.js +44 -44
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +939 -939
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/hooks/useForm.d.ts +14 -14
- package/packages/business-components/process-log/index.js +331 -331
- 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/hooks/useSearchOptions.d.ts +4 -2
- package/packages/business-components/process-table/index.d.ts +14 -14
- package/packages/business-components/upload-file/index.js +43 -43
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/upload-file/style.css +1 -1
- package/packages/business-components/urgent-panel/index.js +340 -340
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/video-dialog/index.js +17 -17
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/style.css +1 -1
- package/packages/business-components/video-dialog/style.css.gz +0 -0
- package/packages/components/alert/index.d.ts +4 -4
- package/packages/components/alert/index.js +5 -5
- package/packages/components/alert/index.js.gz +0 -0
- package/packages/components/audio-video/index.js +141 -141
- package/packages/components/audio-video/index.js.gz +0 -0
- package/packages/components/autocomplete/index.d.ts +6 -6
- package/packages/components/autocomplete/index.js +162 -162
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/autocomplete/style.css +1 -1
- package/packages/components/autocomplete/style.css.gz +0 -0
- package/packages/components/breadcrumb/index.js +37 -37
- package/packages/components/breadcrumb/index.js.gz +0 -0
- package/packages/components/button/index.js +223 -223
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/calendar/index.js +164 -164
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/index.d.ts +8 -8
- package/packages/components/cascader/index.js +89 -89
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/style.css +1 -1
- package/packages/components/cascader/style.css.gz +0 -0
- package/packages/components/checkbox/index.d.ts +12 -12
- package/packages/components/checkbox/index.js +180 -180
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/style.css +1 -1
- package/packages/components/checkbox/style.css.gz +0 -0
- package/packages/components/collapse-panel/index.js +12 -12
- package/packages/components/collapse-panel/index.js.gz +0 -0
- package/packages/components/collaspe/index.d.ts +4 -4
- package/packages/components/collaspe/index.js +22 -22
- package/packages/components/collaspe/index.js.gz +0 -0
- package/packages/components/custom-search-item/index.d.ts +4 -4
- package/packages/components/custom-search-item/index.js +36 -36
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/index.js +658 -658
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/dialog/index.js +1 -1
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dialog/style.css +1 -1
- package/packages/components/dialog/style.css.gz +0 -0
- package/packages/components/dimple-layout/index.js +73 -31
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/index.js +33 -33
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/edit-table/index.d.ts +4 -4
- package/packages/components/edit-table/index.js +190 -190
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/empty/index.js +29 -29
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/error-overlay-model/index.js +31 -31
- package/packages/components/error-overlay-model/index.js.gz +0 -0
- package/packages/components/form/index.d.ts +14 -14
- package/packages/components/form/index.js +23 -23
- package/packages/components/form/index.js.gz +0 -0
- package/packages/components/form-item/index.js +771 -771
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/image-upload/index.js +90 -90
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/index.js +418 -418
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/infinite-scroll/index.d.ts +3 -1
- package/packages/components/infinite-scroll/index.js +509 -509
- package/packages/components/infinite-scroll/index.js.gz +0 -0
- package/packages/components/infinite-scroll/src/index.vue.d.ts +3 -1
- package/packages/components/infinite-scroll/src/type.d.ts +78 -78
- package/packages/components/infinite-scroll/style.css +1 -1
- package/packages/components/infinite-scroll/style.css.gz +0 -0
- package/packages/components/input/index.js +544 -544
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/src/index.vue.d.ts +2 -2
- package/packages/components/input/style.css +2 -2
- package/packages/components/input/style.css.gz +0 -0
- package/packages/components/input-dialog-select/index.js +82 -82
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-number/index.js +103 -103
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/input-number/style.css +1 -1
- package/packages/components/input-number/style.css.gz +0 -0
- package/packages/components/live-player/index.d.ts +4 -4
- package/packages/components/loading/index.js +1 -1
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/menu-aside/index.js +600 -600
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/menu-header/index.js +17 -17
- package/packages/components/menu-header/index.js.gz +0 -0
- package/packages/components/pagination/index.js +91 -91
- 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/index.d.ts +4 -4
- package/packages/components/popover/index.js +33 -33
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/popup-mask/index.js +13 -13
- package/packages/components/popup-mask/index.js.gz +0 -0
- package/packages/components/progress/index.js +93 -93
- package/packages/components/progress/index.js.gz +0 -0
- package/packages/components/progress/style.css +1 -1
- package/packages/components/progress/style.css.gz +0 -0
- package/packages/components/radio/index.d.ts +10 -10
- package/packages/components/radio/index.js +175 -175
- package/packages/components/radio/index.js.gz +0 -0
- package/packages/components/rich-editor/index.js +234 -234
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/scrollbar/index.js +2 -2
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/search/index.js +68 -68
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search-form/i18n/index.d.ts +12 -0
- package/packages/components/search-form/index.d.ts +3 -0
- package/packages/components/search-form/index.js +1993 -1103
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/skills/DasSearchForm/345/215/207/347/272/247/346/214/207/345/215/227.md +141 -0
- package/packages/components/search-form/skills/das-search-form-toolbar-migration/SKILL.md +113 -0
- package/packages/components/search-form/skills/das-search-form-toolbar-migration//350/277/201/347/247/273/350/246/201/347/202/271/344/270/216/345/270/270/350/247/201/351/227/256/351/242/230.md +47 -0
- package/packages/components/search-form/src/Index.vue.d.ts +12 -50
- package/packages/components/search-form/src/Legacy.vue.d.ts +61 -0
- package/packages/components/search-form/src/SearchDateRange.vue.d.ts +5 -2
- package/packages/components/search-form/src/Toolbar.vue.d.ts +57 -0
- package/packages/components/search-form/src/api/park-space.d.ts +8 -0
- package/packages/components/search-form/src/hooks/common-query.d.ts +7 -0
- package/packages/components/search-form/src/hooks/searchFormItem.d.ts +16 -14
- package/packages/components/search-form/src/hooks/submission.d.ts +23 -0
- package/packages/components/search-form/src/hooks/toolbar-state.d.ts +22 -0
- package/packages/components/search-form/src/toolbar-types.d.ts +45 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select/index.js +326 -302
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/src/type.d.ts +97 -97
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/select-input/index.js +78 -78
- package/packages/components/select-input/index.js.gz +0 -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/index.js +430 -430
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/select-list/style.css +1 -1
- package/packages/components/select-list/style.css.gz +0 -0
- package/packages/components/special-range-picker-month/index.js +140 -140
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/style.css +1 -1
- package/packages/components/special-range-picker-month/style.css.gz +0 -0
- package/packages/components/special-range-picker-year/index.js +169 -169
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/style.css +1 -1
- package/packages/components/special-range-picker-year/style.css.gz +0 -0
- package/packages/components/spin/index.js +37 -37
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/split-panel/index.d.ts +8 -8
- package/packages/components/split-panel/index.js +27 -27
- package/packages/components/split-panel/index.js.gz +0 -0
- package/packages/components/switch/style.css +1 -1
- package/packages/components/switch/style.css.gz +0 -0
- package/packages/components/table/index.d.ts +103 -103
- package/packages/components/table/index.js +1869 -1869
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/Table.vue.d.ts +9 -9
- package/packages/components/tabs/index.js +101 -101
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/text-tooltip/src/type.d.ts +5 -5
- package/packages/components/time-line/index.js +35 -35
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tooltip/index.d.ts +6 -6
- package/packages/components/tooltip/index.js +62 -62
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tooltip/style.css +1 -1
- package/packages/components/tooltip/style.css.gz +0 -0
- package/packages/components/tree/index.js +426 -426
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-select/index.js +252 -249
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-select/src/App.vue.d.ts +13 -12
- package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +12 -12
- package/packages/components/tree-select/src/type.d.ts +115 -112
- package/packages/components/tree-table/index.d.ts +2 -2
- package/packages/components/tree-table/index.js +181 -181
- package/packages/components/tree-table/index.js.gz +0 -0
- package/packages/components/tree-v2/index.js +1308 -1308
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/tree-v2/src/App.vue.d.ts +155 -145
- package/packages/components/tree-v2/style.css +2 -2
- package/packages/components/tree-v2/style.css.gz +0 -0
- package/packages/components/upload/index.js +98 -98
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/index.js +62 -62
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/components/virtual-tree/src/App.vue.d.ts +140 -140
- package/release-meta.json +4 -4
- package/packages/business-components/ai-panel/index-C1XseEkL.js.gz +0 -0
- package/packages/business-components/ai-panel/index-_XzaXcle.js.gz +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { withInstall as dt } from "@das-fed/upf-utils/with-install/index";
|
|
2
|
-
import { ref as l, nextTick as ct, defineComponent as
|
|
3
|
-
import { DasFormRef as ht, DasForm as
|
|
4
|
-
import { DasFormItem as
|
|
2
|
+
import { ref as l, nextTick as ct, defineComponent as K, watch as k, openBlock as D, createBlock as $, unref as n, withCtx as O, createVNode as M, createCommentVNode as F, createElementVNode as qe, createElementBlock as Y, Fragment as X, createTextVNode as ne, toDisplayString as se, isRef as he, createSlots as gt, h as ie, renderList as ue, resolveDynamicComponent as ge, onMounted as mt, withDirectives as vt, normalizeStyle as ft } from "vue";
|
|
3
|
+
import { DasFormRef as ht, DasForm as Pe } from "@das-fed/upf-ui/packages/components/form/index";
|
|
4
|
+
import { DasFormItem as Q } from "@das-fed/upf-ui/packages/components/form-item/index";
|
|
5
5
|
import { DasButton as yt } from "@das-fed/upf-ui/packages/components/button/index";
|
|
6
6
|
import { vOverlay as bt } from "@das-fed/upf-ui/packages/components/overlay/index";
|
|
7
7
|
import { createService as G } from "@das-fed/upf-utils/create-api-service";
|
|
@@ -9,20 +9,20 @@ import "@das-fed/upf-ui/packages/components/message/index";
|
|
|
9
9
|
import { DasUpload as wt } from "@das-fed/upf-ui/packages/components/upload/index";
|
|
10
10
|
import { DasAutocomplete as _t } from "@das-fed/upf-ui/packages/components/autocomplete/index";
|
|
11
11
|
import ve from "dayjs";
|
|
12
|
-
import { DasImageViewer as
|
|
12
|
+
import { DasImageViewer as je } from "@das-fed/upf-ui/packages/components/image-viewer/index";
|
|
13
13
|
import { DasInput as Ct } from "@das-fed/upf-ui/packages/components/input/index";
|
|
14
14
|
import { DasTooltip as Ve } from "@das-fed/upf-ui/packages/components/tooltip/index";
|
|
15
|
-
import { i18n as
|
|
16
|
-
import { DasTableColumn as
|
|
15
|
+
import { i18n as E, t as w, setI18nRule as zt } from "@das-fed/upf-web/packages/i18n/index";
|
|
16
|
+
import { DasTableColumn as P } from "@das-fed/upf-ui/packages/components/table/index";
|
|
17
17
|
import "@das-fed/upf-ui/packages/components/search/index";
|
|
18
18
|
import "@das-fed/upf-ui/packages/components/select/index";
|
|
19
19
|
import { DasSearchForm as Vt } from "@das-fed/upf-ui/packages/components/search-form/index";
|
|
20
20
|
import { DasModelTableDialog as Dt } from "@das-fed/upf-ui/packages/business-components/model-table-dialog";
|
|
21
|
-
import { getProjectInfo as
|
|
21
|
+
import { getProjectInfo as Be } from "@das-fed/upf-utils/common-info";
|
|
22
22
|
import { getConfig as Mt } from "@das-fed/upf-utils/config";
|
|
23
|
-
import { DasRichEditor as
|
|
24
|
-
import { DasCollaspe as
|
|
25
|
-
import { DasCollaspePanel as
|
|
23
|
+
import { DasRichEditor as Ee } from "@das-fed/upf-ui/packages/components/rich-editor/index";
|
|
24
|
+
import { DasCollaspe as Ke } from "@das-fed/upf-ui/packages/components/collaspe/index";
|
|
25
|
+
import { DasCollaspePanel as Ae } from "@das-fed/upf-ui/packages/components/collapse-panel/index";
|
|
26
26
|
import { ElCol as kt, ElRow as St } from "element-plus";
|
|
27
27
|
import "element-plus/theme-chalk/el-row.css";
|
|
28
28
|
import "element-plus/theme-chalk/el-col.css";
|
|
@@ -31,104 +31,104 @@ import '@das-fed/upf-ui/packages/business-components/process-form/style.css';
|
|
|
31
31
|
;
|
|
32
32
|
const te = "v1", Nt = G(`/workflow/form/form/${te}`), Ot = G(`/workflow/form/formDef/${te}`);
|
|
33
33
|
G(`/workflow/api/user/${te}`);
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
const
|
|
37
|
-
var e,
|
|
38
|
-
return
|
|
39
|
-
page: ((e =
|
|
40
|
-
pageSize: ((
|
|
41
|
-
},
|
|
42
|
-
}), Xt = Me.get("/supplier"), ea = Me.post("/classification/list/all"), ta =
|
|
43
|
-
const { setDetailData: i, getFormData:
|
|
44
|
-
const [N,
|
|
34
|
+
const Qe = G(`/workflow/api/extend/${te}`), Lt = G(`/workflow/flow/def/${te}`), Tt = G(`/workflow/form/customQuery/${te}`), oe = G(`/api/enterpriseright/permission/${te}`), De = G(`/api/space-manage/space-tree/${te}`), xt = G(`/workflow/form/dataTemplate/${te}`), Me = G(`/api/supply/supplier/${te}`), Rt = G(`/api/warehouse/vms/${te}/asset-receive`), $t = xt.get("/getBpmDataTemplateInfoByFlowKey"), Pt = Nt.get("/formDesign"), Ft = Ot.get("/get"), It = Qe.get("/report-config");
|
|
35
|
+
Qe.get("/application-report");
|
|
36
|
+
const qt = Lt.get("/getBindRelationByDefKey"), jt = Tt.get("/getByAlias"), Bt = oe.get("/organization/authTree"), Et = oe.post("/user/list"), Kt = oe.post("/data/user-query"), At = oe.get("/role/list"), Qt = oe.post("/data/role-ids"), Ut = oe.get("/organization/organizationpage"), Yt = oe.get("/station/list"), Jt = oe.get("/position/list"), ye = oe.post("/organization/detailbyids"), Ht = De.get("/controller/area-children"), Wt = De.get("/controller/fuzzy-tree-all"), Zt = De.get("/controller/space"), Gt = Me.post("/supplier/list/page", (t) => {
|
|
37
|
+
var e, a;
|
|
38
|
+
return t.data.pageBean = {
|
|
39
|
+
page: ((e = t == null ? void 0 : t.data) == null ? void 0 : e.pageIndex) || 1,
|
|
40
|
+
pageSize: ((a = t == null ? void 0 : t.data) == null ? void 0 : a.pageSize) || 20
|
|
41
|
+
}, t;
|
|
42
|
+
}), Xt = Me.get("/supplier"), ea = Me.post("/classification/list/all"), ta = Rt.get("/receive-code"), be = l(""), aa = (t, e, a) => {
|
|
43
|
+
const { setDetailData: i, getFormData: u, setFormData: r, formRule: m, showData: _, disabledData: s, encryptionData: o } = a, g = l([]), v = l([]), c = l([]), d = l(!1), C = ht(), y = l([]), h = (V) => Object.keys(V).length === 0, p = async (V) => {
|
|
44
|
+
const [N, I] = await Pt({ formId: V }).run();
|
|
45
45
|
if (N) return;
|
|
46
|
-
const W = JSON.parse(
|
|
47
|
-
be.value = W[0].alias,
|
|
48
|
-
Z.formKey ===
|
|
46
|
+
const W = JSON.parse(I.bos);
|
|
47
|
+
be.value = W[0].alias, v.value.length && v.value.forEach((Z) => {
|
|
48
|
+
Z.formKey === I.formKey && r(I.formKey, be.value, Z.id);
|
|
49
49
|
});
|
|
50
|
-
const [ae, ee] = await
|
|
50
|
+
const [ae, ee] = await Ft({ formDefId: I.defId }).run();
|
|
51
51
|
await z(), c.value = JSON.parse(ee.value.expand).list, c.value.forEach((Z) => {
|
|
52
|
-
Z.columns && Z.columns[0].isOpen &&
|
|
53
|
-
}),
|
|
54
|
-
_.value = { ..._.value, ...
|
|
52
|
+
Z.columns && Z.columns[0].isOpen && y.value.push(Z.key);
|
|
53
|
+
}), s.value = { ...s.value, ...t.disabledData }, v.value.length || r(I.formKey, be.value), setTimeout(() => {
|
|
54
|
+
_.value = { ..._.value, ...t.showData }, h(t.data) && (d.value = !0), h(t.data) || (i(t.data), t.flowKey && (g.value = t.data.button_list ? JSON.parse(t.data.button_list) : []), d.value = !0);
|
|
55
55
|
}, 50);
|
|
56
|
-
},
|
|
57
|
-
if (
|
|
58
|
-
const [V, N] = await
|
|
56
|
+
}, f = async () => {
|
|
57
|
+
if (t.formConfigurationId) {
|
|
58
|
+
const [V, N] = await It({ id: t.formConfigurationId }).run();
|
|
59
59
|
if (V) return;
|
|
60
|
-
|
|
60
|
+
v.value = N.reports, g.value = N.reports[0].buttons.filter((I) => !(t.isView && I.event !== "LINK")), p(N.reports[0].formId);
|
|
61
61
|
}
|
|
62
|
-
if (
|
|
63
|
-
const [V, N] = await
|
|
62
|
+
if (t.flowKey) {
|
|
63
|
+
const [V, N] = await qt({ flowKey: t.flowKey }).run();
|
|
64
64
|
if (V) return;
|
|
65
|
-
|
|
65
|
+
p(N.pcForm.pcFormId);
|
|
66
66
|
}
|
|
67
67
|
}, z = async () => {
|
|
68
|
-
var
|
|
69
|
-
if (!
|
|
70
|
-
const [V, N] = await
|
|
71
|
-
flowKey:
|
|
68
|
+
var I, W, ae, ee;
|
|
69
|
+
if (!t.flowKey) return;
|
|
70
|
+
const [V, N] = await $t().run({
|
|
71
|
+
flowKey: t.flowKey,
|
|
72
72
|
needDisplayFileds: !1
|
|
73
73
|
});
|
|
74
|
-
|
|
75
|
-
}, b = l({}),
|
|
76
|
-
const { key:
|
|
77
|
-
b.value[
|
|
78
|
-
},
|
|
79
|
-
V.columns &&
|
|
74
|
+
o.value = ((ee = (ae = (W = (I = N == null ? void 0 : N.value) == null ? void 0 : I.boDef) == null ? void 0 : W.boEnt) == null ? void 0 : ae.attributeList) == null ? void 0 : ee.filter((Z) => Z.encryption == "phone")) || [];
|
|
75
|
+
}, b = l({}), L = (V, N) => {
|
|
76
|
+
const { key: I } = N;
|
|
77
|
+
b.value[I] || (b.value[I] = V);
|
|
78
|
+
}, T = async () => (c.value.forEach((V) => {
|
|
79
|
+
V.columns && y.value.push(V.key);
|
|
80
80
|
}), await ct(), new Promise((V, N) => {
|
|
81
|
-
let
|
|
81
|
+
let I = !0;
|
|
82
82
|
for (const W in b.value)
|
|
83
83
|
b.value[W].validate((ae) => {
|
|
84
|
-
ae == !1 && (
|
|
84
|
+
ae == !1 && (I = !1);
|
|
85
85
|
});
|
|
86
86
|
setTimeout(() => {
|
|
87
87
|
V({
|
|
88
|
-
result:
|
|
89
|
-
data:
|
|
88
|
+
result: I,
|
|
89
|
+
data: u()
|
|
90
90
|
});
|
|
91
91
|
}, 50);
|
|
92
92
|
}));
|
|
93
93
|
return {
|
|
94
94
|
isShowPage: d,
|
|
95
95
|
formJsonList: c,
|
|
96
|
-
btnList:
|
|
96
|
+
btnList: g,
|
|
97
97
|
formRef: C,
|
|
98
|
-
activityKeys:
|
|
99
|
-
getForm:
|
|
100
|
-
getBtnSet:
|
|
98
|
+
activityKeys: y,
|
|
99
|
+
getForm: p,
|
|
100
|
+
getBtnSet: f,
|
|
101
101
|
handleClick: async (V) => {
|
|
102
|
-
let { result: N } = await
|
|
103
|
-
N && (e("handleClick", V,
|
|
104
|
-
V.eventTarget ===
|
|
102
|
+
let { result: N } = await T();
|
|
103
|
+
N && (e("handleClick", V, u()), V.event === "LINK" && v.value.forEach((I) => {
|
|
104
|
+
V.eventTarget === I.formKey && (g.value = I.buttons.filter((W) => !(t.isView && W.event !== "LINK")), d.value = !1, m.value = {}, p(I.formId));
|
|
105
105
|
}));
|
|
106
106
|
},
|
|
107
|
-
validateFormData:
|
|
108
|
-
getFormRef:
|
|
107
|
+
validateFormData: T,
|
|
108
|
+
getFormRef: L
|
|
109
109
|
};
|
|
110
|
-
}, J = (
|
|
110
|
+
}, J = (t) => {
|
|
111
111
|
const e = new RegExp("<.+?>", "g");
|
|
112
|
-
return
|
|
113
|
-
}, le = async (
|
|
114
|
-
const [i,
|
|
115
|
-
if (!i &&
|
|
112
|
+
return t.replace(e, "").replace(/ /g, "");
|
|
113
|
+
}, le = async (t, e, a = {}) => {
|
|
114
|
+
const [i, u] = await jt({ alias: t }).run();
|
|
115
|
+
if (!i && u.url) {
|
|
116
116
|
typeof e == "string" && (e = JSON.parse(e));
|
|
117
117
|
const r = l({});
|
|
118
|
-
e.forEach((
|
|
119
|
-
|
|
120
|
-
}), r.value = { ...r.value, ...
|
|
121
|
-
const
|
|
122
|
-
return _ ? void 0 :
|
|
118
|
+
e.forEach((o) => {
|
|
119
|
+
o.defaultType == 2 && (r.value[o.field] = o.defaultValue);
|
|
120
|
+
}), r.value = { ...r.value, ...a };
|
|
121
|
+
const m = u.requestType === "POST" ? G(u.url).post("") : G(u.url).get(""), [_, s] = await m({}, { params: r.value }).run();
|
|
122
|
+
return _ ? void 0 : s;
|
|
123
123
|
}
|
|
124
|
-
}, H = async (
|
|
124
|
+
}, H = async (t) => {
|
|
125
125
|
const e = l(!1);
|
|
126
|
-
return
|
|
127
|
-
|
|
126
|
+
return t.forEach((a) => {
|
|
127
|
+
a.key === "required" && (e.value = !0);
|
|
128
128
|
}), e.value;
|
|
129
129
|
}, na = {
|
|
130
130
|
name: "attachment"
|
|
131
|
-
}, sa = /* @__PURE__ */
|
|
131
|
+
}, sa = /* @__PURE__ */ K({
|
|
132
132
|
...na,
|
|
133
133
|
props: {
|
|
134
134
|
setting: { default: () => ({
|
|
@@ -143,42 +143,42 @@ const jt = Lt.get("/getBindRelationByDefKey"), Bt = Tt.get("/getByAlias"), Et =
|
|
|
143
143
|
marginRight: {},
|
|
144
144
|
store: {}
|
|
145
145
|
},
|
|
146
|
-
setup(
|
|
147
|
-
const e =
|
|
148
|
-
!
|
|
149
|
-
() =>
|
|
146
|
+
setup(t) {
|
|
147
|
+
const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l([]), o = l(!0);
|
|
148
|
+
!a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
|
|
149
|
+
() => a.value,
|
|
150
150
|
() => {
|
|
151
|
-
|
|
151
|
+
o.value = a.value[e.setting.name], o.value || (s.value = [], _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
|
|
152
152
|
},
|
|
153
153
|
{ deep: !0, immediate: !0 }
|
|
154
154
|
);
|
|
155
|
-
const
|
|
156
|
-
return e.setting.options.tip && (
|
|
157
|
-
|
|
158
|
-
}), (
|
|
155
|
+
const g = l();
|
|
156
|
+
return e.setting.options.tip && (g.value = J(e.setting.options.tip)), s.value || u(e.setting.name, null), k(s, (v) => {
|
|
157
|
+
u(e.setting.name, JSON.stringify(v));
|
|
158
|
+
}), (v, c) => o.value ? (D(), $(n(Q), {
|
|
159
159
|
key: 0,
|
|
160
160
|
col: e.span,
|
|
161
|
-
label:
|
|
161
|
+
label: t.setting.desc,
|
|
162
162
|
type: "custom",
|
|
163
|
-
helpMessage:
|
|
163
|
+
helpMessage: g.value
|
|
164
164
|
}, {
|
|
165
165
|
default: O(() => [
|
|
166
|
-
M(
|
|
166
|
+
M(n(wt), {
|
|
167
167
|
style: { width: "100%" },
|
|
168
|
-
modelValue:
|
|
169
|
-
"onUpdate:modelValue": c[0] || (c[0] = (d) =>
|
|
168
|
+
modelValue: s.value,
|
|
169
|
+
"onUpdate:modelValue": c[0] || (c[0] = (d) => s.value = d)
|
|
170
170
|
}, null, 8, ["modelValue"])
|
|
171
171
|
]),
|
|
172
172
|
_: 1
|
|
173
173
|
/* STABLE */
|
|
174
|
-
}, 8, ["col", "label", "helpMessage"])) :
|
|
174
|
+
}, 8, ["col", "label", "helpMessage"])) : F("v-if", !0);
|
|
175
175
|
}
|
|
176
|
-
}),
|
|
176
|
+
}), Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
177
177
|
__proto__: null,
|
|
178
178
|
default: sa
|
|
179
179
|
}, Symbol.toStringTag, { value: "Module" })), oa = {
|
|
180
180
|
name: "autocomplete"
|
|
181
|
-
}, ia = /* @__PURE__ */
|
|
181
|
+
}, ia = /* @__PURE__ */ K({
|
|
182
182
|
...oa,
|
|
183
183
|
props: {
|
|
184
184
|
setting: { default: () => ({
|
|
@@ -193,62 +193,62 @@ const jt = Lt.get("/getBindRelationByDefKey"), Bt = Tt.get("/getByAlias"), Et =
|
|
|
193
193
|
marginRight: {},
|
|
194
194
|
store: {}
|
|
195
195
|
},
|
|
196
|
-
setup(
|
|
197
|
-
const e =
|
|
198
|
-
!
|
|
199
|
-
() =>
|
|
196
|
+
setup(t) {
|
|
197
|
+
const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(""), o = l(!0);
|
|
198
|
+
!a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
|
|
199
|
+
() => a.value,
|
|
200
200
|
() => {
|
|
201
|
-
|
|
201
|
+
o.value = a.value[e.setting.name], o.value || (s.value = "", _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
|
|
202
202
|
},
|
|
203
203
|
{ deep: !0, immediate: !0 }
|
|
204
204
|
);
|
|
205
|
-
const
|
|
206
|
-
H(e.setting.options.validateList).then((
|
|
207
|
-
|
|
205
|
+
const g = i.value[e.setting.name] || !1, v = l(!1);
|
|
206
|
+
H(e.setting.options.validateList).then((p) => {
|
|
207
|
+
v.value = p;
|
|
208
208
|
});
|
|
209
|
-
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", d = e.setting.options.children ? e.setting.options.children : "children", C = !!e.setting.options.fillInFullPath,
|
|
210
|
-
e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((
|
|
211
|
-
|
|
212
|
-
}) :
|
|
209
|
+
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", d = e.setting.options.children ? e.setting.options.children : "children", C = !!e.setting.options.fillInFullPath, y = l([]);
|
|
210
|
+
e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((p) => {
|
|
211
|
+
y.value = p;
|
|
212
|
+
}) : y.value = e.setting.options.options;
|
|
213
213
|
const h = l();
|
|
214
|
-
return e.setting.options.tip && (h.value = J(e.setting.options.tip)),
|
|
215
|
-
|
|
216
|
-
}), (
|
|
214
|
+
return e.setting.options.tip && (h.value = J(e.setting.options.tip)), s.value = r(e.setting.name) || s.value, s.value || u(e.setting.name, null), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(s, (p) => {
|
|
215
|
+
u(e.setting.name, p.toString());
|
|
216
|
+
}), (p, f) => o.value ? (D(), $(n(Q), {
|
|
217
217
|
key: 0,
|
|
218
218
|
col: e.span,
|
|
219
219
|
prop: e.setting.name,
|
|
220
|
-
modelValue:
|
|
221
|
-
"onUpdate:modelValue":
|
|
222
|
-
label:
|
|
220
|
+
modelValue: s.value,
|
|
221
|
+
"onUpdate:modelValue": f[1] || (f[1] = (z) => s.value = z),
|
|
222
|
+
label: t.setting.desc,
|
|
223
223
|
type: "custom",
|
|
224
224
|
helpMessage: h.value,
|
|
225
|
-
required:
|
|
226
|
-
disabled:
|
|
225
|
+
required: v.value,
|
|
226
|
+
disabled: n(g)
|
|
227
227
|
}, {
|
|
228
228
|
default: O(() => [
|
|
229
|
-
M(
|
|
230
|
-
modelValue:
|
|
231
|
-
"onUpdate:modelValue":
|
|
232
|
-
options:
|
|
229
|
+
M(n(_t), {
|
|
230
|
+
modelValue: s.value,
|
|
231
|
+
"onUpdate:modelValue": f[0] || (f[0] = (z) => s.value = z),
|
|
232
|
+
options: y.value,
|
|
233
233
|
isView: e.isView,
|
|
234
234
|
width: "100%",
|
|
235
235
|
mode: "tree",
|
|
236
|
-
fieldNames: { label:
|
|
237
|
-
showFullPath:
|
|
238
|
-
placeholder:
|
|
236
|
+
fieldNames: { label: n(c), children: n(d) },
|
|
237
|
+
showFullPath: n(C),
|
|
238
|
+
placeholder: t.setting.options.placeholder,
|
|
239
239
|
clearable: ""
|
|
240
240
|
}, null, 8, ["modelValue", "options", "isView", "fieldNames", "showFullPath", "placeholder"])
|
|
241
241
|
]),
|
|
242
242
|
_: 1
|
|
243
243
|
/* STABLE */
|
|
244
|
-
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required", "disabled"])) :
|
|
244
|
+
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required", "disabled"])) : F("v-if", !0);
|
|
245
245
|
}
|
|
246
246
|
}), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
247
247
|
__proto__: null,
|
|
248
248
|
default: ia
|
|
249
249
|
}, Symbol.toStringTag, { value: "Module" })), la = {
|
|
250
250
|
name: "checkbox"
|
|
251
|
-
}, ra = /* @__PURE__ */
|
|
251
|
+
}, ra = /* @__PURE__ */ K({
|
|
252
252
|
...la,
|
|
253
253
|
props: {
|
|
254
254
|
setting: { default: () => ({
|
|
@@ -263,52 +263,52 @@ const jt = Lt.get("/getBindRelationByDefKey"), Bt = Tt.get("/getByAlias"), Et =
|
|
|
263
263
|
marginRight: {},
|
|
264
264
|
store: {}
|
|
265
265
|
},
|
|
266
|
-
setup(
|
|
267
|
-
const e =
|
|
268
|
-
!
|
|
269
|
-
() =>
|
|
266
|
+
setup(t) {
|
|
267
|
+
const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l([]), o = l(!0);
|
|
268
|
+
!a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
|
|
269
|
+
() => a.value,
|
|
270
270
|
() => {
|
|
271
|
-
|
|
271
|
+
o.value = a.value[e.setting.name], o.value || (s.value = [], _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
|
|
272
272
|
},
|
|
273
273
|
{ deep: !0, immediate: !0 }
|
|
274
274
|
);
|
|
275
|
-
const
|
|
275
|
+
const g = i.value[e.setting.name] || !1, v = l(!1);
|
|
276
276
|
H(e.setting.options.validateList).then((h) => {
|
|
277
|
-
|
|
277
|
+
v.value = h;
|
|
278
278
|
});
|
|
279
279
|
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", C = l([]);
|
|
280
280
|
e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((h) => {
|
|
281
281
|
C.value = h;
|
|
282
282
|
}) : C.value = e.setting.options.options;
|
|
283
|
-
const
|
|
284
|
-
return e.setting.options.tip && (
|
|
285
|
-
r(e.setting.name) && (
|
|
286
|
-
}, 50), e.setting.options.validateList.length &&
|
|
287
|
-
|
|
288
|
-
}), (h,
|
|
283
|
+
const y = l();
|
|
284
|
+
return e.setting.options.tip && (y.value = J(e.setting.options.tip)()), setTimeout(() => {
|
|
285
|
+
r(e.setting.name) && (s.value = r(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (s.value = e.setting.options.formulasDiyJs.split(",")), s.value.length || s.value || u(e.setting.name, null);
|
|
286
|
+
}, 50), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(s, (h) => {
|
|
287
|
+
u(e.setting.name, h.toString());
|
|
288
|
+
}), (h, p) => o.value ? (D(), $(n(Q), {
|
|
289
289
|
key: 0,
|
|
290
290
|
col: e.span,
|
|
291
|
-
modelValue:
|
|
292
|
-
"onUpdate:modelValue":
|
|
293
|
-
layout:
|
|
294
|
-
label:
|
|
291
|
+
modelValue: s.value,
|
|
292
|
+
"onUpdate:modelValue": p[0] || (p[0] = (f) => s.value = f),
|
|
293
|
+
layout: t.setting.options.inline ? "vertical" : "default",
|
|
294
|
+
label: t.setting.desc,
|
|
295
295
|
prop: e.setting.name,
|
|
296
296
|
type: "checkbox",
|
|
297
297
|
options: C.value,
|
|
298
298
|
isView: e.isView,
|
|
299
|
-
disabled:
|
|
300
|
-
optionsValueKey:
|
|
301
|
-
optionsLabelKey:
|
|
302
|
-
helpMessage:
|
|
303
|
-
required:
|
|
304
|
-
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "disabled", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"])) :
|
|
299
|
+
disabled: n(g),
|
|
300
|
+
optionsValueKey: n(c),
|
|
301
|
+
optionsLabelKey: n(d),
|
|
302
|
+
helpMessage: y.value,
|
|
303
|
+
required: v.value
|
|
304
|
+
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "disabled", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"])) : F("v-if", !0);
|
|
305
305
|
}
|
|
306
306
|
}), Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
307
307
|
__proto__: null,
|
|
308
308
|
default: ra
|
|
309
309
|
}, Symbol.toStringTag, { value: "Module" })), ua = {
|
|
310
310
|
name: "date"
|
|
311
|
-
}, pa = /* @__PURE__ */
|
|
311
|
+
}, pa = /* @__PURE__ */ K({
|
|
312
312
|
...ua,
|
|
313
313
|
props: {
|
|
314
314
|
setting: { default: () => ({
|
|
@@ -323,54 +323,54 @@ const jt = Lt.get("/getBindRelationByDefKey"), Bt = Tt.get("/getByAlias"), Et =
|
|
|
323
323
|
marginRight: {},
|
|
324
324
|
store: {}
|
|
325
325
|
},
|
|
326
|
-
setup(
|
|
327
|
-
const e =
|
|
328
|
-
!
|
|
329
|
-
() =>
|
|
326
|
+
setup(t) {
|
|
327
|
+
const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(), o = l(!0);
|
|
328
|
+
!a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
|
|
329
|
+
() => a.value,
|
|
330
330
|
() => {
|
|
331
|
-
|
|
331
|
+
o.value = a.value[e.setting.name], o.value || (s.value = null, _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
|
|
332
332
|
},
|
|
333
333
|
{ deep: !0, immediate: !0 }
|
|
334
334
|
);
|
|
335
|
-
const
|
|
336
|
-
H(e.setting.options.validateList).then((
|
|
337
|
-
|
|
335
|
+
const g = i.value[e.setting.name] || !1, v = l(!1);
|
|
336
|
+
H(e.setting.options.validateList).then((y) => {
|
|
337
|
+
v.value = y;
|
|
338
338
|
});
|
|
339
339
|
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("");
|
|
340
340
|
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");
|
|
341
341
|
const C = l();
|
|
342
342
|
if (e.setting.options.tip && (C.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
343
|
-
|
|
343
|
+
s.value = r(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || u(e.setting.name, null);
|
|
344
344
|
}, 50), e.setting.options.showCurrentDate) {
|
|
345
|
-
let
|
|
346
|
-
|
|
345
|
+
let y = /* @__PURE__ */ new Date();
|
|
346
|
+
y.setDate(y.getDate() + e.setting.options.day), s.value = ve(y.getTime()).format(c), u(e.setting.name, s.value);
|
|
347
347
|
}
|
|
348
|
-
return e.setting.options.validateList.length &&
|
|
349
|
-
|
|
350
|
-
}), (
|
|
348
|
+
return e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(s, (y) => {
|
|
349
|
+
u(e.setting.name, y);
|
|
350
|
+
}), (y, h) => o.value ? (D(), $(n(Q), {
|
|
351
351
|
key: 0,
|
|
352
352
|
col: e.span,
|
|
353
|
-
modelValue:
|
|
354
|
-
"onUpdate:modelValue": h[0] || (h[0] = (
|
|
355
|
-
label:
|
|
353
|
+
modelValue: s.value,
|
|
354
|
+
"onUpdate:modelValue": h[0] || (h[0] = (p) => s.value = p),
|
|
355
|
+
label: t.setting.desc,
|
|
356
356
|
prop: e.setting.name,
|
|
357
|
-
type:
|
|
358
|
-
format:
|
|
357
|
+
type: n(c).indexOf("HH") != -1 ? "dateTime" : "date",
|
|
358
|
+
format: n(c),
|
|
359
359
|
valueFormat: "YYYY-MM-DD HH:mm:ss",
|
|
360
360
|
picker: d.value,
|
|
361
361
|
isView: e.isView,
|
|
362
|
-
disabled:
|
|
363
|
-
placeholder:
|
|
362
|
+
disabled: n(g),
|
|
363
|
+
placeholder: t.setting.options.placeholder,
|
|
364
364
|
helpMessage: C.value,
|
|
365
|
-
required:
|
|
366
|
-
}, null, 8, ["col", "modelValue", "label", "prop", "type", "format", "picker", "isView", "disabled", "placeholder", "helpMessage", "required"])) :
|
|
365
|
+
required: v.value
|
|
366
|
+
}, null, 8, ["col", "modelValue", "label", "prop", "type", "format", "picker", "isView", "disabled", "placeholder", "helpMessage", "required"])) : F("v-if", !0);
|
|
367
367
|
}
|
|
368
368
|
}), He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
369
369
|
__proto__: null,
|
|
370
370
|
default: pa
|
|
371
371
|
}, Symbol.toStringTag, { value: "Module" })), da = {
|
|
372
372
|
name: "dropdown"
|
|
373
|
-
}, ca = /* @__PURE__ */
|
|
373
|
+
}, ca = /* @__PURE__ */ K({
|
|
374
374
|
...da,
|
|
375
375
|
props: {
|
|
376
376
|
setting: { default: () => ({
|
|
@@ -385,59 +385,59 @@ const jt = Lt.get("/getBindRelationByDefKey"), Bt = Tt.get("/getByAlias"), Et =
|
|
|
385
385
|
marginRight: {},
|
|
386
386
|
store: {}
|
|
387
387
|
},
|
|
388
|
-
setup(
|
|
389
|
-
const e =
|
|
390
|
-
!
|
|
391
|
-
() =>
|
|
388
|
+
setup(t) {
|
|
389
|
+
const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _, setLinkData: s } = e.store || {}, o = l(""), g = l(!0);
|
|
390
|
+
!a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
|
|
391
|
+
() => a.value,
|
|
392
392
|
() => {
|
|
393
|
-
|
|
393
|
+
g.value = a.value[e.setting.name], g.value || (o.value = e.setting.options.multiple ? [] : "", _(e.setting.name)), g.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
|
|
394
394
|
},
|
|
395
395
|
{ deep: !0, immediate: !0 }
|
|
396
396
|
);
|
|
397
|
-
const
|
|
398
|
-
e.setting.options.customQuery && e.setting.options.customQuery.custQueryJson.length &&
|
|
397
|
+
const v = () => {
|
|
398
|
+
e.setting.options.customQuery && e.setting.options.customQuery.custQueryJson.length && s(e.setting.options.customQuery.custQueryJson, o.value);
|
|
399
399
|
}, c = i.value[e.setting.name] || !1, d = l(!1);
|
|
400
400
|
H(e.setting.options.validateList).then((b) => {
|
|
401
401
|
d.value = b;
|
|
402
402
|
});
|
|
403
|
-
const C = l(""),
|
|
403
|
+
const C = l(""), y = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", h = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", p = e.setting.options.customQuery.PId || "children", f = l([]);
|
|
404
404
|
e.setting.options.customQuery.alias && le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((b) => {
|
|
405
|
-
|
|
405
|
+
f.value = b;
|
|
406
406
|
});
|
|
407
407
|
const z = l();
|
|
408
|
-
return e.setting.options.tip && (z.value = J(e.setting.options.tip)),
|
|
409
|
-
|
|
410
|
-
}), (b,
|
|
408
|
+
return e.setting.options.tip && (z.value = J(e.setting.options.tip)), o.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && r(e.setting.name) ? o.value = r(e.setting.name).split(",") : o.value = r(e.setting.name) || o.value, o.value || u(e.setting.name, null), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(o, (b) => {
|
|
409
|
+
u(e.setting.name, b.toString());
|
|
410
|
+
}), (b, L) => g.value ? (D(), $(n(Q), {
|
|
411
411
|
key: 0,
|
|
412
412
|
col: e.span,
|
|
413
|
-
modelValue:
|
|
414
|
-
"onUpdate:modelValue":
|
|
413
|
+
modelValue: o.value,
|
|
414
|
+
"onUpdate:modelValue": L[0] || (L[0] = (T) => o.value = T),
|
|
415
415
|
keyword: C.value,
|
|
416
|
-
"onUpdate:keyword":
|
|
417
|
-
label:
|
|
416
|
+
"onUpdate:keyword": L[1] || (L[1] = (T) => C.value = T),
|
|
417
|
+
label: t.setting.desc,
|
|
418
418
|
type: "treeSelect",
|
|
419
|
-
"node-key":
|
|
420
|
-
placeholder:
|
|
421
|
-
mode:
|
|
419
|
+
"node-key": t.setting.options.customQuery.valueBind,
|
|
420
|
+
placeholder: t.setting.options.placeholder,
|
|
421
|
+
mode: t.setting.options.multiple ? "multiple" : "",
|
|
422
422
|
prop: e.setting.name,
|
|
423
|
-
filter:
|
|
423
|
+
filter: t.setting.options.filterable,
|
|
424
424
|
selectAttrs: { allowClear: !0 },
|
|
425
|
-
options:
|
|
425
|
+
options: f.value,
|
|
426
426
|
isView: e.isView,
|
|
427
427
|
helpMessage: z.value,
|
|
428
|
-
disabled:
|
|
429
|
-
props: { label:
|
|
430
|
-
"check-strictly": !
|
|
428
|
+
disabled: n(c),
|
|
429
|
+
props: { label: n(h), value: n(y), children: n(p) },
|
|
430
|
+
"check-strictly": !t.setting.options.cascade,
|
|
431
431
|
required: d.value,
|
|
432
|
-
onChange:
|
|
433
|
-
}, null, 8, ["col", "modelValue", "keyword", "label", "node-key", "placeholder", "mode", "prop", "filter", "options", "isView", "helpMessage", "disabled", "props", "check-strictly", "required"])) :
|
|
432
|
+
onChange: v
|
|
433
|
+
}, null, 8, ["col", "modelValue", "keyword", "label", "node-key", "placeholder", "mode", "prop", "filter", "options", "isView", "helpMessage", "disabled", "props", "check-strictly", "required"])) : F("v-if", !0);
|
|
434
434
|
}
|
|
435
435
|
}), We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
436
436
|
__proto__: null,
|
|
437
437
|
default: ca
|
|
438
438
|
}, Symbol.toStringTag, { value: "Module" })), ga = { class: "form-image" }, ma = {
|
|
439
439
|
name: "imageViewer"
|
|
440
|
-
}, va = /* @__PURE__ */
|
|
440
|
+
}, va = /* @__PURE__ */ K({
|
|
441
441
|
...ma,
|
|
442
442
|
props: {
|
|
443
443
|
setting: { default: () => ({
|
|
@@ -452,135 +452,135 @@ const jt = Lt.get("/getBindRelationByDefKey"), Bt = Tt.get("/getByAlias"), Et =
|
|
|
452
452
|
marginRight: {},
|
|
453
453
|
store: {}
|
|
454
454
|
},
|
|
455
|
-
setup(
|
|
456
|
-
const e =
|
|
457
|
-
!
|
|
458
|
-
() =>
|
|
455
|
+
setup(t) {
|
|
456
|
+
const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(), o = l(!0);
|
|
457
|
+
!a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
|
|
458
|
+
() => a.value,
|
|
459
459
|
() => {
|
|
460
|
-
|
|
460
|
+
o.value = a.value[e.setting.name], o.value || (s.value = e.setting.options.file.limit > 1 ? [] : "", _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
|
|
461
461
|
},
|
|
462
462
|
{ deep: !0, immediate: !0 }
|
|
463
463
|
);
|
|
464
|
-
const
|
|
465
|
-
H(e.setting.options.validateList).then((
|
|
466
|
-
|
|
464
|
+
const g = i.value[e.setting.name] || !1, v = l(!1);
|
|
465
|
+
H(e.setting.options.validateList).then((y) => {
|
|
466
|
+
v.value = y;
|
|
467
467
|
});
|
|
468
468
|
const c = l("normal");
|
|
469
469
|
e.isView && (c.value = "info");
|
|
470
470
|
const d = l();
|
|
471
|
-
e.setting.options.tip && (d.value = J(e.setting.options.tip)),
|
|
472
|
-
const C = (
|
|
471
|
+
e.setting.options.tip && (d.value = J(e.setting.options.tip)), s.value = e.setting.options.file.limit > 1 ? [] : "", e.setting.options.file.limit > 1 && r(e.setting.name) ? s.value = r(e.setting.name).split(",") : s.value = r(e.setting.name) || s.value, s.value || u(e.setting.name, null);
|
|
472
|
+
const C = (y) => {
|
|
473
473
|
setTimeout(() => {
|
|
474
|
-
|
|
474
|
+
u(e.setting.name, s.value.toString());
|
|
475
475
|
}, 100);
|
|
476
476
|
};
|
|
477
|
-
return e.setting.options.validateList.length &&
|
|
478
|
-
const h =
|
|
479
|
-
let
|
|
480
|
-
return
|
|
477
|
+
return e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(s.value, (y) => {
|
|
478
|
+
const h = y.map((p) => {
|
|
479
|
+
let f = "";
|
|
480
|
+
return p.indexOf("/oss/") != -1 ? f = p : f = `/oss/${p}`, f;
|
|
481
481
|
});
|
|
482
482
|
setTimeout(() => {
|
|
483
|
-
|
|
483
|
+
u(e.setting.name, h.join(","));
|
|
484
484
|
}, 100);
|
|
485
|
-
}), (
|
|
485
|
+
}), (y, h) => o.value ? (D(), $(n(Q), {
|
|
486
486
|
key: 0,
|
|
487
|
-
modelValue:
|
|
488
|
-
"onUpdate:modelValue": h[2] || (h[2] = (
|
|
487
|
+
modelValue: s.value,
|
|
488
|
+
"onUpdate:modelValue": h[2] || (h[2] = (p) => s.value = p),
|
|
489
489
|
"margin-bottom": "0",
|
|
490
490
|
prop: e.setting.name,
|
|
491
|
-
label:
|
|
491
|
+
label: t.setting.desc,
|
|
492
492
|
type: "custom",
|
|
493
493
|
helpMessage: d.value,
|
|
494
|
-
required:
|
|
494
|
+
required: v.value,
|
|
495
495
|
col: e.span
|
|
496
496
|
}, {
|
|
497
497
|
default: O(() => [
|
|
498
|
-
|
|
499
|
-
M(
|
|
500
|
-
modelValue:
|
|
501
|
-
"onUpdate:modelValue": h[0] || (h[0] = (
|
|
498
|
+
qe("div", ga, [
|
|
499
|
+
M(n(je), {
|
|
500
|
+
modelValue: s.value,
|
|
501
|
+
"onUpdate:modelValue": h[0] || (h[0] = (p) => s.value = p),
|
|
502
502
|
status: c.value,
|
|
503
|
-
"onUpdate:status": h[1] || (h[1] = (
|
|
503
|
+
"onUpdate:status": h[1] || (h[1] = (p) => c.value = p),
|
|
504
504
|
style: {},
|
|
505
505
|
maxSize: "6",
|
|
506
|
-
"limit-num":
|
|
506
|
+
"limit-num": t.setting.options.file.limit,
|
|
507
507
|
prop: e.setting.name,
|
|
508
508
|
"service-name": "hotent",
|
|
509
509
|
"accept-video": "",
|
|
510
510
|
"accept-audio": "",
|
|
511
511
|
videoWidth: 420,
|
|
512
512
|
videoHeight: 680,
|
|
513
|
-
disabled:
|
|
513
|
+
disabled: n(g),
|
|
514
514
|
"show-image-name": "",
|
|
515
|
-
needDownloadBtn:
|
|
516
|
-
needPreview:
|
|
515
|
+
needDownloadBtn: t.setting.options.file.allowDownload == !0,
|
|
516
|
+
needPreview: t.setting.options.file.allowPreview == !0,
|
|
517
517
|
onImageUpload: C,
|
|
518
|
-
required:
|
|
518
|
+
required: v.value
|
|
519
519
|
}, null, 8, ["modelValue", "status", "limit-num", "prop", "disabled", "needDownloadBtn", "needPreview", "required"])
|
|
520
520
|
])
|
|
521
521
|
]),
|
|
522
522
|
_: 1
|
|
523
523
|
/* STABLE */
|
|
524
|
-
}, 8, ["modelValue", "prop", "label", "helpMessage", "required", "col"])) :
|
|
524
|
+
}, 8, ["modelValue", "prop", "label", "helpMessage", "required", "col"])) : F("v-if", !0);
|
|
525
525
|
}
|
|
526
|
-
}), fe = (
|
|
527
|
-
const
|
|
528
|
-
for (const [i,
|
|
529
|
-
|
|
530
|
-
return
|
|
526
|
+
}), fe = (t, e) => {
|
|
527
|
+
const a = t.__vccOpts || t;
|
|
528
|
+
for (const [i, u] of e)
|
|
529
|
+
a[i] = u;
|
|
530
|
+
return a;
|
|
531
531
|
}, fa = /* @__PURE__ */ fe(va, [["__scopeId", "data-v-9c20fc5a"]]), Ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
532
532
|
__proto__: null,
|
|
533
533
|
default: fa
|
|
534
|
-
}, Symbol.toStringTag, { value: "Module" })), ha = (
|
|
535
|
-
const
|
|
536
|
-
return ((
|
|
537
|
-
const
|
|
538
|
-
if (
|
|
539
|
-
let
|
|
540
|
-
switch (
|
|
534
|
+
}, Symbol.toStringTag, { value: "Module" })), ha = (t) => {
|
|
535
|
+
const a = "****", i = String(t), u = i.slice(0, 15), r = i.slice(15);
|
|
536
|
+
return ((s) => {
|
|
537
|
+
const o = s.length;
|
|
538
|
+
if (o < 6) return s;
|
|
539
|
+
let g = 0;
|
|
540
|
+
switch (o) {
|
|
541
541
|
case 6:
|
|
542
542
|
case 7:
|
|
543
|
-
|
|
543
|
+
g = 1;
|
|
544
544
|
break;
|
|
545
545
|
case 8:
|
|
546
546
|
case 9:
|
|
547
|
-
|
|
547
|
+
g = 2;
|
|
548
548
|
break;
|
|
549
549
|
case 10:
|
|
550
550
|
case 11:
|
|
551
|
-
|
|
551
|
+
g = 3;
|
|
552
552
|
break;
|
|
553
553
|
case 12:
|
|
554
|
-
|
|
554
|
+
g = 4;
|
|
555
555
|
break;
|
|
556
556
|
case 13:
|
|
557
|
-
|
|
557
|
+
g = 5;
|
|
558
558
|
break;
|
|
559
559
|
case 14:
|
|
560
|
-
|
|
560
|
+
g = 6;
|
|
561
561
|
break;
|
|
562
562
|
case 15:
|
|
563
|
-
|
|
563
|
+
g = 7;
|
|
564
564
|
break;
|
|
565
565
|
}
|
|
566
|
-
const
|
|
567
|
-
return
|
|
568
|
-
})(
|
|
566
|
+
const v = g + a.length;
|
|
567
|
+
return s.slice(0, g) + a + s.slice(v);
|
|
568
|
+
})(u) + r;
|
|
569
569
|
}, ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
570
570
|
__proto__: null,
|
|
571
571
|
default: ha
|
|
572
|
-
}, Symbol.toStringTag, { value: "Module" })), me = {}, ba = /^\.\/(.+)\/index\.ts$/,
|
|
573
|
-
var
|
|
574
|
-
for (const
|
|
575
|
-
const e =
|
|
576
|
-
me[
|
|
572
|
+
}, Symbol.toStringTag, { value: "Module" })), me = {}, ba = /^\.\/(.+)\/index\.ts$/, Fe = /* @__PURE__ */ Object.assign({ "./phone/index.ts": ya });
|
|
573
|
+
var Ie;
|
|
574
|
+
for (const t in Fe) {
|
|
575
|
+
const e = Fe[t], a = (Ie = t.match(ba)) == null ? void 0 : Ie[1];
|
|
576
|
+
me[a] = e.default;
|
|
577
577
|
}
|
|
578
|
-
const wa = (
|
|
578
|
+
const wa = (t, e) => {
|
|
579
579
|
var i;
|
|
580
|
-
return e ? ((i = me[
|
|
580
|
+
return e ? ((i = me[t]) == null ? void 0 : i.call(me, e)) ?? e : "-";
|
|
581
581
|
}, _a = {
|
|
582
582
|
name: "input"
|
|
583
|
-
}, Ca = /* @__PURE__ */
|
|
583
|
+
}, Ca = /* @__PURE__ */ K({
|
|
584
584
|
..._a,
|
|
585
585
|
props: {
|
|
586
586
|
setting: { default: () => ({
|
|
@@ -595,74 +595,74 @@ const wa = (o, e) => {
|
|
|
595
595
|
marginRight: {},
|
|
596
596
|
store: {}
|
|
597
597
|
},
|
|
598
|
-
setup(
|
|
599
|
-
const e =
|
|
600
|
-
|
|
601
|
-
|
|
598
|
+
setup(t) {
|
|
599
|
+
const e = t, { data: a, showData: i, disabledData: u, setData: r, getData: m, setFormRule: _, deleteRule: s, encryptionData: o } = e.store || {}, g = l(""), v = l(!1);
|
|
600
|
+
o.value.length && o.value.forEach((p) => {
|
|
601
|
+
p.name === e.setting.name && (v.value = !0);
|
|
602
602
|
});
|
|
603
603
|
const c = l(""), d = l(!0);
|
|
604
604
|
!i.value[e.setting.name] && i.value[e.setting.name] != !1 && (i.value[e.setting.name] = !0), k(
|
|
605
605
|
() => i.value,
|
|
606
606
|
() => {
|
|
607
|
-
d.value = i.value[e.setting.name], d.value || (c.value = "",
|
|
607
|
+
d.value = i.value[e.setting.name], d.value || (c.value = "", s(e.setting.name)), d.value && e.setting.options.validateList.length && _(e.setting.name, e.setting.options.validateList);
|
|
608
608
|
},
|
|
609
609
|
{ deep: !0, immediate: !0 }
|
|
610
610
|
), k(
|
|
611
|
-
() =>
|
|
611
|
+
() => a.value,
|
|
612
612
|
() => {
|
|
613
|
-
|
|
613
|
+
a.value[e.setting.name] && (c.value = a.value[e.setting.name]);
|
|
614
614
|
},
|
|
615
615
|
{ deep: !0 }
|
|
616
616
|
);
|
|
617
|
-
const C =
|
|
618
|
-
H(e.setting.options.validateList).then((
|
|
619
|
-
|
|
617
|
+
const C = u.value[e.setting.name] || !1, y = l(!1);
|
|
618
|
+
H(e.setting.options.validateList).then((p) => {
|
|
619
|
+
y.value = p;
|
|
620
620
|
});
|
|
621
621
|
const h = l();
|
|
622
622
|
return e.setting.options.tip && (h.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
623
|
-
c.value =
|
|
624
|
-
}, 50), e.setting.options.validateList.length && _(e.setting.name, e.setting.options.validateList), k(c, (
|
|
625
|
-
e.setting.options.dataType === "number" && !isNaN(
|
|
626
|
-
}), (
|
|
623
|
+
c.value = m(e.setting.name) || e.setting.options.formulasDiyJs || c.value, v && e.isView && (g.value = wa("phone", c.value)), c.value || r(e.setting.name, null);
|
|
624
|
+
}, 50), e.setting.options.validateList.length && _(e.setting.name, e.setting.options.validateList), k(c, (p) => {
|
|
625
|
+
e.setting.options.dataType === "number" && !isNaN(p) ? r(e.setting.name, Number(p)) : r(e.setting.name, p);
|
|
626
|
+
}), (p, f) => (D(), Y(
|
|
627
627
|
X,
|
|
628
628
|
null,
|
|
629
629
|
[
|
|
630
|
-
d.value &&
|
|
630
|
+
d.value && v.value && e.isView ? (D(), $(n(Q), {
|
|
631
631
|
key: 0,
|
|
632
632
|
col: e.span,
|
|
633
633
|
prop: e.setting.name,
|
|
634
634
|
modelValue: c.value,
|
|
635
|
-
"onUpdate:modelValue":
|
|
636
|
-
label:
|
|
635
|
+
"onUpdate:modelValue": f[1] || (f[1] = (z) => c.value = z),
|
|
636
|
+
label: t.setting.desc,
|
|
637
637
|
type: "custom",
|
|
638
638
|
helpMessage: h.value,
|
|
639
|
-
required:
|
|
639
|
+
required: y.value
|
|
640
640
|
}, {
|
|
641
641
|
default: O(() => [
|
|
642
|
-
M(
|
|
642
|
+
M(n(Ve), {
|
|
643
643
|
placement: "top",
|
|
644
644
|
disabled: !c.value,
|
|
645
645
|
content: c.value
|
|
646
646
|
}, {
|
|
647
647
|
default: O(() => [
|
|
648
|
-
M(
|
|
649
|
-
modelValue:
|
|
650
|
-
"onUpdate:modelValue":
|
|
651
|
-
width:
|
|
652
|
-
disabled:
|
|
653
|
-
isView:
|
|
654
|
-
placeholder:
|
|
648
|
+
M(n(Ct), {
|
|
649
|
+
modelValue: g.value,
|
|
650
|
+
"onUpdate:modelValue": f[0] || (f[0] = (z) => g.value = z),
|
|
651
|
+
width: t.setting.options.width,
|
|
652
|
+
disabled: t.setting.options.isInputEdit || n(C),
|
|
653
|
+
isView: t.setting.options.isReadonly || e.isView,
|
|
654
|
+
placeholder: t.setting.options.placeholder
|
|
655
655
|
}, {
|
|
656
656
|
prepend: O(() => [
|
|
657
657
|
ne(
|
|
658
|
-
se(
|
|
658
|
+
se(t.setting.options.bindPreAndSufFixjson.preFix),
|
|
659
659
|
1
|
|
660
660
|
/* TEXT */
|
|
661
661
|
)
|
|
662
662
|
]),
|
|
663
663
|
append: O(() => [
|
|
664
664
|
ne(
|
|
665
|
-
se(
|
|
665
|
+
se(t.setting.options.bindPreAndSufFixjson.sufSix),
|
|
666
666
|
1
|
|
667
667
|
/* TEXT */
|
|
668
668
|
)
|
|
@@ -677,24 +677,24 @@ const wa = (o, e) => {
|
|
|
677
677
|
]),
|
|
678
678
|
_: 1
|
|
679
679
|
/* STABLE */
|
|
680
|
-
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required"])) :
|
|
681
|
-
d.value && (!
|
|
680
|
+
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required"])) : F("v-if", !0),
|
|
681
|
+
d.value && (!v.value || !e.isView) ? (D(), $(n(Q), {
|
|
682
682
|
key: 1,
|
|
683
683
|
col: e.span,
|
|
684
684
|
modelValue: c.value,
|
|
685
|
-
"onUpdate:modelValue":
|
|
686
|
-
width:
|
|
687
|
-
disabled:
|
|
688
|
-
isView:
|
|
685
|
+
"onUpdate:modelValue": f[2] || (f[2] = (z) => c.value = z),
|
|
686
|
+
width: t.setting.options.width,
|
|
687
|
+
disabled: t.setting.options.isInputEdit || n(C),
|
|
688
|
+
isView: t.setting.options.isReadonly || e.isView,
|
|
689
689
|
prop: e.setting.name,
|
|
690
|
-
label:
|
|
690
|
+
label: t.setting.desc,
|
|
691
691
|
type: "input",
|
|
692
692
|
helpMessage: h.value,
|
|
693
|
-
required:
|
|
694
|
-
placeholder:
|
|
693
|
+
required: y.value,
|
|
694
|
+
placeholder: t.setting.options.placeholder
|
|
695
695
|
}, {
|
|
696
696
|
default: O(() => [
|
|
697
|
-
|
|
697
|
+
F(` <DasInput\r
|
|
698
698
|
v-model="inputValue"\r
|
|
699
699
|
>\r
|
|
700
700
|
<template #prepend>{{ setting.options.bindPreAndSufFixjson.preFix }}</template>\r
|
|
@@ -703,7 +703,7 @@ const wa = (o, e) => {
|
|
|
703
703
|
]),
|
|
704
704
|
_: 1
|
|
705
705
|
/* STABLE */
|
|
706
|
-
}, 8, ["col", "modelValue", "width", "disabled", "isView", "prop", "label", "helpMessage", "required", "placeholder"])) :
|
|
706
|
+
}, 8, ["col", "modelValue", "width", "disabled", "isView", "prop", "label", "helpMessage", "required", "placeholder"])) : F("v-if", !0)
|
|
707
707
|
],
|
|
708
708
|
64
|
|
709
709
|
/* STABLE_FRAGMENT */
|
|
@@ -714,7 +714,7 @@ const wa = (o, e) => {
|
|
|
714
714
|
default: Ca
|
|
715
715
|
}, Symbol.toStringTag, { value: "Module" })), za = {
|
|
716
716
|
name: "number"
|
|
717
|
-
}, Va = /* @__PURE__ */
|
|
717
|
+
}, Va = /* @__PURE__ */ K({
|
|
718
718
|
...za,
|
|
719
719
|
props: {
|
|
720
720
|
setting: { default: () => ({
|
|
@@ -729,49 +729,49 @@ const wa = (o, e) => {
|
|
|
729
729
|
marginRight: {},
|
|
730
730
|
store: {}
|
|
731
731
|
},
|
|
732
|
-
setup(
|
|
733
|
-
const e =
|
|
734
|
-
!
|
|
735
|
-
() =>
|
|
732
|
+
setup(t) {
|
|
733
|
+
const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(0), o = l(!0);
|
|
734
|
+
!a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
|
|
735
|
+
() => a.value,
|
|
736
736
|
() => {
|
|
737
|
-
|
|
737
|
+
o.value = a.value[e.setting.name], o.value || (s.value = 0, _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
|
|
738
738
|
},
|
|
739
739
|
{ deep: !0, immediate: !0 }
|
|
740
740
|
);
|
|
741
|
-
const
|
|
741
|
+
const g = i.value[e.setting.name] || !1, v = l(!1);
|
|
742
742
|
H(e.setting.options.validateList).then((d) => {
|
|
743
|
-
|
|
743
|
+
v.value = d;
|
|
744
744
|
});
|
|
745
745
|
const c = l();
|
|
746
746
|
return e.setting.options.tip && (c.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
747
|
-
|
|
748
|
-
}, 50), e.setting.options.validateList.length &&
|
|
749
|
-
|
|
750
|
-
}), (d, C) =>
|
|
747
|
+
s.value = r(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || u(e.setting.name, null);
|
|
748
|
+
}, 50), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(s, (d) => {
|
|
749
|
+
u(e.setting.name, d);
|
|
750
|
+
}), (d, C) => o.value ? (D(), $(n(Q), {
|
|
751
751
|
key: 0,
|
|
752
752
|
col: e.span,
|
|
753
|
-
modelValue:
|
|
754
|
-
"onUpdate:modelValue": C[0] || (C[0] = (
|
|
753
|
+
modelValue: s.value,
|
|
754
|
+
"onUpdate:modelValue": C[0] || (C[0] = (y) => s.value = y),
|
|
755
755
|
style: { width: "100%" },
|
|
756
|
-
label:
|
|
756
|
+
label: t.setting.desc,
|
|
757
757
|
type: "inputNumber",
|
|
758
758
|
prop: e.setting.name,
|
|
759
|
-
max:
|
|
760
|
-
min:
|
|
761
|
-
step:
|
|
762
|
-
disabled:
|
|
759
|
+
max: t.setting.options.max,
|
|
760
|
+
min: t.setting.options.min,
|
|
761
|
+
step: t.setting.options.step,
|
|
762
|
+
disabled: n(g),
|
|
763
763
|
isView: e.isView,
|
|
764
|
-
precision:
|
|
764
|
+
precision: t.setting.options.decimalDigits,
|
|
765
765
|
helpMessage: c.value,
|
|
766
|
-
required:
|
|
767
|
-
}, null, 8, ["col", "modelValue", "label", "prop", "max", "min", "step", "disabled", "isView", "precision", "helpMessage", "required"])) :
|
|
766
|
+
required: v.value
|
|
767
|
+
}, null, 8, ["col", "modelValue", "label", "prop", "max", "min", "step", "disabled", "isView", "precision", "helpMessage", "required"])) : F("v-if", !0);
|
|
768
768
|
}
|
|
769
769
|
}), Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
770
770
|
__proto__: null,
|
|
771
771
|
default: Va
|
|
772
772
|
}, Symbol.toStringTag, { value: "Module" })), Da = {
|
|
773
773
|
name: "radio"
|
|
774
|
-
}, Ma = /* @__PURE__ */
|
|
774
|
+
}, Ma = /* @__PURE__ */ K({
|
|
775
775
|
...Da,
|
|
776
776
|
props: {
|
|
777
777
|
setting: { default: () => ({
|
|
@@ -788,63 +788,63 @@ const wa = (o, e) => {
|
|
|
788
788
|
marginRight: {},
|
|
789
789
|
store: {}
|
|
790
790
|
},
|
|
791
|
-
setup(
|
|
792
|
-
const e =
|
|
793
|
-
!
|
|
794
|
-
() =>
|
|
791
|
+
setup(t) {
|
|
792
|
+
const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(null), o = l(!0);
|
|
793
|
+
!a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
|
|
794
|
+
() => a.value,
|
|
795
795
|
() => {
|
|
796
|
-
|
|
796
|
+
o.value = a.value[e.setting.name], o.value || (s.value = null, _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
|
|
797
797
|
},
|
|
798
798
|
{ deep: !0, immediate: !0 }
|
|
799
799
|
);
|
|
800
|
-
const
|
|
801
|
-
H(e.setting.options.validateList).then((
|
|
802
|
-
|
|
800
|
+
const g = i.value[e.setting.name] || !1, v = l(!1);
|
|
801
|
+
H(e.setting.options.validateList).then((p) => {
|
|
802
|
+
v.value = p;
|
|
803
803
|
});
|
|
804
804
|
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", C = l([]);
|
|
805
|
-
e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((
|
|
806
|
-
C.value =
|
|
805
|
+
e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((p) => {
|
|
806
|
+
C.value = p;
|
|
807
807
|
}) : C.value = e.setting.options.options;
|
|
808
|
-
const
|
|
809
|
-
e.setting.options.tip && (
|
|
810
|
-
|
|
811
|
-
}, 50), e.setting.options.validateList.length &&
|
|
812
|
-
|
|
808
|
+
const y = l();
|
|
809
|
+
e.setting.options.tip && (y.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
810
|
+
s.value = r(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || u(e.setting.name, null);
|
|
811
|
+
}, 50), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(s, (p) => {
|
|
812
|
+
u(e.setting.name, p);
|
|
813
813
|
});
|
|
814
|
-
const h = (
|
|
815
|
-
e.setting.options.linkage.length && e.setting.options.linkage.forEach((
|
|
816
|
-
if (
|
|
817
|
-
const b =
|
|
818
|
-
|
|
814
|
+
const h = (p) => {
|
|
815
|
+
e.setting.options.linkage.length && e.setting.options.linkage.forEach((f) => {
|
|
816
|
+
if (f.value === p) {
|
|
817
|
+
const b = f.effect[0].target.split(".")[2];
|
|
818
|
+
a.value[b] = f.effect[0].type === "w";
|
|
819
819
|
}
|
|
820
820
|
});
|
|
821
821
|
};
|
|
822
|
-
return (
|
|
822
|
+
return (p, f) => o.value ? (D(), $(n(Q), {
|
|
823
823
|
key: 0,
|
|
824
824
|
onChange: h,
|
|
825
825
|
col: e.span,
|
|
826
|
-
modelValue:
|
|
827
|
-
"onUpdate:modelValue":
|
|
828
|
-
layout:
|
|
829
|
-
label:
|
|
826
|
+
modelValue: s.value,
|
|
827
|
+
"onUpdate:modelValue": f[0] || (f[0] = (z) => s.value = z),
|
|
828
|
+
layout: t.setting.options.inline ? "vertical" : "default",
|
|
829
|
+
label: t.setting.desc,
|
|
830
830
|
type: "radio",
|
|
831
831
|
prop: e.setting.name,
|
|
832
832
|
options: C.value,
|
|
833
833
|
isView: e.isView,
|
|
834
|
-
optionsValueKey:
|
|
835
|
-
optionsLabelKey:
|
|
836
|
-
helpMessage:
|
|
837
|
-
disabled:
|
|
838
|
-
required:
|
|
834
|
+
optionsValueKey: n(c),
|
|
835
|
+
optionsLabelKey: n(d),
|
|
836
|
+
helpMessage: y.value,
|
|
837
|
+
disabled: n(g),
|
|
838
|
+
required: v.value,
|
|
839
839
|
isSetTimeout: !0
|
|
840
|
-
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) :
|
|
840
|
+
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : F("v-if", !0);
|
|
841
841
|
}
|
|
842
842
|
}), et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
843
843
|
__proto__: null,
|
|
844
844
|
default: Ma
|
|
845
845
|
}, Symbol.toStringTag, { value: "Module" })), ka = {
|
|
846
846
|
name: "select"
|
|
847
|
-
}, Sa = /* @__PURE__ */
|
|
847
|
+
}, Sa = /* @__PURE__ */ K({
|
|
848
848
|
...ka,
|
|
849
849
|
props: {
|
|
850
850
|
setting: { default: () => ({
|
|
@@ -859,117 +859,117 @@ const wa = (o, e) => {
|
|
|
859
859
|
marginRight: {},
|
|
860
860
|
store: {}
|
|
861
861
|
},
|
|
862
|
-
setup(
|
|
863
|
-
var
|
|
864
|
-
const e =
|
|
865
|
-
!
|
|
866
|
-
() =>
|
|
862
|
+
setup(t) {
|
|
863
|
+
var f, z;
|
|
864
|
+
const e = t, { showData: a, disabledData: i, linkData: u, setData: r, getData: m, setFormRule: _, deleteRule: s } = e.store || {}, o = l(), g = l(!0);
|
|
865
|
+
!a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
|
|
866
|
+
() => a.value,
|
|
867
867
|
() => {
|
|
868
|
-
|
|
868
|
+
g.value = a.value[e.setting.name], g.value || (o.value = null, s(e.setting.name)), g.value && e.setting.options.validateList.length && _(e.setting.name, e.setting.options.validateList);
|
|
869
869
|
},
|
|
870
870
|
{ deep: !0, immediate: !0 }
|
|
871
871
|
), k(
|
|
872
|
-
() =>
|
|
872
|
+
() => u.value,
|
|
873
873
|
() => {
|
|
874
|
-
|
|
874
|
+
u.value.data.forEach((b) => {
|
|
875
875
|
if (e.setting.options.customQuery.alias && e.setting.options.customQuery.alias === b.alias) {
|
|
876
|
-
|
|
877
|
-
const
|
|
878
|
-
let
|
|
879
|
-
|
|
880
|
-
const V =
|
|
881
|
-
|
|
876
|
+
o.value = null;
|
|
877
|
+
const L = b.conditionfield.filter((j) => j.defaultType == 1);
|
|
878
|
+
let T = {};
|
|
879
|
+
L.forEach((j) => {
|
|
880
|
+
const V = j.fieldPath.split("."), N = V[V.length - 1];
|
|
881
|
+
T[j.field] = m(N);
|
|
882
882
|
}), le(
|
|
883
883
|
e.setting.options.customQuery.alias,
|
|
884
884
|
e.setting.options.customQuery.conditionfield,
|
|
885
|
-
|
|
886
|
-
).then((
|
|
887
|
-
|
|
885
|
+
T
|
|
886
|
+
).then((j) => {
|
|
887
|
+
y.value = j;
|
|
888
888
|
});
|
|
889
889
|
}
|
|
890
890
|
});
|
|
891
891
|
},
|
|
892
892
|
{ deep: !0 }
|
|
893
893
|
);
|
|
894
|
-
const
|
|
894
|
+
const v = i.value[e.setting.name] || !1, c = l(!1);
|
|
895
895
|
H(e.setting.options.validateList).then((b) => {
|
|
896
896
|
c.value = b;
|
|
897
897
|
});
|
|
898
|
-
const d = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", C = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value",
|
|
898
|
+
const d = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", C = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", y = l([]);
|
|
899
899
|
if (e.setting.options.customQuery.alias) {
|
|
900
|
-
let b = (z = (
|
|
900
|
+
let b = (z = (f = e.setting.options) == null ? void 0 : f.customQuery) == null ? void 0 : z.conditionfield;
|
|
901
901
|
typeof b == "string" && (b = JSON.parse(b));
|
|
902
|
-
const
|
|
903
|
-
let
|
|
904
|
-
|
|
905
|
-
var
|
|
906
|
-
const V = (
|
|
907
|
-
|
|
908
|
-
}), le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield,
|
|
909
|
-
(
|
|
910
|
-
|
|
902
|
+
const L = b.filter((j) => j.defaultType == 1);
|
|
903
|
+
let T = {};
|
|
904
|
+
L.forEach((j) => {
|
|
905
|
+
var I;
|
|
906
|
+
const V = (I = j.fieldPath) == null ? void 0 : I.split("."), N = V[V.length - 1];
|
|
907
|
+
T[j.field] = m(N);
|
|
908
|
+
}), le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield, T).then(
|
|
909
|
+
(j) => {
|
|
910
|
+
y.value = j;
|
|
911
911
|
}
|
|
912
912
|
);
|
|
913
913
|
} else
|
|
914
|
-
|
|
914
|
+
y.value = e.setting.options.options;
|
|
915
915
|
const h = l();
|
|
916
|
-
e.setting.options.tip && (h.value = J(e.setting.options.tip)),
|
|
917
|
-
e.setting.options.multiple && (
|
|
918
|
-
}, 50), e.setting.options.validateList.length && _(e.setting.name, e.setting.options.validateList), k(
|
|
916
|
+
e.setting.options.tip && (h.value = J(e.setting.options.tip)), o.value = e.setting.options.multiple ? [] : null, setTimeout(() => {
|
|
917
|
+
e.setting.options.multiple && (m(e.setting.name) || e.setting.options.formulasDiyJs) ? (m(e.setting.name) && (o.value = m(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (o.value = e.setting.options.formulasDiyJs.split(","))) : o.value = m(e.setting.name) || e.setting.options.formulasDiyJs || o.value, o.value || r(e.setting.name, null);
|
|
918
|
+
}, 50), e.setting.options.validateList.length && _(e.setting.name, e.setting.options.validateList), k(o, (b) => {
|
|
919
919
|
e.setting.options.multiple ? r(e.setting.name, b.toString()) : r(e.setting.name, b);
|
|
920
920
|
});
|
|
921
|
-
const
|
|
922
|
-
e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((
|
|
923
|
-
if (
|
|
924
|
-
const
|
|
925
|
-
|
|
921
|
+
const p = (b) => {
|
|
922
|
+
e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((L) => {
|
|
923
|
+
if (L.value === b) {
|
|
924
|
+
const j = L.effect[0].target.split(".")[2];
|
|
925
|
+
a.value[j] = L.effect[0].type === "w";
|
|
926
926
|
}
|
|
927
927
|
});
|
|
928
928
|
};
|
|
929
|
-
return (b,
|
|
929
|
+
return (b, L) => g.value ? (D(), $(n(Q), {
|
|
930
930
|
key: 0,
|
|
931
931
|
col: e.span,
|
|
932
|
-
modelValue:
|
|
933
|
-
"onUpdate:modelValue":
|
|
934
|
-
label:
|
|
935
|
-
onChange:
|
|
932
|
+
modelValue: o.value,
|
|
933
|
+
"onUpdate:modelValue": L[0] || (L[0] = (T) => o.value = T),
|
|
934
|
+
label: t.setting.desc,
|
|
935
|
+
onChange: p,
|
|
936
936
|
type: "select",
|
|
937
937
|
prop: e.setting.name,
|
|
938
|
-
placeholder:
|
|
939
|
-
mode:
|
|
940
|
-
showSearch:
|
|
938
|
+
placeholder: t.setting.options.placeholder,
|
|
939
|
+
mode: t.setting.options.multiple ? "tags" : "combobox",
|
|
940
|
+
showSearch: t.setting.options.filterable,
|
|
941
941
|
allowClear: !0,
|
|
942
942
|
isView: e.isView,
|
|
943
|
-
options:
|
|
944
|
-
optionsValueKey:
|
|
945
|
-
optionsLabelKey:
|
|
943
|
+
options: y.value,
|
|
944
|
+
optionsValueKey: n(d),
|
|
945
|
+
optionsLabelKey: n(C),
|
|
946
946
|
helpMessage: h.value,
|
|
947
|
-
disabled:
|
|
947
|
+
disabled: n(v),
|
|
948
948
|
required: c.value
|
|
949
|
-
}, null, 8, ["col", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) :
|
|
949
|
+
}, null, 8, ["col", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : F("v-if", !0);
|
|
950
950
|
}
|
|
951
951
|
}), tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
952
952
|
__proto__: null,
|
|
953
953
|
default: Sa
|
|
954
|
-
}, Symbol.toStringTag, { value: "Module" })), Na = (
|
|
954
|
+
}, Symbol.toStringTag, { value: "Module" })), Na = (t, e, a) => {
|
|
955
955
|
var ae, ee, Z, de, ce;
|
|
956
|
-
const i =
|
|
957
|
-
user:
|
|
958
|
-
org:
|
|
959
|
-
role:
|
|
960
|
-
job:
|
|
961
|
-
post:
|
|
962
|
-
supplier:
|
|
963
|
-
source:
|
|
964
|
-
},
|
|
965
|
-
user:
|
|
966
|
-
org:
|
|
967
|
-
role:
|
|
968
|
-
job:
|
|
969
|
-
post:
|
|
970
|
-
supplier:
|
|
971
|
-
source:
|
|
972
|
-
},
|
|
956
|
+
const i = Be().id, u = l(!1), r = (ce = (de = (Z = (ee = (ae = t == null ? void 0 : t.options) == null ? void 0 : ae.selector) == null ? void 0 : ee.type) == null ? void 0 : Z.alias) == null ? void 0 : de.replace("eip-", "")) == null ? void 0 : ce.replace("-selector", ""), m = l([]), _ = l(""), s = l(""), o = {
|
|
957
|
+
user: E("搜索姓名/账号/手机号").value,
|
|
958
|
+
org: E("搜索组织名称/组织编码").value,
|
|
959
|
+
role: E("搜索角色名称").value,
|
|
960
|
+
job: E("职务名称/职务编码").value,
|
|
961
|
+
post: E("搜索岗位名称/岗位编码").value,
|
|
962
|
+
supplier: E("搜索供应商编码/名称").value,
|
|
963
|
+
source: E("搜索单据编码/申请人").value
|
|
964
|
+
}, g = {
|
|
965
|
+
user: E("添加用户").value,
|
|
966
|
+
org: E("组织选择器").value,
|
|
967
|
+
role: E("角色选择器").value,
|
|
968
|
+
job: E("职务选择器").value,
|
|
969
|
+
post: E("岗位选择器").value,
|
|
970
|
+
supplier: E("选择供应商").value,
|
|
971
|
+
source: E("选择源单").value
|
|
972
|
+
}, v = {
|
|
973
973
|
user: "id",
|
|
974
974
|
org: "id",
|
|
975
975
|
role: "id",
|
|
@@ -978,25 +978,25 @@ const wa = (o, e) => {
|
|
|
978
978
|
supplier: "id",
|
|
979
979
|
source: "code"
|
|
980
980
|
}, c = {
|
|
981
|
-
1:
|
|
982
|
-
2:
|
|
983
|
-
3:
|
|
981
|
+
1: E("正常").value,
|
|
982
|
+
2: E("锁定").value,
|
|
983
|
+
3: E("禁用").value
|
|
984
984
|
}, d = {
|
|
985
|
-
0:
|
|
986
|
-
1:
|
|
985
|
+
0: E("普通").value,
|
|
986
|
+
1: E("管理员").value
|
|
987
987
|
}, C = {
|
|
988
|
-
0:
|
|
989
|
-
1:
|
|
990
|
-
},
|
|
991
|
-
user:
|
|
988
|
+
0: E("无效").value,
|
|
989
|
+
1: E("有效").value
|
|
990
|
+
}, y = {
|
|
991
|
+
user: Kt,
|
|
992
992
|
org: ye,
|
|
993
|
-
role:
|
|
993
|
+
role: Qt,
|
|
994
994
|
job: ye,
|
|
995
995
|
post: ye,
|
|
996
996
|
supplier: Xt
|
|
997
|
-
}, h =
|
|
998
|
-
var
|
|
999
|
-
r === "supplier" ? (
|
|
997
|
+
}, h = g[r], p = l({}), f = l([]), z = () => {
|
|
998
|
+
var q, U;
|
|
999
|
+
r === "supplier" ? (p.value = {
|
|
1000
1000
|
left: !1,
|
|
1001
1001
|
content: {
|
|
1002
1002
|
api: Gt,
|
|
@@ -1024,13 +1024,13 @@ const wa = (o, e) => {
|
|
|
1024
1024
|
}
|
|
1025
1025
|
},
|
|
1026
1026
|
right: !1
|
|
1027
|
-
},
|
|
1027
|
+
}, T(), L()) : r === "source" ? (p.value = {
|
|
1028
1028
|
left: !1,
|
|
1029
1029
|
content: {
|
|
1030
1030
|
api: ta,
|
|
1031
1031
|
params: {
|
|
1032
1032
|
key: "",
|
|
1033
|
-
code:
|
|
1033
|
+
code: a
|
|
1034
1034
|
},
|
|
1035
1035
|
selectListProps: {
|
|
1036
1036
|
data: []
|
|
@@ -1042,10 +1042,10 @@ const wa = (o, e) => {
|
|
|
1042
1042
|
}
|
|
1043
1043
|
},
|
|
1044
1044
|
right: !1
|
|
1045
|
-
}, b()) : r === "org" ? (
|
|
1045
|
+
}, b()) : r === "org" ? (p.value = {
|
|
1046
1046
|
left: !1,
|
|
1047
1047
|
content: {
|
|
1048
|
-
api:
|
|
1048
|
+
api: Ut,
|
|
1049
1049
|
params: {
|
|
1050
1050
|
search: ""
|
|
1051
1051
|
},
|
|
@@ -1053,16 +1053,16 @@ const wa = (o, e) => {
|
|
|
1053
1053
|
data: []
|
|
1054
1054
|
}
|
|
1055
1055
|
}
|
|
1056
|
-
}, b()) :
|
|
1056
|
+
}, b()) : p.value = {
|
|
1057
1057
|
left: {
|
|
1058
|
-
api:
|
|
1058
|
+
api: Bt,
|
|
1059
1059
|
params: {
|
|
1060
1060
|
projectId: i,
|
|
1061
1061
|
parentId: i
|
|
1062
1062
|
},
|
|
1063
1063
|
props: {
|
|
1064
1064
|
inputOptions: {
|
|
1065
|
-
placeholder:
|
|
1065
|
+
placeholder: E("搜索组织名称").value
|
|
1066
1066
|
}
|
|
1067
1067
|
}
|
|
1068
1068
|
},
|
|
@@ -1071,8 +1071,8 @@ const wa = (o, e) => {
|
|
|
1071
1071
|
data: []
|
|
1072
1072
|
}
|
|
1073
1073
|
}
|
|
1074
|
-
}, r === "user" && (
|
|
1075
|
-
api:
|
|
1074
|
+
}, r === "user" && (p.value.content = {
|
|
1075
|
+
api: Et,
|
|
1076
1076
|
searchKey: "groupId",
|
|
1077
1077
|
params: {
|
|
1078
1078
|
status: 1,
|
|
@@ -1081,8 +1081,8 @@ const wa = (o, e) => {
|
|
|
1081
1081
|
selectListProps: {
|
|
1082
1082
|
data: []
|
|
1083
1083
|
}
|
|
1084
|
-
}, b()), r === "role" && (
|
|
1085
|
-
api:
|
|
1084
|
+
}, b()), r === "role" && (p.value.content = {
|
|
1085
|
+
api: At,
|
|
1086
1086
|
searchKey: "orgId",
|
|
1087
1087
|
params: {
|
|
1088
1088
|
status: 1
|
|
@@ -1090,7 +1090,7 @@ const wa = (o, e) => {
|
|
|
1090
1090
|
selectListProps: {
|
|
1091
1091
|
data: []
|
|
1092
1092
|
}
|
|
1093
|
-
}, b()), r === "job" && (
|
|
1093
|
+
}, b()), r === "job" && (p.value.content = {
|
|
1094
1094
|
api: Jt,
|
|
1095
1095
|
searchKey: "groupId",
|
|
1096
1096
|
props: {
|
|
@@ -1099,7 +1099,7 @@ const wa = (o, e) => {
|
|
|
1099
1099
|
selectListProps: {
|
|
1100
1100
|
data: []
|
|
1101
1101
|
}
|
|
1102
|
-
}, b()), r === "post" && (
|
|
1102
|
+
}, b()), r === "post" && (p.value.content = {
|
|
1103
1103
|
api: Yt,
|
|
1104
1104
|
searchKey: "groupId",
|
|
1105
1105
|
props: {
|
|
@@ -1108,14 +1108,14 @@ const wa = (o, e) => {
|
|
|
1108
1108
|
selectListProps: {
|
|
1109
1109
|
data: []
|
|
1110
1110
|
}
|
|
1111
|
-
}, b()),
|
|
1111
|
+
}, b()), p.value.content.multiple = r === "supplier" || r === "source" ? !1 : !((U = (q = t == null ? void 0 : t.options) == null ? void 0 : q.selector) != null && U.isSingle);
|
|
1112
1112
|
}, b = async () => {
|
|
1113
|
-
|
|
1113
|
+
f.value = [
|
|
1114
1114
|
{
|
|
1115
1115
|
type: "searchInput",
|
|
1116
1116
|
key: "inputtKey",
|
|
1117
1117
|
label: "",
|
|
1118
|
-
placeholder:
|
|
1118
|
+
placeholder: o[r],
|
|
1119
1119
|
value: "",
|
|
1120
1120
|
clearable: !0,
|
|
1121
1121
|
isIconLeft: !0,
|
|
@@ -1123,13 +1123,13 @@ const wa = (o, e) => {
|
|
|
1123
1123
|
size: "small"
|
|
1124
1124
|
}
|
|
1125
1125
|
];
|
|
1126
|
-
},
|
|
1127
|
-
|
|
1126
|
+
}, L = async () => {
|
|
1127
|
+
f.value = [
|
|
1128
1128
|
{
|
|
1129
1129
|
type: "searchInput",
|
|
1130
1130
|
key: "inputtKey",
|
|
1131
1131
|
label: "",
|
|
1132
|
-
placeholder:
|
|
1132
|
+
placeholder: o[r],
|
|
1133
1133
|
value: "",
|
|
1134
1134
|
clearable: !0,
|
|
1135
1135
|
isIconLeft: !0,
|
|
@@ -1138,7 +1138,7 @@ const wa = (o, e) => {
|
|
|
1138
1138
|
},
|
|
1139
1139
|
{
|
|
1140
1140
|
type: "select",
|
|
1141
|
-
label:
|
|
1141
|
+
label: E("供应商类型").value,
|
|
1142
1142
|
layout: "out",
|
|
1143
1143
|
width: "200px",
|
|
1144
1144
|
closable: !0,
|
|
@@ -1150,25 +1150,25 @@ const wa = (o, e) => {
|
|
|
1150
1150
|
allowClear: !0
|
|
1151
1151
|
}
|
|
1152
1152
|
];
|
|
1153
|
-
},
|
|
1154
|
-
const
|
|
1153
|
+
}, T = async () => {
|
|
1154
|
+
const q = {
|
|
1155
1155
|
name: "",
|
|
1156
1156
|
published: 1
|
|
1157
|
-
}, [
|
|
1158
|
-
|
|
1159
|
-
},
|
|
1160
|
-
var
|
|
1161
|
-
_.value = "",
|
|
1162
|
-
const
|
|
1163
|
-
|
|
1157
|
+
}, [U, B] = await ea(q).run();
|
|
1158
|
+
U || (f.value[1].options = B);
|
|
1159
|
+
}, j = () => {
|
|
1160
|
+
var U;
|
|
1161
|
+
_.value = "", u.value = !0;
|
|
1162
|
+
const q = v[r];
|
|
1163
|
+
p.value.content.selectListProps.data = (U = m == null ? void 0 : m.value) == null ? void 0 : U.map((B) => ({ name: B == null ? void 0 : B.label, [q]: B == null ? void 0 : B.value }));
|
|
1164
1164
|
};
|
|
1165
1165
|
z();
|
|
1166
1166
|
const V = async () => {
|
|
1167
|
-
var
|
|
1168
|
-
|
|
1169
|
-
...(
|
|
1167
|
+
var q, U, B, x, A, R, S, re, ke, Se, Ne, Oe, Le, Te, xe, Re, $e;
|
|
1168
|
+
p.value.content.params = {
|
|
1169
|
+
...(U = (q = p == null ? void 0 : p.value) == null ? void 0 : q.content) == null ? void 0 : U.params,
|
|
1170
1170
|
pageIndex: 1
|
|
1171
|
-
}, (r === "user" || r === "org" || r === "post" || r === "role" || r === "job") && (
|
|
1171
|
+
}, (r === "user" || r === "org" || r === "post" || r === "role" || r === "job") && (p.value.content.params.name = (B = f == null ? void 0 : f.value[0]) == null ? void 0 : B.value), r === "source" && (p.value.content.params.key = (x = f == null ? void 0 : f.value[0]) == null ? void 0 : x.value), r === "supplier" && (p.value.content.params.querys = [
|
|
1172
1172
|
{
|
|
1173
1173
|
property: "orgId",
|
|
1174
1174
|
value: i,
|
|
@@ -1176,25 +1176,25 @@ const wa = (o, e) => {
|
|
|
1176
1176
|
relation: "AND",
|
|
1177
1177
|
operation: "EQUAL"
|
|
1178
1178
|
}
|
|
1179
|
-
], (
|
|
1179
|
+
], (A = f == null ? void 0 : f.value[0]) != null && A.value && (p.value.content.params.querys = (Ne = (re = (S = (R = p == null ? void 0 : p.value) == null ? void 0 : R.content) == null ? void 0 : S.params) == null ? void 0 : re.querys) == null ? void 0 : Ne.concat([
|
|
1180
1180
|
{
|
|
1181
1181
|
property: "name",
|
|
1182
|
-
value: (ke =
|
|
1182
|
+
value: (ke = f == null ? void 0 : f.value[0]) == null ? void 0 : ke.value,
|
|
1183
1183
|
group: "merge",
|
|
1184
1184
|
relation: "OR",
|
|
1185
1185
|
operation: "LIKE"
|
|
1186
1186
|
},
|
|
1187
1187
|
{
|
|
1188
1188
|
property: "code",
|
|
1189
|
-
value: (Se =
|
|
1189
|
+
value: (Se = f == null ? void 0 : f.value[0]) == null ? void 0 : Se.value,
|
|
1190
1190
|
group: "merge",
|
|
1191
1191
|
relation: "OR",
|
|
1192
1192
|
operation: "LIKE"
|
|
1193
1193
|
}
|
|
1194
|
-
])), (Oe =
|
|
1194
|
+
])), (Oe = f == null ? void 0 : f.value[1]) != null && Oe.value && (p.value.content.params.querys = ($e = (xe = (Te = (Le = p == null ? void 0 : p.value) == null ? void 0 : Le.content) == null ? void 0 : Te.params) == null ? void 0 : xe.querys) == null ? void 0 : $e.concat([
|
|
1195
1195
|
{
|
|
1196
1196
|
property: "classificationId",
|
|
1197
|
-
value: (
|
|
1197
|
+
value: (Re = f == null ? void 0 : f.value[1]) == null ? void 0 : Re.value,
|
|
1198
1198
|
group: "quick",
|
|
1199
1199
|
relation: "AND",
|
|
1200
1200
|
operation: "EQUAL"
|
|
@@ -1202,98 +1202,98 @@ const wa = (o, e) => {
|
|
|
1202
1202
|
])));
|
|
1203
1203
|
};
|
|
1204
1204
|
k(
|
|
1205
|
-
() =>
|
|
1206
|
-
(
|
|
1207
|
-
|
|
1205
|
+
() => u == null ? void 0 : u.value,
|
|
1206
|
+
(q) => {
|
|
1207
|
+
q || N();
|
|
1208
1208
|
}
|
|
1209
1209
|
);
|
|
1210
1210
|
const N = async () => {
|
|
1211
|
-
r === "supplier" ? (
|
|
1211
|
+
r === "supplier" ? (f.value[0].value = "", f.value[1].value = void 0) : (r === "org" || r === "user" || r === "source" || r === "post" || r === "role" || r === "job") && (f.value[0].value = ""), z();
|
|
1212
1212
|
};
|
|
1213
1213
|
return {
|
|
1214
|
-
dialogVisible:
|
|
1214
|
+
dialogVisible: u,
|
|
1215
1215
|
title: h,
|
|
1216
1216
|
searchName: _,
|
|
1217
1217
|
selectorType: r,
|
|
1218
|
-
selectOptions:
|
|
1219
|
-
tableOptions:
|
|
1218
|
+
selectOptions: m,
|
|
1219
|
+
tableOptions: p,
|
|
1220
1220
|
userStatusMap: c,
|
|
1221
1221
|
roleTypeMap: d,
|
|
1222
1222
|
roleStatusMap: C,
|
|
1223
|
-
openDialog:
|
|
1224
|
-
confirm: (
|
|
1225
|
-
var
|
|
1226
|
-
const
|
|
1227
|
-
|
|
1223
|
+
openDialog: j,
|
|
1224
|
+
confirm: (q) => {
|
|
1225
|
+
var B;
|
|
1226
|
+
const U = v[r];
|
|
1227
|
+
m.value = q == null ? void 0 : q.map((x) => ({ label: (x == null ? void 0 : x.name) || (x == null ? void 0 : x.code), value: x[U] })), r === "supplier" && (s.value = (B = q[0]) == null ? void 0 : B.linkmanPhone);
|
|
1228
1228
|
},
|
|
1229
|
-
getDetail: async (
|
|
1230
|
-
if (!
|
|
1231
|
-
const
|
|
1232
|
-
let
|
|
1233
|
-
const
|
|
1229
|
+
getDetail: async (q) => {
|
|
1230
|
+
if (!q) return;
|
|
1231
|
+
const U = y[r];
|
|
1232
|
+
let B = {};
|
|
1233
|
+
const x = q == null ? void 0 : q.split(",");
|
|
1234
1234
|
if (r === "source") {
|
|
1235
|
-
|
|
1235
|
+
m.value = [
|
|
1236
1236
|
{
|
|
1237
|
-
label:
|
|
1238
|
-
value:
|
|
1237
|
+
label: q,
|
|
1238
|
+
value: q
|
|
1239
1239
|
}
|
|
1240
1240
|
];
|
|
1241
1241
|
return;
|
|
1242
|
-
} else r === "user" ?
|
|
1243
|
-
const [
|
|
1244
|
-
|
|
1242
|
+
} else r === "user" ? B.userIds = x : r === "role" ? B.ids = x : r === "supplier" ? B.id = x : B = x;
|
|
1243
|
+
const [A, R] = await U(B).run();
|
|
1244
|
+
A || (r === "supplier" ? m.value = [
|
|
1245
1245
|
{
|
|
1246
|
-
label: (
|
|
1247
|
-
value:
|
|
1246
|
+
label: (R == null ? void 0 : R.name) || (R == null ? void 0 : R.code),
|
|
1247
|
+
value: R == null ? void 0 : R.id
|
|
1248
1248
|
}
|
|
1249
|
-
] :
|
|
1249
|
+
] : m.value = R == null ? void 0 : R.map((S) => ({ label: (S == null ? void 0 : S.name) || (S == null ? void 0 : S.code), value: S == null ? void 0 : S.id })));
|
|
1250
1250
|
},
|
|
1251
1251
|
searchData: V,
|
|
1252
|
-
searchOptions:
|
|
1253
|
-
linkmanPhone:
|
|
1252
|
+
searchOptions: f,
|
|
1253
|
+
linkmanPhone: s
|
|
1254
1254
|
};
|
|
1255
1255
|
}, Oa = () => {
|
|
1256
|
-
const
|
|
1256
|
+
const t = l(""), e = l(""), a = l([]), i = l("");
|
|
1257
1257
|
return {
|
|
1258
|
-
spacePath:
|
|
1258
|
+
spacePath: t,
|
|
1259
1259
|
spaceName: e,
|
|
1260
|
-
spaceTreeData:
|
|
1260
|
+
spaceTreeData: a,
|
|
1261
1261
|
searchSpace: i,
|
|
1262
|
-
changeSpace: (
|
|
1263
|
-
|
|
1262
|
+
changeSpace: (s, o) => {
|
|
1263
|
+
t.value = o[0].path, e.value = o[0].pathName;
|
|
1264
1264
|
},
|
|
1265
|
-
spaceLoad: async (
|
|
1266
|
-
let
|
|
1265
|
+
spaceLoad: async (s) => {
|
|
1266
|
+
let o = {
|
|
1267
1267
|
pageSize: 1e4,
|
|
1268
1268
|
pageIndex: 1,
|
|
1269
|
-
projectId:
|
|
1269
|
+
projectId: Be().id,
|
|
1270
1270
|
//项目id
|
|
1271
1271
|
spaceId: ""
|
|
1272
1272
|
// orgId:getProjectInfo().id
|
|
1273
1273
|
};
|
|
1274
|
-
|
|
1275
|
-
let
|
|
1276
|
-
const [
|
|
1277
|
-
return
|
|
1274
|
+
o.spaceId = s != null && s.id ? s.id : "";
|
|
1275
|
+
let g = Ht;
|
|
1276
|
+
const [v, c] = await g(o).run();
|
|
1277
|
+
return v ? {} : c;
|
|
1278
1278
|
},
|
|
1279
|
-
filterSpaceTree: async (
|
|
1280
|
-
if (!
|
|
1281
|
-
let
|
|
1282
|
-
const
|
|
1283
|
-
name:
|
|
1284
|
-
}, [
|
|
1285
|
-
return
|
|
1279
|
+
filterSpaceTree: async (s) => {
|
|
1280
|
+
if (!s) return [];
|
|
1281
|
+
let o = Wt;
|
|
1282
|
+
const g = {
|
|
1283
|
+
name: s
|
|
1284
|
+
}, [v, c] = await o(g).run();
|
|
1285
|
+
return v ? {} : (c.forEach((d) => {
|
|
1286
1286
|
d.path.startsWith("/0") && (d.path = d.path.slice(2) + `/${d.id}`), d._name = d.nodeName ? d.nodeName : d.name;
|
|
1287
1287
|
}), c);
|
|
1288
1288
|
},
|
|
1289
|
-
getSpaceDetail: async (
|
|
1290
|
-
const [
|
|
1291
|
-
|
|
1289
|
+
getSpaceDetail: async (s) => {
|
|
1290
|
+
const [o, g] = await Zt().run({ spaceId: s });
|
|
1291
|
+
o || (t.value = g.path);
|
|
1292
1292
|
}
|
|
1293
1293
|
};
|
|
1294
1294
|
}, La = { class: "table-search-process-top" }, Ta = {
|
|
1295
1295
|
name: "selector"
|
|
1296
|
-
},
|
|
1296
|
+
}, xa = /* @__PURE__ */ K({
|
|
1297
1297
|
...Ta,
|
|
1298
1298
|
props: {
|
|
1299
1299
|
setting: { default: () => ({
|
|
@@ -1308,113 +1308,113 @@ const wa = (o, e) => {
|
|
|
1308
1308
|
marginRight: {},
|
|
1309
1309
|
store: {}
|
|
1310
1310
|
},
|
|
1311
|
-
setup(
|
|
1312
|
-
const e =
|
|
1313
|
-
!
|
|
1314
|
-
() =>
|
|
1311
|
+
setup(t) {
|
|
1312
|
+
const e = t, { showData: a, setData: i, getData: u, flowKey: r, setFormRule: m, deleteRule: _, disabledData: s } = e.store || {}, o = l(""), g = l(!0);
|
|
1313
|
+
!a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
|
|
1314
|
+
() => a.value,
|
|
1315
1315
|
() => {
|
|
1316
|
-
|
|
1316
|
+
g.value = a.value[e.setting.name], g.value || (o.value = "", p.value = [], _(e.setting.name)), g.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
|
|
1317
1317
|
},
|
|
1318
1318
|
{ deep: !0, immediate: !0 }
|
|
1319
1319
|
);
|
|
1320
|
-
const
|
|
1320
|
+
const v = s.value[e.setting.name] || !1, {
|
|
1321
1321
|
dialogVisible: c,
|
|
1322
1322
|
title: d,
|
|
1323
1323
|
searchName: C,
|
|
1324
|
-
tableOptions:
|
|
1324
|
+
tableOptions: y,
|
|
1325
1325
|
selectorType: h,
|
|
1326
|
-
selectOptions:
|
|
1327
|
-
userStatusMap:
|
|
1326
|
+
selectOptions: p,
|
|
1327
|
+
userStatusMap: f,
|
|
1328
1328
|
roleTypeMap: z,
|
|
1329
1329
|
roleStatusMap: b,
|
|
1330
|
-
openDialog:
|
|
1331
|
-
confirm:
|
|
1332
|
-
getDetail:
|
|
1330
|
+
openDialog: L,
|
|
1331
|
+
confirm: T,
|
|
1332
|
+
getDetail: j,
|
|
1333
1333
|
searchData: V,
|
|
1334
1334
|
searchOptions: N,
|
|
1335
|
-
linkmanPhone:
|
|
1336
|
-
} = Na(e.setting, r,
|
|
1337
|
-
H(e.setting.options.validateList).then((
|
|
1338
|
-
|
|
1335
|
+
linkmanPhone: I
|
|
1336
|
+
} = Na(e.setting, r, o), { spacePath: W, spaceName: ae, searchSpace: ee, changeSpace: Z, spaceLoad: de, filterSpaceTree: ce, getSpaceDetail: q } = Oa(), U = l(!1);
|
|
1337
|
+
H(e.setting.options.validateList).then((x) => {
|
|
1338
|
+
U.value = x;
|
|
1339
1339
|
});
|
|
1340
|
-
const
|
|
1341
|
-
return e.setting.options.tip && (
|
|
1342
|
-
i(e.setting.name,
|
|
1343
|
-
}), k(ae, (
|
|
1344
|
-
i(e.setting.options.selector.type.positionName,
|
|
1345
|
-
})) : h == "supplier" ? (
|
|
1346
|
-
i(e.setting.name,
|
|
1347
|
-
}), k(
|
|
1348
|
-
var
|
|
1349
|
-
((re = (S = (
|
|
1350
|
-
})) : (
|
|
1351
|
-
|
|
1352
|
-
})), (
|
|
1340
|
+
const B = l();
|
|
1341
|
+
return e.setting.options.tip && (B.value = J(e.setting.options.tip)), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), h == "position" ? (o.value = u(e.setting.name) ? u(e.setting.name) : o.value, o.value && q(o.value), o.value || i(e.setting.name, null), k(o, (x) => {
|
|
1342
|
+
i(e.setting.name, x);
|
|
1343
|
+
}), k(ae, (x) => {
|
|
1344
|
+
i(e.setting.options.selector.type.positionName, x);
|
|
1345
|
+
})) : h == "supplier" ? (o.value = u(e.setting.name) ? [u(e.setting.name)] : [o.value], o.value && j(u(e.setting.name)), k(o, (x) => {
|
|
1346
|
+
i(e.setting.name, x == null ? void 0 : x.toString());
|
|
1347
|
+
}), k(I, (x) => {
|
|
1348
|
+
var A, R, S, re;
|
|
1349
|
+
((re = (S = (R = (A = e == null ? void 0 : e.setting) == null ? void 0 : A.options) == null ? void 0 : R.selector) == null ? void 0 : S.type) == null ? void 0 : re.supplierPhone) !== void 0 && i(e.setting.options.selector.type.supplierPhone, x);
|
|
1350
|
+
})) : (o.value = u(e.setting.name) ? u(e.setting.name) : o.value, o.value && j(o.value), o.value.length || i(e.setting.name, null), k(p, (x) => {
|
|
1351
|
+
o.value = x.map((A) => A.value).toString(), i(e.setting.name, o.value);
|
|
1352
|
+
})), (x, A) => (D(), Y(
|
|
1353
1353
|
X,
|
|
1354
1354
|
null,
|
|
1355
1355
|
[
|
|
1356
|
-
|
|
1356
|
+
g.value && n(h) != "position" ? (D(), $(n(Q), {
|
|
1357
1357
|
key: 0,
|
|
1358
1358
|
col: e.span,
|
|
1359
|
-
modelValue:
|
|
1360
|
-
"onUpdate:modelValue":
|
|
1359
|
+
modelValue: o.value,
|
|
1360
|
+
"onUpdate:modelValue": A[1] || (A[1] = (R) => o.value = R),
|
|
1361
1361
|
prop: e.setting.name,
|
|
1362
|
-
label:
|
|
1362
|
+
label: t.setting.desc,
|
|
1363
1363
|
type: "inputDialogSelect",
|
|
1364
|
-
options:
|
|
1365
|
-
helpMessage:
|
|
1364
|
+
options: n(p),
|
|
1365
|
+
helpMessage: B.value,
|
|
1366
1366
|
isView: e.isView,
|
|
1367
|
-
disabled:
|
|
1368
|
-
required:
|
|
1369
|
-
placeholder:
|
|
1370
|
-
onOpenDialog:
|
|
1367
|
+
disabled: n(v),
|
|
1368
|
+
required: U.value,
|
|
1369
|
+
placeholder: t.setting.options.placeholder || n(w)("请选择"),
|
|
1370
|
+
onOpenDialog: n(L)
|
|
1371
1371
|
}, {
|
|
1372
1372
|
default: O(() => {
|
|
1373
|
-
var
|
|
1373
|
+
var R;
|
|
1374
1374
|
return [
|
|
1375
|
-
M(
|
|
1375
|
+
M(n(Dt), {
|
|
1376
1376
|
"append-to-body": "",
|
|
1377
|
-
modelValue:
|
|
1378
|
-
"onUpdate:modelValue":
|
|
1379
|
-
options:
|
|
1380
|
-
onConfirm:
|
|
1381
|
-
title:
|
|
1377
|
+
modelValue: n(c),
|
|
1378
|
+
"onUpdate:modelValue": A[0] || (A[0] = (S) => he(c) ? c.value = S : null),
|
|
1379
|
+
options: n(y),
|
|
1380
|
+
onConfirm: n(T),
|
|
1381
|
+
title: n(d),
|
|
1382
1382
|
"body-style": { padding: "0px" }
|
|
1383
1383
|
}, gt({
|
|
1384
1384
|
_: 2
|
|
1385
1385
|
/* DYNAMIC */
|
|
1386
1386
|
}, [
|
|
1387
|
-
((
|
|
1387
|
+
((R = n(N)) == null ? void 0 : R.length) > 0 ? {
|
|
1388
1388
|
name: "table-header-search",
|
|
1389
1389
|
fn: O(() => [
|
|
1390
|
-
|
|
1391
|
-
M(
|
|
1390
|
+
qe("div", La, [
|
|
1391
|
+
M(n(Vt), {
|
|
1392
1392
|
labelLength: "6",
|
|
1393
|
-
options:
|
|
1394
|
-
onConfirm:
|
|
1393
|
+
options: n(N),
|
|
1394
|
+
onConfirm: n(V),
|
|
1395
1395
|
"is-margin-right": !1
|
|
1396
1396
|
}, null, 8, ["options", "onConfirm"])
|
|
1397
1397
|
])
|
|
1398
1398
|
]),
|
|
1399
1399
|
key: "0"
|
|
1400
1400
|
} : void 0,
|
|
1401
|
-
|
|
1401
|
+
n(h) === "user" ? {
|
|
1402
1402
|
name: "table-column",
|
|
1403
1403
|
fn: O(() => [
|
|
1404
|
-
M(
|
|
1405
|
-
label:
|
|
1404
|
+
M(n(P), {
|
|
1405
|
+
label: n(w)("姓名"),
|
|
1406
1406
|
prop: "name"
|
|
1407
1407
|
}, null, 8, ["label"]),
|
|
1408
|
-
M(
|
|
1409
|
-
label:
|
|
1408
|
+
M(n(P), {
|
|
1409
|
+
label: n(w)("账号"),
|
|
1410
1410
|
prop: "userName"
|
|
1411
1411
|
}, null, 8, ["label"]),
|
|
1412
|
-
M(
|
|
1413
|
-
label:
|
|
1412
|
+
M(n(P), {
|
|
1413
|
+
label: n(w)("手机号"),
|
|
1414
1414
|
prop: "sensitivePhone"
|
|
1415
1415
|
}, {
|
|
1416
1416
|
default: O(({ row: S }) => [
|
|
1417
|
-
M(
|
|
1417
|
+
M(n(Ve), {
|
|
1418
1418
|
placement: "top",
|
|
1419
1419
|
content: S.phone,
|
|
1420
1420
|
disabled: !S.phone
|
|
@@ -1433,12 +1433,12 @@ const wa = (o, e) => {
|
|
|
1433
1433
|
_: 1
|
|
1434
1434
|
/* STABLE */
|
|
1435
1435
|
}, 8, ["label"]),
|
|
1436
|
-
M(
|
|
1437
|
-
label:
|
|
1436
|
+
M(n(P), {
|
|
1437
|
+
label: n(w)("状态")
|
|
1438
1438
|
}, {
|
|
1439
1439
|
default: O(({ row: S }) => [
|
|
1440
1440
|
ne(
|
|
1441
|
-
se(
|
|
1441
|
+
se(n(f)[S.status]),
|
|
1442
1442
|
1
|
|
1443
1443
|
/* TEXT */
|
|
1444
1444
|
)
|
|
@@ -1449,37 +1449,37 @@ const wa = (o, e) => {
|
|
|
1449
1449
|
]),
|
|
1450
1450
|
key: "1"
|
|
1451
1451
|
} : void 0,
|
|
1452
|
-
|
|
1452
|
+
n(h) === "org" ? {
|
|
1453
1453
|
name: "table-column",
|
|
1454
1454
|
fn: O(() => [
|
|
1455
|
-
M(
|
|
1456
|
-
label:
|
|
1455
|
+
M(n(P), {
|
|
1456
|
+
label: n(w)("组织名称"),
|
|
1457
1457
|
prop: "name"
|
|
1458
1458
|
}, null, 8, ["label"]),
|
|
1459
|
-
M(
|
|
1460
|
-
label:
|
|
1459
|
+
M(n(P), {
|
|
1460
|
+
label: n(w)("组织编码"),
|
|
1461
1461
|
prop: "code"
|
|
1462
1462
|
}, null, 8, ["label"]),
|
|
1463
|
-
M(
|
|
1464
|
-
label:
|
|
1463
|
+
M(n(P), {
|
|
1464
|
+
label: n(w)("组织类型"),
|
|
1465
1465
|
prop: "typeName"
|
|
1466
1466
|
}, null, 8, ["label"])
|
|
1467
1467
|
]),
|
|
1468
1468
|
key: "2"
|
|
1469
1469
|
} : void 0,
|
|
1470
|
-
|
|
1470
|
+
n(h) === "role" ? {
|
|
1471
1471
|
name: "table-column",
|
|
1472
1472
|
fn: O(() => [
|
|
1473
|
-
M(
|
|
1474
|
-
label:
|
|
1473
|
+
M(n(P), {
|
|
1474
|
+
label: n(w)("角色名称"),
|
|
1475
1475
|
prop: "name"
|
|
1476
1476
|
}, null, 8, ["label"]),
|
|
1477
|
-
M(
|
|
1478
|
-
label:
|
|
1477
|
+
M(n(P), {
|
|
1478
|
+
label: n(w)("角色类型")
|
|
1479
1479
|
}, {
|
|
1480
1480
|
default: O(({ row: S }) => [
|
|
1481
1481
|
ne(
|
|
1482
|
-
se(
|
|
1482
|
+
se(n(z)[S.type]),
|
|
1483
1483
|
1
|
|
1484
1484
|
/* TEXT */
|
|
1485
1485
|
)
|
|
@@ -1487,12 +1487,12 @@ const wa = (o, e) => {
|
|
|
1487
1487
|
_: 1
|
|
1488
1488
|
/* STABLE */
|
|
1489
1489
|
}, 8, ["label"]),
|
|
1490
|
-
M(
|
|
1491
|
-
label:
|
|
1490
|
+
M(n(P), {
|
|
1491
|
+
label: n(w)("角色状态")
|
|
1492
1492
|
}, {
|
|
1493
1493
|
default: O(({ row: S }) => [
|
|
1494
1494
|
ne(
|
|
1495
|
-
se(
|
|
1495
|
+
se(n(b)[S.status]),
|
|
1496
1496
|
1
|
|
1497
1497
|
/* TEXT */
|
|
1498
1498
|
)
|
|
@@ -1503,80 +1503,80 @@ const wa = (o, e) => {
|
|
|
1503
1503
|
]),
|
|
1504
1504
|
key: "3"
|
|
1505
1505
|
} : void 0,
|
|
1506
|
-
|
|
1506
|
+
n(h) === "job" ? {
|
|
1507
1507
|
name: "table-column",
|
|
1508
1508
|
fn: O(() => [
|
|
1509
|
-
M(
|
|
1510
|
-
label:
|
|
1509
|
+
M(n(P), {
|
|
1510
|
+
label: n(w)("职务名称"),
|
|
1511
1511
|
prop: "name"
|
|
1512
1512
|
}, null, 8, ["label"]),
|
|
1513
|
-
M(
|
|
1514
|
-
label:
|
|
1513
|
+
M(n(P), {
|
|
1514
|
+
label: n(w)("职务编码"),
|
|
1515
1515
|
prop: "code"
|
|
1516
1516
|
}, null, 8, ["label"]),
|
|
1517
|
-
M(
|
|
1518
|
-
label:
|
|
1517
|
+
M(n(P), {
|
|
1518
|
+
label: n(w)("所属组织路径"),
|
|
1519
1519
|
prop: "groupName"
|
|
1520
1520
|
}, null, 8, ["label"])
|
|
1521
1521
|
]),
|
|
1522
1522
|
key: "4"
|
|
1523
1523
|
} : void 0,
|
|
1524
|
-
|
|
1524
|
+
n(h) === "post" ? {
|
|
1525
1525
|
name: "table-column",
|
|
1526
1526
|
fn: O(() => [
|
|
1527
|
-
M(
|
|
1528
|
-
label:
|
|
1527
|
+
M(n(P), {
|
|
1528
|
+
label: n(w)("岗位名称"),
|
|
1529
1529
|
prop: "name"
|
|
1530
1530
|
}, null, 8, ["label"]),
|
|
1531
|
-
M(
|
|
1532
|
-
label:
|
|
1531
|
+
M(n(P), {
|
|
1532
|
+
label: n(w)("岗位编码"),
|
|
1533
1533
|
prop: "code"
|
|
1534
1534
|
}, null, 8, ["label"]),
|
|
1535
|
-
M(
|
|
1536
|
-
label:
|
|
1535
|
+
M(n(P), {
|
|
1536
|
+
label: n(w)("所属组织路径"),
|
|
1537
1537
|
prop: "groupName"
|
|
1538
1538
|
}, null, 8, ["label"])
|
|
1539
1539
|
]),
|
|
1540
1540
|
key: "5"
|
|
1541
1541
|
} : void 0,
|
|
1542
|
-
|
|
1542
|
+
n(h) === "supplier" ? {
|
|
1543
1543
|
name: "table-column",
|
|
1544
1544
|
fn: O(() => [
|
|
1545
|
-
M(
|
|
1545
|
+
M(n(P), {
|
|
1546
1546
|
type: "index",
|
|
1547
1547
|
width: "50"
|
|
1548
1548
|
}),
|
|
1549
|
-
M(
|
|
1550
|
-
label:
|
|
1549
|
+
M(n(P), {
|
|
1550
|
+
label: n(w)("供应商名称"),
|
|
1551
1551
|
prop: "name"
|
|
1552
1552
|
}, null, 8, ["label"]),
|
|
1553
|
-
M(
|
|
1554
|
-
label:
|
|
1553
|
+
M(n(P), {
|
|
1554
|
+
label: n(w)("供应商编码"),
|
|
1555
1555
|
prop: "code"
|
|
1556
1556
|
}, null, 8, ["label"]),
|
|
1557
|
-
M(
|
|
1558
|
-
label:
|
|
1557
|
+
M(n(P), {
|
|
1558
|
+
label: n(w)("供应商等级"),
|
|
1559
1559
|
prop: "supplierLevel"
|
|
1560
1560
|
}, null, 8, ["label"]),
|
|
1561
|
-
M(
|
|
1562
|
-
label:
|
|
1561
|
+
M(n(P), {
|
|
1562
|
+
label: n(w)("供应商分类"),
|
|
1563
1563
|
prop: "classificationName"
|
|
1564
1564
|
}, {
|
|
1565
1565
|
default: O(() => [
|
|
1566
|
-
|
|
1566
|
+
F(` <template #default="{row}">\r
|
|
1567
1567
|
{{ getSupplierName(row) }}\r
|
|
1568
1568
|
</template> `)
|
|
1569
1569
|
]),
|
|
1570
1570
|
_: 1
|
|
1571
1571
|
/* STABLE */
|
|
1572
1572
|
}, 8, ["label"]),
|
|
1573
|
-
M(
|
|
1574
|
-
label:
|
|
1573
|
+
M(n(P), {
|
|
1574
|
+
label: n(w)("个人/公司"),
|
|
1575
1575
|
prop: "businessType"
|
|
1576
1576
|
}, {
|
|
1577
1577
|
default: O(({ row: S }) => [
|
|
1578
1578
|
ne(
|
|
1579
|
-
se(S.businessType == "COMPANY" ?
|
|
1579
|
+
se(S.businessType == "COMPANY" ? n(w)("公司") : n(w)("个人")),
|
|
1580
1580
|
1
|
|
1581
1581
|
/* TEXT */
|
|
1582
1582
|
)
|
|
@@ -1587,27 +1587,27 @@ const wa = (o, e) => {
|
|
|
1587
1587
|
]),
|
|
1588
1588
|
key: "6"
|
|
1589
1589
|
} : void 0,
|
|
1590
|
-
|
|
1590
|
+
n(h) === "source" ? {
|
|
1591
1591
|
name: "table-column",
|
|
1592
1592
|
fn: O(() => [
|
|
1593
|
-
M(
|
|
1593
|
+
M(n(P), {
|
|
1594
1594
|
type: "index",
|
|
1595
1595
|
width: "50"
|
|
1596
1596
|
}),
|
|
1597
|
-
M(
|
|
1598
|
-
label:
|
|
1597
|
+
M(n(P), {
|
|
1598
|
+
label: n(w)("单据编码"),
|
|
1599
1599
|
prop: "code"
|
|
1600
1600
|
}, null, 8, ["label"]),
|
|
1601
|
-
M(
|
|
1602
|
-
label:
|
|
1601
|
+
M(n(P), {
|
|
1602
|
+
label: n(w)("申请人"),
|
|
1603
1603
|
prop: "userName"
|
|
1604
1604
|
}, null, 8, ["label"]),
|
|
1605
|
-
M(
|
|
1606
|
-
label:
|
|
1605
|
+
M(n(P), {
|
|
1606
|
+
label: n(w)("联系电话"),
|
|
1607
1607
|
prop: "sensitivePhone"
|
|
1608
1608
|
}, {
|
|
1609
1609
|
default: O(({ row: S }) => [
|
|
1610
|
-
M(
|
|
1610
|
+
M(n(Ve), {
|
|
1611
1611
|
placement: "top",
|
|
1612
1612
|
content: S.phone,
|
|
1613
1613
|
disabled: !S.phone
|
|
@@ -1626,13 +1626,13 @@ const wa = (o, e) => {
|
|
|
1626
1626
|
_: 1
|
|
1627
1627
|
/* STABLE */
|
|
1628
1628
|
}, 8, ["label"]),
|
|
1629
|
-
M(
|
|
1630
|
-
label:
|
|
1629
|
+
M(n(P), {
|
|
1630
|
+
label: n(w)("计划领用日期"),
|
|
1631
1631
|
prop: "claimingDate"
|
|
1632
1632
|
}, {
|
|
1633
1633
|
default: O(({ row: S }) => [
|
|
1634
1634
|
ne(
|
|
1635
|
-
se(S.claimingDate ?
|
|
1635
|
+
se(S.claimingDate ? n(ve)(Number(S == null ? void 0 : S.claimingDate)).format("YYYY/MM/DD") : "-"),
|
|
1636
1636
|
1
|
|
1637
1637
|
/* TEXT */
|
|
1638
1638
|
)
|
|
@@ -1640,8 +1640,8 @@ const wa = (o, e) => {
|
|
|
1640
1640
|
_: 1
|
|
1641
1641
|
/* STABLE */
|
|
1642
1642
|
}, 8, ["label"]),
|
|
1643
|
-
M(
|
|
1644
|
-
label:
|
|
1643
|
+
M(n(P), {
|
|
1644
|
+
label: n(w)("资产用途"),
|
|
1645
1645
|
prop: "purpose"
|
|
1646
1646
|
}, null, 8, ["label"])
|
|
1647
1647
|
]),
|
|
@@ -1652,52 +1652,52 @@ const wa = (o, e) => {
|
|
|
1652
1652
|
}),
|
|
1653
1653
|
_: 1
|
|
1654
1654
|
/* STABLE */
|
|
1655
|
-
}, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "placeholder", "onOpenDialog"])) :
|
|
1656
|
-
|
|
1655
|
+
}, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "placeholder", "onOpenDialog"])) : F("v-if", !0),
|
|
1656
|
+
g.value && n(h) == "position" ? (D(), $(n(Q), {
|
|
1657
1657
|
key: 1,
|
|
1658
1658
|
col: e.span,
|
|
1659
|
-
label:
|
|
1659
|
+
label: t.setting.desc,
|
|
1660
1660
|
prop: e.setting.name,
|
|
1661
1661
|
type: "treeSelect",
|
|
1662
1662
|
"node-key": "id",
|
|
1663
1663
|
showFullPath: !0,
|
|
1664
|
-
helpMessage:
|
|
1665
|
-
placeholder:
|
|
1666
|
-
required:
|
|
1667
|
-
modelValue:
|
|
1668
|
-
"onUpdate:modelValue":
|
|
1669
|
-
keyword:
|
|
1670
|
-
"onUpdate:keyword":
|
|
1671
|
-
path:
|
|
1672
|
-
"onUpdate:path":
|
|
1664
|
+
helpMessage: B.value,
|
|
1665
|
+
placeholder: t.setting.options.placeholder,
|
|
1666
|
+
required: U.value,
|
|
1667
|
+
modelValue: o.value,
|
|
1668
|
+
"onUpdate:modelValue": A[2] || (A[2] = (R) => o.value = R),
|
|
1669
|
+
keyword: n(ee),
|
|
1670
|
+
"onUpdate:keyword": A[3] || (A[3] = (R) => he(ee) ? ee.value = R : null),
|
|
1671
|
+
path: n(W),
|
|
1672
|
+
"onUpdate:path": A[4] || (A[4] = (R) => he(W) ? W.value = R : null),
|
|
1673
1673
|
isView: e.isView,
|
|
1674
|
-
disabled:
|
|
1675
|
-
load:
|
|
1676
|
-
search:
|
|
1674
|
+
disabled: n(v),
|
|
1675
|
+
load: n(de),
|
|
1676
|
+
search: n(ce),
|
|
1677
1677
|
props: {
|
|
1678
1678
|
isLeaf: "leaf",
|
|
1679
1679
|
label: "name"
|
|
1680
1680
|
},
|
|
1681
|
-
onChange:
|
|
1682
|
-
}, null, 8, ["col", "label", "prop", "helpMessage", "placeholder", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange"])) :
|
|
1681
|
+
onChange: n(Z)
|
|
1682
|
+
}, null, 8, ["col", "label", "prop", "helpMessage", "placeholder", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange"])) : F("v-if", !0)
|
|
1683
1683
|
],
|
|
1684
1684
|
64
|
|
1685
1685
|
/* STABLE_FRAGMENT */
|
|
1686
1686
|
));
|
|
1687
1687
|
}
|
|
1688
|
-
}),
|
|
1688
|
+
}), Ra = /* @__PURE__ */ fe(xa, [["__scopeId", "data-v-e18e7c36"]]), at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1689
1689
|
__proto__: null,
|
|
1690
|
-
default:
|
|
1691
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1690
|
+
default: Ra
|
|
1691
|
+
}, Symbol.toStringTag, { value: "Module" })), $a = {
|
|
1692
1692
|
key: 0,
|
|
1693
1693
|
class: "form-image"
|
|
1694
|
-
},
|
|
1694
|
+
}, Pa = {
|
|
1695
1695
|
key: 1,
|
|
1696
1696
|
style: { "margin-bottom": "10px" }
|
|
1697
|
-
},
|
|
1697
|
+
}, Fa = {
|
|
1698
1698
|
name: "soundRecording"
|
|
1699
|
-
},
|
|
1700
|
-
...
|
|
1699
|
+
}, Ia = /* @__PURE__ */ K({
|
|
1700
|
+
...Fa,
|
|
1701
1701
|
props: {
|
|
1702
1702
|
setting: { default: () => ({
|
|
1703
1703
|
icon: "",
|
|
@@ -1711,59 +1711,59 @@ const wa = (o, e) => {
|
|
|
1711
1711
|
marginRight: {},
|
|
1712
1712
|
store: {}
|
|
1713
1713
|
},
|
|
1714
|
-
setup(
|
|
1715
|
-
const e =
|
|
1716
|
-
!
|
|
1717
|
-
() =>
|
|
1714
|
+
setup(t) {
|
|
1715
|
+
const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(), o = l(!0);
|
|
1716
|
+
!a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
|
|
1717
|
+
() => a.value,
|
|
1718
1718
|
() => {
|
|
1719
|
-
|
|
1719
|
+
o.value = a.value[e.setting.name], o.value || (s.value = "", _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
|
|
1720
1720
|
},
|
|
1721
1721
|
{ deep: !0, immediate: !0 }
|
|
1722
1722
|
), i.value[e.setting.name];
|
|
1723
|
-
const { baseURL:
|
|
1723
|
+
const { baseURL: g } = Mt(), v = l(!1);
|
|
1724
1724
|
H(e.setting.options.validateList).then((C) => {
|
|
1725
|
-
|
|
1725
|
+
v.value = C;
|
|
1726
1726
|
});
|
|
1727
1727
|
const c = l("info"), d = l();
|
|
1728
1728
|
if (e.setting.options.tip && (d.value = J(e.setting.options.tip)), r(e.setting.name)) {
|
|
1729
1729
|
const C = JSON.parse(r(e.setting.name));
|
|
1730
|
-
|
|
1730
|
+
s.value = g + C[0].url;
|
|
1731
1731
|
}
|
|
1732
|
-
return e.setting.options.validateList.length &&
|
|
1732
|
+
return e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), (C, y) => e.isView && o.value ? (D(), $(n(Q), {
|
|
1733
1733
|
key: 0,
|
|
1734
|
-
modelValue:
|
|
1735
|
-
"onUpdate:modelValue":
|
|
1734
|
+
modelValue: s.value,
|
|
1735
|
+
"onUpdate:modelValue": y[2] || (y[2] = (h) => s.value = h),
|
|
1736
1736
|
"margin-bottom": "0",
|
|
1737
1737
|
prop: e.setting.name,
|
|
1738
|
-
label:
|
|
1738
|
+
label: t.setting.desc,
|
|
1739
1739
|
type: "custom",
|
|
1740
1740
|
helpMessage: d.value,
|
|
1741
|
-
required:
|
|
1741
|
+
required: v.value,
|
|
1742
1742
|
col: e.span
|
|
1743
1743
|
}, {
|
|
1744
1744
|
default: O(() => [
|
|
1745
|
-
|
|
1746
|
-
M(
|
|
1747
|
-
modelValue:
|
|
1748
|
-
"onUpdate:modelValue":
|
|
1745
|
+
s.value ? (D(), Y("div", $a, [
|
|
1746
|
+
M(n(je), {
|
|
1747
|
+
modelValue: s.value,
|
|
1748
|
+
"onUpdate:modelValue": y[0] || (y[0] = (h) => s.value = h),
|
|
1749
1749
|
status: c.value,
|
|
1750
|
-
"onUpdate:status":
|
|
1750
|
+
"onUpdate:status": y[1] || (y[1] = (h) => c.value = h),
|
|
1751
1751
|
style: {},
|
|
1752
|
-
required:
|
|
1752
|
+
required: v.value
|
|
1753
1753
|
}, null, 8, ["modelValue", "status", "required"])
|
|
1754
|
-
])) : (D(), Y("div",
|
|
1754
|
+
])) : (D(), Y("div", Pa, "-"))
|
|
1755
1755
|
]),
|
|
1756
1756
|
_: 1
|
|
1757
1757
|
/* STABLE */
|
|
1758
|
-
}, 8, ["modelValue", "prop", "label", "helpMessage", "required", "col"])) :
|
|
1758
|
+
}, 8, ["modelValue", "prop", "label", "helpMessage", "required", "col"])) : F("v-if", !0);
|
|
1759
1759
|
}
|
|
1760
|
-
}),
|
|
1760
|
+
}), qa = /* @__PURE__ */ fe(Ia, [["__scopeId", "data-v-81046faa"]]), nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1761
1761
|
__proto__: null,
|
|
1762
|
-
default:
|
|
1763
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1762
|
+
default: qa
|
|
1763
|
+
}, Symbol.toStringTag, { value: "Module" })), ja = {
|
|
1764
1764
|
name: "switch"
|
|
1765
|
-
},
|
|
1766
|
-
...
|
|
1765
|
+
}, Ba = /* @__PURE__ */ K({
|
|
1766
|
+
...ja,
|
|
1767
1767
|
props: {
|
|
1768
1768
|
setting: { default: () => ({
|
|
1769
1769
|
icon: "",
|
|
@@ -1777,49 +1777,49 @@ const wa = (o, e) => {
|
|
|
1777
1777
|
marginRight: {},
|
|
1778
1778
|
store: {}
|
|
1779
1779
|
},
|
|
1780
|
-
setup(
|
|
1781
|
-
const e =
|
|
1782
|
-
!
|
|
1783
|
-
() =>
|
|
1780
|
+
setup(t) {
|
|
1781
|
+
const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(), o = l(!0);
|
|
1782
|
+
!a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
|
|
1783
|
+
() => a.value,
|
|
1784
1784
|
() => {
|
|
1785
|
-
|
|
1785
|
+
o.value = a.value[e.setting.name], o.value || (s.value = null, _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
|
|
1786
1786
|
},
|
|
1787
1787
|
{ deep: !0, immediate: !0 }
|
|
1788
1788
|
);
|
|
1789
|
-
const
|
|
1789
|
+
const g = i.value[e.setting.name] || !1, v = l(!1);
|
|
1790
1790
|
H(e.setting.options.validateList).then((d) => {
|
|
1791
|
-
|
|
1791
|
+
v.value = d;
|
|
1792
1792
|
});
|
|
1793
1793
|
const c = l();
|
|
1794
1794
|
return e.setting.options.tip && (c.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
1795
|
-
|
|
1796
|
-
}, 50), e.setting.options.validateList.length &&
|
|
1797
|
-
|
|
1798
|
-
}), (d, C) =>
|
|
1795
|
+
s.value = r(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || u(e.setting.name, null);
|
|
1796
|
+
}, 50), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(s, (d) => {
|
|
1797
|
+
u(e.setting.name, d);
|
|
1798
|
+
}), (d, C) => o.value ? (D(), $(n(Q), {
|
|
1799
1799
|
key: 0,
|
|
1800
1800
|
col: e.span,
|
|
1801
|
-
modelValue:
|
|
1802
|
-
"onUpdate:modelValue": C[0] || (C[0] = (
|
|
1803
|
-
label:
|
|
1801
|
+
modelValue: s.value,
|
|
1802
|
+
"onUpdate:modelValue": C[0] || (C[0] = (y) => s.value = y),
|
|
1803
|
+
label: t.setting.desc,
|
|
1804
1804
|
type: "switch",
|
|
1805
1805
|
prop: e.setting.name,
|
|
1806
|
-
activeValue:
|
|
1807
|
-
inactiveValue:
|
|
1808
|
-
activeText:
|
|
1809
|
-
inactiveText:
|
|
1806
|
+
activeValue: t.setting.options.activeValue,
|
|
1807
|
+
inactiveValue: t.setting.options.inactiveValue,
|
|
1808
|
+
activeText: t.setting.options.activeText,
|
|
1809
|
+
inactiveText: t.setting.options.inactiveText,
|
|
1810
1810
|
helpMessage: c.value,
|
|
1811
|
-
disabled:
|
|
1812
|
-
required:
|
|
1811
|
+
disabled: n(g),
|
|
1812
|
+
required: v.value,
|
|
1813
1813
|
isView: e.isView
|
|
1814
|
-
}, null, 8, ["col", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "disabled", "required", "isView"])) :
|
|
1814
|
+
}, null, 8, ["col", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "disabled", "required", "isView"])) : F("v-if", !0);
|
|
1815
1815
|
}
|
|
1816
1816
|
}), st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1817
1817
|
__proto__: null,
|
|
1818
|
-
default:
|
|
1819
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1818
|
+
default: Ba
|
|
1819
|
+
}, Symbol.toStringTag, { value: "Module" })), Ea = {
|
|
1820
1820
|
name: "text"
|
|
1821
|
-
},
|
|
1822
|
-
...
|
|
1821
|
+
}, Ka = /* @__PURE__ */ K({
|
|
1822
|
+
...Ea,
|
|
1823
1823
|
props: {
|
|
1824
1824
|
setting: { default: () => ({
|
|
1825
1825
|
icon: "",
|
|
@@ -1833,45 +1833,45 @@ const wa = (o, e) => {
|
|
|
1833
1833
|
marginRight: {},
|
|
1834
1834
|
store: {}
|
|
1835
1835
|
},
|
|
1836
|
-
setup(
|
|
1837
|
-
const e =
|
|
1838
|
-
!
|
|
1839
|
-
() =>
|
|
1836
|
+
setup(t) {
|
|
1837
|
+
const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(), o = l(!0);
|
|
1838
|
+
!a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
|
|
1839
|
+
() => a.value,
|
|
1840
1840
|
() => {
|
|
1841
|
-
|
|
1841
|
+
o.value = a.value[e.setting.name], o.value || (s.value = null, _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
|
|
1842
1842
|
},
|
|
1843
1843
|
{ deep: !0, immediate: !0 }
|
|
1844
1844
|
);
|
|
1845
|
-
const
|
|
1846
|
-
return e.setting.options.tip && (
|
|
1847
|
-
|
|
1848
|
-
}), (
|
|
1845
|
+
const g = l();
|
|
1846
|
+
return e.setting.options.tip && (g.value = J(e.setting.options.tip)), s.value = e.setting.options.textValue, s.value = r(e.setting.name) || s.value, s.value || u(e.setting.name, null), k(s, (v) => {
|
|
1847
|
+
u(e.setting.name, v);
|
|
1848
|
+
}), (v, c) => o.value ? (D(), $(n(Q), {
|
|
1849
1849
|
key: 0,
|
|
1850
1850
|
col: e.span,
|
|
1851
|
-
modelValue:
|
|
1852
|
-
"onUpdate:modelValue": c[1] || (c[1] = (d) =>
|
|
1853
|
-
label:
|
|
1851
|
+
modelValue: s.value,
|
|
1852
|
+
"onUpdate:modelValue": c[1] || (c[1] = (d) => s.value = d),
|
|
1853
|
+
label: t.setting.desc,
|
|
1854
1854
|
type: "custom",
|
|
1855
|
-
helpMessage:
|
|
1855
|
+
helpMessage: g.value
|
|
1856
1856
|
}, {
|
|
1857
1857
|
default: O(() => [
|
|
1858
|
-
M(
|
|
1858
|
+
M(n(Ee), {
|
|
1859
1859
|
type: "text",
|
|
1860
|
-
modelValue:
|
|
1861
|
-
"onUpdate:modelValue": c[0] || (c[0] = (d) =>
|
|
1860
|
+
modelValue: s.value,
|
|
1861
|
+
"onUpdate:modelValue": c[0] || (c[0] = (d) => s.value = d)
|
|
1862
1862
|
}, null, 8, ["modelValue"])
|
|
1863
1863
|
]),
|
|
1864
1864
|
_: 1
|
|
1865
1865
|
/* STABLE */
|
|
1866
|
-
}, 8, ["col", "modelValue", "label", "helpMessage"])) :
|
|
1866
|
+
}, 8, ["col", "modelValue", "label", "helpMessage"])) : F("v-if", !0);
|
|
1867
1867
|
}
|
|
1868
1868
|
}), ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1869
1869
|
__proto__: null,
|
|
1870
|
-
default:
|
|
1871
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1870
|
+
default: Ka
|
|
1871
|
+
}, Symbol.toStringTag, { value: "Module" })), Aa = {
|
|
1872
1872
|
name: "textarea"
|
|
1873
|
-
},
|
|
1874
|
-
...
|
|
1873
|
+
}, Qa = /* @__PURE__ */ K({
|
|
1874
|
+
...Aa,
|
|
1875
1875
|
props: {
|
|
1876
1876
|
setting: { default: () => ({
|
|
1877
1877
|
icon: "",
|
|
@@ -1885,40 +1885,40 @@ const wa = (o, e) => {
|
|
|
1885
1885
|
marginRight: {},
|
|
1886
1886
|
store: {}
|
|
1887
1887
|
},
|
|
1888
|
-
setup(
|
|
1889
|
-
const e =
|
|
1890
|
-
!
|
|
1891
|
-
() =>
|
|
1888
|
+
setup(t) {
|
|
1889
|
+
const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(""), o = l(!0);
|
|
1890
|
+
!a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
|
|
1891
|
+
() => a.value,
|
|
1892
1892
|
() => {
|
|
1893
|
-
|
|
1893
|
+
o.value = a.value[e.setting.name], o.value || (s.value = "", _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
|
|
1894
1894
|
},
|
|
1895
1895
|
{ deep: !0, immediate: !0 }
|
|
1896
1896
|
);
|
|
1897
|
-
const
|
|
1898
|
-
H(e.setting.options.validateList).then((
|
|
1899
|
-
|
|
1897
|
+
const g = i.value[e.setting.name] || !1, v = l(!1);
|
|
1898
|
+
H(e.setting.options.validateList).then((y) => {
|
|
1899
|
+
v.value = y;
|
|
1900
1900
|
});
|
|
1901
1901
|
const c = l();
|
|
1902
1902
|
e.setting.options.tip && (c.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
1903
|
-
|
|
1903
|
+
s.value = r(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || u(e.setting.name, null);
|
|
1904
1904
|
}, 50);
|
|
1905
1905
|
const d = l(), C = l();
|
|
1906
|
-
return d.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", C.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length &&
|
|
1907
|
-
|
|
1908
|
-
}), (
|
|
1906
|
+
return d.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", C.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(s, (y) => {
|
|
1907
|
+
u(e.setting.name, y);
|
|
1908
|
+
}), (y, h) => (D(), Y(
|
|
1909
1909
|
X,
|
|
1910
1910
|
null,
|
|
1911
1911
|
[
|
|
1912
|
-
!
|
|
1912
|
+
!t.setting.options.isEditor && o.value ? (D(), $(n(Q), {
|
|
1913
1913
|
key: 0,
|
|
1914
1914
|
col: e.span,
|
|
1915
|
-
label:
|
|
1915
|
+
label: t.setting.desc,
|
|
1916
1916
|
type: "textarea",
|
|
1917
|
-
modelValue:
|
|
1918
|
-
"onUpdate:modelValue": h[0] || (h[0] = (
|
|
1917
|
+
modelValue: s.value,
|
|
1918
|
+
"onUpdate:modelValue": h[0] || (h[0] = (p) => s.value = p),
|
|
1919
1919
|
prop: e.setting.name,
|
|
1920
|
-
placeholder:
|
|
1921
|
-
disabled:
|
|
1920
|
+
placeholder: t.setting.options.placeholder,
|
|
1921
|
+
disabled: t.setting.options.isInputEdit || n(g),
|
|
1922
1922
|
isView: e.isView,
|
|
1923
1923
|
autosize: {
|
|
1924
1924
|
minRows: 1,
|
|
@@ -1926,33 +1926,33 @@ const wa = (o, e) => {
|
|
|
1926
1926
|
},
|
|
1927
1927
|
"show-word-limit": "",
|
|
1928
1928
|
helpMessage: c.value,
|
|
1929
|
-
required:
|
|
1930
|
-
}, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) :
|
|
1931
|
-
|
|
1929
|
+
required: v.value
|
|
1930
|
+
}, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) : F("v-if", !0),
|
|
1931
|
+
t.setting.options.isEditor && o.value ? (D(), $(n(Q), {
|
|
1932
1932
|
key: 1,
|
|
1933
|
-
modelValue:
|
|
1934
|
-
"onUpdate:modelValue": h[2] || (h[2] = (
|
|
1933
|
+
modelValue: s.value,
|
|
1934
|
+
"onUpdate:modelValue": h[2] || (h[2] = (p) => s.value = p),
|
|
1935
1935
|
prop: e.setting.name,
|
|
1936
1936
|
contentWidth: d.value,
|
|
1937
|
-
label:
|
|
1937
|
+
label: t.setting.desc,
|
|
1938
1938
|
type: "custom",
|
|
1939
1939
|
helpMessage: c.value,
|
|
1940
|
-
required:
|
|
1940
|
+
required: v.value,
|
|
1941
1941
|
readOnly: e.isView
|
|
1942
1942
|
}, {
|
|
1943
1943
|
default: O(() => [
|
|
1944
|
-
M(
|
|
1944
|
+
M(n(Ee), {
|
|
1945
1945
|
ref: "editor",
|
|
1946
1946
|
width: d.value,
|
|
1947
1947
|
height: C.value,
|
|
1948
|
-
modelValue:
|
|
1949
|
-
"onUpdate:modelValue": h[1] || (h[1] = (
|
|
1950
|
-
placeholder:
|
|
1948
|
+
modelValue: s.value,
|
|
1949
|
+
"onUpdate:modelValue": h[1] || (h[1] = (p) => s.value = p),
|
|
1950
|
+
placeholder: t.setting.options.placeholder
|
|
1951
1951
|
}, null, 8, ["width", "height", "modelValue", "placeholder"])
|
|
1952
1952
|
]),
|
|
1953
1953
|
_: 1
|
|
1954
1954
|
/* STABLE */
|
|
1955
|
-
}, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) :
|
|
1955
|
+
}, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) : F("v-if", !0)
|
|
1956
1956
|
],
|
|
1957
1957
|
64
|
|
1958
1958
|
/* STABLE_FRAGMENT */
|
|
@@ -1960,11 +1960,11 @@ const wa = (o, e) => {
|
|
|
1960
1960
|
}
|
|
1961
1961
|
}), it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1962
1962
|
__proto__: null,
|
|
1963
|
-
default:
|
|
1964
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1963
|
+
default: Qa
|
|
1964
|
+
}, Symbol.toStringTag, { value: "Module" })), Ua = {
|
|
1965
1965
|
name: "time"
|
|
1966
|
-
}, Ya = /* @__PURE__ */
|
|
1967
|
-
...
|
|
1966
|
+
}, Ya = /* @__PURE__ */ K({
|
|
1967
|
+
...Ua,
|
|
1968
1968
|
props: {
|
|
1969
1969
|
setting: { default: () => ({
|
|
1970
1970
|
icon: "",
|
|
@@ -1978,43 +1978,43 @@ const wa = (o, e) => {
|
|
|
1978
1978
|
marginRight: {},
|
|
1979
1979
|
store: {}
|
|
1980
1980
|
},
|
|
1981
|
-
setup(
|
|
1982
|
-
const e =
|
|
1983
|
-
!
|
|
1984
|
-
() =>
|
|
1981
|
+
setup(t) {
|
|
1982
|
+
const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(), o = l(!0);
|
|
1983
|
+
!a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
|
|
1984
|
+
() => a.value,
|
|
1985
1985
|
() => {
|
|
1986
|
-
|
|
1986
|
+
o.value = a.value[e.setting.name], o.value || (s.value = null, _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
|
|
1987
1987
|
},
|
|
1988
1988
|
{ deep: !0, immediate: !0 }
|
|
1989
1989
|
);
|
|
1990
|
-
const
|
|
1990
|
+
const g = i.value[e.setting.name] || !1, v = l(!1);
|
|
1991
1991
|
H(e.setting.options.validateList).then((d) => {
|
|
1992
|
-
|
|
1992
|
+
v.value = d;
|
|
1993
1993
|
});
|
|
1994
1994
|
const c = l();
|
|
1995
1995
|
return e.setting.options.tip && (c.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
1996
1996
|
const d = ve().format("YYYY-MM-DD ");
|
|
1997
|
-
r(e.setting.name) && (
|
|
1998
|
-
}, 50), e.setting.options.validateList.length &&
|
|
1999
|
-
|
|
2000
|
-
}), (d, C) =>
|
|
1997
|
+
r(e.setting.name) && (s.value = r(e.setting.name)), e.setting.options.formulasDiyJs && (s.value = ve(d + e.setting.options.formulasDiyJs)), s.value || u(e.setting.name, null);
|
|
1998
|
+
}, 50), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(s, (d) => {
|
|
1999
|
+
u(e.setting.name, d);
|
|
2000
|
+
}), (d, C) => o.value ? (D(), $(n(Q), {
|
|
2001
2001
|
key: 0,
|
|
2002
2002
|
col: e.span,
|
|
2003
|
-
modelValue:
|
|
2004
|
-
"onUpdate:modelValue": C[0] || (C[0] = (
|
|
2003
|
+
modelValue: s.value,
|
|
2004
|
+
"onUpdate:modelValue": C[0] || (C[0] = (y) => s.value = y),
|
|
2005
2005
|
prop: e.setting.name,
|
|
2006
|
-
label:
|
|
2006
|
+
label: t.setting.desc,
|
|
2007
2007
|
type: "time",
|
|
2008
2008
|
helpMessage: c.value,
|
|
2009
2009
|
isView: e.isView,
|
|
2010
|
-
required:
|
|
2011
|
-
disabled:
|
|
2012
|
-
}, null, 8, ["col", "modelValue", "prop", "label", "helpMessage", "isView", "required", "disabled"])) :
|
|
2010
|
+
required: v.value,
|
|
2011
|
+
disabled: n(g)
|
|
2012
|
+
}, null, 8, ["col", "modelValue", "prop", "label", "helpMessage", "isView", "required", "disabled"])) : F("v-if", !0);
|
|
2013
2013
|
}
|
|
2014
2014
|
}), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2015
2015
|
__proto__: null,
|
|
2016
2016
|
default: Ya
|
|
2017
|
-
}, Symbol.toStringTag, { value: "Module" })), Ja =
|
|
2017
|
+
}, Symbol.toStringTag, { value: "Module" })), Ja = K({
|
|
2018
2018
|
name: "accordion",
|
|
2019
2019
|
props: {
|
|
2020
2020
|
columns: {
|
|
@@ -2030,18 +2030,18 @@ const wa = (o, e) => {
|
|
|
2030
2030
|
type: Object
|
|
2031
2031
|
}
|
|
2032
2032
|
},
|
|
2033
|
-
setup(
|
|
2034
|
-
const e = l([]),
|
|
2035
|
-
const
|
|
2036
|
-
(r) => ie(pe[r.ctrlType], { setting: r, isView:
|
|
2033
|
+
setup(t) {
|
|
2034
|
+
const e = l([]), a = t.columns.map((i) => {
|
|
2035
|
+
const u = i.list.map(
|
|
2036
|
+
(r) => ie(pe[r.ctrlType], { setting: r, isView: t.isView, store: t.store })
|
|
2037
2037
|
);
|
|
2038
2038
|
return i.isOpen == !0 && e.value.push(i.idKey), ie(
|
|
2039
|
-
|
|
2039
|
+
Ae,
|
|
2040
2040
|
{
|
|
2041
2041
|
header: i.span,
|
|
2042
2042
|
key: `${i.idKey}`
|
|
2043
2043
|
},
|
|
2044
|
-
ie("div",
|
|
2044
|
+
ie("div", u)
|
|
2045
2045
|
);
|
|
2046
2046
|
});
|
|
2047
2047
|
return () => {
|
|
@@ -2050,16 +2050,16 @@ const wa = (o, e) => {
|
|
|
2050
2050
|
"div",
|
|
2051
2051
|
{ class: "accordion-layout" },
|
|
2052
2052
|
ie(
|
|
2053
|
-
|
|
2054
|
-
{ activeKey: e.value, collapsible: (i =
|
|
2055
|
-
|
|
2053
|
+
Ke,
|
|
2054
|
+
{ activeKey: e.value, collapsible: (i = t.options) != null && i.accordion ? "" : "disabled" },
|
|
2055
|
+
a
|
|
2056
2056
|
)
|
|
2057
2057
|
);
|
|
2058
2058
|
};
|
|
2059
2059
|
}
|
|
2060
2060
|
}), Ha = {
|
|
2061
2061
|
name: "accordion"
|
|
2062
|
-
}, Wa = /* @__PURE__ */
|
|
2062
|
+
}, Wa = /* @__PURE__ */ K({
|
|
2063
2063
|
...Ha,
|
|
2064
2064
|
props: {
|
|
2065
2065
|
setting: { default: () => ({
|
|
@@ -2087,12 +2087,12 @@ const wa = (o, e) => {
|
|
|
2087
2087
|
isView: { type: Boolean },
|
|
2088
2088
|
store: {}
|
|
2089
2089
|
},
|
|
2090
|
-
setup(
|
|
2091
|
-
return (e,
|
|
2092
|
-
columns:
|
|
2093
|
-
options:
|
|
2094
|
-
isView:
|
|
2095
|
-
store:
|
|
2090
|
+
setup(t) {
|
|
2091
|
+
return (e, a) => (D(), $(n(Ja), {
|
|
2092
|
+
columns: t.setting.columns,
|
|
2093
|
+
options: t.setting.options,
|
|
2094
|
+
isView: t.isView,
|
|
2095
|
+
store: t.store,
|
|
2096
2096
|
style: { "margin-bottom": "10px" }
|
|
2097
2097
|
}, null, 8, ["columns", "options", "isView", "store"]));
|
|
2098
2098
|
}
|
|
@@ -2100,7 +2100,7 @@ const wa = (o, e) => {
|
|
|
2100
2100
|
__proto__: null,
|
|
2101
2101
|
default: Wa
|
|
2102
2102
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2103
|
-
|
|
2103
|
+
K({
|
|
2104
2104
|
name: "grid",
|
|
2105
2105
|
props: {
|
|
2106
2106
|
columns: {
|
|
@@ -2115,21 +2115,21 @@ A({
|
|
|
2115
2115
|
type: Object
|
|
2116
2116
|
}
|
|
2117
2117
|
},
|
|
2118
|
-
setup(
|
|
2118
|
+
setup(t) {
|
|
2119
2119
|
let e = 0;
|
|
2120
|
-
const
|
|
2121
|
-
const
|
|
2120
|
+
const a = t.columns.map((i) => {
|
|
2121
|
+
const u = i.list.map((r) => {
|
|
2122
2122
|
e += i.span;
|
|
2123
|
-
const
|
|
2123
|
+
const m = e == 24 ? "0px" : "80px";
|
|
2124
2124
|
return e == 24 && (e = 0), ie(pt[r.ctrlType], {
|
|
2125
2125
|
setting: r,
|
|
2126
|
-
isView:
|
|
2127
|
-
store:
|
|
2126
|
+
isView: t.isView,
|
|
2127
|
+
store: t.store,
|
|
2128
2128
|
class: "grid-item-layout",
|
|
2129
|
-
marginRight:
|
|
2129
|
+
marginRight: m
|
|
2130
2130
|
});
|
|
2131
2131
|
});
|
|
2132
|
-
return ie(kt, { span: i.span },
|
|
2132
|
+
return ie(kt, { span: i.span }, u);
|
|
2133
2133
|
});
|
|
2134
2134
|
return () => ie(
|
|
2135
2135
|
St,
|
|
@@ -2137,13 +2137,13 @@ A({
|
|
|
2137
2137
|
class: "grid-layout"
|
|
2138
2138
|
// gutter: 0,
|
|
2139
2139
|
},
|
|
2140
|
-
|
|
2140
|
+
a
|
|
2141
2141
|
);
|
|
2142
2142
|
}
|
|
2143
2143
|
});
|
|
2144
2144
|
const Ga = {
|
|
2145
2145
|
name: "grid"
|
|
2146
|
-
}, Xa = /* @__PURE__ */
|
|
2146
|
+
}, Xa = /* @__PURE__ */ K({
|
|
2147
2147
|
...Ga,
|
|
2148
2148
|
props: {
|
|
2149
2149
|
setting: { default: () => ({
|
|
@@ -2168,29 +2168,29 @@ const Ga = {
|
|
|
2168
2168
|
isView: { type: Boolean },
|
|
2169
2169
|
store: {}
|
|
2170
2170
|
},
|
|
2171
|
-
setup(
|
|
2172
|
-
const e =
|
|
2173
|
-
return (
|
|
2171
|
+
setup(t) {
|
|
2172
|
+
const e = t;
|
|
2173
|
+
return (a, i) => (D(), Y(
|
|
2174
2174
|
X,
|
|
2175
2175
|
null,
|
|
2176
2176
|
[
|
|
2177
|
-
|
|
2178
|
-
|
|
2177
|
+
F(' <GridLayout :columns="setting.columns" :isView="props.isView" :store="store"></GridLayout> '),
|
|
2178
|
+
F(' <div style="display: flex; flex-direction: row; flex-wrap: wrap; width: 100%"> '),
|
|
2179
2179
|
(D(!0), Y(
|
|
2180
2180
|
X,
|
|
2181
2181
|
null,
|
|
2182
|
-
ue(t.setting.columns, (
|
|
2182
|
+
ue(t.setting.columns, (u) => (D(), Y(
|
|
2183
2183
|
X,
|
|
2184
2184
|
null,
|
|
2185
2185
|
[
|
|
2186
2186
|
(D(!0), Y(
|
|
2187
2187
|
X,
|
|
2188
2188
|
null,
|
|
2189
|
-
ue(
|
|
2189
|
+
ue(u.list, (r) => (D(), $(ge(n(pt)[r.ctrlType]), {
|
|
2190
2190
|
setting: r,
|
|
2191
2191
|
isView: e.isView,
|
|
2192
2192
|
store: t.store,
|
|
2193
|
-
span:
|
|
2193
|
+
span: u.span
|
|
2194
2194
|
}, null, 8, ["setting", "isView", "store", "span"]))),
|
|
2195
2195
|
256
|
|
2196
2196
|
/* UNKEYED_FRAGMENT */
|
|
@@ -2202,7 +2202,7 @@ const Ga = {
|
|
|
2202
2202
|
256
|
|
2203
2203
|
/* UNKEYED_FRAGMENT */
|
|
2204
2204
|
)),
|
|
2205
|
-
|
|
2205
|
+
F(" </div> ")
|
|
2206
2206
|
],
|
|
2207
2207
|
2112
|
|
2208
2208
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
@@ -2211,65 +2211,65 @@ const Ga = {
|
|
|
2211
2211
|
}), en = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2212
2212
|
__proto__: null,
|
|
2213
2213
|
default: Xa
|
|
2214
|
-
}, Symbol.toStringTag, { value: "Module" })), we = /* @__PURE__ */ Object.assign({ "./base/attachment.vue":
|
|
2215
|
-
Object.keys(_e).map((
|
|
2216
|
-
Object.keys(Ce).map((
|
|
2217
|
-
Object.keys(ze).map((
|
|
2218
|
-
Object.keys(we).map((
|
|
2219
|
-
const pt = { ...rt, ...ut }, an = (
|
|
2220
|
-
(!e || e.toString() === "") && parseInt(e) !== 0 ?
|
|
2221
|
-
}, nn = (
|
|
2222
|
-
e !== "" && e.length > parseInt(i.value) ?
|
|
2223
|
-
}, sn = (
|
|
2224
|
-
e !== "" && e.length < parseInt(i.value) ?
|
|
2225
|
-
}, on = (
|
|
2214
|
+
}, Symbol.toStringTag, { value: "Module" })), we = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ue, "./base/autocomplete.vue": Ye, "./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": it, "./base/time.vue": lt, "./layout/accordion/accordion.vue": Za, "./layout/grid/gridLayout.vue": en }), _e = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ue, "./base/autocomplete.vue": Ye, "./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": it, "./base/time.vue": lt }), Ce = /* @__PURE__ */ Object.assign({}), ze = /* @__PURE__ */ Object.assign({}), pe = {}, rt = {}, ut = {}, tn = {};
|
|
2215
|
+
Object.keys(_e).map((t) => rt[_e[t].default.name] = _e[t].default);
|
|
2216
|
+
Object.keys(Ce).map((t) => ut[Ce[t].default.name] = Ce[t].default);
|
|
2217
|
+
Object.keys(ze).map((t) => tn[ze[t].default.name] = ze[t].default);
|
|
2218
|
+
Object.keys(we).map((t) => pe[we[t].default.name] = we[t].default);
|
|
2219
|
+
const pt = { ...rt, ...ut }, an = (t, e, a, i) => {
|
|
2220
|
+
(!e || e.toString() === "") && parseInt(e) !== 0 ? a(new Error(`${w("*必填")}`)) : a();
|
|
2221
|
+
}, nn = (t, e, a, i) => {
|
|
2222
|
+
e !== "" && e.length > parseInt(i.value) ? a(new Error(`${w("最大文本长度")}${w("不能超过")}${i.value}`)) : a();
|
|
2223
|
+
}, sn = (t, e, a, i) => {
|
|
2224
|
+
e !== "" && e.length < parseInt(i.value) ? a(new Error(`${w("最小文本长度")}${w("不能少于")}${i.value}`)) : a();
|
|
2225
|
+
}, on = (t, e, a, i) => {
|
|
2226
2226
|
if (e !== "" && !/^1[3456789]\d{9}$/.test(e))
|
|
2227
|
-
return
|
|
2228
|
-
|
|
2229
|
-
}, ln = (
|
|
2227
|
+
return a(new Error(w("手机号码格式不正确,请重新输入"))), !1;
|
|
2228
|
+
a();
|
|
2229
|
+
}, ln = (t, e, a) => {
|
|
2230
2230
|
if (e !== "" && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e))
|
|
2231
|
-
return
|
|
2232
|
-
|
|
2233
|
-
}, rn = (
|
|
2231
|
+
return a(new Error(w("电子邮箱格式不正确,请重新输入"))), !1;
|
|
2232
|
+
a();
|
|
2233
|
+
}, rn = (t, e, a) => {
|
|
2234
2234
|
if (e !== "" && !/^-?\d+$/.test(e))
|
|
2235
|
-
return
|
|
2236
|
-
|
|
2237
|
-
}, un = (
|
|
2235
|
+
return a(new Error(w("请输入整数"))), !1;
|
|
2236
|
+
a();
|
|
2237
|
+
}, un = (t, e, a, i) => {
|
|
2238
2238
|
if (e !== "" && e != i.value)
|
|
2239
|
-
return
|
|
2240
|
-
|
|
2241
|
-
}, pn = (
|
|
2242
|
-
e === "" ?
|
|
2243
|
-
}, dn = (
|
|
2244
|
-
e === "" ?
|
|
2245
|
-
}, cn = (
|
|
2246
|
-
const
|
|
2247
|
-
e === "" ?
|
|
2248
|
-
}, gn = (
|
|
2249
|
-
e === "" || parseFloat(e) === parseFloat(i.value) ?
|
|
2250
|
-
}, mn = (
|
|
2251
|
-
e === "" ?
|
|
2252
|
-
}, vn = (
|
|
2239
|
+
return a(new Error(w("请输入相同的值"))), !1;
|
|
2240
|
+
a();
|
|
2241
|
+
}, pn = (t, e, a, i) => {
|
|
2242
|
+
e === "" ? a() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(i.value) ? a(new Error(`${i.name}${w("不能小于")}${i.value}`)) : a() : a(new Error(w("请输入数字")));
|
|
2243
|
+
}, dn = (t, e, a, i) => {
|
|
2244
|
+
e === "" ? a() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(i.value) ? a(new Error(`${i.name}${w("不能大于")}${i.value}`)) : a() : a(new Error(w("请输入数字")));
|
|
2245
|
+
}, cn = (t, e, a, i) => {
|
|
2246
|
+
const u = /^[+-]?(\d*\.\d+([eE]?[+-]?\d+)?|\d+[eE][+-]?\d+)$/, r = /^-?\d+$/;
|
|
2247
|
+
e === "" ? a() : u.test(e) || r.test(e) ? e >= parseFloat(i.start) && e <= parseFloat(i.end) ? a() : a(new Error(`${w("只能输入指定数字范围")}${i.start}-${i.end}`)) : a(new Error(w("请输入数字")));
|
|
2248
|
+
}, gn = (t, e, a, i) => {
|
|
2249
|
+
e === "" || parseFloat(e) === parseFloat(i.value) ? a() : a(new Error(`${w("只能输入指定的值")}${i.value}`));
|
|
2250
|
+
}, mn = (t, e, a, i) => {
|
|
2251
|
+
e === "" ? a() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(i.value) ? a() : a(new Error(`${w("只能输入")}${i.value}${w("位数数字")}`)) : a(new Error(w("请输入整数")));
|
|
2252
|
+
}, vn = (t, e, a) => {
|
|
2253
2253
|
if (e !== "" && !/^[a-zA-Z]{1,}$/.test(e))
|
|
2254
|
-
return
|
|
2255
|
-
|
|
2256
|
-
}, fn = (
|
|
2254
|
+
return a(new Error(w("只能输入字母"))), !1;
|
|
2255
|
+
a();
|
|
2256
|
+
}, fn = (t, e, a) => {
|
|
2257
2257
|
if (e !== "" && !/^[a-zA-Z ]{1,}$/.test(e))
|
|
2258
|
-
return
|
|
2259
|
-
|
|
2260
|
-
}, hn = (
|
|
2258
|
+
return a(new Error(w("只能输入字母空格"))), !1;
|
|
2259
|
+
a();
|
|
2260
|
+
}, hn = (t, e, a) => {
|
|
2261
2261
|
if (e !== "" && !/^[0-9a-zA-Z_-]{1,}$/.test(e))
|
|
2262
|
-
return
|
|
2263
|
-
|
|
2264
|
-
}, yn = (
|
|
2262
|
+
return a(new Error(w("只能输入字母数字横线下划线"))), !1;
|
|
2263
|
+
a();
|
|
2264
|
+
}, yn = (t, e, a) => {
|
|
2265
2265
|
if (e !== "" && !/^[0-9a-zA-Z]{1,}$/.test(e))
|
|
2266
|
-
return
|
|
2267
|
-
|
|
2268
|
-
}, bn = (
|
|
2269
|
-
const
|
|
2270
|
-
if (e !== "" && !
|
|
2271
|
-
return
|
|
2272
|
-
|
|
2266
|
+
return a(new Error(w("只能输入字母数字"))), !1;
|
|
2267
|
+
a();
|
|
2268
|
+
}, bn = (t, e, a, i) => {
|
|
2269
|
+
const u = new RegExp(i.value);
|
|
2270
|
+
if (e !== "" && !u.test(e))
|
|
2271
|
+
return a(new Error(i.errorMessage)), !1;
|
|
2272
|
+
a();
|
|
2273
2273
|
}, wn = {
|
|
2274
2274
|
required: an,
|
|
2275
2275
|
min: sn,
|
|
@@ -2289,51 +2289,51 @@ const pt = { ...rt, ...ut }, an = (o, e, t, i) => {
|
|
|
2289
2289
|
alpha_num: yn,
|
|
2290
2290
|
regex: bn
|
|
2291
2291
|
}, _n = () => {
|
|
2292
|
-
const
|
|
2292
|
+
const t = l({}), e = l([]), a = l({}), i = l({}), u = l([]), r = l(""), m = l(""), _ = l({}), s = l([]), o = l({});
|
|
2293
2293
|
return {
|
|
2294
|
-
data:
|
|
2294
|
+
data: t,
|
|
2295
2295
|
formData: e,
|
|
2296
2296
|
formRule: _,
|
|
2297
|
-
showData:
|
|
2297
|
+
showData: a,
|
|
2298
2298
|
disabledData: i,
|
|
2299
2299
|
flowKey: r,
|
|
2300
|
-
linkData:
|
|
2301
|
-
encryptionData:
|
|
2300
|
+
linkData: o,
|
|
2301
|
+
encryptionData: s,
|
|
2302
2302
|
setData: (z, b) => {
|
|
2303
|
-
e.value.forEach((
|
|
2304
|
-
|
|
2303
|
+
e.value.forEach((L) => {
|
|
2304
|
+
L.formKey === m.value && (L.data[z] = b);
|
|
2305
2305
|
});
|
|
2306
2306
|
},
|
|
2307
2307
|
setDetailData: (z) => {
|
|
2308
|
-
|
|
2309
|
-
b.formKey ===
|
|
2308
|
+
t.value = z, e.value.forEach((b) => {
|
|
2309
|
+
b.formKey === m.value && (b.data = z);
|
|
2310
2310
|
});
|
|
2311
2311
|
},
|
|
2312
2312
|
setLinkData: (z, b) => {
|
|
2313
|
-
|
|
2313
|
+
o.value = { data: z, val: b };
|
|
2314
2314
|
},
|
|
2315
|
-
getData: (z) =>
|
|
2316
|
-
setFormData: (z, b,
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
}) : (
|
|
2315
|
+
getData: (z) => t.value[z],
|
|
2316
|
+
setFormData: (z, b, L) => {
|
|
2317
|
+
m.value = z, u.value.includes(z) ? e.value.forEach((T) => {
|
|
2318
|
+
T.formKey === z && (t.value = T.data);
|
|
2319
|
+
}) : (u.value.push(z), e.value.push({
|
|
2320
2320
|
formKey: z,
|
|
2321
2321
|
boKey: b,
|
|
2322
|
-
reportId:
|
|
2322
|
+
reportId: L || null,
|
|
2323
2323
|
data: {}
|
|
2324
2324
|
}));
|
|
2325
2325
|
},
|
|
2326
2326
|
getFormData: () => e.value,
|
|
2327
2327
|
setFormRule: (z, b) => {
|
|
2328
|
-
_.value[z] = [], b && b.length && b.forEach((
|
|
2329
|
-
const
|
|
2330
|
-
|
|
2331
|
-
validator: (
|
|
2328
|
+
_.value[z] = [], b && b.length && b.forEach((L) => {
|
|
2329
|
+
const T = wn[L.key];
|
|
2330
|
+
T && _.value[z].push({
|
|
2331
|
+
validator: (j, V, N) => T(j, V, N, L)
|
|
2332
2332
|
});
|
|
2333
2333
|
});
|
|
2334
2334
|
},
|
|
2335
2335
|
clearData: () => {
|
|
2336
|
-
|
|
2336
|
+
t.value = {}, e.value = [], u.value = [], _.value = {};
|
|
2337
2337
|
},
|
|
2338
2338
|
deleteRule: (z) => {
|
|
2339
2339
|
delete _.value[z];
|
|
@@ -2345,7 +2345,7 @@ const pt = { ...rt, ...ut }, an = (o, e, t, i) => {
|
|
|
2345
2345
|
}, Vn = {
|
|
2346
2346
|
key: 1,
|
|
2347
2347
|
style: { "background-color": "#fff" }
|
|
2348
|
-
}, Dn = /* @__PURE__ */
|
|
2348
|
+
}, Dn = /* @__PURE__ */ K({
|
|
2349
2349
|
__name: "App",
|
|
2350
2350
|
props: {
|
|
2351
2351
|
formConfigurationId: {},
|
|
@@ -2358,14 +2358,14 @@ const pt = { ...rt, ...ut }, an = (o, e, t, i) => {
|
|
|
2358
2358
|
disabledData: { default: {} }
|
|
2359
2359
|
},
|
|
2360
2360
|
emits: ["handleClick", "change"],
|
|
2361
|
-
setup(
|
|
2362
|
-
const i = _n(), { formRule:
|
|
2363
|
-
|
|
2364
|
-
const
|
|
2361
|
+
setup(t, { expose: e, emit: a }) {
|
|
2362
|
+
const i = _n(), { formRule: u, data: r, flowKey: m, clearData: _, getFormData: s } = i, o = t, g = a;
|
|
2363
|
+
m.value = o.flowKey;
|
|
2364
|
+
const v = (T) => T === "accordion";
|
|
2365
2365
|
k(
|
|
2366
2366
|
() => r.value,
|
|
2367
|
-
(
|
|
2368
|
-
|
|
2367
|
+
(T) => {
|
|
2368
|
+
g("change", T);
|
|
2369
2369
|
},
|
|
2370
2370
|
{
|
|
2371
2371
|
immediate: !0,
|
|
@@ -2376,29 +2376,29 @@ const pt = { ...rt, ...ut }, an = (o, e, t, i) => {
|
|
|
2376
2376
|
formJsonList: c,
|
|
2377
2377
|
isShowPage: d,
|
|
2378
2378
|
btnList: C,
|
|
2379
|
-
formRef:
|
|
2379
|
+
formRef: y,
|
|
2380
2380
|
activityKeys: h,
|
|
2381
|
-
getForm:
|
|
2382
|
-
getBtnSet:
|
|
2381
|
+
getForm: p,
|
|
2382
|
+
getBtnSet: f,
|
|
2383
2383
|
handleClick: z,
|
|
2384
2384
|
validateFormData: b,
|
|
2385
|
-
getFormRef:
|
|
2386
|
-
} = aa(
|
|
2385
|
+
getFormRef: L
|
|
2386
|
+
} = aa(o, g, i);
|
|
2387
2387
|
return mt(async () => {
|
|
2388
|
-
|
|
2388
|
+
o.isShowBtn == !1 ? p(o.formConfigurationId) : f();
|
|
2389
2389
|
}), e({
|
|
2390
2390
|
validateFormData: b,
|
|
2391
2391
|
clearData: _
|
|
2392
|
-
}), (
|
|
2393
|
-
|
|
2392
|
+
}), (T, j) => (D(), Y("div", Cn, [
|
|
2393
|
+
n(C).length > 0 ? (D(), Y("div", zn, [
|
|
2394
2394
|
(D(!0), Y(
|
|
2395
2395
|
X,
|
|
2396
2396
|
null,
|
|
2397
|
-
ue(
|
|
2397
|
+
ue(n(C), (V) => (D(), $(n(yt), {
|
|
2398
2398
|
key: V.id,
|
|
2399
2399
|
style: { "margin-right": "20px" },
|
|
2400
2400
|
"btn-type": "primary",
|
|
2401
|
-
onClick: (N) =>
|
|
2401
|
+
onClick: (N) => n(z)(V)
|
|
2402
2402
|
}, {
|
|
2403
2403
|
default: O(() => [
|
|
2404
2404
|
ne(
|
|
@@ -2413,45 +2413,45 @@ const pt = { ...rt, ...ut }, an = (o, e, t, i) => {
|
|
|
2413
2413
|
128
|
|
2414
2414
|
/* KEYED_FRAGMENT */
|
|
2415
2415
|
))
|
|
2416
|
-
])) :
|
|
2416
|
+
])) : F("v-if", !0),
|
|
2417
2417
|
vt((D(), Y(
|
|
2418
2418
|
"div",
|
|
2419
2419
|
{
|
|
2420
2420
|
class: "content-box",
|
|
2421
|
-
style: ft({ margin: "0 10px", ...
|
|
2421
|
+
style: ft({ margin: "0 10px", ...t.customStyle })
|
|
2422
2422
|
},
|
|
2423
2423
|
[
|
|
2424
2424
|
(D(!0), Y(
|
|
2425
2425
|
X,
|
|
2426
2426
|
null,
|
|
2427
|
-
ue(
|
|
2427
|
+
ue(n(c), (V) => (D(), Y(
|
|
2428
2428
|
X,
|
|
2429
2429
|
{
|
|
2430
2430
|
key: V.name
|
|
2431
2431
|
},
|
|
2432
2432
|
[
|
|
2433
|
-
|
|
2433
|
+
v(V.ctrlType) ? (D(), $(n(Ke), {
|
|
2434
2434
|
key: 0,
|
|
2435
2435
|
style: { "margin-bottom": "10px" },
|
|
2436
2436
|
collapsible: V.options.accordion ? "" : "disabled",
|
|
2437
|
-
activeKey:
|
|
2437
|
+
activeKey: n(h)
|
|
2438
2438
|
}, {
|
|
2439
2439
|
default: O(() => [
|
|
2440
|
-
(D(),
|
|
2440
|
+
(D(), $(n(Ae), {
|
|
2441
2441
|
key: V.key,
|
|
2442
2442
|
header: V.columns[0].span
|
|
2443
2443
|
}, {
|
|
2444
2444
|
default: O(() => [
|
|
2445
|
-
|
|
2445
|
+
n(d) ? (D(), $(n(Pe), {
|
|
2446
2446
|
key: 0,
|
|
2447
2447
|
ref_for: !0,
|
|
2448
|
-
ref: (N) =>
|
|
2448
|
+
ref: (N) => n(L)(N, V),
|
|
2449
2449
|
cols: 24,
|
|
2450
2450
|
alignType: "horizontal",
|
|
2451
2451
|
"margin-right": "80px",
|
|
2452
2452
|
"auto-margin-right": "",
|
|
2453
|
-
rules:
|
|
2454
|
-
form:
|
|
2453
|
+
rules: n(u),
|
|
2454
|
+
form: n(i).data
|
|
2455
2455
|
}, {
|
|
2456
2456
|
default: O(() => [
|
|
2457
2457
|
(D(!0), Y(
|
|
@@ -2463,16 +2463,16 @@ const pt = { ...rt, ...ut }, an = (o, e, t, i) => {
|
|
|
2463
2463
|
key: V.name
|
|
2464
2464
|
},
|
|
2465
2465
|
[
|
|
2466
|
-
N.ctrlType == "grid" ? (D(),
|
|
2466
|
+
N.ctrlType == "grid" ? (D(), $(ge(n(pe).grid), {
|
|
2467
2467
|
key: 0,
|
|
2468
2468
|
setting: N,
|
|
2469
|
-
isView:
|
|
2470
|
-
store:
|
|
2471
|
-
}, null, 8, ["setting", "isView", "store"])) : (D(),
|
|
2469
|
+
isView: o.isView,
|
|
2470
|
+
store: n(i)
|
|
2471
|
+
}, null, 8, ["setting", "isView", "store"])) : (D(), $(ge(n(pe)[N.ctrlType]), {
|
|
2472
2472
|
key: 1,
|
|
2473
2473
|
setting: N,
|
|
2474
|
-
isView:
|
|
2475
|
-
store:
|
|
2474
|
+
isView: o.isView,
|
|
2475
|
+
store: n(i)
|
|
2476
2476
|
}, null, 8, ["setting", "isView", "store"]))
|
|
2477
2477
|
],
|
|
2478
2478
|
64
|
|
@@ -2484,7 +2484,7 @@ const pt = { ...rt, ...ut }, an = (o, e, t, i) => {
|
|
|
2484
2484
|
]),
|
|
2485
2485
|
_: 2
|
|
2486
2486
|
/* DYNAMIC */
|
|
2487
|
-
}, 1032, ["rules", "form"])) :
|
|
2487
|
+
}, 1032, ["rules", "form"])) : F("v-if", !0)
|
|
2488
2488
|
]),
|
|
2489
2489
|
_: 2
|
|
2490
2490
|
/* DYNAMIC */
|
|
@@ -2493,27 +2493,27 @@ const pt = { ...rt, ...ut }, an = (o, e, t, i) => {
|
|
|
2493
2493
|
_: 2
|
|
2494
2494
|
/* DYNAMIC */
|
|
2495
2495
|
}, 1032, ["collapsible", "activeKey"])) : (D(), Y("div", Vn, [
|
|
2496
|
-
|
|
2496
|
+
n(d) ? (D(), $(n(Pe), {
|
|
2497
2497
|
key: 0,
|
|
2498
2498
|
ref_for: !0,
|
|
2499
|
-
ref: (N) =>
|
|
2499
|
+
ref: (N) => n(L)(N, V),
|
|
2500
2500
|
cols: 24,
|
|
2501
2501
|
"auto-margin-right": "",
|
|
2502
2502
|
alignType: "horizontal",
|
|
2503
2503
|
"margin-right": "80px",
|
|
2504
|
-
rules:
|
|
2505
|
-
form:
|
|
2504
|
+
rules: n(u),
|
|
2505
|
+
form: n(i).data
|
|
2506
2506
|
}, {
|
|
2507
2507
|
default: O(() => [
|
|
2508
|
-
(D(),
|
|
2508
|
+
(D(), $(ge(n(pe)[V.ctrlType]), {
|
|
2509
2509
|
setting: V,
|
|
2510
|
-
isView:
|
|
2511
|
-
store:
|
|
2510
|
+
isView: o.isView,
|
|
2511
|
+
store: n(i)
|
|
2512
2512
|
}, null, 8, ["setting", "isView", "store"]))
|
|
2513
2513
|
]),
|
|
2514
2514
|
_: 2
|
|
2515
2515
|
/* DYNAMIC */
|
|
2516
|
-
}, 1032, ["rules", "form"])) :
|
|
2516
|
+
}, 1032, ["rules", "form"])) : F("v-if", !0)
|
|
2517
2517
|
]))
|
|
2518
2518
|
],
|
|
2519
2519
|
64
|
|
@@ -2526,7 +2526,7 @@ const pt = { ...rt, ...ut }, an = (o, e, t, i) => {
|
|
|
2526
2526
|
4
|
|
2527
2527
|
/* STYLE */
|
|
2528
2528
|
)), [
|
|
2529
|
-
[
|
|
2529
|
+
[n(bt)]
|
|
2530
2530
|
])
|
|
2531
2531
|
]));
|
|
2532
2532
|
}
|