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