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