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