@das-fed/ui 7.0.7-hot.43 → 7.0.7-hot.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -5
- package/packages/business-components/process-form/api-service/formPreView.d.ts +7 -0
- package/packages/business-components/process-form/index.js +482 -488
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/style.css +1 -1
|
@@ -1,86 +1,84 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/process-form/style.css';
|
|
2
|
-
import { withInstall as
|
|
3
|
-
import { ref as u, nextTick as
|
|
4
|
-
import { DasFormRef as
|
|
5
|
-
import { DasButton as
|
|
2
|
+
import { withInstall as Dt } from "@das-fed/utils/with-install/index";
|
|
3
|
+
import { ref as u, nextTick as Vt, defineComponent as A, watch as z, createBlock as E, createCommentVNode as q, openBlock as k, unref as a, withCtx as P, createVNode as S, createElementVNode as Ze, createElementBlock as U, Fragment as te, createTextVNode as ne, toDisplayString as se, computed as kt, isRef as De, createSlots as St, h as ge, renderList as me, resolveDynamicComponent as fe, onMounted as Nt, withDirectives as Lt, normalizeStyle as zt } from "vue";
|
|
4
|
+
import { DasFormRef as Mt, DasForm as Je } from "@das-fed/ui/packages/components/form/index";
|
|
5
|
+
import { DasButton as Tt } from "@das-fed/ui/packages/components/button/index";
|
|
6
6
|
import { vOverlay as It } from "@das-fed/ui/packages/components/overlay/index";
|
|
7
|
-
import { createService as
|
|
8
|
-
import { DasUpload as
|
|
9
|
-
import { DasFormItem as
|
|
10
|
-
import { DasAutocomplete as
|
|
11
|
-
import
|
|
7
|
+
import { createService as Y } from "@das-fed/utils/create-api-service";
|
|
8
|
+
import { DasUpload as Rt } from "@das-fed/ui/packages/components/upload/index";
|
|
9
|
+
import { DasFormItem as Q } from "@das-fed/ui/packages/components/form-item/index";
|
|
10
|
+
import { DasAutocomplete as Pt } from "@das-fed/ui/packages/components/autocomplete/index";
|
|
11
|
+
import ye from "dayjs";
|
|
12
12
|
import { DasImageViewer as Ge } from "@das-fed/ui/packages/components/image-viewer/index";
|
|
13
|
-
import { DasInput as
|
|
13
|
+
import { DasInput as $t } from "@das-fed/ui/packages/components/input/index";
|
|
14
14
|
import { DasTooltip as Me } from "@das-fed/ui/packages/components/tooltip/index";
|
|
15
|
-
import { i18n as
|
|
15
|
+
import { i18n as O, t as D, setI18nRule as Ft } from "@das-fed/web/packages/i18n/index";
|
|
16
16
|
import { DasTableColumn as $ } from "@das-fed/ui/packages/components/table/index";
|
|
17
|
-
import { DasSearchForm as
|
|
18
|
-
import { DasModelTableDialog as
|
|
17
|
+
import { DasSearchForm as jt } from "@das-fed/ui/packages/components/search-form/index";
|
|
18
|
+
import { DasModelTableDialog as Kt } from "@das-fed/ui/packages/business-components/model-table-dialog";
|
|
19
19
|
import { getProjectInfo as Xe } from "@das-fed/utils/common-info";
|
|
20
|
-
import { getConfig as
|
|
20
|
+
import { getConfig as Et } from "@das-fed/utils/config";
|
|
21
21
|
import { DasRichEditor as et } from "@das-fed/ui/packages/components/rich-editor/index";
|
|
22
22
|
import { DasCollaspe as tt } from "@das-fed/ui/packages/components/collaspe/index";
|
|
23
23
|
import { DasCollaspePanel as at } from "@das-fed/ui/packages/components/collapse-panel/index";
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
const nt =
|
|
24
|
+
const W = "v1", Ot = Y(`/workflow/form/form/${W}`), qt = Y(`/workflow/form/formDef/${W}`);
|
|
25
|
+
Y(`/workflow/api/user/${W}`);
|
|
26
|
+
const nt = Y(`/workflow/api/extend/${W}`), Bt = Y(`/workflow/flow/def/${W}`), At = Y(`/workflow/form/customQuery/${W}`), le = Y(`/api/enterpriseright/permission/${W}`), Te = Y(`/api/space-manage/space-tree/${W}`), Qt = Y(`/workflow/form/dataTemplate/${W}`), Ie = Y(`/api/supply/supplier/${W}`), Ut = Y(`/api/warehouse/vms/${W}/asset-receive`), xt = Y(`/api/fms/report/${W}`), Yt = Y(`/api/space-manage/device-archives/${W}`), Jt = Y(`/api/device-relation/project/${W}`), Ht = Qt.get("/getBpmDataTemplateInfoByFlowKey"), Wt = Ot.get("/formDesign"), Zt = qt.get("/get"), Gt = nt.get("/report-config");
|
|
27
27
|
nt.get("/application-report");
|
|
28
|
-
const
|
|
28
|
+
const Xt = Bt.get("/getBindRelationByDefKey"), ea = At.get("/getByAlias"), ta = le.get("/organization/authTree"), aa = le.post("/user/list"), na = le.post("/data/user-query"), sa = le.get("/role/list"), oa = le.post("/data/role-ids"), la = le.get("/organization/organizationpage"), ia = le.get("/station/list"), ra = le.get("/position/list"), Ve = le.post("/organization/detailbyids"), st = Te.get("/controller/area-children"), ua = Te.get("/controller/fuzzy-tree-all"), pa = Te.get("/controller/space"), da = Ie.post("/supplier/list/page", (n) => {
|
|
29
29
|
var e, t;
|
|
30
30
|
return n.data.pageBean = {
|
|
31
31
|
page: ((e = n == null ? void 0 : n.data) == null ? void 0 : e.pageIndex) || 1,
|
|
32
32
|
pageSize: ((t = n == null ? void 0 : n.data) == null ? void 0 : t.pageSize) || 20
|
|
33
33
|
}, n;
|
|
34
|
-
}),
|
|
35
|
-
|
|
36
|
-
const
|
|
37
|
-
const { setDetailData: i, getFormData: d, setFormData: o, formRule: b, showData: V, disabledData: s, encryptionData: l } = t, p = u([]), g = u([]), f = u([]), c = u(!1), C = Tt(), v = u([]), y = (T) => Object.keys(T).length === 0, h = async (T) => {
|
|
38
|
-
const [B, j] = await Ht({ formId: T }).run();
|
|
34
|
+
}), ca = Ie.get("/supplier"), ga = Ie.post("/classification/list/all"), ma = Ut.get("/receive-code"), va = Yt.post("/warehouse/account/device"), fa = Jt.get("/group/device/device-with-spaceId"), ha = xt.post("/common/device-type/tree"), ke = u(""), ya = (n, e, t) => {
|
|
35
|
+
const { setDetailData: i, getFormData: d, setFormData: o, formRule: b, showData: V, disabledData: s, encryptionData: l } = t, p = u([]), g = u([]), f = u([]), c = u(!1), C = Mt(), v = u([]), y = (M) => Object.keys(M).length === 0, h = async (M) => {
|
|
36
|
+
const [B, K] = await Wt({ formId: M }).run();
|
|
39
37
|
if (B) return;
|
|
40
|
-
const
|
|
41
|
-
ke.value =
|
|
42
|
-
|
|
38
|
+
const H = JSON.parse(K.bos);
|
|
39
|
+
ke.value = H[0].alias, g.value.length && g.value.forEach((X) => {
|
|
40
|
+
X.formKey === K.formKey && o(K.formKey, ke.value, X.id);
|
|
43
41
|
});
|
|
44
|
-
const [
|
|
45
|
-
await m(), f.value = JSON.parse(G.value.expand).list, f.value.forEach((
|
|
46
|
-
|
|
47
|
-
}), s.value = { ...s.value, ...n.disabledData }, g.value.length || o(
|
|
42
|
+
const [ae, G] = await Zt({ formDefId: K.defId }).run();
|
|
43
|
+
await m(), f.value = JSON.parse(G.value.expand).list, f.value.forEach((X) => {
|
|
44
|
+
X.columns && X.columns[0].isOpen && v.value.push(X.key);
|
|
45
|
+
}), s.value = { ...s.value, ...n.disabledData }, g.value.length || o(K.formKey, ke.value), setTimeout(() => {
|
|
48
46
|
V.value = { ...V.value, ...n.showData }, y(n.data) && (c.value = !0), y(n.data) || (i(n.data), n.flowKey && (p.value = n.data.button_list ? JSON.parse(n.data.button_list) : []), c.value = !0);
|
|
49
47
|
}, 50);
|
|
50
48
|
}, N = async () => {
|
|
51
|
-
var
|
|
49
|
+
var M;
|
|
52
50
|
if (n.formConfigurationId) {
|
|
53
|
-
const [B,
|
|
51
|
+
const [B, K] = await Gt({ id: n.formConfigurationId }).run();
|
|
54
52
|
if (B) return;
|
|
55
|
-
g.value =
|
|
53
|
+
g.value = K.reports, p.value = (M = K.reports[0]) == null ? void 0 : M.buttons.filter((H) => !(n.isView && H.event !== "LINK")), h(K.reports[0].formId);
|
|
56
54
|
}
|
|
57
55
|
if (n.flowKey) {
|
|
58
|
-
const [B,
|
|
56
|
+
const [B, K] = await Xt({ flowKey: n.flowKey }).run();
|
|
59
57
|
if (B) return;
|
|
60
|
-
h(
|
|
58
|
+
h(K.pcForm.pcFormId);
|
|
61
59
|
}
|
|
62
60
|
}, m = async () => {
|
|
63
|
-
var
|
|
61
|
+
var K, H, ae, G;
|
|
64
62
|
if (!n.flowKey) return;
|
|
65
|
-
const [
|
|
63
|
+
const [M, B] = await Ht().run({
|
|
66
64
|
flowKey: n.flowKey,
|
|
67
65
|
needDisplayFileds: !1
|
|
68
66
|
});
|
|
69
|
-
l.value = ((G = (
|
|
70
|
-
}, r = u({}),
|
|
71
|
-
const { key:
|
|
72
|
-
r.value[
|
|
73
|
-
},
|
|
74
|
-
|
|
75
|
-
}), await
|
|
76
|
-
let
|
|
77
|
-
for (const
|
|
78
|
-
r.value[
|
|
79
|
-
|
|
67
|
+
l.value = ((G = (ae = (H = (K = B == null ? void 0 : B.value) == null ? void 0 : K.boDef) == null ? void 0 : H.boEnt) == null ? void 0 : ae.attributeList) == null ? void 0 : G.filter((X) => X.encryption == "phone")) || [];
|
|
68
|
+
}, r = u({}), R = (M, B) => {
|
|
69
|
+
const { key: K } = B;
|
|
70
|
+
r.value[K] || (r.value[K] = M);
|
|
71
|
+
}, j = async () => (f.value.forEach((M) => {
|
|
72
|
+
M.columns && v.value.push(M.key);
|
|
73
|
+
}), await Vt(), new Promise((M, B) => {
|
|
74
|
+
let K = !0;
|
|
75
|
+
for (const H in r.value)
|
|
76
|
+
r.value[H].validate((ae) => {
|
|
77
|
+
ae == !1 && (K = !1);
|
|
80
78
|
});
|
|
81
79
|
setTimeout(() => {
|
|
82
|
-
|
|
83
|
-
result:
|
|
80
|
+
M({
|
|
81
|
+
result: K,
|
|
84
82
|
data: d()
|
|
85
83
|
});
|
|
86
84
|
}, 50);
|
|
@@ -93,17 +91,17 @@ const va = Yt.post("/common/device-type/tree"), ke = u(""), fa = (n, e, t) => {
|
|
|
93
91
|
activityKeys: v,
|
|
94
92
|
getForm: h,
|
|
95
93
|
getBtnSet: N,
|
|
96
|
-
handleClick: async (
|
|
97
|
-
let { result: B } = await
|
|
98
|
-
B && (e("handleClick",
|
|
99
|
-
|
|
94
|
+
handleClick: async (M) => {
|
|
95
|
+
let { result: B } = await j();
|
|
96
|
+
B && (e("handleClick", M, d()), M.event === "LINK" && g.value.forEach((K) => {
|
|
97
|
+
M.eventTarget === K.formKey && (p.value = K.buttons.filter((H) => !(n.isView && H.event !== "LINK")), c.value = !1, b.value = {}, h(K.formId));
|
|
100
98
|
}));
|
|
101
99
|
},
|
|
102
|
-
validateFormData:
|
|
103
|
-
getFormRef:
|
|
100
|
+
validateFormData: j,
|
|
101
|
+
getFormRef: R
|
|
104
102
|
};
|
|
105
103
|
};
|
|
106
|
-
let
|
|
104
|
+
let ba = (n = 21) => {
|
|
107
105
|
let e = "", t = crypto.getRandomValues(new Uint8Array(n));
|
|
108
106
|
for (; n--; ) {
|
|
109
107
|
let i = t[n] & 63;
|
|
@@ -111,18 +109,18 @@ let ha = (n = 21) => {
|
|
|
111
109
|
}
|
|
112
110
|
return e;
|
|
113
111
|
};
|
|
114
|
-
const
|
|
112
|
+
const J = (n) => {
|
|
115
113
|
var e = new RegExp("<.+?>", "g"), t = n.replace(e, "").replace(/ /g, "");
|
|
116
114
|
return t;
|
|
117
115
|
}, ue = async (n, e, t = {}) => {
|
|
118
|
-
const [i, d] = await
|
|
116
|
+
const [i, d] = await ea({ alias: n }).run();
|
|
119
117
|
if (!i && d.url) {
|
|
120
118
|
typeof e == "string" && (e = JSON.parse(e));
|
|
121
119
|
const o = u({});
|
|
122
120
|
e.forEach((l) => {
|
|
123
121
|
l.defaultType == 2 && (o.value[l.field] = l.defaultValue);
|
|
124
122
|
}), o.value = { ...o.value, ...t };
|
|
125
|
-
const b = d.requestType === "POST" ?
|
|
123
|
+
const b = d.requestType === "POST" ? Y(d.url).post("") : Y(d.url).get(""), [V, s] = await b({}, { params: o.value }).run();
|
|
126
124
|
return V ? void 0 : s;
|
|
127
125
|
}
|
|
128
126
|
}, Z = async (n) => {
|
|
@@ -130,20 +128,20 @@ const Y = (n) => {
|
|
|
130
128
|
return n.forEach((t) => {
|
|
131
129
|
t.key === "required" && (e.value = !0);
|
|
132
130
|
}), e.value;
|
|
133
|
-
},
|
|
131
|
+
}, be = (n) => {
|
|
134
132
|
if (Array.isArray(n))
|
|
135
|
-
return n.map((t) =>
|
|
133
|
+
return n.map((t) => be(t));
|
|
136
134
|
if (typeof n != "object" || n === null)
|
|
137
135
|
return n;
|
|
138
136
|
const e = { ...n };
|
|
139
|
-
(!e.hasOwnProperty("id") || e.id === null || e.id === void 0 || e.id === "") && (e.id =
|
|
137
|
+
(!e.hasOwnProperty("id") || e.id === null || e.id === void 0 || e.id === "") && (e.id = ba());
|
|
140
138
|
for (const t in e)
|
|
141
|
-
Object.prototype.hasOwnProperty.call(e, t) && (e[t] =
|
|
139
|
+
Object.prototype.hasOwnProperty.call(e, t) && (e[t] = be(e[t]));
|
|
142
140
|
return e;
|
|
143
|
-
},
|
|
141
|
+
}, wa = {
|
|
144
142
|
name: "attachment"
|
|
145
|
-
},
|
|
146
|
-
...
|
|
143
|
+
}, _a = /* @__PURE__ */ A({
|
|
144
|
+
...wa,
|
|
147
145
|
props: {
|
|
148
146
|
setting: { default: () => ({
|
|
149
147
|
icon: "",
|
|
@@ -167,9 +165,9 @@ const Y = (n) => {
|
|
|
167
165
|
{ deep: !0, immediate: !0 }
|
|
168
166
|
);
|
|
169
167
|
const p = u();
|
|
170
|
-
return e.setting.options.tip && (p.value =
|
|
168
|
+
return e.setting.options.tip && (p.value = J(e.setting.options.tip)), s.value || d(e.setting.name, null), z(s, (g) => {
|
|
171
169
|
d(e.setting.name, JSON.stringify(g));
|
|
172
|
-
}), (g, f) => l.value ? (k(),
|
|
170
|
+
}), (g, f) => l.value ? (k(), E(a(Q), {
|
|
173
171
|
key: 0,
|
|
174
172
|
col: e.span,
|
|
175
173
|
label: g.setting.desc,
|
|
@@ -177,7 +175,7 @@ const Y = (n) => {
|
|
|
177
175
|
helpMessage: p.value
|
|
178
176
|
}, {
|
|
179
177
|
default: P(() => [
|
|
180
|
-
S(a(
|
|
178
|
+
S(a(Rt), {
|
|
181
179
|
style: { width: "100%" },
|
|
182
180
|
modelValue: s.value,
|
|
183
181
|
"onUpdate:modelValue": f[0] || (f[0] = (c) => s.value = c)
|
|
@@ -187,13 +185,13 @@ const Y = (n) => {
|
|
|
187
185
|
/* STABLE */
|
|
188
186
|
}, 8, ["col", "label", "helpMessage"])) : q("v-if", !0);
|
|
189
187
|
}
|
|
190
|
-
}),
|
|
188
|
+
}), ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
191
189
|
__proto__: null,
|
|
192
|
-
default:
|
|
193
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
190
|
+
default: _a
|
|
191
|
+
}, Symbol.toStringTag, { value: "Module" })), Ca = {
|
|
194
192
|
name: "autocomplete"
|
|
195
|
-
},
|
|
196
|
-
...
|
|
193
|
+
}, Da = /* @__PURE__ */ A({
|
|
194
|
+
...Ca,
|
|
197
195
|
props: {
|
|
198
196
|
setting: { default: () => ({
|
|
199
197
|
icon: "",
|
|
@@ -222,12 +220,12 @@ const Y = (n) => {
|
|
|
222
220
|
});
|
|
223
221
|
const f = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", c = e.setting.options.children ? e.setting.options.children : "children", C = !!e.setting.options.fillInFullPath, v = u("id"), y = u([]);
|
|
224
222
|
e.setting.options.customQuery.alias ? ue(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((N) => {
|
|
225
|
-
y.value =
|
|
226
|
-
}) : y.value =
|
|
223
|
+
y.value = be(N);
|
|
224
|
+
}) : y.value = be(e.setting.options.options);
|
|
227
225
|
const h = u();
|
|
228
|
-
return e.setting.options.tip && (h.value =
|
|
226
|
+
return e.setting.options.tip && (h.value = J(e.setting.options.tip)), s.value = o(e.setting.name) || s.value, s.value || d(e.setting.name, null), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), z(s, (N) => {
|
|
229
227
|
d(e.setting.name, N.toString());
|
|
230
|
-
}), (N, m) => l.value ? (k(),
|
|
228
|
+
}), (N, m) => l.value ? (k(), E(a(Q), {
|
|
231
229
|
key: 0,
|
|
232
230
|
col: e.span,
|
|
233
231
|
prop: e.setting.name,
|
|
@@ -240,7 +238,7 @@ const Y = (n) => {
|
|
|
240
238
|
disabled: a(p)
|
|
241
239
|
}, {
|
|
242
240
|
default: P(() => [
|
|
243
|
-
S(a(
|
|
241
|
+
S(a(Pt), {
|
|
244
242
|
modelValue: s.value,
|
|
245
243
|
"onUpdate:modelValue": m[0] || (m[0] = (r) => s.value = r),
|
|
246
244
|
options: y.value,
|
|
@@ -257,13 +255,13 @@ const Y = (n) => {
|
|
|
257
255
|
/* STABLE */
|
|
258
256
|
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required", "disabled"])) : q("v-if", !0);
|
|
259
257
|
}
|
|
260
|
-
}),
|
|
258
|
+
}), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
261
259
|
__proto__: null,
|
|
262
|
-
default:
|
|
263
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
260
|
+
default: Da
|
|
261
|
+
}, Symbol.toStringTag, { value: "Module" })), Va = {
|
|
264
262
|
name: "checkbox"
|
|
265
|
-
},
|
|
266
|
-
...
|
|
263
|
+
}, ka = /* @__PURE__ */ A({
|
|
264
|
+
...Va,
|
|
267
265
|
props: {
|
|
268
266
|
setting: { default: () => ({
|
|
269
267
|
icon: "",
|
|
@@ -295,11 +293,11 @@ const Y = (n) => {
|
|
|
295
293
|
C.value = y;
|
|
296
294
|
}) : C.value = e.setting.options.options;
|
|
297
295
|
const v = u();
|
|
298
|
-
return e.setting.options.tip && (v.value =
|
|
296
|
+
return e.setting.options.tip && (v.value = J(e.setting.options.tip)()), setTimeout(() => {
|
|
299
297
|
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);
|
|
300
298
|
}, 50), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), z(s, (y) => {
|
|
301
299
|
d(e.setting.name, y.toString());
|
|
302
|
-
}), (y, h) => l.value ? (k(),
|
|
300
|
+
}), (y, h) => l.value ? (k(), E(a(Q), {
|
|
303
301
|
key: 0,
|
|
304
302
|
col: e.span,
|
|
305
303
|
modelValue: s.value,
|
|
@@ -317,13 +315,13 @@ const Y = (n) => {
|
|
|
317
315
|
required: g.value
|
|
318
316
|
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "disabled", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"])) : q("v-if", !0);
|
|
319
317
|
}
|
|
320
|
-
}),
|
|
318
|
+
}), it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
321
319
|
__proto__: null,
|
|
322
|
-
default:
|
|
323
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
320
|
+
default: ka
|
|
321
|
+
}, Symbol.toStringTag, { value: "Module" })), Sa = {
|
|
324
322
|
name: "date"
|
|
325
|
-
},
|
|
326
|
-
...
|
|
323
|
+
}, Na = /* @__PURE__ */ A({
|
|
324
|
+
...Sa,
|
|
327
325
|
props: {
|
|
328
326
|
setting: { default: () => ({
|
|
329
327
|
icon: "",
|
|
@@ -353,15 +351,15 @@ const Y = (n) => {
|
|
|
353
351
|
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 = u("");
|
|
354
352
|
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");
|
|
355
353
|
const C = u();
|
|
356
|
-
if (e.setting.options.tip && (C.value =
|
|
354
|
+
if (e.setting.options.tip && (C.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
357
355
|
s.value = o(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || d(e.setting.name, null);
|
|
358
356
|
}, 50), e.setting.options.showCurrentDate) {
|
|
359
357
|
let v = /* @__PURE__ */ new Date();
|
|
360
|
-
v.setDate(v.getDate() + e.setting.options.day), s.value =
|
|
358
|
+
v.setDate(v.getDate() + e.setting.options.day), s.value = ye(v.getTime()).format(f), d(e.setting.name, s.value);
|
|
361
359
|
}
|
|
362
360
|
return e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), z(s, (v) => {
|
|
363
361
|
d(e.setting.name, v);
|
|
364
|
-
}), (v, y) => l.value ? (k(),
|
|
362
|
+
}), (v, y) => l.value ? (k(), E(a(Q), {
|
|
365
363
|
key: 0,
|
|
366
364
|
col: e.span,
|
|
367
365
|
modelValue: s.value,
|
|
@@ -379,13 +377,13 @@ const Y = (n) => {
|
|
|
379
377
|
required: g.value
|
|
380
378
|
}, null, 8, ["col", "modelValue", "label", "prop", "type", "format", "picker", "isView", "disabled", "placeholder", "helpMessage", "required"])) : q("v-if", !0);
|
|
381
379
|
}
|
|
382
|
-
}),
|
|
380
|
+
}), rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
383
381
|
__proto__: null,
|
|
384
|
-
default:
|
|
385
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
382
|
+
default: Na
|
|
383
|
+
}, Symbol.toStringTag, { value: "Module" })), La = {
|
|
386
384
|
name: "dropdown"
|
|
387
|
-
},
|
|
388
|
-
...
|
|
385
|
+
}, za = /* @__PURE__ */ A({
|
|
386
|
+
...La,
|
|
389
387
|
props: {
|
|
390
388
|
setting: { default: () => ({
|
|
391
389
|
icon: "",
|
|
@@ -419,15 +417,15 @@ const Y = (n) => {
|
|
|
419
417
|
N.value = r;
|
|
420
418
|
});
|
|
421
419
|
const m = u();
|
|
422
|
-
return e.setting.options.tip && (m.value =
|
|
420
|
+
return e.setting.options.tip && (m.value = J(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 && b(e.setting.name, e.setting.options.validateList), z(l, (r) => {
|
|
423
421
|
d(e.setting.name, r.toString());
|
|
424
|
-
}), (r,
|
|
422
|
+
}), (r, R) => p.value ? (k(), E(a(Q), {
|
|
425
423
|
key: 0,
|
|
426
424
|
col: e.span,
|
|
427
425
|
modelValue: l.value,
|
|
428
|
-
"onUpdate:modelValue":
|
|
426
|
+
"onUpdate:modelValue": R[0] || (R[0] = (j) => l.value = j),
|
|
429
427
|
keyword: C.value,
|
|
430
|
-
"onUpdate:keyword":
|
|
428
|
+
"onUpdate:keyword": R[1] || (R[1] = (j) => C.value = j),
|
|
431
429
|
label: r.setting.desc,
|
|
432
430
|
type: "treeSelect",
|
|
433
431
|
"node-key": r.setting.options.customQuery.valueBind,
|
|
@@ -446,13 +444,13 @@ const Y = (n) => {
|
|
|
446
444
|
onChange: g
|
|
447
445
|
}, null, 8, ["col", "modelValue", "keyword", "label", "node-key", "placeholder", "mode", "prop", "filter", "options", "isView", "helpMessage", "disabled", "props", "check-strictly", "required"])) : q("v-if", !0);
|
|
448
446
|
}
|
|
449
|
-
}),
|
|
447
|
+
}), ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
450
448
|
__proto__: null,
|
|
451
|
-
default:
|
|
452
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
449
|
+
default: za
|
|
450
|
+
}, Symbol.toStringTag, { value: "Module" })), Ma = { class: "form-image" }, Ta = {
|
|
453
451
|
name: "imageViewer"
|
|
454
|
-
},
|
|
455
|
-
...
|
|
452
|
+
}, Ia = /* @__PURE__ */ A({
|
|
453
|
+
...Ta,
|
|
456
454
|
props: {
|
|
457
455
|
setting: { default: () => ({
|
|
458
456
|
icon: "",
|
|
@@ -482,7 +480,7 @@ const Y = (n) => {
|
|
|
482
480
|
const f = u("normal");
|
|
483
481
|
e.isView && (f.value = "info");
|
|
484
482
|
const c = u();
|
|
485
|
-
e.setting.options.tip && (c.value =
|
|
483
|
+
e.setting.options.tip && (c.value = J(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
484
|
const C = (v) => {
|
|
487
485
|
setTimeout(() => {
|
|
488
486
|
d(e.setting.name, s.value.toString());
|
|
@@ -496,7 +494,7 @@ const Y = (n) => {
|
|
|
496
494
|
setTimeout(() => {
|
|
497
495
|
d(e.setting.name, y.join(","));
|
|
498
496
|
}, 100);
|
|
499
|
-
}), (v, y) => l.value ? (k(),
|
|
497
|
+
}), (v, y) => l.value ? (k(), E(a(Q), {
|
|
500
498
|
key: 0,
|
|
501
499
|
modelValue: s.value,
|
|
502
500
|
"onUpdate:modelValue": y[2] || (y[2] = (h) => s.value = h),
|
|
@@ -509,7 +507,7 @@ const Y = (n) => {
|
|
|
509
507
|
col: e.span
|
|
510
508
|
}, {
|
|
511
509
|
default: P(() => [
|
|
512
|
-
Ze("div",
|
|
510
|
+
Ze("div", Ma, [
|
|
513
511
|
S(a(Ge), {
|
|
514
512
|
modelValue: s.value,
|
|
515
513
|
"onUpdate:modelValue": y[0] || (y[0] = (h) => s.value = h),
|
|
@@ -536,15 +534,15 @@ const Y = (n) => {
|
|
|
536
534
|
/* STABLE */
|
|
537
535
|
}, 8, ["modelValue", "prop", "label", "helpMessage", "required", "col"])) : q("v-if", !0);
|
|
538
536
|
}
|
|
539
|
-
}),
|
|
537
|
+
}), we = (n, e) => {
|
|
540
538
|
const t = n.__vccOpts || n;
|
|
541
539
|
for (const [i, d] of e)
|
|
542
540
|
t[i] = d;
|
|
543
541
|
return t;
|
|
544
|
-
},
|
|
542
|
+
}, Ra = /* @__PURE__ */ we(Ia, [["__scopeId", "data-v-745a2e98"]]), pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
545
543
|
__proto__: null,
|
|
546
|
-
default:
|
|
547
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
544
|
+
default: Ra
|
|
545
|
+
}, Symbol.toStringTag, { value: "Module" })), Pa = (n) => {
|
|
548
546
|
const t = "****", i = String(n), d = i.slice(0, 15), o = i.slice(15);
|
|
549
547
|
return ((s) => {
|
|
550
548
|
const l = s.length;
|
|
@@ -579,22 +577,22 @@ const Y = (n) => {
|
|
|
579
577
|
const g = p + t.length;
|
|
580
578
|
return s.slice(0, p) + t + s.slice(g);
|
|
581
579
|
})(d) + o;
|
|
582
|
-
},
|
|
580
|
+
}, $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
583
581
|
__proto__: null,
|
|
584
|
-
default:
|
|
585
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
582
|
+
default: Pa
|
|
583
|
+
}, Symbol.toStringTag, { value: "Module" })), he = {}, Fa = /^\.\/(.+)\/index\.ts$/, He = /* @__PURE__ */ Object.assign({ "./phone/index.ts": $a });
|
|
586
584
|
var We;
|
|
587
585
|
for (const n in He) {
|
|
588
|
-
const e = He[n], t = (We = n.match(
|
|
589
|
-
|
|
586
|
+
const e = He[n], t = (We = n.match(Fa)) == null ? void 0 : We[1];
|
|
587
|
+
he[t] = e.default;
|
|
590
588
|
}
|
|
591
|
-
const
|
|
589
|
+
const ja = (n, e) => {
|
|
592
590
|
var i;
|
|
593
|
-
return e ? ((i =
|
|
594
|
-
},
|
|
591
|
+
return e ? ((i = he[n]) == null ? void 0 : i.call(he, e)) ?? e : "-";
|
|
592
|
+
}, Ka = {
|
|
595
593
|
name: "input"
|
|
596
|
-
},
|
|
597
|
-
...
|
|
594
|
+
}, Ea = /* @__PURE__ */ A({
|
|
595
|
+
...Ka,
|
|
598
596
|
props: {
|
|
599
597
|
setting: { default: () => ({
|
|
600
598
|
icon: "",
|
|
@@ -632,15 +630,15 @@ const $a = (n, e) => {
|
|
|
632
630
|
v.value = h;
|
|
633
631
|
});
|
|
634
632
|
const y = u();
|
|
635
|
-
return e.setting.options.tip && (y.value =
|
|
636
|
-
f.value = b(e.setting.name) || e.setting.options.formulasDiyJs || f.value, g && e.isView && (p.value =
|
|
633
|
+
return e.setting.options.tip && (y.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
634
|
+
f.value = b(e.setting.name) || e.setting.options.formulasDiyJs || f.value, g && e.isView && (p.value = ja("phone", f.value)), f.value || o(e.setting.name, null);
|
|
637
635
|
}, 50), e.setting.options.validateList.length && V(e.setting.name, e.setting.options.validateList), z(f, (h) => {
|
|
638
636
|
e.setting.options.dataType === "number" && !isNaN(h) ? o(e.setting.name, Number(h)) : o(e.setting.name, h);
|
|
639
637
|
}), (h, N) => (k(), U(
|
|
640
|
-
|
|
638
|
+
te,
|
|
641
639
|
null,
|
|
642
640
|
[
|
|
643
|
-
c.value && g.value && e.isView ? (k(),
|
|
641
|
+
c.value && g.value && e.isView ? (k(), E(a(Q), {
|
|
644
642
|
key: 0,
|
|
645
643
|
col: e.span,
|
|
646
644
|
prop: e.setting.name,
|
|
@@ -658,7 +656,7 @@ const $a = (n, e) => {
|
|
|
658
656
|
content: f.value
|
|
659
657
|
}, {
|
|
660
658
|
default: P(() => [
|
|
661
|
-
S(a(
|
|
659
|
+
S(a($t), {
|
|
662
660
|
modelValue: p.value,
|
|
663
661
|
"onUpdate:modelValue": N[0] || (N[0] = (m) => p.value = m),
|
|
664
662
|
width: h.setting.options.width,
|
|
@@ -691,7 +689,7 @@ const $a = (n, e) => {
|
|
|
691
689
|
_: 1
|
|
692
690
|
/* STABLE */
|
|
693
691
|
}, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required"])) : q("v-if", !0),
|
|
694
|
-
c.value && (!g.value || !e.isView) ? (k(),
|
|
692
|
+
c.value && (!g.value || !e.isView) ? (k(), E(a(Q), {
|
|
695
693
|
key: 1,
|
|
696
694
|
col: e.span,
|
|
697
695
|
modelValue: f.value,
|
|
@@ -722,13 +720,13 @@ const $a = (n, e) => {
|
|
|
722
720
|
/* STABLE_FRAGMENT */
|
|
723
721
|
));
|
|
724
722
|
}
|
|
725
|
-
}),
|
|
723
|
+
}), dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
726
724
|
__proto__: null,
|
|
727
|
-
default:
|
|
728
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
725
|
+
default: Ea
|
|
726
|
+
}, Symbol.toStringTag, { value: "Module" })), Oa = {
|
|
729
727
|
name: "number"
|
|
730
|
-
},
|
|
731
|
-
...
|
|
728
|
+
}, qa = /* @__PURE__ */ A({
|
|
729
|
+
...Oa,
|
|
732
730
|
props: {
|
|
733
731
|
setting: { default: () => ({
|
|
734
732
|
icon: "",
|
|
@@ -756,11 +754,11 @@ const $a = (n, e) => {
|
|
|
756
754
|
g.value = c;
|
|
757
755
|
});
|
|
758
756
|
const f = u();
|
|
759
|
-
return e.setting.options.tip && (f.value =
|
|
757
|
+
return e.setting.options.tip && (f.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
760
758
|
s.value = o(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || d(e.setting.name, null);
|
|
761
759
|
}, 50), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), z(s, (c) => {
|
|
762
760
|
d(e.setting.name, c);
|
|
763
|
-
}), (c, C) => l.value ? (k(),
|
|
761
|
+
}), (c, C) => l.value ? (k(), E(a(Q), {
|
|
764
762
|
key: 0,
|
|
765
763
|
col: e.span,
|
|
766
764
|
modelValue: s.value,
|
|
@@ -779,13 +777,13 @@ const $a = (n, e) => {
|
|
|
779
777
|
required: g.value
|
|
780
778
|
}, null, 8, ["col", "modelValue", "label", "prop", "max", "min", "step", "disabled", "isView", "precision", "helpMessage", "required"])) : q("v-if", !0);
|
|
781
779
|
}
|
|
782
|
-
}),
|
|
780
|
+
}), ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
783
781
|
__proto__: null,
|
|
784
|
-
default:
|
|
785
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
782
|
+
default: qa
|
|
783
|
+
}, Symbol.toStringTag, { value: "Module" })), Ba = {
|
|
786
784
|
name: "radio"
|
|
787
|
-
},
|
|
788
|
-
...
|
|
785
|
+
}, Aa = /* @__PURE__ */ A({
|
|
786
|
+
...Ba,
|
|
789
787
|
props: {
|
|
790
788
|
setting: { default: () => ({
|
|
791
789
|
icon: "",
|
|
@@ -819,7 +817,7 @@ const $a = (n, e) => {
|
|
|
819
817
|
C.value = h;
|
|
820
818
|
}) : C.value = e.setting.options.options;
|
|
821
819
|
const v = u();
|
|
822
|
-
e.setting.options.tip && (v.value =
|
|
820
|
+
e.setting.options.tip && (v.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
823
821
|
s.value = o(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || d(e.setting.name, null);
|
|
824
822
|
}, 50), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), z(s, (h) => {
|
|
825
823
|
d(e.setting.name, h);
|
|
@@ -832,7 +830,7 @@ const $a = (n, e) => {
|
|
|
832
830
|
}
|
|
833
831
|
});
|
|
834
832
|
};
|
|
835
|
-
return (h, N) => l.value ? (k(),
|
|
833
|
+
return (h, N) => l.value ? (k(), E(a(Q), {
|
|
836
834
|
key: 0,
|
|
837
835
|
onChange: y,
|
|
838
836
|
col: e.span,
|
|
@@ -852,13 +850,13 @@ const $a = (n, e) => {
|
|
|
852
850
|
isSetTimeout: !0
|
|
853
851
|
}, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : q("v-if", !0);
|
|
854
852
|
}
|
|
855
|
-
}),
|
|
853
|
+
}), gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
856
854
|
__proto__: null,
|
|
857
|
-
default:
|
|
858
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
855
|
+
default: Aa
|
|
856
|
+
}, Symbol.toStringTag, { value: "Module" })), Qa = {
|
|
859
857
|
name: "select"
|
|
860
|
-
},
|
|
861
|
-
...
|
|
858
|
+
}, Ua = /* @__PURE__ */ A({
|
|
859
|
+
...Qa,
|
|
862
860
|
props: {
|
|
863
861
|
setting: { default: () => ({
|
|
864
862
|
icon: "",
|
|
@@ -887,15 +885,15 @@ const $a = (n, e) => {
|
|
|
887
885
|
d.value.data.forEach((r) => {
|
|
888
886
|
if (e.setting.options.customQuery.alias && e.setting.options.customQuery.alias === r.alias) {
|
|
889
887
|
l.value = null;
|
|
890
|
-
const
|
|
891
|
-
let
|
|
892
|
-
|
|
893
|
-
const
|
|
894
|
-
|
|
888
|
+
const R = r.conditionfield.filter((L) => L.defaultType == 1);
|
|
889
|
+
let j = {};
|
|
890
|
+
R.forEach((L) => {
|
|
891
|
+
const M = L.fieldPath.split("."), B = M[M.length - 1];
|
|
892
|
+
j[L.field] = b(B);
|
|
895
893
|
}), ue(
|
|
896
894
|
e.setting.options.customQuery.alias,
|
|
897
895
|
e.setting.options.customQuery.conditionfield,
|
|
898
|
-
|
|
896
|
+
j
|
|
899
897
|
).then((L) => {
|
|
900
898
|
v.value = L;
|
|
901
899
|
});
|
|
@@ -912,13 +910,13 @@ const $a = (n, e) => {
|
|
|
912
910
|
if (e.setting.options.customQuery.alias) {
|
|
913
911
|
let r = (m = (N = e.setting.options) == null ? void 0 : N.customQuery) == null ? void 0 : m.conditionfield;
|
|
914
912
|
typeof r == "string" && (r = JSON.parse(r));
|
|
915
|
-
const
|
|
916
|
-
let
|
|
917
|
-
|
|
918
|
-
var
|
|
919
|
-
const
|
|
920
|
-
|
|
921
|
-
}), Object.values(
|
|
913
|
+
const R = r.filter((L) => L.defaultType == 1);
|
|
914
|
+
let j = {};
|
|
915
|
+
R.forEach((L) => {
|
|
916
|
+
var K;
|
|
917
|
+
const M = (K = L.fieldPath) == null ? void 0 : K.split("."), B = M[M.length - 1];
|
|
918
|
+
j[L.field] = b(B);
|
|
919
|
+
}), Object.values(j).every((L) => L) && ue(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield, j).then(
|
|
922
920
|
(L) => {
|
|
923
921
|
v.value = L;
|
|
924
922
|
}
|
|
@@ -926,24 +924,24 @@ const $a = (n, e) => {
|
|
|
926
924
|
} else
|
|
927
925
|
v.value = e.setting.options.options;
|
|
928
926
|
const y = u();
|
|
929
|
-
e.setting.options.tip && (y.value =
|
|
927
|
+
e.setting.options.tip && (y.value = J(e.setting.options.tip)), l.value = e.setting.options.multiple ? [] : null, setTimeout(() => {
|
|
930
928
|
e.setting.options.multiple && (b(e.setting.name) || e.setting.options.formulasDiyJs) ? (b(e.setting.name) && (l.value = b(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (l.value = e.setting.options.formulasDiyJs.split(","))) : l.value = b(e.setting.name) || e.setting.options.formulasDiyJs || l.value, l.value || o(e.setting.name, null);
|
|
931
929
|
}, 50), e.setting.options.validateList.length && V(e.setting.name, e.setting.options.validateList), z(l, (r) => {
|
|
932
930
|
e.setting.options.multiple ? o(e.setting.name, r.toString()) : o(e.setting.name, r);
|
|
933
931
|
});
|
|
934
932
|
const h = (r) => {
|
|
935
|
-
e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((
|
|
936
|
-
if (
|
|
937
|
-
const L =
|
|
938
|
-
t.value[L] =
|
|
933
|
+
e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((R) => {
|
|
934
|
+
if (R.value === r) {
|
|
935
|
+
const L = R.effect[0].target.split(".")[2];
|
|
936
|
+
t.value[L] = R.effect[0].type === "w";
|
|
939
937
|
}
|
|
940
938
|
});
|
|
941
939
|
};
|
|
942
|
-
return (r,
|
|
940
|
+
return (r, R) => p.value ? (k(), E(a(Q), {
|
|
943
941
|
key: 0,
|
|
944
942
|
col: e.span,
|
|
945
943
|
modelValue: l.value,
|
|
946
|
-
"onUpdate:modelValue":
|
|
944
|
+
"onUpdate:modelValue": R[0] || (R[0] = (j) => l.value = j),
|
|
947
945
|
label: r.setting.desc,
|
|
948
946
|
onChange: h,
|
|
949
947
|
type: "select",
|
|
@@ -961,29 +959,29 @@ const $a = (n, e) => {
|
|
|
961
959
|
required: f.value
|
|
962
960
|
}, null, 8, ["col", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : q("v-if", !0);
|
|
963
961
|
}
|
|
964
|
-
}),
|
|
962
|
+
}), mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
965
963
|
__proto__: null,
|
|
966
|
-
default:
|
|
967
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
968
|
-
var ie, re, de, ce,
|
|
969
|
-
const i = Xe().id, d = u(!1), o = (
|
|
970
|
-
user:
|
|
971
|
-
org:
|
|
972
|
-
role:
|
|
973
|
-
job:
|
|
974
|
-
post:
|
|
975
|
-
supplier:
|
|
976
|
-
source:
|
|
977
|
-
device:
|
|
964
|
+
default: Ua
|
|
965
|
+
}, Symbol.toStringTag, { value: "Module" })), xa = (n, e, t) => {
|
|
966
|
+
var ie, re, de, ce, T;
|
|
967
|
+
const i = Xe().id, d = u(!1), o = (T = (ce = (de = (re = (ie = n == null ? void 0 : n.options) == null ? void 0 : ie.selector) == null ? void 0 : re.type) == null ? void 0 : de.alias) == null ? void 0 : ce.replace("eip-", "")) == null ? void 0 : T.replace("-selector", ""), b = u([]), V = u(""), s = u(""), l = u(""), p = u(""), g = {
|
|
968
|
+
user: O("搜索姓名/账号/手机号").value,
|
|
969
|
+
org: O("搜索组织名称/组织编码").value,
|
|
970
|
+
role: O("搜索角色名称").value,
|
|
971
|
+
job: O("职务名称/职务编码").value,
|
|
972
|
+
post: O("搜索岗位名称/岗位编码").value,
|
|
973
|
+
supplier: O("搜索供应商编码/名称").value,
|
|
974
|
+
source: O("搜索单据编码/申请人").value,
|
|
975
|
+
device: O("搜索设备编码/名称").value
|
|
978
976
|
}, f = {
|
|
979
|
-
user:
|
|
980
|
-
org:
|
|
981
|
-
role:
|
|
982
|
-
job:
|
|
983
|
-
post:
|
|
984
|
-
supplier:
|
|
985
|
-
source:
|
|
986
|
-
device:
|
|
977
|
+
user: O("添加用户").value,
|
|
978
|
+
org: O("组织选择器").value,
|
|
979
|
+
role: O("角色选择器").value,
|
|
980
|
+
job: O("职务选择器").value,
|
|
981
|
+
post: O("岗位选择器").value,
|
|
982
|
+
supplier: O("选择供应商").value,
|
|
983
|
+
source: O("选择源单").value,
|
|
984
|
+
device: O("选择报修设备").value
|
|
987
985
|
}, c = {
|
|
988
986
|
user: "id",
|
|
989
987
|
org: "id",
|
|
@@ -992,30 +990,31 @@ const $a = (n, e) => {
|
|
|
992
990
|
post: "stationId",
|
|
993
991
|
supplier: "id",
|
|
994
992
|
source: "code",
|
|
995
|
-
device: "
|
|
993
|
+
device: "deviceId"
|
|
996
994
|
}, C = {
|
|
997
|
-
1:
|
|
998
|
-
2:
|
|
999
|
-
3:
|
|
995
|
+
1: O("正常").value,
|
|
996
|
+
2: O("锁定").value,
|
|
997
|
+
3: O("禁用").value
|
|
1000
998
|
}, v = {
|
|
1001
|
-
0:
|
|
1002
|
-
1:
|
|
999
|
+
0: O("普通").value,
|
|
1000
|
+
1: O("管理员").value
|
|
1003
1001
|
}, y = {
|
|
1004
|
-
0:
|
|
1005
|
-
1:
|
|
1002
|
+
0: O("无效").value,
|
|
1003
|
+
1: O("有效").value
|
|
1006
1004
|
}, h = {
|
|
1007
|
-
user:
|
|
1005
|
+
user: na,
|
|
1008
1006
|
org: Ve,
|
|
1009
|
-
role:
|
|
1007
|
+
role: oa,
|
|
1010
1008
|
job: Ve,
|
|
1011
1009
|
post: Ve,
|
|
1012
|
-
supplier:
|
|
1013
|
-
|
|
1014
|
-
|
|
1010
|
+
supplier: ca,
|
|
1011
|
+
device: fa
|
|
1012
|
+
}, N = f[o], m = u({}), r = u([]), R = () => {
|
|
1013
|
+
var w, I;
|
|
1015
1014
|
o === "supplier" && (m.value = {
|
|
1016
1015
|
left: !1,
|
|
1017
1016
|
content: {
|
|
1018
|
-
api:
|
|
1017
|
+
api: da,
|
|
1019
1018
|
params: {
|
|
1020
1019
|
flowKey: e,
|
|
1021
1020
|
clientType: "pc",
|
|
@@ -1040,18 +1039,18 @@ const $a = (n, e) => {
|
|
|
1040
1039
|
}
|
|
1041
1040
|
},
|
|
1042
1041
|
right: !1
|
|
1043
|
-
},
|
|
1042
|
+
}, H(), L()), o === "device" ? (m.value = {
|
|
1044
1043
|
left: !1,
|
|
1045
1044
|
content: {
|
|
1046
1045
|
multiple: !1,
|
|
1047
|
-
api:
|
|
1046
|
+
api: va,
|
|
1048
1047
|
params: {
|
|
1049
1048
|
deviceNameOrCode: "",
|
|
1050
1049
|
groupId: null,
|
|
1051
1050
|
spaceId: ""
|
|
1052
1051
|
},
|
|
1053
1052
|
props: {
|
|
1054
|
-
rowKey: "
|
|
1053
|
+
rowKey: "deviceId",
|
|
1055
1054
|
rowName: "deviceName"
|
|
1056
1055
|
},
|
|
1057
1056
|
selectListProps: {
|
|
@@ -1059,10 +1058,10 @@ const $a = (n, e) => {
|
|
|
1059
1058
|
}
|
|
1060
1059
|
},
|
|
1061
1060
|
right: !1
|
|
1062
|
-
},
|
|
1061
|
+
}, K(), G()) : o === "source" ? (m.value = {
|
|
1063
1062
|
left: !1,
|
|
1064
1063
|
content: {
|
|
1065
|
-
api:
|
|
1064
|
+
api: ma,
|
|
1066
1065
|
params: {
|
|
1067
1066
|
key: "",
|
|
1068
1067
|
code: t
|
|
@@ -1077,10 +1076,10 @@ const $a = (n, e) => {
|
|
|
1077
1076
|
}
|
|
1078
1077
|
},
|
|
1079
1078
|
right: !1
|
|
1080
|
-
},
|
|
1079
|
+
}, j()) : o === "org" ? (m.value = {
|
|
1081
1080
|
left: !1,
|
|
1082
1081
|
content: {
|
|
1083
|
-
api:
|
|
1082
|
+
api: la,
|
|
1084
1083
|
params: {
|
|
1085
1084
|
search: ""
|
|
1086
1085
|
},
|
|
@@ -1088,16 +1087,16 @@ const $a = (n, e) => {
|
|
|
1088
1087
|
data: []
|
|
1089
1088
|
}
|
|
1090
1089
|
}
|
|
1091
|
-
},
|
|
1090
|
+
}, j()) : m.value = {
|
|
1092
1091
|
left: {
|
|
1093
|
-
api:
|
|
1092
|
+
api: ta,
|
|
1094
1093
|
params: {
|
|
1095
1094
|
projectId: i,
|
|
1096
1095
|
parentId: i
|
|
1097
1096
|
},
|
|
1098
1097
|
props: {
|
|
1099
1098
|
inputOptions: {
|
|
1100
|
-
placeholder:
|
|
1099
|
+
placeholder: O("搜索组织名称").value
|
|
1101
1100
|
}
|
|
1102
1101
|
}
|
|
1103
1102
|
},
|
|
@@ -1107,7 +1106,7 @@ const $a = (n, e) => {
|
|
|
1107
1106
|
}
|
|
1108
1107
|
}
|
|
1109
1108
|
}, o === "user" && (m.value.content = {
|
|
1110
|
-
api:
|
|
1109
|
+
api: aa,
|
|
1111
1110
|
searchKey: "groupId",
|
|
1112
1111
|
params: {
|
|
1113
1112
|
status: 1,
|
|
@@ -1116,8 +1115,8 @@ const $a = (n, e) => {
|
|
|
1116
1115
|
selectListProps: {
|
|
1117
1116
|
data: []
|
|
1118
1117
|
}
|
|
1119
|
-
},
|
|
1120
|
-
api:
|
|
1118
|
+
}, j()), o === "role" && (m.value.content = {
|
|
1119
|
+
api: sa,
|
|
1121
1120
|
searchKey: "orgId",
|
|
1122
1121
|
params: {
|
|
1123
1122
|
status: 1
|
|
@@ -1125,8 +1124,8 @@ const $a = (n, e) => {
|
|
|
1125
1124
|
selectListProps: {
|
|
1126
1125
|
data: []
|
|
1127
1126
|
}
|
|
1128
|
-
},
|
|
1129
|
-
api:
|
|
1127
|
+
}, j()), o === "job" && (m.value.content = {
|
|
1128
|
+
api: ra,
|
|
1130
1129
|
searchKey: "groupId",
|
|
1131
1130
|
props: {
|
|
1132
1131
|
rowKey: "positionId"
|
|
@@ -1134,8 +1133,8 @@ const $a = (n, e) => {
|
|
|
1134
1133
|
selectListProps: {
|
|
1135
1134
|
data: []
|
|
1136
1135
|
}
|
|
1137
|
-
},
|
|
1138
|
-
api:
|
|
1136
|
+
}, j()), o === "post" && (m.value.content = {
|
|
1137
|
+
api: ia,
|
|
1139
1138
|
searchKey: "groupId",
|
|
1140
1139
|
props: {
|
|
1141
1140
|
rowKey: "stationId"
|
|
@@ -1143,8 +1142,8 @@ const $a = (n, e) => {
|
|
|
1143
1142
|
selectListProps: {
|
|
1144
1143
|
data: []
|
|
1145
1144
|
}
|
|
1146
|
-
},
|
|
1147
|
-
},
|
|
1145
|
+
}, j()), m.value.content.multiple = o === "supplier" || o === "source" || o === "device" ? !1 : !((I = (w = n == null ? void 0 : n.options) == null ? void 0 : w.selector) != null && I.isSingle);
|
|
1146
|
+
}, j = async () => {
|
|
1148
1147
|
r.value = [
|
|
1149
1148
|
{
|
|
1150
1149
|
type: "searchInput",
|
|
@@ -1173,7 +1172,7 @@ const $a = (n, e) => {
|
|
|
1173
1172
|
},
|
|
1174
1173
|
{
|
|
1175
1174
|
type: "select",
|
|
1176
|
-
label:
|
|
1175
|
+
label: O("供应商类型").value,
|
|
1177
1176
|
layout: "out",
|
|
1178
1177
|
width: "200px",
|
|
1179
1178
|
closable: !0,
|
|
@@ -1185,16 +1184,16 @@ const $a = (n, e) => {
|
|
|
1185
1184
|
allowClear: !0
|
|
1186
1185
|
}
|
|
1187
1186
|
];
|
|
1188
|
-
},
|
|
1187
|
+
}, M = (w) => {
|
|
1189
1188
|
w.id == "-1" ? w.disabled = !0 : w.disabled = !1;
|
|
1190
1189
|
}, B = async (w) => {
|
|
1191
|
-
let
|
|
1192
|
-
w != null && w.id && (
|
|
1193
|
-
const [_, x] = await
|
|
1190
|
+
let I = { spaceId: "" };
|
|
1191
|
+
w != null && w.id && (I.spaceId = w.id);
|
|
1192
|
+
const [_, x] = await st(I).run();
|
|
1194
1193
|
return _ ? {} : (x.data.forEach((oe) => {
|
|
1195
|
-
|
|
1194
|
+
M(oe);
|
|
1196
1195
|
}), x);
|
|
1197
|
-
},
|
|
1196
|
+
}, K = async () => {
|
|
1198
1197
|
r.value = [
|
|
1199
1198
|
{
|
|
1200
1199
|
type: "searchInput",
|
|
@@ -1210,17 +1209,17 @@ const $a = (n, e) => {
|
|
|
1210
1209
|
{
|
|
1211
1210
|
type: "treeSelect",
|
|
1212
1211
|
key: "groupId",
|
|
1213
|
-
label:
|
|
1212
|
+
label: O("设备分类").value,
|
|
1214
1213
|
size: "mini",
|
|
1215
1214
|
value: "",
|
|
1216
1215
|
nodeKey: "id",
|
|
1217
1216
|
options: [],
|
|
1218
|
-
placeholder:
|
|
1217
|
+
placeholder: O("请选择").value,
|
|
1219
1218
|
selectAttrs: { allowClear: !0 }
|
|
1220
1219
|
},
|
|
1221
1220
|
{
|
|
1222
1221
|
key: "spaceId",
|
|
1223
|
-
label:
|
|
1222
|
+
label: O("安装位置").value,
|
|
1224
1223
|
type: "treeSelect",
|
|
1225
1224
|
defaultExpandedKeys: [],
|
|
1226
1225
|
path: "",
|
|
@@ -1232,35 +1231,35 @@ const $a = (n, e) => {
|
|
|
1232
1231
|
options: []
|
|
1233
1232
|
}
|
|
1234
1233
|
];
|
|
1235
|
-
},
|
|
1234
|
+
}, H = async () => {
|
|
1236
1235
|
const w = {
|
|
1237
1236
|
name: "",
|
|
1238
1237
|
published: 1
|
|
1239
|
-
}, [
|
|
1240
|
-
|
|
1241
|
-
},
|
|
1242
|
-
var
|
|
1243
|
-
w.leaf = !((
|
|
1238
|
+
}, [I, _] = await ga(w).run();
|
|
1239
|
+
I || (r.value[1].options = _);
|
|
1240
|
+
}, ae = (w) => {
|
|
1241
|
+
var I, _;
|
|
1242
|
+
w.leaf = !((I = w.children) != null && I.length), w.parentId === "0" && (w.id = "-1"), (_ = w.children) == null || _.forEach(ae);
|
|
1244
1243
|
}, G = async () => {
|
|
1245
|
-
const [w,
|
|
1244
|
+
const [w, I] = await ha().run();
|
|
1246
1245
|
if (w) return;
|
|
1247
|
-
const _ = [
|
|
1248
|
-
_.forEach(
|
|
1249
|
-
},
|
|
1250
|
-
var
|
|
1246
|
+
const _ = [I];
|
|
1247
|
+
_.forEach(ae), r.value[1].options = _, r.value[1].value = "-1";
|
|
1248
|
+
}, X = () => {
|
|
1249
|
+
var I;
|
|
1251
1250
|
V.value = "", d.value = !0;
|
|
1252
1251
|
let w = c[o];
|
|
1253
|
-
m.value.content.selectListProps.data = (
|
|
1252
|
+
m.value.content.selectListProps.data = (I = b == null ? void 0 : b.value) == null ? void 0 : I.map((_) => o === "device" ? { deviceName: _ == null ? void 0 : _.label, [w]: _ == null ? void 0 : _.value } : { name: _ == null ? void 0 : _.label, [w]: _ == null ? void 0 : _.value });
|
|
1254
1253
|
};
|
|
1255
|
-
|
|
1254
|
+
R();
|
|
1256
1255
|
const pe = async () => {
|
|
1257
|
-
var w,
|
|
1256
|
+
var w, I, _, x, oe, F, ee, $e, Fe, je, Ke, Ee, Oe, qe, Be, Ae, Qe, Ue, xe, Ye;
|
|
1258
1257
|
if (m.value.content.params = {
|
|
1259
|
-
...(
|
|
1258
|
+
...(I = (w = m == null ? void 0 : m.value) == null ? void 0 : w.content) == null ? void 0 : I.params,
|
|
1260
1259
|
pageIndex: 1
|
|
1261
1260
|
}, (o === "user" || o === "org" || o === "post" || o === "role" || o === "job") && (m.value.content.params.name = (_ = r == null ? void 0 : r.value[0]) == null ? void 0 : _.value), o === "source" && (m.value.content.params.key = (x = r == null ? void 0 : r.value[0]) == null ? void 0 : x.value), o === "device") {
|
|
1262
|
-
const
|
|
1263
|
-
m.value.content.params.deviceNameOrCode = ((
|
|
1261
|
+
const Ce = (oe = r == null ? void 0 : r.value[1]) == null ? void 0 : oe.value;
|
|
1262
|
+
m.value.content.params.deviceNameOrCode = ((F = r == null ? void 0 : r.value[0]) == null ? void 0 : F.value) || "", m.value.content.params.groupId = !Ce || Ce === "-1" ? null : Ce, m.value.content.params.spaceId = ((ee = r == null ? void 0 : r.value[2]) == null ? void 0 : ee.value) || "";
|
|
1264
1263
|
}
|
|
1265
1264
|
o === "supplier" && (m.value.content.params.querys = [
|
|
1266
1265
|
{
|
|
@@ -1270,7 +1269,7 @@ const $a = (n, e) => {
|
|
|
1270
1269
|
relation: "AND",
|
|
1271
1270
|
operation: "EQUAL"
|
|
1272
1271
|
}
|
|
1273
|
-
], ($e = r == null ? void 0 : r.value[0]) != null && $e.value && (m.value.content.params.querys = (
|
|
1272
|
+
], ($e = r == null ? void 0 : r.value[0]) != null && $e.value && (m.value.content.params.querys = (qe = (Ke = (je = (Fe = m == null ? void 0 : m.value) == null ? void 0 : Fe.content) == null ? void 0 : je.params) == null ? void 0 : Ke.querys) == null ? void 0 : qe.concat([
|
|
1274
1273
|
{
|
|
1275
1274
|
property: "name",
|
|
1276
1275
|
value: (Ee = r == null ? void 0 : r.value[0]) == null ? void 0 : Ee.value,
|
|
@@ -1280,7 +1279,7 @@ const $a = (n, e) => {
|
|
|
1280
1279
|
},
|
|
1281
1280
|
{
|
|
1282
1281
|
property: "code",
|
|
1283
|
-
value: (
|
|
1282
|
+
value: (Oe = r == null ? void 0 : r.value[0]) == null ? void 0 : Oe.value,
|
|
1284
1283
|
group: "merge",
|
|
1285
1284
|
relation: "OR",
|
|
1286
1285
|
operation: "LIKE"
|
|
@@ -1298,11 +1297,11 @@ const $a = (n, e) => {
|
|
|
1298
1297
|
z(
|
|
1299
1298
|
() => d == null ? void 0 : d.value,
|
|
1300
1299
|
(w) => {
|
|
1301
|
-
w ||
|
|
1300
|
+
w || _e();
|
|
1302
1301
|
}
|
|
1303
1302
|
);
|
|
1304
|
-
const
|
|
1305
|
-
o === "supplier" ? (r.value[0].value = "", r.value[1].value = void 0) : o === "device" ? (r.value[0].value = "", r.value[1].value = "-1", r.value[2].value = "") : (o === "org" || o === "user" || o === "source" || o === "post" || o === "role" || o === "job") && (r.value[0].value = ""),
|
|
1303
|
+
const _e = async () => {
|
|
1304
|
+
o === "supplier" ? (r.value[0].value = "", r.value[1].value = void 0) : o === "device" ? (r.value[0].value = "", r.value[1].value = "-1", r.value[2].value = "") : (o === "org" || o === "user" || o === "source" || o === "post" || o === "role" || o === "job") && (r.value[0].value = ""), R();
|
|
1306
1305
|
};
|
|
1307
1306
|
return {
|
|
1308
1307
|
dialogVisible: d,
|
|
@@ -1314,15 +1313,15 @@ const $a = (n, e) => {
|
|
|
1314
1313
|
userStatusMap: C,
|
|
1315
1314
|
roleTypeMap: v,
|
|
1316
1315
|
roleStatusMap: y,
|
|
1317
|
-
openDialog:
|
|
1316
|
+
openDialog: X,
|
|
1318
1317
|
confirm: (w) => {
|
|
1319
1318
|
var _, x, oe;
|
|
1320
|
-
let
|
|
1321
|
-
b.value = w == null ? void 0 : w.map((
|
|
1319
|
+
let I = c[o];
|
|
1320
|
+
b.value = w == null ? void 0 : w.map((F) => ({ label: (F == null ? void 0 : F.deviceName) || (F == null ? void 0 : F.name) || (F == null ? void 0 : F.code), value: F[I] })), o === "supplier" && (s.value = (_ = w[0]) == null ? void 0 : _.linkmanPhone), o === "device" && (l.value = (x = w[0]) == null ? void 0 : x.spaceId, p.value = (oe = w[0]) == null ? void 0 : oe.spaceSite);
|
|
1322
1321
|
},
|
|
1323
1322
|
getDetail: async (w) => {
|
|
1324
1323
|
if (!w) return;
|
|
1325
|
-
const
|
|
1324
|
+
const I = h[o];
|
|
1326
1325
|
let _ = {};
|
|
1327
1326
|
const x = w == null ? void 0 : w.split(",");
|
|
1328
1327
|
if (o === "source") {
|
|
@@ -1333,14 +1332,19 @@ const $a = (n, e) => {
|
|
|
1333
1332
|
}
|
|
1334
1333
|
];
|
|
1335
1334
|
return;
|
|
1336
|
-
} else o === "user" ? _.userIds = x : o === "role" ? _.ids = x : o === "supplier" ? _.id = x : _ = x;
|
|
1337
|
-
const [oe,
|
|
1335
|
+
} else o === "user" ? _.userIds = x : o === "role" ? _.ids = x : o === "supplier" ? _.id = x : o === "device" ? _.deviceId = w : _ = x;
|
|
1336
|
+
const [oe, F] = await I(_).run();
|
|
1338
1337
|
oe || (o === "supplier" ? b.value = [
|
|
1339
1338
|
{
|
|
1340
|
-
label: (
|
|
1341
|
-
value:
|
|
1339
|
+
label: (F == null ? void 0 : F.name) || (F == null ? void 0 : F.code),
|
|
1340
|
+
value: F == null ? void 0 : F.id
|
|
1342
1341
|
}
|
|
1343
|
-
] :
|
|
1342
|
+
] : o === "device" ? b.value = [
|
|
1343
|
+
{
|
|
1344
|
+
label: F == null ? void 0 : F.deviceName,
|
|
1345
|
+
value: F == null ? void 0 : F.deviceId
|
|
1346
|
+
}
|
|
1347
|
+
] : b.value = F == null ? void 0 : F.map((ee) => ({ label: (ee == null ? void 0 : ee.name) || (ee == null ? void 0 : ee.code), value: ee == null ? void 0 : ee.id })));
|
|
1344
1348
|
},
|
|
1345
1349
|
searchData: pe,
|
|
1346
1350
|
searchOptions: r,
|
|
@@ -1348,7 +1352,7 @@ const $a = (n, e) => {
|
|
|
1348
1352
|
devicePath: l,
|
|
1349
1353
|
devicePathName: p
|
|
1350
1354
|
};
|
|
1351
|
-
},
|
|
1355
|
+
}, Ya = (n) => {
|
|
1352
1356
|
const e = u(""), t = u(""), i = u([]), d = u("");
|
|
1353
1357
|
return {
|
|
1354
1358
|
spacePath: e,
|
|
@@ -1368,13 +1372,13 @@ const $a = (n, e) => {
|
|
|
1368
1372
|
// orgId:getProjectInfo().id
|
|
1369
1373
|
};
|
|
1370
1374
|
p.spaceId = l != null && l.id ? l.id : "";
|
|
1371
|
-
let g =
|
|
1375
|
+
let g = st;
|
|
1372
1376
|
const [f, c] = await g(p).run();
|
|
1373
1377
|
return f ? {} : c;
|
|
1374
1378
|
},
|
|
1375
1379
|
filterSpaceTree: async (l) => {
|
|
1376
1380
|
if (!l) return [];
|
|
1377
|
-
let p =
|
|
1381
|
+
let p = ua;
|
|
1378
1382
|
const g = {
|
|
1379
1383
|
name: l
|
|
1380
1384
|
}, [f, c] = await p(g).run();
|
|
@@ -1383,14 +1387,14 @@ const $a = (n, e) => {
|
|
|
1383
1387
|
}), c);
|
|
1384
1388
|
},
|
|
1385
1389
|
getSpaceDetail: async (l) => {
|
|
1386
|
-
const [p, g] = await
|
|
1390
|
+
const [p, g] = await pa().run({ spaceId: l });
|
|
1387
1391
|
p || (e.value = g.path);
|
|
1388
1392
|
}
|
|
1389
1393
|
};
|
|
1390
|
-
},
|
|
1394
|
+
}, Ja = { class: "table-search-process-top" }, Ha = {
|
|
1391
1395
|
name: "selector"
|
|
1392
|
-
},
|
|
1393
|
-
...
|
|
1396
|
+
}, Wa = /* @__PURE__ */ A({
|
|
1397
|
+
...Ha,
|
|
1394
1398
|
props: {
|
|
1395
1399
|
setting: { default: () => ({
|
|
1396
1400
|
icon: "",
|
|
@@ -1406,9 +1410,9 @@ const $a = (n, e) => {
|
|
|
1406
1410
|
},
|
|
1407
1411
|
setup(n) {
|
|
1408
1412
|
var de, ce;
|
|
1409
|
-
const e = n, t =
|
|
1410
|
-
var
|
|
1411
|
-
return e.isView ? !(o(e.setting.name).split(",").length > 1) : ((
|
|
1413
|
+
const e = n, t = kt(() => {
|
|
1414
|
+
var T, w, I;
|
|
1415
|
+
return e.isView ? !(o(e.setting.name).split(",").length > 1) : ((I = (w = (T = e == null ? void 0 : e.setting) == null ? void 0 : T.options) == null ? void 0 : w.selector) == null ? void 0 : I.isSingle) ?? !0;
|
|
1412
1416
|
}), { showData: i, setData: d, getData: o, flowKey: b, setFormRule: V, deleteRule: s, disabledData: l } = e.store || {}, p = u(""), g = u(!0);
|
|
1413
1417
|
!i.value[e.setting.name] && i.value[e.setting.name] != !1 && (i.value[e.setting.name] = !0), z(
|
|
1414
1418
|
() => i.value,
|
|
@@ -1426,81 +1430,81 @@ const $a = (n, e) => {
|
|
|
1426
1430
|
userStatusMap: N,
|
|
1427
1431
|
roleTypeMap: m,
|
|
1428
1432
|
roleStatusMap: r,
|
|
1429
|
-
openDialog:
|
|
1430
|
-
confirm:
|
|
1433
|
+
openDialog: R,
|
|
1434
|
+
confirm: j,
|
|
1431
1435
|
getDetail: L,
|
|
1432
|
-
searchData:
|
|
1436
|
+
searchData: M,
|
|
1433
1437
|
searchOptions: B,
|
|
1434
|
-
linkmanPhone:
|
|
1435
|
-
devicePath:
|
|
1436
|
-
devicePathName:
|
|
1437
|
-
} =
|
|
1438
|
+
linkmanPhone: K,
|
|
1439
|
+
devicePath: H,
|
|
1440
|
+
devicePathName: ae
|
|
1441
|
+
} = xa(e.setting, b, p), { spacePath: G, spaceName: X, searchSpace: pe, changeSpace: _e, spaceLoad: Re, filterSpaceTree: Pe } = Ya(
|
|
1438
1442
|
t.value
|
|
1439
1443
|
), ie = u(!1);
|
|
1440
|
-
Z(e.setting.options.validateList).then((
|
|
1441
|
-
ie.value =
|
|
1444
|
+
Z(e.setting.options.validateList).then((T) => {
|
|
1445
|
+
ie.value = T;
|
|
1442
1446
|
});
|
|
1443
1447
|
const re = u();
|
|
1444
|
-
return e.setting.options.tip && (re.value =
|
|
1445
|
-
t.value ? d(e.setting.name,
|
|
1446
|
-
}), z(
|
|
1447
|
-
t.value ? d(e.setting.options.selector.type.positionName,
|
|
1448
|
-
})) : y == "supplier" ? (p.value = o(e.setting.name) ? [o(e.setting.name)] : [p.value], p.value && L(o(e.setting.name)), z(p, (
|
|
1449
|
-
d(e.setting.name,
|
|
1450
|
-
}), z(
|
|
1451
|
-
var w,
|
|
1452
|
-
((x = (_ = (
|
|
1453
|
-
})) : y == "device" ? (p.value = o(e.setting.name) ? o(e.setting.name) : p.value, p.value && L(p.value), p.value.length || d(e.setting.name, null),
|
|
1454
|
-
p.value =
|
|
1455
|
-
}), z(
|
|
1456
|
-
d("wzid",
|
|
1457
|
-
}), z(
|
|
1458
|
-
d("wzmc",
|
|
1459
|
-
})) : (p.value = o(e.setting.name) ? o(e.setting.name) : p.value, p.value && L(p.value), p.value.length || d(e.setting.name, null), z(h, (
|
|
1460
|
-
p.value =
|
|
1461
|
-
})), (
|
|
1462
|
-
|
|
1448
|
+
return e.setting.options.tip && (re.value = J(e.setting.options.tip)), e.setting.options.validateList.length && V(e.setting.name, e.setting.options.validateList), y == "position" ? (t.value ? (G.value = o(e.setting.name) ?? "", p.value = o(e.setting.name) ? o(e.setting.name).split("/").pop() : p.value) : (G.value = [], p.value = o(e.setting.name) ? (ce = (de = o(e.setting.name)) == null ? void 0 : de.split(",")) == null ? void 0 : ce.map((T) => (G.value.push(T), T.split("/").pop())) : []), p.value || d(e.setting.name, null), z(p, (T) => {
|
|
1449
|
+
t.value ? d(e.setting.name, T) : d(e.setting.name, (T == null ? void 0 : T.join(",")) || "");
|
|
1450
|
+
}), z(X, (T) => {
|
|
1451
|
+
t.value ? d(e.setting.options.selector.type.positionName, T) : d(e.setting.options.selector.type.positionName, (T == null ? void 0 : T.join(",")) || "");
|
|
1452
|
+
})) : y == "supplier" ? (p.value = o(e.setting.name) ? [o(e.setting.name)] : [p.value], p.value && L(o(e.setting.name)), z(p, (T) => {
|
|
1453
|
+
d(e.setting.name, T == null ? void 0 : T.toString());
|
|
1454
|
+
}), z(K, (T) => {
|
|
1455
|
+
var w, I, _, x;
|
|
1456
|
+
((x = (_ = (I = (w = e == null ? void 0 : e.setting) == null ? void 0 : w.options) == null ? void 0 : I.selector) == null ? void 0 : _.type) == null ? void 0 : x.supplierPhone) !== void 0 && d(e.setting.options.selector.type.supplierPhone, T);
|
|
1457
|
+
})) : y == "device" ? (p.value = o(e.setting.name) ? o(e.setting.name) : p.value, p.value && L(p.value), p.value.length || d(e.setting.name, null), H.value = o("wzid") || "", ae.value = o("wzmc") || "", z(h, (T) => {
|
|
1458
|
+
p.value = T.map((w) => w.value).toString(), d(e.setting.name, p.value);
|
|
1459
|
+
}), z(H, (T) => {
|
|
1460
|
+
d("wzid", T);
|
|
1461
|
+
}), z(ae, (T) => {
|
|
1462
|
+
d("wzmc", T);
|
|
1463
|
+
})) : (p.value = o(e.setting.name) ? o(e.setting.name) : p.value, p.value && L(p.value), p.value.length || d(e.setting.name, null), z(h, (T) => {
|
|
1464
|
+
p.value = T.map((w) => w.value).toString(), d(e.setting.name, p.value);
|
|
1465
|
+
})), (T, w) => (k(), U(
|
|
1466
|
+
te,
|
|
1463
1467
|
null,
|
|
1464
1468
|
[
|
|
1465
|
-
g.value && a(y) != "position" ? (k(),
|
|
1469
|
+
g.value && a(y) != "position" ? (k(), E(a(Q), {
|
|
1466
1470
|
key: 0,
|
|
1467
1471
|
col: e.span,
|
|
1468
1472
|
modelValue: p.value,
|
|
1469
|
-
"onUpdate:modelValue": w[1] || (w[1] = (
|
|
1473
|
+
"onUpdate:modelValue": w[1] || (w[1] = (I) => p.value = I),
|
|
1470
1474
|
prop: e.setting.name,
|
|
1471
|
-
label:
|
|
1475
|
+
label: T.setting.desc,
|
|
1472
1476
|
type: "inputDialogSelect",
|
|
1473
1477
|
options: a(h),
|
|
1474
1478
|
helpMessage: re.value,
|
|
1475
1479
|
isView: e.isView,
|
|
1476
1480
|
disabled: a(f),
|
|
1477
1481
|
required: ie.value,
|
|
1478
|
-
placeholder:
|
|
1479
|
-
onOpenDialog: a(
|
|
1482
|
+
placeholder: T.setting.options.placeholder || a(D)("请选择"),
|
|
1483
|
+
onOpenDialog: a(R)
|
|
1480
1484
|
}, {
|
|
1481
1485
|
default: P(() => {
|
|
1482
|
-
var
|
|
1486
|
+
var I;
|
|
1483
1487
|
return [
|
|
1484
|
-
S(a(
|
|
1488
|
+
S(a(Kt), {
|
|
1485
1489
|
"append-to-body": "",
|
|
1486
1490
|
modelValue: a(c),
|
|
1487
|
-
"onUpdate:modelValue": w[0] || (w[0] = (_) =>
|
|
1491
|
+
"onUpdate:modelValue": w[0] || (w[0] = (_) => De(c) ? c.value = _ : null),
|
|
1488
1492
|
options: a(v),
|
|
1489
|
-
onConfirm: a(
|
|
1493
|
+
onConfirm: a(j),
|
|
1490
1494
|
title: a(C),
|
|
1491
1495
|
"body-style": { padding: "0px" }
|
|
1492
|
-
},
|
|
1496
|
+
}, St({
|
|
1493
1497
|
_: 2
|
|
1494
1498
|
/* DYNAMIC */
|
|
1495
1499
|
}, [
|
|
1496
|
-
((
|
|
1500
|
+
((I = a(B)) == null ? void 0 : I.length) > 0 ? {
|
|
1497
1501
|
name: "table-header-search",
|
|
1498
1502
|
fn: P(() => [
|
|
1499
|
-
Ze("div",
|
|
1500
|
-
S(a(
|
|
1503
|
+
Ze("div", Ja, [
|
|
1504
|
+
S(a(jt), {
|
|
1501
1505
|
labelLength: "6",
|
|
1502
1506
|
options: a(B),
|
|
1503
|
-
onConfirm: a(
|
|
1507
|
+
onConfirm: a(M),
|
|
1504
1508
|
"is-margin-right": !1,
|
|
1505
1509
|
isExpandAtFocus: a(y) !== "device"
|
|
1506
1510
|
}, null, 8, ["options", "onConfirm", "isExpandAtFocus"])
|
|
@@ -1768,7 +1772,7 @@ const $a = (n, e) => {
|
|
|
1768
1772
|
}, {
|
|
1769
1773
|
default: P(({ row: _ }) => [
|
|
1770
1774
|
ne(
|
|
1771
|
-
se(_.claimingDate ? a(
|
|
1775
|
+
se(_.claimingDate ? a(ye)(Number(_ == null ? void 0 : _.claimingDate)).format("YYYY/MM/DD") : "-"),
|
|
1772
1776
|
1
|
|
1773
1777
|
/* TEXT */
|
|
1774
1778
|
)
|
|
@@ -1789,62 +1793,52 @@ const $a = (n, e) => {
|
|
|
1789
1793
|
_: 1
|
|
1790
1794
|
/* STABLE */
|
|
1791
1795
|
}, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "placeholder", "onOpenDialog"])) : q("v-if", !0),
|
|
1792
|
-
g.value && a(y) == "position" ? (k(),
|
|
1796
|
+
g.value && a(y) == "position" ? (k(), E(a(Q), {
|
|
1793
1797
|
key: 1,
|
|
1794
1798
|
col: e.span,
|
|
1795
|
-
label:
|
|
1799
|
+
label: T.setting.desc,
|
|
1796
1800
|
prop: e.setting.name,
|
|
1797
1801
|
type: "treeSelect",
|
|
1798
1802
|
"node-key": "id",
|
|
1799
1803
|
showFullPath: !0,
|
|
1800
1804
|
helpMessage: re.value,
|
|
1801
|
-
placeholder:
|
|
1805
|
+
placeholder: T.setting.options.placeholder,
|
|
1802
1806
|
required: ie.value,
|
|
1803
1807
|
modelValue: p.value,
|
|
1804
|
-
"onUpdate:modelValue": w[2] || (w[2] = (
|
|
1808
|
+
"onUpdate:modelValue": w[2] || (w[2] = (I) => p.value = I),
|
|
1805
1809
|
keyword: a(pe),
|
|
1806
|
-
"onUpdate:keyword": w[3] || (w[3] = (
|
|
1810
|
+
"onUpdate:keyword": w[3] || (w[3] = (I) => De(pe) ? pe.value = I : null),
|
|
1807
1811
|
path: a(G),
|
|
1808
|
-
"onUpdate:path": w[4] || (w[4] = (
|
|
1812
|
+
"onUpdate:path": w[4] || (w[4] = (I) => De(G) ? G.value = I : null),
|
|
1809
1813
|
isView: e.isView,
|
|
1810
1814
|
disabled: a(f),
|
|
1811
|
-
load: a(
|
|
1815
|
+
load: a(Re),
|
|
1812
1816
|
search: a(Pe),
|
|
1813
1817
|
props: {
|
|
1814
1818
|
isLeaf: "leaf",
|
|
1815
1819
|
label: "name"
|
|
1816
1820
|
},
|
|
1817
|
-
onChange: a(
|
|
1821
|
+
onChange: a(_e),
|
|
1818
1822
|
mode: t.value ? "" : "multiple"
|
|
1819
|
-
}, null, 8, ["col", "label", "prop", "helpMessage", "placeholder", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange", "mode"])) : q("v-if", !0)
|
|
1820
|
-
g.value && a(y) == "device" ? (k(), K(a(A), {
|
|
1821
|
-
key: 2,
|
|
1822
|
-
label: a(D)("报修位置"),
|
|
1823
|
-
type: "input",
|
|
1824
|
-
col: e.span,
|
|
1825
|
-
modelValue: a(W),
|
|
1826
|
-
"onUpdate:modelValue": w[5] || (w[5] = (M) => fe(W) ? W.value = M : null),
|
|
1827
|
-
required: "",
|
|
1828
|
-
disabled: ""
|
|
1829
|
-
}, null, 8, ["label", "col", "modelValue"])) : q("v-if", !0)
|
|
1823
|
+
}, null, 8, ["col", "label", "prop", "helpMessage", "placeholder", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange", "mode"])) : q("v-if", !0)
|
|
1830
1824
|
],
|
|
1831
1825
|
64
|
|
1832
1826
|
/* STABLE_FRAGMENT */
|
|
1833
1827
|
));
|
|
1834
1828
|
}
|
|
1835
|
-
}),
|
|
1829
|
+
}), Za = /* @__PURE__ */ we(Wa, [["__scopeId", "data-v-3115a268"]]), vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1836
1830
|
__proto__: null,
|
|
1837
|
-
default:
|
|
1838
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1831
|
+
default: Za
|
|
1832
|
+
}, Symbol.toStringTag, { value: "Module" })), Ga = {
|
|
1839
1833
|
key: 0,
|
|
1840
1834
|
class: "form-image"
|
|
1841
|
-
},
|
|
1835
|
+
}, Xa = {
|
|
1842
1836
|
key: 1,
|
|
1843
1837
|
style: { "margin-bottom": "10px" }
|
|
1844
|
-
},
|
|
1838
|
+
}, en = {
|
|
1845
1839
|
name: "soundRecording"
|
|
1846
|
-
},
|
|
1847
|
-
...
|
|
1840
|
+
}, tn = /* @__PURE__ */ A({
|
|
1841
|
+
...en,
|
|
1848
1842
|
props: {
|
|
1849
1843
|
setting: { default: () => ({
|
|
1850
1844
|
icon: "",
|
|
@@ -1867,16 +1861,16 @@ const $a = (n, e) => {
|
|
|
1867
1861
|
},
|
|
1868
1862
|
{ deep: !0, immediate: !0 }
|
|
1869
1863
|
), i.value[e.setting.name];
|
|
1870
|
-
const { baseURL: p } =
|
|
1864
|
+
const { baseURL: p } = Et(), g = u(!1);
|
|
1871
1865
|
Z(e.setting.options.validateList).then((C) => {
|
|
1872
1866
|
g.value = C;
|
|
1873
1867
|
});
|
|
1874
1868
|
const f = u("info"), c = u();
|
|
1875
|
-
if (e.setting.options.tip && (c.value =
|
|
1869
|
+
if (e.setting.options.tip && (c.value = J(e.setting.options.tip)), o(e.setting.name)) {
|
|
1876
1870
|
const C = JSON.parse(o(e.setting.name));
|
|
1877
1871
|
s.value = p + C[0].url;
|
|
1878
1872
|
}
|
|
1879
|
-
return e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), (C, v) => e.isView && l.value ? (k(),
|
|
1873
|
+
return e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), (C, v) => e.isView && l.value ? (k(), E(a(Q), {
|
|
1880
1874
|
key: 0,
|
|
1881
1875
|
modelValue: s.value,
|
|
1882
1876
|
"onUpdate:modelValue": v[2] || (v[2] = (y) => s.value = y),
|
|
@@ -1889,7 +1883,7 @@ const $a = (n, e) => {
|
|
|
1889
1883
|
col: e.span
|
|
1890
1884
|
}, {
|
|
1891
1885
|
default: P(() => [
|
|
1892
|
-
s.value ? (k(), U("div",
|
|
1886
|
+
s.value ? (k(), U("div", Ga, [
|
|
1893
1887
|
S(a(Ge), {
|
|
1894
1888
|
modelValue: s.value,
|
|
1895
1889
|
"onUpdate:modelValue": v[0] || (v[0] = (y) => s.value = y),
|
|
@@ -1897,19 +1891,19 @@ const $a = (n, e) => {
|
|
|
1897
1891
|
"onUpdate:status": v[1] || (v[1] = (y) => f.value = y),
|
|
1898
1892
|
required: g.value
|
|
1899
1893
|
}, null, 8, ["modelValue", "status", "required"])
|
|
1900
|
-
])) : (k(), U("div",
|
|
1894
|
+
])) : (k(), U("div", Xa, "-"))
|
|
1901
1895
|
]),
|
|
1902
1896
|
_: 1
|
|
1903
1897
|
/* STABLE */
|
|
1904
1898
|
}, 8, ["modelValue", "prop", "label", "helpMessage", "required", "col"])) : q("v-if", !0);
|
|
1905
1899
|
}
|
|
1906
|
-
}),
|
|
1900
|
+
}), an = /* @__PURE__ */ we(tn, [["__scopeId", "data-v-b30e3d77"]]), ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1907
1901
|
__proto__: null,
|
|
1908
|
-
default:
|
|
1909
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1902
|
+
default: an
|
|
1903
|
+
}, Symbol.toStringTag, { value: "Module" })), nn = {
|
|
1910
1904
|
name: "switch"
|
|
1911
|
-
},
|
|
1912
|
-
...
|
|
1905
|
+
}, sn = /* @__PURE__ */ A({
|
|
1906
|
+
...nn,
|
|
1913
1907
|
props: {
|
|
1914
1908
|
setting: { default: () => ({
|
|
1915
1909
|
icon: "",
|
|
@@ -1937,11 +1931,11 @@ const $a = (n, e) => {
|
|
|
1937
1931
|
g.value = c;
|
|
1938
1932
|
});
|
|
1939
1933
|
const f = u();
|
|
1940
|
-
return e.setting.options.tip && (f.value =
|
|
1934
|
+
return e.setting.options.tip && (f.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
1941
1935
|
s.value = o(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || d(e.setting.name, null);
|
|
1942
1936
|
}, 50), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), z(s, (c) => {
|
|
1943
1937
|
d(e.setting.name, c);
|
|
1944
|
-
}), (c, C) => l.value ? (k(),
|
|
1938
|
+
}), (c, C) => l.value ? (k(), E(a(Q), {
|
|
1945
1939
|
key: 0,
|
|
1946
1940
|
col: e.span,
|
|
1947
1941
|
modelValue: s.value,
|
|
@@ -1959,13 +1953,13 @@ const $a = (n, e) => {
|
|
|
1959
1953
|
isView: e.isView
|
|
1960
1954
|
}, null, 8, ["col", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "disabled", "required", "isView"])) : q("v-if", !0);
|
|
1961
1955
|
}
|
|
1962
|
-
}),
|
|
1956
|
+
}), ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1963
1957
|
__proto__: null,
|
|
1964
|
-
default:
|
|
1965
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1958
|
+
default: sn
|
|
1959
|
+
}, Symbol.toStringTag, { value: "Module" })), on = {
|
|
1966
1960
|
name: "text"
|
|
1967
|
-
},
|
|
1968
|
-
...
|
|
1961
|
+
}, ln = /* @__PURE__ */ A({
|
|
1962
|
+
...on,
|
|
1969
1963
|
props: {
|
|
1970
1964
|
setting: { default: () => ({
|
|
1971
1965
|
icon: "",
|
|
@@ -1989,9 +1983,9 @@ const $a = (n, e) => {
|
|
|
1989
1983
|
{ deep: !0, immediate: !0 }
|
|
1990
1984
|
);
|
|
1991
1985
|
const p = u();
|
|
1992
|
-
return e.setting.options.tip && (p.value =
|
|
1986
|
+
return e.setting.options.tip && (p.value = J(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), z(s, (g) => {
|
|
1993
1987
|
d(e.setting.name, g);
|
|
1994
|
-
}), (g, f) => l.value ? (k(),
|
|
1988
|
+
}), (g, f) => l.value ? (k(), E(a(Q), {
|
|
1995
1989
|
key: 0,
|
|
1996
1990
|
col: e.span,
|
|
1997
1991
|
modelValue: s.value,
|
|
@@ -2011,13 +2005,13 @@ const $a = (n, e) => {
|
|
|
2011
2005
|
/* STABLE */
|
|
2012
2006
|
}, 8, ["col", "modelValue", "label", "helpMessage"])) : q("v-if", !0);
|
|
2013
2007
|
}
|
|
2014
|
-
}),
|
|
2008
|
+
}), yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2015
2009
|
__proto__: null,
|
|
2016
|
-
default:
|
|
2017
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2010
|
+
default: ln
|
|
2011
|
+
}, Symbol.toStringTag, { value: "Module" })), rn = {
|
|
2018
2012
|
name: "textarea"
|
|
2019
|
-
},
|
|
2020
|
-
...
|
|
2013
|
+
}, un = /* @__PURE__ */ A({
|
|
2014
|
+
...rn,
|
|
2021
2015
|
props: {
|
|
2022
2016
|
setting: { default: () => ({
|
|
2023
2017
|
icon: "",
|
|
@@ -2045,17 +2039,17 @@ const $a = (n, e) => {
|
|
|
2045
2039
|
g.value = v;
|
|
2046
2040
|
});
|
|
2047
2041
|
const f = u();
|
|
2048
|
-
e.setting.options.tip && (f.value =
|
|
2042
|
+
e.setting.options.tip && (f.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
2049
2043
|
s.value = o(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || d(e.setting.name, null);
|
|
2050
2044
|
}, 50);
|
|
2051
2045
|
const c = u(), C = u();
|
|
2052
2046
|
return c.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", C.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), z(s, (v) => {
|
|
2053
2047
|
d(e.setting.name, v);
|
|
2054
2048
|
}), (v, y) => (k(), U(
|
|
2055
|
-
|
|
2049
|
+
te,
|
|
2056
2050
|
null,
|
|
2057
2051
|
[
|
|
2058
|
-
!v.setting.options.isEditor && l.value ? (k(),
|
|
2052
|
+
!v.setting.options.isEditor && l.value ? (k(), E(a(Q), {
|
|
2059
2053
|
key: 0,
|
|
2060
2054
|
col: e.span,
|
|
2061
2055
|
label: v.setting.desc,
|
|
@@ -2074,7 +2068,7 @@ const $a = (n, e) => {
|
|
|
2074
2068
|
helpMessage: f.value,
|
|
2075
2069
|
required: g.value
|
|
2076
2070
|
}, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) : q("v-if", !0),
|
|
2077
|
-
v.setting.options.isEditor && l.value ? (k(),
|
|
2071
|
+
v.setting.options.isEditor && l.value ? (k(), E(a(Q), {
|
|
2078
2072
|
key: 1,
|
|
2079
2073
|
modelValue: s.value,
|
|
2080
2074
|
"onUpdate:modelValue": y[2] || (y[2] = (h) => s.value = h),
|
|
@@ -2104,13 +2098,13 @@ const $a = (n, e) => {
|
|
|
2104
2098
|
/* STABLE_FRAGMENT */
|
|
2105
2099
|
));
|
|
2106
2100
|
}
|
|
2107
|
-
}),
|
|
2101
|
+
}), bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2108
2102
|
__proto__: null,
|
|
2109
|
-
default:
|
|
2110
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2103
|
+
default: un
|
|
2104
|
+
}, Symbol.toStringTag, { value: "Module" })), pn = {
|
|
2111
2105
|
name: "time"
|
|
2112
|
-
},
|
|
2113
|
-
...
|
|
2106
|
+
}, dn = /* @__PURE__ */ A({
|
|
2107
|
+
...pn,
|
|
2114
2108
|
props: {
|
|
2115
2109
|
setting: { default: () => ({
|
|
2116
2110
|
icon: "",
|
|
@@ -2138,12 +2132,12 @@ const $a = (n, e) => {
|
|
|
2138
2132
|
g.value = c;
|
|
2139
2133
|
});
|
|
2140
2134
|
const f = u();
|
|
2141
|
-
return e.setting.options.tip && (f.value =
|
|
2142
|
-
const c =
|
|
2143
|
-
o(e.setting.name) && (s.value = o(e.setting.name)), e.setting.options.formulasDiyJs && (s.value =
|
|
2135
|
+
return e.setting.options.tip && (f.value = J(e.setting.options.tip)), setTimeout(() => {
|
|
2136
|
+
const c = ye().format("YYYY-MM-DD ");
|
|
2137
|
+
o(e.setting.name) && (s.value = o(e.setting.name)), e.setting.options.formulasDiyJs && (s.value = ye(c + e.setting.options.formulasDiyJs)), s.value || d(e.setting.name, null);
|
|
2144
2138
|
}, 50), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), z(s, (c) => {
|
|
2145
2139
|
d(e.setting.name, c);
|
|
2146
|
-
}), (c, C) => l.value ? (k(),
|
|
2140
|
+
}), (c, C) => l.value ? (k(), E(a(Q), {
|
|
2147
2141
|
key: 0,
|
|
2148
2142
|
col: e.span,
|
|
2149
2143
|
modelValue: s.value,
|
|
@@ -2157,10 +2151,10 @@ const $a = (n, e) => {
|
|
|
2157
2151
|
disabled: a(p)
|
|
2158
2152
|
}, null, 8, ["col", "modelValue", "prop", "label", "helpMessage", "isView", "required", "disabled"])) : q("v-if", !0);
|
|
2159
2153
|
}
|
|
2160
|
-
}),
|
|
2154
|
+
}), wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2161
2155
|
__proto__: null,
|
|
2162
|
-
default:
|
|
2163
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2156
|
+
default: dn
|
|
2157
|
+
}, Symbol.toStringTag, { value: "Module" })), cn = A({
|
|
2164
2158
|
name: "accordion",
|
|
2165
2159
|
props: {
|
|
2166
2160
|
columns: {
|
|
@@ -2200,10 +2194,10 @@ const $a = (n, e) => {
|
|
|
2200
2194
|
)
|
|
2201
2195
|
);
|
|
2202
2196
|
}
|
|
2203
|
-
}),
|
|
2197
|
+
}), gn = {
|
|
2204
2198
|
name: "accordion"
|
|
2205
|
-
},
|
|
2206
|
-
...
|
|
2199
|
+
}, mn = /* @__PURE__ */ A({
|
|
2200
|
+
...gn,
|
|
2207
2201
|
props: {
|
|
2208
2202
|
setting: { default: () => ({
|
|
2209
2203
|
name: "",
|
|
@@ -2231,7 +2225,7 @@ const $a = (n, e) => {
|
|
|
2231
2225
|
store: {}
|
|
2232
2226
|
},
|
|
2233
2227
|
setup(n) {
|
|
2234
|
-
return (e, t) => (k(),
|
|
2228
|
+
return (e, t) => (k(), E(a(cn), {
|
|
2235
2229
|
columns: e.setting.columns,
|
|
2236
2230
|
options: e.setting.options,
|
|
2237
2231
|
isView: e.isView,
|
|
@@ -2239,13 +2233,13 @@ const $a = (n, e) => {
|
|
|
2239
2233
|
style: { "margin-bottom": "10px" }
|
|
2240
2234
|
}, null, 8, ["columns", "options", "isView", "store"]));
|
|
2241
2235
|
}
|
|
2242
|
-
}),
|
|
2236
|
+
}), vn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2243
2237
|
__proto__: null,
|
|
2244
|
-
default:
|
|
2245
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2238
|
+
default: mn
|
|
2239
|
+
}, Symbol.toStringTag, { value: "Module" })), fn = {
|
|
2246
2240
|
name: "grid"
|
|
2247
|
-
},
|
|
2248
|
-
...
|
|
2241
|
+
}, hn = /* @__PURE__ */ A({
|
|
2242
|
+
...fn,
|
|
2249
2243
|
props: {
|
|
2250
2244
|
setting: { default: () => ({
|
|
2251
2245
|
name: "",
|
|
@@ -2272,22 +2266,22 @@ const $a = (n, e) => {
|
|
|
2272
2266
|
setup(n) {
|
|
2273
2267
|
const e = n;
|
|
2274
2268
|
return (t, i) => (k(), U(
|
|
2275
|
-
|
|
2269
|
+
te,
|
|
2276
2270
|
null,
|
|
2277
2271
|
[
|
|
2278
2272
|
q(' <GridLayout :columns="setting.columns" :isView="props.isView" :store="store"></GridLayout> '),
|
|
2279
2273
|
q(' <div style="display: flex; flex-direction: row; flex-wrap: wrap; width: 100%"> '),
|
|
2280
2274
|
(k(!0), U(
|
|
2281
|
-
|
|
2275
|
+
te,
|
|
2282
2276
|
null,
|
|
2283
2277
|
me(t.setting.columns, (d) => (k(), U(
|
|
2284
|
-
|
|
2278
|
+
te,
|
|
2285
2279
|
null,
|
|
2286
2280
|
[
|
|
2287
2281
|
(k(!0), U(
|
|
2288
|
-
|
|
2282
|
+
te,
|
|
2289
2283
|
null,
|
|
2290
|
-
me(d.list, (o) => (k(),
|
|
2284
|
+
me(d.list, (o) => (k(), E(fe(a(wn)[o.ctrlType]), {
|
|
2291
2285
|
setting: o,
|
|
2292
2286
|
isView: e.isView,
|
|
2293
2287
|
store: t.store,
|
|
@@ -2309,87 +2303,87 @@ const $a = (n, e) => {
|
|
|
2309
2303
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
2310
2304
|
));
|
|
2311
2305
|
}
|
|
2312
|
-
}),
|
|
2306
|
+
}), yn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2313
2307
|
__proto__: null,
|
|
2314
|
-
default:
|
|
2315
|
-
}, Symbol.toStringTag, { value: "Module" })), Se = /* @__PURE__ */ Object.assign({ "./base/attachment.vue":
|
|
2316
|
-
Object.keys(Ne).map((n) =>
|
|
2317
|
-
Object.keys(Le).map((n) =>
|
|
2318
|
-
Object.keys(ze).map((n) =>
|
|
2308
|
+
default: hn
|
|
2309
|
+
}, Symbol.toStringTag, { value: "Module" })), Se = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": ot, "./base/autocomplete.vue": lt, "./base/checkbox.vue": it, "./base/date.vue": rt, "./base/dropdown.vue": ut, "./base/imageViewer.vue": pt, "./base/input.vue": dt, "./base/number.vue": ct, "./base/radio.vue": gt, "./base/select.vue": mt, "./base/selector.vue": vt, "./base/soundRecording.vue": ft, "./base/switch.vue": ht, "./base/text.vue": yt, "./base/textarea.vue": bt, "./base/time.vue": wt, "./layout/accordion/accordion.vue": vn, "./layout/grid/gridLayout.vue": yn }), Ne = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": ot, "./base/autocomplete.vue": lt, "./base/checkbox.vue": it, "./base/date.vue": rt, "./base/dropdown.vue": ut, "./base/imageViewer.vue": pt, "./base/input.vue": dt, "./base/number.vue": ct, "./base/radio.vue": gt, "./base/select.vue": mt, "./base/selector.vue": vt, "./base/soundRecording.vue": ft, "./base/switch.vue": ht, "./base/text.vue": yt, "./base/textarea.vue": bt, "./base/time.vue": wt }), Le = /* @__PURE__ */ Object.assign({}), ze = /* @__PURE__ */ Object.assign({}), ve = {}, _t = {}, Ct = {}, bn = {};
|
|
2310
|
+
Object.keys(Ne).map((n) => _t[Ne[n].default.name] = Ne[n].default);
|
|
2311
|
+
Object.keys(Le).map((n) => Ct[Le[n].default.name] = Le[n].default);
|
|
2312
|
+
Object.keys(ze).map((n) => bn[ze[n].default.name] = ze[n].default);
|
|
2319
2313
|
Object.keys(Se).map((n) => ve[Se[n].default.name] = Se[n].default);
|
|
2320
|
-
const
|
|
2314
|
+
const wn = { ..._t, ...Ct }, _n = (n, e, t, i) => {
|
|
2321
2315
|
(!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${D("*必填")}`)) : t();
|
|
2322
|
-
},
|
|
2316
|
+
}, Cn = (n, e, t, i) => {
|
|
2323
2317
|
e !== "" && e.length > parseInt(i.value) ? t(new Error(`${D("最大文本长度")}${D("不能超过")}${i.value}`)) : t();
|
|
2324
|
-
},
|
|
2318
|
+
}, Dn = (n, e, t, i) => {
|
|
2325
2319
|
e !== "" && e.length < parseInt(i.value) ? t(new Error(`${D("最小文本长度")}${D("不能少于")}${i.value}`)) : t();
|
|
2326
|
-
},
|
|
2320
|
+
}, Vn = (n, e, t, i) => {
|
|
2327
2321
|
if (e !== "" && !/^1[3456789]\d{9}$/.test(e))
|
|
2328
2322
|
return t(new Error(D("手机号码格式不正确,请重新输入"))), !1;
|
|
2329
2323
|
t();
|
|
2330
|
-
},
|
|
2324
|
+
}, kn = (n, e, t) => {
|
|
2331
2325
|
if (e !== "" && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e))
|
|
2332
2326
|
return t(new Error(D("电子邮箱格式不正确,请重新输入"))), !1;
|
|
2333
2327
|
t();
|
|
2334
|
-
},
|
|
2328
|
+
}, Sn = (n, e, t) => {
|
|
2335
2329
|
if (e !== "" && !/^-?\d+$/.test(e))
|
|
2336
2330
|
return t(new Error(D("请输入整数"))), !1;
|
|
2337
2331
|
t();
|
|
2338
|
-
},
|
|
2332
|
+
}, Nn = (n, e, t, i) => {
|
|
2339
2333
|
if (e !== "" && e != i.value)
|
|
2340
2334
|
return t(new Error(D("请输入相同的值"))), !1;
|
|
2341
2335
|
t();
|
|
2342
|
-
},
|
|
2336
|
+
}, Ln = (n, e, t, i) => {
|
|
2343
2337
|
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(i.value) ? t(new Error(`${i.name}${D("不能小于")}${i.value}`)) : t() : t(new Error(D("请输入数字")));
|
|
2344
|
-
},
|
|
2338
|
+
}, zn = (n, e, t, i) => {
|
|
2345
2339
|
e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(i.value) ? t(new Error(`${i.name}${D("不能大于")}${i.value}`)) : t() : t(new Error(D("请输入数字")));
|
|
2346
|
-
},
|
|
2340
|
+
}, Mn = (n, e, t, i) => {
|
|
2347
2341
|
const d = /^[+-]?(\d*\.\d+([eE]?[+-]?\d+)?|\d+[eE][+-]?\d+)$/, o = /^-?\d+$/;
|
|
2348
2342
|
e === "" ? t() : d.test(e) || o.test(e) ? e >= parseFloat(i.start) && e <= parseFloat(i.end) ? t() : t(new Error(`${D("只能输入指定数字范围")}${i.start}-${i.end}`)) : t(new Error(D("请输入数字")));
|
|
2349
|
-
},
|
|
2343
|
+
}, Tn = (n, e, t, i) => {
|
|
2350
2344
|
e === "" || parseFloat(e) === parseFloat(i.value) ? t() : t(new Error(`${D("只能输入指定的值")}${i.value}`));
|
|
2351
|
-
},
|
|
2345
|
+
}, In = (n, e, t, i) => {
|
|
2352
2346
|
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("请输入整数")));
|
|
2353
|
-
},
|
|
2347
|
+
}, Rn = (n, e, t) => {
|
|
2354
2348
|
if (e !== "" && !/^[a-zA-Z]{1,}$/.test(e))
|
|
2355
2349
|
return t(new Error(D("只能输入字母"))), !1;
|
|
2356
2350
|
t();
|
|
2357
|
-
},
|
|
2351
|
+
}, Pn = (n, e, t) => {
|
|
2358
2352
|
if (e !== "" && !/^[a-zA-Z ]{1,}$/.test(e))
|
|
2359
2353
|
return t(new Error(D("只能输入字母空格"))), !1;
|
|
2360
2354
|
t();
|
|
2361
|
-
},
|
|
2355
|
+
}, $n = (n, e, t) => {
|
|
2362
2356
|
if (e !== "" && !/^[0-9a-zA-Z_-]{1,}$/.test(e))
|
|
2363
2357
|
return t(new Error(D("只能输入字母数字横线下划线"))), !1;
|
|
2364
2358
|
t();
|
|
2365
|
-
},
|
|
2359
|
+
}, Fn = (n, e, t) => {
|
|
2366
2360
|
if (e !== "" && !/^[0-9a-zA-Z]{1,}$/.test(e))
|
|
2367
2361
|
return t(new Error(D("只能输入字母数字"))), !1;
|
|
2368
2362
|
t();
|
|
2369
|
-
},
|
|
2363
|
+
}, jn = (n, e, t, i) => {
|
|
2370
2364
|
const d = new RegExp(i.value);
|
|
2371
2365
|
if (e !== "" && !d.test(e))
|
|
2372
2366
|
return t(new Error(i.errorMessage)), !1;
|
|
2373
2367
|
t();
|
|
2374
|
-
},
|
|
2375
|
-
required:
|
|
2376
|
-
min:
|
|
2377
|
-
max:
|
|
2378
|
-
email:
|
|
2379
|
-
min_value:
|
|
2380
|
-
max_value:
|
|
2381
|
-
confirmed:
|
|
2382
|
-
numeric:
|
|
2383
|
-
between:
|
|
2384
|
-
is:
|
|
2385
|
-
digits:
|
|
2386
|
-
mobile:
|
|
2387
|
-
alpha:
|
|
2388
|
-
alpha_spaces:
|
|
2389
|
-
alpha_dash:
|
|
2390
|
-
alpha_num:
|
|
2391
|
-
regex:
|
|
2392
|
-
},
|
|
2368
|
+
}, Kn = {
|
|
2369
|
+
required: _n,
|
|
2370
|
+
min: Dn,
|
|
2371
|
+
max: Cn,
|
|
2372
|
+
email: kn,
|
|
2373
|
+
min_value: Ln,
|
|
2374
|
+
max_value: zn,
|
|
2375
|
+
confirmed: Nn,
|
|
2376
|
+
numeric: Sn,
|
|
2377
|
+
between: Mn,
|
|
2378
|
+
is: Tn,
|
|
2379
|
+
digits: In,
|
|
2380
|
+
mobile: Vn,
|
|
2381
|
+
alpha: Rn,
|
|
2382
|
+
alpha_spaces: Pn,
|
|
2383
|
+
alpha_dash: $n,
|
|
2384
|
+
alpha_num: Fn,
|
|
2385
|
+
regex: jn
|
|
2386
|
+
}, En = () => {
|
|
2393
2387
|
const n = u({}), e = u([]), t = u({}), i = u({}), d = u([]), o = u(""), b = u(""), V = u({}), s = u([]), l = u({});
|
|
2394
2388
|
return {
|
|
2395
2389
|
data: n,
|
|
@@ -2401,8 +2395,8 @@ const yn = { ...Ct, ...Dt }, bn = (n, e, t, i) => {
|
|
|
2401
2395
|
linkData: l,
|
|
2402
2396
|
encryptionData: s,
|
|
2403
2397
|
setData: (m, r) => {
|
|
2404
|
-
e.value.forEach((
|
|
2405
|
-
|
|
2398
|
+
e.value.forEach((R) => {
|
|
2399
|
+
R.formKey === b.value && (R.data[m] = r, n.value[m] = r);
|
|
2406
2400
|
});
|
|
2407
2401
|
},
|
|
2408
2402
|
setDetailData: (m) => {
|
|
@@ -2415,23 +2409,23 @@ const yn = { ...Ct, ...Dt }, bn = (n, e, t, i) => {
|
|
|
2415
2409
|
},
|
|
2416
2410
|
getData: (m) => {
|
|
2417
2411
|
var r;
|
|
2418
|
-
return n.value[m] || ((r = e.value.find((
|
|
2412
|
+
return n.value[m] || ((r = e.value.find((R) => R.formKey === b.value)) == null ? void 0 : r.data[m]);
|
|
2419
2413
|
},
|
|
2420
|
-
setFormData: (m, r,
|
|
2421
|
-
b.value = m, d.value.includes(m) ? e.value.forEach((
|
|
2422
|
-
|
|
2414
|
+
setFormData: (m, r, R) => {
|
|
2415
|
+
b.value = m, d.value.includes(m) ? e.value.forEach((j) => {
|
|
2416
|
+
j.formKey === m && (n.value = j.data);
|
|
2423
2417
|
}) : (d.value.push(m), e.value.push({
|
|
2424
2418
|
formKey: m,
|
|
2425
2419
|
boKey: r,
|
|
2426
|
-
reportId:
|
|
2420
|
+
reportId: R || null,
|
|
2427
2421
|
data: {}
|
|
2428
2422
|
}));
|
|
2429
2423
|
},
|
|
2430
2424
|
getFormData: () => e.value,
|
|
2431
2425
|
setFormRule: (m, r) => {
|
|
2432
|
-
V.value[m] = [], r && r.length && r.forEach((
|
|
2426
|
+
V.value[m] = [], r && r.length && r.forEach((R) => {
|
|
2433
2427
|
V.value[m].push({
|
|
2434
|
-
validator: (
|
|
2428
|
+
validator: (j, L, M) => Kn[R.key](j, L, M, R)
|
|
2435
2429
|
});
|
|
2436
2430
|
});
|
|
2437
2431
|
},
|
|
@@ -2442,13 +2436,13 @@ const yn = { ...Ct, ...Dt }, bn = (n, e, t, i) => {
|
|
|
2442
2436
|
delete V.value[m];
|
|
2443
2437
|
}
|
|
2444
2438
|
};
|
|
2445
|
-
},
|
|
2439
|
+
}, On = { class: "custom-page" }, qn = {
|
|
2446
2440
|
key: 0,
|
|
2447
2441
|
class: "btn-box"
|
|
2448
|
-
},
|
|
2442
|
+
}, Bn = {
|
|
2449
2443
|
key: 1,
|
|
2450
2444
|
style: { "background-color": "#fff" }
|
|
2451
|
-
},
|
|
2445
|
+
}, An = /* @__PURE__ */ A({
|
|
2452
2446
|
__name: "App",
|
|
2453
2447
|
props: {
|
|
2454
2448
|
formConfigurationId: {},
|
|
@@ -2462,13 +2456,13 @@ const yn = { ...Ct, ...Dt }, bn = (n, e, t, i) => {
|
|
|
2462
2456
|
},
|
|
2463
2457
|
emits: ["handleClick", "change"],
|
|
2464
2458
|
setup(n, { expose: e, emit: t }) {
|
|
2465
|
-
const i =
|
|
2459
|
+
const i = En(), { formRule: d, data: o, flowKey: b, clearData: V, getFormData: s } = i, l = n, p = t;
|
|
2466
2460
|
b.value = l.flowKey;
|
|
2467
|
-
const g = (
|
|
2461
|
+
const g = (R) => R === "accordion";
|
|
2468
2462
|
z(
|
|
2469
2463
|
() => o.value,
|
|
2470
|
-
(
|
|
2471
|
-
p("change",
|
|
2464
|
+
(R) => {
|
|
2465
|
+
p("change", R);
|
|
2472
2466
|
},
|
|
2473
2467
|
{
|
|
2474
2468
|
immediate: !0,
|
|
@@ -2485,22 +2479,22 @@ const yn = { ...Ct, ...Dt }, bn = (n, e, t, i) => {
|
|
|
2485
2479
|
handleClick: N,
|
|
2486
2480
|
validateFormData: m,
|
|
2487
2481
|
getFormRef: r
|
|
2488
|
-
} =
|
|
2489
|
-
return
|
|
2482
|
+
} = ya(l, p, i);
|
|
2483
|
+
return Nt(async () => {
|
|
2490
2484
|
l.isShowBtn == !1 ? y(l.formConfigurationId) : h();
|
|
2491
2485
|
}), e({
|
|
2492
2486
|
validateFormData: m,
|
|
2493
2487
|
clearData: V
|
|
2494
|
-
}), (
|
|
2495
|
-
a(C).length > 0 ? (k(), U("div",
|
|
2488
|
+
}), (R, j) => (k(), U("div", On, [
|
|
2489
|
+
a(C).length > 0 ? (k(), U("div", qn, [
|
|
2496
2490
|
(k(!0), U(
|
|
2497
|
-
|
|
2491
|
+
te,
|
|
2498
2492
|
null,
|
|
2499
|
-
me(a(C), (L) => (k(),
|
|
2493
|
+
me(a(C), (L) => (k(), E(a(Tt), {
|
|
2500
2494
|
key: L.id,
|
|
2501
2495
|
style: { "margin-right": "20px" },
|
|
2502
2496
|
"btn-type": "primary",
|
|
2503
|
-
onClick: (
|
|
2497
|
+
onClick: (M) => a(N)(L)
|
|
2504
2498
|
}, {
|
|
2505
2499
|
default: P(() => [
|
|
2506
2500
|
ne(
|
|
@@ -2516,38 +2510,38 @@ const yn = { ...Ct, ...Dt }, bn = (n, e, t, i) => {
|
|
|
2516
2510
|
/* KEYED_FRAGMENT */
|
|
2517
2511
|
))
|
|
2518
2512
|
])) : q("v-if", !0),
|
|
2519
|
-
|
|
2513
|
+
Lt((k(), U(
|
|
2520
2514
|
"div",
|
|
2521
2515
|
{
|
|
2522
2516
|
class: "content-box",
|
|
2523
|
-
style:
|
|
2517
|
+
style: zt({ margin: "0 10px", ...R.customStyle })
|
|
2524
2518
|
},
|
|
2525
2519
|
[
|
|
2526
2520
|
(k(!0), U(
|
|
2527
|
-
|
|
2521
|
+
te,
|
|
2528
2522
|
null,
|
|
2529
2523
|
me(a(f), (L) => (k(), U(
|
|
2530
|
-
|
|
2524
|
+
te,
|
|
2531
2525
|
{
|
|
2532
2526
|
key: L.name
|
|
2533
2527
|
},
|
|
2534
2528
|
[
|
|
2535
|
-
g(L.ctrlType) ? (k(),
|
|
2529
|
+
g(L.ctrlType) ? (k(), E(a(tt), {
|
|
2536
2530
|
key: 0,
|
|
2537
2531
|
style: { "margin-bottom": "10px" },
|
|
2538
2532
|
collapsible: L.options.accordion ? "" : "disabled",
|
|
2539
2533
|
activeKey: a(v)
|
|
2540
2534
|
}, {
|
|
2541
2535
|
default: P(() => [
|
|
2542
|
-
(k(),
|
|
2536
|
+
(k(), E(a(at), {
|
|
2543
2537
|
key: L.key,
|
|
2544
2538
|
header: L.columns[0].span
|
|
2545
2539
|
}, {
|
|
2546
2540
|
default: P(() => [
|
|
2547
|
-
a(c) ? (k(),
|
|
2541
|
+
a(c) ? (k(), E(a(Je), {
|
|
2548
2542
|
key: 0,
|
|
2549
2543
|
ref_for: !0,
|
|
2550
|
-
ref: (
|
|
2544
|
+
ref: (M) => a(r)(M, L),
|
|
2551
2545
|
cols: 24,
|
|
2552
2546
|
alignType: "horizontal",
|
|
2553
2547
|
"margin-right": "80px",
|
|
@@ -2557,22 +2551,22 @@ const yn = { ...Ct, ...Dt }, bn = (n, e, t, i) => {
|
|
|
2557
2551
|
}, {
|
|
2558
2552
|
default: P(() => [
|
|
2559
2553
|
(k(!0), U(
|
|
2560
|
-
|
|
2554
|
+
te,
|
|
2561
2555
|
null,
|
|
2562
|
-
me(L.columns[0].list, (
|
|
2563
|
-
|
|
2556
|
+
me(L.columns[0].list, (M) => (k(), U(
|
|
2557
|
+
te,
|
|
2564
2558
|
{
|
|
2565
2559
|
key: L.name
|
|
2566
2560
|
},
|
|
2567
2561
|
[
|
|
2568
|
-
|
|
2562
|
+
M.ctrlType == "grid" ? (k(), E(fe(a(ve).grid), {
|
|
2569
2563
|
key: 0,
|
|
2570
|
-
setting:
|
|
2564
|
+
setting: M,
|
|
2571
2565
|
isView: l.isView,
|
|
2572
2566
|
store: a(i)
|
|
2573
|
-
}, null, 8, ["setting", "isView", "store"])) : (k(),
|
|
2567
|
+
}, null, 8, ["setting", "isView", "store"])) : (k(), E(fe(a(ve)[M.ctrlType]), {
|
|
2574
2568
|
key: 1,
|
|
2575
|
-
setting:
|
|
2569
|
+
setting: M,
|
|
2576
2570
|
isView: l.isView,
|
|
2577
2571
|
store: a(i)
|
|
2578
2572
|
}, null, 8, ["setting", "isView", "store"]))
|
|
@@ -2594,11 +2588,11 @@ const yn = { ...Ct, ...Dt }, bn = (n, e, t, i) => {
|
|
|
2594
2588
|
]),
|
|
2595
2589
|
_: 2
|
|
2596
2590
|
/* DYNAMIC */
|
|
2597
|
-
}, 1032, ["collapsible", "activeKey"])) : (k(), U("div",
|
|
2598
|
-
a(c) ? (k(),
|
|
2591
|
+
}, 1032, ["collapsible", "activeKey"])) : (k(), U("div", Bn, [
|
|
2592
|
+
a(c) ? (k(), E(a(Je), {
|
|
2599
2593
|
key: 0,
|
|
2600
2594
|
ref_for: !0,
|
|
2601
|
-
ref: (
|
|
2595
|
+
ref: (M) => a(r)(M, L),
|
|
2602
2596
|
cols: 24,
|
|
2603
2597
|
"auto-margin-right": "",
|
|
2604
2598
|
alignType: "horizontal",
|
|
@@ -2607,7 +2601,7 @@ const yn = { ...Ct, ...Dt }, bn = (n, e, t, i) => {
|
|
|
2607
2601
|
form: a(i).data
|
|
2608
2602
|
}, {
|
|
2609
2603
|
default: P(() => [
|
|
2610
|
-
(k(),
|
|
2604
|
+
(k(), E(fe(a(ve)[L.ctrlType]), {
|
|
2611
2605
|
setting: L,
|
|
2612
2606
|
isView: l.isView,
|
|
2613
2607
|
store: a(i)
|
|
@@ -2632,7 +2626,7 @@ const yn = { ...Ct, ...Dt }, bn = (n, e, t, i) => {
|
|
|
2632
2626
|
])
|
|
2633
2627
|
]));
|
|
2634
2628
|
}
|
|
2635
|
-
}),
|
|
2629
|
+
}), Qn = /* @__PURE__ */ we(An, [["__scopeId", "data-v-ce01ee82"]]), Un = {
|
|
2636
2630
|
姓名: { "zh-CN": "姓名", en: "Name", _appCode: "framework" },
|
|
2637
2631
|
状态: { "zh-CN": "状态", en: "Status", _appCode: "framework" },
|
|
2638
2632
|
组织名称: { "zh-CN": "组织名称", en: "Organization Name", _appCode: "framework" },
|
|
@@ -2755,9 +2749,9 @@ const yn = { ...Ct, ...Dt }, bn = (n, e, t, i) => {
|
|
|
2755
2749
|
请选择: { "zh-CN": "请选择", en: "Please select", _appCode: "framework" },
|
|
2756
2750
|
报修位置: { "zh-CN": "报修位置", en: "Repair Location", _appCode: "framework" }
|
|
2757
2751
|
};
|
|
2758
|
-
|
|
2759
|
-
const
|
|
2752
|
+
Ft(Un);
|
|
2753
|
+
const ms = Dt(Qn);
|
|
2760
2754
|
export {
|
|
2761
|
-
|
|
2762
|
-
|
|
2755
|
+
ms as DasProcessForm,
|
|
2756
|
+
ms as default
|
|
2763
2757
|
};
|