act-plus 1.1.40 → 1.1.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { defineAsyncComponent as L, inject as T, ref as K, watch as Te, resolveComponent as _, resolveDirective as ee, openBlock as n, createBlock as p, withCtx as C, createElementVNode as le, createVNode as ae, createTextVNode as W, toDisplayString as $, unref as i, withDirectives as oe, createElementBlock as N, Fragment as A, renderList as G, mergeProps as g, createCommentVNode as te, resolveDynamicComponent as De, toRaw as Ke } from "vue";
2
- import { _ as we, u as ke, P as Ne, a as Ue, b as Pe } from "./index-c18badb4.js";
1
+ import { defineAsyncComponent as L, inject as T, ref as K, watch as Te, resolveComponent as _, resolveDirective as ee, openBlock as u, createBlock as p, withCtx as C, createElementVNode as le, createVNode as ae, createTextVNode as W, toDisplayString as $, unref as i, withDirectives as oe, createElementBlock as k, Fragment as A, renderList as G, mergeProps as g, createCommentVNode as te, resolveDynamicComponent as De, toRaw as Ke } from "vue";
2
+ import { _ as we, u as Ne, P as Ue, a as ke, b as Pe } from "./index-40115216.js";
3
3
  import { ElNotification as Se } from "element-plus";
4
4
  import "vue-router";
5
5
  import "js-base64";
@@ -13,27 +13,22 @@ const Re = { class: "no-config-field" }, Le = { class: "dialog-footer" }, $e = {
13
13
  },
14
14
  emits: ["update:visible", "refresh"],
15
15
  setup(w, { emit: se }) {
16
- const de = L(() => import("./index-c18badb4.js").then((l) => l.g)), re = L(() => import("./index-a2d322cf.js")), ie = L(() => import("./index-c18badb4.js").then((l) => l.f)), ne = L(() => import("./index-c18badb4.js").then((l) => l.e)), { t: m } = ke(), O = T("request"), ue = T("loadComponents"), U = T("formatDataType"), J = T("globalProps"), ce = T("stringToBoolean"), b = T("getFieldUiProps"), fe = T("disposeRequestData"), Q = se, f = w, P = K(!1), S = K(!1), q = K(null), R = K([]), o = K({}), x = K({}), pe = (l) => l.formColumnCol == null || l.customFiledsComponentes[l.customFiledsComponentes.customComponentName] ? 24 : l.formColumnCol ? l.formColumnCol : 24 / l.formRow, me = (l) => {
17
- if (["input", "textarea"].includes(l.fieldType))
18
- return "blur";
19
- if (["select", "multipleSelect", "datetimerange", "treeSelect", "provinceCascade"].includes(l.fieldType))
20
- return "change";
21
- }, ye = async ({ node: l, resolve: c }, a) => {
22
- const r = b(a), { label: t, value: h, children: F, isLeaf: d } = { ...Pe, ...r.treeProps || {} };
23
- if (l[d])
16
+ const de = L(() => import("./index-40115216.js").then((l) => l.t)), re = L(() => import("./index-4398f116.js")), ie = L(() => import("./index-40115216.js").then((l) => l.s)), ne = L(() => import("./index-40115216.js").then((l) => l.r)), { t: m } = Ne(), O = T("request"), ue = T("loadComponents"), P = T("formatDataType"), J = T("globalProps"), ce = T("stringToBoolean"), b = T("getFieldUiProps"), fe = T("disposeRequestData"), Q = se, f = w, S = K(!1), R = K(!1), q = K(null), N = K([]), o = K({}), x = K({}), pe = (l) => l.formColumnCol == null || l.customFiledsComponentes[l.customFiledsComponentes.customComponentName] ? 24 : l.formColumnCol ? l.formColumnCol : 24 / l.formRow, me = (l) => ["input", "textarea"].includes(l.fieldType) ? "blur" : (["select", "multipleSelect", "datetimerange", "treeSelect", "provinceCascade"].includes(l.fieldType), "change"), ye = async ({ node: l, resolve: c }, a) => {
17
+ const r = b(a), { label: t, value: h, children: F, isLeaf: s } = { ...Pe, ...r.treeProps || {} };
18
+ if (l[s])
24
19
  return c([]);
25
- const u = a.postRequestParams.filter((y) => y.submitType === "default").reduce((y, D) => (y[D.submitName] = U(D.paramsType, D.submitValue), y), {}), v = a.postRequestParams.filter((y) => y.submitType === "dynamic").map((y) => ({
20
+ const n = a.postRequestParams.filter((y) => y.submitType === "default").reduce((y, D) => (y[D.submitName] = P(D.paramsType, D.submitValue), y), {}), v = a.postRequestParams.filter((y) => y.submitType === "dynamic").map((y) => ({
26
21
  field: y.submitName,
27
22
  operate: y.submitMatchType,
28
- value: r.loadCode ? l == null ? void 0 : l.data.value : U(y.paramsType, y.submitValue)
23
+ value: r.loadCode ? l == null ? void 0 : l.data.value : P(y.paramsType, y.submitValue)
29
24
  }));
30
25
  let V = {};
31
- Object.keys(u).length && (V = { ...V, ...u }), v.length && (V.dynamicFilters = v), r.loadCode && Reflect.has(V, r.loadCode) && (V[r.loadCode] = l == null ? void 0 : l.data.value);
26
+ Object.keys(n).length && (V = { ...V, ...n }), v.length && (V.dynamicFilters = v), r.loadCode && Reflect.has(V, r.loadCode) && (V[r.loadCode] = l == null ? void 0 : l.data.value);
32
27
  const { data: z } = await O({
33
28
  url: a.fieldRequestUrl,
34
29
  method: a.fieldRequestType || "GET",
35
30
  data: V
36
- }), B = (z || []).map((y) => ({ label: y[t], value: y[h], children: [], isLeaf: y[d] }));
31
+ }), B = (z || []).map((y) => ({ label: y[t], value: y[h], children: [], isLeaf: y[s] }));
37
32
  c(B);
38
33
  }, M = (l) => {
39
34
  if (!["input", "textarea"].includes(l)) {
@@ -75,33 +70,33 @@ const Re = { class: "no-config-field" }, Le = { class: "dialog-footer" }, $e = {
75
70
  var a;
76
71
  if (l)
77
72
  try {
78
- P.value = !0;
73
+ S.value = !0;
79
74
  const r = await fe(f.data.formList, f.data.rowData, !1, !0);
80
- R.value = await Promise.all(
75
+ N.value = await Promise.all(
81
76
  (((a = f.data) == null ? void 0 : a.formList) ?? []).sort((t, h) => t.sort - h.sort).map(async (t) => {
82
77
  const h = r.find((v) => t.fieldName == v.fieldName && t.fieldKey == v.fieldKey);
83
78
  h && (t.dataList = (h == null ? void 0 : h.dataList) ?? []), ["select", "multipleSelect"].includes(t.fieldType) && (o.value[`${t.fieldKey}ActImplicit`] = Object.keys(f.data.rowData).length && t.isFormSetValue ? j(t, !0) : M(t.fieldType)), o.value[t.fieldKey] = Object.keys(f.data.rowData).length && t.isFormSetValue ? j(t) : M(t.fieldType);
84
- const { isFiledCustom: F, customComponentName: d, customComponentUrl: u } = t.customFiledsComponentes;
85
- if (F && !t.customFiledsComponentes[d]) {
86
- const v = await ue(u, d);
87
- t.customFiledsComponentes[d] = v;
79
+ const { isFiledCustom: F, customComponentName: s, customComponentUrl: n } = t.customFiledsComponentes;
80
+ if (F && !t.customFiledsComponentes[s]) {
81
+ const v = await ue(n, s);
82
+ t.customFiledsComponentes[s] = v;
88
83
  }
89
84
  return t;
90
85
  })
91
- ), console.log(R.value), P.value = !1;
86
+ ), console.log(N.value), S.value = !1;
92
87
  } catch (r) {
93
- console.error(r), P.value = !1;
88
+ console.error(r), S.value = !1;
94
89
  }
95
90
  }
96
91
  );
97
92
  const he = (l) => {
98
93
  Y(), l();
99
94
  }, Y = () => {
100
- R.value = [], q.value.resetFields(), Q("update:visible", !1);
95
+ N.value = [], q.value.resetFields(), Q("update:visible", !1);
101
96
  }, _e = (l, c) => {
102
97
  const a = b(c), { fieldKey: r, fieldType: t } = c;
103
98
  if (t === "multipleSelect") {
104
- const h = l.filter((d) => typeof d == "string"), F = l.filter((d) => typeof d != "string").map((d) => d.value);
99
+ const h = l.filter((s) => typeof s == "string"), F = l.filter((s) => typeof s != "string").map((s) => s.value);
105
100
  o.value[a.createFieldKey] = h.length ? E(h, "string") : void 0, o.value[r] = F.length ? E(F, "string") : void 0;
106
101
  } else
107
102
  typeof l == "string" ? (o.value[a.createFieldKey] = l, o.value[r] = void 0) : (o.value[r] = l.value, delete o.value[a.createFieldKey]);
@@ -110,42 +105,45 @@ const Re = { class: "no-config-field" }, Le = { class: "dialog-footer" }, $e = {
110
105
  if (c) {
111
106
  const { dataItem: a, rowData: r } = f.data;
112
107
  let t = { ...Ke(o.value) };
113
- Object.keys(t).forEach((d) => {
114
- if (d.includes("ActImplicit")) {
115
- delete t[d];
108
+ Object.keys(t).forEach((s) => {
109
+ if (s.includes("ActImplicit")) {
110
+ delete t[s];
116
111
  return;
117
112
  }
118
- d.includes("&") ? d.split("&").forEach((v, V) => {
119
- t[v] = t[d][V];
120
- }) : Array.isArray(t[d]) && (t[d] = E(t[d], "string"));
113
+ s.includes("&") ? s.split("&").forEach((v, V) => {
114
+ t[v] = t[s][V];
115
+ }) : Array.isArray(t[s]) && N.value.some((n) => n.fieldKey === s && !n.customFiledsComponentes.isFiledCustom) && (t[s] = E(t[s], "string"));
121
116
  });
122
- const h = a.submitFields.filter((d) => d.matchType == "default").reduce((d, u) => (u.submitFieldType === "string" && (d[u.submitFieldName] = u.matchFieldName.toString()), d), {}), F = a.submitFields.filter((d) => d.matchType == "match").reduce((d, u) => (Reflect.has(u, "submitFieldMatchOrigin") && u.submitFieldMatchOrigin != "rowData" ? Reflect.has(J.matchData, u.submitFieldMatchOrigin) && (d[u.submitFieldName] = U(u.submitFieldType, J.matchData[u.submitFieldMatchOrigin][u.matchFieldName])) : d[u.submitFieldName] = U(u.submitFieldType, r[u.matchFieldName]), d), {});
117
+ const h = a.submitFields.filter((s) => s.matchType == "default").reduce((s, n) => (n.submitFieldType === "string" && (s[n.submitFieldName] = n.matchFieldName.toString()), s), {}), F = a.submitFields.filter((s) => s.matchType == "match").reduce((s, n) => (Reflect.has(n, "submitFieldMatchOrigin") && n.submitFieldMatchOrigin != "rowData" ? Reflect.has(J.matchData, n.submitFieldMatchOrigin) && (s[n.submitFieldName] = P(n.submitFieldType, J.matchData[n.submitFieldMatchOrigin][n.matchFieldName])) : s[n.submitFieldName] = P(n.submitFieldType, r[n.matchFieldName]), s), {});
123
118
  be({
124
119
  ...t,
125
120
  ...h,
126
121
  ...F
127
- }).then((d) => {
122
+ }).then((s) => {
128
123
  try {
129
124
  Se({ title: m("act.tip"), message: m("act.saveSuccessfully"), type: "success", duration: 2500 }), Y(), Q("refresh");
130
- } catch (u) {
131
- console.error(u);
125
+ } catch (n) {
126
+ console.error(n);
132
127
  }
133
- S.value = !1;
134
- }).catch((d) => {
135
- console.error(d), S.value = !1;
128
+ R.value = !1;
129
+ }).catch((s) => {
130
+ console.error(s), R.value = !1;
136
131
  });
137
132
  }
138
133
  });
139
134
  }, ve = (l) => {
140
- const c = Object.keys(x.value).map((a) => x.value[a].updateFormData(o.value));
135
+ const c = Object.keys(x.value).map((a) => {
136
+ var r;
137
+ return (r = x.value[a]) == null ? void 0 : r.updateFormData(o.value);
138
+ }).filter((a) => a);
141
139
  Promise.all([l.validate(), ...c]).then((a) => {
142
- console.log(a), a.every((r) => r) && ge(l);
140
+ a.every((r) => r) && ge(l);
143
141
  }).catch((a) => (console.error(a), a));
144
142
  };
145
143
  return (l, c) => {
146
144
  var X;
147
- const a = _("el-input"), r = _("el-option"), t = _("el-select"), h = _("el-select-v2"), F = _("el-tree-select"), d = _("el-date-picker"), u = _("el-cascader"), v = _("el-switch"), V = _("el-form-item"), z = _("el-col"), B = _("el-row"), y = _("el-form"), D = _("el-button"), Ve = _("el-dialog"), Ce = ee("loading"), Fe = ee("debounce");
148
- return n(), p(Ve, {
145
+ const a = _("el-input"), r = _("el-option"), t = _("el-select"), h = _("el-select-v2"), F = _("el-tree-select"), s = _("el-date-picker"), n = _("el-cascader"), v = _("el-switch"), V = _("el-form-item"), z = _("el-col"), B = _("el-row"), y = _("el-form"), D = _("el-button"), Ve = _("el-dialog"), Ce = ee("loading"), Fe = ee("debounce");
146
+ return u(), p(Ve, {
149
147
  "model-value": f.visible,
150
148
  title: f.title,
151
149
  top: "5vh",
@@ -160,7 +158,7 @@ const Re = { class: "no-config-field" }, Le = { class: "dialog-footer" }, $e = {
160
158
  footer: C(() => [
161
159
  le("span", Le, [
162
160
  ae(D, {
163
- loading: S.value,
161
+ loading: R.value,
164
162
  onClick: Y
165
163
  }, {
166
164
  default: C(() => [
@@ -168,9 +166,9 @@ const Re = { class: "no-config-field" }, Le = { class: "dialog-footer" }, $e = {
168
166
  ]),
169
167
  _: 1
170
168
  }, 8, ["loading"]),
171
- oe((n(), p(D, {
169
+ oe((u(), p(D, {
172
170
  type: "primary",
173
- loading: S.value,
171
+ loading: R.value,
174
172
  onClick: c[1] || (c[1] = (H) => ve(q.value))
175
173
  }, {
176
174
  default: C(() => [
@@ -185,7 +183,7 @@ const Re = { class: "no-config-field" }, Le = { class: "dialog-footer" }, $e = {
185
183
  default: C(() => {
186
184
  var H, Z;
187
185
  return [
188
- oe((n(), p(y, {
186
+ oe((u(), p(y, {
189
187
  class: "a-form",
190
188
  ref_key: "formRef",
191
189
  ref: q,
@@ -197,69 +195,69 @@ const Re = { class: "no-config-field" }, Le = { class: "dialog-footer" }, $e = {
197
195
  default: C(() => [
198
196
  ae(B, { gutter: 40 }, {
199
197
  default: C(() => [
200
- (n(!0), N(A, null, G(R.value, (e, I) => (n(), p(z, {
198
+ (u(!0), k(A, null, G(N.value, (e, I) => (u(), p(z, {
201
199
  span: pe(e),
202
200
  key: I
203
201
  }, {
204
202
  default: C(() => [
205
- e.customFiledsComponentes.isFiledCustom ? (n(), N(A, { key: 1 }, [
206
- e.customFiledsComponentes[e.customFiledsComponentes.customComponentName] ? (n(), p(De(e.customFiledsComponentes[e.customFiledsComponentes.customComponentName]), {
203
+ e.customFiledsComponentes.isFiledCustom ? (u(), k(A, { key: 1 }, [
204
+ e.customFiledsComponentes[e.customFiledsComponentes.customComponentName] ? (u(), p(De(e.customFiledsComponentes[e.customFiledsComponentes.customComponentName]), {
207
205
  key: 0,
208
206
  ref_for: !0,
209
- ref: (s) => x.value[e.customFiledsComponentes.customComponentName] = s,
207
+ ref: (d) => x.value[e.customFiledsComponentes.customComponentName] = d,
210
208
  formConfig: w.data.formConfig,
211
209
  item: e,
212
210
  rowData: f.data.rowData,
213
211
  visible: f.visible,
214
212
  form: o.value,
215
- "onUpdate:form": c[0] || (c[0] = (s) => o.value = s)
216
- }, null, 40, ["formConfig", "item", "rowData", "visible", "form"])) : (n(), N("div", {
213
+ "onUpdate:form": c[0] || (c[0] = (d) => o.value = d)
214
+ }, null, 40, ["formConfig", "item", "rowData", "visible", "form"])) : (u(), k("div", {
217
215
  class: "no-config",
218
216
  key: I
219
217
  }, [
220
218
  le("span", Re, "【" + $(e.fieldName) + "】", 1),
221
219
  W($(i(m)("act.fieldCustom")), 1)
222
220
  ]))
223
- ], 64)) : (n(), p(V, {
221
+ ], 64)) : (u(), p(V, {
224
222
  key: 0,
225
223
  label: e.fieldName,
226
224
  prop: ["select", "multipleSelect"].includes(e.fieldType) ? `${e.fieldKey}ActImplicit` : e.fieldKey,
227
225
  rules: [{ required: e.isFormFieldRequired, message: i(m)("act.requiredMessage"), trigger: me(e) }]
228
226
  }, {
229
227
  default: C(() => [
230
- e.fieldType === "input" ? (n(), p(a, g({
228
+ e.fieldType === "input" ? (u(), p(a, g({
231
229
  key: 0,
232
230
  modelValue: o.value[e.fieldKey],
233
- "onUpdate:modelValue": (s) => o.value[e.fieldKey] = s,
231
+ "onUpdate:modelValue": (d) => o.value[e.fieldKey] = d,
234
232
  placeholder: `${i(m)("act.inputPlaceholder")}${e.fieldName}`,
235
233
  clearable: "",
236
234
  ref_for: !0
237
235
  }, i(b)(e), {
238
236
  disabled: e.isFormDisabled
239
237
  }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : te("", !0),
240
- e.fieldType === "inputNumber" ? (n(), p(i(de), g({
238
+ e.fieldType === "inputNumber" ? (u(), p(i(de), g({
241
239
  key: 1,
242
240
  modelValue: o.value[e.fieldKey],
243
- "onUpdate:modelValue": (s) => o.value[e.fieldKey] = s,
241
+ "onUpdate:modelValue": (d) => o.value[e.fieldKey] = d,
244
242
  placeholder: `${i(m)("act.inputPlaceholder")}${e.fieldName}`,
245
243
  clearable: "",
246
244
  ref_for: !0
247
245
  }, i(b)(e), {
248
246
  disabled: e.isFormDisabled
249
- }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "textarea" ? (n(), p(a, g({
247
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "textarea" ? (u(), p(a, g({
250
248
  key: 2,
251
249
  modelValue: o.value[e.fieldKey],
252
- "onUpdate:modelValue": (s) => o.value[e.fieldKey] = s,
250
+ "onUpdate:modelValue": (d) => o.value[e.fieldKey] = d,
253
251
  placeholder: `${i(m)("act.inputPlaceholder")}${e.fieldName}`,
254
252
  rows: 4,
255
253
  ref_for: !0
256
254
  }, i(b)(e), {
257
255
  type: "textarea",
258
256
  disabled: e.isFormDisabled
259
- }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "selectIcon" ? (n(), p(i(re), g({
257
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "selectIcon" ? (u(), p(i(re), g({
260
258
  key: 3,
261
259
  modelValue: o.value[e.fieldKey],
262
- "onUpdate:modelValue": (s) => o.value[e.fieldKey] = s,
260
+ "onUpdate:modelValue": (d) => o.value[e.fieldKey] = d,
263
261
  icons: e.dataList,
264
262
  placeholder: `${i(m)("act.selectPlaceholder")}${e.fieldName}`,
265
263
  ref_for: !0
@@ -267,17 +265,17 @@ const Re = { class: "no-config-field" }, Le = { class: "dialog-footer" }, $e = {
267
265
  disabled: e.isFormDisabled
268
266
  }), {
269
267
  default: C(() => [
270
- (n(!0), N(A, null, G(e.dataList, (s, k) => (n(), p(r, {
271
- key: k,
272
- label: s.key,
273
- value: s.value
268
+ (u(!0), k(A, null, G(e.dataList, (d, U) => (u(), p(r, {
269
+ key: U,
270
+ label: d.key,
271
+ value: d.value
274
272
  }, null, 8, ["label", "value"]))), 128))
275
273
  ]),
276
274
  _: 2
277
- }, 1040, ["modelValue", "onUpdate:modelValue", "icons", "placeholder", "disabled"])) : ["select", "multipleSelect"].includes(e.fieldType) ? (n(), p(t, g({
275
+ }, 1040, ["modelValue", "onUpdate:modelValue", "icons", "placeholder", "disabled"])) : ["select", "multipleSelect"].includes(e.fieldType) ? (u(), p(t, g({
278
276
  key: 4,
279
277
  modelValue: o.value[`${e.fieldKey}ActImplicit`],
280
- "onUpdate:modelValue": (s) => o.value[`${e.fieldKey}ActImplicit`] = s,
278
+ "onUpdate:modelValue": (d) => o.value[`${e.fieldKey}ActImplicit`] = d,
281
279
  placeholder: `${i(m)("act.selectPlaceholder")}${e.fieldName}`,
282
280
  clearable: "",
283
281
  filterable: "",
@@ -286,22 +284,22 @@ const Re = { class: "no-config-field" }, Le = { class: "dialog-footer" }, $e = {
286
284
  }, i(b)(e), {
287
285
  multiple: e.fieldType === "multipleSelect",
288
286
  disabled: e.isFormDisabled,
289
- onChange: (s) => _e(s, e)
287
+ onChange: (d) => _e(d, e)
290
288
  }), {
291
289
  default: C(() => [
292
- (n(!0), N(A, null, G(e.dataList, (s, k) => (n(), p(r, {
293
- key: k,
294
- label: s.key,
295
- value: s
290
+ (u(!0), k(A, null, G(e.dataList, (d, U) => (u(), p(r, {
291
+ key: U,
292
+ label: d.key,
293
+ value: d
296
294
  }, null, 8, ["label", "value"]))), 128))
297
295
  ]),
298
296
  _: 2
299
- }, 1040, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple", "disabled", "onChange"])) : ["virtualizedSelect", "virtualizedMultipleSelect"].includes(e.fieldType) ? (n(), p(h, g({
297
+ }, 1040, ["modelValue", "onUpdate:modelValue", "placeholder", "multiple", "disabled", "onChange"])) : ["virtualizedSelect", "virtualizedMultipleSelect"].includes(e.fieldType) ? (u(), p(h, g({
300
298
  key: 5,
301
299
  modelValue: o.value[e.fieldKey],
302
- "onUpdate:modelValue": (s) => o.value[e.fieldKey] = s,
300
+ "onUpdate:modelValue": (d) => o.value[e.fieldKey] = d,
303
301
  options: e.dataList,
304
- props: { ...i(Ne) },
302
+ props: { ...i(Ue) },
305
303
  placeholder: `${i(m)("act.selectPlaceholder")}${e.fieldName}`,
306
304
  clearable: "",
307
305
  filterable: "",
@@ -309,10 +307,10 @@ const Re = { class: "no-config-field" }, Le = { class: "dialog-footer" }, $e = {
309
307
  }, i(b)(e), {
310
308
  disabled: e.isFormDisabled,
311
309
  multiple: e.fieldType === "virtualizedMultipleSelect"
312
- }), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "disabled", "multiple"])) : e.fieldType === "treeSelect" ? (n(), p(F, g({
310
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "disabled", "multiple"])) : e.fieldType === "treeSelect" ? (u(), p(F, g({
313
311
  key: 6,
314
312
  modelValue: o.value[e.fieldKey],
315
- "onUpdate:modelValue": (s) => o.value[e.fieldKey] = s,
313
+ "onUpdate:modelValue": (d) => o.value[e.fieldKey] = d,
316
314
  placeholder: `请选择${e.fieldName}`,
317
315
  props: { isLeaf: "isLeaf" },
318
316
  "render-after-expand": !1,
@@ -323,22 +321,22 @@ const Re = { class: "no-config-field" }, Le = { class: "dialog-footer" }, $e = {
323
321
  clearable: "",
324
322
  filterable: "",
325
323
  lazy: "",
326
- load: (s, k) => ye({ node: s, resolve: k }, e),
324
+ load: (d, U) => ye({ node: d, resolve: U }, e),
327
325
  ref_for: !0
328
- }, i(b)(e)), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "load"])) : e.fieldType === "date" ? (n(), p(d, g({
326
+ }, i(b)(e)), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "load"])) : e.fieldType === "date" ? (u(), p(s, g({
329
327
  key: 7,
330
328
  modelValue: o.value[e.fieldKey],
331
- "onUpdate:modelValue": (s) => o.value[e.fieldKey] = s,
329
+ "onUpdate:modelValue": (d) => o.value[e.fieldKey] = d,
332
330
  type: "date",
333
331
  placeholder: `${i(m)("act.selectPlaceholder")}${i(m)("act.time")}`,
334
332
  "value-format": "YYYY-MM-DD HH:mm:ss",
335
333
  ref_for: !0
336
334
  }, i(b)(e), {
337
335
  disabled: e.isFormDisabled
338
- }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "dateRange" ? (n(), p(d, g({
336
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disabled"])) : e.fieldType === "dateRange" ? (u(), p(s, g({
339
337
  key: 8,
340
338
  modelValue: o.value[e.fieldKey],
341
- "onUpdate:modelValue": (s) => o.value[e.fieldKey] = s,
339
+ "onUpdate:modelValue": (d) => o.value[e.fieldKey] = d,
342
340
  type: "daterange",
343
341
  "start-placeholder": i(m)("act.startTime"),
344
342
  "end-placeholder": i(m)("act.endTime"),
@@ -346,35 +344,35 @@ const Re = { class: "no-config-field" }, Le = { class: "dialog-footer" }, $e = {
346
344
  ref_for: !0
347
345
  }, i(b)(e), {
348
346
  disabled: e.isFormDisabled
349
- }), null, 16, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "disabled"])) : e.fieldType === "provinceCascade" ? (n(), p(u, g({
347
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "start-placeholder", "end-placeholder", "disabled"])) : e.fieldType === "provinceCascade" ? (u(), p(n, g({
350
348
  key: 9,
351
349
  modelValue: o.value[e.fieldKey],
352
- "onUpdate:modelValue": (s) => o.value[e.fieldKey] = s,
350
+ "onUpdate:modelValue": (d) => o.value[e.fieldKey] = d,
353
351
  options: e.dataList,
354
- props: i(Ue),
352
+ props: i(ke),
355
353
  clearable: "",
356
354
  filterable: "",
357
355
  placeholder: `${i(m)("act.selectPlaceholder")}${e.fieldName}`,
358
356
  ref_for: !0
359
357
  }, i(b)(e), {
360
358
  disabled: e.isFormDisabled
361
- }), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "disabled"])) : e.fieldType === "switch" ? (n(), p(v, {
359
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "options", "props", "placeholder", "disabled"])) : e.fieldType === "switch" ? (u(), p(v, {
362
360
  key: 10,
363
361
  modelValue: o.value[e.fieldKey],
364
- "onUpdate:modelValue": (s) => o.value[e.fieldKey] = s,
362
+ "onUpdate:modelValue": (d) => o.value[e.fieldKey] = d,
365
363
  "active-value": !0,
366
364
  "inactive-value": !1
367
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : e.fieldType === "upload" ? (n(), p(i(ie), g({
365
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : e.fieldType === "upload" ? (u(), p(i(ie), g({
368
366
  key: 11,
369
367
  class: "form-upload",
370
368
  modelValue: o.value[e.fieldKey],
371
- "onUpdate:modelValue": (s) => o.value[e.fieldKey] = s,
369
+ "onUpdate:modelValue": (d) => o.value[e.fieldKey] = d,
372
370
  request: i(O),
373
371
  ref_for: !0
374
- }, i(b)(e)), null, 16, ["modelValue", "onUpdate:modelValue", "request"])) : e.fieldType === "editor" ? (n(), p(i(ne), g({
372
+ }, i(b)(e)), null, 16, ["modelValue", "onUpdate:modelValue", "request"])) : e.fieldType === "editor" ? (u(), p(i(ne), g({
375
373
  key: 12,
376
374
  modelValue: o.value[e.fieldKey],
377
- "onUpdate:modelValue": (s) => o.value[e.fieldKey] = s,
375
+ "onUpdate:modelValue": (d) => o.value[e.fieldKey] = d,
378
376
  disabled: e.isFormDisabled,
379
377
  placeholder: `${i(m)("act.inputPlaceholder")}${e.fieldName}`,
380
378
  ref_for: !0
@@ -391,7 +389,7 @@ const Re = { class: "no-config-field" }, Le = { class: "dialog-footer" }, $e = {
391
389
  ]),
392
390
  _: 1
393
391
  }, 8, ["model", "label-width", "label-position"])), [
394
- [Ce, P.value]
392
+ [Ce, S.value]
395
393
  ])
396
394
  ];
397
395
  }),
@@ -399,7 +397,7 @@ const Re = { class: "no-config-field" }, Le = { class: "dialog-footer" }, $e = {
399
397
  }, 8, ["model-value", "title", "width"]);
400
398
  };
401
399
  }
402
- }, je = /* @__PURE__ */ we($e, [["__scopeId", "data-v-92775a28"]]);
400
+ }, je = /* @__PURE__ */ we($e, [["__scopeId", "data-v-4ec013fe"]]);
403
401
  export {
404
402
  je as default
405
403
  };
@@ -1,5 +1,5 @@
1
1
  import { reactive as m, watch as b, resolveComponent as s, openBlock as v, createBlock as g, withCtx as o, createElementVNode as i, createVNode as x, createTextVNode as y, toDisplayString as h, unref as C } from "vue";
2
- import { _ as k, u as w } from "./index-c18badb4.js";
2
+ import { _ as k, u as w } from "./index-40115216.js";
3
3
  import "vue-router";
4
4
  import "js-base64";
5
5
  import "element-plus";