@das-fed/ui 6.4.0-dev.55.2 → 6.4.0-dev.55.4
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/index.js +2 -2
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-pwd/index.js +33 -33
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/currency-page/i18n/index.d.ts +4 -4
- package/packages/business-components/currency-page/index.js +4 -4
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +4 -0
- package/packages/business-components/device-panel/index.js +6566 -6552
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/export-button/index.js +44 -44
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/index.js +101 -101
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/index.js +1 -1
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/process-configuration/index.js +82 -82
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +488 -488
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-log/index.js +1 -1
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-log/style.css +1 -1
- package/packages/business-components/process-log/style.css.gz +0 -0
- package/packages/business-components/process-search-form/i18n/index.d.ts +1 -1
- package/packages/business-components/process-search-form/index.js +442 -442
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/upload-file/index.js +11 -11
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/index.js +108 -108
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/components/breadcrumb/index.d.ts +9 -3
- package/packages/components/breadcrumb/index.js +48 -45
- package/packages/components/breadcrumb/index.js.gz +0 -0
- package/packages/components/breadcrumb/src/BreadCrumb.vue.d.ts +3 -1
- package/packages/components/breadcrumb/src/type.d.ts +1 -0
- package/packages/components/breadcrumb/style.css +1 -1
- package/packages/components/breadcrumb/style.css.gz +0 -0
- package/packages/components/calendar/i18n/index.d.ts +46 -46
- package/packages/components/calendar/index.js +33 -33
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/i18n/index.d.ts +1 -1
- package/packages/components/cascader/index.js +12 -14
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/color-picker/i18n/index.d.ts +1 -1
- package/packages/components/color-picker/index.js +84 -83
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/color-picker/style.css +1 -1
- package/packages/components/color-picker/style.css.gz +0 -0
- package/packages/components/custom-search-item/i18n/index.d.ts +1 -1
- package/packages/components/custom-search-item/index.js +1 -3
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/i18n/index.d.ts +3 -3
- package/packages/components/date-picker/index.js +519 -518
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/src/DatePicker.vue.d.ts +2 -1
- package/packages/components/date-picker/src/RangePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/src/TimePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +1 -0
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/dialog/i18n/index.d.ts +6 -6
- package/packages/components/dimple-layout/i18n/index.d.ts +10 -10
- package/packages/components/dimple-layout/index.js +8 -8
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/i18n/index.d.ts +1 -1
- package/packages/components/dropdown/index.js +1 -3
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/image-upload/index.js +52 -52
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/input/index.js +11 -11
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/live-player/index.js +142 -142
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/map/index.js +4 -4
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/message/index.js +1 -1
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/pagination/index.js +132 -131
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/pagination/style.css +1 -1
- package/packages/components/pagination/style.css.gz +0 -0
- package/packages/components/popover/index.d.ts +3 -0
- package/packages/components/popover/index.js +24 -23
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/rich-editor/i18n/index.d.ts +4 -4
- package/packages/components/rich-editor/index.js +3138 -3128
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/search-form/index.js +156 -156
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/select/i18n/index.d.ts +5 -5
- package/packages/components/select/index.js +2 -2
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/i18n/index.d.ts +4 -4
- package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -4
- package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -3
- package/packages/components/table/i18n/index.d.ts +12 -0
- package/packages/components/table/index.js +3302 -3233
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/type.d.ts +5 -1
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tabs/index.js +23 -23
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tooltip/index.js +5 -5
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/index.js +216 -216
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/upload/index.js +32 -32
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/index.js +6 -6
- package/packages/components/virtual-tree/index.js.gz +0 -0
|
@@ -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 i, defineComponent as j, watch as C, openBlock as S, createBlock as F, unref as a, withCtx as M, createVNode as L, createCommentVNode as I, createElementVNode as qe, createElementBlock as U, Fragment as G, createTextVNode as ee, toDisplayString as te, isRef as he, createSlots as dt, h as ie, renderList as oe, resolveDynamicComponent as ge, onMounted as ct, withDirectives as gt, normalizeStyle as vt } from "vue";
|
|
4
|
+
import { DasFormRef as mt, DasForm as Fe } from "@das-fed/ui/packages/components/form/index";
|
|
5
5
|
import { DasButton as ft } from "@das-fed/ui/packages/components/button/index";
|
|
6
6
|
import { vOverlay as ht } from "@das-fed/ui/packages/components/overlay/index";
|
|
7
7
|
import { createService as Z } from "@das-fed/utils/create-api-service";
|
|
@@ -9,59 +9,59 @@ 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 Be } from "@das-fed/ui/packages/components/image-viewer/index";
|
|
13
13
|
import { DasInput as _t } from "@das-fed/ui/packages/components/input/index";
|
|
14
14
|
import { DasTooltip as Se } from "@das-fed/ui/packages/components/tooltip/index";
|
|
15
|
-
import { i18n as
|
|
16
|
-
import { DasTableColumn as
|
|
15
|
+
import { i18n as B, t as D, setI18nRule as wt } from "@das-fed/web/packages/i18n/index";
|
|
16
|
+
import { DasTableColumn as E } from "@das-fed/ui/packages/components/table/index";
|
|
17
17
|
import { DasSearchForm as Vt } from "@das-fed/ui/packages/components/search-form/index";
|
|
18
18
|
import { DasModelTableDialog as Dt } from "@das-fed/ui/packages/business-components/model-table-dialog";
|
|
19
|
-
import { getProjectInfo as
|
|
19
|
+
import { getProjectInfo as Ke } from "@das-fed/utils/common-info";
|
|
20
20
|
import { getConfig as St } from "@das-fed/utils/config";
|
|
21
|
-
import { DasRichEditor as
|
|
21
|
+
import { DasRichEditor as je } from "@das-fed/ui/packages/components/rich-editor/index";
|
|
22
22
|
import { DasCollaspe as Ae } from "@das-fed/ui/packages/components/collaspe/index";
|
|
23
23
|
import { DasCollaspePanel as Qe } from "@das-fed/ui/packages/components/collapse-panel/index";
|
|
24
24
|
const X = "v1", Nt = Z(`/workflow/form/form/${X}`), Lt = 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}`), zt = Z(`/workflow/form/customQuery/${X}`), ae = Z(`/api/enterpriseright/permission/${X}`), Ne = Z(`/api/space-manage/space-tree/${X}`), Mt = Z(`/workflow/form/dataTemplate/${X}`), Le = Z(`/api/supply/supplier/${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}`), Ne = Z(`/api/space-manage/space-tree/${X}`), Mt = Z(`/workflow/form/dataTemplate/${X}`), Le = Z(`/api/supply/supplier/${X}`), Tt = Z(`/api/warehouse/vms/${X}/asset-receive`), Rt = Mt.get("/getBpmDataTemplateInfoByFlowKey"), kt = Nt.get("/formDesign"), Pt = Lt.get("/get"), $t = Ue.get("/report-config");
|
|
27
27
|
Ue.get("/application-report");
|
|
28
|
-
const
|
|
28
|
+
const Et = Ct.get("/getBindRelationByDefKey"), Ft = zt.get("/getByAlias"), It = ae.get("/organization/authTree"), Ot = ae.post("/user/list"), qt = ae.post("/data/user-query"), Bt = ae.get("/role/list"), Kt = ae.post("/data/role-ids"), jt = ae.get("/organization/organizationpage"), At = ae.get("/station/list"), Qt = ae.get("/position/list"), ye = ae.post("/organization/detailbyids"), Ut = Ne.get("/controller/area-children"), Yt = Ne.get("/controller/fuzzy-tree-all"), xt = Ne.get("/controller/space"), Jt = Le.post("/supplier/list/page", (n) => {
|
|
29
29
|
var e, t;
|
|
30
30
|
return n.data.pageBean = {
|
|
31
31
|
page: ((e = n == null ? void 0 : n.data) == null ? void 0 : e.pageIndex) || 1,
|
|
32
32
|
pageSize: ((t = n == null ? void 0 : n.data) == null ? void 0 : t.pageSize) || 20
|
|
33
33
|
}, n;
|
|
34
|
-
}), Ht = Le.get("/supplier"), Wt = Le.post("/classification/list/all"), Zt =
|
|
35
|
-
const { setDetailData: s, getFormData: g, setFormData:
|
|
36
|
-
const [
|
|
37
|
-
if (
|
|
38
|
-
const J = JSON.parse(
|
|
34
|
+
}), Ht = Le.get("/supplier"), Wt = Le.post("/classification/list/all"), Zt = Tt.get("/receive-code"), be = i(""), Gt = (n, e, t) => {
|
|
35
|
+
const { setDetailData: s, getFormData: g, setFormData: o, formRule: y, showData: V, disabledData: r, encryptionData: h } = t, v = i([]), c = i([]), d = i([]), u = i(!1), _ = mt(), m = i([]), p = (N) => Object.keys(N).length === 0, l = async (N) => {
|
|
36
|
+
const [R, k] = await kt({ formId: N }).run();
|
|
37
|
+
if (R) return;
|
|
38
|
+
const J = JSON.parse(k.bos);
|
|
39
39
|
be.value = J[0].alias, c.value.length && c.value.forEach((W) => {
|
|
40
|
-
W.formKey ===
|
|
40
|
+
W.formKey === k.formKey && o(k.formKey, be.value, W.id);
|
|
41
41
|
});
|
|
42
|
-
const [
|
|
42
|
+
const [P, Y] = await Pt({ formDefId: k.defId }).run();
|
|
43
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, ...n.disabledData }, c.value.length ||
|
|
45
|
+
}), r.value = { ...r.value, ...n.disabledData }, c.value.length || o(k.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
46
|
V.value = { ...V.value, ...n.showData };
|
|
47
47
|
}, 50);
|
|
48
48
|
}, f = async () => {
|
|
49
49
|
if (n.formConfigurationId) {
|
|
50
|
-
const [N,
|
|
50
|
+
const [N, R] = await $t({ id: n.formConfigurationId }).run();
|
|
51
51
|
if (N) return;
|
|
52
|
-
c.value =
|
|
52
|
+
c.value = R.reports, v.value = R.reports[0].buttons.filter((k) => !(n.isView && k.event !== "LINK")), l(R.reports[0].formId);
|
|
53
53
|
}
|
|
54
54
|
if (n.flowKey) {
|
|
55
|
-
const [N,
|
|
55
|
+
const [N, R] = await Et({ flowKey: n.flowKey }).run();
|
|
56
56
|
if (N) return;
|
|
57
|
-
l(
|
|
57
|
+
l(R.pcForm.pcFormId);
|
|
58
58
|
}
|
|
59
59
|
}, b = async () => {
|
|
60
|
-
const [N,
|
|
60
|
+
const [N, R] = await Rt().run({
|
|
61
61
|
flowKey: n.flowKey,
|
|
62
62
|
needDisplayFileds: !1
|
|
63
63
|
});
|
|
64
|
-
h.value =
|
|
64
|
+
h.value = R.value.boDef.boEnt.attributeList.filter((k) => k.encryption == "phone");
|
|
65
65
|
};
|
|
66
66
|
return {
|
|
67
67
|
isShowPage: u,
|
|
@@ -72,10 +72,10 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
72
72
|
getForm: l,
|
|
73
73
|
getBtnSet: f,
|
|
74
74
|
handleClick: (N) => {
|
|
75
|
-
var
|
|
76
|
-
(
|
|
77
|
-
|
|
78
|
-
N.eventTarget === J.formKey && (v.value = J.buttons.filter((
|
|
75
|
+
var R;
|
|
76
|
+
(R = _.value) == null || R.validate(async (k) => {
|
|
77
|
+
k && (e("handleClick", N, g()), N.event === "LINK" && c.value.forEach((J) => {
|
|
78
|
+
N.eventTarget === J.formKey && (v.value = J.buttons.filter((P) => !(n.isView && P.event !== "LINK")), u.value = !1, y.value = {}, l(J.formId));
|
|
79
79
|
}));
|
|
80
80
|
});
|
|
81
81
|
}
|
|
@@ -84,23 +84,23 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
84
84
|
var e = new RegExp("<.+?>", "g"), t = n.replace(e, "").replace(/ /g, "");
|
|
85
85
|
return t;
|
|
86
86
|
}, se = async (n, e, t = {}) => {
|
|
87
|
-
const [s, g] = await
|
|
87
|
+
const [s, g] = await Ft({ alias: n }).run();
|
|
88
88
|
if (!s && g.url) {
|
|
89
|
-
const
|
|
89
|
+
const o = i({});
|
|
90
90
|
e.forEach((h) => {
|
|
91
|
-
h.defaultType == 2 && (
|
|
92
|
-
}),
|
|
93
|
-
const y = g.requestType === "POST" ? Z(g.url).post("") : Z(g.url).get(""), [V, r] = await y({}, { params:
|
|
91
|
+
h.defaultType == 2 && (o.value[h.field] = h.defaultValue);
|
|
92
|
+
}), o.value = { ...o.value, ...t };
|
|
93
|
+
const y = g.requestType === "POST" ? Z(g.url).post("") : Z(g.url).get(""), [V, r] = await y({}, { params: o.value }).run();
|
|
94
94
|
return V ? void 0 : r;
|
|
95
95
|
}
|
|
96
96
|
}, H = async (n) => {
|
|
97
|
-
const e =
|
|
97
|
+
const e = i(!1);
|
|
98
98
|
return n.forEach((t) => {
|
|
99
99
|
t.key === "required" && (e.value = !0);
|
|
100
100
|
}), e.value;
|
|
101
101
|
}, Xt = {
|
|
102
102
|
name: "attachment"
|
|
103
|
-
}, ea = /* @__PURE__ */
|
|
103
|
+
}, ea = /* @__PURE__ */ j({
|
|
104
104
|
...Xt,
|
|
105
105
|
props: {
|
|
106
106
|
setting: { default: () => ({
|
|
@@ -116,7 +116,7 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
116
116
|
store: {}
|
|
117
117
|
},
|
|
118
118
|
setup(n) {
|
|
119
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData:
|
|
119
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: o, setFormRule: y, deleteRule: V } = e.store || {}, r = i(!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,12 +124,12 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
124
124
|
},
|
|
125
125
|
{ deep: !0 }
|
|
126
126
|
);
|
|
127
|
-
const h =
|
|
127
|
+
const h = i();
|
|
128
128
|
e.setting.options.tip && (h.value = x(e.setting.options.tip));
|
|
129
|
-
const v =
|
|
129
|
+
const v = i([{ name: "111", sizeText: "9.4KB" }]);
|
|
130
130
|
return v.value || g(e.setting.name, null), C(v, (c) => {
|
|
131
131
|
g(e.setting.name, JSON.stringify(c));
|
|
132
|
-
}), (c, d) => r.value ? (S(),
|
|
132
|
+
}), (c, d) => r.value ? (S(), F(a(A), {
|
|
133
133
|
key: 0,
|
|
134
134
|
col: e.span,
|
|
135
135
|
label: c.setting.desc,
|
|
@@ -145,14 +145,14 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
145
145
|
]),
|
|
146
146
|
_: 1
|
|
147
147
|
/* STABLE */
|
|
148
|
-
}, 8, ["col", "label", "helpMessage"])) :
|
|
148
|
+
}, 8, ["col", "label", "helpMessage"])) : I("v-if", !0);
|
|
149
149
|
}
|
|
150
150
|
}), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
151
151
|
__proto__: null,
|
|
152
152
|
default: ea
|
|
153
153
|
}, Symbol.toStringTag, { value: "Module" })), ta = {
|
|
154
154
|
name: "autocomplete"
|
|
155
|
-
}, aa = /* @__PURE__ */
|
|
155
|
+
}, aa = /* @__PURE__ */ j({
|
|
156
156
|
...ta,
|
|
157
157
|
props: {
|
|
158
158
|
setting: { default: () => ({
|
|
@@ -168,7 +168,7 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
168
168
|
store: {}
|
|
169
169
|
},
|
|
170
170
|
setup(n) {
|
|
171
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData:
|
|
171
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: o, setFormRule: y, deleteRule: V } = e.store || {}, r = i(!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,20 +176,20 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
176
176
|
},
|
|
177
177
|
{ deep: !0 }
|
|
178
178
|
);
|
|
179
|
-
const h = s.value[e.setting.name] || !1, v =
|
|
179
|
+
const h = s.value[e.setting.name] || !1, v = i(!1);
|
|
180
180
|
H(e.setting.options.validateList).then((l) => {
|
|
181
181
|
v.value = l;
|
|
182
182
|
});
|
|
183
|
-
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", d = e.setting.options.children ? e.setting.options.children : "children", u = !!e.setting.options.fillInFullPath, _ =
|
|
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, _ = i([]);
|
|
184
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 =
|
|
187
|
+
const m = i();
|
|
188
188
|
e.setting.options.tip && (m.value = x(e.setting.options.tip));
|
|
189
|
-
const p =
|
|
190
|
-
return p.value =
|
|
189
|
+
const p = i("");
|
|
190
|
+
return p.value = o(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
191
|
g(e.setting.name, l.toString());
|
|
192
|
-
}), (l, f) => r.value ? (S(),
|
|
192
|
+
}), (l, f) => r.value ? (S(), F(a(A), {
|
|
193
193
|
key: 0,
|
|
194
194
|
col: e.span,
|
|
195
195
|
prop: e.setting.name,
|
|
@@ -216,14 +216,14 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
216
216
|
]),
|
|
217
217
|
_: 1
|
|
218
218
|
/* STABLE */
|
|
219
|
-
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required", "disabled"])) :
|
|
219
|
+
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required", "disabled"])) : I("v-if", !0);
|
|
220
220
|
}
|
|
221
221
|
}), xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
222
222
|
__proto__: null,
|
|
223
223
|
default: aa
|
|
224
224
|
}, Symbol.toStringTag, { value: "Module" })), na = {
|
|
225
225
|
name: "checkbox"
|
|
226
|
-
}, sa = /* @__PURE__ */
|
|
226
|
+
}, sa = /* @__PURE__ */ j({
|
|
227
227
|
...na,
|
|
228
228
|
props: {
|
|
229
229
|
setting: { default: () => ({
|
|
@@ -239,7 +239,7 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
239
239
|
store: {}
|
|
240
240
|
},
|
|
241
241
|
setup(n) {
|
|
242
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData:
|
|
242
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: o, setFormRule: y, deleteRule: V } = e.store || {}, r = i(!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,22 +247,22 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
247
247
|
},
|
|
248
248
|
{ deep: !0 }
|
|
249
249
|
);
|
|
250
|
-
const h = s.value[e.setting.name] || !1, v =
|
|
250
|
+
const h = s.value[e.setting.name] || !1, v = i(!1);
|
|
251
251
|
H(e.setting.options.validateList).then((p) => {
|
|
252
252
|
v.value = p;
|
|
253
253
|
});
|
|
254
|
-
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", u =
|
|
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 = i([]);
|
|
255
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 _ =
|
|
258
|
+
const _ = i();
|
|
259
259
|
e.setting.options.tip && (_.value = x(e.setting.options.tip)());
|
|
260
|
-
const m =
|
|
260
|
+
const m = i([]);
|
|
261
261
|
return setTimeout(() => {
|
|
262
|
-
|
|
262
|
+
o(e.setting.name) && (m.value = o(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
|
-
}), (p, l) => r.value ? (S(),
|
|
265
|
+
}), (p, l) => r.value ? (S(), F(a(A), {
|
|
266
266
|
key: 0,
|
|
267
267
|
col: e.span,
|
|
268
268
|
modelValue: m.value,
|
|
@@ -278,14 +278,14 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
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"])) : I("v-if", !0);
|
|
282
282
|
}
|
|
283
283
|
}), Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
284
284
|
__proto__: null,
|
|
285
285
|
default: sa
|
|
286
286
|
}, Symbol.toStringTag, { value: "Module" })), la = {
|
|
287
287
|
name: "date"
|
|
288
|
-
},
|
|
288
|
+
}, ia = /* @__PURE__ */ j({
|
|
289
289
|
...la,
|
|
290
290
|
props: {
|
|
291
291
|
setting: { default: () => ({
|
|
@@ -301,7 +301,7 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
301
301
|
store: {}
|
|
302
302
|
},
|
|
303
303
|
setup(n) {
|
|
304
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData:
|
|
304
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: o, setFormRule: y, deleteRule: V } = e.store || {}, r = i(!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,24 +309,24 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
309
309
|
},
|
|
310
310
|
{ deep: !0 }
|
|
311
311
|
);
|
|
312
|
-
const h = s.value[e.setting.name] || !1, v =
|
|
312
|
+
const h = s.value[e.setting.name] || !1, v = i(!1);
|
|
313
313
|
H(e.setting.options.validateList).then((m) => {
|
|
314
314
|
v.value = m;
|
|
315
315
|
});
|
|
316
|
-
const c = e.setting.options.inputFormat === "yyyy-MM-dd" ? "YYYY/MM/DD" : e.setting.options.inputFormat === "yyyy-MM-dd HH:mm:ss" ? "YYYY/MM/DD HH:mm:ss" : e.setting.options.inputFormat, d =
|
|
316
|
+
const c = e.setting.options.inputFormat === "yyyy-MM-dd" ? "YYYY/MM/DD" : e.setting.options.inputFormat === "yyyy-MM-dd HH:mm:ss" ? "YYYY/MM/DD HH:mm:ss" : e.setting.options.inputFormat, d = i("");
|
|
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 =
|
|
318
|
+
const u = i();
|
|
319
319
|
e.setting.options.tip && (u.value = x(e.setting.options.tip));
|
|
320
|
-
const _ =
|
|
320
|
+
const _ = i();
|
|
321
321
|
if (setTimeout(() => {
|
|
322
|
-
_.value =
|
|
322
|
+
_.value = o(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
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
|
-
}), (m, p) => r.value ? (S(),
|
|
329
|
+
}), (m, p) => r.value ? (S(), F(a(A), {
|
|
330
330
|
key: 0,
|
|
331
331
|
col: e.span,
|
|
332
332
|
modelValue: _.value,
|
|
@@ -342,15 +342,15 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
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"])) : I("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: ia
|
|
350
|
+
}, Symbol.toStringTag, { value: "Module" })), oa = {
|
|
351
351
|
name: "dropdown"
|
|
352
|
-
}, ua = /* @__PURE__ */
|
|
353
|
-
...
|
|
352
|
+
}, ua = /* @__PURE__ */ j({
|
|
353
|
+
...oa,
|
|
354
354
|
props: {
|
|
355
355
|
setting: { default: () => ({
|
|
356
356
|
icon: "",
|
|
@@ -365,7 +365,7 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
365
365
|
store: {}
|
|
366
366
|
},
|
|
367
367
|
setup(n) {
|
|
368
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData:
|
|
368
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: o, setFormRule: y, deleteRule: V, setLinkData: r } = e.store || {}, h = i(!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,26 +375,26 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
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
|
-
}, c = s.value[e.setting.name] || !1, d =
|
|
378
|
+
}, c = s.value[e.setting.name] || !1, d = i(!1);
|
|
379
379
|
H(e.setting.options.validateList).then((w) => {
|
|
380
380
|
d.value = w;
|
|
381
381
|
});
|
|
382
|
-
const u =
|
|
382
|
+
const u = i(""), _ = 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 = i([]);
|
|
383
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 =
|
|
386
|
+
const f = i();
|
|
387
387
|
e.setting.options.tip && (f.value = x(e.setting.options.tip));
|
|
388
|
-
const b =
|
|
389
|
-
return b.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple &&
|
|
388
|
+
const b = i();
|
|
389
|
+
return b.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && o(e.setting.name) ? b.value = o(e.setting.name).split(",") : b.value = o(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
390
|
g(e.setting.name, w.toString());
|
|
391
|
-
}), (w, N) => h.value ? (S(),
|
|
391
|
+
}), (w, N) => h.value ? (S(), F(a(A), {
|
|
392
392
|
key: 0,
|
|
393
393
|
col: e.span,
|
|
394
394
|
modelValue: b.value,
|
|
395
|
-
"onUpdate:modelValue": N[0] || (N[0] = (
|
|
395
|
+
"onUpdate:modelValue": N[0] || (N[0] = (R) => b.value = R),
|
|
396
396
|
keyword: u.value,
|
|
397
|
-
"onUpdate:keyword": N[1] || (N[1] = (
|
|
397
|
+
"onUpdate:keyword": N[1] || (N[1] = (R) => u.value = R),
|
|
398
398
|
label: w.setting.desc,
|
|
399
399
|
type: "treeSelect",
|
|
400
400
|
"node-key": w.setting.options.customQuery.valueBind,
|
|
@@ -411,14 +411,14 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
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"])) : I("v-if", !0);
|
|
415
415
|
}
|
|
416
416
|
}), We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
417
417
|
__proto__: null,
|
|
418
418
|
default: ua
|
|
419
419
|
}, Symbol.toStringTag, { value: "Module" })), ra = { class: "form-image" }, pa = {
|
|
420
420
|
name: "imageViewer"
|
|
421
|
-
}, da = /* @__PURE__ */
|
|
421
|
+
}, da = /* @__PURE__ */ j({
|
|
422
422
|
...pa,
|
|
423
423
|
props: {
|
|
424
424
|
setting: { default: () => ({
|
|
@@ -434,7 +434,7 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
434
434
|
store: {}
|
|
435
435
|
},
|
|
436
436
|
setup(n) {
|
|
437
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData:
|
|
437
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: o, setFormRule: y, deleteRule: V } = e.store || {}, r = i(!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,16 +442,16 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
442
442
|
},
|
|
443
443
|
{ deep: !0 }
|
|
444
444
|
);
|
|
445
|
-
const h = s.value[e.setting.name] || !1, v =
|
|
445
|
+
const h = s.value[e.setting.name] || !1, v = i(!1);
|
|
446
446
|
H(e.setting.options.validateList).then((m) => {
|
|
447
447
|
v.value = m;
|
|
448
448
|
});
|
|
449
|
-
const c =
|
|
449
|
+
const c = i("normal");
|
|
450
450
|
e.isView && (c.value = "info");
|
|
451
|
-
const d =
|
|
451
|
+
const d = i();
|
|
452
452
|
e.setting.options.tip && (d.value = x(e.setting.options.tip));
|
|
453
|
-
const u =
|
|
454
|
-
u.value = e.setting.options.file.limit > 1 ? [] : "", e.setting.options.file.limit > 1 &&
|
|
453
|
+
const u = i();
|
|
454
|
+
u.value = e.setting.options.file.limit > 1 ? [] : "", e.setting.options.file.limit > 1 && o(e.setting.name) ? u.value = o(e.setting.name).split(",") : u.value = o(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());
|
|
@@ -465,7 +465,7 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
465
465
|
setTimeout(() => {
|
|
466
466
|
g(e.setting.name, p.join(","));
|
|
467
467
|
}, 100);
|
|
468
|
-
}), (m, p) => r.value ? (S(),
|
|
468
|
+
}), (m, p) => r.value ? (S(), F(a(A), {
|
|
469
469
|
key: 0,
|
|
470
470
|
modelValue: u.value,
|
|
471
471
|
"onUpdate:modelValue": p[2] || (p[2] = (l) => u.value = l),
|
|
@@ -477,8 +477,8 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
477
477
|
required: v.value
|
|
478
478
|
}, {
|
|
479
479
|
default: M(() => [
|
|
480
|
-
|
|
481
|
-
L(a(
|
|
480
|
+
qe("div", ra, [
|
|
481
|
+
L(a(Be), {
|
|
482
482
|
modelValue: u.value,
|
|
483
483
|
"onUpdate:modelValue": p[0] || (p[0] = (l) => u.value = l),
|
|
484
484
|
status: c.value,
|
|
@@ -502,7 +502,7 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
502
502
|
]),
|
|
503
503
|
_: 1
|
|
504
504
|
/* STABLE */
|
|
505
|
-
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) :
|
|
505
|
+
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) : I("v-if", !0);
|
|
506
506
|
}
|
|
507
507
|
}), fe = (n, e) => {
|
|
508
508
|
const t = n.__vccOpts || n;
|
|
@@ -513,7 +513,7 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
513
513
|
__proto__: null,
|
|
514
514
|
default: ca
|
|
515
515
|
}, Symbol.toStringTag, { value: "Module" })), ga = (n) => {
|
|
516
|
-
const t = "****", s = String(n), g = s.slice(0, 15),
|
|
516
|
+
const t = "****", s = String(n), g = s.slice(0, 15), o = s.slice(15);
|
|
517
517
|
return ((r) => {
|
|
518
518
|
const h = r.length;
|
|
519
519
|
if (h < 6) return r;
|
|
@@ -546,14 +546,14 @@ const Ft = Ct.get("/getBindRelationByDefKey"), It = zt.get("/getByAlias"), qt =
|
|
|
546
546
|
}
|
|
547
547
|
const c = v + t.length;
|
|
548
548
|
return r.slice(0, v) + t + r.slice(c);
|
|
549
|
-
})(g) +
|
|
549
|
+
})(g) + o;
|
|
550
550
|
}, va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
551
551
|
__proto__: null,
|
|
552
552
|
default: ga
|
|
553
|
-
}, Symbol.toStringTag, { value: "Module" })), ve = {}, ma = /^\.\/(.+)\/index\.ts$/,
|
|
554
|
-
var
|
|
555
|
-
for (const n in
|
|
556
|
-
const e =
|
|
553
|
+
}, Symbol.toStringTag, { value: "Module" })), ve = {}, ma = /^\.\/(.+)\/index\.ts$/, Ie = /* @__PURE__ */ Object.assign({ "./phone/index.ts": va });
|
|
554
|
+
var Oe;
|
|
555
|
+
for (const n in Ie) {
|
|
556
|
+
const e = Ie[n], t = (Oe = n.match(ma)) == null ? void 0 : Oe[1];
|
|
557
557
|
ve[t] = e.default;
|
|
558
558
|
}
|
|
559
559
|
const fa = (n, e) => {
|
|
@@ -561,7 +561,7 @@ const fa = (n, e) => {
|
|
|
561
561
|
return e ? ((s = ve[n]) == null ? void 0 : s.call(ve, e)) ?? e : "-";
|
|
562
562
|
}, ha = {
|
|
563
563
|
name: "input"
|
|
564
|
-
}, ya = /* @__PURE__ */
|
|
564
|
+
}, ya = /* @__PURE__ */ j({
|
|
565
565
|
...ha,
|
|
566
566
|
props: {
|
|
567
567
|
setting: { default: () => ({
|
|
@@ -577,11 +577,11 @@ const fa = (n, e) => {
|
|
|
577
577
|
store: {}
|
|
578
578
|
},
|
|
579
579
|
setup(n) {
|
|
580
|
-
const e = n, { data: t, showData: s, disabledData: g, setData:
|
|
580
|
+
const e = n, { data: t, showData: s, disabledData: g, setData: o, getData: y, setFormRule: V, deleteRule: r, encryptionData: h } = e.store || {}, v = i(""), c = i(!1);
|
|
581
581
|
h.value.length && h.value.forEach((l) => {
|
|
582
582
|
l.name === e.setting.name && (c.value = !0);
|
|
583
583
|
});
|
|
584
|
-
const d =
|
|
584
|
+
const d = i(!0);
|
|
585
585
|
!s.value[e.setting.name] && s.value[e.setting.name] != !1 && (s.value[e.setting.name] = !0), C(
|
|
586
586
|
() => s.value,
|
|
587
587
|
() => {
|
|
@@ -595,22 +595,22 @@ const fa = (n, e) => {
|
|
|
595
595
|
},
|
|
596
596
|
{ deep: !0 }
|
|
597
597
|
);
|
|
598
|
-
const u = g.value[e.setting.name] || !1, _ =
|
|
598
|
+
const u = g.value[e.setting.name] || !1, _ = i(!1);
|
|
599
599
|
H(e.setting.options.validateList).then((l) => {
|
|
600
600
|
_.value = l;
|
|
601
601
|
});
|
|
602
|
-
const m =
|
|
602
|
+
const m = i();
|
|
603
603
|
e.setting.options.tip && (m.value = x(e.setting.options.tip));
|
|
604
|
-
const p =
|
|
604
|
+
const p = i("");
|
|
605
605
|
return setTimeout(() => {
|
|
606
|
-
p.value = y(e.setting.name) || e.setting.options.formulasDiyJs || p.value, c && e.isView && (v.value = fa("phone", p.value)), 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 || o(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) ? o(e.setting.name, Number(l)) : o(e.setting.name, l);
|
|
609
609
|
}), (l, f) => (S(), U(
|
|
610
610
|
G,
|
|
611
611
|
null,
|
|
612
612
|
[
|
|
613
|
-
d.value && c.value && e.isView ? (S(),
|
|
613
|
+
d.value && c.value && e.isView ? (S(), F(a(A), {
|
|
614
614
|
key: 0,
|
|
615
615
|
col: e.span,
|
|
616
616
|
prop: e.setting.name,
|
|
@@ -660,8 +660,8 @@ const fa = (n, e) => {
|
|
|
660
660
|
]),
|
|
661
661
|
_: 1
|
|
662
662
|
/* STABLE */
|
|
663
|
-
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required"])) :
|
|
664
|
-
d.value && (!c.value || !e.isView) ? (S(),
|
|
663
|
+
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required"])) : I("v-if", !0),
|
|
664
|
+
d.value && (!c.value || !e.isView) ? (S(), F(a(A), {
|
|
665
665
|
key: 1,
|
|
666
666
|
col: e.span,
|
|
667
667
|
modelValue: p.value,
|
|
@@ -677,7 +677,7 @@ const fa = (n, e) => {
|
|
|
677
677
|
placeholder: l.setting.options.placeholder
|
|
678
678
|
}, {
|
|
679
679
|
default: M(() => [
|
|
680
|
-
|
|
680
|
+
I(` <DasInput\r
|
|
681
681
|
v-model="inputValue"\r
|
|
682
682
|
>\r
|
|
683
683
|
<template #prepend>{{ setting.options.bindPreAndSufFixjson.preFix }}</template>\r
|
|
@@ -686,7 +686,7 @@ const fa = (n, e) => {
|
|
|
686
686
|
]),
|
|
687
687
|
_: 1
|
|
688
688
|
/* STABLE */
|
|
689
|
-
}, 8, ["col", "modelValue", "width", "disabled", "isView", "prop", "label", "helpMessage", "required", "placeholder"])) :
|
|
689
|
+
}, 8, ["col", "modelValue", "width", "disabled", "isView", "prop", "label", "helpMessage", "required", "placeholder"])) : I("v-if", !0)
|
|
690
690
|
],
|
|
691
691
|
64
|
|
692
692
|
/* STABLE_FRAGMENT */
|
|
@@ -697,7 +697,7 @@ const fa = (n, e) => {
|
|
|
697
697
|
default: ya
|
|
698
698
|
}, Symbol.toStringTag, { value: "Module" })), ba = {
|
|
699
699
|
name: "number"
|
|
700
|
-
}, _a = /* @__PURE__ */
|
|
700
|
+
}, _a = /* @__PURE__ */ j({
|
|
701
701
|
...ba,
|
|
702
702
|
props: {
|
|
703
703
|
setting: { default: () => ({
|
|
@@ -713,7 +713,7 @@ const fa = (n, e) => {
|
|
|
713
713
|
store: {}
|
|
714
714
|
},
|
|
715
715
|
setup(n) {
|
|
716
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData:
|
|
716
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: o, setFormRule: y, deleteRule: V } = e.store || {}, r = i(!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,18 +721,18 @@ const fa = (n, e) => {
|
|
|
721
721
|
},
|
|
722
722
|
{ deep: !0 }
|
|
723
723
|
);
|
|
724
|
-
const h = s.value[e.setting.name] || !1, v =
|
|
724
|
+
const h = s.value[e.setting.name] || !1, v = i(!1);
|
|
725
725
|
H(e.setting.options.validateList).then((u) => {
|
|
726
726
|
v.value = u;
|
|
727
727
|
});
|
|
728
|
-
const c =
|
|
728
|
+
const c = i();
|
|
729
729
|
e.setting.options.tip && (c.value = x(e.setting.options.tip));
|
|
730
|
-
const d =
|
|
730
|
+
const d = i(0);
|
|
731
731
|
return setTimeout(() => {
|
|
732
|
-
d.value =
|
|
732
|
+
d.value = o(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
|
-
}), (u, _) => r.value ? (S(),
|
|
735
|
+
}), (u, _) => r.value ? (S(), F(a(A), {
|
|
736
736
|
key: 0,
|
|
737
737
|
col: e.span,
|
|
738
738
|
modelValue: d.value,
|
|
@@ -749,14 +749,14 @@ const fa = (n, e) => {
|
|
|
749
749
|
precision: u.setting.options.decimalDigits,
|
|
750
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"])) : I("v-if", !0);
|
|
753
753
|
}
|
|
754
754
|
}), Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
755
755
|
__proto__: null,
|
|
756
756
|
default: _a
|
|
757
757
|
}, Symbol.toStringTag, { value: "Module" })), wa = {
|
|
758
758
|
name: "radio"
|
|
759
|
-
}, Va = /* @__PURE__ */
|
|
759
|
+
}, Va = /* @__PURE__ */ j({
|
|
760
760
|
...wa,
|
|
761
761
|
props: {
|
|
762
762
|
setting: { default: () => ({
|
|
@@ -774,7 +774,7 @@ const fa = (n, e) => {
|
|
|
774
774
|
store: {}
|
|
775
775
|
},
|
|
776
776
|
setup(n) {
|
|
777
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData:
|
|
777
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: o, setFormRule: y, deleteRule: V } = e.store || {}, r = i(!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,19 +782,19 @@ const fa = (n, e) => {
|
|
|
782
782
|
},
|
|
783
783
|
{ deep: !0 }
|
|
784
784
|
);
|
|
785
|
-
const h = s.value[e.setting.name] || !1, v =
|
|
785
|
+
const h = s.value[e.setting.name] || !1, v = i(!1);
|
|
786
786
|
H(e.setting.options.validateList).then((l) => {
|
|
787
787
|
v.value = l;
|
|
788
788
|
});
|
|
789
|
-
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", u =
|
|
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 = i([]);
|
|
790
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 _ =
|
|
793
|
+
const _ = i();
|
|
794
794
|
e.setting.options.tip && (_.value = x(e.setting.options.tip));
|
|
795
|
-
const m =
|
|
795
|
+
const m = i(null);
|
|
796
796
|
setTimeout(() => {
|
|
797
|
-
m.value =
|
|
797
|
+
m.value = o(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
|
});
|
|
@@ -806,7 +806,7 @@ const fa = (n, e) => {
|
|
|
806
806
|
}
|
|
807
807
|
});
|
|
808
808
|
};
|
|
809
|
-
return (l, f) => r.value ? (S(),
|
|
809
|
+
return (l, f) => r.value ? (S(), F(a(A), {
|
|
810
810
|
key: 0,
|
|
811
811
|
onChange: p,
|
|
812
812
|
col: e.span,
|
|
@@ -824,14 +824,14 @@ const fa = (n, e) => {
|
|
|
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"])) : I("v-if", !0);
|
|
828
828
|
}
|
|
829
829
|
}), et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
830
830
|
__proto__: null,
|
|
831
831
|
default: Va
|
|
832
832
|
}, Symbol.toStringTag, { value: "Module" })), Da = {
|
|
833
833
|
name: "select"
|
|
834
|
-
}, Sa = /* @__PURE__ */
|
|
834
|
+
}, Sa = /* @__PURE__ */ j({
|
|
835
835
|
...Da,
|
|
836
836
|
props: {
|
|
837
837
|
setting: { default: () => ({
|
|
@@ -847,7 +847,7 @@ const fa = (n, e) => {
|
|
|
847
847
|
store: {}
|
|
848
848
|
},
|
|
849
849
|
setup(n) {
|
|
850
|
-
const e = n, { showData: t, disabledData: s, linkData: g, setData:
|
|
850
|
+
const e = n, { showData: t, disabledData: s, linkData: g, setData: o, getData: y, setFormRule: V, deleteRule: r } = e.store || {}, h = i(!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
|
() => {
|
|
@@ -863,8 +863,8 @@ const fa = (n, e) => {
|
|
|
863
863
|
const b = f.conditionfield.filter((N) => N.defaultType == 1);
|
|
864
864
|
let w = {};
|
|
865
865
|
b.forEach((N) => {
|
|
866
|
-
const
|
|
867
|
-
w[N.field] = y(
|
|
866
|
+
const R = N.fieldPath.split("."), k = R[R.length - 1];
|
|
867
|
+
w[N.field] = y(k);
|
|
868
868
|
}), se(
|
|
869
869
|
e.setting.options.customQuery.alias,
|
|
870
870
|
e.setting.options.customQuery.conditionfield,
|
|
@@ -877,17 +877,17 @@ const fa = (n, e) => {
|
|
|
877
877
|
},
|
|
878
878
|
{ deep: !0 }
|
|
879
879
|
);
|
|
880
|
-
const v = s.value[e.setting.name] || !1, c =
|
|
880
|
+
const v = s.value[e.setting.name] || !1, c = i(!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", _ = i([]);
|
|
885
885
|
if (e.setting.options.customQuery.alias) {
|
|
886
886
|
const f = e.setting.options.customQuery.conditionfield.filter((w) => w.defaultType == 1);
|
|
887
887
|
let b = {};
|
|
888
888
|
f.forEach((w) => {
|
|
889
|
-
const N = w.fieldPath.split("."),
|
|
890
|
-
b[w.field] = y(
|
|
889
|
+
const N = w.fieldPath.split("."), R = N[N.length - 1];
|
|
890
|
+
b[w.field] = y(R);
|
|
891
891
|
}), se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield, b).then(
|
|
892
892
|
(w) => {
|
|
893
893
|
_.value = w;
|
|
@@ -895,13 +895,13 @@ const fa = (n, e) => {
|
|
|
895
895
|
);
|
|
896
896
|
} else
|
|
897
897
|
_.value = e.setting.options.options;
|
|
898
|
-
const m =
|
|
898
|
+
const m = i();
|
|
899
899
|
e.setting.options.tip && (m.value = x(e.setting.options.tip));
|
|
900
|
-
const p =
|
|
900
|
+
const p = i();
|
|
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 || o(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 ? o(e.setting.name, f.toString()) : o(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) => {
|
|
@@ -911,7 +911,7 @@ const fa = (n, e) => {
|
|
|
911
911
|
}
|
|
912
912
|
});
|
|
913
913
|
};
|
|
914
|
-
return (f, b) => h.value ? (S(),
|
|
914
|
+
return (f, b) => h.value ? (S(), F(a(A), {
|
|
915
915
|
key: 0,
|
|
916
916
|
col: e.span,
|
|
917
917
|
modelValue: p.value,
|
|
@@ -931,29 +931,29 @@ const fa = (n, e) => {
|
|
|
931
931
|
helpMessage: m.value,
|
|
932
932
|
disabled: a(v),
|
|
933
933
|
required: c.value
|
|
934
|
-
}, null, 8, ["col", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) :
|
|
934
|
+
}, null, 8, ["col", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : I("v-if", !0);
|
|
935
935
|
}
|
|
936
936
|
}), tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
937
937
|
__proto__: null,
|
|
938
938
|
default: Sa
|
|
939
939
|
}, Symbol.toStringTag, { value: "Module" })), Na = (n, e, t) => {
|
|
940
940
|
var re, ne, pe, de, ce;
|
|
941
|
-
const s =
|
|
942
|
-
user:
|
|
943
|
-
org:
|
|
944
|
-
role:
|
|
945
|
-
job:
|
|
946
|
-
post:
|
|
947
|
-
supplier:
|
|
948
|
-
source:
|
|
941
|
+
const s = Ke().id, g = i(!1), o = (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 = i([]), V = i(""), r = i(""), h = {
|
|
942
|
+
user: B("搜索姓名/账号/手机号").value,
|
|
943
|
+
org: B("搜索组织名称/组织编码").value,
|
|
944
|
+
role: B("搜索角色名称").value,
|
|
945
|
+
job: B("职务名称/职务编码").value,
|
|
946
|
+
post: B("搜索岗位名称/岗位编码").value,
|
|
947
|
+
supplier: B("搜索供应商编码/名称").value,
|
|
948
|
+
source: B("搜索单据编码/申请人").value
|
|
949
949
|
}, v = {
|
|
950
|
-
user:
|
|
951
|
-
org:
|
|
952
|
-
role:
|
|
953
|
-
job:
|
|
954
|
-
post:
|
|
955
|
-
supplier:
|
|
956
|
-
source:
|
|
950
|
+
user: B("添加用户").value,
|
|
951
|
+
org: B("组织选择器").value,
|
|
952
|
+
role: B("角色选择器").value,
|
|
953
|
+
job: B("职务选择器").value,
|
|
954
|
+
post: B("岗位选择器").value,
|
|
955
|
+
supplier: B("选择供应商").value,
|
|
956
|
+
source: B("选择源单").value
|
|
957
957
|
}, c = {
|
|
958
958
|
user: "id",
|
|
959
959
|
org: "id",
|
|
@@ -963,25 +963,25 @@ const fa = (n, e) => {
|
|
|
963
963
|
supplier: "id",
|
|
964
964
|
source: "code"
|
|
965
965
|
}, d = {
|
|
966
|
-
1:
|
|
967
|
-
2:
|
|
968
|
-
3:
|
|
966
|
+
1: B("正常").value,
|
|
967
|
+
2: B("锁定").value,
|
|
968
|
+
3: B("禁用").value
|
|
969
969
|
}, u = {
|
|
970
|
-
0:
|
|
971
|
-
1:
|
|
970
|
+
0: B("普通").value,
|
|
971
|
+
1: B("管理员").value
|
|
972
972
|
}, _ = {
|
|
973
|
-
0:
|
|
974
|
-
1:
|
|
973
|
+
0: B("无效").value,
|
|
974
|
+
1: B("有效").value
|
|
975
975
|
}, m = {
|
|
976
|
-
user:
|
|
976
|
+
user: qt,
|
|
977
977
|
org: ye,
|
|
978
|
-
role:
|
|
978
|
+
role: Kt,
|
|
979
979
|
job: ye,
|
|
980
980
|
post: ye,
|
|
981
981
|
supplier: Ht
|
|
982
|
-
}, p = v[
|
|
983
|
-
var
|
|
984
|
-
|
|
982
|
+
}, p = v[o], l = i({}), f = i([]), b = () => {
|
|
983
|
+
var O, Q;
|
|
984
|
+
o === "supplier" ? (l.value = {
|
|
985
985
|
left: !1,
|
|
986
986
|
content: {
|
|
987
987
|
api: Jt,
|
|
@@ -1009,7 +1009,7 @@ const fa = (n, e) => {
|
|
|
1009
1009
|
}
|
|
1010
1010
|
},
|
|
1011
1011
|
right: !1
|
|
1012
|
-
},
|
|
1012
|
+
}, R(), N()) : o === "source" ? (l.value = {
|
|
1013
1013
|
left: !1,
|
|
1014
1014
|
content: {
|
|
1015
1015
|
api: Zt,
|
|
@@ -1027,10 +1027,10 @@ const fa = (n, e) => {
|
|
|
1027
1027
|
}
|
|
1028
1028
|
},
|
|
1029
1029
|
right: !1
|
|
1030
|
-
}, w()) :
|
|
1030
|
+
}, w()) : o === "org" ? (l.value = {
|
|
1031
1031
|
left: !1,
|
|
1032
1032
|
content: {
|
|
1033
|
-
api:
|
|
1033
|
+
api: jt,
|
|
1034
1034
|
params: {
|
|
1035
1035
|
search: ""
|
|
1036
1036
|
},
|
|
@@ -1040,14 +1040,14 @@ const fa = (n, e) => {
|
|
|
1040
1040
|
}
|
|
1041
1041
|
}, w()) : l.value = {
|
|
1042
1042
|
left: {
|
|
1043
|
-
api:
|
|
1043
|
+
api: It,
|
|
1044
1044
|
params: {
|
|
1045
1045
|
projectId: s,
|
|
1046
1046
|
parentId: s
|
|
1047
1047
|
},
|
|
1048
1048
|
props: {
|
|
1049
1049
|
inputOptions: {
|
|
1050
|
-
placeholder:
|
|
1050
|
+
placeholder: B("搜索组织名称").value
|
|
1051
1051
|
}
|
|
1052
1052
|
}
|
|
1053
1053
|
},
|
|
@@ -1056,8 +1056,8 @@ const fa = (n, e) => {
|
|
|
1056
1056
|
data: []
|
|
1057
1057
|
}
|
|
1058
1058
|
}
|
|
1059
|
-
},
|
|
1060
|
-
api:
|
|
1059
|
+
}, o === "user" && (l.value.content = {
|
|
1060
|
+
api: Ot,
|
|
1061
1061
|
searchKey: "groupId",
|
|
1062
1062
|
params: {
|
|
1063
1063
|
status: 1,
|
|
@@ -1066,8 +1066,8 @@ const fa = (n, e) => {
|
|
|
1066
1066
|
selectListProps: {
|
|
1067
1067
|
data: []
|
|
1068
1068
|
}
|
|
1069
|
-
}, w()),
|
|
1070
|
-
api:
|
|
1069
|
+
}, w()), o === "role" && (l.value.content = {
|
|
1070
|
+
api: Bt,
|
|
1071
1071
|
searchKey: "orgId",
|
|
1072
1072
|
params: {
|
|
1073
1073
|
status: 1
|
|
@@ -1075,7 +1075,7 @@ const fa = (n, e) => {
|
|
|
1075
1075
|
selectListProps: {
|
|
1076
1076
|
data: []
|
|
1077
1077
|
}
|
|
1078
|
-
}, w()),
|
|
1078
|
+
}, w()), o === "job" && (l.value.content = {
|
|
1079
1079
|
api: Qt,
|
|
1080
1080
|
searchKey: "groupId",
|
|
1081
1081
|
props: {
|
|
@@ -1084,7 +1084,7 @@ const fa = (n, e) => {
|
|
|
1084
1084
|
selectListProps: {
|
|
1085
1085
|
data: []
|
|
1086
1086
|
}
|
|
1087
|
-
}, w()),
|
|
1087
|
+
}, w()), o === "post" && (l.value.content = {
|
|
1088
1088
|
api: At,
|
|
1089
1089
|
searchKey: "groupId",
|
|
1090
1090
|
props: {
|
|
@@ -1093,14 +1093,14 @@ const fa = (n, e) => {
|
|
|
1093
1093
|
selectListProps: {
|
|
1094
1094
|
data: []
|
|
1095
1095
|
}
|
|
1096
|
-
}, w()), l.value.content.multiple =
|
|
1096
|
+
}, w()), l.value.content.multiple = o === "supplier" || o === "source" ? !1 : !((Q = (O = n == null ? void 0 : n.options) == null ? void 0 : O.selector) != null && Q.isSingle);
|
|
1097
1097
|
}, w = async () => {
|
|
1098
1098
|
f.value = [
|
|
1099
1099
|
{
|
|
1100
1100
|
type: "searchInput",
|
|
1101
1101
|
key: "inputtKey",
|
|
1102
1102
|
label: "",
|
|
1103
|
-
placeholder: h[
|
|
1103
|
+
placeholder: h[o],
|
|
1104
1104
|
value: "",
|
|
1105
1105
|
clearable: !1,
|
|
1106
1106
|
isIconLeft: !0,
|
|
@@ -1114,7 +1114,7 @@ const fa = (n, e) => {
|
|
|
1114
1114
|
type: "searchInput",
|
|
1115
1115
|
key: "inputtKey",
|
|
1116
1116
|
label: "",
|
|
1117
|
-
placeholder: h[
|
|
1117
|
+
placeholder: h[o],
|
|
1118
1118
|
value: "",
|
|
1119
1119
|
clearable: !1,
|
|
1120
1120
|
isIconLeft: !0,
|
|
@@ -1123,7 +1123,7 @@ const fa = (n, e) => {
|
|
|
1123
1123
|
},
|
|
1124
1124
|
{
|
|
1125
1125
|
type: "select",
|
|
1126
|
-
label:
|
|
1126
|
+
label: B("供应商类型").value,
|
|
1127
1127
|
layout: "out",
|
|
1128
1128
|
width: "200px",
|
|
1129
1129
|
closable: !0,
|
|
@@ -1135,25 +1135,25 @@ const fa = (n, e) => {
|
|
|
1135
1135
|
allowClear: !0
|
|
1136
1136
|
}
|
|
1137
1137
|
];
|
|
1138
|
-
},
|
|
1139
|
-
const
|
|
1138
|
+
}, R = async () => {
|
|
1139
|
+
const O = {
|
|
1140
1140
|
name: "",
|
|
1141
1141
|
published: 1
|
|
1142
|
-
}, [Q,
|
|
1143
|
-
Q || (f.value[1].options =
|
|
1144
|
-
},
|
|
1142
|
+
}, [Q, q] = await Wt(O).run();
|
|
1143
|
+
Q || (f.value[1].options = q);
|
|
1144
|
+
}, k = () => {
|
|
1145
1145
|
var Q;
|
|
1146
1146
|
V.value = "", g.value = !0;
|
|
1147
|
-
let
|
|
1148
|
-
l.value.content.selectListProps.data = (Q = y == null ? void 0 : y.value) == null ? void 0 : Q.map((
|
|
1147
|
+
let O = c[o];
|
|
1148
|
+
l.value.content.selectListProps.data = (Q = y == null ? void 0 : y.value) == null ? void 0 : Q.map((q) => ({ name: q == null ? void 0 : q.label, [O]: q == null ? void 0 : q.value }));
|
|
1149
1149
|
};
|
|
1150
1150
|
b();
|
|
1151
1151
|
const J = async () => {
|
|
1152
|
-
var
|
|
1152
|
+
var O, Q, q, T, K, $, z, le, Ce, ze, Me, Te, Re, ke, Pe, $e, Ee;
|
|
1153
1153
|
l.value.content.params = {
|
|
1154
|
-
...(Q = (
|
|
1154
|
+
...(Q = (O = l == null ? void 0 : l.value) == null ? void 0 : O.content) == null ? void 0 : Q.params,
|
|
1155
1155
|
pageIndex: 1
|
|
1156
|
-
}, (
|
|
1156
|
+
}, (o === "user" || o === "org" || o === "post" || o === "role" || o === "job") && (l.value.content.params.name = (q = f == null ? void 0 : f.value[0]) == null ? void 0 : q.value), o === "source" && (l.value.content.params.key = (T = f == null ? void 0 : f.value[0]) == null ? void 0 : T.value), o === "supplier" && (l.value.content.params.querys = [
|
|
1157
1157
|
{
|
|
1158
1158
|
property: "orgId",
|
|
1159
1159
|
value: s,
|
|
@@ -1161,7 +1161,7 @@ const fa = (n, e) => {
|
|
|
1161
1161
|
relation: "AND",
|
|
1162
1162
|
operation: "EQUAL"
|
|
1163
1163
|
}
|
|
1164
|
-
], (
|
|
1164
|
+
], (K = f == null ? void 0 : f.value[0]) != null && K.value && (l.value.content.params.querys = (Me = (le = (z = ($ = l == null ? void 0 : l.value) == null ? void 0 : $.content) == null ? void 0 : z.params) == null ? void 0 : le.querys) == null ? void 0 : Me.concat([
|
|
1165
1165
|
{
|
|
1166
1166
|
property: "name",
|
|
1167
1167
|
value: (Ce = f == null ? void 0 : f.value[0]) == null ? void 0 : Ce.value,
|
|
@@ -1176,10 +1176,10 @@ const fa = (n, e) => {
|
|
|
1176
1176
|
relation: "OR",
|
|
1177
1177
|
operation: "LIKE"
|
|
1178
1178
|
}
|
|
1179
|
-
])), (
|
|
1179
|
+
])), (Te = f == null ? void 0 : f.value[1]) != null && Te.value && (l.value.content.params.querys = (Ee = (Pe = (ke = (Re = l == null ? void 0 : l.value) == null ? void 0 : Re.content) == null ? void 0 : ke.params) == null ? void 0 : Pe.querys) == null ? void 0 : Ee.concat([
|
|
1180
1180
|
{
|
|
1181
1181
|
property: "classificationId",
|
|
1182
|
-
value: (
|
|
1182
|
+
value: ($e = f == null ? void 0 : f.value[1]) == null ? void 0 : $e.value,
|
|
1183
1183
|
group: "quick",
|
|
1184
1184
|
relation: "AND",
|
|
1185
1185
|
operation: "EQUAL"
|
|
@@ -1188,57 +1188,57 @@ const fa = (n, e) => {
|
|
|
1188
1188
|
};
|
|
1189
1189
|
C(
|
|
1190
1190
|
() => g == null ? void 0 : g.value,
|
|
1191
|
-
(
|
|
1192
|
-
|
|
1191
|
+
(O) => {
|
|
1192
|
+
O || P();
|
|
1193
1193
|
}
|
|
1194
1194
|
);
|
|
1195
|
-
const
|
|
1196
|
-
|
|
1195
|
+
const P = async () => {
|
|
1196
|
+
o === "supplier" ? (f.value[0].value = "", f.value[1].value = void 0) : (o === "org" || o === "user" || o === "source" || o === "post" || o === "role" || o === "job") && (f.value[0].value = ""), b();
|
|
1197
1197
|
};
|
|
1198
1198
|
return {
|
|
1199
1199
|
dialogVisible: g,
|
|
1200
1200
|
title: p,
|
|
1201
1201
|
searchName: V,
|
|
1202
|
-
selectorType:
|
|
1202
|
+
selectorType: o,
|
|
1203
1203
|
selectOptions: y,
|
|
1204
1204
|
tableOptions: l,
|
|
1205
1205
|
userStatusMap: d,
|
|
1206
1206
|
roleTypeMap: u,
|
|
1207
1207
|
roleStatusMap: _,
|
|
1208
|
-
openDialog:
|
|
1209
|
-
confirm: (
|
|
1210
|
-
var
|
|
1211
|
-
let Q = c[
|
|
1212
|
-
y.value =
|
|
1208
|
+
openDialog: k,
|
|
1209
|
+
confirm: (O) => {
|
|
1210
|
+
var q;
|
|
1211
|
+
let Q = c[o];
|
|
1212
|
+
y.value = O == null ? void 0 : O.map((T) => ({ label: (T == null ? void 0 : T.name) || (T == null ? void 0 : T.code), value: T[Q] })), o === "supplier" && (r.value = (q = O[0]) == null ? void 0 : q.linkmanPhone);
|
|
1213
1213
|
},
|
|
1214
|
-
getDetail: async (
|
|
1215
|
-
if (!
|
|
1216
|
-
const Q = m[
|
|
1217
|
-
let
|
|
1218
|
-
const
|
|
1219
|
-
if (
|
|
1214
|
+
getDetail: async (O) => {
|
|
1215
|
+
if (!O) return;
|
|
1216
|
+
const Q = m[o];
|
|
1217
|
+
let q = {};
|
|
1218
|
+
const T = O == null ? void 0 : O.split(",");
|
|
1219
|
+
if (o === "source") {
|
|
1220
1220
|
y.value = [
|
|
1221
1221
|
{
|
|
1222
|
-
label:
|
|
1223
|
-
value:
|
|
1222
|
+
label: O,
|
|
1223
|
+
value: O
|
|
1224
1224
|
}
|
|
1225
1225
|
];
|
|
1226
1226
|
return;
|
|
1227
|
-
} else
|
|
1228
|
-
const [
|
|
1229
|
-
|
|
1227
|
+
} else o === "user" ? q.userIds = T : o === "role" ? q.ids = T : o === "supplier" ? q.id = T : q = T;
|
|
1228
|
+
const [K, $] = await Q(q).run();
|
|
1229
|
+
K || (o === "supplier" ? y.value = [
|
|
1230
1230
|
{
|
|
1231
|
-
label: (
|
|
1232
|
-
value:
|
|
1231
|
+
label: ($ == null ? void 0 : $.name) || ($ == null ? void 0 : $.code),
|
|
1232
|
+
value: $ == null ? void 0 : $.id
|
|
1233
1233
|
}
|
|
1234
|
-
] : y.value =
|
|
1234
|
+
] : y.value = $ == null ? void 0 : $.map((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
|
}, La = () => {
|
|
1241
|
-
const n =
|
|
1241
|
+
const n = i(""), e = i(""), t = i([]), s = i("");
|
|
1242
1242
|
return {
|
|
1243
1243
|
spacePath: n,
|
|
1244
1244
|
spaceName: e,
|
|
@@ -1251,7 +1251,7 @@ const fa = (n, e) => {
|
|
|
1251
1251
|
let h = {
|
|
1252
1252
|
pageSize: 1e4,
|
|
1253
1253
|
pageIndex: 1,
|
|
1254
|
-
projectId:
|
|
1254
|
+
projectId: Ke().id,
|
|
1255
1255
|
//项目id
|
|
1256
1256
|
spaceId: ""
|
|
1257
1257
|
// orgId:getProjectInfo().id
|
|
@@ -1278,7 +1278,7 @@ const fa = (n, e) => {
|
|
|
1278
1278
|
};
|
|
1279
1279
|
}, Ca = { class: "table-search-process-top" }, za = {
|
|
1280
1280
|
name: "selector"
|
|
1281
|
-
}, Ma = /* @__PURE__ */
|
|
1281
|
+
}, Ma = /* @__PURE__ */ j({
|
|
1282
1282
|
...za,
|
|
1283
1283
|
props: {
|
|
1284
1284
|
setting: { default: () => ({
|
|
@@ -1294,7 +1294,7 @@ const fa = (n, e) => {
|
|
|
1294
1294
|
store: {}
|
|
1295
1295
|
},
|
|
1296
1296
|
setup(n) {
|
|
1297
|
-
const e = n, { showData: t, setData: s, getData: g, flowKey:
|
|
1297
|
+
const e = n, { showData: t, setData: s, getData: g, flowKey: o, setFormRule: y, deleteRule: V, disabledData: r } = e.store || {}, h = i(!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
|
() => {
|
|
@@ -1302,7 +1302,7 @@ const fa = (n, e) => {
|
|
|
1302
1302
|
},
|
|
1303
1303
|
{ deep: !0 }
|
|
1304
1304
|
);
|
|
1305
|
-
const v = r.value[e.setting.name] || !1, c =
|
|
1305
|
+
const v = r.value[e.setting.name] || !1, c = i(""), {
|
|
1306
1306
|
dialogVisible: d,
|
|
1307
1307
|
title: u,
|
|
1308
1308
|
searchName: _,
|
|
@@ -1313,69 +1313,69 @@ const fa = (n, e) => {
|
|
|
1313
1313
|
roleTypeMap: b,
|
|
1314
1314
|
roleStatusMap: w,
|
|
1315
1315
|
openDialog: N,
|
|
1316
|
-
confirm:
|
|
1317
|
-
getDetail:
|
|
1316
|
+
confirm: R,
|
|
1317
|
+
getDetail: k,
|
|
1318
1318
|
searchData: J,
|
|
1319
|
-
searchOptions:
|
|
1319
|
+
searchOptions: P,
|
|
1320
1320
|
linkmanPhone: Y
|
|
1321
|
-
} = Na(e.setting,
|
|
1322
|
-
H(e.setting.options.validateList).then((
|
|
1323
|
-
Q.value =
|
|
1321
|
+
} = Na(e.setting, o, c), { spacePath: W, spaceName: re, searchSpace: ne, changeSpace: pe, spaceLoad: de, filterSpaceTree: ce, getSpaceDetail: O } = La(), Q = i(!1);
|
|
1322
|
+
H(e.setting.options.validateList).then((T) => {
|
|
1323
|
+
Q.value = T;
|
|
1324
1324
|
});
|
|
1325
|
-
const
|
|
1326
|
-
return e.setting.options.tip && (
|
|
1327
|
-
s(e.setting.name,
|
|
1328
|
-
}), C(re, (
|
|
1329
|
-
s(e.setting.options.selector.type.positionName,
|
|
1330
|
-
})) : p == "supplier" ? (c.value = g(e.setting.name) ? [g(e.setting.name)] : [c.value], c.value &&
|
|
1331
|
-
s(e.setting.name,
|
|
1332
|
-
}), C(Y, (
|
|
1333
|
-
var
|
|
1334
|
-
((le = (z = (
|
|
1335
|
-
})) : (c.value = g(e.setting.name) ? g(e.setting.name) : c.value, c.value &&
|
|
1336
|
-
c.value =
|
|
1337
|
-
})), (
|
|
1325
|
+
const q = i();
|
|
1326
|
+
return e.setting.options.tip && (q.value = x(e.setting.options.tip)), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), p == "position" ? (c.value = g(e.setting.name) ? g(e.setting.name) : c.value, c.value && O(c.value), c.value || s(e.setting.name, null), C(c, (T) => {
|
|
1327
|
+
s(e.setting.name, T);
|
|
1328
|
+
}), C(re, (T) => {
|
|
1329
|
+
s(e.setting.options.selector.type.positionName, T);
|
|
1330
|
+
})) : p == "supplier" ? (c.value = g(e.setting.name) ? [g(e.setting.name)] : [c.value], c.value && k(g(e.setting.name)), C(c, (T) => {
|
|
1331
|
+
s(e.setting.name, T == null ? void 0 : T.toString());
|
|
1332
|
+
}), C(Y, (T) => {
|
|
1333
|
+
var K, $, z, le;
|
|
1334
|
+
((le = (z = ($ = (K = e == null ? void 0 : e.setting) == null ? void 0 : K.options) == null ? void 0 : $.selector) == null ? void 0 : z.type) == null ? void 0 : le.supplierPhone) !== void 0 && s(e.setting.options.selector.type.supplierPhone, T);
|
|
1335
|
+
})) : (c.value = g(e.setting.name) ? g(e.setting.name) : c.value, c.value && k(c.value), c.value.length || s(e.setting.name, null), C(l, (T) => {
|
|
1336
|
+
c.value = T.map((K) => K.value).toString(), s(e.setting.name, c.value);
|
|
1337
|
+
})), (T, K) => (S(), U(
|
|
1338
1338
|
G,
|
|
1339
1339
|
null,
|
|
1340
1340
|
[
|
|
1341
|
-
h.value && a(p) != "position" ? (S(),
|
|
1341
|
+
h.value && a(p) != "position" ? (S(), F(a(A), {
|
|
1342
1342
|
key: 0,
|
|
1343
1343
|
col: e.span,
|
|
1344
1344
|
modelValue: c.value,
|
|
1345
|
-
"onUpdate:modelValue":
|
|
1345
|
+
"onUpdate:modelValue": K[1] || (K[1] = ($) => c.value = $),
|
|
1346
1346
|
prop: e.setting.name,
|
|
1347
|
-
label:
|
|
1347
|
+
label: T.setting.desc,
|
|
1348
1348
|
type: "inputDialogSelect",
|
|
1349
1349
|
options: a(l),
|
|
1350
|
-
helpMessage:
|
|
1350
|
+
helpMessage: q.value,
|
|
1351
1351
|
isView: e.isView,
|
|
1352
1352
|
disabled: a(v),
|
|
1353
1353
|
required: Q.value,
|
|
1354
|
-
placeholder:
|
|
1354
|
+
placeholder: T.setting.options.placeholder,
|
|
1355
1355
|
onOpenDialog: a(N)
|
|
1356
1356
|
}, {
|
|
1357
1357
|
default: M(() => {
|
|
1358
|
-
var
|
|
1358
|
+
var $;
|
|
1359
1359
|
return [
|
|
1360
1360
|
L(a(Dt), {
|
|
1361
1361
|
"append-to-body": "",
|
|
1362
1362
|
modelValue: a(d),
|
|
1363
|
-
"onUpdate:modelValue":
|
|
1363
|
+
"onUpdate:modelValue": K[0] || (K[0] = (z) => he(d) ? d.value = z : null),
|
|
1364
1364
|
options: a(m),
|
|
1365
|
-
onConfirm: a(
|
|
1365
|
+
onConfirm: a(R),
|
|
1366
1366
|
title: a(u),
|
|
1367
1367
|
"body-style": { padding: "0px" }
|
|
1368
1368
|
}, dt({
|
|
1369
1369
|
_: 2
|
|
1370
1370
|
/* DYNAMIC */
|
|
1371
1371
|
}, [
|
|
1372
|
-
((
|
|
1372
|
+
(($ = a(P)) == null ? void 0 : $.length) > 0 ? {
|
|
1373
1373
|
name: "table-header-search",
|
|
1374
1374
|
fn: M(() => [
|
|
1375
|
-
|
|
1375
|
+
qe("div", Ca, [
|
|
1376
1376
|
L(a(Vt), {
|
|
1377
1377
|
labelLength: "6",
|
|
1378
|
-
options: a(
|
|
1378
|
+
options: a(P),
|
|
1379
1379
|
onConfirm: a(J),
|
|
1380
1380
|
"is-margin-right": !1
|
|
1381
1381
|
}, null, 8, ["options", "onConfirm"])
|
|
@@ -1386,15 +1386,15 @@ const fa = (n, e) => {
|
|
|
1386
1386
|
a(p) === "user" ? {
|
|
1387
1387
|
name: "table-column",
|
|
1388
1388
|
fn: M(() => [
|
|
1389
|
-
L(a(
|
|
1389
|
+
L(a(E), {
|
|
1390
1390
|
label: a(D)("姓名"),
|
|
1391
1391
|
prop: "name"
|
|
1392
1392
|
}, null, 8, ["label"]),
|
|
1393
|
-
L(a(
|
|
1393
|
+
L(a(E), {
|
|
1394
1394
|
label: a(D)("账号"),
|
|
1395
1395
|
prop: "userName"
|
|
1396
1396
|
}, null, 8, ["label"]),
|
|
1397
|
-
L(a(
|
|
1397
|
+
L(a(E), {
|
|
1398
1398
|
label: a(D)("手机号"),
|
|
1399
1399
|
prop: "sensitivePhone"
|
|
1400
1400
|
}, {
|
|
@@ -1418,7 +1418,7 @@ const fa = (n, e) => {
|
|
|
1418
1418
|
_: 1
|
|
1419
1419
|
/* STABLE */
|
|
1420
1420
|
}, 8, ["label"]),
|
|
1421
|
-
L(a(
|
|
1421
|
+
L(a(E), {
|
|
1422
1422
|
label: a(D)("状态")
|
|
1423
1423
|
}, {
|
|
1424
1424
|
default: M(({ row: z }) => [
|
|
@@ -1437,15 +1437,15 @@ const fa = (n, e) => {
|
|
|
1437
1437
|
a(p) === "org" ? {
|
|
1438
1438
|
name: "table-column",
|
|
1439
1439
|
fn: M(() => [
|
|
1440
|
-
L(a(
|
|
1440
|
+
L(a(E), {
|
|
1441
1441
|
label: a(D)("组织名称"),
|
|
1442
1442
|
prop: "name"
|
|
1443
1443
|
}, null, 8, ["label"]),
|
|
1444
|
-
L(a(
|
|
1444
|
+
L(a(E), {
|
|
1445
1445
|
label: a(D)("组织编码"),
|
|
1446
1446
|
prop: "code"
|
|
1447
1447
|
}, null, 8, ["label"]),
|
|
1448
|
-
L(a(
|
|
1448
|
+
L(a(E), {
|
|
1449
1449
|
label: a(D)("组织类型"),
|
|
1450
1450
|
prop: "typeName"
|
|
1451
1451
|
}, null, 8, ["label"])
|
|
@@ -1455,11 +1455,11 @@ const fa = (n, e) => {
|
|
|
1455
1455
|
a(p) === "role" ? {
|
|
1456
1456
|
name: "table-column",
|
|
1457
1457
|
fn: M(() => [
|
|
1458
|
-
L(a(
|
|
1458
|
+
L(a(E), {
|
|
1459
1459
|
label: a(D)("角色名称"),
|
|
1460
1460
|
prop: "name"
|
|
1461
1461
|
}, null, 8, ["label"]),
|
|
1462
|
-
L(a(
|
|
1462
|
+
L(a(E), {
|
|
1463
1463
|
label: a(D)("角色类型")
|
|
1464
1464
|
}, {
|
|
1465
1465
|
default: M(({ row: z }) => [
|
|
@@ -1472,7 +1472,7 @@ const fa = (n, e) => {
|
|
|
1472
1472
|
_: 1
|
|
1473
1473
|
/* STABLE */
|
|
1474
1474
|
}, 8, ["label"]),
|
|
1475
|
-
L(a(
|
|
1475
|
+
L(a(E), {
|
|
1476
1476
|
label: a(D)("角色状态")
|
|
1477
1477
|
}, {
|
|
1478
1478
|
default: M(({ row: z }) => [
|
|
@@ -1491,15 +1491,15 @@ const fa = (n, e) => {
|
|
|
1491
1491
|
a(p) === "job" ? {
|
|
1492
1492
|
name: "table-column",
|
|
1493
1493
|
fn: M(() => [
|
|
1494
|
-
L(a(
|
|
1494
|
+
L(a(E), {
|
|
1495
1495
|
label: a(D)("职务名称"),
|
|
1496
1496
|
prop: "name"
|
|
1497
1497
|
}, null, 8, ["label"]),
|
|
1498
|
-
L(a(
|
|
1498
|
+
L(a(E), {
|
|
1499
1499
|
label: a(D)("职务编码"),
|
|
1500
1500
|
prop: "code"
|
|
1501
1501
|
}, null, 8, ["label"]),
|
|
1502
|
-
L(a(
|
|
1502
|
+
L(a(E), {
|
|
1503
1503
|
label: a(D)("所属组织路径"),
|
|
1504
1504
|
prop: "groupName"
|
|
1505
1505
|
}, null, 8, ["label"])
|
|
@@ -1509,15 +1509,15 @@ const fa = (n, e) => {
|
|
|
1509
1509
|
a(p) === "post" ? {
|
|
1510
1510
|
name: "table-column",
|
|
1511
1511
|
fn: M(() => [
|
|
1512
|
-
L(a(
|
|
1512
|
+
L(a(E), {
|
|
1513
1513
|
label: a(D)("岗位名称"),
|
|
1514
1514
|
prop: "name"
|
|
1515
1515
|
}, null, 8, ["label"]),
|
|
1516
|
-
L(a(
|
|
1516
|
+
L(a(E), {
|
|
1517
1517
|
label: a(D)("岗位编码"),
|
|
1518
1518
|
prop: "code"
|
|
1519
1519
|
}, null, 8, ["label"]),
|
|
1520
|
-
L(a(
|
|
1520
|
+
L(a(E), {
|
|
1521
1521
|
label: a(D)("所属组织路径"),
|
|
1522
1522
|
prop: "groupName"
|
|
1523
1523
|
}, null, 8, ["label"])
|
|
@@ -1527,35 +1527,35 @@ const fa = (n, e) => {
|
|
|
1527
1527
|
a(p) === "supplier" ? {
|
|
1528
1528
|
name: "table-column",
|
|
1529
1529
|
fn: M(() => [
|
|
1530
|
-
L(a(
|
|
1530
|
+
L(a(E), {
|
|
1531
1531
|
type: "index",
|
|
1532
1532
|
width: "50"
|
|
1533
1533
|
}),
|
|
1534
|
-
L(a(
|
|
1534
|
+
L(a(E), {
|
|
1535
1535
|
label: a(D)("供应商名称"),
|
|
1536
1536
|
prop: "name"
|
|
1537
1537
|
}, null, 8, ["label"]),
|
|
1538
|
-
L(a(
|
|
1538
|
+
L(a(E), {
|
|
1539
1539
|
label: a(D)("供应商编码"),
|
|
1540
1540
|
prop: "code"
|
|
1541
1541
|
}, null, 8, ["label"]),
|
|
1542
|
-
L(a(
|
|
1542
|
+
L(a(E), {
|
|
1543
1543
|
label: a(D)("供应商等级"),
|
|
1544
1544
|
prop: "supplierLevel"
|
|
1545
1545
|
}, null, 8, ["label"]),
|
|
1546
|
-
L(a(
|
|
1546
|
+
L(a(E), {
|
|
1547
1547
|
label: a(D)("供应商分类"),
|
|
1548
1548
|
prop: "classificationName"
|
|
1549
1549
|
}, {
|
|
1550
1550
|
default: M(() => [
|
|
1551
|
-
|
|
1551
|
+
I(` <template #default="{row}">\r
|
|
1552
1552
|
{{ getSupplierName(row) }}\r
|
|
1553
1553
|
</template> `)
|
|
1554
1554
|
]),
|
|
1555
1555
|
_: 1
|
|
1556
1556
|
/* STABLE */
|
|
1557
1557
|
}, 8, ["label"]),
|
|
1558
|
-
L(a(
|
|
1558
|
+
L(a(E), {
|
|
1559
1559
|
label: a(D)("个人/公司"),
|
|
1560
1560
|
prop: "businessType"
|
|
1561
1561
|
}, {
|
|
@@ -1575,19 +1575,19 @@ const fa = (n, e) => {
|
|
|
1575
1575
|
a(p) === "source" ? {
|
|
1576
1576
|
name: "table-column",
|
|
1577
1577
|
fn: M(() => [
|
|
1578
|
-
L(a(
|
|
1578
|
+
L(a(E), {
|
|
1579
1579
|
type: "index",
|
|
1580
1580
|
width: "50"
|
|
1581
1581
|
}),
|
|
1582
|
-
L(a(
|
|
1582
|
+
L(a(E), {
|
|
1583
1583
|
label: a(D)("单据编码"),
|
|
1584
1584
|
prop: "code"
|
|
1585
1585
|
}, null, 8, ["label"]),
|
|
1586
|
-
L(a(
|
|
1586
|
+
L(a(E), {
|
|
1587
1587
|
label: a(D)("申请人"),
|
|
1588
1588
|
prop: "userName"
|
|
1589
1589
|
}, null, 8, ["label"]),
|
|
1590
|
-
L(a(
|
|
1590
|
+
L(a(E), {
|
|
1591
1591
|
label: a(D)("联系电话"),
|
|
1592
1592
|
prop: "sensitivePhone"
|
|
1593
1593
|
}, {
|
|
@@ -1611,7 +1611,7 @@ const fa = (n, e) => {
|
|
|
1611
1611
|
_: 1
|
|
1612
1612
|
/* STABLE */
|
|
1613
1613
|
}, 8, ["label"]),
|
|
1614
|
-
L(a(
|
|
1614
|
+
L(a(E), {
|
|
1615
1615
|
label: a(D)("计划领用日期"),
|
|
1616
1616
|
prop: "claimingDate"
|
|
1617
1617
|
}, {
|
|
@@ -1625,7 +1625,7 @@ const fa = (n, e) => {
|
|
|
1625
1625
|
_: 1
|
|
1626
1626
|
/* STABLE */
|
|
1627
1627
|
}, 8, ["label"]),
|
|
1628
|
-
L(a(
|
|
1628
|
+
L(a(E), {
|
|
1629
1629
|
label: a(D)("资产用途"),
|
|
1630
1630
|
prop: "purpose"
|
|
1631
1631
|
}, null, 8, ["label"])
|
|
@@ -1637,24 +1637,24 @@ const fa = (n, e) => {
|
|
|
1637
1637
|
}),
|
|
1638
1638
|
_: 1
|
|
1639
1639
|
/* STABLE */
|
|
1640
|
-
}, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "placeholder", "onOpenDialog"])) :
|
|
1641
|
-
h.value && a(p) == "position" ? (S(),
|
|
1640
|
+
}, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "placeholder", "onOpenDialog"])) : I("v-if", !0),
|
|
1641
|
+
h.value && a(p) == "position" ? (S(), F(a(A), {
|
|
1642
1642
|
key: 1,
|
|
1643
1643
|
col: e.span,
|
|
1644
|
-
label:
|
|
1644
|
+
label: T.setting.desc,
|
|
1645
1645
|
prop: e.setting.name,
|
|
1646
1646
|
type: "treeSelect",
|
|
1647
1647
|
"node-key": "id",
|
|
1648
1648
|
showFullPath: !0,
|
|
1649
|
-
helpMessage:
|
|
1650
|
-
placeholder:
|
|
1649
|
+
helpMessage: q.value,
|
|
1650
|
+
placeholder: T.setting.options.placeholder,
|
|
1651
1651
|
required: Q.value,
|
|
1652
1652
|
modelValue: c.value,
|
|
1653
|
-
"onUpdate:modelValue":
|
|
1653
|
+
"onUpdate:modelValue": K[2] || (K[2] = ($) => c.value = $),
|
|
1654
1654
|
keyword: a(ne),
|
|
1655
|
-
"onUpdate:keyword":
|
|
1655
|
+
"onUpdate:keyword": K[3] || (K[3] = ($) => he(ne) ? ne.value = $ : null),
|
|
1656
1656
|
path: a(W),
|
|
1657
|
-
"onUpdate:path":
|
|
1657
|
+
"onUpdate:path": K[4] || (K[4] = ($) => he(W) ? W.value = $ : null),
|
|
1658
1658
|
isView: e.isView,
|
|
1659
1659
|
disabled: a(v),
|
|
1660
1660
|
load: a(de),
|
|
@@ -1664,25 +1664,25 @@ const fa = (n, e) => {
|
|
|
1664
1664
|
label: "name"
|
|
1665
1665
|
},
|
|
1666
1666
|
onChange: a(pe)
|
|
1667
|
-
}, null, 8, ["col", "label", "prop", "helpMessage", "placeholder", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange"])) :
|
|
1667
|
+
}, null, 8, ["col", "label", "prop", "helpMessage", "placeholder", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange"])) : I("v-if", !0)
|
|
1668
1668
|
],
|
|
1669
1669
|
64
|
|
1670
1670
|
/* STABLE_FRAGMENT */
|
|
1671
1671
|
));
|
|
1672
1672
|
}
|
|
1673
|
-
}),
|
|
1673
|
+
}), Ta = /* @__PURE__ */ fe(Ma, [["__scopeId", "data-v-a1e1fa30"]]), at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1674
1674
|
__proto__: null,
|
|
1675
|
-
default:
|
|
1676
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1675
|
+
default: Ta
|
|
1676
|
+
}, Symbol.toStringTag, { value: "Module" })), Ra = {
|
|
1677
1677
|
key: 0,
|
|
1678
1678
|
class: "form-image"
|
|
1679
|
-
},
|
|
1679
|
+
}, ka = {
|
|
1680
1680
|
key: 1,
|
|
1681
1681
|
style: { "margin-bottom": "10px" }
|
|
1682
|
-
},
|
|
1682
|
+
}, Pa = {
|
|
1683
1683
|
name: "soundRecording"
|
|
1684
|
-
},
|
|
1685
|
-
|
|
1684
|
+
}, $a = /* @__PURE__ */ j({
|
|
1685
|
+
...Pa,
|
|
1686
1686
|
props: {
|
|
1687
1687
|
setting: { default: () => ({
|
|
1688
1688
|
icon: "",
|
|
@@ -1697,7 +1697,7 @@ const fa = (n, e) => {
|
|
|
1697
1697
|
store: {}
|
|
1698
1698
|
},
|
|
1699
1699
|
setup(n) {
|
|
1700
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData:
|
|
1700
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: o, setFormRule: y, deleteRule: V } = e.store || {}, r = i(!0);
|
|
1701
1701
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
1702
1702
|
() => t.value,
|
|
1703
1703
|
() => {
|
|
@@ -1705,18 +1705,18 @@ const fa = (n, e) => {
|
|
|
1705
1705
|
},
|
|
1706
1706
|
{ deep: !0 }
|
|
1707
1707
|
), s.value[e.setting.name];
|
|
1708
|
-
const { baseURL: h } = St(), v =
|
|
1708
|
+
const { baseURL: h } = St(), v = i(!1);
|
|
1709
1709
|
H(e.setting.options.validateList).then((_) => {
|
|
1710
1710
|
v.value = _;
|
|
1711
1711
|
});
|
|
1712
|
-
const c =
|
|
1712
|
+
const c = i("info"), d = i();
|
|
1713
1713
|
e.setting.options.tip && (d.value = x(e.setting.options.tip));
|
|
1714
|
-
const u =
|
|
1715
|
-
if (
|
|
1716
|
-
const _ = JSON.parse(
|
|
1714
|
+
const u = i();
|
|
1715
|
+
if (o(e.setting.name)) {
|
|
1716
|
+
const _ = JSON.parse(o(e.setting.name));
|
|
1717
1717
|
u.value = h + _[0].url;
|
|
1718
1718
|
}
|
|
1719
|
-
return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), (_, m) => e.isView && r.value ? (S(),
|
|
1719
|
+
return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), (_, m) => e.isView && r.value ? (S(), F(a(A), {
|
|
1720
1720
|
key: 0,
|
|
1721
1721
|
modelValue: u.value,
|
|
1722
1722
|
"onUpdate:modelValue": m[2] || (m[2] = (p) => u.value = p),
|
|
@@ -1728,27 +1728,27 @@ const fa = (n, e) => {
|
|
|
1728
1728
|
required: v.value
|
|
1729
1729
|
}, {
|
|
1730
1730
|
default: M(() => [
|
|
1731
|
-
u.value ? (S(), U("div",
|
|
1732
|
-
L(a(
|
|
1731
|
+
u.value ? (S(), U("div", Ra, [
|
|
1732
|
+
L(a(Be), {
|
|
1733
1733
|
modelValue: u.value,
|
|
1734
1734
|
"onUpdate:modelValue": m[0] || (m[0] = (p) => u.value = p),
|
|
1735
1735
|
status: c.value,
|
|
1736
1736
|
"onUpdate:status": m[1] || (m[1] = (p) => c.value = p),
|
|
1737
1737
|
required: v.value
|
|
1738
1738
|
}, null, 8, ["modelValue", "status", "required"])
|
|
1739
|
-
])) : (S(), U("div",
|
|
1739
|
+
])) : (S(), U("div", ka, "-"))
|
|
1740
1740
|
]),
|
|
1741
1741
|
_: 1
|
|
1742
1742
|
/* STABLE */
|
|
1743
|
-
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) :
|
|
1743
|
+
}, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) : I("v-if", !0);
|
|
1744
1744
|
}
|
|
1745
|
-
}),
|
|
1745
|
+
}), Ea = /* @__PURE__ */ fe($a, [["__scopeId", "data-v-c408712c"]]), nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1746
1746
|
__proto__: null,
|
|
1747
|
-
default:
|
|
1748
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1747
|
+
default: Ea
|
|
1748
|
+
}, Symbol.toStringTag, { value: "Module" })), Fa = {
|
|
1749
1749
|
name: "switch"
|
|
1750
|
-
},
|
|
1751
|
-
...
|
|
1750
|
+
}, Ia = /* @__PURE__ */ j({
|
|
1751
|
+
...Fa,
|
|
1752
1752
|
props: {
|
|
1753
1753
|
setting: { default: () => ({
|
|
1754
1754
|
icon: "",
|
|
@@ -1763,7 +1763,7 @@ const fa = (n, e) => {
|
|
|
1763
1763
|
store: {}
|
|
1764
1764
|
},
|
|
1765
1765
|
setup(n) {
|
|
1766
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData:
|
|
1766
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: o, setFormRule: y, deleteRule: V } = e.store || {}, r = i(!0);
|
|
1767
1767
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
1768
1768
|
() => t.value,
|
|
1769
1769
|
() => {
|
|
@@ -1771,18 +1771,18 @@ const fa = (n, e) => {
|
|
|
1771
1771
|
},
|
|
1772
1772
|
{ deep: !0 }
|
|
1773
1773
|
);
|
|
1774
|
-
const h = s.value[e.setting.name] || !1, v =
|
|
1774
|
+
const h = s.value[e.setting.name] || !1, v = i(!1);
|
|
1775
1775
|
H(e.setting.options.validateList).then((u) => {
|
|
1776
1776
|
v.value = u;
|
|
1777
1777
|
});
|
|
1778
|
-
const c =
|
|
1778
|
+
const c = i();
|
|
1779
1779
|
e.setting.options.tip && (c.value = x(e.setting.options.tip));
|
|
1780
|
-
const d =
|
|
1780
|
+
const d = i();
|
|
1781
1781
|
return setTimeout(() => {
|
|
1782
|
-
d.value =
|
|
1782
|
+
d.value = o(e.setting.name) || e.setting.options.formulasDiyJs || d.value, d.value || g(e.setting.name, null);
|
|
1783
1783
|
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(d, (u) => {
|
|
1784
1784
|
g(e.setting.name, u);
|
|
1785
|
-
}), (u, _) => r.value ? (S(),
|
|
1785
|
+
}), (u, _) => r.value ? (S(), F(a(A), {
|
|
1786
1786
|
key: 0,
|
|
1787
1787
|
col: e.span,
|
|
1788
1788
|
modelValue: d.value,
|
|
@@ -1798,15 +1798,15 @@ const fa = (n, e) => {
|
|
|
1798
1798
|
disabled: a(h),
|
|
1799
1799
|
required: v.value,
|
|
1800
1800
|
isView: e.isView
|
|
1801
|
-
}, null, 8, ["col", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "disabled", "required", "isView"])) :
|
|
1801
|
+
}, null, 8, ["col", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "disabled", "required", "isView"])) : I("v-if", !0);
|
|
1802
1802
|
}
|
|
1803
1803
|
}), st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1804
1804
|
__proto__: null,
|
|
1805
|
-
default:
|
|
1806
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1805
|
+
default: Ia
|
|
1806
|
+
}, Symbol.toStringTag, { value: "Module" })), Oa = {
|
|
1807
1807
|
name: "text"
|
|
1808
|
-
},
|
|
1809
|
-
...
|
|
1808
|
+
}, qa = /* @__PURE__ */ j({
|
|
1809
|
+
...Oa,
|
|
1810
1810
|
props: {
|
|
1811
1811
|
setting: { default: () => ({
|
|
1812
1812
|
icon: "",
|
|
@@ -1821,7 +1821,7 @@ const fa = (n, e) => {
|
|
|
1821
1821
|
store: {}
|
|
1822
1822
|
},
|
|
1823
1823
|
setup(n) {
|
|
1824
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData:
|
|
1824
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: o, setFormRule: y, deleteRule: V } = e.store || {}, r = i(!0);
|
|
1825
1825
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
1826
1826
|
() => t.value,
|
|
1827
1827
|
() => {
|
|
@@ -1829,12 +1829,12 @@ const fa = (n, e) => {
|
|
|
1829
1829
|
},
|
|
1830
1830
|
{ deep: !0 }
|
|
1831
1831
|
);
|
|
1832
|
-
const h =
|
|
1832
|
+
const h = i();
|
|
1833
1833
|
e.setting.options.tip && (h.value = x(e.setting.options.tip));
|
|
1834
|
-
const v =
|
|
1835
|
-
return v.value = e.setting.options.textValue, v.value =
|
|
1834
|
+
const v = i();
|
|
1835
|
+
return v.value = e.setting.options.textValue, v.value = o(e.setting.name) || v.value, v.value || g(e.setting.name, null), C(v, (c) => {
|
|
1836
1836
|
g(e.setting.name, c);
|
|
1837
|
-
}), (c, d) => r.value ? (S(),
|
|
1837
|
+
}), (c, d) => r.value ? (S(), F(a(A), {
|
|
1838
1838
|
key: 0,
|
|
1839
1839
|
col: e.span,
|
|
1840
1840
|
modelValue: v.value,
|
|
@@ -1844,7 +1844,7 @@ const fa = (n, e) => {
|
|
|
1844
1844
|
helpMessage: h.value
|
|
1845
1845
|
}, {
|
|
1846
1846
|
default: M(() => [
|
|
1847
|
-
L(a(
|
|
1847
|
+
L(a(je), {
|
|
1848
1848
|
type: "text",
|
|
1849
1849
|
modelValue: v.value,
|
|
1850
1850
|
"onUpdate:modelValue": d[0] || (d[0] = (u) => v.value = u)
|
|
@@ -1852,15 +1852,15 @@ const fa = (n, e) => {
|
|
|
1852
1852
|
]),
|
|
1853
1853
|
_: 1
|
|
1854
1854
|
/* STABLE */
|
|
1855
|
-
}, 8, ["col", "modelValue", "label", "helpMessage"])) :
|
|
1855
|
+
}, 8, ["col", "modelValue", "label", "helpMessage"])) : I("v-if", !0);
|
|
1856
1856
|
}
|
|
1857
1857
|
}), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1858
1858
|
__proto__: null,
|
|
1859
|
-
default:
|
|
1860
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1859
|
+
default: qa
|
|
1860
|
+
}, Symbol.toStringTag, { value: "Module" })), Ba = {
|
|
1861
1861
|
name: "textarea"
|
|
1862
|
-
},
|
|
1863
|
-
...
|
|
1862
|
+
}, Ka = /* @__PURE__ */ j({
|
|
1863
|
+
...Ba,
|
|
1864
1864
|
props: {
|
|
1865
1865
|
setting: { default: () => ({
|
|
1866
1866
|
icon: "",
|
|
@@ -1875,7 +1875,7 @@ const fa = (n, e) => {
|
|
|
1875
1875
|
store: {}
|
|
1876
1876
|
},
|
|
1877
1877
|
setup(n) {
|
|
1878
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData:
|
|
1878
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: o, setFormRule: y, deleteRule: V } = e.store || {}, r = i(!0);
|
|
1879
1879
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
1880
1880
|
() => t.value,
|
|
1881
1881
|
() => {
|
|
@@ -1883,24 +1883,24 @@ const fa = (n, e) => {
|
|
|
1883
1883
|
},
|
|
1884
1884
|
{ deep: !0 }
|
|
1885
1885
|
);
|
|
1886
|
-
const h = s.value[e.setting.name] || !1, v =
|
|
1886
|
+
const h = s.value[e.setting.name] || !1, v = i(!1);
|
|
1887
1887
|
H(e.setting.options.validateList).then((m) => {
|
|
1888
1888
|
v.value = m;
|
|
1889
1889
|
});
|
|
1890
|
-
const c =
|
|
1890
|
+
const c = i();
|
|
1891
1891
|
e.setting.options.tip && (c.value = x(e.setting.options.tip));
|
|
1892
|
-
const d =
|
|
1892
|
+
const d = i("");
|
|
1893
1893
|
setTimeout(() => {
|
|
1894
|
-
d.value =
|
|
1894
|
+
d.value = o(e.setting.name) || e.setting.options.formulasDiyJs || d.value, d.value || g(e.setting.name, null);
|
|
1895
1895
|
}, 50);
|
|
1896
|
-
const u =
|
|
1896
|
+
const u = i(), _ = i();
|
|
1897
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) => {
|
|
1898
1898
|
g(e.setting.name, m);
|
|
1899
1899
|
}), (m, p) => (S(), U(
|
|
1900
1900
|
G,
|
|
1901
1901
|
null,
|
|
1902
1902
|
[
|
|
1903
|
-
!m.setting.options.isEditor && r.value ? (S(),
|
|
1903
|
+
!m.setting.options.isEditor && r.value ? (S(), F(a(A), {
|
|
1904
1904
|
key: 0,
|
|
1905
1905
|
col: e.span,
|
|
1906
1906
|
label: m.setting.desc,
|
|
@@ -1918,8 +1918,8 @@ const fa = (n, e) => {
|
|
|
1918
1918
|
"show-word-limit": "",
|
|
1919
1919
|
helpMessage: c.value,
|
|
1920
1920
|
required: v.value
|
|
1921
|
-
}, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) :
|
|
1922
|
-
m.setting.options.isEditor && r.value ? (S(),
|
|
1921
|
+
}, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) : I("v-if", !0),
|
|
1922
|
+
m.setting.options.isEditor && r.value ? (S(), F(a(A), {
|
|
1923
1923
|
key: 1,
|
|
1924
1924
|
modelValue: d.value,
|
|
1925
1925
|
"onUpdate:modelValue": p[2] || (p[2] = (l) => d.value = l),
|
|
@@ -1932,7 +1932,7 @@ const fa = (n, e) => {
|
|
|
1932
1932
|
readOnly: e.isView
|
|
1933
1933
|
}, {
|
|
1934
1934
|
default: M(() => [
|
|
1935
|
-
L(a(
|
|
1935
|
+
L(a(je), {
|
|
1936
1936
|
ref: "editor",
|
|
1937
1937
|
width: u.value,
|
|
1938
1938
|
height: _.value,
|
|
@@ -1943,19 +1943,19 @@ const fa = (n, e) => {
|
|
|
1943
1943
|
]),
|
|
1944
1944
|
_: 1
|
|
1945
1945
|
/* STABLE */
|
|
1946
|
-
}, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) :
|
|
1946
|
+
}, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) : I("v-if", !0)
|
|
1947
1947
|
],
|
|
1948
1948
|
64
|
|
1949
1949
|
/* STABLE_FRAGMENT */
|
|
1950
1950
|
));
|
|
1951
1951
|
}
|
|
1952
|
-
}),
|
|
1952
|
+
}), it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1953
1953
|
__proto__: null,
|
|
1954
|
-
default:
|
|
1955
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1954
|
+
default: Ka
|
|
1955
|
+
}, Symbol.toStringTag, { value: "Module" })), ja = {
|
|
1956
1956
|
name: "time"
|
|
1957
|
-
}, Aa = /* @__PURE__ */
|
|
1958
|
-
...
|
|
1957
|
+
}, Aa = /* @__PURE__ */ j({
|
|
1958
|
+
...ja,
|
|
1959
1959
|
props: {
|
|
1960
1960
|
setting: { default: () => ({
|
|
1961
1961
|
icon: "",
|
|
@@ -1970,7 +1970,7 @@ const fa = (n, e) => {
|
|
|
1970
1970
|
store: {}
|
|
1971
1971
|
},
|
|
1972
1972
|
setup(n) {
|
|
1973
|
-
const e = n, { showData: t, disabledData: s, setData: g, getData:
|
|
1973
|
+
const e = n, { showData: t, disabledData: s, setData: g, getData: o, setFormRule: y, deleteRule: V } = e.store || {}, r = i(!0);
|
|
1974
1974
|
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), C(
|
|
1975
1975
|
() => t.value,
|
|
1976
1976
|
() => {
|
|
@@ -1978,19 +1978,19 @@ const fa = (n, e) => {
|
|
|
1978
1978
|
},
|
|
1979
1979
|
{ deep: !0 }
|
|
1980
1980
|
);
|
|
1981
|
-
const h = s.value[e.setting.name] || !1, v =
|
|
1981
|
+
const h = s.value[e.setting.name] || !1, v = i(!1);
|
|
1982
1982
|
H(e.setting.options.validateList).then((u) => {
|
|
1983
1983
|
v.value = u;
|
|
1984
1984
|
});
|
|
1985
|
-
const c =
|
|
1985
|
+
const c = i();
|
|
1986
1986
|
e.setting.options.tip && (c.value = x(e.setting.options.tip));
|
|
1987
|
-
const d =
|
|
1987
|
+
const d = i();
|
|
1988
1988
|
return setTimeout(() => {
|
|
1989
1989
|
const u = me().format("YYYY-MM-DD ");
|
|
1990
|
-
|
|
1990
|
+
o(e.setting.name) && (d.value = o(e.setting.name)), e.setting.options.formulasDiyJs && (d.value = me(u + e.setting.options.formulasDiyJs)), d.value || g(e.setting.name, null);
|
|
1991
1991
|
}, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), C(d, (u) => {
|
|
1992
1992
|
g(e.setting.name, u);
|
|
1993
|
-
}), (u, _) => r.value ? (S(),
|
|
1993
|
+
}), (u, _) => r.value ? (S(), F(a(A), {
|
|
1994
1994
|
key: 0,
|
|
1995
1995
|
col: e.span,
|
|
1996
1996
|
modelValue: d.value,
|
|
@@ -2002,12 +2002,12 @@ const fa = (n, e) => {
|
|
|
2002
2002
|
isView: e.isView,
|
|
2003
2003
|
required: v.value,
|
|
2004
2004
|
disabled: a(h)
|
|
2005
|
-
}, null, 8, ["col", "modelValue", "prop", "label", "helpMessage", "isView", "required", "disabled"])) :
|
|
2005
|
+
}, null, 8, ["col", "modelValue", "prop", "label", "helpMessage", "isView", "required", "disabled"])) : I("v-if", !0);
|
|
2006
2006
|
}
|
|
2007
|
-
}),
|
|
2007
|
+
}), ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2008
2008
|
__proto__: null,
|
|
2009
2009
|
default: Aa
|
|
2010
|
-
}, Symbol.toStringTag, { value: "Module" })), Qa =
|
|
2010
|
+
}, Symbol.toStringTag, { value: "Module" })), Qa = j({
|
|
2011
2011
|
name: "accordion",
|
|
2012
2012
|
props: {
|
|
2013
2013
|
columns: {
|
|
@@ -2024,23 +2024,23 @@ const fa = (n, e) => {
|
|
|
2024
2024
|
}
|
|
2025
2025
|
},
|
|
2026
2026
|
setup(n) {
|
|
2027
|
-
const e =
|
|
2027
|
+
const e = i([]), t = n.columns.map((s) => {
|
|
2028
2028
|
const g = s.list.map(
|
|
2029
|
-
(
|
|
2029
|
+
(o) => ie(ue[o.ctrlType], { setting: o, isView: n.isView, store: n.store })
|
|
2030
2030
|
);
|
|
2031
|
-
return s.isOpen == !0 && e.value.push(s.idKey),
|
|
2031
|
+
return s.isOpen == !0 && e.value.push(s.idKey), ie(
|
|
2032
2032
|
Qe,
|
|
2033
2033
|
{
|
|
2034
2034
|
header: s.span,
|
|
2035
2035
|
key: `${s.idKey}`
|
|
2036
2036
|
},
|
|
2037
|
-
|
|
2037
|
+
ie("div", g)
|
|
2038
2038
|
);
|
|
2039
2039
|
});
|
|
2040
|
-
return () =>
|
|
2040
|
+
return () => ie(
|
|
2041
2041
|
"div",
|
|
2042
2042
|
{ class: "accordion-layout" },
|
|
2043
|
-
|
|
2043
|
+
ie(
|
|
2044
2044
|
Ae,
|
|
2045
2045
|
{ activeKey: e.value, collapsible: n.options.accordion ? "" : "disabled" },
|
|
2046
2046
|
t
|
|
@@ -2049,7 +2049,7 @@ const fa = (n, e) => {
|
|
|
2049
2049
|
}
|
|
2050
2050
|
}), Ua = {
|
|
2051
2051
|
name: "accordion"
|
|
2052
|
-
}, Ya = /* @__PURE__ */
|
|
2052
|
+
}, Ya = /* @__PURE__ */ j({
|
|
2053
2053
|
...Ua,
|
|
2054
2054
|
props: {
|
|
2055
2055
|
setting: { default: () => ({
|
|
@@ -2078,7 +2078,7 @@ const fa = (n, e) => {
|
|
|
2078
2078
|
store: {}
|
|
2079
2079
|
},
|
|
2080
2080
|
setup(n) {
|
|
2081
|
-
return (e, t) => (S(),
|
|
2081
|
+
return (e, t) => (S(), F(a(Qa), {
|
|
2082
2082
|
columns: e.setting.columns,
|
|
2083
2083
|
options: e.setting.options,
|
|
2084
2084
|
isView: e.isView,
|
|
@@ -2091,7 +2091,7 @@ const fa = (n, e) => {
|
|
|
2091
2091
|
default: Ya
|
|
2092
2092
|
}, Symbol.toStringTag, { value: "Module" })), Ja = {
|
|
2093
2093
|
name: "grid"
|
|
2094
|
-
}, Ha = /* @__PURE__ */
|
|
2094
|
+
}, Ha = /* @__PURE__ */ j({
|
|
2095
2095
|
...Ja,
|
|
2096
2096
|
props: {
|
|
2097
2097
|
setting: { default: () => ({
|
|
@@ -2122,20 +2122,20 @@ const fa = (n, e) => {
|
|
|
2122
2122
|
G,
|
|
2123
2123
|
null,
|
|
2124
2124
|
[
|
|
2125
|
-
|
|
2126
|
-
|
|
2125
|
+
I(' <GridLayout :columns="setting.columns" :isView="props.isView" :store="store"></GridLayout> '),
|
|
2126
|
+
I(' <div style="display: flex; flex-direction: row; flex-wrap: wrap; width: 100%"> '),
|
|
2127
2127
|
(S(!0), U(
|
|
2128
2128
|
G,
|
|
2129
2129
|
null,
|
|
2130
|
-
|
|
2130
|
+
oe(t.setting.columns, (g) => (S(), U(
|
|
2131
2131
|
G,
|
|
2132
2132
|
null,
|
|
2133
2133
|
[
|
|
2134
2134
|
(S(!0), U(
|
|
2135
2135
|
G,
|
|
2136
2136
|
null,
|
|
2137
|
-
|
|
2138
|
-
setting:
|
|
2137
|
+
oe(g.list, (o) => (S(), F(ge(a(Ga)[o.ctrlType]), {
|
|
2138
|
+
setting: o,
|
|
2139
2139
|
isView: e.isView,
|
|
2140
2140
|
store: t.store,
|
|
2141
2141
|
span: g.span
|
|
@@ -2150,7 +2150,7 @@ const fa = (n, e) => {
|
|
|
2150
2150
|
256
|
|
2151
2151
|
/* UNKEYED_FRAGMENT */
|
|
2152
2152
|
)),
|
|
2153
|
-
|
|
2153
|
+
I(" </div> ")
|
|
2154
2154
|
],
|
|
2155
2155
|
2112
|
|
2156
2156
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
@@ -2159,7 +2159,7 @@ const fa = (n, e) => {
|
|
|
2159
2159
|
}), Wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2160
2160
|
__proto__: null,
|
|
2161
2161
|
default: Ha
|
|
2162
|
-
}, Symbol.toStringTag, { value: "Module" })), _e = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ye, "./base/autocomplete.vue": xe, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue": lt, "./base/textarea.vue":
|
|
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": it, "./base/time.vue": ot, "./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": it, "./base/time.vue": ot }), Ve = /* @__PURE__ */ Object.assign({}), De = /* @__PURE__ */ Object.assign({}), ue = {}, ut = {}, rt = {}, Za = {};
|
|
2163
2163
|
Object.keys(we).map((n) => ut[we[n].default.name] = we[n].default);
|
|
2164
2164
|
Object.keys(Ve).map((n) => rt[Ve[n].default.name] = Ve[n].default);
|
|
2165
2165
|
Object.keys(De).map((n) => Za[De[n].default.name] = De[n].default);
|
|
@@ -2191,8 +2191,8 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2191
2191
|
}, un = (n, e, t, s) => {
|
|
2192
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
2193
|
}, rn = (n, e, t, s) => {
|
|
2194
|
-
const g = /^[+-]?(\d*\.\d+([eE]?[+-]?\d+)?|\d+[eE][+-]?\d+)$/,
|
|
2195
|
-
e === "" ? t() : g.test(e) ||
|
|
2194
|
+
const g = /^[+-]?(\d*\.\d+([eE]?[+-]?\d+)?|\d+[eE][+-]?\d+)$/, o = /^-?\d+$/;
|
|
2195
|
+
e === "" ? t() : g.test(e) || o.test(e) ? e >= parseFloat(s.start) && e <= parseFloat(s.end) ? t() : t(new Error(`${D("只能输入指定数字范围")}${s.start}-${s.end}`)) : t(new Error(D("请输入数字")));
|
|
2196
2196
|
}, pn = (n, e, t, s) => {
|
|
2197
2197
|
e === "" || parseFloat(e) === parseFloat(s.value) ? t() : t(new Error(`${D("只能输入指定的值")}${s.value}`));
|
|
2198
2198
|
}, dn = (n, e, t, s) => {
|
|
@@ -2237,14 +2237,14 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2237
2237
|
alpha_num: mn,
|
|
2238
2238
|
regex: fn
|
|
2239
2239
|
}, yn = () => {
|
|
2240
|
-
const n =
|
|
2240
|
+
const n = i({}), e = i([]), t = i({}), s = i({}), g = i([]), o = i(""), y = i(""), V = i({}), r = i([]), h = i({});
|
|
2241
2241
|
return {
|
|
2242
2242
|
data: n,
|
|
2243
2243
|
formData: e,
|
|
2244
2244
|
formRule: V,
|
|
2245
2245
|
showData: t,
|
|
2246
2246
|
disabledData: s,
|
|
2247
|
-
flowKey:
|
|
2247
|
+
flowKey: o,
|
|
2248
2248
|
linkData: h,
|
|
2249
2249
|
encryptionData: r,
|
|
2250
2250
|
setData: (b, w) => {
|
|
@@ -2262,8 +2262,8 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2262
2262
|
},
|
|
2263
2263
|
getData: (b) => n.value[b],
|
|
2264
2264
|
setFormData: (b, w, N) => {
|
|
2265
|
-
y.value = b, g.value.includes(b) ? e.value.forEach((
|
|
2266
|
-
|
|
2265
|
+
y.value = b, g.value.includes(b) ? e.value.forEach((R) => {
|
|
2266
|
+
R.formKey === b && (n.value = R.data);
|
|
2267
2267
|
}) : (g.value.push(b), e.value.push({
|
|
2268
2268
|
formKey: b,
|
|
2269
2269
|
boKey: w,
|
|
@@ -2275,7 +2275,7 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2275
2275
|
setFormRule: (b, w) => {
|
|
2276
2276
|
V.value[b] = [], w && w.length && w.forEach((N) => {
|
|
2277
2277
|
V.value[b].push({
|
|
2278
|
-
validator: (
|
|
2278
|
+
validator: (R, k, J) => hn[N.key](R, k, J, N)
|
|
2279
2279
|
});
|
|
2280
2280
|
});
|
|
2281
2281
|
},
|
|
@@ -2292,7 +2292,7 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2292
2292
|
}, wn = {
|
|
2293
2293
|
key: 1,
|
|
2294
2294
|
style: { "background-color": "#fff" }
|
|
2295
|
-
}, Vn = /* @__PURE__ */
|
|
2295
|
+
}, Vn = /* @__PURE__ */ j({
|
|
2296
2296
|
__name: "App",
|
|
2297
2297
|
props: {
|
|
2298
2298
|
formConfigurationId: {},
|
|
@@ -2306,13 +2306,13 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2306
2306
|
},
|
|
2307
2307
|
emits: ["handleClick", "change"],
|
|
2308
2308
|
setup(n, { expose: e, emit: t }) {
|
|
2309
|
-
const s = yn(), { formRule: g, data:
|
|
2309
|
+
const s = yn(), { formRule: g, data: o, flowKey: y, clearData: V, getFormData: r } = s, h = n, v = t;
|
|
2310
2310
|
y.value = h.flowKey;
|
|
2311
|
-
const c = (
|
|
2311
|
+
const c = (k) => k === "accordion";
|
|
2312
2312
|
C(
|
|
2313
|
-
() =>
|
|
2314
|
-
(
|
|
2315
|
-
v("change",
|
|
2313
|
+
() => o.value,
|
|
2314
|
+
(k) => {
|
|
2315
|
+
v("change", k);
|
|
2316
2316
|
},
|
|
2317
2317
|
{
|
|
2318
2318
|
immediate: !0,
|
|
@@ -2323,18 +2323,18 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2323
2323
|
h,
|
|
2324
2324
|
v,
|
|
2325
2325
|
s
|
|
2326
|
-
), w =
|
|
2327
|
-
const { key:
|
|
2328
|
-
w.value[
|
|
2329
|
-
},
|
|
2330
|
-
let
|
|
2326
|
+
), w = i({}), N = (k, J) => {
|
|
2327
|
+
const { key: P } = J;
|
|
2328
|
+
w.value[P] || (w.value[P] = k);
|
|
2329
|
+
}, R = () => new Promise((k, J) => {
|
|
2330
|
+
let P = !0;
|
|
2331
2331
|
for (const Y in w.value)
|
|
2332
2332
|
w.value[Y].validate((W) => {
|
|
2333
|
-
W == !1 && (
|
|
2333
|
+
W == !1 && (P = !1);
|
|
2334
2334
|
});
|
|
2335
2335
|
setTimeout(() => {
|
|
2336
|
-
|
|
2337
|
-
result:
|
|
2336
|
+
k({
|
|
2337
|
+
result: P,
|
|
2338
2338
|
data: r()
|
|
2339
2339
|
});
|
|
2340
2340
|
}, 50);
|
|
@@ -2342,22 +2342,22 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2342
2342
|
return ct(async () => {
|
|
2343
2343
|
h.isShowBtn == !1 ? l(h.formConfigurationId) : f();
|
|
2344
2344
|
}), e({
|
|
2345
|
-
validateFormData:
|
|
2345
|
+
validateFormData: R,
|
|
2346
2346
|
clearData: V
|
|
2347
|
-
}), (
|
|
2347
|
+
}), (k, J) => (S(), U("div", bn, [
|
|
2348
2348
|
a(_).length > 0 ? (S(), U("div", _n, [
|
|
2349
2349
|
(S(!0), U(
|
|
2350
2350
|
G,
|
|
2351
2351
|
null,
|
|
2352
|
-
|
|
2353
|
-
key:
|
|
2352
|
+
oe(a(_), (P) => (S(), F(a(ft), {
|
|
2353
|
+
key: P.id,
|
|
2354
2354
|
style: { "margin-right": "20px" },
|
|
2355
2355
|
"btn-type": "primary",
|
|
2356
|
-
onClick: (Y) => a(b)(
|
|
2356
|
+
onClick: (Y) => a(b)(P)
|
|
2357
2357
|
}, {
|
|
2358
2358
|
default: M(() => [
|
|
2359
2359
|
ee(
|
|
2360
|
-
te(
|
|
2360
|
+
te(P.name),
|
|
2361
2361
|
1
|
|
2362
2362
|
/* TEXT */
|
|
2363
2363
|
)
|
|
@@ -2368,38 +2368,38 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2368
2368
|
128
|
|
2369
2369
|
/* KEYED_FRAGMENT */
|
|
2370
2370
|
))
|
|
2371
|
-
])) :
|
|
2371
|
+
])) : I("v-if", !0),
|
|
2372
2372
|
gt((S(), U(
|
|
2373
2373
|
"div",
|
|
2374
2374
|
{
|
|
2375
2375
|
class: "content-box",
|
|
2376
|
-
style: vt({ margin: "0 10px", ...
|
|
2376
|
+
style: vt({ margin: "0 10px", ...k.customStyle })
|
|
2377
2377
|
},
|
|
2378
2378
|
[
|
|
2379
2379
|
(S(!0), U(
|
|
2380
2380
|
G,
|
|
2381
2381
|
null,
|
|
2382
|
-
|
|
2382
|
+
oe(a(d), (P) => (S(), U(
|
|
2383
2383
|
G,
|
|
2384
2384
|
{
|
|
2385
|
-
key:
|
|
2385
|
+
key: P.name
|
|
2386
2386
|
},
|
|
2387
2387
|
[
|
|
2388
|
-
c(
|
|
2388
|
+
c(P.ctrlType) ? (S(), F(a(Ae), {
|
|
2389
2389
|
key: 0,
|
|
2390
2390
|
style: { "margin-bottom": "10px" },
|
|
2391
|
-
collapsible:
|
|
2391
|
+
collapsible: P.options.accordion ? "" : "disabled",
|
|
2392
2392
|
activeKey: a(p)
|
|
2393
2393
|
}, {
|
|
2394
2394
|
default: M(() => [
|
|
2395
|
-
(S(),
|
|
2396
|
-
key:
|
|
2397
|
-
header:
|
|
2395
|
+
(S(), F(a(Qe), {
|
|
2396
|
+
key: P.columns[0].idKey,
|
|
2397
|
+
header: P.columns[0].span
|
|
2398
2398
|
}, {
|
|
2399
2399
|
default: M(() => [
|
|
2400
|
-
L(a(
|
|
2400
|
+
L(a(Fe), {
|
|
2401
2401
|
ref_for: !0,
|
|
2402
|
-
ref: (Y) => N(Y,
|
|
2402
|
+
ref: (Y) => N(Y, P),
|
|
2403
2403
|
cols: 24,
|
|
2404
2404
|
alignType: "horizontal",
|
|
2405
2405
|
"margin-right": "80px",
|
|
@@ -2411,18 +2411,18 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2411
2411
|
(S(!0), U(
|
|
2412
2412
|
G,
|
|
2413
2413
|
null,
|
|
2414
|
-
|
|
2414
|
+
oe(P.columns[0].list, (Y) => (S(), U(
|
|
2415
2415
|
G,
|
|
2416
2416
|
{
|
|
2417
|
-
key:
|
|
2417
|
+
key: P.name
|
|
2418
2418
|
},
|
|
2419
2419
|
[
|
|
2420
|
-
Y.ctrlType == "grid" ? (S(),
|
|
2420
|
+
Y.ctrlType == "grid" ? (S(), F(ge(a(ue).grid), {
|
|
2421
2421
|
key: 0,
|
|
2422
2422
|
setting: Y,
|
|
2423
2423
|
isView: h.isView,
|
|
2424
2424
|
store: a(s)
|
|
2425
|
-
}, null, 8, ["setting", "isView", "store"])) : (S(),
|
|
2425
|
+
}, null, 8, ["setting", "isView", "store"])) : (S(), F(ge(a(ue)[Y.ctrlType]), {
|
|
2426
2426
|
key: 1,
|
|
2427
2427
|
setting: Y,
|
|
2428
2428
|
isView: h.isView,
|
|
@@ -2447,10 +2447,10 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2447
2447
|
_: 2
|
|
2448
2448
|
/* DYNAMIC */
|
|
2449
2449
|
}, 1032, ["collapsible", "activeKey"])) : (S(), U("div", wn, [
|
|
2450
|
-
a(u) ? (S(),
|
|
2450
|
+
a(u) ? (S(), F(a(Fe), {
|
|
2451
2451
|
key: 0,
|
|
2452
2452
|
ref_for: !0,
|
|
2453
|
-
ref: (Y) => N(Y,
|
|
2453
|
+
ref: (Y) => N(Y, P),
|
|
2454
2454
|
cols: 24,
|
|
2455
2455
|
"auto-margin-right": "",
|
|
2456
2456
|
alignType: "horizontal",
|
|
@@ -2459,15 +2459,15 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2459
2459
|
form: a(s).data
|
|
2460
2460
|
}, {
|
|
2461
2461
|
default: M(() => [
|
|
2462
|
-
(S(),
|
|
2463
|
-
setting:
|
|
2462
|
+
(S(), F(ge(a(ue)[P.ctrlType]), {
|
|
2463
|
+
setting: P,
|
|
2464
2464
|
isView: h.isView,
|
|
2465
2465
|
store: a(s)
|
|
2466
2466
|
}, null, 8, ["setting", "isView", "store"]))
|
|
2467
2467
|
]),
|
|
2468
2468
|
_: 2
|
|
2469
2469
|
/* DYNAMIC */
|
|
2470
|
-
}, 1032, ["rules", "form"])) :
|
|
2470
|
+
}, 1032, ["rules", "form"])) : I("v-if", !0)
|
|
2471
2471
|
]))
|
|
2472
2472
|
],
|
|
2473
2473
|
64
|
|
@@ -2487,70 +2487,70 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2487
2487
|
}), Dn = /* @__PURE__ */ fe(Vn, [["__scopeId", "data-v-9e8a4790"]]), Sn = {
|
|
2488
2488
|
姓名: { "zh-CN": "姓名", en: "Name" },
|
|
2489
2489
|
状态: { "zh-CN": "状态", en: "Status" },
|
|
2490
|
-
组织名称: { "zh-CN": "组织名称", en: "Organization
|
|
2491
|
-
组织类型: { "zh-CN": "组织类型", en: "Organization
|
|
2492
|
-
角色名称: { "zh-CN": "角色名称", en: "Role
|
|
2493
|
-
角色类型: { "zh-CN": "角色类型", en: "Role
|
|
2494
|
-
角色状态: { "zh-CN": "角色状态", en: "Role
|
|
2495
|
-
所属组织路径: { "zh-CN": "所属组织路径", en: "Associated
|
|
2496
|
-
岗位名称: { "zh-CN": "岗位名称", en: "Position
|
|
2497
|
-
供应商名称: { "zh-CN": "供应商名称", en: "Supplier
|
|
2498
|
-
供应商编码: { "zh-CN": "供应商编码", en: "Supplier
|
|
2499
|
-
供应商等级: { "zh-CN": "供应商等级", en: "Supplier
|
|
2500
|
-
供应商分类: { "zh-CN": "供应商分类", en: "Supplier
|
|
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
2501
|
个人: { "zh-CN": "个人", en: "Individual" },
|
|
2502
2502
|
公司: { "zh-CN": "公司", en: "Company" },
|
|
2503
|
-
单据编码: { "zh-CN": "单据编码", en: "Document
|
|
2504
|
-
联系电话: { "zh-CN": "联系电话", en: "Contact
|
|
2505
|
-
计划领用日期: { "zh-CN": "计划领用日期", en: "Planned
|
|
2506
|
-
资产用途: { "zh-CN": "资产用途", en: "Asset
|
|
2507
|
-
"*必填": { "zh-CN": "*必填", en: "*
|
|
2508
|
-
不能超过: { "zh-CN": "不能超过", en: "Cannot
|
|
2509
|
-
不能少于: { "zh-CN": "不能少于", en: "Cannot be
|
|
2510
|
-
手机号码格式不正确: { "zh-CN": "手机号码格式不正确", en: "Invalid
|
|
2511
|
-
请重新输入: { "zh-CN": "请重新输入", en: "Please
|
|
2512
|
-
电子邮箱格式不正确: { "zh-CN": "电子邮箱格式不正确", en: "Invalid
|
|
2513
|
-
请输入整数: { "zh-CN": "请输入整数", en: "Please
|
|
2514
|
-
请输入相同的值: { "zh-CN": "请输入相同的值", en: "Please
|
|
2515
|
-
不能小于: { "zh-CN": "不能小于", en: "Cannot be
|
|
2516
|
-
请输入数字: { "zh-CN": "请输入数字", en: "Please
|
|
2517
|
-
不能大于: { "zh-CN": "不能大于", en: "Cannot be
|
|
2518
|
-
日期必须晚于: { "zh-CN": "日期必须晚于", en: "Date
|
|
2519
|
-
日期必须早于: { "zh-CN": "日期必须早于", en: "Date
|
|
2520
|
-
日期必须不晚于: { "zh-CN": "日期必须不晚于", en: "Date
|
|
2521
|
-
日期必须不早于: { "zh-CN": "日期必须不早于", en: "Date
|
|
2522
|
-
只能输入指定数字范围: { "zh-CN": "只能输入指定数字范围", en: "Can
|
|
2523
|
-
只能输入指定的值: { "zh-CN": "只能输入指定的值", en: "Can
|
|
2524
|
-
只能输入: { "zh-CN": "只能输入", en: "Can
|
|
2525
|
-
位数数字: { "zh-CN": "位数数字", en: "
|
|
2526
|
-
只能输入字母: { "zh-CN": "只能输入字母", en: "Can
|
|
2527
|
-
只能输入字母空格: { "zh-CN": "只能输入字母空格", en: "Can
|
|
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" },
|
|
2507
|
+
"*必填": { "zh-CN": "*必填", en: "*Required" },
|
|
2508
|
+
不能超过: { "zh-CN": "不能超过", en: "Cannot Exceed" },
|
|
2509
|
+
不能少于: { "zh-CN": "不能少于", en: "Cannot be Less Than" },
|
|
2510
|
+
手机号码格式不正确: { "zh-CN": "手机号码格式不正确", en: "Invalid Mobile Number Format" },
|
|
2511
|
+
请重新输入: { "zh-CN": "请重新输入", en: "Please Re-Enter" },
|
|
2512
|
+
电子邮箱格式不正确: { "zh-CN": "电子邮箱格式不正确", en: "Invalid Email Format" },
|
|
2513
|
+
请输入整数: { "zh-CN": "请输入整数", en: "Please Enter an Integer" },
|
|
2514
|
+
请输入相同的值: { "zh-CN": "请输入相同的值", en: "Please Enter the Same Value" },
|
|
2515
|
+
不能小于: { "zh-CN": "不能小于", en: "Cannot be Less Than" },
|
|
2516
|
+
请输入数字: { "zh-CN": "请输入数字", en: "Please Enter a Number" },
|
|
2517
|
+
不能大于: { "zh-CN": "不能大于", en: "Cannot be Greater Than" },
|
|
2518
|
+
日期必须晚于: { "zh-CN": "日期必须晚于", en: "Date Must be Later Than" },
|
|
2519
|
+
日期必须早于: { "zh-CN": "日期必须早于", en: "Date Must be Earlier Than" },
|
|
2520
|
+
日期必须不晚于: { "zh-CN": "日期必须不晚于", en: "Date Must Not be Later Than" },
|
|
2521
|
+
日期必须不早于: { "zh-CN": "日期必须不早于", en: "Date Must Not be Earlier Than" },
|
|
2522
|
+
只能输入指定数字范围: { "zh-CN": "只能输入指定数字范围", en: "Can Only Enter Specified Numeric Range" },
|
|
2523
|
+
只能输入指定的值: { "zh-CN": "只能输入指定的值", en: "Can Only Enter the Specified Value" },
|
|
2524
|
+
只能输入: { "zh-CN": "只能输入", en: "Can Only Enter" },
|
|
2525
|
+
位数数字: { "zh-CN": "位数数字", en: "Digit Numbers" },
|
|
2526
|
+
只能输入字母: { "zh-CN": "只能输入字母", en: "Can Only Enter Letters" },
|
|
2527
|
+
只能输入字母空格: { "zh-CN": "只能输入字母空格", en: "Can Only Enter Letters and Spaces" },
|
|
2528
2528
|
只能输入字母数字横线下划线: {
|
|
2529
2529
|
"zh-CN": "只能输入字母数字横线下划线",
|
|
2530
|
-
en: "Can
|
|
2530
|
+
en: "Can Only Enter Letters, Numbers, Hyphens, Underscores"
|
|
2531
2531
|
},
|
|
2532
|
-
只能输入字母数字: { "zh-CN": "只能输入字母数字", en: "Can
|
|
2533
|
-
搜索姓名: { "zh-CN": "搜索姓名", en: "Search
|
|
2532
|
+
只能输入字母数字: { "zh-CN": "只能输入字母数字", en: "Can Only Enter Letters and Numbers" },
|
|
2533
|
+
搜索姓名: { "zh-CN": "搜索姓名", en: "Search Name" },
|
|
2534
2534
|
账号: { "zh-CN": "账号", en: "Account" },
|
|
2535
|
-
手机号: { "zh-CN": "手机号", en: "Phone
|
|
2536
|
-
搜索组织名称: { "zh-CN": "搜索组织名称", en: "Search
|
|
2537
|
-
组织编码: { "zh-CN": "组织编码", en: "Organization
|
|
2538
|
-
搜索角色名称: { "zh-CN": "搜索角色名称", en: "Search
|
|
2539
|
-
职务名称: { "zh-CN": "职务名称", en: "Position
|
|
2540
|
-
职务编码: { "zh-CN": "职务编码", en: "Position
|
|
2535
|
+
手机号: { "zh-CN": "手机号", en: "Phone Number" },
|
|
2536
|
+
搜索组织名称: { "zh-CN": "搜索组织名称", en: "Search Organization Name" },
|
|
2537
|
+
组织编码: { "zh-CN": "组织编码", en: "Organization Code" },
|
|
2538
|
+
搜索角色名称: { "zh-CN": "搜索角色名称", en: "Search Role Name" },
|
|
2539
|
+
职务名称: { "zh-CN": "职务名称", en: "Position Name" },
|
|
2540
|
+
职务编码: { "zh-CN": "职务编码", en: "Position Code" },
|
|
2541
2541
|
搜索岗位名称: { "zh-CN": "搜索岗位名称", en: "Search Job Title" },
|
|
2542
|
-
岗位编码: { "zh-CN": "岗位编码", en: "Position
|
|
2542
|
+
岗位编码: { "zh-CN": "岗位编码", en: "Position Code" },
|
|
2543
2543
|
搜索供应商编码: { "zh-CN": "搜索供应商编码", en: "Search Supplier Code" },
|
|
2544
2544
|
名称: { "zh-CN": "名称", en: "Name" },
|
|
2545
2545
|
搜索单据编码: { "zh-CN": "搜索单据编码", en: "Search Document Code" },
|
|
2546
2546
|
申请人: { "zh-CN": "申请人", en: "Applicant" },
|
|
2547
|
-
添加用户: { "zh-CN": "添加用户", en: "Add
|
|
2548
|
-
组织选择器: { "zh-CN": "组织选择器", en: "Organization
|
|
2549
|
-
角色选择器: { "zh-CN": "角色选择器", en: "Role
|
|
2550
|
-
职务选择器: { "zh-CN": "职务选择器", en: "Position
|
|
2551
|
-
岗位选择器: { "zh-CN": "岗位选择器", en: "Position
|
|
2552
|
-
选择供应商: { "zh-CN": "选择供应商", en: "Select
|
|
2553
|
-
源单选择器: { "zh-CN": "源单选择器", en: "Source
|
|
2547
|
+
添加用户: { "zh-CN": "添加用户", en: "Add User" },
|
|
2548
|
+
组织选择器: { "zh-CN": "组织选择器", en: "Organization Selector" },
|
|
2549
|
+
角色选择器: { "zh-CN": "角色选择器", en: "Role Selector" },
|
|
2550
|
+
职务选择器: { "zh-CN": "职务选择器", en: "Position Selector" },
|
|
2551
|
+
岗位选择器: { "zh-CN": "岗位选择器", en: "Position Selector" },
|
|
2552
|
+
选择供应商: { "zh-CN": "选择供应商", en: "Select Supplier" },
|
|
2553
|
+
源单选择器: { "zh-CN": "源单选择器", en: "Source Document Selector" },
|
|
2554
2554
|
正常: { "zh-CN": "正常", en: "Normal" },
|
|
2555
2555
|
锁定: { "zh-CN": "锁定", en: "Locked" },
|
|
2556
2556
|
禁用: { "zh-CN": "禁用", en: "Disabled" },
|
|
@@ -2558,20 +2558,20 @@ const Ga = { ...ut, ...rt }, Xa = (n, e, t, s) => {
|
|
|
2558
2558
|
管理员: { "zh-CN": "管理员", en: "Administrator" },
|
|
2559
2559
|
无效: { "zh-CN": "无效", en: "Invalid" },
|
|
2560
2560
|
有效: { "zh-CN": "有效", en: "Valid" },
|
|
2561
|
-
"搜索姓名/账号/手机号": { "zh-CN": "搜索姓名/账号/手机号", en: "Search
|
|
2562
|
-
"搜索组织名称/组织编码": { "zh-CN": "搜索组织名称/组织编码", en: "Search
|
|
2563
|
-
"职务名称/职务编码": { "zh-CN": "职务名称/职务编码", en: "Position
|
|
2564
|
-
"搜索岗位名称/岗位编码": { "zh-CN": "搜索岗位名称/岗位编码", en: "Search
|
|
2565
|
-
"搜索供应商编码/名称": { "zh-CN": "搜索供应商编码/名称", en: "Search
|
|
2566
|
-
"搜索单据编码/申请人": { "zh-CN": "搜索单据编码/申请人", en: "Search
|
|
2567
|
-
供应商类型: { "zh-CN": "供应商类型", en: "Supplier
|
|
2561
|
+
"搜索姓名/账号/手机号": { "zh-CN": "搜索姓名/账号/手机号", en: "Search Name/Account/Phone Number" },
|
|
2562
|
+
"搜索组织名称/组织编码": { "zh-CN": "搜索组织名称/组织编码", en: "Search Organization Name/Code" },
|
|
2563
|
+
"职务名称/职务编码": { "zh-CN": "职务名称/职务编码", en: "Position Name/Code" },
|
|
2564
|
+
"搜索岗位名称/岗位编码": { "zh-CN": "搜索岗位名称/岗位编码", en: "Search Position Name/Code" },
|
|
2565
|
+
"搜索供应商编码/名称": { "zh-CN": "搜索供应商编码/名称", en: "Search Supplier Code/Name" },
|
|
2566
|
+
"搜索单据编码/申请人": { "zh-CN": "搜索单据编码/申请人", en: "Search Document Code/Applicant" },
|
|
2567
|
+
供应商类型: { "zh-CN": "供应商类型", en: "Supplier Type" },
|
|
2568
2568
|
"手机号码格式不正确,请重新输入": {
|
|
2569
2569
|
"zh-CN": "手机号码格式不正确,请重新输入",
|
|
2570
|
-
en: "Incorrect
|
|
2570
|
+
en: "Incorrect Phone Number Format, Please Re-Enter"
|
|
2571
2571
|
},
|
|
2572
2572
|
"电子邮箱格式不正确,请重新输入": {
|
|
2573
2573
|
"zh-CN": "电子邮箱格式不正确,请重新输入",
|
|
2574
|
-
en: "Incorrect
|
|
2574
|
+
en: "Incorrect Email Format, Please Re-Enter"
|
|
2575
2575
|
},
|
|
2576
2576
|
"个人/公司": { "zh-CN": "个人/公司", en: "Individual/Company" }
|
|
2577
2577
|
};
|