@das-fed/ui 6.4.0-dev.91 → 6.4.0-dev.92
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/app-container/index.js +120 -95
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/app-container/style.css +1 -1
- package/packages/business-components/app-container/style.css.gz +0 -0
- package/packages/business-components/device-panel/index.js +4073 -4079
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/payment/index.d.ts +15 -0
- package/packages/business-components/payment/index.js +76 -75
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/payment/style.css +1 -1
- package/packages/business-components/payment/type.d.ts +2 -0
- package/packages/business-components/process-form/index.js +561 -552
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/hooks/useForm.d.ts +3 -1
- package/packages/business-components/process-form/style.css +1 -1
- package/packages/components/input-dialog-select/index.js +126 -108
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-dialog-select/style.css +1 -1
- package/packages/components/input-dialog-select/style.css.gz +0 -0
- package/packages/components/input-number/index.js +4 -4
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/input-number/style.css +1 -1
- package/packages/components/input-number/style.css.gz +0 -0
- package/packages/components/progress/index.js +49 -44
- package/packages/components/progress/index.js.gz +0 -0
- package/packages/components/progress/style.css +1 -1
- package/packages/components/progress/style.css.gz +0 -0
- package/packages/components/radio-tabs/index.js +1 -1
- package/packages/components/radio-tabs/index.js.gz +0 -0
- package/packages/components/radio-tabs/style.css +1 -1
- package/packages/components/radio-tabs/style.css.gz +0 -0
- package/packages/components/text-tooltip/index.js +704 -697
- package/packages/components/text-tooltip/index.js.gz +0 -0
|
@@ -1,70 +1,87 @@
|
|
|
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 i, defineComponent as Q, watch as
|
|
4
|
-
import { DasFormRef as
|
|
5
|
-
import { DasButton as
|
|
6
|
-
import { vOverlay as
|
|
7
|
-
import { createService as
|
|
8
|
-
import { DasUpload as
|
|
3
|
+
import { ref as i, nextTick as dt, defineComponent as Q, watch as N, openBlock as k, createBlock as F, unref as a, withCtx as T, createVNode as S, createCommentVNode as E, createElementVNode as Oe, createElementBlock as x, Fragment as ee, createTextVNode as ne, toDisplayString as se, isRef as he, createSlots as ct, h as re, renderList as ue, resolveDynamicComponent as ge, onMounted as gt, withDirectives as mt, normalizeStyle as vt } from "vue";
|
|
4
|
+
import { DasFormRef as ft, DasForm as Ie } from "@das-fed/ui/packages/components/form/index";
|
|
5
|
+
import { DasButton as ht } from "@das-fed/ui/packages/components/button/index";
|
|
6
|
+
import { vOverlay as yt } from "@das-fed/ui/packages/components/overlay/index";
|
|
7
|
+
import { createService as G } from "@das-fed/utils/create-api-service";
|
|
8
|
+
import { DasUpload as bt } from "@das-fed/ui/packages/components/upload/index";
|
|
9
9
|
import { DasFormItem as U } from "@das-fed/ui/packages/components/form-item/index";
|
|
10
|
-
import { DasAutocomplete as
|
|
10
|
+
import { DasAutocomplete as _t } from "@das-fed/ui/packages/components/autocomplete/index";
|
|
11
11
|
import ve from "dayjs";
|
|
12
12
|
import { DasImageViewer as Be } from "@das-fed/ui/packages/components/image-viewer/index";
|
|
13
|
-
import { DasInput as
|
|
13
|
+
import { DasInput as wt } from "@das-fed/ui/packages/components/input/index";
|
|
14
14
|
import { DasTooltip as Ve } from "@das-fed/ui/packages/components/tooltip/index";
|
|
15
|
-
import { i18n as
|
|
15
|
+
import { i18n as j, t as _, setI18nRule as Ct } from "@das-fed/web/packages/i18n/index";
|
|
16
16
|
import { DasTableColumn as I } from "@das-fed/ui/packages/components/table/index";
|
|
17
|
-
import { DasSearchForm as
|
|
18
|
-
import { DasModelTableDialog as
|
|
17
|
+
import { DasSearchForm as Dt } from "@das-fed/ui/packages/components/search-form/index";
|
|
18
|
+
import { DasModelTableDialog as Vt } from "@das-fed/ui/packages/business-components/model-table-dialog";
|
|
19
19
|
import { getProjectInfo as je } from "@das-fed/utils/common-info";
|
|
20
|
-
import { getConfig as
|
|
20
|
+
import { getConfig as kt } from "@das-fed/utils/config";
|
|
21
21
|
import { DasRichEditor as Ee } from "@das-fed/ui/packages/components/rich-editor/index";
|
|
22
22
|
import { DasCollaspe as Ae } from "@das-fed/ui/packages/components/collaspe/index";
|
|
23
23
|
import { DasCollaspePanel as Qe } from "@das-fed/ui/packages/components/collapse-panel/index";
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
const Ue =
|
|
24
|
+
const te = "v1", St = G(`/workflow/form/form/${te}`), Nt = G(`/workflow/form/formDef/${te}`);
|
|
25
|
+
G(`/workflow/api/user/${te}`);
|
|
26
|
+
const Ue = G(`/workflow/api/extend/${te}`), Lt = G(`/workflow/flow/def/${te}`), zt = G(`/workflow/form/customQuery/${te}`), oe = G(`/api/enterpriseright/permission/${te}`), ke = G(`/api/space-manage/space-tree/${te}`), Mt = G(`/workflow/form/dataTemplate/${te}`), Se = G(`/api/supply/supplier/${te}`), Tt = G(`/api/warehouse/vms/${te}/asset-receive`), Rt = Mt.get("/getBpmDataTemplateInfoByFlowKey"), $t = St.get("/formDesign"), Pt = Nt.get("/get"), Ft = Ue.get("/report-config");
|
|
27
27
|
Ue.get("/application-report");
|
|
28
|
-
const
|
|
28
|
+
const It = Lt.get("/getBindRelationByDefKey"), qt = zt.get("/getByAlias"), Kt = oe.get("/organization/authTree"), Ot = oe.post("/user/list"), Bt = oe.post("/data/user-query"), jt = oe.get("/role/list"), Et = oe.post("/data/role-ids"), At = oe.get("/organization/organizationpage"), Qt = oe.get("/station/list"), Ut = oe.get("/position/list"), ye = oe.post("/organization/detailbyids"), Yt = ke.get("/controller/area-children"), xt = ke.get("/controller/fuzzy-tree-all"), Jt = ke.get("/controller/space"), Ht = Se.post("/supplier/list/page", (o) => {
|
|
29
29
|
var e, t;
|
|
30
30
|
return o.data.pageBean = {
|
|
31
31
|
page: ((e = o == null ? void 0 : o.data) == null ? void 0 : e.pageIndex) || 1,
|
|
32
32
|
pageSize: ((t = o == null ? void 0 : o.data) == null ? void 0 : t.pageSize) || 20
|
|
33
33
|
}, o;
|
|
34
|
-
}),
|
|
35
|
-
const { setDetailData: l, getFormData: p, setFormData: u, formRule: f, showData: w, disabledData: n, encryptionData: s } = t, m = i([]), v = i([]), c = i([]), d = i(!1), C =
|
|
36
|
-
const [z,
|
|
34
|
+
}), Wt = Se.get("/supplier"), Zt = Se.post("/classification/list/all"), Gt = Tt.get("/receive-code"), be = i(""), Xt = (o, e, t) => {
|
|
35
|
+
const { setDetailData: l, getFormData: p, setFormData: u, formRule: f, showData: w, disabledData: n, encryptionData: s } = t, m = i([]), v = i([]), c = i([]), d = i(!1), C = ft(), g = i([]), h = (V) => Object.keys(V).length === 0, r = async (V) => {
|
|
36
|
+
const [z, q] = await $t({ formId: V }).run();
|
|
37
37
|
if (z) return;
|
|
38
|
-
const
|
|
39
|
-
be.value =
|
|
40
|
-
|
|
38
|
+
const W = JSON.parse(q.bos);
|
|
39
|
+
be.value = W[0].alias, v.value.length && v.value.forEach((Z) => {
|
|
40
|
+
Z.formKey === q.formKey && u(q.formKey, be.value, Z.id);
|
|
41
41
|
});
|
|
42
|
-
const [
|
|
43
|
-
await D(), c.value = JSON.parse(
|
|
44
|
-
|
|
45
|
-
}), n.value = { ...n.value, ...o.disabledData }, v.value.length || u(
|
|
42
|
+
const [ae, X] = await Pt({ formDefId: q.defId }).run();
|
|
43
|
+
await D(), c.value = JSON.parse(X.value.expand).list, c.value.forEach((Z) => {
|
|
44
|
+
Z.columns && Z.columns[0].isOpen && g.value.push(Z.columns[0].idKey);
|
|
45
|
+
}), n.value = { ...n.value, ...o.disabledData }, v.value.length || u(q.formKey, be.value), setTimeout(() => {
|
|
46
46
|
w.value = { ...w.value, ...o.showData }, h(o.data) && (d.value = !0), h(o.data) || (l(o.data), o.flowKey && (m.value = o.data.button_list ? JSON.parse(o.data.button_list) : []), d.value = !0);
|
|
47
47
|
}, 50);
|
|
48
48
|
}, y = async () => {
|
|
49
49
|
if (o.formConfigurationId) {
|
|
50
|
-
const [
|
|
51
|
-
if (
|
|
52
|
-
v.value = z.reports, m.value = z.reports[0].buttons.filter((
|
|
50
|
+
const [V, z] = await Ft({ id: o.formConfigurationId }).run();
|
|
51
|
+
if (V) return;
|
|
52
|
+
v.value = z.reports, m.value = z.reports[0].buttons.filter((q) => !(o.isView && q.event !== "LINK")), r(z.reports[0].formId);
|
|
53
53
|
}
|
|
54
54
|
if (o.flowKey) {
|
|
55
|
-
const [
|
|
56
|
-
if (
|
|
55
|
+
const [V, z] = await It({ flowKey: o.flowKey }).run();
|
|
56
|
+
if (V) return;
|
|
57
57
|
r(z.pcForm.pcFormId);
|
|
58
58
|
}
|
|
59
59
|
}, D = async () => {
|
|
60
|
-
var
|
|
60
|
+
var q, W, ae, X;
|
|
61
61
|
if (!o.flowKey) return;
|
|
62
|
-
const [
|
|
62
|
+
const [V, z] = await Rt().run({
|
|
63
63
|
flowKey: o.flowKey,
|
|
64
64
|
needDisplayFileds: !1
|
|
65
65
|
});
|
|
66
|
-
s.value = ((
|
|
67
|
-
}
|
|
66
|
+
s.value = ((X = (ae = (W = (q = z == null ? void 0 : z.value) == null ? void 0 : q.boDef) == null ? void 0 : W.boEnt) == null ? void 0 : ae.attributeList) == null ? void 0 : X.filter((Z) => Z.encryption == "phone")) || [];
|
|
67
|
+
}, b = i({}), R = (V, z) => {
|
|
68
|
+
const { key: q } = z;
|
|
69
|
+
b.value[q] || (b.value[q] = V);
|
|
70
|
+
}, $ = async () => (c.value.forEach((V) => {
|
|
71
|
+
V.columns && g.value.push(V.columns[0].idKey);
|
|
72
|
+
}), await dt(), new Promise((V, z) => {
|
|
73
|
+
let q = !0;
|
|
74
|
+
for (const W in b.value)
|
|
75
|
+
b.value[W].validate((ae) => {
|
|
76
|
+
ae == !1 && (q = !1);
|
|
77
|
+
});
|
|
78
|
+
setTimeout(() => {
|
|
79
|
+
V({
|
|
80
|
+
result: q,
|
|
81
|
+
data: p()
|
|
82
|
+
});
|
|
83
|
+
}, 50);
|
|
84
|
+
}));
|
|
68
85
|
return {
|
|
69
86
|
isShowPage: d,
|
|
70
87
|
formJsonList: c,
|
|
@@ -73,38 +90,38 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
73
90
|
activityKeys: g,
|
|
74
91
|
getForm: r,
|
|
75
92
|
getBtnSet: y,
|
|
76
|
-
handleClick: (
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
93
|
+
handleClick: async (V) => {
|
|
94
|
+
let { result: z } = await $();
|
|
95
|
+
z && (e("handleClick", V, p()), V.event === "LINK" && v.value.forEach((q) => {
|
|
96
|
+
V.eventTarget === q.formKey && (m.value = q.buttons.filter((W) => !(o.isView && W.event !== "LINK")), d.value = !1, f.value = {}, r(q.formId));
|
|
97
|
+
}));
|
|
98
|
+
},
|
|
99
|
+
validateFormData: $,
|
|
100
|
+
getFormRef: R
|
|
84
101
|
};
|
|
85
102
|
}, J = (o) => {
|
|
86
103
|
var e = new RegExp("<.+?>", "g"), t = o.replace(e, "").replace(/ /g, "");
|
|
87
104
|
return t;
|
|
88
|
-
},
|
|
89
|
-
const [l, p] = await
|
|
105
|
+
}, le = async (o, e, t = {}) => {
|
|
106
|
+
const [l, p] = await qt({ alias: o }).run();
|
|
90
107
|
if (!l && p.url) {
|
|
91
108
|
typeof e == "string" && (e = JSON.parse(e));
|
|
92
109
|
const u = i({});
|
|
93
110
|
e.forEach((s) => {
|
|
94
111
|
s.defaultType == 2 && (u.value[s.field] = s.defaultValue);
|
|
95
112
|
}), u.value = { ...u.value, ...t };
|
|
96
|
-
const f = p.requestType === "POST" ?
|
|
113
|
+
const f = p.requestType === "POST" ? G(p.url).post("") : G(p.url).get(""), [w, n] = await f({}, { params: u.value }).run();
|
|
97
114
|
return w ? void 0 : n;
|
|
98
115
|
}
|
|
99
|
-
},
|
|
116
|
+
}, H = async (o) => {
|
|
100
117
|
const e = i(!1);
|
|
101
118
|
return o.forEach((t) => {
|
|
102
119
|
t.key === "required" && (e.value = !0);
|
|
103
120
|
}), e.value;
|
|
104
|
-
},
|
|
121
|
+
}, ea = {
|
|
105
122
|
name: "attachment"
|
|
106
|
-
},
|
|
107
|
-
...
|
|
123
|
+
}, ta = /* @__PURE__ */ Q({
|
|
124
|
+
...ea,
|
|
108
125
|
props: {
|
|
109
126
|
setting: { default: () => ({
|
|
110
127
|
icon: "",
|
|
@@ -120,7 +137,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
120
137
|
},
|
|
121
138
|
setup(o) {
|
|
122
139
|
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i([]), s = i(!0);
|
|
123
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
140
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
124
141
|
() => t.value,
|
|
125
142
|
() => {
|
|
126
143
|
s.value = t.value[e.setting.name], s.value || (n.value = [], w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
@@ -128,17 +145,17 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
128
145
|
{ deep: !0, immediate: !0 }
|
|
129
146
|
);
|
|
130
147
|
const m = i();
|
|
131
|
-
return e.setting.options.tip && (m.value = J(e.setting.options.tip)), n.value || p(e.setting.name, null),
|
|
148
|
+
return e.setting.options.tip && (m.value = J(e.setting.options.tip)), n.value || p(e.setting.name, null), N(n, (v) => {
|
|
132
149
|
p(e.setting.name, JSON.stringify(v));
|
|
133
|
-
}), (v, c) => s.value ? (
|
|
150
|
+
}), (v, c) => s.value ? (k(), F(a(U), {
|
|
134
151
|
key: 0,
|
|
135
152
|
col: e.span,
|
|
136
153
|
label: v.setting.desc,
|
|
137
154
|
type: "custom",
|
|
138
155
|
helpMessage: m.value
|
|
139
156
|
}, {
|
|
140
|
-
default:
|
|
141
|
-
|
|
157
|
+
default: T(() => [
|
|
158
|
+
S(a(bt), {
|
|
142
159
|
style: { width: "100%" },
|
|
143
160
|
modelValue: n.value,
|
|
144
161
|
"onUpdate:modelValue": c[0] || (c[0] = (d) => n.value = d)
|
|
@@ -149,11 +166,11 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
149
166
|
}
|
|
150
167
|
}), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
151
168
|
__proto__: null,
|
|
152
|
-
default:
|
|
153
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
169
|
+
default: ta
|
|
170
|
+
}, Symbol.toStringTag, { value: "Module" })), aa = {
|
|
154
171
|
name: "autocomplete"
|
|
155
|
-
},
|
|
156
|
-
...
|
|
172
|
+
}, na = /* @__PURE__ */ Q({
|
|
173
|
+
...aa,
|
|
157
174
|
props: {
|
|
158
175
|
setting: { default: () => ({
|
|
159
176
|
icon: "",
|
|
@@ -169,7 +186,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
169
186
|
},
|
|
170
187
|
setup(o) {
|
|
171
188
|
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(""), s = i(!0);
|
|
172
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
189
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
173
190
|
() => t.value,
|
|
174
191
|
() => {
|
|
175
192
|
s.value = t.value[e.setting.name], s.value || (n.value = "", w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
@@ -177,17 +194,17 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
177
194
|
{ deep: !0, immediate: !0 }
|
|
178
195
|
);
|
|
179
196
|
const m = l.value[e.setting.name] || !1, v = i(!1);
|
|
180
|
-
|
|
197
|
+
H(e.setting.options.validateList).then((r) => {
|
|
181
198
|
v.value = r;
|
|
182
199
|
});
|
|
183
200
|
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", d = e.setting.options.children ? e.setting.options.children : "children", C = !!e.setting.options.fillInFullPath, g = i([]);
|
|
184
|
-
e.setting.options.customQuery.alias ?
|
|
201
|
+
e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((r) => {
|
|
185
202
|
g.value = r;
|
|
186
203
|
}) : g.value = e.setting.options.options;
|
|
187
204
|
const h = i();
|
|
188
|
-
return e.setting.options.tip && (h.value = J(e.setting.options.tip)), n.value = u(e.setting.name) || n.value, n.value || p(e.setting.name, null), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList),
|
|
205
|
+
return e.setting.options.tip && (h.value = J(e.setting.options.tip)), n.value = u(e.setting.name) || n.value, n.value || p(e.setting.name, null), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), N(n, (r) => {
|
|
189
206
|
p(e.setting.name, r.toString());
|
|
190
|
-
}), (r, y) => s.value ? (
|
|
207
|
+
}), (r, y) => s.value ? (k(), F(a(U), {
|
|
191
208
|
key: 0,
|
|
192
209
|
col: e.span,
|
|
193
210
|
prop: e.setting.name,
|
|
@@ -199,8 +216,8 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
199
216
|
required: v.value,
|
|
200
217
|
disabled: a(m)
|
|
201
218
|
}, {
|
|
202
|
-
default:
|
|
203
|
-
|
|
219
|
+
default: T(() => [
|
|
220
|
+
S(a(_t), {
|
|
204
221
|
modelValue: n.value,
|
|
205
222
|
"onUpdate:modelValue": y[0] || (y[0] = (D) => n.value = D),
|
|
206
223
|
options: g.value,
|
|
@@ -217,11 +234,11 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
217
234
|
}
|
|
218
235
|
}), xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
219
236
|
__proto__: null,
|
|
220
|
-
default:
|
|
221
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
237
|
+
default: na
|
|
238
|
+
}, Symbol.toStringTag, { value: "Module" })), sa = {
|
|
222
239
|
name: "checkbox"
|
|
223
|
-
},
|
|
224
|
-
...
|
|
240
|
+
}, oa = /* @__PURE__ */ Q({
|
|
241
|
+
...sa,
|
|
225
242
|
props: {
|
|
226
243
|
setting: { default: () => ({
|
|
227
244
|
icon: "",
|
|
@@ -237,7 +254,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
237
254
|
},
|
|
238
255
|
setup(o) {
|
|
239
256
|
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i([]), s = i(!0);
|
|
240
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
257
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
241
258
|
() => t.value,
|
|
242
259
|
() => {
|
|
243
260
|
s.value = t.value[e.setting.name], s.value || (n.value = [], w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
@@ -245,19 +262,19 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
245
262
|
{ deep: !0, immediate: !0 }
|
|
246
263
|
);
|
|
247
264
|
const m = l.value[e.setting.name] || !1, v = i(!1);
|
|
248
|
-
|
|
265
|
+
H(e.setting.options.validateList).then((h) => {
|
|
249
266
|
v.value = h;
|
|
250
267
|
});
|
|
251
268
|
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", C = i([]);
|
|
252
|
-
e.setting.options.customQuery.alias ?
|
|
269
|
+
e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((h) => {
|
|
253
270
|
C.value = h;
|
|
254
271
|
}) : C.value = e.setting.options.options;
|
|
255
272
|
const g = i();
|
|
256
273
|
return e.setting.options.tip && (g.value = J(e.setting.options.tip)()), setTimeout(() => {
|
|
257
274
|
u(e.setting.name) && (n.value = u(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (n.value = e.setting.options.formulasDiyJs.split(",")), n.value.length || n.value || p(e.setting.name, null);
|
|
258
|
-
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList),
|
|
275
|
+
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), N(n, (h) => {
|
|
259
276
|
p(e.setting.name, h.toString());
|
|
260
|
-
}), (h, r) => s.value ? (
|
|
277
|
+
}), (h, r) => s.value ? (k(), F(a(U), {
|
|
261
278
|
key: 0,
|
|
262
279
|
col: e.span,
|
|
263
280
|
modelValue: n.value,
|
|
@@ -277,11 +294,11 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
277
294
|
}
|
|
278
295
|
}), Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
279
296
|
__proto__: null,
|
|
280
|
-
default:
|
|
281
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
297
|
+
default: oa
|
|
298
|
+
}, Symbol.toStringTag, { value: "Module" })), la = {
|
|
282
299
|
name: "date"
|
|
283
|
-
},
|
|
284
|
-
...
|
|
300
|
+
}, ia = /* @__PURE__ */ Q({
|
|
301
|
+
...la,
|
|
285
302
|
props: {
|
|
286
303
|
setting: { default: () => ({
|
|
287
304
|
icon: "",
|
|
@@ -297,7 +314,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
297
314
|
},
|
|
298
315
|
setup(o) {
|
|
299
316
|
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
|
|
300
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
317
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
301
318
|
() => t.value,
|
|
302
319
|
() => {
|
|
303
320
|
s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
@@ -305,7 +322,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
305
322
|
{ deep: !0, immediate: !0 }
|
|
306
323
|
);
|
|
307
324
|
const m = l.value[e.setting.name] || !1, v = i(!1);
|
|
308
|
-
|
|
325
|
+
H(e.setting.options.validateList).then((g) => {
|
|
309
326
|
v.value = g;
|
|
310
327
|
});
|
|
311
328
|
const c = e.setting.options.inputFormat === "yyyy-MM-dd" ? "YYYY/MM/DD" : e.setting.options.inputFormat === "yyyy-MM-dd HH:mm:ss" ? "YYYY/MM/DD HH:mm:ss" : e.setting.options.inputFormat, d = i("");
|
|
@@ -317,9 +334,9 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
317
334
|
let g = /* @__PURE__ */ new Date();
|
|
318
335
|
g.setDate(g.getDate() + e.setting.options.day), n.value = ve(g.getTime()).format(c), p(e.setting.name, n.value);
|
|
319
336
|
}
|
|
320
|
-
return e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList),
|
|
337
|
+
return e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), N(n, (g) => {
|
|
321
338
|
p(e.setting.name, g);
|
|
322
|
-
}), (g, h) => s.value ? (
|
|
339
|
+
}), (g, h) => s.value ? (k(), F(a(U), {
|
|
323
340
|
key: 0,
|
|
324
341
|
col: e.span,
|
|
325
342
|
modelValue: n.value,
|
|
@@ -339,11 +356,11 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
339
356
|
}
|
|
340
357
|
}), He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
341
358
|
__proto__: null,
|
|
342
|
-
default:
|
|
343
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
359
|
+
default: ia
|
|
360
|
+
}, Symbol.toStringTag, { value: "Module" })), ra = {
|
|
344
361
|
name: "dropdown"
|
|
345
|
-
},
|
|
346
|
-
...
|
|
362
|
+
}, ua = /* @__PURE__ */ Q({
|
|
363
|
+
...ra,
|
|
347
364
|
props: {
|
|
348
365
|
setting: { default: () => ({
|
|
349
366
|
icon: "",
|
|
@@ -359,7 +376,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
359
376
|
},
|
|
360
377
|
setup(o) {
|
|
361
378
|
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w, setLinkData: n } = e.store || {}, s = i(""), m = i(!0);
|
|
362
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
379
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
363
380
|
() => t.value,
|
|
364
381
|
() => {
|
|
365
382
|
m.value = t.value[e.setting.name], m.value || (s.value = e.setting.options.multiple ? [] : "", w(e.setting.name)), m.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
@@ -369,23 +386,23 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
369
386
|
const v = () => {
|
|
370
387
|
e.setting.options.customQuery && e.setting.options.customQuery.custQueryJson.length && n(e.setting.options.customQuery.custQueryJson, s.value);
|
|
371
388
|
}, c = l.value[e.setting.name] || !1, d = i(!1);
|
|
372
|
-
|
|
389
|
+
H(e.setting.options.validateList).then((b) => {
|
|
373
390
|
d.value = b;
|
|
374
391
|
});
|
|
375
392
|
const C = i(""), g = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", h = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", r = e.setting.options.customQuery.PId || "children", y = i([]);
|
|
376
|
-
e.setting.options.customQuery.alias &&
|
|
393
|
+
e.setting.options.customQuery.alias && le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((b) => {
|
|
377
394
|
y.value = b;
|
|
378
395
|
});
|
|
379
396
|
const D = i();
|
|
380
|
-
return e.setting.options.tip && (D.value = J(e.setting.options.tip)), s.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && u(e.setting.name) ? s.value = u(e.setting.name).split(",") : s.value = u(e.setting.name) || s.value, s.value || p(e.setting.name, null), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList),
|
|
397
|
+
return e.setting.options.tip && (D.value = J(e.setting.options.tip)), s.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && u(e.setting.name) ? s.value = u(e.setting.name).split(",") : s.value = u(e.setting.name) || s.value, s.value || p(e.setting.name, null), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), N(s, (b) => {
|
|
381
398
|
p(e.setting.name, b.toString());
|
|
382
|
-
}), (b,
|
|
399
|
+
}), (b, R) => m.value ? (k(), F(a(U), {
|
|
383
400
|
key: 0,
|
|
384
401
|
col: e.span,
|
|
385
402
|
modelValue: s.value,
|
|
386
|
-
"onUpdate:modelValue":
|
|
403
|
+
"onUpdate:modelValue": R[0] || (R[0] = ($) => s.value = $),
|
|
387
404
|
keyword: C.value,
|
|
388
|
-
"onUpdate:keyword":
|
|
405
|
+
"onUpdate:keyword": R[1] || (R[1] = ($) => C.value = $),
|
|
389
406
|
label: b.setting.desc,
|
|
390
407
|
type: "treeSelect",
|
|
391
408
|
"node-key": b.setting.options.customQuery.valueBind,
|
|
@@ -406,11 +423,11 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
406
423
|
}
|
|
407
424
|
}), We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
408
425
|
__proto__: null,
|
|
409
|
-
default:
|
|
410
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
426
|
+
default: ua
|
|
427
|
+
}, Symbol.toStringTag, { value: "Module" })), pa = { class: "form-image" }, da = {
|
|
411
428
|
name: "imageViewer"
|
|
412
|
-
},
|
|
413
|
-
...
|
|
429
|
+
}, ca = /* @__PURE__ */ Q({
|
|
430
|
+
...da,
|
|
414
431
|
props: {
|
|
415
432
|
setting: { default: () => ({
|
|
416
433
|
icon: "",
|
|
@@ -426,7 +443,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
426
443
|
},
|
|
427
444
|
setup(o) {
|
|
428
445
|
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
|
|
429
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
446
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
430
447
|
() => t.value,
|
|
431
448
|
() => {
|
|
432
449
|
s.value = t.value[e.setting.name], s.value || (n.value = e.setting.options.file.limit > 1 ? [] : "", w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
@@ -434,7 +451,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
434
451
|
{ deep: !0, immediate: !0 }
|
|
435
452
|
);
|
|
436
453
|
const m = l.value[e.setting.name] || !1, v = i(!1);
|
|
437
|
-
|
|
454
|
+
H(e.setting.options.validateList).then((g) => {
|
|
438
455
|
v.value = g;
|
|
439
456
|
});
|
|
440
457
|
const c = i("normal");
|
|
@@ -446,7 +463,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
446
463
|
p(e.setting.name, n.value.toString());
|
|
447
464
|
}, 100);
|
|
448
465
|
};
|
|
449
|
-
return e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList),
|
|
466
|
+
return e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), N(n.value, (g) => {
|
|
450
467
|
const h = g.map((r) => {
|
|
451
468
|
let y = "";
|
|
452
469
|
return r.indexOf("/oss/") != -1 ? y = r : y = `/oss/${r}`, y;
|
|
@@ -454,7 +471,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
454
471
|
setTimeout(() => {
|
|
455
472
|
p(e.setting.name, h.join(","));
|
|
456
473
|
}, 100);
|
|
457
|
-
}), (g, h) => s.value ? (
|
|
474
|
+
}), (g, h) => s.value ? (k(), F(a(U), {
|
|
458
475
|
key: 0,
|
|
459
476
|
modelValue: n.value,
|
|
460
477
|
"onUpdate:modelValue": h[2] || (h[2] = (r) => n.value = r),
|
|
@@ -466,9 +483,9 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
466
483
|
required: v.value,
|
|
467
484
|
col: e.span
|
|
468
485
|
}, {
|
|
469
|
-
default:
|
|
470
|
-
|
|
471
|
-
|
|
486
|
+
default: T(() => [
|
|
487
|
+
Oe("div", pa, [
|
|
488
|
+
S(a(Be), {
|
|
472
489
|
modelValue: n.value,
|
|
473
490
|
"onUpdate:modelValue": h[0] || (h[0] = (r) => n.value = r),
|
|
474
491
|
status: c.value,
|
|
@@ -498,10 +515,10 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
498
515
|
for (const [l, p] of e)
|
|
499
516
|
t[l] = p;
|
|
500
517
|
return t;
|
|
501
|
-
},
|
|
518
|
+
}, ga = /* @__PURE__ */ fe(ca, [["__scopeId", "data-v-745a2e98"]]), Ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
502
519
|
__proto__: null,
|
|
503
|
-
default:
|
|
504
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
520
|
+
default: ga
|
|
521
|
+
}, Symbol.toStringTag, { value: "Module" })), ma = (o) => {
|
|
505
522
|
const t = "****", l = String(o), p = l.slice(0, 15), u = l.slice(15);
|
|
506
523
|
return ((n) => {
|
|
507
524
|
const s = n.length;
|
|
@@ -536,22 +553,22 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
|
|
|
536
553
|
const v = m + t.length;
|
|
537
554
|
return n.slice(0, m) + t + n.slice(v);
|
|
538
555
|
})(p) + u;
|
|
539
|
-
},
|
|
556
|
+
}, va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
540
557
|
__proto__: null,
|
|
541
|
-
default:
|
|
542
|
-
}, Symbol.toStringTag, { value: "Module" })), me = {},
|
|
543
|
-
var
|
|
558
|
+
default: ma
|
|
559
|
+
}, Symbol.toStringTag, { value: "Module" })), me = {}, fa = /^\.\/(.+)\/index\.ts$/, qe = /* @__PURE__ */ Object.assign({ "./phone/index.ts": va });
|
|
560
|
+
var Ke;
|
|
544
561
|
for (const o in qe) {
|
|
545
|
-
const e = qe[o], t = (
|
|
562
|
+
const e = qe[o], t = (Ke = o.match(fa)) == null ? void 0 : Ke[1];
|
|
546
563
|
me[t] = e.default;
|
|
547
564
|
}
|
|
548
|
-
const
|
|
565
|
+
const ha = (o, e) => {
|
|
549
566
|
var l;
|
|
550
567
|
return e ? ((l = me[o]) == null ? void 0 : l.call(me, e)) ?? e : "-";
|
|
551
|
-
},
|
|
568
|
+
}, ya = {
|
|
552
569
|
name: "input"
|
|
553
|
-
},
|
|
554
|
-
...
|
|
570
|
+
}, ba = /* @__PURE__ */ Q({
|
|
571
|
+
...ya,
|
|
555
572
|
props: {
|
|
556
573
|
setting: { default: () => ({
|
|
557
574
|
icon: "",
|
|
@@ -571,13 +588,13 @@ const fa = (o, e) => {
|
|
|
571
588
|
r.name === e.setting.name && (v.value = !0);
|
|
572
589
|
});
|
|
573
590
|
const c = i(""), d = i(!0);
|
|
574
|
-
!l.value[e.setting.name] && l.value[e.setting.name] != !1 && (l.value[e.setting.name] = !0),
|
|
591
|
+
!l.value[e.setting.name] && l.value[e.setting.name] != !1 && (l.value[e.setting.name] = !0), N(
|
|
575
592
|
() => l.value,
|
|
576
593
|
() => {
|
|
577
594
|
d.value = l.value[e.setting.name], d.value || (c.value = "", n(e.setting.name)), d.value && e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList);
|
|
578
595
|
},
|
|
579
596
|
{ deep: !0, immediate: !0 }
|
|
580
|
-
),
|
|
597
|
+
), N(
|
|
581
598
|
() => t.value,
|
|
582
599
|
() => {
|
|
583
600
|
t.value[e.setting.name] && (c.value = t.value[e.setting.name]);
|
|
@@ -585,16 +602,16 @@ const fa = (o, e) => {
|
|
|
585
602
|
{ deep: !0 }
|
|
586
603
|
);
|
|
587
604
|
const C = p.value[e.setting.name] || !1, g = i(!1);
|
|
588
|
-
|
|
605
|
+
H(e.setting.options.validateList).then((r) => {
|
|
589
606
|
g.value = r;
|
|
590
607
|
});
|
|
591
608
|
const h = i();
|
|
592
609
|
return e.setting.options.tip && (h.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
593
|
-
c.value = f(e.setting.name) || e.setting.options.formulasDiyJs || c.value, v && e.isView && (m.value =
|
|
594
|
-
}, 50), e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList),
|
|
610
|
+
c.value = f(e.setting.name) || e.setting.options.formulasDiyJs || c.value, v && e.isView && (m.value = ha("phone", c.value)), c.value || u(e.setting.name, null);
|
|
611
|
+
}, 50), e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList), N(c, (r) => {
|
|
595
612
|
e.setting.options.dataType === "number" && !isNaN(r) ? u(e.setting.name, Number(r)) : u(e.setting.name, r);
|
|
596
|
-
}), (r, y) => (
|
|
597
|
-
d.value && v.value && e.isView ? (
|
|
613
|
+
}), (r, y) => (k(), x(ee, null, [
|
|
614
|
+
d.value && v.value && e.isView ? (k(), F(a(U), {
|
|
598
615
|
key: 0,
|
|
599
616
|
col: e.span,
|
|
600
617
|
prop: e.setting.name,
|
|
@@ -605,14 +622,14 @@ const fa = (o, e) => {
|
|
|
605
622
|
helpMessage: h.value,
|
|
606
623
|
required: g.value
|
|
607
624
|
}, {
|
|
608
|
-
default:
|
|
609
|
-
|
|
625
|
+
default: T(() => [
|
|
626
|
+
S(a(Ve), {
|
|
610
627
|
placement: "top",
|
|
611
628
|
disabled: !c.value,
|
|
612
629
|
content: c.value
|
|
613
630
|
}, {
|
|
614
|
-
default:
|
|
615
|
-
|
|
631
|
+
default: T(() => [
|
|
632
|
+
S(a(wt), {
|
|
616
633
|
modelValue: m.value,
|
|
617
634
|
"onUpdate:modelValue": y[0] || (y[0] = (D) => m.value = D),
|
|
618
635
|
width: r.setting.options.width,
|
|
@@ -620,11 +637,11 @@ const fa = (o, e) => {
|
|
|
620
637
|
isView: r.setting.options.isReadonly || e.isView,
|
|
621
638
|
placeholder: r.setting.options.placeholder
|
|
622
639
|
}, {
|
|
623
|
-
prepend:
|
|
624
|
-
|
|
640
|
+
prepend: T(() => [
|
|
641
|
+
ne(se(r.setting.options.bindPreAndSufFixjson.preFix), 1)
|
|
625
642
|
]),
|
|
626
|
-
append:
|
|
627
|
-
|
|
643
|
+
append: T(() => [
|
|
644
|
+
ne(se(r.setting.options.bindPreAndSufFixjson.sufSix), 1)
|
|
628
645
|
]),
|
|
629
646
|
_: 1
|
|
630
647
|
}, 8, ["modelValue", "width", "disabled", "isView", "placeholder"])
|
|
@@ -634,7 +651,7 @@ const fa = (o, e) => {
|
|
|
634
651
|
]),
|
|
635
652
|
_: 1
|
|
636
653
|
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required"])) : E("", !0),
|
|
637
|
-
d.value && (!v.value || !e.isView) ? (
|
|
654
|
+
d.value && (!v.value || !e.isView) ? (k(), F(a(U), {
|
|
638
655
|
key: 1,
|
|
639
656
|
col: e.span,
|
|
640
657
|
modelValue: c.value,
|
|
@@ -653,11 +670,11 @@ const fa = (o, e) => {
|
|
|
653
670
|
}
|
|
654
671
|
}), Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
655
672
|
__proto__: null,
|
|
656
|
-
default:
|
|
657
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
673
|
+
default: ba
|
|
674
|
+
}, Symbol.toStringTag, { value: "Module" })), _a = {
|
|
658
675
|
name: "number"
|
|
659
|
-
},
|
|
660
|
-
...
|
|
676
|
+
}, wa = /* @__PURE__ */ Q({
|
|
677
|
+
..._a,
|
|
661
678
|
props: {
|
|
662
679
|
setting: { default: () => ({
|
|
663
680
|
icon: "",
|
|
@@ -673,7 +690,7 @@ const fa = (o, e) => {
|
|
|
673
690
|
},
|
|
674
691
|
setup(o) {
|
|
675
692
|
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(0), s = i(!0);
|
|
676
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
693
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
677
694
|
() => t.value,
|
|
678
695
|
() => {
|
|
679
696
|
s.value = t.value[e.setting.name], s.value || (n.value = 0, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
@@ -681,15 +698,15 @@ const fa = (o, e) => {
|
|
|
681
698
|
{ deep: !0, immediate: !0 }
|
|
682
699
|
);
|
|
683
700
|
const m = l.value[e.setting.name] || !1, v = i(!1);
|
|
684
|
-
|
|
701
|
+
H(e.setting.options.validateList).then((d) => {
|
|
685
702
|
v.value = d;
|
|
686
703
|
});
|
|
687
704
|
const c = i();
|
|
688
705
|
return e.setting.options.tip && (c.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
689
706
|
n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
|
|
690
|
-
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList),
|
|
707
|
+
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), N(n, (d) => {
|
|
691
708
|
p(e.setting.name, d);
|
|
692
|
-
}), (d, C) => s.value ? (
|
|
709
|
+
}), (d, C) => s.value ? (k(), F(a(U), {
|
|
693
710
|
key: 0,
|
|
694
711
|
col: e.span,
|
|
695
712
|
modelValue: n.value,
|
|
@@ -710,11 +727,11 @@ const fa = (o, e) => {
|
|
|
710
727
|
}
|
|
711
728
|
}), Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
712
729
|
__proto__: null,
|
|
713
|
-
default:
|
|
714
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
730
|
+
default: wa
|
|
731
|
+
}, Symbol.toStringTag, { value: "Module" })), Ca = {
|
|
715
732
|
name: "radio"
|
|
716
|
-
},
|
|
717
|
-
...
|
|
733
|
+
}, Da = /* @__PURE__ */ Q({
|
|
734
|
+
...Ca,
|
|
718
735
|
props: {
|
|
719
736
|
setting: { default: () => ({
|
|
720
737
|
icon: "",
|
|
@@ -732,7 +749,7 @@ const fa = (o, e) => {
|
|
|
732
749
|
},
|
|
733
750
|
setup(o) {
|
|
734
751
|
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(null), s = i(!0);
|
|
735
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
752
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
736
753
|
() => t.value,
|
|
737
754
|
() => {
|
|
738
755
|
s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
@@ -740,17 +757,17 @@ const fa = (o, e) => {
|
|
|
740
757
|
{ deep: !0, immediate: !0 }
|
|
741
758
|
);
|
|
742
759
|
const m = l.value[e.setting.name] || !1, v = i(!1);
|
|
743
|
-
|
|
760
|
+
H(e.setting.options.validateList).then((r) => {
|
|
744
761
|
v.value = r;
|
|
745
762
|
});
|
|
746
763
|
const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", C = i([]);
|
|
747
|
-
e.setting.options.customQuery.alias ?
|
|
764
|
+
e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((r) => {
|
|
748
765
|
C.value = r;
|
|
749
766
|
}) : C.value = e.setting.options.options;
|
|
750
767
|
const g = i();
|
|
751
768
|
e.setting.options.tip && (g.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
752
769
|
n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
|
|
753
|
-
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList),
|
|
770
|
+
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), N(n, (r) => {
|
|
754
771
|
p(e.setting.name, r);
|
|
755
772
|
});
|
|
756
773
|
const h = (r) => {
|
|
@@ -761,7 +778,7 @@ const fa = (o, e) => {
|
|
|
761
778
|
}
|
|
762
779
|
});
|
|
763
780
|
};
|
|
764
|
-
return (r, y) => s.value ? (
|
|
781
|
+
return (r, y) => s.value ? (k(), F(a(U), {
|
|
765
782
|
key: 0,
|
|
766
783
|
onChange: h,
|
|
767
784
|
col: e.span,
|
|
@@ -783,11 +800,11 @@ const fa = (o, e) => {
|
|
|
783
800
|
}
|
|
784
801
|
}), et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
785
802
|
__proto__: null,
|
|
786
|
-
default:
|
|
787
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
803
|
+
default: Da
|
|
804
|
+
}, Symbol.toStringTag, { value: "Module" })), Va = {
|
|
788
805
|
name: "select"
|
|
789
|
-
},
|
|
790
|
-
...
|
|
806
|
+
}, ka = /* @__PURE__ */ Q({
|
|
807
|
+
...Va,
|
|
791
808
|
props: {
|
|
792
809
|
setting: { default: () => ({
|
|
793
810
|
icon: "",
|
|
@@ -804,29 +821,29 @@ const fa = (o, e) => {
|
|
|
804
821
|
setup(o) {
|
|
805
822
|
var y, D;
|
|
806
823
|
const e = o, { showData: t, disabledData: l, linkData: p, setData: u, getData: f, setFormRule: w, deleteRule: n } = e.store || {}, s = i(), m = i(!0);
|
|
807
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
824
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
808
825
|
() => t.value,
|
|
809
826
|
() => {
|
|
810
827
|
m.value = t.value[e.setting.name], m.value || (s.value = null, n(e.setting.name)), m.value && e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList);
|
|
811
828
|
},
|
|
812
829
|
{ deep: !0, immediate: !0 }
|
|
813
|
-
),
|
|
830
|
+
), N(
|
|
814
831
|
() => p.value,
|
|
815
832
|
() => {
|
|
816
833
|
p.value.data.forEach((b) => {
|
|
817
834
|
if (e.setting.options.customQuery.alias && e.setting.options.customQuery.alias === b.alias) {
|
|
818
835
|
s.value = null;
|
|
819
|
-
const
|
|
820
|
-
let
|
|
821
|
-
|
|
822
|
-
const
|
|
823
|
-
|
|
824
|
-
}),
|
|
836
|
+
const R = b.conditionfield.filter((O) => O.defaultType == 1);
|
|
837
|
+
let $ = {};
|
|
838
|
+
R.forEach((O) => {
|
|
839
|
+
const V = O.fieldPath.split("."), z = V[V.length - 1];
|
|
840
|
+
$[O.field] = f(z);
|
|
841
|
+
}), le(
|
|
825
842
|
e.setting.options.customQuery.alias,
|
|
826
843
|
e.setting.options.customQuery.conditionfield,
|
|
827
|
-
|
|
828
|
-
).then((
|
|
829
|
-
g.value =
|
|
844
|
+
$
|
|
845
|
+
).then((O) => {
|
|
846
|
+
g.value = O;
|
|
830
847
|
});
|
|
831
848
|
}
|
|
832
849
|
});
|
|
@@ -834,22 +851,22 @@ const fa = (o, e) => {
|
|
|
834
851
|
{ deep: !0 }
|
|
835
852
|
);
|
|
836
853
|
const v = l.value[e.setting.name] || !1, c = i(!1);
|
|
837
|
-
|
|
854
|
+
H(e.setting.options.validateList).then((b) => {
|
|
838
855
|
c.value = b;
|
|
839
856
|
});
|
|
840
857
|
const d = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", C = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", g = i([]);
|
|
841
858
|
if (e.setting.options.customQuery.alias) {
|
|
842
859
|
let b = (D = (y = e.setting.options) == null ? void 0 : y.customQuery) == null ? void 0 : D.conditionfield;
|
|
843
860
|
typeof b == "string" && (b = JSON.parse(b));
|
|
844
|
-
const
|
|
845
|
-
let
|
|
846
|
-
|
|
847
|
-
var
|
|
848
|
-
const
|
|
849
|
-
|
|
850
|
-
}),
|
|
851
|
-
(
|
|
852
|
-
g.value =
|
|
861
|
+
const R = b.filter((O) => O.defaultType == 1);
|
|
862
|
+
let $ = {};
|
|
863
|
+
R.forEach((O) => {
|
|
864
|
+
var q;
|
|
865
|
+
const V = (q = O.fieldPath) == null ? void 0 : q.split("."), z = V[V.length - 1];
|
|
866
|
+
$[O.field] = f(z);
|
|
867
|
+
}), le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield, $).then(
|
|
868
|
+
(O) => {
|
|
869
|
+
g.value = O;
|
|
853
870
|
}
|
|
854
871
|
);
|
|
855
872
|
} else
|
|
@@ -857,22 +874,22 @@ const fa = (o, e) => {
|
|
|
857
874
|
const h = i();
|
|
858
875
|
e.setting.options.tip && (h.value = J(e.setting.options.tip)), s.value = e.setting.options.multiple ? [] : null, setTimeout(() => {
|
|
859
876
|
e.setting.options.multiple && (f(e.setting.name) || e.setting.options.formulasDiyJs) ? (f(e.setting.name) && (s.value = f(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (s.value = e.setting.options.formulasDiyJs.split(","))) : s.value = f(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || u(e.setting.name, null);
|
|
860
|
-
}, 50), e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList),
|
|
877
|
+
}, 50), e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList), N(s, (b) => {
|
|
861
878
|
e.setting.options.multiple ? u(e.setting.name, b.toString()) : u(e.setting.name, b);
|
|
862
879
|
});
|
|
863
880
|
const r = (b) => {
|
|
864
|
-
e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((
|
|
865
|
-
if (
|
|
866
|
-
const
|
|
867
|
-
t.value[
|
|
881
|
+
e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((R) => {
|
|
882
|
+
if (R.value === b) {
|
|
883
|
+
const O = R.effect[0].target.split(".")[2];
|
|
884
|
+
t.value[O] = R.effect[0].type === "w";
|
|
868
885
|
}
|
|
869
886
|
});
|
|
870
887
|
};
|
|
871
|
-
return (b,
|
|
888
|
+
return (b, R) => m.value ? (k(), F(a(U), {
|
|
872
889
|
key: 0,
|
|
873
890
|
col: e.span,
|
|
874
891
|
modelValue: s.value,
|
|
875
|
-
"onUpdate:modelValue":
|
|
892
|
+
"onUpdate:modelValue": R[0] || (R[0] = ($) => s.value = $),
|
|
876
893
|
label: b.setting.desc,
|
|
877
894
|
onChange: r,
|
|
878
895
|
type: "select",
|
|
@@ -892,25 +909,25 @@ const fa = (o, e) => {
|
|
|
892
909
|
}
|
|
893
910
|
}), tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
894
911
|
__proto__: null,
|
|
895
|
-
default:
|
|
896
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
897
|
-
var
|
|
898
|
-
const l = je().id, p = i(!1), u = (ce = (de = (
|
|
899
|
-
user:
|
|
900
|
-
org:
|
|
901
|
-
role:
|
|
902
|
-
job:
|
|
903
|
-
post:
|
|
904
|
-
supplier:
|
|
905
|
-
source:
|
|
912
|
+
default: ka
|
|
913
|
+
}, Symbol.toStringTag, { value: "Module" })), Sa = (o, e, t) => {
|
|
914
|
+
var ae, X, Z, de, ce;
|
|
915
|
+
const l = je().id, p = i(!1), u = (ce = (de = (Z = (X = (ae = o == null ? void 0 : o.options) == null ? void 0 : ae.selector) == null ? void 0 : X.type) == null ? void 0 : Z.alias) == null ? void 0 : de.replace("eip-", "")) == null ? void 0 : ce.replace("-selector", ""), f = i([]), w = i(""), n = i(""), s = {
|
|
916
|
+
user: j("搜索姓名/账号/手机号").value,
|
|
917
|
+
org: j("搜索组织名称/组织编码").value,
|
|
918
|
+
role: j("搜索角色名称").value,
|
|
919
|
+
job: j("职务名称/职务编码").value,
|
|
920
|
+
post: j("搜索岗位名称/岗位编码").value,
|
|
921
|
+
supplier: j("搜索供应商编码/名称").value,
|
|
922
|
+
source: j("搜索单据编码/申请人").value
|
|
906
923
|
}, m = {
|
|
907
|
-
user:
|
|
908
|
-
org:
|
|
909
|
-
role:
|
|
910
|
-
job:
|
|
911
|
-
post:
|
|
912
|
-
supplier:
|
|
913
|
-
source:
|
|
924
|
+
user: j("添加用户").value,
|
|
925
|
+
org: j("组织选择器").value,
|
|
926
|
+
role: j("角色选择器").value,
|
|
927
|
+
job: j("职务选择器").value,
|
|
928
|
+
post: j("岗位选择器").value,
|
|
929
|
+
supplier: j("选择供应商").value,
|
|
930
|
+
source: j("选择源单").value
|
|
914
931
|
}, v = {
|
|
915
932
|
user: "id",
|
|
916
933
|
org: "id",
|
|
@@ -920,28 +937,28 @@ const fa = (o, e) => {
|
|
|
920
937
|
supplier: "id",
|
|
921
938
|
source: "code"
|
|
922
939
|
}, c = {
|
|
923
|
-
1:
|
|
924
|
-
2:
|
|
925
|
-
3:
|
|
940
|
+
1: j("正常").value,
|
|
941
|
+
2: j("锁定").value,
|
|
942
|
+
3: j("禁用").value
|
|
926
943
|
}, d = {
|
|
927
|
-
0:
|
|
928
|
-
1:
|
|
944
|
+
0: j("普通").value,
|
|
945
|
+
1: j("管理员").value
|
|
929
946
|
}, C = {
|
|
930
|
-
0:
|
|
931
|
-
1:
|
|
947
|
+
0: j("无效").value,
|
|
948
|
+
1: j("有效").value
|
|
932
949
|
}, g = {
|
|
933
|
-
user:
|
|
950
|
+
user: Bt,
|
|
934
951
|
org: ye,
|
|
935
|
-
role:
|
|
952
|
+
role: Et,
|
|
936
953
|
job: ye,
|
|
937
954
|
post: ye,
|
|
938
|
-
supplier:
|
|
955
|
+
supplier: Wt
|
|
939
956
|
}, h = m[u], r = i({}), y = i([]), D = () => {
|
|
940
|
-
var
|
|
957
|
+
var K, Y;
|
|
941
958
|
u === "supplier" ? (r.value = {
|
|
942
959
|
left: !1,
|
|
943
960
|
content: {
|
|
944
|
-
api:
|
|
961
|
+
api: Ht,
|
|
945
962
|
params: {
|
|
946
963
|
flowKey: e,
|
|
947
964
|
clientType: "pc",
|
|
@@ -966,10 +983,10 @@ const fa = (o, e) => {
|
|
|
966
983
|
}
|
|
967
984
|
},
|
|
968
985
|
right: !1
|
|
969
|
-
},
|
|
986
|
+
}, $(), R()) : u === "source" ? (r.value = {
|
|
970
987
|
left: !1,
|
|
971
988
|
content: {
|
|
972
|
-
api:
|
|
989
|
+
api: Gt,
|
|
973
990
|
params: {
|
|
974
991
|
key: "",
|
|
975
992
|
code: t
|
|
@@ -987,7 +1004,7 @@ const fa = (o, e) => {
|
|
|
987
1004
|
}, b()) : u === "org" ? (r.value = {
|
|
988
1005
|
left: !1,
|
|
989
1006
|
content: {
|
|
990
|
-
api:
|
|
1007
|
+
api: At,
|
|
991
1008
|
params: {
|
|
992
1009
|
search: ""
|
|
993
1010
|
},
|
|
@@ -997,14 +1014,14 @@ const fa = (o, e) => {
|
|
|
997
1014
|
}
|
|
998
1015
|
}, b()) : r.value = {
|
|
999
1016
|
left: {
|
|
1000
|
-
api:
|
|
1017
|
+
api: Kt,
|
|
1001
1018
|
params: {
|
|
1002
1019
|
projectId: l,
|
|
1003
1020
|
parentId: l
|
|
1004
1021
|
},
|
|
1005
1022
|
props: {
|
|
1006
1023
|
inputOptions: {
|
|
1007
|
-
placeholder:
|
|
1024
|
+
placeholder: j("搜索组织名称").value
|
|
1008
1025
|
}
|
|
1009
1026
|
}
|
|
1010
1027
|
},
|
|
@@ -1024,7 +1041,7 @@ const fa = (o, e) => {
|
|
|
1024
1041
|
data: []
|
|
1025
1042
|
}
|
|
1026
1043
|
}, b()), u === "role" && (r.value.content = {
|
|
1027
|
-
api:
|
|
1044
|
+
api: jt,
|
|
1028
1045
|
searchKey: "orgId",
|
|
1029
1046
|
params: {
|
|
1030
1047
|
status: 1
|
|
@@ -1033,7 +1050,7 @@ const fa = (o, e) => {
|
|
|
1033
1050
|
data: []
|
|
1034
1051
|
}
|
|
1035
1052
|
}, b()), u === "job" && (r.value.content = {
|
|
1036
|
-
api:
|
|
1053
|
+
api: Ut,
|
|
1037
1054
|
searchKey: "groupId",
|
|
1038
1055
|
props: {
|
|
1039
1056
|
rowKey: "positionId"
|
|
@@ -1042,7 +1059,7 @@ const fa = (o, e) => {
|
|
|
1042
1059
|
data: []
|
|
1043
1060
|
}
|
|
1044
1061
|
}, b()), u === "post" && (r.value.content = {
|
|
1045
|
-
api:
|
|
1062
|
+
api: Qt,
|
|
1046
1063
|
searchKey: "groupId",
|
|
1047
1064
|
props: {
|
|
1048
1065
|
rowKey: "stationId"
|
|
@@ -1050,7 +1067,7 @@ const fa = (o, e) => {
|
|
|
1050
1067
|
selectListProps: {
|
|
1051
1068
|
data: []
|
|
1052
1069
|
}
|
|
1053
|
-
}, b()), r.value.content.multiple = u === "supplier" || u === "source" ? !1 : !((Y = (
|
|
1070
|
+
}, b()), r.value.content.multiple = u === "supplier" || u === "source" ? !1 : !((Y = (K = o == null ? void 0 : o.options) == null ? void 0 : K.selector) != null && Y.isSingle);
|
|
1054
1071
|
}, b = async () => {
|
|
1055
1072
|
y.value = [
|
|
1056
1073
|
{
|
|
@@ -1065,7 +1082,7 @@ const fa = (o, e) => {
|
|
|
1065
1082
|
size: "small"
|
|
1066
1083
|
}
|
|
1067
1084
|
];
|
|
1068
|
-
},
|
|
1085
|
+
}, R = async () => {
|
|
1069
1086
|
y.value = [
|
|
1070
1087
|
{
|
|
1071
1088
|
type: "searchInput",
|
|
@@ -1080,7 +1097,7 @@ const fa = (o, e) => {
|
|
|
1080
1097
|
},
|
|
1081
1098
|
{
|
|
1082
1099
|
type: "select",
|
|
1083
|
-
label:
|
|
1100
|
+
label: j("供应商类型").value,
|
|
1084
1101
|
layout: "out",
|
|
1085
1102
|
width: "200px",
|
|
1086
1103
|
closable: !0,
|
|
@@ -1092,25 +1109,25 @@ const fa = (o, e) => {
|
|
|
1092
1109
|
allowClear: !0
|
|
1093
1110
|
}
|
|
1094
1111
|
];
|
|
1095
|
-
},
|
|
1096
|
-
const
|
|
1112
|
+
}, $ = async () => {
|
|
1113
|
+
const K = {
|
|
1097
1114
|
name: "",
|
|
1098
1115
|
published: 1
|
|
1099
|
-
}, [Y,
|
|
1100
|
-
Y || (y.value[1].options =
|
|
1101
|
-
},
|
|
1116
|
+
}, [Y, B] = await Zt(K).run();
|
|
1117
|
+
Y || (y.value[1].options = B);
|
|
1118
|
+
}, O = () => {
|
|
1102
1119
|
var Y;
|
|
1103
1120
|
w.value = "", p.value = !0;
|
|
1104
|
-
let
|
|
1105
|
-
r.value.content.selectListProps.data = (Y = f == null ? void 0 : f.value) == null ? void 0 : Y.map((
|
|
1121
|
+
let K = v[u];
|
|
1122
|
+
r.value.content.selectListProps.data = (Y = f == null ? void 0 : f.value) == null ? void 0 : Y.map((B) => ({ name: B == null ? void 0 : B.label, [K]: B == null ? void 0 : B.value }));
|
|
1106
1123
|
};
|
|
1107
1124
|
D();
|
|
1108
|
-
const
|
|
1109
|
-
var
|
|
1125
|
+
const V = async () => {
|
|
1126
|
+
var K, Y, B, M, A, P, L, ie, Ne, Le, ze, Me, Te, Re, $e, Pe, Fe;
|
|
1110
1127
|
r.value.content.params = {
|
|
1111
|
-
...(Y = (
|
|
1128
|
+
...(Y = (K = r == null ? void 0 : r.value) == null ? void 0 : K.content) == null ? void 0 : Y.params,
|
|
1112
1129
|
pageIndex: 1
|
|
1113
|
-
}, (u === "user" || u === "org" || u === "post" || u === "role" || u === "job") && (r.value.content.params.name = (
|
|
1130
|
+
}, (u === "user" || u === "org" || u === "post" || u === "role" || u === "job") && (r.value.content.params.name = (B = y == null ? void 0 : y.value[0]) == null ? void 0 : B.value), u === "source" && (r.value.content.params.key = (M = y == null ? void 0 : y.value[0]) == null ? void 0 : M.value), u === "supplier" && (r.value.content.params.querys = [
|
|
1114
1131
|
{
|
|
1115
1132
|
property: "orgId",
|
|
1116
1133
|
value: l,
|
|
@@ -1118,7 +1135,7 @@ const fa = (o, e) => {
|
|
|
1118
1135
|
relation: "AND",
|
|
1119
1136
|
operation: "EQUAL"
|
|
1120
1137
|
}
|
|
1121
|
-
], (A = y == null ? void 0 : y.value[0]) != null && A.value && (r.value.content.params.querys = (ze = (
|
|
1138
|
+
], (A = y == null ? void 0 : y.value[0]) != null && A.value && (r.value.content.params.querys = (ze = (ie = (L = (P = r == null ? void 0 : r.value) == null ? void 0 : P.content) == null ? void 0 : L.params) == null ? void 0 : ie.querys) == null ? void 0 : ze.concat([
|
|
1122
1139
|
{
|
|
1123
1140
|
property: "name",
|
|
1124
1141
|
value: (Ne = y == null ? void 0 : y.value[0]) == null ? void 0 : Ne.value,
|
|
@@ -1143,13 +1160,13 @@ const fa = (o, e) => {
|
|
|
1143
1160
|
}
|
|
1144
1161
|
])));
|
|
1145
1162
|
};
|
|
1146
|
-
|
|
1163
|
+
N(
|
|
1147
1164
|
() => p == null ? void 0 : p.value,
|
|
1148
|
-
(
|
|
1149
|
-
|
|
1165
|
+
(K) => {
|
|
1166
|
+
K || z();
|
|
1150
1167
|
}
|
|
1151
1168
|
);
|
|
1152
|
-
const
|
|
1169
|
+
const z = async () => {
|
|
1153
1170
|
u === "supplier" ? (y.value[0].value = "", y.value[1].value = void 0) : (u === "org" || u === "user" || u === "source" || u === "post" || u === "role" || u === "job") && (y.value[0].value = ""), D();
|
|
1154
1171
|
};
|
|
1155
1172
|
return {
|
|
@@ -1162,39 +1179,39 @@ const fa = (o, e) => {
|
|
|
1162
1179
|
userStatusMap: c,
|
|
1163
1180
|
roleTypeMap: d,
|
|
1164
1181
|
roleStatusMap: C,
|
|
1165
|
-
openDialog:
|
|
1166
|
-
confirm: (
|
|
1167
|
-
var
|
|
1182
|
+
openDialog: O,
|
|
1183
|
+
confirm: (K) => {
|
|
1184
|
+
var B;
|
|
1168
1185
|
let Y = v[u];
|
|
1169
|
-
f.value =
|
|
1186
|
+
f.value = K == null ? void 0 : K.map((M) => ({ label: (M == null ? void 0 : M.name) || (M == null ? void 0 : M.code), value: M[Y] })), u === "supplier" && (n.value = (B = K[0]) == null ? void 0 : B.linkmanPhone);
|
|
1170
1187
|
},
|
|
1171
|
-
getDetail: async (
|
|
1172
|
-
if (!
|
|
1188
|
+
getDetail: async (K) => {
|
|
1189
|
+
if (!K) return;
|
|
1173
1190
|
const Y = g[u];
|
|
1174
|
-
let
|
|
1175
|
-
const
|
|
1191
|
+
let B = {};
|
|
1192
|
+
const M = K == null ? void 0 : K.split(",");
|
|
1176
1193
|
if (u === "source") {
|
|
1177
1194
|
f.value = [
|
|
1178
1195
|
{
|
|
1179
|
-
label:
|
|
1180
|
-
value:
|
|
1196
|
+
label: K,
|
|
1197
|
+
value: K
|
|
1181
1198
|
}
|
|
1182
1199
|
];
|
|
1183
1200
|
return;
|
|
1184
|
-
} else u === "user" ?
|
|
1185
|
-
const [A, P] = await Y(
|
|
1201
|
+
} else u === "user" ? B.userIds = M : u === "role" ? B.ids = M : u === "supplier" ? B.id = M : B = M;
|
|
1202
|
+
const [A, P] = await Y(B).run();
|
|
1186
1203
|
A || (u === "supplier" ? f.value = [
|
|
1187
1204
|
{
|
|
1188
1205
|
label: (P == null ? void 0 : P.name) || (P == null ? void 0 : P.code),
|
|
1189
1206
|
value: P == null ? void 0 : P.id
|
|
1190
1207
|
}
|
|
1191
|
-
] : f.value = P == null ? void 0 : P.map((
|
|
1208
|
+
] : f.value = P == null ? void 0 : P.map((L) => ({ label: (L == null ? void 0 : L.name) || (L == null ? void 0 : L.code), value: L == null ? void 0 : L.id })));
|
|
1192
1209
|
},
|
|
1193
|
-
searchData:
|
|
1210
|
+
searchData: V,
|
|
1194
1211
|
searchOptions: y,
|
|
1195
1212
|
linkmanPhone: n
|
|
1196
1213
|
};
|
|
1197
|
-
},
|
|
1214
|
+
}, Na = () => {
|
|
1198
1215
|
const o = i(""), e = i(""), t = i([]), l = i("");
|
|
1199
1216
|
return {
|
|
1200
1217
|
spacePath: o,
|
|
@@ -1214,13 +1231,13 @@ const fa = (o, e) => {
|
|
|
1214
1231
|
// orgId:getProjectInfo().id
|
|
1215
1232
|
};
|
|
1216
1233
|
s.spaceId = n != null && n.id ? n.id : "";
|
|
1217
|
-
let m =
|
|
1234
|
+
let m = Yt;
|
|
1218
1235
|
const [v, c] = await m(s).run();
|
|
1219
1236
|
return v ? {} : c;
|
|
1220
1237
|
},
|
|
1221
1238
|
filterSpaceTree: async (n) => {
|
|
1222
1239
|
if (!n) return [];
|
|
1223
|
-
let s =
|
|
1240
|
+
let s = xt;
|
|
1224
1241
|
const m = {
|
|
1225
1242
|
name: n
|
|
1226
1243
|
}, [v, c] = await s(m).run();
|
|
@@ -1229,14 +1246,14 @@ const fa = (o, e) => {
|
|
|
1229
1246
|
}), c);
|
|
1230
1247
|
},
|
|
1231
1248
|
getSpaceDetail: async (n) => {
|
|
1232
|
-
const [s, m] = await
|
|
1249
|
+
const [s, m] = await Jt().run({ spaceId: n });
|
|
1233
1250
|
s || (o.value = m.path);
|
|
1234
1251
|
}
|
|
1235
1252
|
};
|
|
1236
|
-
},
|
|
1253
|
+
}, La = { class: "table-search-process-top" }, za = {
|
|
1237
1254
|
name: "selector"
|
|
1238
|
-
},
|
|
1239
|
-
...
|
|
1255
|
+
}, Ma = /* @__PURE__ */ Q({
|
|
1256
|
+
...za,
|
|
1240
1257
|
props: {
|
|
1241
1258
|
setting: { default: () => ({
|
|
1242
1259
|
icon: "",
|
|
@@ -1252,7 +1269,7 @@ const fa = (o, e) => {
|
|
|
1252
1269
|
},
|
|
1253
1270
|
setup(o) {
|
|
1254
1271
|
const e = o, { showData: t, setData: l, getData: p, flowKey: u, setFormRule: f, deleteRule: w, disabledData: n } = e.store || {}, s = i(""), m = i(!0);
|
|
1255
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1272
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
1256
1273
|
() => t.value,
|
|
1257
1274
|
() => {
|
|
1258
1275
|
m.value = t.value[e.setting.name], m.value || (s.value = "", r.value = [], w(e.setting.name)), m.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
@@ -1269,65 +1286,65 @@ const fa = (o, e) => {
|
|
|
1269
1286
|
userStatusMap: y,
|
|
1270
1287
|
roleTypeMap: D,
|
|
1271
1288
|
roleStatusMap: b,
|
|
1272
|
-
openDialog:
|
|
1273
|
-
confirm:
|
|
1274
|
-
getDetail:
|
|
1275
|
-
searchData:
|
|
1276
|
-
searchOptions:
|
|
1277
|
-
linkmanPhone:
|
|
1278
|
-
} =
|
|
1279
|
-
|
|
1280
|
-
Y.value =
|
|
1289
|
+
openDialog: R,
|
|
1290
|
+
confirm: $,
|
|
1291
|
+
getDetail: O,
|
|
1292
|
+
searchData: V,
|
|
1293
|
+
searchOptions: z,
|
|
1294
|
+
linkmanPhone: q
|
|
1295
|
+
} = Sa(e.setting, u, s), { spacePath: W, spaceName: ae, searchSpace: X, changeSpace: Z, spaceLoad: de, filterSpaceTree: ce, getSpaceDetail: K } = Na(), Y = i(!1);
|
|
1296
|
+
H(e.setting.options.validateList).then((M) => {
|
|
1297
|
+
Y.value = M;
|
|
1281
1298
|
});
|
|
1282
|
-
const
|
|
1283
|
-
return e.setting.options.tip && (
|
|
1284
|
-
l(e.setting.name,
|
|
1285
|
-
}),
|
|
1286
|
-
l(e.setting.options.selector.type.positionName,
|
|
1287
|
-
})) : h == "supplier" ? (s.value = p(e.setting.name) ? [p(e.setting.name)] : [s.value], s.value &&
|
|
1288
|
-
l(e.setting.name,
|
|
1289
|
-
}),
|
|
1290
|
-
var A, P,
|
|
1291
|
-
((
|
|
1292
|
-
})) : (s.value = p(e.setting.name) ? p(e.setting.name) : s.value, s.value &&
|
|
1293
|
-
s.value =
|
|
1294
|
-
})), (
|
|
1295
|
-
m.value && a(h) != "position" ? (
|
|
1299
|
+
const B = i();
|
|
1300
|
+
return e.setting.options.tip && (B.value = J(e.setting.options.tip)), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), h == "position" ? (s.value = p(e.setting.name) ? p(e.setting.name) : s.value, s.value && K(s.value), s.value || l(e.setting.name, null), N(s, (M) => {
|
|
1301
|
+
l(e.setting.name, M);
|
|
1302
|
+
}), N(ae, (M) => {
|
|
1303
|
+
l(e.setting.options.selector.type.positionName, M);
|
|
1304
|
+
})) : h == "supplier" ? (s.value = p(e.setting.name) ? [p(e.setting.name)] : [s.value], s.value && O(p(e.setting.name)), N(s, (M) => {
|
|
1305
|
+
l(e.setting.name, M == null ? void 0 : M.toString());
|
|
1306
|
+
}), N(q, (M) => {
|
|
1307
|
+
var A, P, L, ie;
|
|
1308
|
+
((ie = (L = (P = (A = e == null ? void 0 : e.setting) == null ? void 0 : A.options) == null ? void 0 : P.selector) == null ? void 0 : L.type) == null ? void 0 : ie.supplierPhone) !== void 0 && l(e.setting.options.selector.type.supplierPhone, M);
|
|
1309
|
+
})) : (s.value = p(e.setting.name) ? p(e.setting.name) : s.value, s.value && O(s.value), s.value.length || l(e.setting.name, null), N(r, (M) => {
|
|
1310
|
+
s.value = M.map((A) => A.value).toString(), l(e.setting.name, s.value);
|
|
1311
|
+
})), (M, A) => (k(), x(ee, null, [
|
|
1312
|
+
m.value && a(h) != "position" ? (k(), F(a(U), {
|
|
1296
1313
|
key: 0,
|
|
1297
1314
|
col: e.span,
|
|
1298
1315
|
modelValue: s.value,
|
|
1299
1316
|
"onUpdate:modelValue": A[1] || (A[1] = (P) => s.value = P),
|
|
1300
1317
|
prop: e.setting.name,
|
|
1301
|
-
label:
|
|
1318
|
+
label: M.setting.desc,
|
|
1302
1319
|
type: "inputDialogSelect",
|
|
1303
1320
|
options: a(r),
|
|
1304
|
-
helpMessage:
|
|
1321
|
+
helpMessage: B.value,
|
|
1305
1322
|
isView: e.isView,
|
|
1306
1323
|
disabled: a(v),
|
|
1307
1324
|
required: Y.value,
|
|
1308
|
-
placeholder:
|
|
1309
|
-
onOpenDialog: a(
|
|
1325
|
+
placeholder: M.setting.options.placeholder || a(_)("请选择"),
|
|
1326
|
+
onOpenDialog: a(R)
|
|
1310
1327
|
}, {
|
|
1311
|
-
default:
|
|
1328
|
+
default: T(() => {
|
|
1312
1329
|
var P;
|
|
1313
1330
|
return [
|
|
1314
|
-
|
|
1331
|
+
S(a(Vt), {
|
|
1315
1332
|
"append-to-body": "",
|
|
1316
1333
|
modelValue: a(c),
|
|
1317
|
-
"onUpdate:modelValue": A[0] || (A[0] = (
|
|
1334
|
+
"onUpdate:modelValue": A[0] || (A[0] = (L) => he(c) ? c.value = L : null),
|
|
1318
1335
|
options: a(g),
|
|
1319
|
-
onConfirm: a(
|
|
1336
|
+
onConfirm: a($),
|
|
1320
1337
|
title: a(d),
|
|
1321
1338
|
"body-style": { padding: "0px" }
|
|
1322
|
-
},
|
|
1323
|
-
((P = a(
|
|
1339
|
+
}, ct({ _: 2 }, [
|
|
1340
|
+
((P = a(z)) == null ? void 0 : P.length) > 0 ? {
|
|
1324
1341
|
name: "table-header-search",
|
|
1325
|
-
fn:
|
|
1326
|
-
|
|
1327
|
-
|
|
1342
|
+
fn: T(() => [
|
|
1343
|
+
Oe("div", La, [
|
|
1344
|
+
S(a(Dt), {
|
|
1328
1345
|
labelLength: "6",
|
|
1329
|
-
options: a(
|
|
1330
|
-
onConfirm: a(
|
|
1346
|
+
options: a(z),
|
|
1347
|
+
onConfirm: a(V),
|
|
1331
1348
|
"is-margin-right": !1
|
|
1332
1349
|
}, null, 8, ["options", "onConfirm"])
|
|
1333
1350
|
])
|
|
@@ -1336,38 +1353,38 @@ const fa = (o, e) => {
|
|
|
1336
1353
|
} : void 0,
|
|
1337
1354
|
a(h) === "user" ? {
|
|
1338
1355
|
name: "table-column",
|
|
1339
|
-
fn:
|
|
1340
|
-
|
|
1356
|
+
fn: T(() => [
|
|
1357
|
+
S(a(I), {
|
|
1341
1358
|
label: a(_)("姓名"),
|
|
1342
1359
|
prop: "name"
|
|
1343
1360
|
}, null, 8, ["label"]),
|
|
1344
|
-
|
|
1361
|
+
S(a(I), {
|
|
1345
1362
|
label: a(_)("账号"),
|
|
1346
1363
|
prop: "userName"
|
|
1347
1364
|
}, null, 8, ["label"]),
|
|
1348
|
-
|
|
1365
|
+
S(a(I), {
|
|
1349
1366
|
label: a(_)("手机号"),
|
|
1350
1367
|
prop: "sensitivePhone"
|
|
1351
1368
|
}, {
|
|
1352
|
-
default:
|
|
1353
|
-
|
|
1369
|
+
default: T(({ row: L }) => [
|
|
1370
|
+
S(a(Ve), {
|
|
1354
1371
|
placement: "top",
|
|
1355
|
-
content:
|
|
1356
|
-
disabled: !
|
|
1372
|
+
content: L.phone,
|
|
1373
|
+
disabled: !L.phone
|
|
1357
1374
|
}, {
|
|
1358
|
-
default:
|
|
1359
|
-
|
|
1375
|
+
default: T(() => [
|
|
1376
|
+
ne(se(L.sensitivePhone || "-"), 1)
|
|
1360
1377
|
]),
|
|
1361
1378
|
_: 2
|
|
1362
1379
|
}, 1032, ["content", "disabled"])
|
|
1363
1380
|
]),
|
|
1364
1381
|
_: 1
|
|
1365
1382
|
}, 8, ["label"]),
|
|
1366
|
-
|
|
1383
|
+
S(a(I), {
|
|
1367
1384
|
label: a(_)("状态")
|
|
1368
1385
|
}, {
|
|
1369
|
-
default:
|
|
1370
|
-
|
|
1386
|
+
default: T(({ row: L }) => [
|
|
1387
|
+
ne(se(a(y)[L.status]), 1)
|
|
1371
1388
|
]),
|
|
1372
1389
|
_: 1
|
|
1373
1390
|
}, 8, ["label"])
|
|
@@ -1376,16 +1393,16 @@ const fa = (o, e) => {
|
|
|
1376
1393
|
} : void 0,
|
|
1377
1394
|
a(h) === "org" ? {
|
|
1378
1395
|
name: "table-column",
|
|
1379
|
-
fn:
|
|
1380
|
-
|
|
1396
|
+
fn: T(() => [
|
|
1397
|
+
S(a(I), {
|
|
1381
1398
|
label: a(_)("组织名称"),
|
|
1382
1399
|
prop: "name"
|
|
1383
1400
|
}, null, 8, ["label"]),
|
|
1384
|
-
|
|
1401
|
+
S(a(I), {
|
|
1385
1402
|
label: a(_)("组织编码"),
|
|
1386
1403
|
prop: "code"
|
|
1387
1404
|
}, null, 8, ["label"]),
|
|
1388
|
-
|
|
1405
|
+
S(a(I), {
|
|
1389
1406
|
label: a(_)("组织类型"),
|
|
1390
1407
|
prop: "typeName"
|
|
1391
1408
|
}, null, 8, ["label"])
|
|
@@ -1394,24 +1411,24 @@ const fa = (o, e) => {
|
|
|
1394
1411
|
} : void 0,
|
|
1395
1412
|
a(h) === "role" ? {
|
|
1396
1413
|
name: "table-column",
|
|
1397
|
-
fn:
|
|
1398
|
-
|
|
1414
|
+
fn: T(() => [
|
|
1415
|
+
S(a(I), {
|
|
1399
1416
|
label: a(_)("角色名称"),
|
|
1400
1417
|
prop: "name"
|
|
1401
1418
|
}, null, 8, ["label"]),
|
|
1402
|
-
|
|
1419
|
+
S(a(I), {
|
|
1403
1420
|
label: a(_)("角色类型")
|
|
1404
1421
|
}, {
|
|
1405
|
-
default:
|
|
1406
|
-
|
|
1422
|
+
default: T(({ row: L }) => [
|
|
1423
|
+
ne(se(a(D)[L.type]), 1)
|
|
1407
1424
|
]),
|
|
1408
1425
|
_: 1
|
|
1409
1426
|
}, 8, ["label"]),
|
|
1410
|
-
|
|
1427
|
+
S(a(I), {
|
|
1411
1428
|
label: a(_)("角色状态")
|
|
1412
1429
|
}, {
|
|
1413
|
-
default:
|
|
1414
|
-
|
|
1430
|
+
default: T(({ row: L }) => [
|
|
1431
|
+
ne(se(a(b)[L.status]), 1)
|
|
1415
1432
|
]),
|
|
1416
1433
|
_: 1
|
|
1417
1434
|
}, 8, ["label"])
|
|
@@ -1420,16 +1437,16 @@ const fa = (o, e) => {
|
|
|
1420
1437
|
} : void 0,
|
|
1421
1438
|
a(h) === "job" ? {
|
|
1422
1439
|
name: "table-column",
|
|
1423
|
-
fn:
|
|
1424
|
-
|
|
1440
|
+
fn: T(() => [
|
|
1441
|
+
S(a(I), {
|
|
1425
1442
|
label: a(_)("职务名称"),
|
|
1426
1443
|
prop: "name"
|
|
1427
1444
|
}, null, 8, ["label"]),
|
|
1428
|
-
|
|
1445
|
+
S(a(I), {
|
|
1429
1446
|
label: a(_)("职务编码"),
|
|
1430
1447
|
prop: "code"
|
|
1431
1448
|
}, null, 8, ["label"]),
|
|
1432
|
-
|
|
1449
|
+
S(a(I), {
|
|
1433
1450
|
label: a(_)("所属组织路径"),
|
|
1434
1451
|
prop: "groupName"
|
|
1435
1452
|
}, null, 8, ["label"])
|
|
@@ -1438,16 +1455,16 @@ const fa = (o, e) => {
|
|
|
1438
1455
|
} : void 0,
|
|
1439
1456
|
a(h) === "post" ? {
|
|
1440
1457
|
name: "table-column",
|
|
1441
|
-
fn:
|
|
1442
|
-
|
|
1458
|
+
fn: T(() => [
|
|
1459
|
+
S(a(I), {
|
|
1443
1460
|
label: a(_)("岗位名称"),
|
|
1444
1461
|
prop: "name"
|
|
1445
1462
|
}, null, 8, ["label"]),
|
|
1446
|
-
|
|
1463
|
+
S(a(I), {
|
|
1447
1464
|
label: a(_)("岗位编码"),
|
|
1448
1465
|
prop: "code"
|
|
1449
1466
|
}, null, 8, ["label"]),
|
|
1450
|
-
|
|
1467
|
+
S(a(I), {
|
|
1451
1468
|
label: a(_)("所属组织路径"),
|
|
1452
1469
|
prop: "groupName"
|
|
1453
1470
|
}, null, 8, ["label"])
|
|
@@ -1456,33 +1473,33 @@ const fa = (o, e) => {
|
|
|
1456
1473
|
} : void 0,
|
|
1457
1474
|
a(h) === "supplier" ? {
|
|
1458
1475
|
name: "table-column",
|
|
1459
|
-
fn:
|
|
1460
|
-
|
|
1476
|
+
fn: T(() => [
|
|
1477
|
+
S(a(I), {
|
|
1461
1478
|
type: "index",
|
|
1462
1479
|
width: "50"
|
|
1463
1480
|
}),
|
|
1464
|
-
|
|
1481
|
+
S(a(I), {
|
|
1465
1482
|
label: a(_)("供应商名称"),
|
|
1466
1483
|
prop: "name"
|
|
1467
1484
|
}, null, 8, ["label"]),
|
|
1468
|
-
|
|
1485
|
+
S(a(I), {
|
|
1469
1486
|
label: a(_)("供应商编码"),
|
|
1470
1487
|
prop: "code"
|
|
1471
1488
|
}, null, 8, ["label"]),
|
|
1472
|
-
|
|
1489
|
+
S(a(I), {
|
|
1473
1490
|
label: a(_)("供应商等级"),
|
|
1474
1491
|
prop: "supplierLevel"
|
|
1475
1492
|
}, null, 8, ["label"]),
|
|
1476
|
-
|
|
1493
|
+
S(a(I), {
|
|
1477
1494
|
label: a(_)("供应商分类"),
|
|
1478
1495
|
prop: "classificationName"
|
|
1479
1496
|
}, null, 8, ["label"]),
|
|
1480
|
-
|
|
1497
|
+
S(a(I), {
|
|
1481
1498
|
label: a(_)("个人/公司"),
|
|
1482
1499
|
prop: "businessType"
|
|
1483
1500
|
}, {
|
|
1484
|
-
default:
|
|
1485
|
-
|
|
1501
|
+
default: T(({ row: L }) => [
|
|
1502
|
+
ne(se(L.businessType == "COMPANY" ? a(_)("公司") : a(_)("个人")), 1)
|
|
1486
1503
|
]),
|
|
1487
1504
|
_: 1
|
|
1488
1505
|
}, 8, ["label"])
|
|
@@ -1491,47 +1508,47 @@ const fa = (o, e) => {
|
|
|
1491
1508
|
} : void 0,
|
|
1492
1509
|
a(h) === "source" ? {
|
|
1493
1510
|
name: "table-column",
|
|
1494
|
-
fn:
|
|
1495
|
-
|
|
1511
|
+
fn: T(() => [
|
|
1512
|
+
S(a(I), {
|
|
1496
1513
|
type: "index",
|
|
1497
1514
|
width: "50"
|
|
1498
1515
|
}),
|
|
1499
|
-
|
|
1516
|
+
S(a(I), {
|
|
1500
1517
|
label: a(_)("单据编码"),
|
|
1501
1518
|
prop: "code"
|
|
1502
1519
|
}, null, 8, ["label"]),
|
|
1503
|
-
|
|
1520
|
+
S(a(I), {
|
|
1504
1521
|
label: a(_)("申请人"),
|
|
1505
1522
|
prop: "userName"
|
|
1506
1523
|
}, null, 8, ["label"]),
|
|
1507
|
-
|
|
1524
|
+
S(a(I), {
|
|
1508
1525
|
label: a(_)("联系电话"),
|
|
1509
1526
|
prop: "sensitivePhone"
|
|
1510
1527
|
}, {
|
|
1511
|
-
default:
|
|
1512
|
-
|
|
1528
|
+
default: T(({ row: L }) => [
|
|
1529
|
+
S(a(Ve), {
|
|
1513
1530
|
placement: "top",
|
|
1514
|
-
content:
|
|
1515
|
-
disabled: !
|
|
1531
|
+
content: L.phone,
|
|
1532
|
+
disabled: !L.phone
|
|
1516
1533
|
}, {
|
|
1517
|
-
default:
|
|
1518
|
-
|
|
1534
|
+
default: T(() => [
|
|
1535
|
+
ne(se(L.sensitivePhone || "-"), 1)
|
|
1519
1536
|
]),
|
|
1520
1537
|
_: 2
|
|
1521
1538
|
}, 1032, ["content", "disabled"])
|
|
1522
1539
|
]),
|
|
1523
1540
|
_: 1
|
|
1524
1541
|
}, 8, ["label"]),
|
|
1525
|
-
|
|
1542
|
+
S(a(I), {
|
|
1526
1543
|
label: a(_)("计划领用日期"),
|
|
1527
1544
|
prop: "claimingDate"
|
|
1528
1545
|
}, {
|
|
1529
|
-
default:
|
|
1530
|
-
|
|
1546
|
+
default: T(({ row: L }) => [
|
|
1547
|
+
ne(se(L.claimingDate ? a(ve)(Number(L == null ? void 0 : L.claimingDate)).format("YYYY/MM/DD") : "-"), 1)
|
|
1531
1548
|
]),
|
|
1532
1549
|
_: 1
|
|
1533
1550
|
}, 8, ["label"]),
|
|
1534
|
-
|
|
1551
|
+
S(a(I), {
|
|
1535
1552
|
label: a(_)("资产用途"),
|
|
1536
1553
|
prop: "purpose"
|
|
1537
1554
|
}, null, 8, ["label"])
|
|
@@ -1543,23 +1560,23 @@ const fa = (o, e) => {
|
|
|
1543
1560
|
}),
|
|
1544
1561
|
_: 1
|
|
1545
1562
|
}, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "placeholder", "onOpenDialog"])) : E("", !0),
|
|
1546
|
-
m.value && a(h) == "position" ? (
|
|
1563
|
+
m.value && a(h) == "position" ? (k(), F(a(U), {
|
|
1547
1564
|
key: 1,
|
|
1548
1565
|
col: e.span,
|
|
1549
|
-
label:
|
|
1566
|
+
label: M.setting.desc,
|
|
1550
1567
|
prop: e.setting.name,
|
|
1551
1568
|
type: "treeSelect",
|
|
1552
1569
|
"node-key": "id",
|
|
1553
1570
|
showFullPath: !0,
|
|
1554
|
-
helpMessage:
|
|
1555
|
-
placeholder:
|
|
1571
|
+
helpMessage: B.value,
|
|
1572
|
+
placeholder: M.setting.options.placeholder,
|
|
1556
1573
|
required: Y.value,
|
|
1557
1574
|
modelValue: s.value,
|
|
1558
1575
|
"onUpdate:modelValue": A[2] || (A[2] = (P) => s.value = P),
|
|
1559
|
-
keyword: a(
|
|
1560
|
-
"onUpdate:keyword": A[3] || (A[3] = (P) => he(
|
|
1561
|
-
path: a(
|
|
1562
|
-
"onUpdate:path": A[4] || (A[4] = (P) => he(
|
|
1576
|
+
keyword: a(X),
|
|
1577
|
+
"onUpdate:keyword": A[3] || (A[3] = (P) => he(X) ? X.value = P : null),
|
|
1578
|
+
path: a(W),
|
|
1579
|
+
"onUpdate:path": A[4] || (A[4] = (P) => he(W) ? W.value = P : null),
|
|
1563
1580
|
isView: e.isView,
|
|
1564
1581
|
disabled: a(v),
|
|
1565
1582
|
load: a(de),
|
|
@@ -1568,23 +1585,23 @@ const fa = (o, e) => {
|
|
|
1568
1585
|
isLeaf: "leaf",
|
|
1569
1586
|
label: "name"
|
|
1570
1587
|
},
|
|
1571
|
-
onChange: a(
|
|
1588
|
+
onChange: a(Z)
|
|
1572
1589
|
}, null, 8, ["col", "label", "prop", "helpMessage", "placeholder", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange"])) : E("", !0)
|
|
1573
1590
|
], 64));
|
|
1574
1591
|
}
|
|
1575
|
-
}),
|
|
1592
|
+
}), Ta = /* @__PURE__ */ fe(Ma, [["__scopeId", "data-v-76614098"]]), at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1576
1593
|
__proto__: null,
|
|
1577
|
-
default:
|
|
1578
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1594
|
+
default: Ta
|
|
1595
|
+
}, Symbol.toStringTag, { value: "Module" })), Ra = {
|
|
1579
1596
|
key: 0,
|
|
1580
1597
|
class: "form-image"
|
|
1581
|
-
},
|
|
1598
|
+
}, $a = {
|
|
1582
1599
|
key: 1,
|
|
1583
1600
|
style: { "margin-bottom": "10px" }
|
|
1584
|
-
},
|
|
1601
|
+
}, Pa = {
|
|
1585
1602
|
name: "soundRecording"
|
|
1586
|
-
},
|
|
1587
|
-
|
|
1603
|
+
}, Fa = /* @__PURE__ */ Q({
|
|
1604
|
+
...Pa,
|
|
1588
1605
|
props: {
|
|
1589
1606
|
setting: { default: () => ({
|
|
1590
1607
|
icon: "",
|
|
@@ -1600,15 +1617,15 @@ const fa = (o, e) => {
|
|
|
1600
1617
|
},
|
|
1601
1618
|
setup(o) {
|
|
1602
1619
|
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
|
|
1603
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1620
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
1604
1621
|
() => t.value,
|
|
1605
1622
|
() => {
|
|
1606
1623
|
s.value = t.value[e.setting.name], s.value || (n.value = "", w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
1607
1624
|
},
|
|
1608
1625
|
{ deep: !0, immediate: !0 }
|
|
1609
1626
|
), l.value[e.setting.name];
|
|
1610
|
-
const { baseURL: m } =
|
|
1611
|
-
|
|
1627
|
+
const { baseURL: m } = kt(), v = i(!1);
|
|
1628
|
+
H(e.setting.options.validateList).then((C) => {
|
|
1612
1629
|
v.value = C;
|
|
1613
1630
|
});
|
|
1614
1631
|
const c = i("info"), d = i();
|
|
@@ -1616,7 +1633,7 @@ const fa = (o, e) => {
|
|
|
1616
1633
|
const C = JSON.parse(u(e.setting.name));
|
|
1617
1634
|
n.value = m + C[0].url;
|
|
1618
1635
|
}
|
|
1619
|
-
return e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), (C, g) => e.isView && s.value ? (
|
|
1636
|
+
return e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), (C, g) => e.isView && s.value ? (k(), F(a(U), {
|
|
1620
1637
|
key: 0,
|
|
1621
1638
|
modelValue: n.value,
|
|
1622
1639
|
"onUpdate:modelValue": g[2] || (g[2] = (h) => n.value = h),
|
|
@@ -1628,27 +1645,27 @@ const fa = (o, e) => {
|
|
|
1628
1645
|
required: v.value,
|
|
1629
1646
|
col: e.span
|
|
1630
1647
|
}, {
|
|
1631
|
-
default:
|
|
1632
|
-
n.value ? (
|
|
1633
|
-
|
|
1648
|
+
default: T(() => [
|
|
1649
|
+
n.value ? (k(), x("div", Ra, [
|
|
1650
|
+
S(a(Be), {
|
|
1634
1651
|
modelValue: n.value,
|
|
1635
1652
|
"onUpdate:modelValue": g[0] || (g[0] = (h) => n.value = h),
|
|
1636
1653
|
status: c.value,
|
|
1637
1654
|
"onUpdate:status": g[1] || (g[1] = (h) => c.value = h),
|
|
1638
1655
|
required: v.value
|
|
1639
1656
|
}, null, 8, ["modelValue", "status", "required"])
|
|
1640
|
-
])) : (
|
|
1657
|
+
])) : (k(), x("div", $a, "-"))
|
|
1641
1658
|
]),
|
|
1642
1659
|
_: 1
|
|
1643
1660
|
}, 8, ["modelValue", "prop", "label", "helpMessage", "required", "col"])) : E("", !0);
|
|
1644
1661
|
}
|
|
1645
|
-
}),
|
|
1662
|
+
}), Ia = /* @__PURE__ */ fe(Fa, [["__scopeId", "data-v-b30e3d77"]]), nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1646
1663
|
__proto__: null,
|
|
1647
|
-
default:
|
|
1648
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1664
|
+
default: Ia
|
|
1665
|
+
}, Symbol.toStringTag, { value: "Module" })), qa = {
|
|
1649
1666
|
name: "switch"
|
|
1650
|
-
},
|
|
1651
|
-
...
|
|
1667
|
+
}, Ka = /* @__PURE__ */ Q({
|
|
1668
|
+
...qa,
|
|
1652
1669
|
props: {
|
|
1653
1670
|
setting: { default: () => ({
|
|
1654
1671
|
icon: "",
|
|
@@ -1664,7 +1681,7 @@ const fa = (o, e) => {
|
|
|
1664
1681
|
},
|
|
1665
1682
|
setup(o) {
|
|
1666
1683
|
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
|
|
1667
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1684
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
1668
1685
|
() => t.value,
|
|
1669
1686
|
() => {
|
|
1670
1687
|
s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
@@ -1672,15 +1689,15 @@ const fa = (o, e) => {
|
|
|
1672
1689
|
{ deep: !0, immediate: !0 }
|
|
1673
1690
|
);
|
|
1674
1691
|
const m = l.value[e.setting.name] || !1, v = i(!1);
|
|
1675
|
-
|
|
1692
|
+
H(e.setting.options.validateList).then((d) => {
|
|
1676
1693
|
v.value = d;
|
|
1677
1694
|
});
|
|
1678
1695
|
const c = i();
|
|
1679
1696
|
return e.setting.options.tip && (c.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
1680
1697
|
n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
|
|
1681
|
-
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList),
|
|
1698
|
+
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), N(n, (d) => {
|
|
1682
1699
|
p(e.setting.name, d);
|
|
1683
|
-
}), (d, C) => s.value ? (
|
|
1700
|
+
}), (d, C) => s.value ? (k(), F(a(U), {
|
|
1684
1701
|
key: 0,
|
|
1685
1702
|
col: e.span,
|
|
1686
1703
|
modelValue: n.value,
|
|
@@ -1700,10 +1717,10 @@ const fa = (o, e) => {
|
|
|
1700
1717
|
}
|
|
1701
1718
|
}), st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1702
1719
|
__proto__: null,
|
|
1703
|
-
default:
|
|
1720
|
+
default: Ka
|
|
1704
1721
|
}, Symbol.toStringTag, { value: "Module" })), Oa = {
|
|
1705
1722
|
name: "text"
|
|
1706
|
-
},
|
|
1723
|
+
}, Ba = /* @__PURE__ */ Q({
|
|
1707
1724
|
...Oa,
|
|
1708
1725
|
props: {
|
|
1709
1726
|
setting: { default: () => ({
|
|
@@ -1720,7 +1737,7 @@ const fa = (o, e) => {
|
|
|
1720
1737
|
},
|
|
1721
1738
|
setup(o) {
|
|
1722
1739
|
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
|
|
1723
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1740
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
1724
1741
|
() => t.value,
|
|
1725
1742
|
() => {
|
|
1726
1743
|
s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
@@ -1728,9 +1745,9 @@ const fa = (o, e) => {
|
|
|
1728
1745
|
{ deep: !0, immediate: !0 }
|
|
1729
1746
|
);
|
|
1730
1747
|
const m = i();
|
|
1731
|
-
return e.setting.options.tip && (m.value = J(e.setting.options.tip)), n.value = e.setting.options.textValue, n.value = u(e.setting.name) || n.value, n.value || p(e.setting.name, null),
|
|
1748
|
+
return e.setting.options.tip && (m.value = J(e.setting.options.tip)), n.value = e.setting.options.textValue, n.value = u(e.setting.name) || n.value, n.value || p(e.setting.name, null), N(n, (v) => {
|
|
1732
1749
|
p(e.setting.name, v);
|
|
1733
|
-
}), (v, c) => s.value ? (
|
|
1750
|
+
}), (v, c) => s.value ? (k(), F(a(U), {
|
|
1734
1751
|
key: 0,
|
|
1735
1752
|
col: e.span,
|
|
1736
1753
|
modelValue: n.value,
|
|
@@ -1739,8 +1756,8 @@ const fa = (o, e) => {
|
|
|
1739
1756
|
type: "custom",
|
|
1740
1757
|
helpMessage: m.value
|
|
1741
1758
|
}, {
|
|
1742
|
-
default:
|
|
1743
|
-
|
|
1759
|
+
default: T(() => [
|
|
1760
|
+
S(a(Ee), {
|
|
1744
1761
|
type: "text",
|
|
1745
1762
|
modelValue: n.value,
|
|
1746
1763
|
"onUpdate:modelValue": c[0] || (c[0] = (d) => n.value = d)
|
|
@@ -1751,11 +1768,11 @@ const fa = (o, e) => {
|
|
|
1751
1768
|
}
|
|
1752
1769
|
}), ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1753
1770
|
__proto__: null,
|
|
1754
|
-
default:
|
|
1755
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1771
|
+
default: Ba
|
|
1772
|
+
}, Symbol.toStringTag, { value: "Module" })), ja = {
|
|
1756
1773
|
name: "textarea"
|
|
1757
|
-
},
|
|
1758
|
-
...
|
|
1774
|
+
}, Ea = /* @__PURE__ */ Q({
|
|
1775
|
+
...ja,
|
|
1759
1776
|
props: {
|
|
1760
1777
|
setting: { default: () => ({
|
|
1761
1778
|
icon: "",
|
|
@@ -1771,7 +1788,7 @@ const fa = (o, e) => {
|
|
|
1771
1788
|
},
|
|
1772
1789
|
setup(o) {
|
|
1773
1790
|
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(""), s = i(!0);
|
|
1774
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1791
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
1775
1792
|
() => t.value,
|
|
1776
1793
|
() => {
|
|
1777
1794
|
s.value = t.value[e.setting.name], s.value || (n.value = "", w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
@@ -1779,7 +1796,7 @@ const fa = (o, e) => {
|
|
|
1779
1796
|
{ deep: !0, immediate: !0 }
|
|
1780
1797
|
);
|
|
1781
1798
|
const m = l.value[e.setting.name] || !1, v = i(!1);
|
|
1782
|
-
|
|
1799
|
+
H(e.setting.options.validateList).then((g) => {
|
|
1783
1800
|
v.value = g;
|
|
1784
1801
|
});
|
|
1785
1802
|
const c = i();
|
|
@@ -1787,10 +1804,10 @@ const fa = (o, e) => {
|
|
|
1787
1804
|
n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
|
|
1788
1805
|
}, 50);
|
|
1789
1806
|
const d = i(), C = i();
|
|
1790
|
-
return d.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", C.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList),
|
|
1807
|
+
return d.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", C.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), N(n, (g) => {
|
|
1791
1808
|
p(e.setting.name, g);
|
|
1792
|
-
}), (g, h) => (
|
|
1793
|
-
!g.setting.options.isEditor && s.value ? (
|
|
1809
|
+
}), (g, h) => (k(), x(ee, null, [
|
|
1810
|
+
!g.setting.options.isEditor && s.value ? (k(), F(a(U), {
|
|
1794
1811
|
key: 0,
|
|
1795
1812
|
col: e.span,
|
|
1796
1813
|
label: g.setting.desc,
|
|
@@ -1809,7 +1826,7 @@ const fa = (o, e) => {
|
|
|
1809
1826
|
helpMessage: c.value,
|
|
1810
1827
|
required: v.value
|
|
1811
1828
|
}, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) : E("", !0),
|
|
1812
|
-
g.setting.options.isEditor && s.value ? (
|
|
1829
|
+
g.setting.options.isEditor && s.value ? (k(), F(a(U), {
|
|
1813
1830
|
key: 1,
|
|
1814
1831
|
modelValue: n.value,
|
|
1815
1832
|
"onUpdate:modelValue": h[2] || (h[2] = (r) => n.value = r),
|
|
@@ -1821,8 +1838,8 @@ const fa = (o, e) => {
|
|
|
1821
1838
|
required: v.value,
|
|
1822
1839
|
readOnly: e.isView
|
|
1823
1840
|
}, {
|
|
1824
|
-
default:
|
|
1825
|
-
|
|
1841
|
+
default: T(() => [
|
|
1842
|
+
S(a(Ee), {
|
|
1826
1843
|
ref: "editor",
|
|
1827
1844
|
width: d.value,
|
|
1828
1845
|
height: C.value,
|
|
@@ -1837,11 +1854,11 @@ const fa = (o, e) => {
|
|
|
1837
1854
|
}
|
|
1838
1855
|
}), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1839
1856
|
__proto__: null,
|
|
1840
|
-
default:
|
|
1841
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1857
|
+
default: Ea
|
|
1858
|
+
}, Symbol.toStringTag, { value: "Module" })), Aa = {
|
|
1842
1859
|
name: "time"
|
|
1843
|
-
},
|
|
1844
|
-
...
|
|
1860
|
+
}, Qa = /* @__PURE__ */ Q({
|
|
1861
|
+
...Aa,
|
|
1845
1862
|
props: {
|
|
1846
1863
|
setting: { default: () => ({
|
|
1847
1864
|
icon: "",
|
|
@@ -1857,7 +1874,7 @@ const fa = (o, e) => {
|
|
|
1857
1874
|
},
|
|
1858
1875
|
setup(o) {
|
|
1859
1876
|
const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
|
|
1860
|
-
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0),
|
|
1877
|
+
!t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
|
|
1861
1878
|
() => t.value,
|
|
1862
1879
|
() => {
|
|
1863
1880
|
s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
|
|
@@ -1865,16 +1882,16 @@ const fa = (o, e) => {
|
|
|
1865
1882
|
{ deep: !0, immediate: !0 }
|
|
1866
1883
|
);
|
|
1867
1884
|
const m = l.value[e.setting.name] || !1, v = i(!1);
|
|
1868
|
-
|
|
1885
|
+
H(e.setting.options.validateList).then((d) => {
|
|
1869
1886
|
v.value = d;
|
|
1870
1887
|
});
|
|
1871
1888
|
const c = i();
|
|
1872
1889
|
return e.setting.options.tip && (c.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
1873
1890
|
const d = ve().format("YYYY-MM-DD ");
|
|
1874
1891
|
u(e.setting.name) && (n.value = u(e.setting.name)), e.setting.options.formulasDiyJs && (n.value = ve(d + e.setting.options.formulasDiyJs)), n.value || p(e.setting.name, null);
|
|
1875
|
-
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList),
|
|
1892
|
+
}, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), N(n, (d) => {
|
|
1876
1893
|
p(e.setting.name, d);
|
|
1877
|
-
}), (d, C) => s.value ? (
|
|
1894
|
+
}), (d, C) => s.value ? (k(), F(a(U), {
|
|
1878
1895
|
key: 0,
|
|
1879
1896
|
col: e.span,
|
|
1880
1897
|
modelValue: n.value,
|
|
@@ -1890,8 +1907,8 @@ const fa = (o, e) => {
|
|
|
1890
1907
|
}
|
|
1891
1908
|
}), it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1892
1909
|
__proto__: null,
|
|
1893
|
-
default:
|
|
1894
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1910
|
+
default: Qa
|
|
1911
|
+
}, Symbol.toStringTag, { value: "Module" })), Ua = Q({
|
|
1895
1912
|
name: "accordion",
|
|
1896
1913
|
props: {
|
|
1897
1914
|
columns: {
|
|
@@ -1910,31 +1927,31 @@ const fa = (o, e) => {
|
|
|
1910
1927
|
setup(o) {
|
|
1911
1928
|
const e = i([]), t = o.columns.map((l) => {
|
|
1912
1929
|
const p = l.list.map(
|
|
1913
|
-
(u) =>
|
|
1930
|
+
(u) => re(pe[u.ctrlType], { setting: u, isView: o.isView, store: o.store })
|
|
1914
1931
|
);
|
|
1915
|
-
return l.isOpen == !0 && e.value.push(l.idKey),
|
|
1932
|
+
return l.isOpen == !0 && e.value.push(l.idKey), re(
|
|
1916
1933
|
Qe,
|
|
1917
1934
|
{
|
|
1918
1935
|
header: l.span,
|
|
1919
1936
|
key: `${l.idKey}`
|
|
1920
1937
|
},
|
|
1921
|
-
|
|
1938
|
+
re("div", p)
|
|
1922
1939
|
);
|
|
1923
1940
|
});
|
|
1924
|
-
return () =>
|
|
1941
|
+
return () => re(
|
|
1925
1942
|
"div",
|
|
1926
1943
|
{ class: "accordion-layout" },
|
|
1927
|
-
|
|
1944
|
+
re(
|
|
1928
1945
|
Ae,
|
|
1929
1946
|
{ activeKey: e.value, collapsible: o.options.accordion ? "" : "disabled" },
|
|
1930
1947
|
t
|
|
1931
1948
|
)
|
|
1932
1949
|
);
|
|
1933
1950
|
}
|
|
1934
|
-
}),
|
|
1951
|
+
}), Ya = {
|
|
1935
1952
|
name: "accordion"
|
|
1936
|
-
},
|
|
1937
|
-
...
|
|
1953
|
+
}, xa = /* @__PURE__ */ Q({
|
|
1954
|
+
...Ya,
|
|
1938
1955
|
props: {
|
|
1939
1956
|
setting: { default: () => ({
|
|
1940
1957
|
name: "",
|
|
@@ -1962,7 +1979,7 @@ const fa = (o, e) => {
|
|
|
1962
1979
|
store: {}
|
|
1963
1980
|
},
|
|
1964
1981
|
setup(o) {
|
|
1965
|
-
return (e, t) => (
|
|
1982
|
+
return (e, t) => (k(), F(a(Ua), {
|
|
1966
1983
|
columns: e.setting.columns,
|
|
1967
1984
|
options: e.setting.options,
|
|
1968
1985
|
isView: e.isView,
|
|
@@ -1970,13 +1987,13 @@ const fa = (o, e) => {
|
|
|
1970
1987
|
style: { "margin-bottom": "10px" }
|
|
1971
1988
|
}, null, 8, ["columns", "options", "isView", "store"]));
|
|
1972
1989
|
}
|
|
1973
|
-
}),
|
|
1990
|
+
}), Ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1974
1991
|
__proto__: null,
|
|
1975
|
-
default:
|
|
1976
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1992
|
+
default: xa
|
|
1993
|
+
}, Symbol.toStringTag, { value: "Module" })), Ha = {
|
|
1977
1994
|
name: "grid"
|
|
1978
|
-
},
|
|
1979
|
-
...
|
|
1995
|
+
}, Wa = /* @__PURE__ */ Q({
|
|
1996
|
+
...Ha,
|
|
1980
1997
|
props: {
|
|
1981
1998
|
setting: { default: () => ({
|
|
1982
1999
|
name: "",
|
|
@@ -2002,8 +2019,8 @@ const fa = (o, e) => {
|
|
|
2002
2019
|
},
|
|
2003
2020
|
setup(o) {
|
|
2004
2021
|
const e = o;
|
|
2005
|
-
return (t, l) => (
|
|
2006
|
-
(
|
|
2022
|
+
return (t, l) => (k(!0), x(ee, null, ue(t.setting.columns, (p) => (k(), x(ee, null, [
|
|
2023
|
+
(k(!0), x(ee, null, ue(p.list, (u) => (k(), F(ge(a(Xa)[u.ctrlType]), {
|
|
2007
2024
|
setting: u,
|
|
2008
2025
|
isView: e.isView,
|
|
2009
2026
|
store: t.store,
|
|
@@ -2011,87 +2028,87 @@ const fa = (o, e) => {
|
|
|
2011
2028
|
}, null, 8, ["setting", "isView", "store", "span"]))), 256))
|
|
2012
2029
|
], 64))), 256));
|
|
2013
2030
|
}
|
|
2014
|
-
}),
|
|
2031
|
+
}), Za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2015
2032
|
__proto__: null,
|
|
2016
|
-
default:
|
|
2017
|
-
}, Symbol.toStringTag, { value: "Module" })), _e = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ye, "./base/autocomplete.vue": xe, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue": ot, "./base/textarea.vue": lt, "./base/time.vue": it, "./layout/accordion/accordion.vue":
|
|
2033
|
+
default: Wa
|
|
2034
|
+
}, Symbol.toStringTag, { value: "Module" })), _e = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ye, "./base/autocomplete.vue": xe, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue": ot, "./base/textarea.vue": lt, "./base/time.vue": it, "./layout/accordion/accordion.vue": Ja, "./layout/grid/gridLayout.vue": Za }), we = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ye, "./base/autocomplete.vue": xe, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue": ot, "./base/textarea.vue": lt, "./base/time.vue": it }), Ce = /* @__PURE__ */ Object.assign({}), De = /* @__PURE__ */ Object.assign({}), pe = {}, rt = {}, ut = {}, Ga = {};
|
|
2018
2035
|
Object.keys(we).map((o) => rt[we[o].default.name] = we[o].default);
|
|
2019
2036
|
Object.keys(Ce).map((o) => ut[Ce[o].default.name] = Ce[o].default);
|
|
2020
|
-
Object.keys(De).map((o) =>
|
|
2021
|
-
Object.keys(_e).map((o) =>
|
|
2022
|
-
const
|
|
2037
|
+
Object.keys(De).map((o) => Ga[De[o].default.name] = De[o].default);
|
|
2038
|
+
Object.keys(_e).map((o) => pe[_e[o].default.name] = _e[o].default);
|
|
2039
|
+
const Xa = { ...rt, ...ut }, en = (o, e, t, l) => {
|
|
2023
2040
|
(!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${_("*必填")}`)) : t();
|
|
2024
|
-
}, en = (o, e, t, l) => {
|
|
2025
|
-
e !== "" && e.length > parseInt(l.value) ? t(new Error(`${_("最大文本长度")}${_("不能超过")}${l.value}`)) : t();
|
|
2026
2041
|
}, tn = (o, e, t, l) => {
|
|
2027
|
-
e !== "" && e.length
|
|
2042
|
+
e !== "" && e.length > parseInt(l.value) ? t(new Error(`${_("最大文本长度")}${_("不能超过")}${l.value}`)) : t();
|
|
2028
2043
|
}, an = (o, e, t, l) => {
|
|
2044
|
+
e !== "" && e.length < parseInt(l.value) ? t(new Error(`${_("最小文本长度")}${_("不能少于")}${l.value}`)) : t();
|
|
2045
|
+
}, nn = (o, e, t, l) => {
|
|
2029
2046
|
if (e !== "" && !/^1[3456789]\d{9}$/.test(e))
|
|
2030
2047
|
return t(new Error(_("手机号码格式不正确,请重新输入"))), !1;
|
|
2031
2048
|
t();
|
|
2032
|
-
},
|
|
2049
|
+
}, sn = (o, e, t) => {
|
|
2033
2050
|
if (e !== "" && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e))
|
|
2034
2051
|
return t(new Error(_("电子邮箱格式不正确,请重新输入"))), !1;
|
|
2035
2052
|
t();
|
|
2036
|
-
},
|
|
2053
|
+
}, on = (o, e, t) => {
|
|
2037
2054
|
if (e !== "" && !/^-?\d+$/.test(e))
|
|
2038
2055
|
return t(new Error(_("请输入整数"))), !1;
|
|
2039
2056
|
t();
|
|
2040
|
-
},
|
|
2057
|
+
}, ln = (o, e, t, l) => {
|
|
2041
2058
|
if (e !== "" && e != l.value)
|
|
2042
2059
|
return t(new Error(_("请输入相同的值"))), !1;
|
|
2043
2060
|
t();
|
|
2044
|
-
}, ln = (o, e, t, l) => {
|
|
2045
|
-
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(l.value) ? t(new Error(`${l.name}${_("不能小于")}${l.value}`)) : t() : t(new Error(_("请输入数字")));
|
|
2046
2061
|
}, rn = (o, e, t, l) => {
|
|
2047
|
-
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e
|
|
2062
|
+
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(l.value) ? t(new Error(`${l.name}${_("不能小于")}${l.value}`)) : t() : t(new Error(_("请输入数字")));
|
|
2048
2063
|
}, un = (o, e, t, l) => {
|
|
2064
|
+
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(l.value) ? t(new Error(`${l.name}${_("不能大于")}${l.value}`)) : t() : t(new Error(_("请输入数字")));
|
|
2065
|
+
}, pn = (o, e, t, l) => {
|
|
2049
2066
|
const p = /^[+-]?(\d*\.\d+([eE]?[+-]?\d+)?|\d+[eE][+-]?\d+)$/, u = /^-?\d+$/;
|
|
2050
2067
|
e === "" ? t() : p.test(e) || u.test(e) ? e >= parseFloat(l.start) && e <= parseFloat(l.end) ? t() : t(new Error(`${_("只能输入指定数字范围")}${l.start}-${l.end}`)) : t(new Error(_("请输入数字")));
|
|
2051
|
-
}, pn = (o, e, t, l) => {
|
|
2052
|
-
e === "" || parseFloat(e) === parseFloat(l.value) ? t() : t(new Error(`${_("只能输入指定的值")}${l.value}`));
|
|
2053
2068
|
}, dn = (o, e, t, l) => {
|
|
2069
|
+
e === "" || parseFloat(e) === parseFloat(l.value) ? t() : t(new Error(`${_("只能输入指定的值")}${l.value}`));
|
|
2070
|
+
}, cn = (o, e, t, l) => {
|
|
2054
2071
|
e === "" ? t() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(l.value) ? t() : t(new Error(`${_("只能输入")}${l.value}${_("位数数字")}`)) : t(new Error(_("请输入整数")));
|
|
2055
|
-
},
|
|
2072
|
+
}, gn = (o, e, t) => {
|
|
2056
2073
|
if (e !== "" && !/^[a-zA-Z]{1,}$/.test(e))
|
|
2057
2074
|
return t(new Error(_("只能输入字母"))), !1;
|
|
2058
2075
|
t();
|
|
2059
|
-
},
|
|
2076
|
+
}, mn = (o, e, t) => {
|
|
2060
2077
|
if (e !== "" && !/^[a-zA-Z ]{1,}$/.test(e))
|
|
2061
2078
|
return t(new Error(_("只能输入字母空格"))), !1;
|
|
2062
2079
|
t();
|
|
2063
|
-
},
|
|
2080
|
+
}, vn = (o, e, t) => {
|
|
2064
2081
|
if (e !== "" && !/^[0-9a-zA-Z_-]{1,}$/.test(e))
|
|
2065
2082
|
return t(new Error(_("只能输入字母数字横线下划线"))), !1;
|
|
2066
2083
|
t();
|
|
2067
|
-
},
|
|
2084
|
+
}, fn = (o, e, t) => {
|
|
2068
2085
|
if (e !== "" && !/^[0-9a-zA-Z]{1,}$/.test(e))
|
|
2069
2086
|
return t(new Error(_("只能输入字母数字"))), !1;
|
|
2070
2087
|
t();
|
|
2071
|
-
},
|
|
2088
|
+
}, hn = (o, e, t, l) => {
|
|
2072
2089
|
const p = new RegExp(l.value);
|
|
2073
2090
|
if (e !== "" && !p.test(e))
|
|
2074
2091
|
return t(new Error(l.errorMessage)), !1;
|
|
2075
2092
|
t();
|
|
2076
|
-
},
|
|
2077
|
-
required:
|
|
2078
|
-
min:
|
|
2079
|
-
max:
|
|
2080
|
-
email:
|
|
2081
|
-
min_value:
|
|
2082
|
-
max_value:
|
|
2083
|
-
confirmed:
|
|
2084
|
-
numeric:
|
|
2085
|
-
between:
|
|
2086
|
-
is:
|
|
2087
|
-
digits:
|
|
2088
|
-
mobile:
|
|
2089
|
-
alpha:
|
|
2090
|
-
alpha_spaces:
|
|
2091
|
-
alpha_dash:
|
|
2092
|
-
alpha_num:
|
|
2093
|
-
regex:
|
|
2094
|
-
},
|
|
2093
|
+
}, yn = {
|
|
2094
|
+
required: en,
|
|
2095
|
+
min: an,
|
|
2096
|
+
max: tn,
|
|
2097
|
+
email: sn,
|
|
2098
|
+
min_value: rn,
|
|
2099
|
+
max_value: un,
|
|
2100
|
+
confirmed: ln,
|
|
2101
|
+
numeric: on,
|
|
2102
|
+
between: pn,
|
|
2103
|
+
is: dn,
|
|
2104
|
+
digits: cn,
|
|
2105
|
+
mobile: nn,
|
|
2106
|
+
alpha: gn,
|
|
2107
|
+
alpha_spaces: mn,
|
|
2108
|
+
alpha_dash: vn,
|
|
2109
|
+
alpha_num: fn,
|
|
2110
|
+
regex: hn
|
|
2111
|
+
}, bn = () => {
|
|
2095
2112
|
const o = i({}), e = i([]), t = i({}), l = i({}), p = i([]), u = i(""), f = i(""), w = i({}), n = i([]), s = i({});
|
|
2096
2113
|
return {
|
|
2097
2114
|
data: o,
|
|
@@ -2103,8 +2120,8 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
|
|
|
2103
2120
|
linkData: s,
|
|
2104
2121
|
encryptionData: n,
|
|
2105
2122
|
setData: (D, b) => {
|
|
2106
|
-
e.value.forEach((
|
|
2107
|
-
|
|
2123
|
+
e.value.forEach((R) => {
|
|
2124
|
+
R.formKey === f.value && (R.data[D] = b);
|
|
2108
2125
|
});
|
|
2109
2126
|
},
|
|
2110
2127
|
setDetailData: (D) => {
|
|
@@ -2116,21 +2133,21 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
|
|
|
2116
2133
|
s.value = { data: D, val: b };
|
|
2117
2134
|
},
|
|
2118
2135
|
getData: (D) => o.value[D],
|
|
2119
|
-
setFormData: (D, b,
|
|
2120
|
-
f.value = D, p.value.includes(D) ? e.value.forEach((
|
|
2121
|
-
|
|
2136
|
+
setFormData: (D, b, R) => {
|
|
2137
|
+
f.value = D, p.value.includes(D) ? e.value.forEach(($) => {
|
|
2138
|
+
$.formKey === D && (o.value = $.data);
|
|
2122
2139
|
}) : (p.value.push(D), e.value.push({
|
|
2123
2140
|
formKey: D,
|
|
2124
2141
|
boKey: b,
|
|
2125
|
-
reportId:
|
|
2142
|
+
reportId: R || null,
|
|
2126
2143
|
data: {}
|
|
2127
2144
|
}));
|
|
2128
2145
|
},
|
|
2129
2146
|
getFormData: () => e.value,
|
|
2130
2147
|
setFormRule: (D, b) => {
|
|
2131
|
-
w.value[D] = [], b && b.length && b.forEach((
|
|
2148
|
+
w.value[D] = [], b && b.length && b.forEach((R) => {
|
|
2132
2149
|
w.value[D].push({
|
|
2133
|
-
validator: (
|
|
2150
|
+
validator: ($, O, V) => yn[R.key]($, O, V, R)
|
|
2134
2151
|
});
|
|
2135
2152
|
});
|
|
2136
2153
|
},
|
|
@@ -2141,13 +2158,13 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
|
|
|
2141
2158
|
delete w.value[D];
|
|
2142
2159
|
}
|
|
2143
2160
|
};
|
|
2144
|
-
},
|
|
2161
|
+
}, _n = { class: "custom-page" }, wn = {
|
|
2145
2162
|
key: 0,
|
|
2146
2163
|
class: "btn-box"
|
|
2147
|
-
},
|
|
2164
|
+
}, Cn = {
|
|
2148
2165
|
key: 1,
|
|
2149
2166
|
style: { "background-color": "#fff" }
|
|
2150
|
-
},
|
|
2167
|
+
}, Dn = /* @__PURE__ */ Q({
|
|
2151
2168
|
__name: "App",
|
|
2152
2169
|
props: {
|
|
2153
2170
|
formConfigurationId: {},
|
|
@@ -2161,81 +2178,73 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
|
|
|
2161
2178
|
},
|
|
2162
2179
|
emits: ["handleClick", "change"],
|
|
2163
2180
|
setup(o, { expose: e, emit: t }) {
|
|
2164
|
-
const l =
|
|
2181
|
+
const l = bn(), { formRule: p, data: u, flowKey: f, clearData: w, getFormData: n } = l, s = o, m = t;
|
|
2165
2182
|
f.value = s.flowKey;
|
|
2166
|
-
const v = (
|
|
2167
|
-
|
|
2183
|
+
const v = ($) => $ === "accordion";
|
|
2184
|
+
N(
|
|
2168
2185
|
() => u.value,
|
|
2169
|
-
(
|
|
2170
|
-
m("change",
|
|
2186
|
+
($) => {
|
|
2187
|
+
m("change", $);
|
|
2171
2188
|
},
|
|
2172
2189
|
{
|
|
2173
2190
|
immediate: !0,
|
|
2174
2191
|
deep: !0
|
|
2175
2192
|
}
|
|
2176
2193
|
);
|
|
2177
|
-
const {
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
setTimeout(() => {
|
|
2191
|
-
k({
|
|
2192
|
-
result: T,
|
|
2193
|
-
data: n()
|
|
2194
|
-
});
|
|
2195
|
-
}, 50);
|
|
2196
|
-
});
|
|
2197
|
-
return ct(async () => {
|
|
2194
|
+
const {
|
|
2195
|
+
formJsonList: c,
|
|
2196
|
+
isShowPage: d,
|
|
2197
|
+
btnList: C,
|
|
2198
|
+
formRef: g,
|
|
2199
|
+
activityKeys: h,
|
|
2200
|
+
getForm: r,
|
|
2201
|
+
getBtnSet: y,
|
|
2202
|
+
handleClick: D,
|
|
2203
|
+
validateFormData: b,
|
|
2204
|
+
getFormRef: R
|
|
2205
|
+
} = Xt(s, m, l);
|
|
2206
|
+
return gt(async () => {
|
|
2198
2207
|
s.isShowBtn == !1 ? r(s.formConfigurationId) : y();
|
|
2199
2208
|
}), e({
|
|
2200
|
-
validateFormData:
|
|
2209
|
+
validateFormData: b,
|
|
2201
2210
|
clearData: w
|
|
2202
|
-
}), (
|
|
2203
|
-
a(C).length > 0 ? (
|
|
2204
|
-
(
|
|
2205
|
-
key:
|
|
2211
|
+
}), ($, O) => (k(), x("div", _n, [
|
|
2212
|
+
a(C).length > 0 ? (k(), x("div", wn, [
|
|
2213
|
+
(k(!0), x(ee, null, ue(a(C), (V) => (k(), F(a(ht), {
|
|
2214
|
+
key: V.id,
|
|
2206
2215
|
style: { "margin-right": "20px" },
|
|
2207
2216
|
"btn-type": "primary",
|
|
2208
|
-
onClick: (
|
|
2217
|
+
onClick: (z) => a(D)(V)
|
|
2209
2218
|
}, {
|
|
2210
|
-
default:
|
|
2211
|
-
|
|
2219
|
+
default: T(() => [
|
|
2220
|
+
ne(se(V.name), 1)
|
|
2212
2221
|
]),
|
|
2213
2222
|
_: 2
|
|
2214
2223
|
}, 1032, ["onClick"]))), 128))
|
|
2215
2224
|
])) : E("", !0),
|
|
2216
|
-
|
|
2225
|
+
mt((k(), x("div", {
|
|
2217
2226
|
class: "content-box",
|
|
2218
|
-
style:
|
|
2227
|
+
style: vt({ margin: "0 10px", ...$.customStyle })
|
|
2219
2228
|
}, [
|
|
2220
|
-
(
|
|
2221
|
-
key:
|
|
2229
|
+
(k(!0), x(ee, null, ue(a(c), (V) => (k(), x(ee, {
|
|
2230
|
+
key: V.name
|
|
2222
2231
|
}, [
|
|
2223
|
-
v(
|
|
2232
|
+
v(V.ctrlType) ? (k(), F(a(Ae), {
|
|
2224
2233
|
key: 0,
|
|
2225
2234
|
style: { "margin-bottom": "10px" },
|
|
2226
|
-
collapsible:
|
|
2235
|
+
collapsible: V.options.accordion ? "" : "disabled",
|
|
2227
2236
|
activeKey: a(h)
|
|
2228
2237
|
}, {
|
|
2229
|
-
default:
|
|
2230
|
-
(
|
|
2231
|
-
key:
|
|
2232
|
-
header:
|
|
2238
|
+
default: T(() => [
|
|
2239
|
+
(k(), F(a(Qe), {
|
|
2240
|
+
key: V.columns[0].idKey,
|
|
2241
|
+
header: V.columns[0].span
|
|
2233
2242
|
}, {
|
|
2234
|
-
default:
|
|
2235
|
-
a(d) ? (
|
|
2243
|
+
default: T(() => [
|
|
2244
|
+
a(d) ? (k(), F(a(Ie), {
|
|
2236
2245
|
key: 0,
|
|
2237
2246
|
ref_for: !0,
|
|
2238
|
-
ref: (
|
|
2247
|
+
ref: (z) => a(R)(z, V),
|
|
2239
2248
|
cols: 24,
|
|
2240
2249
|
alignType: "horizontal",
|
|
2241
2250
|
"margin-right": "80px",
|
|
@@ -2243,18 +2252,18 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
|
|
|
2243
2252
|
rules: a(p),
|
|
2244
2253
|
form: a(l).data
|
|
2245
2254
|
}, {
|
|
2246
|
-
default:
|
|
2247
|
-
(
|
|
2248
|
-
key:
|
|
2255
|
+
default: T(() => [
|
|
2256
|
+
(k(!0), x(ee, null, ue(V.columns[0].list, (z) => (k(), x(ee, {
|
|
2257
|
+
key: V.name
|
|
2249
2258
|
}, [
|
|
2250
|
-
|
|
2259
|
+
z.ctrlType == "grid" ? (k(), F(ge(a(pe).grid), {
|
|
2251
2260
|
key: 0,
|
|
2252
|
-
setting:
|
|
2261
|
+
setting: z,
|
|
2253
2262
|
isView: s.isView,
|
|
2254
2263
|
store: a(l)
|
|
2255
|
-
}, null, 8, ["setting", "isView", "store"])) : (
|
|
2264
|
+
}, null, 8, ["setting", "isView", "store"])) : (k(), F(ge(a(pe)[z.ctrlType]), {
|
|
2256
2265
|
key: 1,
|
|
2257
|
-
setting:
|
|
2266
|
+
setting: z,
|
|
2258
2267
|
isView: s.isView,
|
|
2259
2268
|
store: a(l)
|
|
2260
2269
|
}, null, 8, ["setting", "isView", "store"]))
|
|
@@ -2267,11 +2276,11 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
|
|
|
2267
2276
|
}, 1032, ["header"]))
|
|
2268
2277
|
]),
|
|
2269
2278
|
_: 2
|
|
2270
|
-
}, 1032, ["collapsible", "activeKey"])) : (
|
|
2271
|
-
a(d) ? (
|
|
2279
|
+
}, 1032, ["collapsible", "activeKey"])) : (k(), x("div", Cn, [
|
|
2280
|
+
a(d) ? (k(), F(a(Ie), {
|
|
2272
2281
|
key: 0,
|
|
2273
2282
|
ref_for: !0,
|
|
2274
|
-
ref: (
|
|
2283
|
+
ref: (z) => a(R)(z, V),
|
|
2275
2284
|
cols: 24,
|
|
2276
2285
|
"auto-margin-right": "",
|
|
2277
2286
|
alignType: "horizontal",
|
|
@@ -2279,9 +2288,9 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
|
|
|
2279
2288
|
rules: a(p),
|
|
2280
2289
|
form: a(l).data
|
|
2281
2290
|
}, {
|
|
2282
|
-
default:
|
|
2283
|
-
(
|
|
2284
|
-
setting:
|
|
2291
|
+
default: T(() => [
|
|
2292
|
+
(k(), F(ge(a(pe)[V.ctrlType]), {
|
|
2293
|
+
setting: V,
|
|
2285
2294
|
isView: s.isView,
|
|
2286
2295
|
store: a(l)
|
|
2287
2296
|
}, null, 8, ["setting", "isView", "store"]))
|
|
@@ -2291,11 +2300,11 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
|
|
|
2291
2300
|
]))
|
|
2292
2301
|
], 64))), 128))
|
|
2293
2302
|
], 4)), [
|
|
2294
|
-
[a(
|
|
2303
|
+
[a(yt)]
|
|
2295
2304
|
])
|
|
2296
2305
|
]));
|
|
2297
2306
|
}
|
|
2298
|
-
}),
|
|
2307
|
+
}), Vn = /* @__PURE__ */ fe(Dn, [["__scopeId", "data-v-898f05ac"]]), kn = {
|
|
2299
2308
|
姓名: { "zh-CN": "姓名", en: "Name", _appCode: "framework" },
|
|
2300
2309
|
状态: { "zh-CN": "状态", en: "Status", _appCode: "framework" },
|
|
2301
2310
|
组织名称: { "zh-CN": "组织名称", en: "Organization Name", _appCode: "framework" },
|
|
@@ -2417,9 +2426,9 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
|
|
|
2417
2426
|
选择源单: { "zh-CN": "选择源单", en: "Select Source Document", _appCode: "framework" },
|
|
2418
2427
|
请选择: { "zh-CN": "请选择", en: "Please select", _appCode: "framework" }
|
|
2419
2428
|
};
|
|
2420
|
-
|
|
2421
|
-
const
|
|
2429
|
+
Ct(kn);
|
|
2430
|
+
const Jn = pt(Vn);
|
|
2422
2431
|
export {
|
|
2423
|
-
|
|
2424
|
-
|
|
2432
|
+
Jn as DasProcessForm,
|
|
2433
|
+
Jn as default
|
|
2425
2434
|
};
|