@das-fed/ui 6.4.0-dev.54.8 → 6.4.0-dev.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -5
- package/packages/business-components/change-enterprises/i18n/index.d.ts +3 -3
- package/packages/business-components/change-pwd/i18n/index.d.ts +26 -34
- package/packages/business-components/change-pwd/index.js +66 -65
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +172 -0
- package/packages/business-components/device-panel/index.js +331 -261
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/export-button/i18n/index.d.ts +16 -20
- package/packages/business-components/export-button/index.js +88 -86
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +34 -30
- package/packages/business-components/import-button/index.js +148 -144
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/i18n/index.d.ts +6 -6
- package/packages/business-components/model-table-dialog/index.js +82 -83
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +17 -49
- package/packages/business-components/model-table-dialog/style.css +1 -1
- package/packages/business-components/model-table-dialog/style.css.gz +0 -0
- package/packages/business-components/process-configuration/i18n/index.d.ts +37 -29
- package/packages/business-components/process-configuration/index.js +103 -92
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/i18n/index.d.ts +109 -69
- package/packages/business-components/process-form/index.js +621 -580
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/style.css +1 -1
- package/packages/business-components/process-log/i18n/index.d.ts +4 -0
- package/packages/business-components/process-log/index.js +29 -28
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-search-form/i18n/index.d.ts +9 -9
- package/packages/business-components/process-search-form/index.js +77 -80
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/i18n/index.d.ts +8 -8
- package/packages/business-components/process-table/index.js +36 -36
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/upload-file/i18n/index.d.ts +2 -2
- package/packages/business-components/upload-file/index.js +45 -42
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/i18n/index.d.ts +28 -0
- package/packages/business-components/urgent-panel/index.js +595 -576
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/i18n/index.d.ts +7 -3
- package/packages/business-components/user-org-dialog/index.js +92 -91
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/i18n/index.d.ts +29 -17
- package/packages/business-components/video-dialog/index.js +116 -113
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/button/index.js +54 -56
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/image-upload/i18n/index.d.ts +9 -21
- package/packages/components/image-upload/index.js +92 -92
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/i18n/index.d.ts +1 -30
- package/packages/components/image-viewer/index.js +213 -219
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/input/i18n/index.d.ts +3 -3
- package/packages/components/input/index.js +1 -1
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input-dialog-select/i18n/index.d.ts +1 -6
- package/packages/components/input-dialog-select/index.js +49 -51
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/live-player/i18n/index.d.ts +3 -7
- package/packages/components/live-player/index.js +7 -5
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/live-player/style.css +1 -1
- package/packages/components/loading/i18n/index.d.ts +1 -1
- package/packages/components/loading/index.js +1 -3
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/i18n/index.d.ts +7 -11
- package/packages/components/map/index.js +168 -167
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/i18n/index.d.ts +1 -1
- package/packages/components/menu-aside/index.js +1 -3
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/message/i18n/index.d.ts +1 -1
- package/packages/components/message/index.js +1 -3
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/notification/i18n/index.d.ts +1 -1
- package/packages/components/notification/index.js +1 -3
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/pagination/index.js +1 -1
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/popover/i18n/index.d.ts +2 -2
- package/packages/components/preview/i18n/index.d.ts +1 -1
- package/packages/components/preview/index.js +6 -7
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/preview/style.css +1 -1
- package/packages/components/scrollbar/index.js +2 -2
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/scrollbar/style.css +1 -1
- package/packages/components/scrollbar/style.css.gz +0 -0
- package/packages/components/search/index.js +26 -36
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search/style.css +1 -1
- package/packages/components/search/style.css.gz +0 -0
- package/packages/components/{search → search-form}/i18n/index.d.ts +6 -10
- package/packages/components/search-form/index.js +426 -418
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/spin/i18n/index.d.ts +1 -1
- package/packages/components/spin/index.js +1 -3
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/table/i18n/index.d.ts +19 -19
- package/packages/components/table/index.js +7 -7
- 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/tabs/i18n/index.d.ts +3 -3
- package/packages/components/time-line/index.js +36 -40
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tooltip/i18n/index.d.ts +1 -1
- package/packages/components/tooltip/index.js +1 -3
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/i18n/index.d.ts +8 -12
- package/packages/components/tree/index.js +141 -137
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree/src/App.vue.d.ts +26 -36
- package/packages/components/upload/i18n/index.d.ts +5 -5
- package/packages/components/upload/index.js +1 -1
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/i18n/index.d.ts +1 -1
- package/packages/components/virtual-tree/index.js +1 -3
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/components/button/i18n/index.d.ts +0 -2
- package/packages/components/time-line/i18n/index.d.ts +0 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/process-form/style.css';
|
|
2
2
|
import { withInstall as pt } from "@das-fed/utils/with-install/index";
|
|
3
|
-
import { ref as
|
|
4
|
-
import { DasFormRef as mt, DasForm as
|
|
3
|
+
import { ref as o, defineComponent as E, watch as C, openBlock as S, createBlock as I, unref as a, withCtx as M, createVNode as N, createCommentVNode as q, createElementVNode as Ke, createElementBlock as U, Fragment as G, createTextVNode as ee, toDisplayString as te, isRef as he, createSlots as dt, h as oe, renderList as ie, resolveDynamicComponent as ge, onMounted as ct, withDirectives as gt, normalizeStyle as vt } from "vue";
|
|
4
|
+
import { DasFormRef as mt, DasForm as Ie } from "@das-fed/ui/packages/components/form/index";
|
|
5
5
|
import { DasButton as ft } from "@das-fed/ui/packages/components/button/index";
|
|
6
6
|
import { vOverlay as ht } from "@das-fed/ui/packages/components/overlay/index";
|
|
7
7
|
import { createService as Z } from "@das-fed/utils/create-api-service";
|
|
@@ -9,9 +9,9 @@ import { DasUpload as yt } from "@das-fed/ui/packages/components/upload/index";
|
|
|
9
9
|
import { DasFormItem as A } from "@das-fed/ui/packages/components/form-item/index";
|
|
10
10
|
import { DasAutocomplete as bt } from "@das-fed/ui/packages/components/autocomplete/index";
|
|
11
11
|
import me from "dayjs";
|
|
12
|
-
import { DasImageViewer as
|
|
12
|
+
import { DasImageViewer as je } from "@das-fed/ui/packages/components/image-viewer/index";
|
|
13
13
|
import { DasInput as _t } from "@das-fed/ui/packages/components/input/index";
|
|
14
|
-
import { DasTooltip as
|
|
14
|
+
import { DasTooltip as Se } from "@das-fed/ui/packages/components/tooltip/index";
|
|
15
15
|
import { i18n as j, t as D, setI18nRule as wt } from "@das-fed/web/packages/i18n/index";
|
|
16
16
|
import { DasTableColumn as F } from "@das-fed/ui/packages/components/table/index";
|
|
17
17
|
import { DasSearchForm as Vt } from "@das-fed/ui/packages/components/search-form/index";
|
|
@@ -23,42 +23,42 @@ import { DasCollaspe as Ae } from "@das-fed/ui/packages/components/collaspe/inde
|
|
|
23
23
|
import { DasCollaspePanel as Qe } from "@das-fed/ui/packages/components/collapse-panel/index";
|
|
24
24
|
const X = "v1", Lt = Z(`/workflow/form/form/${X}`), Nt = Z(`/workflow/form/formDef/${X}`);
|
|
25
25
|
Z(`/workflow/api/user/${X}`);
|
|
26
|
-
const Ue = Z(`/workflow/api/extend/${X}`), Ct = Z(`/workflow/flow/def/${X}`),
|
|
26
|
+
const Ue = Z(`/workflow/api/extend/${X}`), Ct = Z(`/workflow/flow/def/${X}`), zt = Z(`/workflow/form/customQuery/${X}`), ae = Z(`/api/enterpriseright/permission/${X}`), Le = Z(`/api/space-manage/space-tree/${X}`), Mt = Z(`/workflow/form/dataTemplate/${X}`), Ne = Z(`/api/supply/supplier/${X}`), kt = Z(`/api/warehouse/vms/${X}/asset-receive`), Tt = Mt.get("/getBpmDataTemplateInfoByFlowKey"), Rt = Lt.get("/formDesign"), $t = Nt.get("/get"), Pt = Ue.get("/report-config");
|
|
27
27
|
Ue.get("/application-report");
|
|
28
|
-
const Ft = Ct.get("/getBindRelationByDefKey"), It =
|
|
28
|
+
const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt = ae.get("/organization/authTree"), Bt = ae.post("/user/list"), Kt = ae.post("/data/user-query"), jt = ae.get("/role/list"), Ot = ae.post("/data/role-ids"), Et = ae.get("/organization/organizationpage"), At = ae.get("/station/list"), Qt = ae.get("/position/list"), ye = ae.post("/organization/detailbyids"), Ut = Le.get("/controller/area-children"), Yt = Le.get("/controller/fuzzy-tree-all"), xt = Le.get("/controller/space"), Jt = Ne.post("/supplier/list/page", (n) => {
|
|
29
29
|
var e, t;
|
|
30
|
-
return
|
|
31
|
-
page: ((e =
|
|
32
|
-
pageSize: ((t =
|
|
33
|
-
},
|
|
34
|
-
}), Ht =
|
|
35
|
-
const { setDetailData:
|
|
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
|
+
}), Ht = Ne.get("/supplier"), Wt = Ne.post("/classification/list/all"), Zt = kt.get("/receive-code"), be = o(""), Gt = (n, e, t) => {
|
|
35
|
+
const { setDetailData: s, getFormData: g, setFormData: i, formRule: y, showData: V, disabledData: r, encryptionData: h } = t, v = o([]), c = o([]), d = o([]), u = o(!1), _ = mt(), m = o([]), p = (L) => Object.keys(L).length === 0, l = async (L) => {
|
|
36
36
|
const [T, R] = await Rt({ formId: L }).run();
|
|
37
37
|
if (T) return;
|
|
38
38
|
const J = JSON.parse(R.bos);
|
|
39
|
-
be.value = J[0].alias,
|
|
40
|
-
W.formKey === R.formKey &&
|
|
39
|
+
be.value = J[0].alias, c.value.length && c.value.forEach((W) => {
|
|
40
|
+
W.formKey === R.formKey && i(R.formKey, be.value, W.id);
|
|
41
41
|
});
|
|
42
|
-
const [$,
|
|
43
|
-
await b(), d.value = JSON.parse(
|
|
42
|
+
const [$, Y] = await $t({ formDefId: R.defId }).run();
|
|
43
|
+
await b(), d.value = JSON.parse(Y.value.expand).list, d.value.forEach((W) => {
|
|
44
44
|
W.columns && W.columns[0].isOpen && m.value.push(W.columns[0].idKey);
|
|
45
|
-
}), r.value = { ...r.value, ...
|
|
46
|
-
V.value = { ...V.value, ...
|
|
45
|
+
}), r.value = { ...r.value, ...n.disabledData }, c.value.length || i(R.formKey, be.value), p(n.data) && (u.value = !0), p(n.data) || (s(n.data), n.flowKey && (v.value = n.data.button_list ? JSON.parse(n.data.button_list) : []), u.value = !0), setTimeout(() => {
|
|
46
|
+
V.value = { ...V.value, ...n.showData };
|
|
47
47
|
}, 50);
|
|
48
48
|
}, f = async () => {
|
|
49
|
-
if (
|
|
50
|
-
const [L, T] = await Pt({ id:
|
|
49
|
+
if (n.formConfigurationId) {
|
|
50
|
+
const [L, T] = await Pt({ id: n.formConfigurationId }).run();
|
|
51
51
|
if (L) return;
|
|
52
|
-
|
|
52
|
+
c.value = T.reports, v.value = T.reports[0].buttons.filter((R) => !(n.isView && R.event !== "LINK")), l(T.reports[0].formId);
|
|
53
53
|
}
|
|
54
|
-
if (
|
|
55
|
-
const [L, T] = await Ft({ flowKey:
|
|
54
|
+
if (n.flowKey) {
|
|
55
|
+
const [L, T] = await Ft({ flowKey: n.flowKey }).run();
|
|
56
56
|
if (L) return;
|
|
57
57
|
l(T.pcForm.pcFormId);
|
|
58
58
|
}
|
|
59
59
|
}, b = async () => {
|
|
60
|
-
const [L, T] = await
|
|
61
|
-
flowKey:
|
|
60
|
+
const [L, T] = await Tt().run({
|
|
61
|
+
flowKey: n.flowKey,
|
|
62
62
|
needDisplayFileds: !1
|
|
63
63
|
});
|
|
64
64
|
h.value = T.value.boDef.boEnt.attributeList.filter((R) => R.encryption == "phone");
|
|
@@ -74,28 +74,28 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
74
74
|
handleClick: (L) => {
|
|
75
75
|
var T;
|
|
76
76
|
(T = _.value) == null || T.validate(async (R) => {
|
|
77
|
-
R && (e("handleClick", L,
|
|
78
|
-
L.eventTarget === J.formKey && (v.value = J.buttons.filter(($) => !(
|
|
77
|
+
R && (e("handleClick", L, g()), L.event === "LINK" && c.value.forEach((J) => {
|
|
78
|
+
L.eventTarget === J.formKey && (v.value = J.buttons.filter(($) => !(n.isView && $.event !== "LINK")), u.value = !1, y.value = {}, l(J.formId));
|
|
79
79
|
}));
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
|
-
},
|
|
84
|
-
var e = new RegExp("<.+?>", "g"), t =
|
|
83
|
+
}, x = (n) => {
|
|
84
|
+
var e = new RegExp("<.+?>", "g"), t = n.replace(e, "").replace(/ /g, "");
|
|
85
85
|
return t;
|
|
86
|
-
},
|
|
87
|
-
const [
|
|
88
|
-
if (!
|
|
89
|
-
const
|
|
86
|
+
}, se = async (n, e, t = {}) => {
|
|
87
|
+
const [s, g] = await It({ alias: n }).run();
|
|
88
|
+
if (!s && g.url) {
|
|
89
|
+
const i = o({});
|
|
90
90
|
e.forEach((h) => {
|
|
91
|
-
h.defaultType == 2 && (
|
|
92
|
-
}),
|
|
93
|
-
const y =
|
|
91
|
+
h.defaultType == 2 && (i.value[h.field] = h.defaultValue);
|
|
92
|
+
}), i.value = { ...i.value, ...t };
|
|
93
|
+
const y = g.requestType === "POST" ? Z(g.url).post("") : Z(g.url).get(""), [V, r] = await y({}, { params: i.value }).run();
|
|
94
94
|
return V ? void 0 : r;
|
|
95
95
|
}
|
|
96
|
-
}, H = async (
|
|
97
|
-
const e =
|
|
98
|
-
return
|
|
96
|
+
}, H = async (n) => {
|
|
97
|
+
const e = o(!1);
|
|
98
|
+
return n.forEach((t) => {
|
|
99
99
|
t.key === "required" && (e.value = !0);
|
|
100
100
|
}), e.value;
|
|
101
101
|
}, Xt = {
|
|
@@ -115,8 +115,8 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
115
115
|
marginRight: {},
|
|
116
116
|
store: {}
|
|
117
117
|
},
|
|
118
|
-
setup(
|
|
119
|
-
const e =
|
|
118
|
+
setup(n) {
|
|
119
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: V } = e.store || {}, r = o(!0);
|
|
120
120
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
121
121
|
() => t.value,
|
|
122
122
|
() => {
|
|
@@ -124,19 +124,19 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
124
124
|
},
|
|
125
125
|
{ deep: !0 }
|
|
126
126
|
);
|
|
127
|
-
const h =
|
|
128
|
-
e.setting.options.tip && (h.value =
|
|
129
|
-
const v =
|
|
130
|
-
return v.value ||
|
|
131
|
-
|
|
132
|
-
}), (
|
|
127
|
+
const h = o();
|
|
128
|
+
e.setting.options.tip && (h.value = x(e.setting.options.tip));
|
|
129
|
+
const v = o([{ name: "111", sizeText: "9.4KB" }]);
|
|
130
|
+
return v.value || g(e.setting.name, null), C(v, (c) => {
|
|
131
|
+
g(e.setting.name, JSON.stringify(c));
|
|
132
|
+
}), (c, d) => r.value ? (S(), I(a(A), {
|
|
133
133
|
key: 0,
|
|
134
134
|
col: e.span,
|
|
135
|
-
label:
|
|
135
|
+
label: c.setting.desc,
|
|
136
136
|
type: "custom",
|
|
137
137
|
helpMessage: h.value
|
|
138
138
|
}, {
|
|
139
|
-
default:
|
|
139
|
+
default: M(() => [
|
|
140
140
|
N(a(yt), {
|
|
141
141
|
style: { width: "100%" },
|
|
142
142
|
modelValue: v.value,
|
|
@@ -145,9 +145,9 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
145
145
|
]),
|
|
146
146
|
_: 1
|
|
147
147
|
/* STABLE */
|
|
148
|
-
}, 8, ["col", "label", "helpMessage"])) :
|
|
148
|
+
}, 8, ["col", "label", "helpMessage"])) : q("v-if", !0);
|
|
149
149
|
}
|
|
150
|
-
}),
|
|
150
|
+
}), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
151
151
|
__proto__: null,
|
|
152
152
|
default: ea
|
|
153
153
|
}, Symbol.toStringTag, { value: "Module" })), ta = {
|
|
@@ -167,8 +167,8 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
167
167
|
marginRight: {},
|
|
168
168
|
store: {}
|
|
169
169
|
},
|
|
170
|
-
setup(
|
|
171
|
-
const e =
|
|
170
|
+
setup(n) {
|
|
171
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: V } = e.store || {}, r = o(!0);
|
|
172
172
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
173
173
|
() => t.value,
|
|
174
174
|
() => {
|
|
@@ -176,19 +176,19 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
176
176
|
},
|
|
177
177
|
{ deep: !0 }
|
|
178
178
|
);
|
|
179
|
-
const h =
|
|
179
|
+
const h = s.value[e.setting.name] || !1, v = o(!1);
|
|
180
180
|
H(e.setting.options.validateList).then((l) => {
|
|
181
181
|
v.value = l;
|
|
182
182
|
});
|
|
183
|
-
const
|
|
184
|
-
e.setting.options.customQuery.alias ?
|
|
183
|
+
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", d = e.setting.options.children ? e.setting.options.children : "children", u = !!e.setting.options.fillInFullPath, _ = o([]);
|
|
184
|
+
e.setting.options.customQuery.alias ? se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((l) => {
|
|
185
185
|
_.value = l;
|
|
186
186
|
}) : _.value = e.setting.options.options;
|
|
187
|
-
const m =
|
|
188
|
-
e.setting.options.tip && (m.value =
|
|
189
|
-
const p =
|
|
190
|
-
return p.value =
|
|
191
|
-
|
|
187
|
+
const m = o();
|
|
188
|
+
e.setting.options.tip && (m.value = x(e.setting.options.tip));
|
|
189
|
+
const p = o("");
|
|
190
|
+
return p.value = i(e.setting.name) || p.value, p.value || g(e.setting.name, null), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(p, (l) => {
|
|
191
|
+
g(e.setting.name, l.toString());
|
|
192
192
|
}), (l, f) => r.value ? (S(), I(a(A), {
|
|
193
193
|
key: 0,
|
|
194
194
|
col: e.span,
|
|
@@ -201,14 +201,14 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
201
201
|
required: v.value,
|
|
202
202
|
disabled: a(h)
|
|
203
203
|
}, {
|
|
204
|
-
default:
|
|
204
|
+
default: M(() => [
|
|
205
205
|
N(a(bt), {
|
|
206
206
|
modelValue: p.value,
|
|
207
207
|
"onUpdate:modelValue": f[0] || (f[0] = (b) => p.value = b),
|
|
208
208
|
options: _.value,
|
|
209
209
|
isView: e.isView,
|
|
210
210
|
width: "100%",
|
|
211
|
-
fieldNames: { label: a(
|
|
211
|
+
fieldNames: { label: a(c), children: a(d) },
|
|
212
212
|
showFullPath: a(u),
|
|
213
213
|
placeholder: l.setting.options.placeholder,
|
|
214
214
|
clearable: ""
|
|
@@ -216,15 +216,15 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
216
216
|
]),
|
|
217
217
|
_: 1
|
|
218
218
|
/* STABLE */
|
|
219
|
-
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required", "disabled"])) :
|
|
219
|
+
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required", "disabled"])) : q("v-if", !0);
|
|
220
220
|
}
|
|
221
|
-
}),
|
|
221
|
+
}), xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
222
222
|
__proto__: null,
|
|
223
223
|
default: aa
|
|
224
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
224
|
+
}, Symbol.toStringTag, { value: "Module" })), na = {
|
|
225
225
|
name: "checkbox"
|
|
226
|
-
},
|
|
227
|
-
...
|
|
226
|
+
}, sa = /* @__PURE__ */ E({
|
|
227
|
+
...na,
|
|
228
228
|
props: {
|
|
229
229
|
setting: { default: () => ({
|
|
230
230
|
icon: "",
|
|
@@ -238,8 +238,8 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
238
238
|
marginRight: {},
|
|
239
239
|
store: {}
|
|
240
240
|
},
|
|
241
|
-
setup(
|
|
242
|
-
const e =
|
|
241
|
+
setup(n) {
|
|
242
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: V } = e.store || {}, r = o(!0);
|
|
243
243
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
244
244
|
() => t.value,
|
|
245
245
|
() => {
|
|
@@ -247,21 +247,21 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
247
247
|
},
|
|
248
248
|
{ deep: !0 }
|
|
249
249
|
);
|
|
250
|
-
const h =
|
|
250
|
+
const h = s.value[e.setting.name] || !1, v = o(!1);
|
|
251
251
|
H(e.setting.options.validateList).then((p) => {
|
|
252
252
|
v.value = p;
|
|
253
253
|
});
|
|
254
|
-
const
|
|
255
|
-
e.setting.options.customQuery.alias ?
|
|
254
|
+
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", u = o([]);
|
|
255
|
+
e.setting.options.customQuery.alias ? se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((p) => {
|
|
256
256
|
u.value = p;
|
|
257
257
|
}) : u.value = e.setting.options.options;
|
|
258
|
-
const _ =
|
|
259
|
-
e.setting.options.tip && (_.value =
|
|
260
|
-
const m =
|
|
258
|
+
const _ = o();
|
|
259
|
+
e.setting.options.tip && (_.value = x(e.setting.options.tip)());
|
|
260
|
+
const m = o([]);
|
|
261
261
|
return setTimeout(() => {
|
|
262
|
-
|
|
262
|
+
i(e.setting.name) && (m.value = i(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (m.value = e.setting.options.formulasDiyJs.split(",")), m.value.length || m.value || g(e.setting.name, null);
|
|
263
263
|
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(m, (p) => {
|
|
264
|
-
|
|
264
|
+
g(e.setting.name, p.toString());
|
|
265
265
|
}), (p, l) => r.value ? (S(), I(a(A), {
|
|
266
266
|
key: 0,
|
|
267
267
|
col: e.span,
|
|
@@ -274,18 +274,18 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
274
274
|
options: u.value,
|
|
275
275
|
isView: e.isView,
|
|
276
276
|
disabled: a(h),
|
|
277
|
-
optionsValueKey: a(
|
|
277
|
+
optionsValueKey: a(c),
|
|
278
278
|
optionsLabelKey: a(d),
|
|
279
279
|
helpMessage: _.value,
|
|
280
280
|
required: v.value
|
|
281
|
-
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "disabled", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"])) :
|
|
281
|
+
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "disabled", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"])) : q("v-if", !0);
|
|
282
282
|
}
|
|
283
283
|
}), Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
284
284
|
__proto__: null,
|
|
285
|
-
default:
|
|
285
|
+
default: sa
|
|
286
286
|
}, Symbol.toStringTag, { value: "Module" })), la = {
|
|
287
287
|
name: "date"
|
|
288
|
-
},
|
|
288
|
+
}, oa = /* @__PURE__ */ E({
|
|
289
289
|
...la,
|
|
290
290
|
props: {
|
|
291
291
|
setting: { default: () => ({
|
|
@@ -300,8 +300,8 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
300
300
|
marginRight: {},
|
|
301
301
|
store: {}
|
|
302
302
|
},
|
|
303
|
-
setup(
|
|
304
|
-
const e =
|
|
303
|
+
setup(n) {
|
|
304
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: V } = e.store || {}, r = o(!0);
|
|
305
305
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
306
306
|
() => t.value,
|
|
307
307
|
() => {
|
|
@@ -309,23 +309,23 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
309
309
|
},
|
|
310
310
|
{ deep: !0 }
|
|
311
311
|
);
|
|
312
|
-
const h =
|
|
312
|
+
const h = s.value[e.setting.name] || !1, v = o(!1);
|
|
313
313
|
H(e.setting.options.validateList).then((m) => {
|
|
314
314
|
v.value = m;
|
|
315
315
|
});
|
|
316
|
-
const
|
|
316
|
+
const c = e.setting.options.inputFormat === "yyyy-MM-dd" ? "YYYY/MM/DD" : e.setting.options.inputFormat === "yyyy-MM-dd HH:mm:ss" ? "YYYY/MM/DD HH:mm:ss" : e.setting.options.inputFormat, d = o("");
|
|
317
317
|
e.setting.options.inputFormat === "YYYY/MM/DD" && (d.value = "date"), e.setting.options.inputFormat === "MM/DD" && (d.value = "date"), e.setting.options.inputFormat === "YYYY/MM" && (d.value = "month"), e.setting.options.inputFormat === "YYYY" && (d.value = "year");
|
|
318
|
-
const u =
|
|
319
|
-
e.setting.options.tip && (u.value =
|
|
320
|
-
const _ =
|
|
318
|
+
const u = o();
|
|
319
|
+
e.setting.options.tip && (u.value = x(e.setting.options.tip));
|
|
320
|
+
const _ = o();
|
|
321
321
|
if (setTimeout(() => {
|
|
322
|
-
_.value =
|
|
322
|
+
_.value = i(e.setting.name) || e.setting.options.formulasDiyJs || _.value, _.value || g(e.setting.name, null);
|
|
323
323
|
}, 50), e.setting.options.showCurrentDate) {
|
|
324
324
|
let m = /* @__PURE__ */ new Date();
|
|
325
|
-
m.setDate(m.getDate() + e.setting.options.day), _.value = me(m.getTime()).format(
|
|
325
|
+
m.setDate(m.getDate() + e.setting.options.day), _.value = me(m.getTime()).format(c), g(e.setting.name, _.value);
|
|
326
326
|
}
|
|
327
327
|
return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(_, (m) => {
|
|
328
|
-
|
|
328
|
+
g(e.setting.name, m);
|
|
329
329
|
}), (m, p) => r.value ? (S(), I(a(A), {
|
|
330
330
|
key: 0,
|
|
331
331
|
col: e.span,
|
|
@@ -333,8 +333,8 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
333
333
|
"onUpdate:modelValue": p[0] || (p[0] = (l) => _.value = l),
|
|
334
334
|
label: m.setting.desc,
|
|
335
335
|
prop: e.setting.name,
|
|
336
|
-
type: a(
|
|
337
|
-
format: a(
|
|
336
|
+
type: a(c).indexOf("HH") != -1 ? "dateTime" : "date",
|
|
337
|
+
format: a(c),
|
|
338
338
|
valueFormat: "YYYY-MM-DD HH:mm:ss",
|
|
339
339
|
picker: d.value,
|
|
340
340
|
isView: e.isView,
|
|
@@ -342,15 +342,15 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
342
342
|
placeholder: m.setting.options.placeholder,
|
|
343
343
|
helpMessage: u.value,
|
|
344
344
|
required: v.value
|
|
345
|
-
}, null, 8, ["col", "modelValue", "label", "prop", "type", "format", "picker", "isView", "disabled", "placeholder", "helpMessage", "required"])) :
|
|
345
|
+
}, null, 8, ["col", "modelValue", "label", "prop", "type", "format", "picker", "isView", "disabled", "placeholder", "helpMessage", "required"])) : q("v-if", !0);
|
|
346
346
|
}
|
|
347
347
|
}), He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
348
348
|
__proto__: null,
|
|
349
|
-
default:
|
|
350
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
349
|
+
default: oa
|
|
350
|
+
}, Symbol.toStringTag, { value: "Module" })), ia = {
|
|
351
351
|
name: "dropdown"
|
|
352
352
|
}, ua = /* @__PURE__ */ E({
|
|
353
|
-
...
|
|
353
|
+
...ia,
|
|
354
354
|
props: {
|
|
355
355
|
setting: { default: () => ({
|
|
356
356
|
icon: "",
|
|
@@ -364,8 +364,8 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
364
364
|
marginRight: {},
|
|
365
365
|
store: {}
|
|
366
366
|
},
|
|
367
|
-
setup(
|
|
368
|
-
const e =
|
|
367
|
+
setup(n) {
|
|
368
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: V, setLinkData: r } = e.store || {}, h = o(!0);
|
|
369
369
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
370
370
|
() => t.value,
|
|
371
371
|
() => {
|
|
@@ -375,19 +375,19 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
375
375
|
);
|
|
376
376
|
const v = () => {
|
|
377
377
|
e.setting.options.customQuery && e.setting.options.customQuery.custQueryJson.length && r(e.setting.options.customQuery.custQueryJson, b.value);
|
|
378
|
-
},
|
|
378
|
+
}, c = s.value[e.setting.name] || !1, d = o(!1);
|
|
379
379
|
H(e.setting.options.validateList).then((w) => {
|
|
380
380
|
d.value = w;
|
|
381
381
|
});
|
|
382
|
-
const u =
|
|
383
|
-
e.setting.options.customQuery.alias &&
|
|
382
|
+
const u = o(""), _ = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", m = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", p = e.setting.options.customQuery.PId || "children", l = o([]);
|
|
383
|
+
e.setting.options.customQuery.alias && se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((w) => {
|
|
384
384
|
l.value = w;
|
|
385
385
|
});
|
|
386
|
-
const f =
|
|
387
|
-
e.setting.options.tip && (f.value =
|
|
388
|
-
const b =
|
|
389
|
-
return b.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple &&
|
|
390
|
-
|
|
386
|
+
const f = o();
|
|
387
|
+
e.setting.options.tip && (f.value = x(e.setting.options.tip));
|
|
388
|
+
const b = o();
|
|
389
|
+
return b.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && i(e.setting.name) ? b.value = i(e.setting.name).split(",") : b.value = i(e.setting.name) || b.value, b.value || g(e.setting.name, null), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(b, (w) => {
|
|
390
|
+
g(e.setting.name, w.toString());
|
|
391
391
|
}), (w, L) => h.value ? (S(), I(a(A), {
|
|
392
392
|
key: 0,
|
|
393
393
|
col: e.span,
|
|
@@ -406,12 +406,12 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
406
406
|
options: l.value,
|
|
407
407
|
isView: e.isView,
|
|
408
408
|
helpMessage: f.value,
|
|
409
|
-
disabled: a(
|
|
409
|
+
disabled: a(c),
|
|
410
410
|
props: { label: a(m), value: a(_), children: a(p) },
|
|
411
411
|
"check-strictly": !w.setting.options.cascade,
|
|
412
412
|
required: d.value,
|
|
413
413
|
onChange: v
|
|
414
|
-
}, null, 8, ["col", "modelValue", "keyword", "label", "node-key", "placeholder", "mode", "prop", "filter", "options", "isView", "helpMessage", "disabled", "props", "check-strictly", "required"])) :
|
|
414
|
+
}, null, 8, ["col", "modelValue", "keyword", "label", "node-key", "placeholder", "mode", "prop", "filter", "options", "isView", "helpMessage", "disabled", "props", "check-strictly", "required"])) : q("v-if", !0);
|
|
415
415
|
}
|
|
416
416
|
}), We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
417
417
|
__proto__: null,
|
|
@@ -433,8 +433,8 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
433
433
|
marginRight: {},
|
|
434
434
|
store: {}
|
|
435
435
|
},
|
|
436
|
-
setup(
|
|
437
|
-
const e =
|
|
436
|
+
setup(n) {
|
|
437
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: V } = e.store || {}, r = o(!0);
|
|
438
438
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
439
439
|
() => t.value,
|
|
440
440
|
() => {
|
|
@@ -442,19 +442,19 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
442
442
|
},
|
|
443
443
|
{ deep: !0 }
|
|
444
444
|
);
|
|
445
|
-
const h =
|
|
445
|
+
const h = s.value[e.setting.name] || !1, v = o(!1);
|
|
446
446
|
H(e.setting.options.validateList).then((m) => {
|
|
447
447
|
v.value = m;
|
|
448
448
|
});
|
|
449
|
-
const
|
|
450
|
-
e.isView && (
|
|
451
|
-
const d =
|
|
452
|
-
e.setting.options.tip && (d.value =
|
|
453
|
-
const u =
|
|
454
|
-
u.value = e.setting.options.file.limit > 1 ? [] : "", e.setting.options.file.limit > 1 &&
|
|
449
|
+
const c = o("normal");
|
|
450
|
+
e.isView && (c.value = "info");
|
|
451
|
+
const d = o();
|
|
452
|
+
e.setting.options.tip && (d.value = x(e.setting.options.tip));
|
|
453
|
+
const u = o();
|
|
454
|
+
u.value = e.setting.options.file.limit > 1 ? [] : "", e.setting.options.file.limit > 1 && i(e.setting.name) ? u.value = i(e.setting.name).split(",") : u.value = i(e.setting.name) || u.value, u.value || g(e.setting.name, null);
|
|
455
455
|
const _ = (m) => {
|
|
456
456
|
setTimeout(() => {
|
|
457
|
-
|
|
457
|
+
g(e.setting.name, u.value.toString());
|
|
458
458
|
}, 100);
|
|
459
459
|
};
|
|
460
460
|
return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(u.value, (m) => {
|
|
@@ -463,7 +463,7 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
463
463
|
return l.indexOf("/oss/") != -1 ? f = l : f = `/oss/${l}`, f;
|
|
464
464
|
});
|
|
465
465
|
setTimeout(() => {
|
|
466
|
-
|
|
466
|
+
g(e.setting.name, p.join(","));
|
|
467
467
|
}, 100);
|
|
468
468
|
}), (m, p) => r.value ? (S(), I(a(A), {
|
|
469
469
|
key: 0,
|
|
@@ -476,13 +476,13 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
476
476
|
helpMessage: d.value,
|
|
477
477
|
required: v.value
|
|
478
478
|
}, {
|
|
479
|
-
default:
|
|
480
|
-
|
|
481
|
-
N(a(
|
|
479
|
+
default: M(() => [
|
|
480
|
+
Ke("div", ra, [
|
|
481
|
+
N(a(je), {
|
|
482
482
|
modelValue: u.value,
|
|
483
483
|
"onUpdate:modelValue": p[0] || (p[0] = (l) => u.value = l),
|
|
484
|
-
status:
|
|
485
|
-
"onUpdate:status": p[1] || (p[1] = (l) =>
|
|
484
|
+
status: c.value,
|
|
485
|
+
"onUpdate:status": p[1] || (p[1] = (l) => c.value = l),
|
|
486
486
|
maxSize: "6",
|
|
487
487
|
"limit-num": m.setting.options.file.limit,
|
|
488
488
|
prop: e.setting.name,
|
|
@@ -502,18 +502,18 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
502
502
|
]),
|
|
503
503
|
_: 1
|
|
504
504
|
/* STABLE */
|
|
505
|
-
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) :
|
|
505
|
+
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) : q("v-if", !0);
|
|
506
506
|
}
|
|
507
|
-
}), fe = (
|
|
508
|
-
const t =
|
|
509
|
-
for (const [
|
|
510
|
-
t[
|
|
507
|
+
}), fe = (n, e) => {
|
|
508
|
+
const t = n.__vccOpts || n;
|
|
509
|
+
for (const [s, g] of e)
|
|
510
|
+
t[s] = g;
|
|
511
511
|
return t;
|
|
512
|
-
},
|
|
512
|
+
}, ca = /* @__PURE__ */ fe(da, [["__scopeId", "data-v-80891092"]]), Ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
513
513
|
__proto__: null,
|
|
514
|
-
default:
|
|
515
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
516
|
-
const t = "****",
|
|
514
|
+
default: ca
|
|
515
|
+
}, Symbol.toStringTag, { value: "Module" })), ga = (n) => {
|
|
516
|
+
const t = "****", s = String(n), g = s.slice(0, 15), i = s.slice(15);
|
|
517
517
|
return ((r) => {
|
|
518
518
|
const h = r.length;
|
|
519
519
|
if (h < 6) return r;
|
|
@@ -544,21 +544,21 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = Mt.get("/getByAlias"), Bt =
|
|
|
544
544
|
v = 7;
|
|
545
545
|
break;
|
|
546
546
|
}
|
|
547
|
-
const
|
|
548
|
-
return r.slice(0, v) + t + r.slice(
|
|
549
|
-
})(
|
|
547
|
+
const c = v + t.length;
|
|
548
|
+
return r.slice(0, v) + t + r.slice(c);
|
|
549
|
+
})(g) + i;
|
|
550
550
|
}, va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
551
551
|
__proto__: null,
|
|
552
|
-
default:
|
|
553
|
-
}, Symbol.toStringTag, { value: "Module" })), ve = {}, ma = /^\.\/(.+)\/index\.ts$/,
|
|
552
|
+
default: ga
|
|
553
|
+
}, Symbol.toStringTag, { value: "Module" })), ve = {}, ma = /^\.\/(.+)\/index\.ts$/, qe = /* @__PURE__ */ Object.assign({ "./phone/index.ts": va });
|
|
554
554
|
var Be;
|
|
555
|
-
for (const
|
|
556
|
-
const e =
|
|
555
|
+
for (const n in qe) {
|
|
556
|
+
const e = qe[n], t = (Be = n.match(ma)) == null ? void 0 : Be[1];
|
|
557
557
|
ve[t] = e.default;
|
|
558
558
|
}
|
|
559
|
-
const fa = (
|
|
560
|
-
var
|
|
561
|
-
return e ? ((
|
|
559
|
+
const fa = (n, e) => {
|
|
560
|
+
var s;
|
|
561
|
+
return e ? ((s = ve[n]) == null ? void 0 : s.call(ve, e)) ?? e : "-";
|
|
562
562
|
}, ha = {
|
|
563
563
|
name: "input"
|
|
564
564
|
}, ya = /* @__PURE__ */ E({
|
|
@@ -576,16 +576,16 @@ const fa = (s, e) => {
|
|
|
576
576
|
marginRight: {},
|
|
577
577
|
store: {}
|
|
578
578
|
},
|
|
579
|
-
setup(
|
|
580
|
-
const e =
|
|
579
|
+
setup(n) {
|
|
580
|
+
const e = n, { data: t, showData: s, disabledData: g, setData: i, getData: y, setFormRule: V, deleteRule: r, encryptionData: h } = e.store || {}, v = o(""), c = o(!1);
|
|
581
581
|
h.value.length && h.value.forEach((l) => {
|
|
582
|
-
l.name === e.setting.name && (
|
|
582
|
+
l.name === e.setting.name && (c.value = !0);
|
|
583
583
|
});
|
|
584
|
-
const d =
|
|
585
|
-
!
|
|
586
|
-
() =>
|
|
584
|
+
const d = o(!0);
|
|
585
|
+
!s.value[e.setting.name] && s.value[e.setting.name] != !1 && (s.value[e.setting.name] = !0), C(
|
|
586
|
+
() => s.value,
|
|
587
587
|
() => {
|
|
588
|
-
d.value =
|
|
588
|
+
d.value = s.value[e.setting.name], d.value || (p.value = "", r(e.setting.name)), d.value && e.setting.options.validateList.length && V(e.setting.name, e.setting.options.validateList);
|
|
589
589
|
},
|
|
590
590
|
{ deep: !0 }
|
|
591
591
|
), C(
|
|
@@ -595,22 +595,22 @@ const fa = (s, e) => {
|
|
|
595
595
|
},
|
|
596
596
|
{ deep: !0 }
|
|
597
597
|
);
|
|
598
|
-
const u =
|
|
598
|
+
const u = g.value[e.setting.name] || !1, _ = o(!1);
|
|
599
599
|
H(e.setting.options.validateList).then((l) => {
|
|
600
600
|
_.value = l;
|
|
601
601
|
});
|
|
602
|
-
const m =
|
|
603
|
-
e.setting.options.tip && (m.value =
|
|
604
|
-
const p =
|
|
602
|
+
const m = o();
|
|
603
|
+
e.setting.options.tip && (m.value = x(e.setting.options.tip));
|
|
604
|
+
const p = o("");
|
|
605
605
|
return setTimeout(() => {
|
|
606
|
-
p.value = y(e.setting.name) || e.setting.options.formulasDiyJs || p.value,
|
|
606
|
+
p.value = y(e.setting.name) || e.setting.options.formulasDiyJs || p.value, c && e.isView && (v.value = fa("phone", p.value)), p.value || i(e.setting.name, null);
|
|
607
607
|
}, 50), e.setting.options.validateList.length && V(e.setting.name, e.setting.options.validateList), C(p, (l) => {
|
|
608
|
-
e.setting.options.dataType === "number" && !isNaN(l) ?
|
|
608
|
+
e.setting.options.dataType === "number" && !isNaN(l) ? i(e.setting.name, Number(l)) : i(e.setting.name, l);
|
|
609
609
|
}), (l, f) => (S(), U(
|
|
610
610
|
G,
|
|
611
611
|
null,
|
|
612
612
|
[
|
|
613
|
-
d.value &&
|
|
613
|
+
d.value && c.value && e.isView ? (S(), I(a(A), {
|
|
614
614
|
key: 0,
|
|
615
615
|
col: e.span,
|
|
616
616
|
prop: e.setting.name,
|
|
@@ -621,13 +621,13 @@ const fa = (s, e) => {
|
|
|
621
621
|
helpMessage: m.value,
|
|
622
622
|
required: _.value
|
|
623
623
|
}, {
|
|
624
|
-
default:
|
|
625
|
-
N(a(
|
|
624
|
+
default: M(() => [
|
|
625
|
+
N(a(Se), {
|
|
626
626
|
placement: "top",
|
|
627
627
|
disabled: !p.value,
|
|
628
628
|
content: p.value
|
|
629
629
|
}, {
|
|
630
|
-
default:
|
|
630
|
+
default: M(() => [
|
|
631
631
|
N(a(_t), {
|
|
632
632
|
modelValue: v.value,
|
|
633
633
|
"onUpdate:modelValue": f[0] || (f[0] = (b) => v.value = b),
|
|
@@ -636,14 +636,14 @@ const fa = (s, e) => {
|
|
|
636
636
|
isView: l.setting.options.isReadonly || e.isView,
|
|
637
637
|
placeholder: l.setting.options.placeholder
|
|
638
638
|
}, {
|
|
639
|
-
prepend:
|
|
639
|
+
prepend: M(() => [
|
|
640
640
|
ee(
|
|
641
641
|
te(l.setting.options.bindPreAndSufFixjson.preFix),
|
|
642
642
|
1
|
|
643
643
|
/* TEXT */
|
|
644
644
|
)
|
|
645
645
|
]),
|
|
646
|
-
append:
|
|
646
|
+
append: M(() => [
|
|
647
647
|
ee(
|
|
648
648
|
te(l.setting.options.bindPreAndSufFixjson.sufSix),
|
|
649
649
|
1
|
|
@@ -660,8 +660,8 @@ const fa = (s, e) => {
|
|
|
660
660
|
]),
|
|
661
661
|
_: 1
|
|
662
662
|
/* STABLE */
|
|
663
|
-
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required"])) :
|
|
664
|
-
d.value && (!
|
|
663
|
+
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required"])) : q("v-if", !0),
|
|
664
|
+
d.value && (!c.value || !e.isView) ? (S(), I(a(A), {
|
|
665
665
|
key: 1,
|
|
666
666
|
col: e.span,
|
|
667
667
|
modelValue: p.value,
|
|
@@ -676,8 +676,8 @@ const fa = (s, e) => {
|
|
|
676
676
|
required: _.value,
|
|
677
677
|
placeholder: l.setting.options.placeholder
|
|
678
678
|
}, {
|
|
679
|
-
default:
|
|
680
|
-
|
|
679
|
+
default: M(() => [
|
|
680
|
+
q(` <DasInput\r
|
|
681
681
|
v-model="inputValue"\r
|
|
682
682
|
>\r
|
|
683
683
|
<template #prepend>{{ setting.options.bindPreAndSufFixjson.preFix }}</template>\r
|
|
@@ -686,7 +686,7 @@ const fa = (s, e) => {
|
|
|
686
686
|
]),
|
|
687
687
|
_: 1
|
|
688
688
|
/* STABLE */
|
|
689
|
-
}, 8, ["col", "modelValue", "width", "disabled", "isView", "prop", "label", "helpMessage", "required", "placeholder"])) :
|
|
689
|
+
}, 8, ["col", "modelValue", "width", "disabled", "isView", "prop", "label", "helpMessage", "required", "placeholder"])) : q("v-if", !0)
|
|
690
690
|
],
|
|
691
691
|
64
|
|
692
692
|
/* STABLE_FRAGMENT */
|
|
@@ -712,8 +712,8 @@ const fa = (s, e) => {
|
|
|
712
712
|
marginRight: {},
|
|
713
713
|
store: {}
|
|
714
714
|
},
|
|
715
|
-
setup(
|
|
716
|
-
const e =
|
|
715
|
+
setup(n) {
|
|
716
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: V } = e.store || {}, r = o(!0);
|
|
717
717
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
718
718
|
() => t.value,
|
|
719
719
|
() => {
|
|
@@ -721,17 +721,17 @@ const fa = (s, e) => {
|
|
|
721
721
|
},
|
|
722
722
|
{ deep: !0 }
|
|
723
723
|
);
|
|
724
|
-
const h =
|
|
724
|
+
const h = s.value[e.setting.name] || !1, v = o(!1);
|
|
725
725
|
H(e.setting.options.validateList).then((u) => {
|
|
726
726
|
v.value = u;
|
|
727
727
|
});
|
|
728
|
-
const
|
|
729
|
-
e.setting.options.tip && (
|
|
730
|
-
const d =
|
|
728
|
+
const c = o();
|
|
729
|
+
e.setting.options.tip && (c.value = x(e.setting.options.tip));
|
|
730
|
+
const d = o(0);
|
|
731
731
|
return setTimeout(() => {
|
|
732
|
-
d.value =
|
|
732
|
+
d.value = i(e.setting.name) || e.setting.options.formulasDiyJs || d.value, d.value || g(e.setting.name, null);
|
|
733
733
|
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(d, (u) => {
|
|
734
|
-
|
|
734
|
+
g(e.setting.name, u);
|
|
735
735
|
}), (u, _) => r.value ? (S(), I(a(A), {
|
|
736
736
|
key: 0,
|
|
737
737
|
col: e.span,
|
|
@@ -747,9 +747,9 @@ const fa = (s, e) => {
|
|
|
747
747
|
disabled: a(h),
|
|
748
748
|
isView: e.isView,
|
|
749
749
|
precision: u.setting.options.decimalDigits,
|
|
750
|
-
helpMessage:
|
|
750
|
+
helpMessage: c.value,
|
|
751
751
|
required: v.value
|
|
752
|
-
}, null, 8, ["col", "modelValue", "label", "prop", "max", "min", "step", "disabled", "isView", "precision", "helpMessage", "required"])) :
|
|
752
|
+
}, null, 8, ["col", "modelValue", "label", "prop", "max", "min", "step", "disabled", "isView", "precision", "helpMessage", "required"])) : q("v-if", !0);
|
|
753
753
|
}
|
|
754
754
|
}), Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
755
755
|
__proto__: null,
|
|
@@ -773,8 +773,8 @@ const fa = (s, e) => {
|
|
|
773
773
|
marginRight: {},
|
|
774
774
|
store: {}
|
|
775
775
|
},
|
|
776
|
-
setup(
|
|
777
|
-
const e =
|
|
776
|
+
setup(n) {
|
|
777
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: V } = e.store || {}, r = o(!0);
|
|
778
778
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
779
779
|
() => t.value,
|
|
780
780
|
() => {
|
|
@@ -782,21 +782,21 @@ const fa = (s, e) => {
|
|
|
782
782
|
},
|
|
783
783
|
{ deep: !0 }
|
|
784
784
|
);
|
|
785
|
-
const h =
|
|
785
|
+
const h = s.value[e.setting.name] || !1, v = o(!1);
|
|
786
786
|
H(e.setting.options.validateList).then((l) => {
|
|
787
787
|
v.value = l;
|
|
788
788
|
});
|
|
789
|
-
const
|
|
790
|
-
e.setting.options.customQuery.alias ?
|
|
789
|
+
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", u = o([]);
|
|
790
|
+
e.setting.options.customQuery.alias ? se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((l) => {
|
|
791
791
|
u.value = l;
|
|
792
792
|
}) : u.value = e.setting.options.options;
|
|
793
|
-
const _ =
|
|
794
|
-
e.setting.options.tip && (_.value =
|
|
795
|
-
const m =
|
|
793
|
+
const _ = o();
|
|
794
|
+
e.setting.options.tip && (_.value = x(e.setting.options.tip));
|
|
795
|
+
const m = o(null);
|
|
796
796
|
setTimeout(() => {
|
|
797
|
-
m.value =
|
|
797
|
+
m.value = i(e.setting.name) || e.setting.options.formulasDiyJs || m.value, m.value || g(e.setting.name, null);
|
|
798
798
|
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(m, (l) => {
|
|
799
|
-
|
|
799
|
+
g(e.setting.name, l);
|
|
800
800
|
});
|
|
801
801
|
const p = (l) => {
|
|
802
802
|
e.setting.options.linkage.length && e.setting.options.linkage.forEach((f) => {
|
|
@@ -818,13 +818,13 @@ const fa = (s, e) => {
|
|
|
818
818
|
prop: e.setting.name,
|
|
819
819
|
options: u.value,
|
|
820
820
|
isView: e.isView,
|
|
821
|
-
optionsValueKey: a(
|
|
821
|
+
optionsValueKey: a(c),
|
|
822
822
|
optionsLabelKey: a(d),
|
|
823
823
|
helpMessage: _.value,
|
|
824
824
|
disabled: a(h),
|
|
825
825
|
required: v.value,
|
|
826
826
|
isSetTimeout: !0
|
|
827
|
-
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) :
|
|
827
|
+
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : q("v-if", !0);
|
|
828
828
|
}
|
|
829
829
|
}), et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
830
830
|
__proto__: null,
|
|
@@ -846,8 +846,8 @@ const fa = (s, e) => {
|
|
|
846
846
|
marginRight: {},
|
|
847
847
|
store: {}
|
|
848
848
|
},
|
|
849
|
-
setup(
|
|
850
|
-
const e =
|
|
849
|
+
setup(n) {
|
|
850
|
+
const e = n, { showData: t, disabledData: s, linkData: g, setData: i, getData: y, setFormRule: V, deleteRule: r } = e.store || {}, h = o(!0);
|
|
851
851
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
852
852
|
() => t.value,
|
|
853
853
|
() => {
|
|
@@ -855,9 +855,9 @@ const fa = (s, e) => {
|
|
|
855
855
|
},
|
|
856
856
|
{ deep: !0 }
|
|
857
857
|
), C(
|
|
858
|
-
() =>
|
|
858
|
+
() => g.value,
|
|
859
859
|
() => {
|
|
860
|
-
|
|
860
|
+
g.value.data.forEach((f) => {
|
|
861
861
|
if (e.setting.options.customQuery.alias && e.setting.options.customQuery.alias === f.alias) {
|
|
862
862
|
p.value = null;
|
|
863
863
|
const b = f.conditionfield.filter((L) => L.defaultType == 1);
|
|
@@ -865,7 +865,7 @@ const fa = (s, e) => {
|
|
|
865
865
|
b.forEach((L) => {
|
|
866
866
|
const T = L.fieldPath.split("."), R = T[T.length - 1];
|
|
867
867
|
w[L.field] = y(R);
|
|
868
|
-
}),
|
|
868
|
+
}), se(
|
|
869
869
|
e.setting.options.customQuery.alias,
|
|
870
870
|
e.setting.options.customQuery.conditionfield,
|
|
871
871
|
w
|
|
@@ -877,31 +877,31 @@ const fa = (s, e) => {
|
|
|
877
877
|
},
|
|
878
878
|
{ deep: !0 }
|
|
879
879
|
);
|
|
880
|
-
const v =
|
|
880
|
+
const v = s.value[e.setting.name] || !1, c = o(!1);
|
|
881
881
|
H(e.setting.options.validateList).then((f) => {
|
|
882
|
-
|
|
882
|
+
c.value = f;
|
|
883
883
|
});
|
|
884
|
-
const d = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", u = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", _ =
|
|
884
|
+
const d = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", u = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", _ = o([]);
|
|
885
885
|
if (e.setting.options.customQuery.alias) {
|
|
886
886
|
const f = e.setting.options.customQuery.conditionfield.filter((w) => w.defaultType == 1);
|
|
887
887
|
let b = {};
|
|
888
888
|
f.forEach((w) => {
|
|
889
889
|
const L = w.fieldPath.split("."), T = L[L.length - 1];
|
|
890
890
|
b[w.field] = y(T);
|
|
891
|
-
}),
|
|
891
|
+
}), se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield, b).then(
|
|
892
892
|
(w) => {
|
|
893
893
|
_.value = w;
|
|
894
894
|
}
|
|
895
895
|
);
|
|
896
896
|
} else
|
|
897
897
|
_.value = e.setting.options.options;
|
|
898
|
-
const m =
|
|
899
|
-
e.setting.options.tip && (m.value =
|
|
900
|
-
const p =
|
|
898
|
+
const m = o();
|
|
899
|
+
e.setting.options.tip && (m.value = x(e.setting.options.tip));
|
|
900
|
+
const p = o();
|
|
901
901
|
p.value = e.setting.options.multiple ? [] : null, setTimeout(() => {
|
|
902
|
-
e.setting.options.multiple && (y(e.setting.name) || e.setting.options.formulasDiyJs) ? (y(e.setting.name) && (p.value = y(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (p.value = e.setting.options.formulasDiyJs.split(","))) : p.value = y(e.setting.name) || e.setting.options.formulasDiyJs || p.value, p.value ||
|
|
902
|
+
e.setting.options.multiple && (y(e.setting.name) || e.setting.options.formulasDiyJs) ? (y(e.setting.name) && (p.value = y(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (p.value = e.setting.options.formulasDiyJs.split(","))) : p.value = y(e.setting.name) || e.setting.options.formulasDiyJs || p.value, p.value || i(e.setting.name, null);
|
|
903
903
|
}, 50), e.setting.options.validateList.length && V(e.setting.name, e.setting.options.validateList), C(p, (f) => {
|
|
904
|
-
e.setting.options.multiple ?
|
|
904
|
+
e.setting.options.multiple ? i(e.setting.name, f.toString()) : i(e.setting.name, f);
|
|
905
905
|
});
|
|
906
906
|
const l = (f) => {
|
|
907
907
|
e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((b) => {
|
|
@@ -930,15 +930,15 @@ const fa = (s, e) => {
|
|
|
930
930
|
optionsLabelKey: a(u),
|
|
931
931
|
helpMessage: m.value,
|
|
932
932
|
disabled: a(v),
|
|
933
|
-
required:
|
|
934
|
-
}, null, 8, ["col", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) :
|
|
933
|
+
required: c.value
|
|
934
|
+
}, null, 8, ["col", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : q("v-if", !0);
|
|
935
935
|
}
|
|
936
936
|
}), tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
937
937
|
__proto__: null,
|
|
938
938
|
default: Sa
|
|
939
|
-
}, Symbol.toStringTag, { value: "Module" })), La = (
|
|
940
|
-
var re,
|
|
941
|
-
const
|
|
939
|
+
}, Symbol.toStringTag, { value: "Module" })), La = (n, e, t) => {
|
|
940
|
+
var re, ne, pe, de, ce;
|
|
941
|
+
const s = Oe().id, g = o(!1), i = (ce = (de = (pe = (ne = (re = n == null ? void 0 : n.options) == null ? void 0 : re.selector) == null ? void 0 : ne.type) == null ? void 0 : pe.alias) == null ? void 0 : de.replace("eip-", "")) == null ? void 0 : ce.replace("-selector", ""), y = o([]), V = o(""), r = o(""), h = {
|
|
942
942
|
user: j("搜索姓名/账号/手机号").value,
|
|
943
943
|
org: j("搜索组织名称/组织编码").value,
|
|
944
944
|
role: j("搜索角色名称").value,
|
|
@@ -953,8 +953,8 @@ const fa = (s, e) => {
|
|
|
953
953
|
job: j("职务选择器").value,
|
|
954
954
|
post: j("岗位选择器").value,
|
|
955
955
|
supplier: j("选择供应商").value,
|
|
956
|
-
source: j("
|
|
957
|
-
},
|
|
956
|
+
source: j("选择源单").value
|
|
957
|
+
}, c = {
|
|
958
958
|
user: "id",
|
|
959
959
|
org: "id",
|
|
960
960
|
role: "id",
|
|
@@ -979,9 +979,9 @@ const fa = (s, e) => {
|
|
|
979
979
|
job: ye,
|
|
980
980
|
post: ye,
|
|
981
981
|
supplier: Ht
|
|
982
|
-
}, p = v[
|
|
983
|
-
var
|
|
984
|
-
|
|
982
|
+
}, p = v[i], l = o({}), f = o([]), b = () => {
|
|
983
|
+
var B, Q;
|
|
984
|
+
i === "supplier" ? (l.value = {
|
|
985
985
|
left: !1,
|
|
986
986
|
content: {
|
|
987
987
|
api: Jt,
|
|
@@ -997,7 +997,7 @@ const fa = (s, e) => {
|
|
|
997
997
|
querys: [
|
|
998
998
|
{
|
|
999
999
|
property: "orgId",
|
|
1000
|
-
value:
|
|
1000
|
+
value: s,
|
|
1001
1001
|
group: "quick",
|
|
1002
1002
|
relation: "AND",
|
|
1003
1003
|
operation: "EQUAL"
|
|
@@ -1009,7 +1009,7 @@ const fa = (s, e) => {
|
|
|
1009
1009
|
}
|
|
1010
1010
|
},
|
|
1011
1011
|
right: !1
|
|
1012
|
-
}, T(), L()) :
|
|
1012
|
+
}, T(), L()) : i === "source" ? (l.value = {
|
|
1013
1013
|
left: !1,
|
|
1014
1014
|
content: {
|
|
1015
1015
|
api: Zt,
|
|
@@ -1027,7 +1027,7 @@ const fa = (s, e) => {
|
|
|
1027
1027
|
}
|
|
1028
1028
|
},
|
|
1029
1029
|
right: !1
|
|
1030
|
-
}, w()) :
|
|
1030
|
+
}, w()) : i === "org" ? (l.value = {
|
|
1031
1031
|
left: !1,
|
|
1032
1032
|
content: {
|
|
1033
1033
|
api: Et,
|
|
@@ -1040,10 +1040,10 @@ const fa = (s, e) => {
|
|
|
1040
1040
|
}
|
|
1041
1041
|
}, w()) : l.value = {
|
|
1042
1042
|
left: {
|
|
1043
|
-
api:
|
|
1043
|
+
api: qt,
|
|
1044
1044
|
params: {
|
|
1045
|
-
projectId:
|
|
1046
|
-
parentId:
|
|
1045
|
+
projectId: s,
|
|
1046
|
+
parentId: s
|
|
1047
1047
|
},
|
|
1048
1048
|
props: {
|
|
1049
1049
|
inputOptions: {
|
|
@@ -1056,8 +1056,8 @@ const fa = (s, e) => {
|
|
|
1056
1056
|
data: []
|
|
1057
1057
|
}
|
|
1058
1058
|
}
|
|
1059
|
-
},
|
|
1060
|
-
api:
|
|
1059
|
+
}, i === "user" && (l.value.content = {
|
|
1060
|
+
api: Bt,
|
|
1061
1061
|
searchKey: "groupId",
|
|
1062
1062
|
params: {
|
|
1063
1063
|
status: 1,
|
|
@@ -1066,7 +1066,7 @@ const fa = (s, e) => {
|
|
|
1066
1066
|
selectListProps: {
|
|
1067
1067
|
data: []
|
|
1068
1068
|
}
|
|
1069
|
-
}, w()),
|
|
1069
|
+
}, w()), i === "role" && (l.value.content = {
|
|
1070
1070
|
api: jt,
|
|
1071
1071
|
searchKey: "orgId",
|
|
1072
1072
|
params: {
|
|
@@ -1075,7 +1075,7 @@ const fa = (s, e) => {
|
|
|
1075
1075
|
selectListProps: {
|
|
1076
1076
|
data: []
|
|
1077
1077
|
}
|
|
1078
|
-
}, w()),
|
|
1078
|
+
}, w()), i === "job" && (l.value.content = {
|
|
1079
1079
|
api: Qt,
|
|
1080
1080
|
searchKey: "groupId",
|
|
1081
1081
|
props: {
|
|
@@ -1084,7 +1084,7 @@ const fa = (s, e) => {
|
|
|
1084
1084
|
selectListProps: {
|
|
1085
1085
|
data: []
|
|
1086
1086
|
}
|
|
1087
|
-
}, w()),
|
|
1087
|
+
}, w()), i === "post" && (l.value.content = {
|
|
1088
1088
|
api: At,
|
|
1089
1089
|
searchKey: "groupId",
|
|
1090
1090
|
props: {
|
|
@@ -1093,14 +1093,14 @@ const fa = (s, e) => {
|
|
|
1093
1093
|
selectListProps: {
|
|
1094
1094
|
data: []
|
|
1095
1095
|
}
|
|
1096
|
-
}, w()), l.value.content.multiple =
|
|
1096
|
+
}, w()), l.value.content.multiple = i === "supplier" || i === "source" ? !1 : !((Q = (B = n == null ? void 0 : n.options) == null ? void 0 : B.selector) != null && Q.isSingle);
|
|
1097
1097
|
}, w = async () => {
|
|
1098
1098
|
f.value = [
|
|
1099
1099
|
{
|
|
1100
1100
|
type: "searchInput",
|
|
1101
1101
|
key: "inputtKey",
|
|
1102
1102
|
label: "",
|
|
1103
|
-
placeholder: h[
|
|
1103
|
+
placeholder: h[i],
|
|
1104
1104
|
value: "",
|
|
1105
1105
|
clearable: !1,
|
|
1106
1106
|
isIconLeft: !0,
|
|
@@ -1114,7 +1114,7 @@ const fa = (s, e) => {
|
|
|
1114
1114
|
type: "searchInput",
|
|
1115
1115
|
key: "inputtKey",
|
|
1116
1116
|
label: "",
|
|
1117
|
-
placeholder: h[
|
|
1117
|
+
placeholder: h[i],
|
|
1118
1118
|
value: "",
|
|
1119
1119
|
clearable: !1,
|
|
1120
1120
|
isIconLeft: !0,
|
|
@@ -1136,50 +1136,50 @@ const fa = (s, e) => {
|
|
|
1136
1136
|
}
|
|
1137
1137
|
];
|
|
1138
1138
|
}, T = async () => {
|
|
1139
|
-
const
|
|
1139
|
+
const B = {
|
|
1140
1140
|
name: "",
|
|
1141
1141
|
published: 1
|
|
1142
|
-
}, [Q, K] = await Wt(
|
|
1142
|
+
}, [Q, K] = await Wt(B).run();
|
|
1143
1143
|
Q || (f.value[1].options = K);
|
|
1144
1144
|
}, R = () => {
|
|
1145
1145
|
var Q;
|
|
1146
|
-
V.value = "",
|
|
1147
|
-
let
|
|
1148
|
-
l.value.content.selectListProps.data = (Q = y == null ? void 0 : y.value) == null ? void 0 : Q.map((K) => ({ name: K == null ? void 0 : K.label, [
|
|
1146
|
+
V.value = "", g.value = !0;
|
|
1147
|
+
let B = c[i];
|
|
1148
|
+
l.value.content.selectListProps.data = (Q = y == null ? void 0 : y.value) == null ? void 0 : Q.map((K) => ({ name: K == null ? void 0 : K.label, [B]: K == null ? void 0 : K.value }));
|
|
1149
1149
|
};
|
|
1150
1150
|
b();
|
|
1151
1151
|
const J = async () => {
|
|
1152
|
-
var
|
|
1152
|
+
var B, Q, K, k, O, P, z, le, Ce, ze, Me, ke, Te, Re, $e, Pe, Fe;
|
|
1153
1153
|
l.value.content.params = {
|
|
1154
|
-
...(Q = (
|
|
1154
|
+
...(Q = (B = l == null ? void 0 : l.value) == null ? void 0 : B.content) == null ? void 0 : Q.params,
|
|
1155
1155
|
pageIndex: 1
|
|
1156
|
-
}, (
|
|
1156
|
+
}, (i === "user" || i === "org" || i === "post" || i === "role" || i === "job") && (l.value.content.params.name = (K = f == null ? void 0 : f.value[0]) == null ? void 0 : K.value), i === "source" && (l.value.content.params.key = (k = f == null ? void 0 : f.value[0]) == null ? void 0 : k.value), i === "supplier" && (l.value.content.params.querys = [
|
|
1157
1157
|
{
|
|
1158
1158
|
property: "orgId",
|
|
1159
|
-
value:
|
|
1159
|
+
value: s,
|
|
1160
1160
|
group: "quick",
|
|
1161
1161
|
relation: "AND",
|
|
1162
1162
|
operation: "EQUAL"
|
|
1163
1163
|
}
|
|
1164
|
-
], (O = f == null ? void 0 : f.value[0]) != null && O.value && (l.value.content.params.querys = (Me = (le = (
|
|
1164
|
+
], (O = f == null ? void 0 : f.value[0]) != null && O.value && (l.value.content.params.querys = (Me = (le = (z = (P = l == null ? void 0 : l.value) == null ? void 0 : P.content) == null ? void 0 : z.params) == null ? void 0 : le.querys) == null ? void 0 : Me.concat([
|
|
1165
1165
|
{
|
|
1166
1166
|
property: "name",
|
|
1167
|
-
value: (
|
|
1167
|
+
value: (Ce = f == null ? void 0 : f.value[0]) == null ? void 0 : Ce.value,
|
|
1168
1168
|
group: "merge",
|
|
1169
1169
|
relation: "OR",
|
|
1170
1170
|
operation: "LIKE"
|
|
1171
1171
|
},
|
|
1172
1172
|
{
|
|
1173
1173
|
property: "code",
|
|
1174
|
-
value: (
|
|
1174
|
+
value: (ze = f == null ? void 0 : f.value[0]) == null ? void 0 : ze.value,
|
|
1175
1175
|
group: "merge",
|
|
1176
1176
|
relation: "OR",
|
|
1177
1177
|
operation: "LIKE"
|
|
1178
1178
|
}
|
|
1179
|
-
])), (
|
|
1179
|
+
])), (ke = f == null ? void 0 : f.value[1]) != null && ke.value && (l.value.content.params.querys = (Fe = ($e = (Re = (Te = l == null ? void 0 : l.value) == null ? void 0 : Te.content) == null ? void 0 : Re.params) == null ? void 0 : $e.querys) == null ? void 0 : Fe.concat([
|
|
1180
1180
|
{
|
|
1181
1181
|
property: "classificationId",
|
|
1182
|
-
value: (
|
|
1182
|
+
value: (Pe = f == null ? void 0 : f.value[1]) == null ? void 0 : Pe.value,
|
|
1183
1183
|
group: "quick",
|
|
1184
1184
|
relation: "AND",
|
|
1185
1185
|
operation: "EQUAL"
|
|
@@ -1187,65 +1187,65 @@ const fa = (s, e) => {
|
|
|
1187
1187
|
])));
|
|
1188
1188
|
};
|
|
1189
1189
|
C(
|
|
1190
|
-
() =>
|
|
1191
|
-
(
|
|
1192
|
-
|
|
1190
|
+
() => g == null ? void 0 : g.value,
|
|
1191
|
+
(B) => {
|
|
1192
|
+
B || $();
|
|
1193
1193
|
}
|
|
1194
1194
|
);
|
|
1195
1195
|
const $ = async () => {
|
|
1196
|
-
|
|
1196
|
+
i === "supplier" ? (f.value[0].value = "", f.value[1].value = void 0) : (i === "org" || i === "user" || i === "source" || i === "post" || i === "role" || i === "job") && (f.value[0].value = ""), b();
|
|
1197
1197
|
};
|
|
1198
1198
|
return {
|
|
1199
|
-
dialogVisible:
|
|
1199
|
+
dialogVisible: g,
|
|
1200
1200
|
title: p,
|
|
1201
1201
|
searchName: V,
|
|
1202
|
-
selectorType:
|
|
1202
|
+
selectorType: i,
|
|
1203
1203
|
selectOptions: y,
|
|
1204
1204
|
tableOptions: l,
|
|
1205
1205
|
userStatusMap: d,
|
|
1206
1206
|
roleTypeMap: u,
|
|
1207
1207
|
roleStatusMap: _,
|
|
1208
1208
|
openDialog: R,
|
|
1209
|
-
confirm: (
|
|
1209
|
+
confirm: (B) => {
|
|
1210
1210
|
var K;
|
|
1211
|
-
let Q =
|
|
1212
|
-
y.value =
|
|
1211
|
+
let Q = c[i];
|
|
1212
|
+
y.value = B == null ? void 0 : B.map((k) => ({ label: (k == null ? void 0 : k.name) || (k == null ? void 0 : k.code), value: k[Q] })), i === "supplier" && (r.value = (K = B[0]) == null ? void 0 : K.linkmanPhone);
|
|
1213
1213
|
},
|
|
1214
|
-
getDetail: async (
|
|
1215
|
-
if (!
|
|
1216
|
-
const Q = m[
|
|
1214
|
+
getDetail: async (B) => {
|
|
1215
|
+
if (!B) return;
|
|
1216
|
+
const Q = m[i];
|
|
1217
1217
|
let K = {};
|
|
1218
|
-
const k =
|
|
1219
|
-
if (
|
|
1218
|
+
const k = B == null ? void 0 : B.split(",");
|
|
1219
|
+
if (i === "source") {
|
|
1220
1220
|
y.value = [
|
|
1221
1221
|
{
|
|
1222
|
-
label:
|
|
1223
|
-
value:
|
|
1222
|
+
label: B,
|
|
1223
|
+
value: B
|
|
1224
1224
|
}
|
|
1225
1225
|
];
|
|
1226
1226
|
return;
|
|
1227
|
-
} else
|
|
1227
|
+
} else i === "user" ? K.userIds = k : i === "role" ? K.ids = k : i === "supplier" ? K.id = k : K = k;
|
|
1228
1228
|
const [O, P] = await Q(K).run();
|
|
1229
|
-
O || (
|
|
1229
|
+
O || (i === "supplier" ? y.value = [
|
|
1230
1230
|
{
|
|
1231
1231
|
label: (P == null ? void 0 : P.name) || (P == null ? void 0 : P.code),
|
|
1232
1232
|
value: P == null ? void 0 : P.id
|
|
1233
1233
|
}
|
|
1234
|
-
] : y.value = P == null ? void 0 : P.map((
|
|
1234
|
+
] : y.value = P == null ? void 0 : P.map((z) => ({ label: (z == null ? void 0 : z.name) || (z == null ? void 0 : z.code), value: z == null ? void 0 : z.id })));
|
|
1235
1235
|
},
|
|
1236
1236
|
searchData: J,
|
|
1237
1237
|
searchOptions: f,
|
|
1238
1238
|
linkmanPhone: r
|
|
1239
1239
|
};
|
|
1240
1240
|
}, Na = () => {
|
|
1241
|
-
const
|
|
1241
|
+
const n = o(""), e = o(""), t = o([]), s = o("");
|
|
1242
1242
|
return {
|
|
1243
|
-
spacePath:
|
|
1243
|
+
spacePath: n,
|
|
1244
1244
|
spaceName: e,
|
|
1245
1245
|
spaceTreeData: t,
|
|
1246
|
-
searchSpace:
|
|
1246
|
+
searchSpace: s,
|
|
1247
1247
|
changeSpace: (r, h) => {
|
|
1248
|
-
|
|
1248
|
+
n.value = h[0].path, e.value = h[0].pathName;
|
|
1249
1249
|
},
|
|
1250
1250
|
spaceLoad: async (r) => {
|
|
1251
1251
|
let h = {
|
|
@@ -1258,28 +1258,28 @@ const fa = (s, e) => {
|
|
|
1258
1258
|
};
|
|
1259
1259
|
h.spaceId = r != null && r.id ? r.id : "";
|
|
1260
1260
|
let v = Ut;
|
|
1261
|
-
const [
|
|
1262
|
-
return
|
|
1261
|
+
const [c, d] = await v(h).run();
|
|
1262
|
+
return c ? {} : d;
|
|
1263
1263
|
},
|
|
1264
1264
|
filterSpaceTree: async (r) => {
|
|
1265
1265
|
if (!r) return [];
|
|
1266
|
-
let h =
|
|
1266
|
+
let h = Yt;
|
|
1267
1267
|
const v = {
|
|
1268
1268
|
name: r
|
|
1269
|
-
}, [
|
|
1270
|
-
return
|
|
1269
|
+
}, [c, d] = await h(v).run();
|
|
1270
|
+
return c ? {} : (d.forEach((u) => {
|
|
1271
1271
|
u.path.startsWith("/0") && (u.path = u.path.slice(2) + `/${u.id}`), u._name = u.nodeName ? u.nodeName : u.name;
|
|
1272
1272
|
}), d);
|
|
1273
1273
|
},
|
|
1274
1274
|
getSpaceDetail: async (r) => {
|
|
1275
|
-
const [h, v] = await
|
|
1276
|
-
h || (
|
|
1275
|
+
const [h, v] = await xt().run({ spaceId: r });
|
|
1276
|
+
h || (n.value = v.path);
|
|
1277
1277
|
}
|
|
1278
1278
|
};
|
|
1279
|
-
}, Ca = { class: "table-search-process-top" },
|
|
1279
|
+
}, Ca = { class: "table-search-process-top" }, za = {
|
|
1280
1280
|
name: "selector"
|
|
1281
|
-
},
|
|
1282
|
-
...
|
|
1281
|
+
}, Ma = /* @__PURE__ */ E({
|
|
1282
|
+
...za,
|
|
1283
1283
|
props: {
|
|
1284
1284
|
setting: { default: () => ({
|
|
1285
1285
|
icon: "",
|
|
@@ -1293,16 +1293,16 @@ const fa = (s, e) => {
|
|
|
1293
1293
|
marginRight: {},
|
|
1294
1294
|
store: {}
|
|
1295
1295
|
},
|
|
1296
|
-
setup(
|
|
1297
|
-
const e =
|
|
1296
|
+
setup(n) {
|
|
1297
|
+
const e = n, { showData: t, setData: s, getData: g, flowKey: i, setFormRule: y, deleteRule: V, disabledData: r } = e.store || {}, h = o(!0);
|
|
1298
1298
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
1299
1299
|
() => t.value,
|
|
1300
1300
|
() => {
|
|
1301
|
-
h.value = t.value[e.setting.name], h.value || (
|
|
1301
|
+
h.value = t.value[e.setting.name], h.value || (c.value = "", l.value = [], V(e.setting.name)), h.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
1302
1302
|
},
|
|
1303
1303
|
{ deep: !0 }
|
|
1304
1304
|
);
|
|
1305
|
-
const v = r.value[e.setting.name] || !1,
|
|
1305
|
+
const v = r.value[e.setting.name] || !1, c = o(""), {
|
|
1306
1306
|
dialogVisible: d,
|
|
1307
1307
|
title: u,
|
|
1308
1308
|
searchName: _,
|
|
@@ -1317,23 +1317,23 @@ const fa = (s, e) => {
|
|
|
1317
1317
|
getDetail: R,
|
|
1318
1318
|
searchData: J,
|
|
1319
1319
|
searchOptions: $,
|
|
1320
|
-
linkmanPhone:
|
|
1321
|
-
} = La(e.setting,
|
|
1320
|
+
linkmanPhone: Y
|
|
1321
|
+
} = La(e.setting, i, c), { spacePath: W, spaceName: re, searchSpace: ne, changeSpace: pe, spaceLoad: de, filterSpaceTree: ce, getSpaceDetail: B } = Na(), Q = o(!1);
|
|
1322
1322
|
H(e.setting.options.validateList).then((k) => {
|
|
1323
1323
|
Q.value = k;
|
|
1324
1324
|
});
|
|
1325
|
-
const K =
|
|
1326
|
-
return e.setting.options.tip && (K.value =
|
|
1327
|
-
|
|
1325
|
+
const K = o();
|
|
1326
|
+
return e.setting.options.tip && (K.value = x(e.setting.options.tip)), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), p == "position" ? (c.value = g(e.setting.name) ? g(e.setting.name) : c.value, c.value && B(c.value), c.value || s(e.setting.name, null), C(c, (k) => {
|
|
1327
|
+
s(e.setting.name, k);
|
|
1328
1328
|
}), C(re, (k) => {
|
|
1329
|
-
|
|
1330
|
-
})) : p == "supplier" ? (
|
|
1331
|
-
|
|
1332
|
-
}), C(
|
|
1333
|
-
var O, P,
|
|
1334
|
-
((le = (
|
|
1335
|
-
})) : (
|
|
1336
|
-
|
|
1329
|
+
s(e.setting.options.selector.type.positionName, k);
|
|
1330
|
+
})) : p == "supplier" ? (c.value = g(e.setting.name) ? [g(e.setting.name)] : [c.value], c.value && R(g(e.setting.name)), C(c, (k) => {
|
|
1331
|
+
s(e.setting.name, k == null ? void 0 : k.toString());
|
|
1332
|
+
}), C(Y, (k) => {
|
|
1333
|
+
var O, P, z, le;
|
|
1334
|
+
((le = (z = (P = (O = e == null ? void 0 : e.setting) == null ? void 0 : O.options) == null ? void 0 : P.selector) == null ? void 0 : z.type) == null ? void 0 : le.supplierPhone) !== void 0 && s(e.setting.options.selector.type.supplierPhone, k);
|
|
1335
|
+
})) : (c.value = g(e.setting.name) ? g(e.setting.name) : c.value, c.value && R(c.value), c.value.length || s(e.setting.name, null), C(l, (k) => {
|
|
1336
|
+
c.value = k.map((O) => O.value).toString(), s(e.setting.name, c.value);
|
|
1337
1337
|
})), (k, O) => (S(), U(
|
|
1338
1338
|
G,
|
|
1339
1339
|
null,
|
|
@@ -1341,8 +1341,8 @@ const fa = (s, e) => {
|
|
|
1341
1341
|
h.value && a(p) != "position" ? (S(), I(a(A), {
|
|
1342
1342
|
key: 0,
|
|
1343
1343
|
col: e.span,
|
|
1344
|
-
modelValue:
|
|
1345
|
-
"onUpdate:modelValue": O[1] || (O[1] = (P) =>
|
|
1344
|
+
modelValue: c.value,
|
|
1345
|
+
"onUpdate:modelValue": O[1] || (O[1] = (P) => c.value = P),
|
|
1346
1346
|
prop: e.setting.name,
|
|
1347
1347
|
label: k.setting.desc,
|
|
1348
1348
|
type: "inputDialogSelect",
|
|
@@ -1351,15 +1351,16 @@ const fa = (s, e) => {
|
|
|
1351
1351
|
isView: e.isView,
|
|
1352
1352
|
disabled: a(v),
|
|
1353
1353
|
required: Q.value,
|
|
1354
|
+
placeholder: k.setting.options.placeholder,
|
|
1354
1355
|
onOpenDialog: a(L)
|
|
1355
1356
|
}, {
|
|
1356
|
-
default:
|
|
1357
|
+
default: M(() => {
|
|
1357
1358
|
var P;
|
|
1358
1359
|
return [
|
|
1359
1360
|
N(a(Dt), {
|
|
1360
1361
|
"append-to-body": "",
|
|
1361
1362
|
modelValue: a(d),
|
|
1362
|
-
"onUpdate:modelValue": O[0] || (O[0] = (
|
|
1363
|
+
"onUpdate:modelValue": O[0] || (O[0] = (z) => he(d) ? d.value = z : null),
|
|
1363
1364
|
options: a(m),
|
|
1364
1365
|
onConfirm: a(T),
|
|
1365
1366
|
title: a(u),
|
|
@@ -1370,8 +1371,8 @@ const fa = (s, e) => {
|
|
|
1370
1371
|
}, [
|
|
1371
1372
|
((P = a($)) == null ? void 0 : P.length) > 0 ? {
|
|
1372
1373
|
name: "table-header-search",
|
|
1373
|
-
fn:
|
|
1374
|
-
|
|
1374
|
+
fn: M(() => [
|
|
1375
|
+
Ke("div", Ca, [
|
|
1375
1376
|
N(a(Vt), {
|
|
1376
1377
|
labelLength: "6",
|
|
1377
1378
|
options: a($),
|
|
@@ -1384,7 +1385,7 @@ const fa = (s, e) => {
|
|
|
1384
1385
|
} : void 0,
|
|
1385
1386
|
a(p) === "user" ? {
|
|
1386
1387
|
name: "table-column",
|
|
1387
|
-
fn:
|
|
1388
|
+
fn: M(() => [
|
|
1388
1389
|
N(a(F), {
|
|
1389
1390
|
label: a(D)("姓名"),
|
|
1390
1391
|
prop: "name"
|
|
@@ -1397,15 +1398,15 @@ const fa = (s, e) => {
|
|
|
1397
1398
|
label: a(D)("手机号"),
|
|
1398
1399
|
prop: "sensitivePhone"
|
|
1399
1400
|
}, {
|
|
1400
|
-
default:
|
|
1401
|
-
N(a(
|
|
1401
|
+
default: M(({ row: z }) => [
|
|
1402
|
+
N(a(Se), {
|
|
1402
1403
|
placement: "top",
|
|
1403
|
-
content:
|
|
1404
|
-
disabled: !
|
|
1404
|
+
content: z.phone,
|
|
1405
|
+
disabled: !z.phone
|
|
1405
1406
|
}, {
|
|
1406
|
-
default:
|
|
1407
|
+
default: M(() => [
|
|
1407
1408
|
ee(
|
|
1408
|
-
te(
|
|
1409
|
+
te(z.sensitivePhone || "-"),
|
|
1409
1410
|
1
|
|
1410
1411
|
/* TEXT */
|
|
1411
1412
|
)
|
|
@@ -1420,9 +1421,9 @@ const fa = (s, e) => {
|
|
|
1420
1421
|
N(a(F), {
|
|
1421
1422
|
label: a(D)("状态")
|
|
1422
1423
|
}, {
|
|
1423
|
-
default:
|
|
1424
|
+
default: M(({ row: z }) => [
|
|
1424
1425
|
ee(
|
|
1425
|
-
te(a(f)[
|
|
1426
|
+
te(a(f)[z.status]),
|
|
1426
1427
|
1
|
|
1427
1428
|
/* TEXT */
|
|
1428
1429
|
)
|
|
@@ -1435,7 +1436,7 @@ const fa = (s, e) => {
|
|
|
1435
1436
|
} : void 0,
|
|
1436
1437
|
a(p) === "org" ? {
|
|
1437
1438
|
name: "table-column",
|
|
1438
|
-
fn:
|
|
1439
|
+
fn: M(() => [
|
|
1439
1440
|
N(a(F), {
|
|
1440
1441
|
label: a(D)("组织名称"),
|
|
1441
1442
|
prop: "name"
|
|
@@ -1453,7 +1454,7 @@ const fa = (s, e) => {
|
|
|
1453
1454
|
} : void 0,
|
|
1454
1455
|
a(p) === "role" ? {
|
|
1455
1456
|
name: "table-column",
|
|
1456
|
-
fn:
|
|
1457
|
+
fn: M(() => [
|
|
1457
1458
|
N(a(F), {
|
|
1458
1459
|
label: a(D)("角色名称"),
|
|
1459
1460
|
prop: "name"
|
|
@@ -1461,9 +1462,9 @@ const fa = (s, e) => {
|
|
|
1461
1462
|
N(a(F), {
|
|
1462
1463
|
label: a(D)("角色类型")
|
|
1463
1464
|
}, {
|
|
1464
|
-
default:
|
|
1465
|
+
default: M(({ row: z }) => [
|
|
1465
1466
|
ee(
|
|
1466
|
-
te(a(b)[
|
|
1467
|
+
te(a(b)[z.type]),
|
|
1467
1468
|
1
|
|
1468
1469
|
/* TEXT */
|
|
1469
1470
|
)
|
|
@@ -1474,9 +1475,9 @@ const fa = (s, e) => {
|
|
|
1474
1475
|
N(a(F), {
|
|
1475
1476
|
label: a(D)("角色状态")
|
|
1476
1477
|
}, {
|
|
1477
|
-
default:
|
|
1478
|
+
default: M(({ row: z }) => [
|
|
1478
1479
|
ee(
|
|
1479
|
-
te(a(w)[
|
|
1480
|
+
te(a(w)[z.status]),
|
|
1480
1481
|
1
|
|
1481
1482
|
/* TEXT */
|
|
1482
1483
|
)
|
|
@@ -1489,7 +1490,7 @@ const fa = (s, e) => {
|
|
|
1489
1490
|
} : void 0,
|
|
1490
1491
|
a(p) === "job" ? {
|
|
1491
1492
|
name: "table-column",
|
|
1492
|
-
fn:
|
|
1493
|
+
fn: M(() => [
|
|
1493
1494
|
N(a(F), {
|
|
1494
1495
|
label: a(D)("职务名称"),
|
|
1495
1496
|
prop: "name"
|
|
@@ -1507,7 +1508,7 @@ const fa = (s, e) => {
|
|
|
1507
1508
|
} : void 0,
|
|
1508
1509
|
a(p) === "post" ? {
|
|
1509
1510
|
name: "table-column",
|
|
1510
|
-
fn:
|
|
1511
|
+
fn: M(() => [
|
|
1511
1512
|
N(a(F), {
|
|
1512
1513
|
label: a(D)("岗位名称"),
|
|
1513
1514
|
prop: "name"
|
|
@@ -1525,7 +1526,7 @@ const fa = (s, e) => {
|
|
|
1525
1526
|
} : void 0,
|
|
1526
1527
|
a(p) === "supplier" ? {
|
|
1527
1528
|
name: "table-column",
|
|
1528
|
-
fn:
|
|
1529
|
+
fn: M(() => [
|
|
1529
1530
|
N(a(F), {
|
|
1530
1531
|
type: "index",
|
|
1531
1532
|
width: "50"
|
|
@@ -1546,8 +1547,8 @@ const fa = (s, e) => {
|
|
|
1546
1547
|
label: a(D)("供应商分类"),
|
|
1547
1548
|
prop: "classificationName"
|
|
1548
1549
|
}, {
|
|
1549
|
-
default:
|
|
1550
|
-
|
|
1550
|
+
default: M(() => [
|
|
1551
|
+
q(` <template #default="{row}">\r
|
|
1551
1552
|
{{ getSupplierName(row) }}\r
|
|
1552
1553
|
</template> `)
|
|
1553
1554
|
]),
|
|
@@ -1558,9 +1559,9 @@ const fa = (s, e) => {
|
|
|
1558
1559
|
label: a(D)("个人/公司"),
|
|
1559
1560
|
prop: "businessType"
|
|
1560
1561
|
}, {
|
|
1561
|
-
default:
|
|
1562
|
+
default: M(({ row: z }) => [
|
|
1562
1563
|
ee(
|
|
1563
|
-
te(
|
|
1564
|
+
te(z.businessType == "COMPANY" ? a(D)("公司") : a(D)("个人")),
|
|
1564
1565
|
1
|
|
1565
1566
|
/* TEXT */
|
|
1566
1567
|
)
|
|
@@ -1573,7 +1574,7 @@ const fa = (s, e) => {
|
|
|
1573
1574
|
} : void 0,
|
|
1574
1575
|
a(p) === "source" ? {
|
|
1575
1576
|
name: "table-column",
|
|
1576
|
-
fn:
|
|
1577
|
+
fn: M(() => [
|
|
1577
1578
|
N(a(F), {
|
|
1578
1579
|
type: "index",
|
|
1579
1580
|
width: "50"
|
|
@@ -1588,15 +1589,35 @@ const fa = (s, e) => {
|
|
|
1588
1589
|
}, null, 8, ["label"]),
|
|
1589
1590
|
N(a(F), {
|
|
1590
1591
|
label: a(D)("联系电话"),
|
|
1591
|
-
prop: "
|
|
1592
|
-
},
|
|
1592
|
+
prop: "sensitivePhone"
|
|
1593
|
+
}, {
|
|
1594
|
+
default: M(({ row: z }) => [
|
|
1595
|
+
N(a(Se), {
|
|
1596
|
+
placement: "top",
|
|
1597
|
+
content: z.phone,
|
|
1598
|
+
disabled: !z.phone
|
|
1599
|
+
}, {
|
|
1600
|
+
default: M(() => [
|
|
1601
|
+
ee(
|
|
1602
|
+
te(z.sensitivePhone || "-"),
|
|
1603
|
+
1
|
|
1604
|
+
/* TEXT */
|
|
1605
|
+
)
|
|
1606
|
+
]),
|
|
1607
|
+
_: 2
|
|
1608
|
+
/* DYNAMIC */
|
|
1609
|
+
}, 1032, ["content", "disabled"])
|
|
1610
|
+
]),
|
|
1611
|
+
_: 1
|
|
1612
|
+
/* STABLE */
|
|
1613
|
+
}, 8, ["label"]),
|
|
1593
1614
|
N(a(F), {
|
|
1594
1615
|
label: a(D)("计划领用日期"),
|
|
1595
1616
|
prop: "claimingDate"
|
|
1596
1617
|
}, {
|
|
1597
|
-
default:
|
|
1618
|
+
default: M(({ row: z }) => [
|
|
1598
1619
|
ee(
|
|
1599
|
-
te(
|
|
1620
|
+
te(z.claimingDate ? a(me)(Number(z == null ? void 0 : z.claimingDate)).format("YYYY/MM/DD") : "-"),
|
|
1600
1621
|
1
|
|
1601
1622
|
/* TEXT */
|
|
1602
1623
|
)
|
|
@@ -1616,7 +1637,7 @@ const fa = (s, e) => {
|
|
|
1616
1637
|
}),
|
|
1617
1638
|
_: 1
|
|
1618
1639
|
/* STABLE */
|
|
1619
|
-
}, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "onOpenDialog"])) :
|
|
1640
|
+
}, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "placeholder", "onOpenDialog"])) : q("v-if", !0),
|
|
1620
1641
|
h.value && a(p) == "position" ? (S(), I(a(A), {
|
|
1621
1642
|
key: 1,
|
|
1622
1643
|
col: e.span,
|
|
@@ -1626,32 +1647,33 @@ const fa = (s, e) => {
|
|
|
1626
1647
|
"node-key": "id",
|
|
1627
1648
|
showFullPath: !0,
|
|
1628
1649
|
helpMessage: K.value,
|
|
1650
|
+
placeholder: k.setting.options.placeholder,
|
|
1629
1651
|
required: Q.value,
|
|
1630
|
-
modelValue:
|
|
1631
|
-
"onUpdate:modelValue": O[2] || (O[2] = (P) =>
|
|
1632
|
-
keyword: a(
|
|
1633
|
-
"onUpdate:keyword": O[3] || (O[3] = (P) => he(
|
|
1652
|
+
modelValue: c.value,
|
|
1653
|
+
"onUpdate:modelValue": O[2] || (O[2] = (P) => c.value = P),
|
|
1654
|
+
keyword: a(ne),
|
|
1655
|
+
"onUpdate:keyword": O[3] || (O[3] = (P) => he(ne) ? ne.value = P : null),
|
|
1634
1656
|
path: a(W),
|
|
1635
1657
|
"onUpdate:path": O[4] || (O[4] = (P) => he(W) ? W.value = P : null),
|
|
1636
1658
|
isView: e.isView,
|
|
1637
1659
|
disabled: a(v),
|
|
1638
1660
|
load: a(de),
|
|
1639
|
-
search: a(
|
|
1661
|
+
search: a(ce),
|
|
1640
1662
|
props: {
|
|
1641
1663
|
isLeaf: "leaf",
|
|
1642
1664
|
label: "name"
|
|
1643
1665
|
},
|
|
1644
1666
|
onChange: a(pe)
|
|
1645
|
-
}, null, 8, ["col", "label", "prop", "helpMessage", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange"])) :
|
|
1667
|
+
}, null, 8, ["col", "label", "prop", "helpMessage", "placeholder", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange"])) : q("v-if", !0)
|
|
1646
1668
|
],
|
|
1647
1669
|
64
|
|
1648
1670
|
/* STABLE_FRAGMENT */
|
|
1649
1671
|
));
|
|
1650
1672
|
}
|
|
1651
|
-
}),
|
|
1673
|
+
}), ka = /* @__PURE__ */ fe(Ma, [["__scopeId", "data-v-a1e1fa30"]]), at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1652
1674
|
__proto__: null,
|
|
1653
|
-
default:
|
|
1654
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1675
|
+
default: ka
|
|
1676
|
+
}, Symbol.toStringTag, { value: "Module" })), Ta = {
|
|
1655
1677
|
key: 0,
|
|
1656
1678
|
class: "form-image"
|
|
1657
1679
|
}, Ra = {
|
|
@@ -1674,24 +1696,24 @@ const fa = (s, e) => {
|
|
|
1674
1696
|
marginRight: {},
|
|
1675
1697
|
store: {}
|
|
1676
1698
|
},
|
|
1677
|
-
setup(
|
|
1678
|
-
const e =
|
|
1699
|
+
setup(n) {
|
|
1700
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: V } = e.store || {}, r = o(!0);
|
|
1679
1701
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
1680
1702
|
() => t.value,
|
|
1681
1703
|
() => {
|
|
1682
1704
|
r.value = t.value[e.setting.name], r.value || (u.value = "", V(e.setting.name)), r.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
|
|
1683
1705
|
},
|
|
1684
1706
|
{ deep: !0 }
|
|
1685
|
-
),
|
|
1686
|
-
const { baseURL: h } = St(), v =
|
|
1707
|
+
), s.value[e.setting.name];
|
|
1708
|
+
const { baseURL: h } = St(), v = o(!1);
|
|
1687
1709
|
H(e.setting.options.validateList).then((_) => {
|
|
1688
1710
|
v.value = _;
|
|
1689
1711
|
});
|
|
1690
|
-
const
|
|
1691
|
-
e.setting.options.tip && (d.value =
|
|
1692
|
-
const u =
|
|
1693
|
-
if (
|
|
1694
|
-
const _ = JSON.parse(
|
|
1712
|
+
const c = o("info"), d = o();
|
|
1713
|
+
e.setting.options.tip && (d.value = x(e.setting.options.tip));
|
|
1714
|
+
const u = o();
|
|
1715
|
+
if (i(e.setting.name)) {
|
|
1716
|
+
const _ = JSON.parse(i(e.setting.name));
|
|
1695
1717
|
u.value = h + _[0].url;
|
|
1696
1718
|
}
|
|
1697
1719
|
return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), (_, m) => e.isView && r.value ? (S(), I(a(A), {
|
|
@@ -1705,27 +1727,27 @@ const fa = (s, e) => {
|
|
|
1705
1727
|
helpMessage: d.value,
|
|
1706
1728
|
required: v.value
|
|
1707
1729
|
}, {
|
|
1708
|
-
default:
|
|
1709
|
-
u.value ? (S(), U("div",
|
|
1710
|
-
N(a(
|
|
1730
|
+
default: M(() => [
|
|
1731
|
+
u.value ? (S(), U("div", Ta, [
|
|
1732
|
+
N(a(je), {
|
|
1711
1733
|
modelValue: u.value,
|
|
1712
1734
|
"onUpdate:modelValue": m[0] || (m[0] = (p) => u.value = p),
|
|
1713
|
-
status:
|
|
1714
|
-
"onUpdate:status": m[1] || (m[1] = (p) =>
|
|
1735
|
+
status: c.value,
|
|
1736
|
+
"onUpdate:status": m[1] || (m[1] = (p) => c.value = p),
|
|
1715
1737
|
required: v.value
|
|
1716
1738
|
}, null, 8, ["modelValue", "status", "required"])
|
|
1717
1739
|
])) : (S(), U("div", Ra, "-"))
|
|
1718
1740
|
]),
|
|
1719
1741
|
_: 1
|
|
1720
1742
|
/* STABLE */
|
|
1721
|
-
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) :
|
|
1743
|
+
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) : q("v-if", !0);
|
|
1722
1744
|
}
|
|
1723
|
-
}), Fa = /* @__PURE__ */ fe(Pa, [["__scopeId", "data-v-c408712c"]]),
|
|
1745
|
+
}), Fa = /* @__PURE__ */ fe(Pa, [["__scopeId", "data-v-c408712c"]]), nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1724
1746
|
__proto__: null,
|
|
1725
1747
|
default: Fa
|
|
1726
1748
|
}, Symbol.toStringTag, { value: "Module" })), Ia = {
|
|
1727
1749
|
name: "switch"
|
|
1728
|
-
},
|
|
1750
|
+
}, qa = /* @__PURE__ */ E({
|
|
1729
1751
|
...Ia,
|
|
1730
1752
|
props: {
|
|
1731
1753
|
setting: { default: () => ({
|
|
@@ -1740,8 +1762,8 @@ const fa = (s, e) => {
|
|
|
1740
1762
|
marginRight: {},
|
|
1741
1763
|
store: {}
|
|
1742
1764
|
},
|
|
1743
|
-
setup(
|
|
1744
|
-
const e =
|
|
1765
|
+
setup(n) {
|
|
1766
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: V } = e.store || {}, r = o(!0);
|
|
1745
1767
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
1746
1768
|
() => t.value,
|
|
1747
1769
|
() => {
|
|
@@ -1749,17 +1771,17 @@ const fa = (s, e) => {
|
|
|
1749
1771
|
},
|
|
1750
1772
|
{ deep: !0 }
|
|
1751
1773
|
);
|
|
1752
|
-
const h =
|
|
1774
|
+
const h = s.value[e.setting.name] || !1, v = o(!1);
|
|
1753
1775
|
H(e.setting.options.validateList).then((u) => {
|
|
1754
1776
|
v.value = u;
|
|
1755
1777
|
});
|
|
1756
|
-
const
|
|
1757
|
-
e.setting.options.tip && (
|
|
1758
|
-
const d =
|
|
1778
|
+
const c = o();
|
|
1779
|
+
e.setting.options.tip && (c.value = x(e.setting.options.tip));
|
|
1780
|
+
const d = o();
|
|
1759
1781
|
return setTimeout(() => {
|
|
1760
|
-
d.value =
|
|
1782
|
+
d.value = i(e.setting.name) || e.setting.options.formulasDiyJs || d.value, d.value || g(e.setting.name, null);
|
|
1761
1783
|
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(d, (u) => {
|
|
1762
|
-
|
|
1784
|
+
g(e.setting.name, u);
|
|
1763
1785
|
}), (u, _) => r.value ? (S(), I(a(A), {
|
|
1764
1786
|
key: 0,
|
|
1765
1787
|
col: e.span,
|
|
@@ -1772,19 +1794,19 @@ const fa = (s, e) => {
|
|
|
1772
1794
|
inactiveValue: u.setting.options.inactiveValue,
|
|
1773
1795
|
activeText: u.setting.options.activeText,
|
|
1774
1796
|
inactiveText: u.setting.options.inactiveText,
|
|
1775
|
-
helpMessage:
|
|
1797
|
+
helpMessage: c.value,
|
|
1776
1798
|
disabled: a(h),
|
|
1777
1799
|
required: v.value,
|
|
1778
1800
|
isView: e.isView
|
|
1779
|
-
}, null, 8, ["col", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "disabled", "required", "isView"])) :
|
|
1801
|
+
}, null, 8, ["col", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "disabled", "required", "isView"])) : q("v-if", !0);
|
|
1780
1802
|
}
|
|
1781
|
-
}),
|
|
1803
|
+
}), st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1782
1804
|
__proto__: null,
|
|
1783
|
-
default:
|
|
1784
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1805
|
+
default: qa
|
|
1806
|
+
}, Symbol.toStringTag, { value: "Module" })), Ba = {
|
|
1785
1807
|
name: "text"
|
|
1786
1808
|
}, Ka = /* @__PURE__ */ E({
|
|
1787
|
-
...
|
|
1809
|
+
...Ba,
|
|
1788
1810
|
props: {
|
|
1789
1811
|
setting: { default: () => ({
|
|
1790
1812
|
icon: "",
|
|
@@ -1798,8 +1820,8 @@ const fa = (s, e) => {
|
|
|
1798
1820
|
marginRight: {},
|
|
1799
1821
|
store: {}
|
|
1800
1822
|
},
|
|
1801
|
-
setup(
|
|
1802
|
-
const e =
|
|
1823
|
+
setup(n) {
|
|
1824
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: V } = e.store || {}, r = o(!0);
|
|
1803
1825
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
1804
1826
|
() => t.value,
|
|
1805
1827
|
() => {
|
|
@@ -1807,21 +1829,21 @@ const fa = (s, e) => {
|
|
|
1807
1829
|
},
|
|
1808
1830
|
{ deep: !0 }
|
|
1809
1831
|
);
|
|
1810
|
-
const h =
|
|
1811
|
-
e.setting.options.tip && (h.value =
|
|
1812
|
-
const v =
|
|
1813
|
-
return v.value = e.setting.options.textValue, v.value =
|
|
1814
|
-
|
|
1815
|
-
}), (
|
|
1832
|
+
const h = o();
|
|
1833
|
+
e.setting.options.tip && (h.value = x(e.setting.options.tip));
|
|
1834
|
+
const v = o();
|
|
1835
|
+
return v.value = e.setting.options.textValue, v.value = i(e.setting.name) || v.value, v.value || g(e.setting.name, null), C(v, (c) => {
|
|
1836
|
+
g(e.setting.name, c);
|
|
1837
|
+
}), (c, d) => r.value ? (S(), I(a(A), {
|
|
1816
1838
|
key: 0,
|
|
1817
1839
|
col: e.span,
|
|
1818
1840
|
modelValue: v.value,
|
|
1819
1841
|
"onUpdate:modelValue": d[1] || (d[1] = (u) => v.value = u),
|
|
1820
|
-
label:
|
|
1842
|
+
label: c.setting.desc,
|
|
1821
1843
|
type: "custom",
|
|
1822
1844
|
helpMessage: h.value
|
|
1823
1845
|
}, {
|
|
1824
|
-
default:
|
|
1846
|
+
default: M(() => [
|
|
1825
1847
|
N(a(Ee), {
|
|
1826
1848
|
type: "text",
|
|
1827
1849
|
modelValue: v.value,
|
|
@@ -1830,7 +1852,7 @@ const fa = (s, e) => {
|
|
|
1830
1852
|
]),
|
|
1831
1853
|
_: 1
|
|
1832
1854
|
/* STABLE */
|
|
1833
|
-
}, 8, ["col", "modelValue", "label", "helpMessage"])) :
|
|
1855
|
+
}, 8, ["col", "modelValue", "label", "helpMessage"])) : q("v-if", !0);
|
|
1834
1856
|
}
|
|
1835
1857
|
}), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1836
1858
|
__proto__: null,
|
|
@@ -1852,8 +1874,8 @@ const fa = (s, e) => {
|
|
|
1852
1874
|
marginRight: {},
|
|
1853
1875
|
store: {}
|
|
1854
1876
|
},
|
|
1855
|
-
setup(
|
|
1856
|
-
const e =
|
|
1877
|
+
setup(n) {
|
|
1878
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: V } = e.store || {}, r = o(!0);
|
|
1857
1879
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
1858
1880
|
() => t.value,
|
|
1859
1881
|
() => {
|
|
@@ -1861,19 +1883,19 @@ const fa = (s, e) => {
|
|
|
1861
1883
|
},
|
|
1862
1884
|
{ deep: !0 }
|
|
1863
1885
|
);
|
|
1864
|
-
const h =
|
|
1886
|
+
const h = s.value[e.setting.name] || !1, v = o(!1);
|
|
1865
1887
|
H(e.setting.options.validateList).then((m) => {
|
|
1866
1888
|
v.value = m;
|
|
1867
1889
|
});
|
|
1868
|
-
const
|
|
1869
|
-
e.setting.options.tip && (
|
|
1870
|
-
const d =
|
|
1890
|
+
const c = o();
|
|
1891
|
+
e.setting.options.tip && (c.value = x(e.setting.options.tip));
|
|
1892
|
+
const d = o("");
|
|
1871
1893
|
setTimeout(() => {
|
|
1872
|
-
d.value =
|
|
1894
|
+
d.value = i(e.setting.name) || e.setting.options.formulasDiyJs || d.value, d.value || g(e.setting.name, null);
|
|
1873
1895
|
}, 50);
|
|
1874
|
-
const u =
|
|
1896
|
+
const u = o(), _ = o();
|
|
1875
1897
|
return u.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", _.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(d, (m) => {
|
|
1876
|
-
|
|
1898
|
+
g(e.setting.name, m);
|
|
1877
1899
|
}), (m, p) => (S(), U(
|
|
1878
1900
|
G,
|
|
1879
1901
|
null,
|
|
@@ -1894,9 +1916,9 @@ const fa = (s, e) => {
|
|
|
1894
1916
|
maxRows: 3
|
|
1895
1917
|
},
|
|
1896
1918
|
"show-word-limit": "",
|
|
1897
|
-
helpMessage:
|
|
1919
|
+
helpMessage: c.value,
|
|
1898
1920
|
required: v.value
|
|
1899
|
-
}, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) :
|
|
1921
|
+
}, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) : q("v-if", !0),
|
|
1900
1922
|
m.setting.options.isEditor && r.value ? (S(), I(a(A), {
|
|
1901
1923
|
key: 1,
|
|
1902
1924
|
modelValue: d.value,
|
|
@@ -1905,11 +1927,11 @@ const fa = (s, e) => {
|
|
|
1905
1927
|
contentWidth: u.value,
|
|
1906
1928
|
label: m.setting.desc,
|
|
1907
1929
|
type: "custom",
|
|
1908
|
-
helpMessage:
|
|
1930
|
+
helpMessage: c.value,
|
|
1909
1931
|
required: v.value,
|
|
1910
1932
|
readOnly: e.isView
|
|
1911
1933
|
}, {
|
|
1912
|
-
default:
|
|
1934
|
+
default: M(() => [
|
|
1913
1935
|
N(a(Ee), {
|
|
1914
1936
|
ref: "editor",
|
|
1915
1937
|
width: u.value,
|
|
@@ -1921,13 +1943,13 @@ const fa = (s, e) => {
|
|
|
1921
1943
|
]),
|
|
1922
1944
|
_: 1
|
|
1923
1945
|
/* STABLE */
|
|
1924
|
-
}, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) :
|
|
1946
|
+
}, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) : q("v-if", !0)
|
|
1925
1947
|
],
|
|
1926
1948
|
64
|
|
1927
1949
|
/* STABLE_FRAGMENT */
|
|
1928
1950
|
));
|
|
1929
1951
|
}
|
|
1930
|
-
}),
|
|
1952
|
+
}), ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1931
1953
|
__proto__: null,
|
|
1932
1954
|
default: Oa
|
|
1933
1955
|
}, Symbol.toStringTag, { value: "Module" })), Ea = {
|
|
@@ -1947,8 +1969,8 @@ const fa = (s, e) => {
|
|
|
1947
1969
|
marginRight: {},
|
|
1948
1970
|
store: {}
|
|
1949
1971
|
},
|
|
1950
|
-
setup(
|
|
1951
|
-
const e =
|
|
1972
|
+
setup(n) {
|
|
1973
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: V } = e.store || {}, r = o(!0);
|
|
1952
1974
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
1953
1975
|
() => t.value,
|
|
1954
1976
|
() => {
|
|
@@ -1956,18 +1978,18 @@ const fa = (s, e) => {
|
|
|
1956
1978
|
},
|
|
1957
1979
|
{ deep: !0 }
|
|
1958
1980
|
);
|
|
1959
|
-
const h =
|
|
1981
|
+
const h = s.value[e.setting.name] || !1, v = o(!1);
|
|
1960
1982
|
H(e.setting.options.validateList).then((u) => {
|
|
1961
1983
|
v.value = u;
|
|
1962
1984
|
});
|
|
1963
|
-
const
|
|
1964
|
-
e.setting.options.tip && (
|
|
1965
|
-
const d =
|
|
1985
|
+
const c = o();
|
|
1986
|
+
e.setting.options.tip && (c.value = x(e.setting.options.tip));
|
|
1987
|
+
const d = o();
|
|
1966
1988
|
return setTimeout(() => {
|
|
1967
1989
|
const u = me().format("YYYY-MM-DD ");
|
|
1968
|
-
|
|
1990
|
+
i(e.setting.name) && (d.value = i(e.setting.name)), e.setting.options.formulasDiyJs && (d.value = me(u + e.setting.options.formulasDiyJs)), d.value || g(e.setting.name, null);
|
|
1969
1991
|
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(d, (u) => {
|
|
1970
|
-
|
|
1992
|
+
g(e.setting.name, u);
|
|
1971
1993
|
}), (u, _) => r.value ? (S(), I(a(A), {
|
|
1972
1994
|
key: 0,
|
|
1973
1995
|
col: e.span,
|
|
@@ -1976,13 +1998,13 @@ const fa = (s, e) => {
|
|
|
1976
1998
|
prop: e.setting.name,
|
|
1977
1999
|
label: u.setting.desc,
|
|
1978
2000
|
type: "time",
|
|
1979
|
-
helpMessage:
|
|
2001
|
+
helpMessage: c.value,
|
|
1980
2002
|
isView: e.isView,
|
|
1981
2003
|
required: v.value,
|
|
1982
2004
|
disabled: a(h)
|
|
1983
|
-
}, null, 8, ["col", "modelValue", "prop", "label", "helpMessage", "isView", "required", "disabled"])) :
|
|
2005
|
+
}, null, 8, ["col", "modelValue", "prop", "label", "helpMessage", "isView", "required", "disabled"])) : q("v-if", !0);
|
|
1984
2006
|
}
|
|
1985
|
-
}),
|
|
2007
|
+
}), it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1986
2008
|
__proto__: null,
|
|
1987
2009
|
default: Aa
|
|
1988
2010
|
}, Symbol.toStringTag, { value: "Module" })), Qa = E({
|
|
@@ -2001,33 +2023,33 @@ const fa = (s, e) => {
|
|
|
2001
2023
|
type: Object
|
|
2002
2024
|
}
|
|
2003
2025
|
},
|
|
2004
|
-
setup(
|
|
2005
|
-
const e =
|
|
2006
|
-
const
|
|
2007
|
-
(
|
|
2026
|
+
setup(n) {
|
|
2027
|
+
const e = o([]), t = n.columns.map((s) => {
|
|
2028
|
+
const g = s.list.map(
|
|
2029
|
+
(i) => oe(ue[i.ctrlType], { setting: i, isView: n.isView, store: n.store })
|
|
2008
2030
|
);
|
|
2009
|
-
return
|
|
2031
|
+
return s.isOpen == !0 && e.value.push(s.idKey), oe(
|
|
2010
2032
|
Qe,
|
|
2011
2033
|
{
|
|
2012
|
-
header:
|
|
2013
|
-
key: `${
|
|
2034
|
+
header: s.span,
|
|
2035
|
+
key: `${s.idKey}`
|
|
2014
2036
|
},
|
|
2015
|
-
|
|
2037
|
+
oe("div", g)
|
|
2016
2038
|
);
|
|
2017
2039
|
});
|
|
2018
|
-
return () =>
|
|
2040
|
+
return () => oe(
|
|
2019
2041
|
"div",
|
|
2020
2042
|
{ class: "accordion-layout" },
|
|
2021
|
-
|
|
2043
|
+
oe(
|
|
2022
2044
|
Ae,
|
|
2023
|
-
{ activeKey: e.value, collapsible:
|
|
2045
|
+
{ activeKey: e.value, collapsible: n.options.accordion ? "" : "disabled" },
|
|
2024
2046
|
t
|
|
2025
2047
|
)
|
|
2026
2048
|
);
|
|
2027
2049
|
}
|
|
2028
2050
|
}), Ua = {
|
|
2029
2051
|
name: "accordion"
|
|
2030
|
-
},
|
|
2052
|
+
}, Ya = /* @__PURE__ */ E({
|
|
2031
2053
|
...Ua,
|
|
2032
2054
|
props: {
|
|
2033
2055
|
setting: { default: () => ({
|
|
@@ -2055,7 +2077,7 @@ const fa = (s, e) => {
|
|
|
2055
2077
|
isView: { type: Boolean },
|
|
2056
2078
|
store: {}
|
|
2057
2079
|
},
|
|
2058
|
-
setup(
|
|
2080
|
+
setup(n) {
|
|
2059
2081
|
return (e, t) => (S(), I(a(Qa), {
|
|
2060
2082
|
columns: e.setting.columns,
|
|
2061
2083
|
options: e.setting.options,
|
|
@@ -2064,9 +2086,9 @@ const fa = (s, e) => {
|
|
|
2064
2086
|
style: { "margin-bottom": "10px" }
|
|
2065
2087
|
}, null, 8, ["columns", "options", "isView", "store"]));
|
|
2066
2088
|
}
|
|
2067
|
-
}),
|
|
2089
|
+
}), xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2068
2090
|
__proto__: null,
|
|
2069
|
-
default:
|
|
2091
|
+
default: Ya
|
|
2070
2092
|
}, Symbol.toStringTag, { value: "Module" })), Ja = {
|
|
2071
2093
|
name: "grid"
|
|
2072
2094
|
}, Ha = /* @__PURE__ */ E({
|
|
@@ -2094,29 +2116,29 @@ const fa = (s, e) => {
|
|
|
2094
2116
|
isView: { type: Boolean },
|
|
2095
2117
|
store: {}
|
|
2096
2118
|
},
|
|
2097
|
-
setup(
|
|
2098
|
-
const e =
|
|
2099
|
-
return (t,
|
|
2119
|
+
setup(n) {
|
|
2120
|
+
const e = n;
|
|
2121
|
+
return (t, s) => (S(), U(
|
|
2100
2122
|
G,
|
|
2101
2123
|
null,
|
|
2102
2124
|
[
|
|
2103
|
-
|
|
2104
|
-
|
|
2125
|
+
q(' <GridLayout :columns="setting.columns" :isView="props.isView" :store="store"></GridLayout> '),
|
|
2126
|
+
q(' <div style="display: flex; flex-direction: row; flex-wrap: wrap; width: 100%"> '),
|
|
2105
2127
|
(S(!0), U(
|
|
2106
2128
|
G,
|
|
2107
2129
|
null,
|
|
2108
|
-
|
|
2130
|
+
ie(t.setting.columns, (g) => (S(), U(
|
|
2109
2131
|
G,
|
|
2110
2132
|
null,
|
|
2111
2133
|
[
|
|
2112
2134
|
(S(!0), U(
|
|
2113
2135
|
G,
|
|
2114
2136
|
null,
|
|
2115
|
-
|
|
2116
|
-
setting:
|
|
2137
|
+
ie(g.list, (i) => (S(), I(ge(a(Ga)[i.ctrlType]), {
|
|
2138
|
+
setting: i,
|
|
2117
2139
|
isView: e.isView,
|
|
2118
2140
|
store: t.store,
|
|
2119
|
-
span:
|
|
2141
|
+
span: g.span
|
|
2120
2142
|
}, null, 8, ["setting", "isView", "store", "span"]))),
|
|
2121
2143
|
256
|
|
2122
2144
|
/* UNKEYED_FRAGMENT */
|
|
@@ -2128,7 +2150,7 @@ const fa = (s, e) => {
|
|
|
2128
2150
|
256
|
|
2129
2151
|
/* UNKEYED_FRAGMENT */
|
|
2130
2152
|
)),
|
|
2131
|
-
|
|
2153
|
+
q(" </div> ")
|
|
2132
2154
|
],
|
|
2133
2155
|
2112
|
|
2134
2156
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
@@ -2137,92 +2159,92 @@ const fa = (s, e) => {
|
|
|
2137
2159
|
}), Wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2138
2160
|
__proto__: null,
|
|
2139
2161
|
default: Ha
|
|
2140
|
-
}, Symbol.toStringTag, { value: "Module" })), _e = /* @__PURE__ */ Object.assign({ "./base/attachment.vue":
|
|
2141
|
-
Object.keys(we).map((
|
|
2142
|
-
Object.keys(Ve).map((
|
|
2143
|
-
Object.keys(De).map((
|
|
2144
|
-
Object.keys(_e).map((
|
|
2145
|
-
const Ga = { ...ut, ...rt }, Xa = (
|
|
2146
|
-
(!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${
|
|
2147
|
-
},
|
|
2148
|
-
e !== "" && e.length > parseInt(
|
|
2149
|
-
},
|
|
2150
|
-
e !== "" && e.length < parseInt(
|
|
2151
|
-
},
|
|
2162
|
+
}, Symbol.toStringTag, { value: "Module" })), _e = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ye, "./base/autocomplete.vue": xe, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue": lt, "./base/textarea.vue": ot, "./base/time.vue": it, "./layout/accordion/accordion.vue": xa, "./layout/grid/gridLayout.vue": Wa }), we = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ye, "./base/autocomplete.vue": xe, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue": lt, "./base/textarea.vue": ot, "./base/time.vue": it }), Ve = /* @__PURE__ */ Object.assign({}), De = /* @__PURE__ */ Object.assign({}), ue = {}, ut = {}, rt = {}, Za = {};
|
|
2163
|
+
Object.keys(we).map((n) => ut[we[n].default.name] = we[n].default);
|
|
2164
|
+
Object.keys(Ve).map((n) => rt[Ve[n].default.name] = Ve[n].default);
|
|
2165
|
+
Object.keys(De).map((n) => Za[De[n].default.name] = De[n].default);
|
|
2166
|
+
Object.keys(_e).map((n) => ue[_e[n].default.name] = _e[n].default);
|
|
2167
|
+
const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
2168
|
+
(!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${s.name}`)) : t();
|
|
2169
|
+
}, en = (n, e, t, s) => {
|
|
2170
|
+
e !== "" && e.length > parseInt(s.value) ? t(new Error(`${s.name}${D("不能超过")}${s.value}`)) : t();
|
|
2171
|
+
}, tn = (n, e, t, s) => {
|
|
2172
|
+
e !== "" && e.length < parseInt(s.value) ? t(new Error(`${s.name}${D("不能少于")}${s.value}`)) : t();
|
|
2173
|
+
}, an = (n, e, t, s) => {
|
|
2152
2174
|
if (e !== "" && !/^1[3456789]\d{9}$/.test(e))
|
|
2153
2175
|
return t(new Error(D("手机号码格式不正确,请重新输入"))), !1;
|
|
2154
2176
|
t();
|
|
2155
|
-
},
|
|
2177
|
+
}, nn = (n, e, t) => {
|
|
2156
2178
|
if (e !== "" && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e))
|
|
2157
2179
|
return t(new Error(D("电子邮箱格式不正确,请重新输入"))), !1;
|
|
2158
2180
|
t();
|
|
2159
|
-
},
|
|
2181
|
+
}, sn = (n, e, t) => {
|
|
2160
2182
|
if (e !== "" && !/^-?\d+$/.test(e))
|
|
2161
2183
|
return t(new Error(D("请输入整数"))), !1;
|
|
2162
2184
|
t();
|
|
2163
|
-
},
|
|
2164
|
-
if (e !== "" && e !=
|
|
2185
|
+
}, ln = (n, e, t, s) => {
|
|
2186
|
+
if (e !== "" && e != s.value)
|
|
2165
2187
|
return t(new Error(D("请输入相同的值"))), !1;
|
|
2166
2188
|
t();
|
|
2167
|
-
},
|
|
2168
|
-
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(
|
|
2169
|
-
},
|
|
2170
|
-
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(
|
|
2171
|
-
},
|
|
2172
|
-
const
|
|
2173
|
-
e === "" ? t() :
|
|
2174
|
-
},
|
|
2175
|
-
e === "" || parseFloat(e) === parseFloat(
|
|
2176
|
-
},
|
|
2177
|
-
e === "" ? t() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(
|
|
2178
|
-
},
|
|
2189
|
+
}, on = (n, e, t, s) => {
|
|
2190
|
+
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(s.value) ? t(new Error(`${s.name}${D("不能小于")}${s.value}`)) : t() : t(new Error(D("请输入数字")));
|
|
2191
|
+
}, un = (n, e, t, s) => {
|
|
2192
|
+
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(s.value) ? t(new Error(`${s.name}${D("不能大于")}${s.value}`)) : t() : t(new Error(D("请输入数字")));
|
|
2193
|
+
}, rn = (n, e, t, s) => {
|
|
2194
|
+
const g = /^[+-]?(\d*\.\d+([eE]?[+-]?\d+)?|\d+[eE][+-]?\d+)$/, i = /^-?\d+$/;
|
|
2195
|
+
e === "" ? t() : g.test(e) || i.test(e) ? e >= parseFloat(s.start) && e <= parseFloat(s.end) ? t() : t(new Error(`${D("只能输入指定数字范围")}${s.start}-${s.end}`)) : t(new Error(D("请输入数字")));
|
|
2196
|
+
}, pn = (n, e, t, s) => {
|
|
2197
|
+
e === "" || parseFloat(e) === parseFloat(s.value) ? t() : t(new Error(`${D("只能输入指定的值")}${s.value}`));
|
|
2198
|
+
}, dn = (n, e, t, s) => {
|
|
2199
|
+
e === "" ? t() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(s.value) ? t() : t(new Error(`${D("只能输入")}${s.value}${D("位数数字")}`)) : t(new Error(D("请输入整数")));
|
|
2200
|
+
}, cn = (n, e, t) => {
|
|
2179
2201
|
if (e !== "" && !/^[a-zA-Z]{1,}$/.test(e))
|
|
2180
2202
|
return t(new Error(D("只能输入字母"))), !1;
|
|
2181
2203
|
t();
|
|
2182
|
-
},
|
|
2204
|
+
}, gn = (n, e, t) => {
|
|
2183
2205
|
if (e !== "" && !/^[a-zA-Z ]{1,}$/.test(e))
|
|
2184
2206
|
return t(new Error(D("只能输入字母空格"))), !1;
|
|
2185
2207
|
t();
|
|
2186
|
-
},
|
|
2208
|
+
}, vn = (n, e, t) => {
|
|
2187
2209
|
if (e !== "" && !/^[0-9a-zA-Z_-]{1,}$/.test(e))
|
|
2188
2210
|
return t(new Error(D("只能输入字母数字横线下划线"))), !1;
|
|
2189
2211
|
t();
|
|
2190
|
-
},
|
|
2212
|
+
}, mn = (n, e, t) => {
|
|
2191
2213
|
if (e !== "" && !/^[0-9a-zA-Z]{1,}$/.test(e))
|
|
2192
2214
|
return t(new Error(D("只能输入字母数字"))), !1;
|
|
2193
2215
|
t();
|
|
2194
|
-
},
|
|
2195
|
-
const
|
|
2196
|
-
if (e !== "" && !
|
|
2197
|
-
return t(new Error(
|
|
2216
|
+
}, fn = (n, e, t, s) => {
|
|
2217
|
+
const g = new RegExp(s.value);
|
|
2218
|
+
if (e !== "" && !g.test(e))
|
|
2219
|
+
return t(new Error(s.errorMessage)), !1;
|
|
2198
2220
|
t();
|
|
2199
|
-
},
|
|
2221
|
+
}, hn = {
|
|
2200
2222
|
required: Xa,
|
|
2201
|
-
min:
|
|
2202
|
-
max:
|
|
2203
|
-
email:
|
|
2204
|
-
min_value:
|
|
2205
|
-
max_value:
|
|
2206
|
-
confirmed:
|
|
2207
|
-
numeric:
|
|
2208
|
-
between:
|
|
2209
|
-
is:
|
|
2210
|
-
digits:
|
|
2211
|
-
mobile:
|
|
2212
|
-
alpha:
|
|
2213
|
-
alpha_spaces:
|
|
2214
|
-
alpha_dash:
|
|
2215
|
-
alpha_num:
|
|
2216
|
-
regex:
|
|
2217
|
-
},
|
|
2218
|
-
const
|
|
2223
|
+
min: tn,
|
|
2224
|
+
max: en,
|
|
2225
|
+
email: nn,
|
|
2226
|
+
min_value: on,
|
|
2227
|
+
max_value: un,
|
|
2228
|
+
confirmed: ln,
|
|
2229
|
+
numeric: sn,
|
|
2230
|
+
between: rn,
|
|
2231
|
+
is: pn,
|
|
2232
|
+
digits: dn,
|
|
2233
|
+
mobile: an,
|
|
2234
|
+
alpha: cn,
|
|
2235
|
+
alpha_spaces: gn,
|
|
2236
|
+
alpha_dash: vn,
|
|
2237
|
+
alpha_num: mn,
|
|
2238
|
+
regex: fn
|
|
2239
|
+
}, yn = () => {
|
|
2240
|
+
const n = o({}), e = o([]), t = o({}), s = o({}), g = o([]), i = o(""), y = o(""), V = o({}), r = o([]), h = o({});
|
|
2219
2241
|
return {
|
|
2220
|
-
data:
|
|
2242
|
+
data: n,
|
|
2221
2243
|
formData: e,
|
|
2222
2244
|
formRule: V,
|
|
2223
2245
|
showData: t,
|
|
2224
|
-
disabledData:
|
|
2225
|
-
flowKey:
|
|
2246
|
+
disabledData: s,
|
|
2247
|
+
flowKey: i,
|
|
2226
2248
|
linkData: h,
|
|
2227
2249
|
encryptionData: r,
|
|
2228
2250
|
setData: (b, w) => {
|
|
@@ -2231,18 +2253,18 @@ const Ga = { ...ut, ...rt }, Xa = (s, e, t, n) => {
|
|
|
2231
2253
|
});
|
|
2232
2254
|
},
|
|
2233
2255
|
setDetailData: (b) => {
|
|
2234
|
-
|
|
2256
|
+
n.value = b, e.value.forEach((w) => {
|
|
2235
2257
|
w.formKey === y.value && (w.data = b);
|
|
2236
2258
|
});
|
|
2237
2259
|
},
|
|
2238
2260
|
setLinkData: (b, w) => {
|
|
2239
2261
|
h.value = { data: b, val: w };
|
|
2240
2262
|
},
|
|
2241
|
-
getData: (b) =>
|
|
2263
|
+
getData: (b) => n.value[b],
|
|
2242
2264
|
setFormData: (b, w, L) => {
|
|
2243
|
-
y.value = b,
|
|
2244
|
-
T.formKey === b && (
|
|
2245
|
-
}) : (
|
|
2265
|
+
y.value = b, g.value.includes(b) ? e.value.forEach((T) => {
|
|
2266
|
+
T.formKey === b && (n.value = T.data);
|
|
2267
|
+
}) : (g.value.push(b), e.value.push({
|
|
2246
2268
|
formKey: b,
|
|
2247
2269
|
boKey: w,
|
|
2248
2270
|
reportId: L || null,
|
|
@@ -2253,24 +2275,24 @@ const Ga = { ...ut, ...rt }, Xa = (s, e, t, n) => {
|
|
|
2253
2275
|
setFormRule: (b, w) => {
|
|
2254
2276
|
V.value[b] = [], w && w.length && w.forEach((L) => {
|
|
2255
2277
|
V.value[b].push({
|
|
2256
|
-
validator: (T, R, J) =>
|
|
2278
|
+
validator: (T, R, J) => hn[L.key](T, R, J, L)
|
|
2257
2279
|
});
|
|
2258
2280
|
});
|
|
2259
2281
|
},
|
|
2260
2282
|
clearData: () => {
|
|
2261
|
-
|
|
2283
|
+
n.value = {}, e.value = [], g.value = [], V.value = {};
|
|
2262
2284
|
},
|
|
2263
2285
|
deleteRule: (b) => {
|
|
2264
2286
|
delete V.value[b];
|
|
2265
2287
|
}
|
|
2266
2288
|
};
|
|
2267
|
-
},
|
|
2289
|
+
}, bn = { class: "custom-page" }, _n = {
|
|
2268
2290
|
key: 0,
|
|
2269
2291
|
class: "btn-box"
|
|
2270
|
-
},
|
|
2292
|
+
}, wn = {
|
|
2271
2293
|
key: 1,
|
|
2272
2294
|
style: { "background-color": "#fff" }
|
|
2273
|
-
},
|
|
2295
|
+
}, Vn = /* @__PURE__ */ E({
|
|
2274
2296
|
__name: "App",
|
|
2275
2297
|
props: {
|
|
2276
2298
|
formConfigurationId: {},
|
|
@@ -2283,12 +2305,12 @@ const Ga = { ...ut, ...rt }, Xa = (s, e, t, n) => {
|
|
|
2283
2305
|
disabledData: { default: {} }
|
|
2284
2306
|
},
|
|
2285
2307
|
emits: ["handleClick", "change"],
|
|
2286
|
-
setup(
|
|
2287
|
-
const
|
|
2308
|
+
setup(n, { expose: e, emit: t }) {
|
|
2309
|
+
const s = yn(), { formRule: g, data: i, flowKey: y, clearData: V, getFormData: r } = s, h = n, v = t;
|
|
2288
2310
|
y.value = h.flowKey;
|
|
2289
|
-
const
|
|
2311
|
+
const c = (R) => R === "accordion";
|
|
2290
2312
|
C(
|
|
2291
|
-
() =>
|
|
2313
|
+
() => i.value,
|
|
2292
2314
|
(R) => {
|
|
2293
2315
|
v("change", R);
|
|
2294
2316
|
},
|
|
@@ -2300,14 +2322,14 @@ const Ga = { ...ut, ...rt }, Xa = (s, e, t, n) => {
|
|
|
2300
2322
|
const { formJsonList: d, isShowPage: u, btnList: _, formRef: m, activityKeys: p, getForm: l, getBtnSet: f, handleClick: b } = Gt(
|
|
2301
2323
|
h,
|
|
2302
2324
|
v,
|
|
2303
|
-
|
|
2304
|
-
), w =
|
|
2325
|
+
s
|
|
2326
|
+
), w = o({}), L = (R, J) => {
|
|
2305
2327
|
const { key: $ } = J;
|
|
2306
2328
|
w.value[$] || (w.value[$] = R);
|
|
2307
2329
|
}, T = () => new Promise((R, J) => {
|
|
2308
2330
|
let $ = !0;
|
|
2309
|
-
for (const
|
|
2310
|
-
w.value[
|
|
2331
|
+
for (const Y in w.value)
|
|
2332
|
+
w.value[Y].validate((W) => {
|
|
2311
2333
|
W == !1 && ($ = !1);
|
|
2312
2334
|
});
|
|
2313
2335
|
setTimeout(() => {
|
|
@@ -2317,23 +2339,23 @@ const Ga = { ...ut, ...rt }, Xa = (s, e, t, n) => {
|
|
|
2317
2339
|
});
|
|
2318
2340
|
}, 50);
|
|
2319
2341
|
});
|
|
2320
|
-
return
|
|
2342
|
+
return ct(async () => {
|
|
2321
2343
|
h.isShowBtn == !1 ? l(h.formConfigurationId) : f();
|
|
2322
2344
|
}), e({
|
|
2323
2345
|
validateFormData: T,
|
|
2324
2346
|
clearData: V
|
|
2325
|
-
}), (R, J) => (S(), U("div",
|
|
2326
|
-
a(_).length > 0 ? (S(), U("div",
|
|
2347
|
+
}), (R, J) => (S(), U("div", bn, [
|
|
2348
|
+
a(_).length > 0 ? (S(), U("div", _n, [
|
|
2327
2349
|
(S(!0), U(
|
|
2328
2350
|
G,
|
|
2329
2351
|
null,
|
|
2330
|
-
|
|
2352
|
+
ie(a(_), ($) => (S(), I(a(ft), {
|
|
2331
2353
|
key: $.id,
|
|
2332
2354
|
style: { "margin-right": "20px" },
|
|
2333
2355
|
"btn-type": "primary",
|
|
2334
|
-
onClick: (
|
|
2356
|
+
onClick: (Y) => a(b)($)
|
|
2335
2357
|
}, {
|
|
2336
|
-
default:
|
|
2358
|
+
default: M(() => [
|
|
2337
2359
|
ee(
|
|
2338
2360
|
te($.name),
|
|
2339
2361
|
1
|
|
@@ -2346,8 +2368,8 @@ const Ga = { ...ut, ...rt }, Xa = (s, e, t, n) => {
|
|
|
2346
2368
|
128
|
|
2347
2369
|
/* KEYED_FRAGMENT */
|
|
2348
2370
|
))
|
|
2349
|
-
])) :
|
|
2350
|
-
|
|
2371
|
+
])) : q("v-if", !0),
|
|
2372
|
+
gt((S(), U(
|
|
2351
2373
|
"div",
|
|
2352
2374
|
{
|
|
2353
2375
|
class: "content-box",
|
|
@@ -2357,54 +2379,54 @@ const Ga = { ...ut, ...rt }, Xa = (s, e, t, n) => {
|
|
|
2357
2379
|
(S(!0), U(
|
|
2358
2380
|
G,
|
|
2359
2381
|
null,
|
|
2360
|
-
|
|
2382
|
+
ie(a(d), ($) => (S(), U(
|
|
2361
2383
|
G,
|
|
2362
2384
|
{
|
|
2363
2385
|
key: $.name
|
|
2364
2386
|
},
|
|
2365
2387
|
[
|
|
2366
|
-
|
|
2388
|
+
c($.ctrlType) ? (S(), I(a(Ae), {
|
|
2367
2389
|
key: 0,
|
|
2368
2390
|
style: { "margin-bottom": "10px" },
|
|
2369
2391
|
collapsible: $.options.accordion ? "" : "disabled",
|
|
2370
2392
|
activeKey: a(p)
|
|
2371
2393
|
}, {
|
|
2372
|
-
default:
|
|
2394
|
+
default: M(() => [
|
|
2373
2395
|
(S(), I(a(Qe), {
|
|
2374
2396
|
key: $.columns[0].idKey,
|
|
2375
2397
|
header: $.columns[0].span
|
|
2376
2398
|
}, {
|
|
2377
|
-
default:
|
|
2378
|
-
N(a(
|
|
2399
|
+
default: M(() => [
|
|
2400
|
+
N(a(Ie), {
|
|
2379
2401
|
ref_for: !0,
|
|
2380
|
-
ref: (
|
|
2402
|
+
ref: (Y) => L(Y, $),
|
|
2381
2403
|
cols: 24,
|
|
2382
2404
|
alignType: "horizontal",
|
|
2383
2405
|
"margin-right": "80px",
|
|
2384
2406
|
"auto-margin-right": "",
|
|
2385
|
-
rules: a(
|
|
2386
|
-
form: a(
|
|
2407
|
+
rules: a(g),
|
|
2408
|
+
form: a(s).data
|
|
2387
2409
|
}, {
|
|
2388
|
-
default:
|
|
2410
|
+
default: M(() => [
|
|
2389
2411
|
(S(!0), U(
|
|
2390
2412
|
G,
|
|
2391
2413
|
null,
|
|
2392
|
-
|
|
2414
|
+
ie($.columns[0].list, (Y) => (S(), U(
|
|
2393
2415
|
G,
|
|
2394
2416
|
{
|
|
2395
2417
|
key: $.name
|
|
2396
2418
|
},
|
|
2397
2419
|
[
|
|
2398
|
-
|
|
2420
|
+
Y.ctrlType == "grid" ? (S(), I(ge(a(ue).grid), {
|
|
2399
2421
|
key: 0,
|
|
2400
|
-
setting:
|
|
2422
|
+
setting: Y,
|
|
2401
2423
|
isView: h.isView,
|
|
2402
|
-
store: a(
|
|
2403
|
-
}, null, 8, ["setting", "isView", "store"])) : (S(), I(
|
|
2424
|
+
store: a(s)
|
|
2425
|
+
}, null, 8, ["setting", "isView", "store"])) : (S(), I(ge(a(ue)[Y.ctrlType]), {
|
|
2404
2426
|
key: 1,
|
|
2405
|
-
setting:
|
|
2427
|
+
setting: Y,
|
|
2406
2428
|
isView: h.isView,
|
|
2407
|
-
store: a(
|
|
2429
|
+
store: a(s)
|
|
2408
2430
|
}, null, 8, ["setting", "isView", "store"]))
|
|
2409
2431
|
],
|
|
2410
2432
|
64
|
|
@@ -2424,28 +2446,28 @@ const Ga = { ...ut, ...rt }, Xa = (s, e, t, n) => {
|
|
|
2424
2446
|
]),
|
|
2425
2447
|
_: 2
|
|
2426
2448
|
/* DYNAMIC */
|
|
2427
|
-
}, 1032, ["collapsible", "activeKey"])) : (S(), U("div",
|
|
2428
|
-
a(u) ? (S(), I(a(
|
|
2449
|
+
}, 1032, ["collapsible", "activeKey"])) : (S(), U("div", wn, [
|
|
2450
|
+
a(u) ? (S(), I(a(Ie), {
|
|
2429
2451
|
key: 0,
|
|
2430
2452
|
ref_for: !0,
|
|
2431
|
-
ref: (
|
|
2453
|
+
ref: (Y) => L(Y, $),
|
|
2432
2454
|
cols: 24,
|
|
2433
2455
|
"auto-margin-right": "",
|
|
2434
2456
|
alignType: "horizontal",
|
|
2435
2457
|
"margin-right": "80px",
|
|
2436
|
-
rules: a(
|
|
2437
|
-
form: a(
|
|
2458
|
+
rules: a(g),
|
|
2459
|
+
form: a(s).data
|
|
2438
2460
|
}, {
|
|
2439
|
-
default:
|
|
2440
|
-
(S(), I(
|
|
2461
|
+
default: M(() => [
|
|
2462
|
+
(S(), I(ge(a(ue)[$.ctrlType]), {
|
|
2441
2463
|
setting: $,
|
|
2442
2464
|
isView: h.isView,
|
|
2443
|
-
store: a(
|
|
2465
|
+
store: a(s)
|
|
2444
2466
|
}, null, 8, ["setting", "isView", "store"]))
|
|
2445
2467
|
]),
|
|
2446
2468
|
_: 2
|
|
2447
2469
|
/* DYNAMIC */
|
|
2448
|
-
}, 1032, ["rules", "form"])) :
|
|
2470
|
+
}, 1032, ["rules", "form"])) : q("v-if", !0)
|
|
2449
2471
|
]))
|
|
2450
2472
|
],
|
|
2451
2473
|
64
|
|
@@ -2462,26 +2484,26 @@ const Ga = { ...ut, ...rt }, Xa = (s, e, t, n) => {
|
|
|
2462
2484
|
])
|
|
2463
2485
|
]));
|
|
2464
2486
|
}
|
|
2465
|
-
}),
|
|
2487
|
+
}), Dn = /* @__PURE__ */ fe(Vn, [["__scopeId", "data-v-9e8a4790"]]), Sn = {
|
|
2466
2488
|
姓名: { "zh-CN": "姓名", en: "Name" },
|
|
2467
|
-
状态: { "zh-CN": "状态", en: "
|
|
2468
|
-
组织名称: { "zh-CN": "组织名称", en: "
|
|
2469
|
-
组织类型: { "zh-CN": "组织类型", en: "
|
|
2470
|
-
角色名称: { "zh-CN": "角色名称", en: "
|
|
2471
|
-
角色类型: { "zh-CN": "角色类型", en: "
|
|
2472
|
-
角色状态: { "zh-CN": "角色状态", en: "
|
|
2473
|
-
所属组织路径: { "zh-CN": "所属组织路径", en: "
|
|
2474
|
-
岗位名称: { "zh-CN": "岗位名称", en: "
|
|
2475
|
-
供应商名称: { "zh-CN": "供应商名称", en: "
|
|
2476
|
-
供应商编码: { "zh-CN": "供应商编码", en: "
|
|
2477
|
-
供应商等级: { "zh-CN": "供应商等级", en: "
|
|
2478
|
-
供应商分类: { "zh-CN": "供应商分类", en: "
|
|
2479
|
-
个人: { "zh-CN": "个人", en: "
|
|
2480
|
-
公司: { "zh-CN": "公司", en: "
|
|
2481
|
-
单据编码: { "zh-CN": "单据编码", en: "Document
|
|
2482
|
-
联系电话: { "zh-CN": "联系电话", en: "
|
|
2483
|
-
计划领用日期: { "zh-CN": "计划领用日期", en: "
|
|
2484
|
-
资产用途: { "zh-CN": "资产用途", en: "
|
|
2489
|
+
状态: { "zh-CN": "状态", en: "Status" },
|
|
2490
|
+
组织名称: { "zh-CN": "组织名称", en: "Organization name" },
|
|
2491
|
+
组织类型: { "zh-CN": "组织类型", en: "Organization type" },
|
|
2492
|
+
角色名称: { "zh-CN": "角色名称", en: "Role name" },
|
|
2493
|
+
角色类型: { "zh-CN": "角色类型", en: "Role type" },
|
|
2494
|
+
角色状态: { "zh-CN": "角色状态", en: "Role status" },
|
|
2495
|
+
所属组织路径: { "zh-CN": "所属组织路径", en: "Associated organization path" },
|
|
2496
|
+
岗位名称: { "zh-CN": "岗位名称", en: "Position name" },
|
|
2497
|
+
供应商名称: { "zh-CN": "供应商名称", en: "Supplier name" },
|
|
2498
|
+
供应商编码: { "zh-CN": "供应商编码", en: "Supplier code" },
|
|
2499
|
+
供应商等级: { "zh-CN": "供应商等级", en: "Supplier level" },
|
|
2500
|
+
供应商分类: { "zh-CN": "供应商分类", en: "Supplier classification" },
|
|
2501
|
+
个人: { "zh-CN": "个人", en: "Individual" },
|
|
2502
|
+
公司: { "zh-CN": "公司", en: "Company" },
|
|
2503
|
+
单据编码: { "zh-CN": "单据编码", en: "Document code" },
|
|
2504
|
+
联系电话: { "zh-CN": "联系电话", en: "Contact phone" },
|
|
2505
|
+
计划领用日期: { "zh-CN": "计划领用日期", en: "Planned usage date" },
|
|
2506
|
+
资产用途: { "zh-CN": "资产用途", en: "Asset usage" },
|
|
2485
2507
|
不能超过: { "zh-CN": "不能超过", en: "Cannot exceed" },
|
|
2486
2508
|
不能少于: { "zh-CN": "不能少于", en: "Cannot be less than" },
|
|
2487
2509
|
手机号码格式不正确: { "zh-CN": "手机号码格式不正确", en: "Invalid mobile number format" },
|
|
@@ -2489,53 +2511,72 @@ const Ga = { ...ut, ...rt }, Xa = (s, e, t, n) => {
|
|
|
2489
2511
|
电子邮箱格式不正确: { "zh-CN": "电子邮箱格式不正确", en: "Invalid email format" },
|
|
2490
2512
|
请输入整数: { "zh-CN": "请输入整数", en: "Please enter an integer" },
|
|
2491
2513
|
请输入相同的值: { "zh-CN": "请输入相同的值", en: "Please enter the same value" },
|
|
2492
|
-
不能小于: { "zh-CN": "不能小于", en: "Cannot
|
|
2514
|
+
不能小于: { "zh-CN": "不能小于", en: "Cannot be less than" },
|
|
2493
2515
|
请输入数字: { "zh-CN": "请输入数字", en: "Please enter a number" },
|
|
2494
|
-
不能大于: { "zh-CN": "不能大于", en: "Cannot
|
|
2516
|
+
不能大于: { "zh-CN": "不能大于", en: "Cannot be greater than" },
|
|
2495
2517
|
日期必须晚于: { "zh-CN": "日期必须晚于", en: "Date must be later than" },
|
|
2496
2518
|
日期必须早于: { "zh-CN": "日期必须早于", en: "Date must be earlier than" },
|
|
2497
2519
|
日期必须不晚于: { "zh-CN": "日期必须不晚于", en: "Date must not be later than" },
|
|
2498
2520
|
日期必须不早于: { "zh-CN": "日期必须不早于", en: "Date must not be earlier than" },
|
|
2499
|
-
只能输入指定数字范围: { "zh-CN": "只能输入指定数字范围", en: "Can only enter
|
|
2521
|
+
只能输入指定数字范围: { "zh-CN": "只能输入指定数字范围", en: "Can only enter specified numeric range" },
|
|
2500
2522
|
只能输入指定的值: { "zh-CN": "只能输入指定的值", en: "Can only enter the specified value" },
|
|
2501
2523
|
只能输入: { "zh-CN": "只能输入", en: "Can only enter" },
|
|
2502
|
-
位数数字: { "zh-CN": "位数数字", en: "digit
|
|
2524
|
+
位数数字: { "zh-CN": "位数数字", en: "digit numbers" },
|
|
2503
2525
|
只能输入字母: { "zh-CN": "只能输入字母", en: "Can only enter letters" },
|
|
2504
2526
|
只能输入字母空格: { "zh-CN": "只能输入字母空格", en: "Can only enter letters and spaces" },
|
|
2505
|
-
只能输入字母数字横线下划线: {
|
|
2527
|
+
只能输入字母数字横线下划线: {
|
|
2528
|
+
"zh-CN": "只能输入字母数字横线下划线",
|
|
2529
|
+
en: "Can only enter letters, numbers, hyphens, underscores"
|
|
2530
|
+
},
|
|
2506
2531
|
只能输入字母数字: { "zh-CN": "只能输入字母数字", en: "Can only enter letters and numbers" },
|
|
2507
2532
|
搜索姓名: { "zh-CN": "搜索姓名", en: "Search name" },
|
|
2508
2533
|
账号: { "zh-CN": "账号", en: "Account" },
|
|
2509
|
-
手机号: { "zh-CN": "手机号", en: "
|
|
2510
|
-
搜索组织名称: { "zh-CN": "搜索组织名称", en: "Search
|
|
2511
|
-
组织编码: { "zh-CN": "组织编码", en: "
|
|
2512
|
-
搜索角色名称: { "zh-CN": "搜索角色名称", en: "Search
|
|
2513
|
-
职务名称: { "zh-CN": "职务名称", en: "
|
|
2514
|
-
职务编码: { "zh-CN": "职务编码", en: "
|
|
2534
|
+
手机号: { "zh-CN": "手机号", en: "Phone number" },
|
|
2535
|
+
搜索组织名称: { "zh-CN": "搜索组织名称", en: "Search organization name" },
|
|
2536
|
+
组织编码: { "zh-CN": "组织编码", en: "Organization code" },
|
|
2537
|
+
搜索角色名称: { "zh-CN": "搜索角色名称", en: "Search role name" },
|
|
2538
|
+
职务名称: { "zh-CN": "职务名称", en: "Position name" },
|
|
2539
|
+
职务编码: { "zh-CN": "职务编码", en: "Position code" },
|
|
2515
2540
|
搜索岗位名称: { "zh-CN": "搜索岗位名称", en: "Search Job Title" },
|
|
2516
|
-
岗位编码: { "zh-CN": "岗位编码", en: "
|
|
2541
|
+
岗位编码: { "zh-CN": "岗位编码", en: "Position code" },
|
|
2517
2542
|
搜索供应商编码: { "zh-CN": "搜索供应商编码", en: "Search Supplier Code" },
|
|
2518
2543
|
名称: { "zh-CN": "名称", en: "Name" },
|
|
2519
2544
|
搜索单据编码: { "zh-CN": "搜索单据编码", en: "Search Document Code" },
|
|
2520
2545
|
申请人: { "zh-CN": "申请人", en: "Applicant" },
|
|
2521
2546
|
添加用户: { "zh-CN": "添加用户", en: "Add user" },
|
|
2522
|
-
组织选择器: { "zh-CN": "组织选择器", en: "Organization
|
|
2523
|
-
角色选择器: { "zh-CN": "角色选择器", en: "Role
|
|
2524
|
-
职务选择器: { "zh-CN": "职务选择器", en: "Position
|
|
2525
|
-
岗位选择器: { "zh-CN": "岗位选择器", en: "
|
|
2526
|
-
选择供应商: { "zh-CN": "选择供应商", en: "Select
|
|
2527
|
-
源单选择器: { "zh-CN": "源单选择器", en: "Source
|
|
2547
|
+
组织选择器: { "zh-CN": "组织选择器", en: "Organization selector" },
|
|
2548
|
+
角色选择器: { "zh-CN": "角色选择器", en: "Role selector" },
|
|
2549
|
+
职务选择器: { "zh-CN": "职务选择器", en: "Position selector" },
|
|
2550
|
+
岗位选择器: { "zh-CN": "岗位选择器", en: "Position selector" },
|
|
2551
|
+
选择供应商: { "zh-CN": "选择供应商", en: "Select supplier" },
|
|
2552
|
+
源单选择器: { "zh-CN": "源单选择器", en: "Source document selector" },
|
|
2528
2553
|
正常: { "zh-CN": "正常", en: "Normal" },
|
|
2529
2554
|
锁定: { "zh-CN": "锁定", en: "Locked" },
|
|
2530
2555
|
禁用: { "zh-CN": "禁用", en: "Disabled" },
|
|
2531
|
-
普通: { "zh-CN": "普通", en: "
|
|
2556
|
+
普通: { "zh-CN": "普通", en: "Regular" },
|
|
2532
2557
|
管理员: { "zh-CN": "管理员", en: "Administrator" },
|
|
2533
2558
|
无效: { "zh-CN": "无效", en: "Invalid" },
|
|
2534
|
-
有效: { "zh-CN": "有效", en: "Valid" }
|
|
2559
|
+
有效: { "zh-CN": "有效", en: "Valid" },
|
|
2560
|
+
"搜索姓名/账号/手机号": { "zh-CN": "搜索姓名/账号/手机号", en: "Search name/account/phone number" },
|
|
2561
|
+
"搜索组织名称/组织编码": { "zh-CN": "搜索组织名称/组织编码", en: "Search organization name/code" },
|
|
2562
|
+
"职务名称/职务编码": { "zh-CN": "职务名称/职务编码", en: "Position name/code" },
|
|
2563
|
+
"搜索岗位名称/岗位编码": { "zh-CN": "搜索岗位名称/岗位编码", en: "Search position name/code" },
|
|
2564
|
+
"搜索供应商编码/名称": { "zh-CN": "搜索供应商编码/名称", en: "Search supplier code/name" },
|
|
2565
|
+
"搜索单据编码/申请人": { "zh-CN": "搜索单据编码/申请人", en: "Search document code/applicant" },
|
|
2566
|
+
供应商类型: { "zh-CN": "供应商类型", en: "Supplier type" },
|
|
2567
|
+
"手机号码格式不正确,请重新输入": {
|
|
2568
|
+
"zh-CN": "手机号码格式不正确,请重新输入",
|
|
2569
|
+
en: "Incorrect phone number format, please re-enter"
|
|
2570
|
+
},
|
|
2571
|
+
"电子邮箱格式不正确,请重新输入": {
|
|
2572
|
+
"zh-CN": "电子邮箱格式不正确,请重新输入",
|
|
2573
|
+
en: "Incorrect email format, please re-enter"
|
|
2574
|
+
},
|
|
2575
|
+
"个人/公司": { "zh-CN": "个人/公司", en: "Individual/Company" }
|
|
2535
2576
|
};
|
|
2536
|
-
wt(
|
|
2537
|
-
const
|
|
2577
|
+
wt(Sn);
|
|
2578
|
+
const xn = pt(Dn);
|
|
2538
2579
|
export {
|
|
2539
|
-
|
|
2540
|
-
|
|
2580
|
+
xn as DasProcessForm,
|
|
2581
|
+
xn as default
|
|
2541
2582
|
};
|