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