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