auto-vue-basic 0.0.36 → 0.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
- import { defineComponent as D, ref as Q, resolveComponent as d, createBlock as T, openBlock as S, unref as e, isRef as z, withCtx as t, createVNode as l, createTextVNode as N, createElementBlock as I, Fragment as B, renderList as j, toDisplayString as ne, withKeys as X, createElementVNode as G, toRef as ue, normalizeClass as fe, isVNode as be, reactive as _e, onMounted as ge, watch as he, nextTick as Ve, createCommentVNode as ye } from "vue";
2
- import { createAutoApi as Z, useForm as P, Translate as a, RulesUtils as ke, FormDialog as Y, ModifyButton as ee, useTablePage as F, useLoading as K, ProTable as le, DEFAULT_PAGE_KEY as ae, RefreshButton as W, OpenButton as oe, SearchButton as te, DEFAULT_STATUS_KEY as ie, AutoApiUtils as ve, useSelect as se, InlineRefreshButton as me, DEFAULT_REMOVE_KEY as we } from "auto-vue-manual";
1
+ import { defineComponent as D, ref as Q, resolveComponent as d, createBlock as T, openBlock as M, unref as e, isRef as z, withCtx as t, createVNode as l, createTextVNode as N, createElementBlock as I, Fragment as B, renderList as j, toDisplayString as ne, withKeys as X, createElementVNode as G, toRef as ue, normalizeClass as be, isVNode as fe, reactive as _e, onMounted as ge, watch as he, nextTick as Ve, createCommentVNode as ye } from "vue";
2
+ import { createAutoApi as Z, useForm as P, Translate as a, RulesUtils as ke, FormDialog as Y, ModifyButton as ee, useTablePage as F, useLoading as K, ProTable as le, DEFAULT_PAGE_KEY as ae, SearchButton as oe, RefreshButton as W, OpenButton as te, DEFAULT_STATUS_KEY as ie, AutoApiUtils as ve, useSelect as de, InlineRefreshButton as me, DEFAULT_REMOVE_KEY as we } from "auto-vue-manual";
3
3
  const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */ D({
4
4
  __name: "info",
5
5
  emits: ["refresh"],
6
6
  setup(U, { expose: C, emit: v }) {
7
- const M = v, w = {
7
+ const R = v, w = {
8
8
  key: "",
9
9
  username: "",
10
10
  password: "",
@@ -13,11 +13,11 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
13
13
  language: "zh-CN",
14
14
  remark: "",
15
15
  roles: []
16
- }, { modal: k, title: c, form: s, formData: i, requesting: n, executing: b, open: g, modify: h, submit: V, closed: q } = P(
17
- M,
16
+ }, { modal: k, title: b, form: s, formData: i, requesting: n, executing: f, open: g, modify: h, submit: V, closed: q } = P(
17
+ R,
18
18
  w,
19
19
  re
20
- ), O = {
20
+ ), S = {
21
21
  username: [
22
22
  { required: !0, message: a("base.placeholder.input base.username"), trigger: "blur" }
23
23
  ],
@@ -36,22 +36,22 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
36
36
  roles: [
37
37
  { required: !0, type: "Array", message: a("base.placeholder.select base.roles"), trigger: "change" }
38
38
  ]
39
- }, m = Q([]), p = async () => {
40
- const r = await J.list();
41
- m.value = Array.isArray(r == null ? void 0 : r.data) ? r.data : [];
39
+ }, c = Q([]), p = async () => {
40
+ const u = await J.list();
41
+ c.value = Array.isArray(u == null ? void 0 : u.data) ? u.data : [];
42
42
  };
43
43
  return C({
44
- openOrModify: async (r) => {
45
- m.value.length || await p(), r ? h({ key: r }) : g();
44
+ openOrModify: async (u) => {
45
+ c.value.length || await p(), u ? h({ key: u }) : g();
46
46
  }
47
- }), (r, u) => {
48
- const x = d("el-input"), A = d("el-form-item"), _ = d("el-radio-button"), y = d("el-radio-group"), R = d("el-checkbox"), f = d("el-checkbox-group"), L = d("el-form");
49
- return S(), T(e(Y), {
47
+ }), (u, r) => {
48
+ const x = d("el-input"), A = d("el-form-item"), _ = d("el-radio-button"), y = d("el-radio-group"), O = d("el-checkbox"), m = d("el-checkbox-group"), L = d("el-form");
49
+ return M(), T(e(Y), {
50
50
  modelValue: e(k),
51
- "onUpdate:modelValue": u[7] || (u[7] = (E) => z(k) ? k.value = E : null),
52
- title: e(c)(),
51
+ "onUpdate:modelValue": r[7] || (r[7] = (E) => z(k) ? k.value = E : null),
52
+ title: e(b)(),
53
53
  width: "600px",
54
- executing: e(b),
54
+ executing: e(f),
55
55
  onClosed: e(q),
56
56
  onSubmit: e(V)
57
57
  }, {
@@ -61,8 +61,8 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
61
61
  ref: s,
62
62
  model: e(i),
63
63
  "label-width": "auto",
64
- rules: O,
65
- disabled: e(n) || e(b)
64
+ rules: S,
65
+ disabled: e(n) || e(f)
66
66
  }, {
67
67
  default: t(() => [
68
68
  l(A, {
@@ -72,7 +72,7 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
72
72
  default: t(() => [
73
73
  l(x, {
74
74
  modelValue: e(i).username,
75
- "onUpdate:modelValue": u[0] || (u[0] = (E) => e(i).username = E),
75
+ "onUpdate:modelValue": r[0] || (r[0] = (E) => e(i).username = E),
76
76
  placeholder: e(a)("base.placeholder.input"),
77
77
  autocomplete: "off"
78
78
  }, null, 8, ["modelValue", "placeholder"])
@@ -86,7 +86,7 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
86
86
  default: t(() => [
87
87
  l(x, {
88
88
  modelValue: e(i).phone,
89
- "onUpdate:modelValue": u[1] || (u[1] = (E) => e(i).phone = E),
89
+ "onUpdate:modelValue": r[1] || (r[1] = (E) => e(i).phone = E),
90
90
  placeholder: e(a)("base.placeholder.input"),
91
91
  autocomplete: "off"
92
92
  }, null, 8, ["modelValue", "placeholder"])
@@ -101,7 +101,7 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
101
101
  default: t(() => [
102
102
  l(x, {
103
103
  modelValue: e(i).password,
104
- "onUpdate:modelValue": u[2] || (u[2] = (E) => e(i).password = E),
104
+ "onUpdate:modelValue": r[2] || (r[2] = (E) => e(i).password = E),
105
105
  placeholder: e(a)("base.placeholder.input"),
106
106
  autocomplete: "off"
107
107
  }, null, 8, ["modelValue", "placeholder"])
@@ -115,7 +115,7 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
115
115
  default: t(() => [
116
116
  l(x, {
117
117
  modelValue: e(i).email,
118
- "onUpdate:modelValue": u[3] || (u[3] = (E) => e(i).email = E),
118
+ "onUpdate:modelValue": r[3] || (r[3] = (E) => e(i).email = E),
119
119
  placeholder: e(a)("base.placeholder.input"),
120
120
  autocomplete: "off"
121
121
  }, null, 8, ["modelValue", "placeholder"])
@@ -129,18 +129,18 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
129
129
  default: t(() => [
130
130
  l(y, {
131
131
  modelValue: e(i).language,
132
- "onUpdate:modelValue": u[4] || (u[4] = (E) => e(i).language = E)
132
+ "onUpdate:modelValue": r[4] || (r[4] = (E) => e(i).language = E)
133
133
  }, {
134
134
  default: t(() => [
135
135
  l(_, { value: "zh-CN" }, {
136
- default: t(() => u[8] || (u[8] = [
136
+ default: t(() => r[8] || (r[8] = [
137
137
  N("zh-CN")
138
138
  ])),
139
139
  _: 1,
140
140
  __: [8]
141
141
  }),
142
142
  l(_, { value: "en-US" }, {
143
- default: t(() => u[9] || (u[9] = [
143
+ default: t(() => r[9] || (r[9] = [
144
144
  N("en-US")
145
145
  ])),
146
146
  _: 1,
@@ -157,12 +157,12 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
157
157
  prop: "roles"
158
158
  }, {
159
159
  default: t(() => [
160
- l(f, {
160
+ l(m, {
161
161
  modelValue: e(i).roles,
162
- "onUpdate:modelValue": u[5] || (u[5] = (E) => e(i).roles = E)
162
+ "onUpdate:modelValue": r[5] || (r[5] = (E) => e(i).roles = E)
163
163
  }, {
164
164
  default: t(() => [
165
- (S(!0), I(B, null, j(m.value, (E) => (S(), T(R, {
165
+ (M(!0), I(B, null, j(c.value, (E) => (M(), T(O, {
166
166
  key: E.key,
167
167
  value: E.key
168
168
  }, {
@@ -184,7 +184,7 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
184
184
  default: t(() => [
185
185
  l(x, {
186
186
  modelValue: e(i).remark,
187
- "onUpdate:modelValue": u[6] || (u[6] = (E) => e(i).remark = E),
187
+ "onUpdate:modelValue": r[6] || (r[6] = (E) => e(i).remark = E),
188
188
  placeholder: e(a)("base.placeholder.input")
189
189
  }, null, 8, ["modelValue", "placeholder"])
190
190
  ]),
@@ -256,42 +256,49 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
256
256
  onModify: () => g(h.key)
257
257
  }, null)
258
258
  }], {
259
- requesting: M
259
+ requesting: R
260
260
  } = K(re), {
261
261
  tableRef: w,
262
262
  infoRef: k,
263
- keyword: c,
263
+ keyword: b,
264
264
  search: s,
265
265
  refresh: i,
266
266
  reset: n,
267
- openInfo: b,
267
+ openInfo: f,
268
268
  modifyInfo: g
269
269
  } = F(C);
270
270
  return (h, V) => {
271
- const q = d("el-input"), O = d("el-space"), m = d("el-card");
272
- return S(), T(m, {
271
+ const q = d("el-input"), S = d("el-space"), c = d("el-page-header"), p = d("el-card");
272
+ return M(), T(p, {
273
273
  class: "basic-card flex-full",
274
274
  "body-class": "flex-1"
275
275
  }, {
276
- header: t(() => [l(O, {
277
- class: "search-bar"
276
+ header: t(() => [l(c, {
277
+ class: "basic-header"
278
278
  }, {
279
- default: t(() => [l(e(W), {
280
- loading: e(M),
279
+ title: t(() => [l(e(W), {
280
+ loading: e(R),
281
281
  onRefresh: e(i)
282
- }, null, 8, ["loading", "onRefresh"]), l(e(oe), {
283
- onOpen: e(b)
284
- }, null, 8, ["onOpen"]), l(q, {
285
- class: "basic-search-input",
286
- modelValue: e(c).keyword,
287
- "onUpdate:modelValue": V[0] || (V[0] = (p) => e(c).keyword = p),
288
- placeholder: e(a)("base.placeholder.keyword"),
289
- clearable: "",
290
- onKeyup: X(e(s), ["enter"]),
291
- onClear: e(s)
292
- }, null, 8, ["modelValue", "placeholder", "onKeyup", "onClear"]), l(e(te), {
293
- onSearch: e(s)
294
- }, null, 8, ["onSearch"])]),
282
+ }, null, 8, ["loading", "onRefresh"]), l(e(te), {
283
+ onOpen: e(f)
284
+ }, null, 8, ["onOpen"])]),
285
+ content: t(() => [l(S, {
286
+ class: "search-bar"
287
+ }, {
288
+ default: t(() => [l(q, {
289
+ class: "basic-search-input",
290
+ modelValue: e(b).keyword,
291
+ "onUpdate:modelValue": V[0] || (V[0] = (o) => e(b).keyword = o),
292
+ placeholder: e(a)("base.placeholder.keyword"),
293
+ clearable: "",
294
+ onKeyup: X(e(s), ["enter"]),
295
+ onClear: e(s)
296
+ }, null, 8, ["modelValue", "placeholder", "onKeyup", "onClear"]), l(e(oe), {
297
+ disabled: e(R),
298
+ onSearch: e(s)
299
+ }, null, 8, ["disabled", "onSearch"])]),
300
+ _: 1
301
+ })]),
295
302
  _: 1
296
303
  })]),
297
304
  default: t(() => [l(e(le), {
@@ -300,7 +307,7 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
300
307
  size: "small",
301
308
  columns: v,
302
309
  url: e(re).urls[e(ae)],
303
- "search-param": e(c),
310
+ "search-param": e(b),
304
311
  autoSearch: ""
305
312
  }, null, 8, ["url", "search-param"]), l(xe, {
306
313
  ref_key: "infoRef",
@@ -318,7 +325,7 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
318
325
  __name: "info",
319
326
  emits: ["refresh"],
320
327
  setup(U, { expose: C, emit: v }) {
321
- const M = v, w = {
328
+ const R = v, w = {
322
329
  id: 0,
323
330
  key: "",
324
331
  module: "",
@@ -338,8 +345,8 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
338
345
  result: [
339
346
  { required: !0, message: a("language.placeholder.result"), trigger: "blur" }
340
347
  ]
341
- }, { modal: c, title: s, form: i, formData: n, requesting: b, executing: g, open: h, modify: V, submit: q, closed: O } = P(
342
- M,
348
+ }, { modal: b, title: s, form: i, formData: n, requesting: f, executing: g, open: h, modify: V, submit: q, closed: S } = P(
349
+ R,
343
350
  w,
344
351
  H
345
352
  );
@@ -348,14 +355,14 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
348
355
  p ? V({ id: p }) : h();
349
356
  }
350
357
  }), (p, o) => {
351
- const r = d("el-input"), u = d("el-form-item"), x = d("el-radio-button"), A = d("el-radio-group"), _ = d("el-form");
352
- return S(), T(e(Y), {
353
- modelValue: e(c),
354
- "onUpdate:modelValue": o[5] || (o[5] = (y) => z(c) ? c.value = y : null),
358
+ const u = d("el-input"), r = d("el-form-item"), x = d("el-radio-button"), A = d("el-radio-group"), _ = d("el-form");
359
+ return M(), T(e(Y), {
360
+ modelValue: e(b),
361
+ "onUpdate:modelValue": o[5] || (o[5] = (y) => z(b) ? b.value = y : null),
355
362
  title: e(s)(),
356
363
  width: "600px",
357
364
  executing: e(g),
358
- onClosed: e(O),
365
+ onClosed: e(S),
359
366
  onSubmit: e(q)
360
367
  }, {
361
368
  default: t(() => [
@@ -365,16 +372,16 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
365
372
  model: e(n),
366
373
  "label-width": "auto",
367
374
  rules: k,
368
- disabled: e(b) || e(g)
375
+ disabled: e(f) || e(g)
369
376
  }, {
370
377
  default: t(() => [
371
- l(u, {
378
+ l(r, {
372
379
  label: e(a)("language.module"),
373
380
  prop: "module",
374
381
  required: ""
375
382
  }, {
376
383
  default: t(() => [
377
- l(r, {
384
+ l(u, {
378
385
  modelValue: e(n).module,
379
386
  "onUpdate:modelValue": o[0] || (o[0] = (y) => e(n).module = y),
380
387
  placeholder: e(a)("language.placeholder.module")
@@ -382,13 +389,13 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
382
389
  ]),
383
390
  _: 1
384
391
  }, 8, ["label"]),
385
- l(u, {
392
+ l(r, {
386
393
  label: e(a)("language.key"),
387
394
  prop: "key",
388
395
  required: ""
389
396
  }, {
390
397
  default: t(() => [
391
- l(r, {
398
+ l(u, {
392
399
  modelValue: e(n).key,
393
400
  "onUpdate:modelValue": o[1] || (o[1] = (y) => e(n).key = y),
394
401
  placeholder: e(a)("language.placeholder.key")
@@ -396,7 +403,7 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
396
403
  ]),
397
404
  _: 1
398
405
  }, 8, ["label"]),
399
- l(u, {
406
+ l(r, {
400
407
  label: e(a)("language.language"),
401
408
  prop: "language",
402
409
  required: ""
@@ -427,13 +434,13 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
427
434
  ]),
428
435
  _: 1
429
436
  }, 8, ["label"]),
430
- l(u, {
437
+ l(r, {
431
438
  label: e(a)("language.result"),
432
439
  prop: "result",
433
440
  required: ""
434
441
  }, {
435
442
  default: t(() => [
436
- l(r, {
443
+ l(u, {
437
444
  modelValue: e(n).result,
438
445
  "onUpdate:modelValue": o[3] || (o[3] = (y) => e(n).result = y),
439
446
  placeholder: e(a)("language.placeholder.result")
@@ -441,12 +448,12 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
441
448
  ]),
442
449
  _: 1
443
450
  }, 8, ["label"]),
444
- l(u, {
451
+ l(r, {
445
452
  label: e(a)("base.remark"),
446
453
  prop: "remark"
447
454
  }, {
448
455
  default: t(() => [
449
- l(r, {
456
+ l(u, {
450
457
  modelValue: e(n).remark,
451
458
  "onUpdate:modelValue": o[4] || (o[4] = (y) => e(n).remark = y),
452
459
  placeholder: e(a)("base.placeholder.input")
@@ -518,53 +525,60 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
518
525
  onModify: () => g(h.id)
519
526
  }, null)
520
527
  }], {
521
- requesting: M
528
+ requesting: R
522
529
  } = K(H), {
523
530
  tableRef: w,
524
531
  infoRef: k,
525
- keyword: c,
532
+ keyword: b,
526
533
  search: s,
527
534
  refresh: i,
528
535
  reset: n,
529
- openInfo: b,
536
+ openInfo: f,
530
537
  modifyInfo: g
531
538
  } = F(C);
532
539
  return (h, V) => {
533
- const q = d("el-input"), O = d("el-radio-button"), m = d("el-radio-group"), p = d("el-space"), o = d("el-card");
534
- return S(), T(o, {
540
+ const q = d("el-input"), S = d("el-radio-button"), c = d("el-radio-group"), p = d("el-space"), o = d("el-page-header"), u = d("el-card");
541
+ return M(), T(u, {
535
542
  class: "basic-card flex-full",
536
543
  "body-class": "flex-1"
537
544
  }, {
538
- header: t(() => [l(p, {
539
- class: "search-bar"
545
+ header: t(() => [l(o, {
546
+ class: "basic-header"
540
547
  }, {
541
- default: t(() => [l(e(W), {
542
- loading: e(M),
548
+ title: t(() => [l(e(W), {
549
+ loading: e(R),
543
550
  onRefresh: e(i)
544
- }, null, 8, ["loading", "onRefresh"]), l(e(oe), {
545
- onOpen: e(b)
546
- }, null, 8, ["onOpen"]), l(q, {
547
- class: "basic-search-input",
548
- modelValue: e(c).keyword,
549
- "onUpdate:modelValue": V[0] || (V[0] = (r) => e(c).keyword = r),
550
- placeholder: e(a)("base.placeholder.keyword"),
551
- clearable: "",
552
- onKeyup: X(e(s), ["enter"]),
553
- onClear: e(s)
554
- }, null, 8, ["modelValue", "placeholder", "onKeyup", "onClear"]), l(m, {
555
- modelValue: e(c).status,
556
- "onUpdate:modelValue": V[1] || (V[1] = (r) => e(c).status = r),
557
- onChange: e(s)
551
+ }, null, 8, ["loading", "onRefresh"]), l(e(te), {
552
+ onOpen: e(f)
553
+ }, null, 8, ["onOpen"])]),
554
+ content: t(() => [l(p, {
555
+ class: "search-bar"
558
556
  }, {
559
- default: t(() => [(S(), I(B, null, j([0, 1, 2], (r) => l(O, {
560
- key: r,
561
- label: e(a)(`base.DISABLE_ENABLE.${r}`),
562
- value: r
563
- }, null, 8, ["label", "value"])), 64))]),
557
+ default: t(() => [l(q, {
558
+ class: "basic-search-input",
559
+ modelValue: e(b).keyword,
560
+ "onUpdate:modelValue": V[0] || (V[0] = (r) => e(b).keyword = r),
561
+ placeholder: e(a)("base.placeholder.keyword"),
562
+ clearable: "",
563
+ onKeyup: X(e(s), ["enter"]),
564
+ onClear: e(s)
565
+ }, null, 8, ["modelValue", "placeholder", "onKeyup", "onClear"]), l(c, {
566
+ modelValue: e(b).status,
567
+ "onUpdate:modelValue": V[1] || (V[1] = (r) => e(b).status = r),
568
+ onChange: e(s)
569
+ }, {
570
+ default: t(() => [(M(), I(B, null, j([0, 1, 2], (r) => l(S, {
571
+ key: r,
572
+ label: e(a)(`base.DISABLE_ENABLE.${r}`),
573
+ value: r
574
+ }, null, 8, ["label", "value"])), 64))]),
575
+ _: 1
576
+ }, 8, ["modelValue", "onChange"]), l(e(oe), {
577
+ disabled: e(R),
578
+ onSearch: e(s)
579
+ }, null, 8, ["disabled", "onSearch"])]),
564
580
  _: 1
565
- }, 8, ["modelValue", "onChange"]), l(e(te), {
566
- onSearch: e(s)
567
- }, null, 8, ["onSearch"])]),
581
+ })]),
568
582
  _: 1
569
583
  })]),
570
584
  default: t(() => [l(e(le), {
@@ -573,7 +587,7 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
573
587
  size: "small",
574
588
  columns: v,
575
589
  url: e(H).urls[e(ae)],
576
- "search-param": e(c),
590
+ "search-param": e(b),
577
591
  autoSearch: ""
578
592
  }, null, 8, ["url", "search-param"]), l(Re, {
579
593
  ref_key: "infoRef",
@@ -587,16 +601,16 @@ const re = Z("admin", {}, "key"), J = Z("role", {}, "key"), xe = /* @__PURE__ */
587
601
  }), Me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
588
602
  __proto__: null,
589
603
  default: Ce
590
- }, Symbol.toStringTag, { value: "Module" })), de = {
604
+ }, Symbol.toStringTag, { value: "Module" })), se = {
591
605
  tops: "tops",
592
606
  rules: "rules"
593
- }, $ = ve.createAutoApi("menu", de, "id", Object.keys(de), [], ["TOP_MENU_LIST", "MENU_LIST"]), ce = Z("rule", {}, "key");
607
+ }, $ = ve.createAutoApi("menu", se, "id", Object.keys(se), [], ["TOP_MENU_LIST", "MENU_LIST"]), ce = Z("rule", {}, "key");
594
608
  /*! Element Plus Icons Vue v2.3.1 */
595
609
  var Se = /* @__PURE__ */ D({
596
610
  name: "Key",
597
611
  __name: "key",
598
612
  setup(U) {
599
- return (C, v) => (S(), I("svg", {
613
+ return (C, v) => (M(), I("svg", {
600
614
  xmlns: "http://www.w3.org/2000/svg",
601
615
  viewBox: "0 0 1024 1024"
602
616
  }, [
@@ -623,27 +637,27 @@ const qe = /* @__PURE__ */ D({
623
637
  setup(U, {
624
638
  emit: C
625
639
  }) {
626
- const v = C, M = U, {
640
+ const v = C, R = U, {
627
641
  requesting: w
628
642
  } = K($), {
629
643
  value: k,
630
- options: c,
644
+ options: b,
631
645
  change: s,
632
646
  refresh: i,
633
647
  filterOptions: n
634
- } = se(ue(M, "modelValue"), v, {
648
+ } = de(ue(R, "modelValue"), v, {
635
649
  key: "TOP_MENU_LIST",
636
650
  api: $,
637
651
  url: $.urls.tops,
638
652
  isArray: !0
639
653
  });
640
- return (b, g) => {
654
+ return (f, g) => {
641
655
  const h = d("el-select-v2");
642
- return S(), T(h, {
656
+ return M(), T(h, {
643
657
  class: "w-full",
644
658
  modelValue: e(k),
645
659
  "onUpdate:modelValue": g[1] || (g[1] = (V) => z(k) ? k.value = V : null),
646
- options: e(c),
660
+ options: e(b),
647
661
  multiple: U.multiple,
648
662
  disabled: e(w),
649
663
  placeholder: e(a)("base.placeholder.select"),
@@ -663,7 +677,7 @@ const qe = /* @__PURE__ */ D({
663
677
  __name: "info",
664
678
  emits: ["refresh"],
665
679
  setup(U, { expose: C, emit: v }) {
666
- const M = v, w = {
680
+ const R = v, w = {
667
681
  id: 0,
668
682
  menu_id: 0,
669
683
  module: "",
@@ -703,8 +717,8 @@ const qe = /* @__PURE__ */ D({
703
717
  component: [
704
718
  { required: !0, message: a("base.placeholder.input menu.component"), trigger: "blur" }
705
719
  ]
706
- }, { modal: c, title: s, form: i, formData: n, requesting: b, executing: g, open: h, modify: V, submit: q, closed: O } = P(
707
- M,
720
+ }, { modal: b, title: s, form: i, formData: n, requesting: f, executing: g, open: h, modify: V, submit: q, closed: S } = P(
721
+ R,
708
722
  w,
709
723
  $
710
724
  );
@@ -713,42 +727,42 @@ const qe = /* @__PURE__ */ D({
713
727
  p ? V({ id: p }) : h();
714
728
  }
715
729
  }), (p, o) => {
716
- const r = d("el-form-item"), u = d("el-col"), x = d("el-input-number"), A = d("el-row"), _ = d("el-input"), y = d("el-switch"), R = d("el-form");
717
- return S(), T(e(Y), {
718
- modelValue: e(c),
719
- "onUpdate:modelValue": o[17] || (o[17] = (f) => z(c) ? c.value = f : null),
730
+ const u = d("el-form-item"), r = d("el-col"), x = d("el-input-number"), A = d("el-row"), _ = d("el-input"), y = d("el-switch"), O = d("el-form");
731
+ return M(), T(e(Y), {
732
+ modelValue: e(b),
733
+ "onUpdate:modelValue": o[17] || (o[17] = (m) => z(b) ? b.value = m : null),
720
734
  title: e(s)(),
721
735
  width: "1000px",
722
736
  executing: e(g),
723
- onClosed: e(O),
737
+ onClosed: e(S),
724
738
  onSubmit: e(q)
725
739
  }, {
726
740
  default: t(() => [
727
- l(R, {
741
+ l(O, {
728
742
  ref_key: "form",
729
743
  ref: i,
730
744
  model: e(n),
731
745
  "label-width": "auto",
732
746
  rules: k,
733
- disabled: e(b) || e(g)
747
+ disabled: e(f) || e(g)
734
748
  }, {
735
749
  default: t(() => [
736
750
  l(A, { gutter: 20 }, {
737
751
  default: t(() => [
738
- l(u, { span: 12 }, {
752
+ l(r, { span: 12 }, {
739
753
  default: t(() => [
740
754
  l(A, { gutter: 10 }, {
741
755
  default: t(() => [
742
- l(u, { span: 12 }, {
756
+ l(r, { span: 12 }, {
743
757
  default: t(() => [
744
- l(r, {
758
+ l(u, {
745
759
  label: e(a)("base.parent"),
746
760
  prop: "menu_id"
747
761
  }, {
748
762
  default: t(() => [
749
763
  l(qe, {
750
764
  modelValue: e(n).menu_id,
751
- "onUpdate:modelValue": o[0] || (o[0] = (f) => e(n).menu_id = f)
765
+ "onUpdate:modelValue": o[0] || (o[0] = (m) => e(n).menu_id = m)
752
766
  }, null, 8, ["modelValue"])
753
767
  ]),
754
768
  _: 1
@@ -756,9 +770,9 @@ const qe = /* @__PURE__ */ D({
756
770
  ]),
757
771
  _: 1
758
772
  }),
759
- l(u, { span: 12 }, {
773
+ l(r, { span: 12 }, {
760
774
  default: t(() => [
761
- l(r, {
775
+ l(u, {
762
776
  label: e(a)("base.sort"),
763
777
  prop: "sort"
764
778
  }, {
@@ -766,7 +780,7 @@ const qe = /* @__PURE__ */ D({
766
780
  l(x, {
767
781
  class: "w-full",
768
782
  modelValue: e(n).sort,
769
- "onUpdate:modelValue": o[1] || (o[1] = (f) => e(n).sort = f),
783
+ "onUpdate:modelValue": o[1] || (o[1] = (m) => e(n).sort = m),
770
784
  min: 0,
771
785
  placeholder: e(a)("base.placeholder.input")
772
786
  }, null, 8, ["modelValue", "placeholder"])
@@ -779,79 +793,79 @@ const qe = /* @__PURE__ */ D({
779
793
  ]),
780
794
  _: 1
781
795
  }),
782
- l(r, {
796
+ l(u, {
783
797
  label: e(a)("menu.module"),
784
798
  prop: "module"
785
799
  }, {
786
800
  default: t(() => [
787
801
  l(_, {
788
802
  modelValue: e(n).module,
789
- "onUpdate:modelValue": o[2] || (o[2] = (f) => e(n).module = f),
803
+ "onUpdate:modelValue": o[2] || (o[2] = (m) => e(n).module = m),
790
804
  placeholder: e(a)("base.placeholder.input")
791
805
  }, null, 8, ["modelValue", "placeholder"])
792
806
  ]),
793
807
  _: 1
794
808
  }, 8, ["label"]),
795
- l(r, {
809
+ l(u, {
796
810
  label: e(a)("base.name"),
797
811
  prop: "name"
798
812
  }, {
799
813
  default: t(() => [
800
814
  l(_, {
801
815
  modelValue: e(n).name,
802
- "onUpdate:modelValue": o[3] || (o[3] = (f) => e(n).name = f),
816
+ "onUpdate:modelValue": o[3] || (o[3] = (m) => e(n).name = m),
803
817
  placeholder: e(a)("base.placeholder.input")
804
818
  }, null, 8, ["modelValue", "placeholder"])
805
819
  ]),
806
820
  _: 1
807
821
  }, 8, ["label"]),
808
- l(r, {
822
+ l(u, {
809
823
  label: e(a)("base.en_name"),
810
824
  prop: "en_name"
811
825
  }, {
812
826
  default: t(() => [
813
827
  l(_, {
814
828
  modelValue: e(n).en_name,
815
- "onUpdate:modelValue": o[4] || (o[4] = (f) => e(n).en_name = f),
829
+ "onUpdate:modelValue": o[4] || (o[4] = (m) => e(n).en_name = m),
816
830
  placeholder: e(a)("base.placeholder.input")
817
831
  }, null, 8, ["modelValue", "placeholder"])
818
832
  ]),
819
833
  _: 1
820
834
  }, 8, ["label"]),
821
- l(r, {
835
+ l(u, {
822
836
  label: e(a)("menu.component"),
823
837
  prop: "component"
824
838
  }, {
825
839
  default: t(() => [
826
840
  l(_, {
827
841
  modelValue: e(n).component,
828
- "onUpdate:modelValue": o[5] || (o[5] = (f) => e(n).component = f),
842
+ "onUpdate:modelValue": o[5] || (o[5] = (m) => e(n).component = m),
829
843
  placeholder: e(a)("base.placeholder.input")
830
844
  }, null, 8, ["modelValue", "placeholder"])
831
845
  ]),
832
846
  _: 1
833
847
  }, 8, ["label"]),
834
- l(r, {
848
+ l(u, {
835
849
  label: e(a)("base.url"),
836
850
  prop: "url"
837
851
  }, {
838
852
  default: t(() => [
839
853
  l(_, {
840
854
  modelValue: e(n).url,
841
- "onUpdate:modelValue": o[6] || (o[6] = (f) => e(n).url = f),
855
+ "onUpdate:modelValue": o[6] || (o[6] = (m) => e(n).url = m),
842
856
  placeholder: e(a)("base.placeholder.input")
843
857
  }, null, 8, ["modelValue", "placeholder"])
844
858
  ]),
845
859
  _: 1
846
860
  }, 8, ["label"]),
847
- l(r, {
861
+ l(u, {
848
862
  label: e(a)("base.remark"),
849
863
  prop: "remark"
850
864
  }, {
851
865
  default: t(() => [
852
866
  l(_, {
853
867
  modelValue: e(n).remark,
854
- "onUpdate:modelValue": o[7] || (o[7] = (f) => e(n).remark = f),
868
+ "onUpdate:modelValue": o[7] || (o[7] = (m) => e(n).remark = m),
855
869
  placeholder: e(a)("base.placeholder.input")
856
870
  }, null, 8, ["modelValue", "placeholder"])
857
871
  ]),
@@ -860,24 +874,24 @@ const qe = /* @__PURE__ */ D({
860
874
  ]),
861
875
  _: 1
862
876
  }),
863
- l(u, { span: 12 }, {
877
+ l(r, { span: 12 }, {
864
878
  default: t(() => [
865
- l(r, {
879
+ l(u, {
866
880
  label: e(a)("base.icon"),
867
881
  prop: "icon"
868
882
  }, {
869
883
  default: t(() => [
870
884
  l(_, {
871
885
  modelValue: e(n).icon,
872
- "onUpdate:modelValue": o[8] || (o[8] = (f) => e(n).icon = f),
886
+ "onUpdate:modelValue": o[8] || (o[8] = (m) => e(n).icon = m),
873
887
  placeholder: e(a)("base.placeholder.input"),
874
- onInput: o[9] || (o[9] = (f) => {
875
- e(n).meta.icon = f;
888
+ onInput: o[9] || (o[9] = (m) => {
889
+ e(n).meta.icon = m;
876
890
  })
877
891
  }, {
878
892
  prepend: t(() => [
879
893
  G("span", {
880
- class: fe("iconfont " + e(n).icon)
894
+ class: be("iconfont " + e(n).icon)
881
895
  }, null, 2)
882
896
  ]),
883
897
  _: 1
@@ -885,27 +899,27 @@ const qe = /* @__PURE__ */ D({
885
899
  ]),
886
900
  _: 1
887
901
  }, 8, ["label"]),
888
- l(r, {
902
+ l(u, {
889
903
  label: e(a)("base.title"),
890
904
  prop: "meta.title"
891
905
  }, {
892
906
  default: t(() => [
893
907
  l(_, {
894
908
  modelValue: e(n).meta.title,
895
- "onUpdate:modelValue": o[10] || (o[10] = (f) => e(n).meta.title = f),
909
+ "onUpdate:modelValue": o[10] || (o[10] = (m) => e(n).meta.title = m),
896
910
  placeholder: e(a)("base.placeholder.input")
897
911
  }, null, 8, ["modelValue", "placeholder"])
898
912
  ]),
899
913
  _: 1
900
914
  }, 8, ["label"]),
901
- l(r, {
915
+ l(u, {
902
916
  label: e(a)("menu.active"),
903
917
  prop: "meta.active"
904
918
  }, {
905
919
  default: t(() => [
906
920
  l(_, {
907
921
  modelValue: e(n).meta.active,
908
- "onUpdate:modelValue": o[11] || (o[11] = (f) => e(n).meta.active = f),
922
+ "onUpdate:modelValue": o[11] || (o[11] = (m) => e(n).meta.active = m),
909
923
  placeholder: e(a)("base.placeholder.input")
910
924
  }, null, 8, ["modelValue", "placeholder"])
911
925
  ]),
@@ -913,16 +927,16 @@ const qe = /* @__PURE__ */ D({
913
927
  }, 8, ["label"]),
914
928
  l(A, null, {
915
929
  default: t(() => [
916
- l(u, { span: 12 }, {
930
+ l(r, { span: 12 }, {
917
931
  default: t(() => [
918
- l(r, {
932
+ l(u, {
919
933
  label: e(a)("menu.link"),
920
934
  prop: "meta.link"
921
935
  }, {
922
936
  default: t(() => [
923
937
  l(y, {
924
938
  modelValue: e(n).meta.link,
925
- "onUpdate:modelValue": o[12] || (o[12] = (f) => e(n).meta.link = f)
939
+ "onUpdate:modelValue": o[12] || (o[12] = (m) => e(n).meta.link = m)
926
940
  }, null, 8, ["modelValue"])
927
941
  ]),
928
942
  _: 1
@@ -930,16 +944,16 @@ const qe = /* @__PURE__ */ D({
930
944
  ]),
931
945
  _: 1
932
946
  }),
933
- l(u, { span: 12 }, {
947
+ l(r, { span: 12 }, {
934
948
  default: t(() => [
935
- l(r, {
949
+ l(u, {
936
950
  label: e(a)("menu.keep_alive"),
937
951
  prop: "meta.keep_alive"
938
952
  }, {
939
953
  default: t(() => [
940
954
  l(y, {
941
955
  modelValue: e(n).meta.keep_alive,
942
- "onUpdate:modelValue": o[13] || (o[13] = (f) => e(n).meta.keep_alive = f)
956
+ "onUpdate:modelValue": o[13] || (o[13] = (m) => e(n).meta.keep_alive = m)
943
957
  }, null, 8, ["modelValue"])
944
958
  ]),
945
959
  _: 1
@@ -947,16 +961,16 @@ const qe = /* @__PURE__ */ D({
947
961
  ]),
948
962
  _: 1
949
963
  }),
950
- l(u, { span: 12 }, {
964
+ l(r, { span: 12 }, {
951
965
  default: t(() => [
952
- l(r, {
966
+ l(u, {
953
967
  label: e(a)("menu.hide"),
954
968
  prop: "meta.hide"
955
969
  }, {
956
970
  default: t(() => [
957
971
  l(y, {
958
972
  modelValue: e(n).meta.hide,
959
- "onUpdate:modelValue": o[14] || (o[14] = (f) => e(n).meta.hide = f)
973
+ "onUpdate:modelValue": o[14] || (o[14] = (m) => e(n).meta.hide = m)
960
974
  }, null, 8, ["modelValue"])
961
975
  ]),
962
976
  _: 1
@@ -964,16 +978,16 @@ const qe = /* @__PURE__ */ D({
964
978
  ]),
965
979
  _: 1
966
980
  }),
967
- l(u, { span: 12 }, {
981
+ l(r, { span: 12 }, {
968
982
  default: t(() => [
969
- l(r, {
983
+ l(u, {
970
984
  label: e(a)("menu.full"),
971
985
  prop: "meta.full"
972
986
  }, {
973
987
  default: t(() => [
974
988
  l(y, {
975
989
  modelValue: e(n).meta.full,
976
- "onUpdate:modelValue": o[15] || (o[15] = (f) => e(n).meta.full = f)
990
+ "onUpdate:modelValue": o[15] || (o[15] = (m) => e(n).meta.full = m)
977
991
  }, null, 8, ["modelValue"])
978
992
  ]),
979
993
  _: 1
@@ -981,16 +995,16 @@ const qe = /* @__PURE__ */ D({
981
995
  ]),
982
996
  _: 1
983
997
  }),
984
- l(u, { span: 12 }, {
998
+ l(r, { span: 12 }, {
985
999
  default: t(() => [
986
- l(r, {
1000
+ l(u, {
987
1001
  label: e(a)("menu.affix"),
988
1002
  prop: "meta.affix"
989
1003
  }, {
990
1004
  default: t(() => [
991
1005
  l(y, {
992
1006
  modelValue: e(n).meta.affix,
993
- "onUpdate:modelValue": o[16] || (o[16] = (f) => e(n).meta.affix = f)
1007
+ "onUpdate:modelValue": o[16] || (o[16] = (m) => e(n).meta.affix = m)
994
1008
  }, null, 8, ["modelValue"])
995
1009
  ]),
996
1010
  _: 1
@@ -1031,26 +1045,26 @@ const qe = /* @__PURE__ */ D({
1031
1045
  setup(U, {
1032
1046
  emit: C
1033
1047
  }) {
1034
- const v = C, M = U, {
1048
+ const v = C, R = U, {
1035
1049
  requesting: w
1036
1050
  } = K($), {
1037
1051
  value: k,
1038
- options: c,
1052
+ options: b,
1039
1053
  change: s,
1040
1054
  refresh: i,
1041
1055
  filterOptions: n
1042
- } = se(ue(M, "modelValue"), v, {
1056
+ } = de(ue(R, "modelValue"), v, {
1043
1057
  key: "MENU_LIST",
1044
1058
  api: $,
1045
1059
  isArray: !0
1046
1060
  });
1047
- return (b, g) => {
1061
+ return (f, g) => {
1048
1062
  const h = d("el-select-v2");
1049
- return S(), T(h, {
1063
+ return M(), T(h, {
1050
1064
  class: "w-full",
1051
1065
  modelValue: e(k),
1052
1066
  "onUpdate:modelValue": g[1] || (g[1] = (V) => z(k) ? k.value = V : null),
1053
- options: e(c),
1067
+ options: e(b),
1054
1068
  multiple: U.multiple,
1055
1069
  disabled: e(w),
1056
1070
  placeholder: e(a)("base.placeholder.select"),
@@ -1070,7 +1084,7 @@ const qe = /* @__PURE__ */ D({
1070
1084
  __name: "rule",
1071
1085
  emits: ["refresh"],
1072
1086
  setup(U, { expose: C, emit: v }) {
1073
- const M = v, w = {
1087
+ const R = v, w = {
1074
1088
  key: "",
1075
1089
  menu_id: 0,
1076
1090
  sort: 0,
@@ -1094,8 +1108,8 @@ const qe = /* @__PURE__ */ D({
1094
1108
  urls: [
1095
1109
  { required: !0, message: a("base.placeholder.input base.rules"), trigger: "blur" }
1096
1110
  ]
1097
- }, { modal: c, title: s, form: i, formData: n, requesting: b, executing: g, open: h, modify: V, submit: q, closed: O } = P(
1098
- M,
1111
+ }, { modal: b, title: s, form: i, formData: n, requesting: f, executing: g, open: h, modify: V, submit: q, closed: S } = P(
1112
+ R,
1099
1113
  w,
1100
1114
  ce
1101
1115
  );
@@ -1104,14 +1118,14 @@ const qe = /* @__PURE__ */ D({
1104
1118
  p ? V({ key: p }) : h();
1105
1119
  }
1106
1120
  }), (p, o) => {
1107
- const r = d("el-form-item"), u = d("el-input-number"), x = d("el-input"), A = d("el-col"), _ = d("el-row"), y = d("el-form");
1108
- return S(), T(e(Y), {
1109
- modelValue: e(c),
1110
- "onUpdate:modelValue": o[6] || (o[6] = (R) => z(c) ? c.value = R : null),
1121
+ const u = d("el-form-item"), r = d("el-input-number"), x = d("el-input"), A = d("el-col"), _ = d("el-row"), y = d("el-form");
1122
+ return M(), T(e(Y), {
1123
+ modelValue: e(b),
1124
+ "onUpdate:modelValue": o[6] || (o[6] = (O) => z(b) ? b.value = O : null),
1111
1125
  title: e(s)("base.rules"),
1112
1126
  width: "1000px",
1113
1127
  executing: e(g),
1114
- onClosed: e(O),
1128
+ onClosed: e(S),
1115
1129
  onSubmit: e(q)
1116
1130
  }, {
1117
1131
  default: t(() => [
@@ -1121,74 +1135,74 @@ const qe = /* @__PURE__ */ D({
1121
1135
  model: e(n),
1122
1136
  "label-width": "auto",
1123
1137
  rules: k,
1124
- disabled: e(b) || e(g)
1138
+ disabled: e(f) || e(g)
1125
1139
  }, {
1126
1140
  default: t(() => [
1127
1141
  l(_, { gutter: 20 }, {
1128
1142
  default: t(() => [
1129
1143
  l(A, { span: 10 }, {
1130
1144
  default: t(() => [
1131
- l(r, {
1145
+ l(u, {
1132
1146
  label: e(a)("menu.Menu"),
1133
1147
  prop: "menu_id"
1134
1148
  }, {
1135
1149
  default: t(() => [
1136
1150
  l(Le, {
1137
1151
  modelValue: e(n).menu_id,
1138
- "onUpdate:modelValue": o[0] || (o[0] = (R) => e(n).menu_id = R)
1152
+ "onUpdate:modelValue": o[0] || (o[0] = (O) => e(n).menu_id = O)
1139
1153
  }, null, 8, ["modelValue"])
1140
1154
  ]),
1141
1155
  _: 1
1142
1156
  }, 8, ["label"]),
1143
- l(r, {
1157
+ l(u, {
1144
1158
  label: e(a)("base.sort"),
1145
1159
  prop: "sort"
1146
1160
  }, {
1147
1161
  default: t(() => [
1148
- l(u, {
1162
+ l(r, {
1149
1163
  class: "w-full",
1150
1164
  modelValue: e(n).sort,
1151
- "onUpdate:modelValue": o[1] || (o[1] = (R) => e(n).sort = R),
1165
+ "onUpdate:modelValue": o[1] || (o[1] = (O) => e(n).sort = O),
1152
1166
  min: 0,
1153
1167
  placeholder: e(a)("base.placeholder.input")
1154
1168
  }, null, 8, ["modelValue", "placeholder"])
1155
1169
  ]),
1156
1170
  _: 1
1157
1171
  }, 8, ["label"]),
1158
- l(r, {
1172
+ l(u, {
1159
1173
  label: e(a)("base.name"),
1160
1174
  prop: "name"
1161
1175
  }, {
1162
1176
  default: t(() => [
1163
1177
  l(x, {
1164
1178
  modelValue: e(n).name,
1165
- "onUpdate:modelValue": o[2] || (o[2] = (R) => e(n).name = R),
1179
+ "onUpdate:modelValue": o[2] || (o[2] = (O) => e(n).name = O),
1166
1180
  placeholder: e(a)("base.placeholder.input")
1167
1181
  }, null, 8, ["modelValue", "placeholder"])
1168
1182
  ]),
1169
1183
  _: 1
1170
1184
  }, 8, ["label"]),
1171
- l(r, {
1185
+ l(u, {
1172
1186
  label: e(a)("base.en_name"),
1173
1187
  prop: "en_name"
1174
1188
  }, {
1175
1189
  default: t(() => [
1176
1190
  l(x, {
1177
1191
  modelValue: e(n).en_name,
1178
- "onUpdate:modelValue": o[3] || (o[3] = (R) => e(n).en_name = R),
1192
+ "onUpdate:modelValue": o[3] || (o[3] = (O) => e(n).en_name = O),
1179
1193
  placeholder: e(a)("base.placeholder.input")
1180
1194
  }, null, 8, ["modelValue", "placeholder"])
1181
1195
  ]),
1182
1196
  _: 1
1183
1197
  }, 8, ["label"]),
1184
- l(r, {
1198
+ l(u, {
1185
1199
  label: e(a)("base.remark"),
1186
1200
  prop: "remark"
1187
1201
  }, {
1188
1202
  default: t(() => [
1189
1203
  l(x, {
1190
1204
  modelValue: e(n).remark,
1191
- "onUpdate:modelValue": o[4] || (o[4] = (R) => e(n).remark = R),
1205
+ "onUpdate:modelValue": o[4] || (o[4] = (O) => e(n).remark = O),
1192
1206
  placeholder: e(a)("base.placeholder.input")
1193
1207
  }, null, 8, ["modelValue", "placeholder"])
1194
1208
  ]),
@@ -1199,14 +1213,14 @@ const qe = /* @__PURE__ */ D({
1199
1213
  }),
1200
1214
  l(A, { span: 14 }, {
1201
1215
  default: t(() => [
1202
- l(r, {
1216
+ l(u, {
1203
1217
  label: e(a)("base.rules"),
1204
1218
  prop: "urls"
1205
1219
  }, {
1206
1220
  default: t(() => [
1207
1221
  l(x, {
1208
1222
  modelValue: e(n).urls,
1209
- "onUpdate:modelValue": o[5] || (o[5] = (R) => e(n).urls = R),
1223
+ "onUpdate:modelValue": o[5] || (o[5] = (O) => e(n).urls = O),
1210
1224
  type: "textarea",
1211
1225
  rows: 11,
1212
1226
  placeholder: e(a)("base.placeholder.input")
@@ -1230,7 +1244,7 @@ const qe = /* @__PURE__ */ D({
1230
1244
  }
1231
1245
  });
1232
1246
  function pe(U) {
1233
- return typeof U == "function" || Object.prototype.toString.call(U) === "[object Object]" && !be(U);
1247
+ return typeof U == "function" || Object.prototype.toString.call(U) === "[object Object]" && !fe(U);
1234
1248
  }
1235
1249
  const De = /* @__PURE__ */ D({
1236
1250
  __name: "index",
@@ -1238,7 +1252,7 @@ const De = /* @__PURE__ */ D({
1238
1252
  const C = {
1239
1253
  keyword: "",
1240
1254
  status: 0
1241
- }, v = Q(""), M = [
1255
+ }, v = Q(""), R = [
1242
1256
  {
1243
1257
  label: a("base.sort"),
1244
1258
  prop: "sort",
@@ -1297,8 +1311,8 @@ const De = /* @__PURE__ */ D({
1297
1311
  }) => l(d("el-space"), null, {
1298
1312
  default: () => {
1299
1313
  var o;
1300
- return [(o = p.rules) == null ? void 0 : o.map((r) => l(d("el-popover"), {
1301
- visible: v.value === r.key,
1314
+ return [(o = p.rules) == null ? void 0 : o.map((u) => l(d("el-popover"), {
1315
+ visible: v.value === u.key,
1302
1316
  title: a("message.title.warning"),
1303
1317
  placement: "top-end",
1304
1318
  width: 220
@@ -1306,26 +1320,26 @@ const De = /* @__PURE__ */ D({
1306
1320
  reference: () => l(d("el-tag"), {
1307
1321
  class: "cursor-pointer",
1308
1322
  closable: !0,
1309
- key: r.key,
1310
- onClick: () => O(r.key),
1311
- onClose: () => v.value = r.key
1323
+ key: u.key,
1324
+ onClick: () => S(u.key),
1325
+ onClose: () => v.value = u.key
1312
1326
  }, {
1313
- default: () => [r.translate]
1327
+ default: () => [u.translate]
1314
1328
  }),
1315
1329
  default: () => {
1316
- let u, x;
1317
- return l("div", null, [l("p", null, null), l("p", null, [`${a("base.confirm base.delete base.rules")}: ${p.translate}-${r.translate} ?`]), l("div", {
1330
+ let r, x;
1331
+ return l("div", null, [l("p", null, null), l("p", null, [`${a("base.confirm base.delete base.rules")}: ${p.translate}-${u.translate} ?`]), l("div", {
1318
1332
  style: "text-align: right; margin: 0"
1319
1333
  }, [l(d("el-button"), {
1320
1334
  size: "small",
1321
1335
  text: !0,
1322
1336
  onClick: () => v.value = ""
1323
- }, pe(u = a("base.cancel")) ? u : {
1324
- default: () => [u]
1337
+ }, pe(r = a("base.cancel")) ? r : {
1338
+ default: () => [r]
1325
1339
  }), l(d("el-button"), {
1326
1340
  size: "small",
1327
1341
  type: "danger",
1328
- onClick: () => m(r.key)
1342
+ onClick: () => c(u.key)
1329
1343
  }, pe(x = a("base.confirm")) ? x : {
1330
1344
  default: () => [x]
1331
1345
  })])]);
@@ -1361,18 +1375,18 @@ const De = /* @__PURE__ */ D({
1361
1375
  requesting: w
1362
1376
  } = K($), {
1363
1377
  tableRef: k,
1364
- infoRef: c,
1378
+ infoRef: b,
1365
1379
  keyword: s,
1366
1380
  search: i,
1367
1381
  refresh: n,
1368
- reset: b,
1382
+ reset: f,
1369
1383
  openInfo: g,
1370
1384
  modifyInfo: h
1371
1385
  } = F(C), {
1372
1386
  infoRef: V,
1373
1387
  openInfo: q,
1374
- modifyInfo: O
1375
- } = F(), m = (p) => {
1388
+ modifyInfo: S
1389
+ } = F(), c = (p) => {
1376
1390
  ce[we]({
1377
1391
  key: p
1378
1392
  }).then(() => {
@@ -1380,60 +1394,67 @@ const De = /* @__PURE__ */ D({
1380
1394
  });
1381
1395
  };
1382
1396
  return (p, o) => {
1383
- const r = d("el-button"), u = d("el-input"), x = d("el-radio-button"), A = d("el-radio-group"), _ = d("el-space"), y = d("el-card");
1384
- return S(), T(y, {
1397
+ const u = d("el-button"), r = d("el-input"), x = d("el-radio-button"), A = d("el-radio-group"), _ = d("el-space"), y = d("el-page-header"), O = d("el-card");
1398
+ return M(), T(O, {
1385
1399
  class: "basic-card flex-full",
1386
1400
  "body-class": "flex-1",
1387
1401
  onClick: o[2] || (o[2] = () => v.value = "")
1388
1402
  }, {
1389
- header: t(() => [l(_, {
1390
- class: "search-bar"
1403
+ header: t(() => [l(y, {
1404
+ class: "basic-header"
1391
1405
  }, {
1392
- default: t(() => [l(e(W), {
1406
+ title: t(() => [l(e(W), {
1393
1407
  loading: e(w),
1394
1408
  onRefresh: e(n)
1395
- }, null, 8, ["loading", "onRefresh"]), l(e(oe), {
1409
+ }, null, 8, ["loading", "onRefresh"]), l(e(te), {
1396
1410
  onOpen: e(g)
1397
- }, null, 8, ["onOpen"]), l(r, {
1411
+ }, null, 8, ["onOpen"]), l(u, {
1398
1412
  circle: "",
1399
1413
  onClick: e(q),
1400
1414
  icon: e(Oe)
1401
- }, null, 8, ["onClick", "icon"]), l(u, {
1402
- class: "basic-search-input",
1403
- modelValue: e(s).keyword,
1404
- "onUpdate:modelValue": o[0] || (o[0] = (R) => e(s).keyword = R),
1405
- placeholder: e(a)("base.placeholder.keyword"),
1406
- clearable: "",
1407
- onKeyup: X(e(i), ["enter"]),
1408
- onClear: e(i)
1409
- }, null, 8, ["modelValue", "placeholder", "onKeyup", "onClear"]), l(A, {
1410
- modelValue: e(s).status,
1411
- "onUpdate:modelValue": o[1] || (o[1] = (R) => e(s).status = R),
1412
- onChange: e(i)
1415
+ }, null, 8, ["onClick", "icon"])]),
1416
+ content: t(() => [l(_, {
1417
+ class: "search-bar"
1413
1418
  }, {
1414
- default: t(() => [(S(), I(B, null, j([0, 1, 2], (R) => l(x, {
1415
- key: R,
1416
- label: e(a)(`base.DISABLE_ENABLE.${R}`),
1417
- value: R
1418
- }, null, 8, ["label", "value"])), 64))]),
1419
+ default: t(() => [l(r, {
1420
+ class: "basic-search-input",
1421
+ modelValue: e(s).keyword,
1422
+ "onUpdate:modelValue": o[0] || (o[0] = (m) => e(s).keyword = m),
1423
+ placeholder: e(a)("base.placeholder.keyword"),
1424
+ clearable: "",
1425
+ onKeyup: X(e(i), ["enter"]),
1426
+ onClear: e(i)
1427
+ }, null, 8, ["modelValue", "placeholder", "onKeyup", "onClear"]), l(A, {
1428
+ modelValue: e(s).status,
1429
+ "onUpdate:modelValue": o[1] || (o[1] = (m) => e(s).status = m),
1430
+ onChange: e(i)
1431
+ }, {
1432
+ default: t(() => [(M(), I(B, null, j([0, 1, 2], (m) => l(x, {
1433
+ key: m,
1434
+ label: e(a)(`base.DISABLE_ENABLE.${m}`),
1435
+ value: m
1436
+ }, null, 8, ["label", "value"])), 64))]),
1437
+ _: 1
1438
+ }, 8, ["modelValue", "onChange"]), l(e(oe), {
1439
+ disabled: e(w),
1440
+ onSearch: e(i)
1441
+ }, null, 8, ["disabled", "onSearch"])]),
1419
1442
  _: 1
1420
- }, 8, ["modelValue", "onChange"]), l(e(te), {
1421
- onSearch: e(i)
1422
- }, null, 8, ["onSearch"])]),
1443
+ })]),
1423
1444
  _: 1
1424
1445
  })]),
1425
1446
  default: t(() => [l(e(le), {
1426
1447
  ref_key: "tableRef",
1427
1448
  ref: k,
1428
1449
  size: "small",
1429
- columns: M,
1450
+ columns: R,
1430
1451
  url: e($).urls[e(ae)],
1431
1452
  "search-param": e(s),
1432
1453
  autoSearch: ""
1433
1454
  }, null, 8, ["url", "search-param"]), l(Ee, {
1434
1455
  ref_key: "infoRef",
1435
- ref: c,
1436
- onRefresh: e(b)
1456
+ ref: b,
1457
+ onRefresh: e(f)
1437
1458
  }, null, 8, ["onRefresh"]), l(Te, {
1438
1459
  ref_key: "ruleRef",
1439
1460
  ref: V,
@@ -1454,73 +1475,73 @@ const De = /* @__PURE__ */ D({
1454
1475
  },
1455
1476
  emits: ["update:modelValue"],
1456
1477
  setup(U, { expose: C, emit: v }) {
1457
- const { requesting: M } = K($), w = U, k = v, c = Q(!1), s = _e({
1478
+ const { requesting: R } = K($), w = U, k = v, b = Q(!1), s = _e({
1458
1479
  checkAll: !1,
1459
1480
  indeterminate: !1,
1460
1481
  MenuAll: {},
1461
1482
  MenuList: {},
1462
1483
  MenuIndeterminate: {}
1463
- }), { options: i, refresh: n } = se(
1484
+ }), { options: i, refresh: n } = de(
1464
1485
  ue(w, "modelValue"),
1465
1486
  k,
1466
1487
  { key: "RULE_CHECK", api: $, url: $.urls.rules, isArray: !0 },
1467
1488
  !1
1468
1489
  );
1469
- function b() {
1470
- i.value.forEach((m) => {
1490
+ function f() {
1491
+ i.value.forEach((c) => {
1471
1492
  var p;
1472
- (p = m.rules) != null && p.length && (s.MenuAll[m.id] = !1, s.MenuIndeterminate[m.id] = !1, s.MenuList[m.id] = []);
1493
+ (p = c.rules) != null && p.length && (s.MenuAll[c.id] = !1, s.MenuIndeterminate[c.id] = !1, s.MenuList[c.id] = []);
1473
1494
  });
1474
1495
  }
1475
- function g(m) {
1496
+ function g(c) {
1476
1497
  i.value.forEach((p) => {
1477
1498
  var o;
1478
- (o = p.rules) != null && o.length && (s.MenuList[p.id] = m ? p.rules.map((r) => r.key) : []);
1499
+ (o = p.rules) != null && o.length && (s.MenuList[p.id] = c ? p.rules.map((u) => u.key) : []);
1479
1500
  }), V();
1480
1501
  }
1481
- function h(m, p) {
1482
- const o = i.value.find((r) => r.id === p);
1483
- s.MenuList[p] = m && o ? o.rules.map((r) => r.key) : [], V();
1502
+ function h(c, p) {
1503
+ const o = i.value.find((u) => u.id === p);
1504
+ s.MenuList[p] = c && o ? o.rules.map((u) => u.key) : [], V();
1484
1505
  }
1485
1506
  function V() {
1486
- i.value.forEach((m) => {
1487
- var r, u;
1488
- const p = ((r = m.rules) == null ? void 0 : r.length) || 0, o = ((u = s.MenuList[m.id]) == null ? void 0 : u.length) || 0;
1489
- s.MenuAll[m.id] = o === p && p > 0, s.MenuIndeterminate[m.id] = o > 0 && o < p;
1490
- }), s.checkAll = Object.values(s.MenuAll).every(Boolean), s.indeterminate = !s.checkAll && Object.values(s.MenuList).some((m) => m.length > 0), k("update:modelValue", Object.values(s.MenuList).flat());
1507
+ i.value.forEach((c) => {
1508
+ var u, r;
1509
+ const p = ((u = c.rules) == null ? void 0 : u.length) || 0, o = ((r = s.MenuList[c.id]) == null ? void 0 : r.length) || 0;
1510
+ s.MenuAll[c.id] = o === p && p > 0, s.MenuIndeterminate[c.id] = o > 0 && o < p;
1511
+ }), s.checkAll = Object.values(s.MenuAll).every(Boolean), s.indeterminate = !s.checkAll && Object.values(s.MenuList).some((c) => c.length > 0), k("update:modelValue", Object.values(s.MenuList).flat());
1491
1512
  }
1492
1513
  function q() {
1493
- s.checkAll = !1, s.indeterminate = !1, s.MenuAll = {}, s.MenuList = {}, s.MenuIndeterminate = {}, b(), k("update:modelValue", []), c.value = !1;
1514
+ s.checkAll = !1, s.indeterminate = !1, s.MenuAll = {}, s.MenuList = {}, s.MenuIndeterminate = {}, f(), k("update:modelValue", []), b.value = !1;
1494
1515
  }
1495
- function O(m) {
1516
+ function S(c) {
1496
1517
  var p;
1497
1518
  if (Array.isArray(i.value) && i.value.length > 0) {
1498
1519
  for (let o of i.value)
1499
1520
  if (Array.isArray(o.rules) && o.rules.length > 0)
1500
- for (let r of o.rules)
1501
- m.some((u) => u === r.key) && (s.MenuList[o.id] = (((p = s.MenuList) == null ? void 0 : p[o.id]) || []).concat([r.key]));
1502
- V(), c.value = !0;
1521
+ for (let u of o.rules)
1522
+ c.some((r) => r === u.key) && (s.MenuList[o.id] = (((p = s.MenuList) == null ? void 0 : p[o.id]) || []).concat([u.key]));
1523
+ V(), b.value = !0;
1503
1524
  }
1504
1525
  }
1505
1526
  return ge(async () => {
1506
- var m;
1507
- (m = i.value) != null && m.length || await n(), !c.value && w.modelValue && O(w.modelValue);
1527
+ var c;
1528
+ (c = i.value) != null && c.length || await n(), !b.value && w.modelValue && S(w.modelValue);
1508
1529
  }), he(
1509
1530
  () => w.modelValue,
1510
- (m) => {
1531
+ (c) => {
1511
1532
  Ve(() => {
1512
1533
  var p;
1513
- c.value || !((p = i.value) != null && p.length) || m && m.length > 0 && O(m);
1534
+ b.value || !((p = i.value) != null && p.length) || c && c.length > 0 && S(c);
1514
1535
  });
1515
1536
  },
1516
1537
  { deep: !0, immediate: !0 }
1517
1538
  ), C({
1518
- generateOption: O,
1539
+ generateOption: S,
1519
1540
  cleanChecked: q
1520
- }), (m, p) => {
1521
- const o = d("el-checkbox"), r = d("el-space"), u = d("el-text"), x = d("el-divider"), A = d("el-checkbox-group");
1522
- return S(), I("div", Ie, [
1523
- l(r, { style: { "margin-bottom": "6px" } }, {
1541
+ }), (c, p) => {
1542
+ const o = d("el-checkbox"), u = d("el-space"), r = d("el-text"), x = d("el-divider"), A = d("el-checkbox-group");
1543
+ return M(), I("div", Ie, [
1544
+ l(u, { style: { "margin-bottom": "6px" } }, {
1524
1545
  default: t(() => [
1525
1546
  l(o, {
1526
1547
  "model-value": s.checkAll,
@@ -1536,7 +1557,7 @@ const De = /* @__PURE__ */ D({
1536
1557
  __: [1]
1537
1558
  }, 8, ["model-value", "indeterminate", "disabled"]),
1538
1559
  l(e(W), {
1539
- loading: e(M),
1560
+ loading: e(R),
1540
1561
  text: "",
1541
1562
  size: "small",
1542
1563
  onRefresh: p[0] || (p[0] = (_) => e(n)(!0))
@@ -1544,15 +1565,15 @@ const De = /* @__PURE__ */ D({
1544
1565
  ]),
1545
1566
  _: 1
1546
1567
  }),
1547
- l(r, {
1568
+ l(u, {
1548
1569
  direction: "vertical",
1549
1570
  alignment: "start"
1550
1571
  }, {
1551
1572
  default: t(() => [
1552
- (S(!0), I(B, null, j(e(i), (_) => (S(), I("div", {
1573
+ (M(!0), I(B, null, j(e(i), (_) => (M(), I("div", {
1553
1574
  key: _.id
1554
1575
  }, [
1555
- l(r, {
1576
+ l(u, {
1556
1577
  direction: "horizontal",
1557
1578
  size: 2
1558
1579
  }, {
@@ -1565,7 +1586,7 @@ const De = /* @__PURE__ */ D({
1565
1586
  onChange: (y) => h(y, _.id)
1566
1587
  }, {
1567
1588
  default: t(() => [
1568
- l(u, { style: { "font-size": "15px" } }, {
1589
+ l(r, { style: { "font-size": "15px" } }, {
1569
1590
  default: t(() => [
1570
1591
  N(ne(_.translate), 1)
1571
1592
  ]),
@@ -1575,7 +1596,7 @@ const De = /* @__PURE__ */ D({
1575
1596
  _: 2
1576
1597
  }, 1032, ["model-value", "disabled", "indeterminate", "onChange"]),
1577
1598
  l(x, { direction: "vertical" }),
1578
- _.rules ? (S(), T(A, {
1599
+ _.rules ? (M(), T(A, {
1579
1600
  key: 0,
1580
1601
  modelValue: s.MenuList[_.id],
1581
1602
  "onUpdate:modelValue": (y) => s.MenuList[_.id] = y,
@@ -1584,7 +1605,7 @@ const De = /* @__PURE__ */ D({
1584
1605
  onChange: V
1585
1606
  }, {
1586
1607
  default: t(() => [
1587
- (S(!0), I(B, null, j(_.rules, (y) => (S(), T(o, {
1608
+ (M(!0), I(B, null, j(_.rules, (y) => (M(), T(o, {
1588
1609
  key: y.key,
1589
1610
  value: y.key
1590
1611
  }, {
@@ -1610,7 +1631,7 @@ const De = /* @__PURE__ */ D({
1610
1631
  __name: "info",
1611
1632
  emits: ["refresh"],
1612
1633
  setup(U, { expose: C, emit: v }) {
1613
- const M = v, w = Q(), k = {
1634
+ const R = v, w = Q(), k = {
1614
1635
  key: "",
1615
1636
  module: "",
1616
1637
  sort: 0,
@@ -1618,47 +1639,47 @@ const De = /* @__PURE__ */ D({
1618
1639
  en_name: "",
1619
1640
  remark: "",
1620
1641
  rules: []
1621
- }, c = {
1642
+ }, b = {
1622
1643
  name: [
1623
1644
  { required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }
1624
1645
  ],
1625
1646
  en_name: [
1626
1647
  { required: !0, message: a("base.placeholder.input base.en_name"), trigger: "blur" }
1627
1648
  ]
1628
- }, { modal: s, title: i, form: n, formData: b, requesting: g, executing: h, open: V, modify: q, submit: O, closed: m } = P(
1629
- M,
1649
+ }, { modal: s, title: i, form: n, formData: f, requesting: g, executing: h, open: V, modify: q, submit: S, closed: c } = P(
1650
+ R,
1630
1651
  k,
1631
1652
  J
1632
- ), p = (r) => {
1633
- r ? q({ key: r }) : V();
1653
+ ), p = (u) => {
1654
+ u ? q({ key: u }) : V();
1634
1655
  }, o = () => {
1635
- var r;
1636
- (r = w.value) == null || r.cleanChecked(), m();
1656
+ var u;
1657
+ (u = w.value) == null || u.cleanChecked(), c();
1637
1658
  };
1638
1659
  return C({
1639
1660
  openOrModify: p
1640
- }), (r, u) => {
1641
- const x = d("el-input"), A = d("el-form-item"), _ = d("el-col"), y = d("el-input-number"), R = d("el-row"), f = d("el-form");
1642
- return S(), T(e(Y), {
1661
+ }), (u, r) => {
1662
+ const x = d("el-input"), A = d("el-form-item"), _ = d("el-col"), y = d("el-input-number"), O = d("el-row"), m = d("el-form");
1663
+ return M(), T(e(Y), {
1643
1664
  modelValue: e(s),
1644
- "onUpdate:modelValue": u[6] || (u[6] = (L) => z(s) ? s.value = L : null),
1665
+ "onUpdate:modelValue": r[6] || (r[6] = (L) => z(s) ? s.value = L : null),
1645
1666
  title: e(i)(),
1646
1667
  width: "1000px",
1647
1668
  executing: e(h),
1648
1669
  onClosed: o,
1649
- onSubmit: e(O)
1670
+ onSubmit: e(S)
1650
1671
  }, {
1651
1672
  default: t(() => [
1652
- l(f, {
1673
+ l(m, {
1653
1674
  ref_key: "form",
1654
1675
  ref: n,
1655
- model: e(b),
1676
+ model: e(f),
1656
1677
  "label-width": "auto",
1657
- rules: c,
1678
+ rules: b,
1658
1679
  disabled: e(g) || e(h)
1659
1680
  }, {
1660
1681
  default: t(() => [
1661
- l(R, { gutter: 20 }, {
1682
+ l(O, { gutter: 20 }, {
1662
1683
  default: t(() => [
1663
1684
  l(_, { span: 12 }, {
1664
1685
  default: t(() => [
@@ -1668,8 +1689,8 @@ const De = /* @__PURE__ */ D({
1668
1689
  }, {
1669
1690
  default: t(() => [
1670
1691
  l(x, {
1671
- modelValue: e(b).module,
1672
- "onUpdate:modelValue": u[0] || (u[0] = (L) => e(b).module = L),
1692
+ modelValue: e(f).module,
1693
+ "onUpdate:modelValue": r[0] || (r[0] = (L) => e(f).module = L),
1673
1694
  placeholder: e(a)("base.placeholder.input")
1674
1695
  }, null, 8, ["modelValue", "placeholder"])
1675
1696
  ]),
@@ -1687,8 +1708,8 @@ const De = /* @__PURE__ */ D({
1687
1708
  default: t(() => [
1688
1709
  l(y, {
1689
1710
  class: "w-full",
1690
- modelValue: e(b).sort,
1691
- "onUpdate:modelValue": u[1] || (u[1] = (L) => e(b).sort = L),
1711
+ modelValue: e(f).sort,
1712
+ "onUpdate:modelValue": r[1] || (r[1] = (L) => e(f).sort = L),
1692
1713
  min: 0,
1693
1714
  placeholder: e(a)("base.placeholder.input")
1694
1715
  }, null, 8, ["modelValue", "placeholder"])
@@ -1707,8 +1728,8 @@ const De = /* @__PURE__ */ D({
1707
1728
  }, {
1708
1729
  default: t(() => [
1709
1730
  l(x, {
1710
- modelValue: e(b).name,
1711
- "onUpdate:modelValue": u[2] || (u[2] = (L) => e(b).name = L),
1731
+ modelValue: e(f).name,
1732
+ "onUpdate:modelValue": r[2] || (r[2] = (L) => e(f).name = L),
1712
1733
  placeholder: e(a)("base.placeholder.input")
1713
1734
  }, null, 8, ["modelValue", "placeholder"])
1714
1735
  ]),
@@ -1720,8 +1741,8 @@ const De = /* @__PURE__ */ D({
1720
1741
  }, {
1721
1742
  default: t(() => [
1722
1743
  l(x, {
1723
- modelValue: e(b).en_name,
1724
- "onUpdate:modelValue": u[3] || (u[3] = (L) => e(b).en_name = L),
1744
+ modelValue: e(f).en_name,
1745
+ "onUpdate:modelValue": r[3] || (r[3] = (L) => e(f).en_name = L),
1725
1746
  placeholder: e(a)("base.placeholder.input")
1726
1747
  }, null, 8, ["modelValue", "placeholder"])
1727
1748
  ]),
@@ -1733,8 +1754,8 @@ const De = /* @__PURE__ */ D({
1733
1754
  }, {
1734
1755
  default: t(() => [
1735
1756
  l(x, {
1736
- modelValue: e(b).remark,
1737
- "onUpdate:modelValue": u[4] || (u[4] = (L) => e(b).remark = L),
1757
+ modelValue: e(f).remark,
1758
+ "onUpdate:modelValue": r[4] || (r[4] = (L) => e(f).remark = L),
1738
1759
  placeholder: e(a)("base.placeholder.input")
1739
1760
  }, null, 8, ["modelValue", "placeholder"])
1740
1761
  ]),
@@ -1748,8 +1769,8 @@ const De = /* @__PURE__ */ D({
1748
1769
  l(Ke, {
1749
1770
  ref_key: "rulesCheck",
1750
1771
  ref: w,
1751
- modelValue: e(b).rules,
1752
- "onUpdate:modelValue": u[5] || (u[5] = (L) => e(b).rules = L),
1772
+ modelValue: e(f).rules,
1773
+ "onUpdate:modelValue": r[5] || (r[5] = (L) => e(f).rules = L),
1753
1774
  disabled: e(g) || e(h)
1754
1775
  }, null, 8, ["modelValue", "disabled"])
1755
1776
  ]),
@@ -1807,42 +1828,49 @@ const De = /* @__PURE__ */ D({
1807
1828
  }, null)
1808
1829
  }
1809
1830
  ], {
1810
- requesting: M
1831
+ requesting: R
1811
1832
  } = K(J), {
1812
1833
  tableRef: w,
1813
1834
  infoRef: k,
1814
- keyword: c,
1835
+ keyword: b,
1815
1836
  search: s,
1816
1837
  refresh: i,
1817
1838
  reset: n,
1818
- openInfo: b,
1839
+ openInfo: f,
1819
1840
  modifyInfo: g
1820
1841
  } = F(C);
1821
1842
  return (h, V) => {
1822
- const q = d("el-input"), O = d("el-space"), m = d("el-card");
1823
- return S(), T(m, {
1843
+ const q = d("el-input"), S = d("el-space"), c = d("el-page-header"), p = d("el-card");
1844
+ return M(), T(p, {
1824
1845
  class: "basic-card flex-full",
1825
1846
  "body-class": "flex-1"
1826
1847
  }, {
1827
- header: t(() => [l(O, {
1828
- class: "search-bar"
1848
+ header: t(() => [l(c, {
1849
+ class: "basic-header"
1829
1850
  }, {
1830
- default: t(() => [l(e(W), {
1831
- loading: e(M),
1851
+ title: t(() => [l(e(W), {
1852
+ loading: e(R),
1832
1853
  onRefresh: e(i)
1833
- }, null, 8, ["loading", "onRefresh"]), l(e(oe), {
1834
- onOpen: e(b)
1835
- }, null, 8, ["onOpen"]), l(q, {
1836
- class: "basic-search-input",
1837
- modelValue: e(c).keyword,
1838
- "onUpdate:modelValue": V[0] || (V[0] = (p) => e(c).keyword = p),
1839
- placeholder: e(a)("base.placeholder.keyword"),
1840
- clearable: "",
1841
- onKeyup: X(e(s), ["enter"]),
1842
- onClear: e(s)
1843
- }, null, 8, ["modelValue", "placeholder", "onKeyup", "onClear"]), l(e(te), {
1844
- onSearch: e(s)
1845
- }, null, 8, ["onSearch"])]),
1854
+ }, null, 8, ["loading", "onRefresh"]), l(e(te), {
1855
+ onOpen: e(f)
1856
+ }, null, 8, ["onOpen"])]),
1857
+ content: t(() => [l(S, {
1858
+ class: "search-bar"
1859
+ }, {
1860
+ default: t(() => [l(q, {
1861
+ class: "basic-search-input",
1862
+ modelValue: e(b).keyword,
1863
+ "onUpdate:modelValue": V[0] || (V[0] = (o) => e(b).keyword = o),
1864
+ placeholder: e(a)("base.placeholder.keyword"),
1865
+ clearable: "",
1866
+ onKeyup: X(e(s), ["enter"]),
1867
+ onClear: e(s)
1868
+ }, null, 8, ["modelValue", "placeholder", "onKeyup", "onClear"]), l(e(oe), {
1869
+ disabled: e(R),
1870
+ onSearch: e(s)
1871
+ }, null, 8, ["disabled", "onSearch"])]),
1872
+ _: 1
1873
+ })]),
1846
1874
  _: 1
1847
1875
  })]),
1848
1876
  default: t(() => [l(e(le), {
@@ -1851,7 +1879,7 @@ const De = /* @__PURE__ */ D({
1851
1879
  size: "small",
1852
1880
  columns: v,
1853
1881
  url: e(J).urls[e(ae)],
1854
- "search-param": e(c),
1882
+ "search-param": e(b),
1855
1883
  autoSearch: ""
1856
1884
  }, null, 8, ["url", "search-param"]), l(Ne, {
1857
1885
  ref_key: "infoRef",