@xdmp-open/ui-admin 0.1.9 → 0.1.12

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/context.d.ts +11 -1
  3. package/dist/{index-p1TBNESM.js → index-BF6FC6D9.js} +881 -839
  4. package/dist/index.d.ts +1 -1
  5. package/dist/index.js +15 -14
  6. package/dist/modules/apply/components/applyAddDialog.vue.d.ts +3 -0
  7. package/dist/modules/apply/userApply.vue.d.ts +3 -0
  8. package/dist/modules/audit-login/index.vue.d.ts +3 -1
  9. package/dist/modules/audit-operate/index.vue.d.ts +3 -1
  10. package/dist/modules/member-user/index.vue.d.ts +4 -3
  11. package/dist/modules/system-authority/index.vue.d.ts +5 -1
  12. package/dist/modules/system-authority/modules/menu-drawer.vue.d.ts +1 -0
  13. package/dist/modules/system-binary/index.vue.d.ts +5 -2
  14. package/dist/modules/system-cache/index.vue.d.ts +3 -1
  15. package/dist/modules/system-category/index.vue.d.ts +3 -1
  16. package/dist/modules/system-client/index.vue.d.ts +497 -1
  17. package/dist/modules/system-config/index.vue.d.ts +3 -1
  18. package/dist/modules/system-dict/index.vue.d.ts +6 -2
  19. package/dist/modules/system-dict/modules/dictDrawer.vue.d.ts +2 -2
  20. package/dist/modules/system-label/index.vue.d.ts +3 -1
  21. package/dist/modules/system-monitor-log/index.vue.d.ts +3 -1
  22. package/dist/modules/system-notice/index.vue.d.ts +3 -1
  23. package/dist/modules/system-notify/index.vue.d.ts +3 -1
  24. package/dist/modules/system-open/index.vue.d.ts +3 -1
  25. package/dist/modules/system-position/index.vue.d.ts +480 -1
  26. package/dist/modules/system-role/index.vue.d.ts +4 -5
  27. package/dist/modules/system-role/modules/roleDetail.vue.d.ts +2 -4
  28. package/dist/modules/system-tenant/index.vue.d.ts +4 -1
  29. package/dist/modules/system-user/index.vue.d.ts +3 -1
  30. package/dist/style.css +1 -1
  31. package/dist/{treeSelect-D6MfUZA7.js → treeSelect-CkQ1gASI.js} +1 -1
  32. package/dist/{treeSelect-CvJM_V5R.js → treeSelect-D2QLr66e.js} +1 -1
  33. package/package.json +11 -11
@@ -1,14 +1,14 @@
1
1
  import { createAdminClient as co } from "@xdmp-open/sdk-admin";
2
2
  import { createIotClient as ho } from "@xdmp-open/sdk-iot";
3
- import { defineComponent as Y, defineAsyncComponent as Rt, resolveComponent as a, resolveDirective as M, openBlock as m, createElementBlock as V, createVNode as o, withCtx as n, withDirectives as E, Fragment as ie, renderList as de, createBlock as _, createElementVNode as T, createTextVNode as c, toDisplayString as R, normalizeStyle as Ie, normalizeClass as Ne, createCommentVNode as P, withKeys as tt, withModifiers as x, renderSlot as Re, resolveDynamicComponent as fo, vShow as go } from "vue";
4
- import { isRetainFieldDisabled as Pe, AvatarUpload as rt, XdmpDrawer as ee, $emit as _e, validMoblie as at, isRetainYes as ue, PageDecs as te, validSpecialName as yo, validInputLength as Pt, IconSelect as bo, isDevRuntime as _o, SvgIcon as wo, isRegisteredSvgIcon as Co, Encrypt as ge, validPassword as ko, PageDataInfo as Nt, RETAIN_MSG_DELETE as je, binaryDownloadBlob as lt, SearchForm as vo, validLegalInput as Do, FileUpload as $o } from "@xdmp-open/ui-shared";
3
+ import { defineComponent as Y, defineAsyncComponent as Rt, resolveComponent as a, resolveDirective as M, openBlock as m, createElementBlock as I, createVNode as o, withCtx as n, withDirectives as E, Fragment as ie, renderList as de, createBlock as w, createElementVNode as T, createTextVNode as c, toDisplayString as R, normalizeStyle as Ie, normalizeClass as Ne, createCommentVNode as P, withKeys as tt, withModifiers as x, renderSlot as Re, resolveDynamicComponent as fo, vShow as go } from "vue";
4
+ import { isRetainFieldDisabled as Pe, AvatarUpload as rt, XdmpDrawer as ee, $emit as we, validMoblie as at, isRetainYes as ue, PageDecs as te, validSpecialName as yo, validInputLength as Pt, IconSelect as bo, isDevRuntime as _o, SvgIcon as wo, isRegisteredSvgIcon as Co, Encrypt as ge, validPassword as ko, PageDataInfo as Nt, RETAIN_MSG_DELETE as je, binaryDownloadBlob as lt, SearchForm as vo, validLegalInput as Do, FileUpload as $o } from "@xdmp-open/ui-shared";
5
5
  import { ListReport as oe, FlexibleColumn as It, ObjectPage as Vt } from "@xdmp-open/ui-layout";
6
6
  import O from "dayjs";
7
7
  import { ElMessage as q, ElMessageBox as W, ElInput as it, ElFormItem as st, ElForm as dt, ElDialog as To, ElButtonGroup as So, ElButton as qt, ElSelect as Fo, ElOption as Lo, ElCheckboxGroup as Eo, ElCheckbox as Ro, ElTableColumn as Po, ElTable as No, ElDivider as Io } from "element-plus";
8
8
  import { UserFilled as Vo, OfficeBuilding as qo, QuestionFilled as Oo, InfoFilled as Ao, DocumentCopy as ut } from "@element-plus/icons-vue";
9
9
  import Oe from "clipboard";
10
10
  let Le = null;
11
- function vs(e) {
11
+ function $s(e) {
12
12
  const t = e.adminSdk ?? (e.sdkClient ? co(e.sdkClient) : null);
13
13
  if (!t)
14
14
  throw new Error("[ui-admin] setupAdminUi 需要 sdkClient 或 adminSdk 之一");
@@ -23,27 +23,28 @@ function vs(e) {
23
23
  hasPermission: e.hasPermission,
24
24
  logout: e.logout,
25
25
  refreshUserInfo: e.refreshUserInfo,
26
- regenerateRoutes: e.regenerateRoutes
26
+ regenerateRoutes: e.regenerateRoutes,
27
+ tenantMode: e.tenantMode
27
28
  }
28
29
  };
29
30
  }
30
- function we() {
31
+ function ye() {
31
32
  if (!Le)
32
33
  throw new Error("[ui-admin] 未初始化:宿主启动时请先调用 setupAdminUi({ sdkClient, ... })");
33
34
  return Le;
34
35
  }
35
36
  function L() {
36
- return we().adminSdk;
37
+ return ye().adminSdk;
37
38
  }
38
39
  function pt() {
39
- const e = we();
40
+ const e = ye();
40
41
  if (!e.iotSdk)
41
42
  throw new Error("[ui-admin] 未提供 IoT 客户端:setupAdminUi 时传入 sdkClient 或 iotSdk");
42
43
  return e.iotSdk;
43
44
  }
44
45
  function mt() {
45
46
  var e, t;
46
- return ((t = (e = we().host).getUserInfo) == null ? void 0 : t.call(e)) ?? {};
47
+ return ((t = (e = ye().host).getUserInfo) == null ? void 0 : t.call(e)) ?? {};
47
48
  }
48
49
  function Mo() {
49
50
  const e = mt(), t = e.username || e.account;
@@ -51,14 +52,17 @@ function Mo() {
51
52
  }
52
53
  function Ot() {
53
54
  var e, t;
54
- return ((t = (e = we().host).getRoles) == null ? void 0 : t.call(e)) ?? [];
55
+ return ((t = (e = ye().host).getRoles) == null ? void 0 : t.call(e)) ?? [];
55
56
  }
56
57
  function At() {
57
58
  var e, t;
58
- return ((t = (e = we().host).getMobilePhone) == null ? void 0 : t.call(e)) ?? "";
59
+ return ((t = (e = ye().host).getMobilePhone) == null ? void 0 : t.call(e)) ?? "";
60
+ }
61
+ function Uo() {
62
+ return ye().host.tenantMode === "single" ? "single" : "saas";
59
63
  }
60
64
  function se(e) {
61
- const t = we().host.hasPermission;
65
+ const t = ye().host.hasPermission;
62
66
  return t ? t(e) : !0;
63
67
  }
64
68
  function Mt() {
@@ -67,31 +71,31 @@ function Mt() {
67
71
  ot(null);
68
72
  } catch {
69
73
  }
70
- return (t = (e = we().host).logout) == null ? void 0 : t.call(e);
74
+ return (t = (e = ye().host).logout) == null ? void 0 : t.call(e);
71
75
  }
72
- function Uo() {
76
+ function zo() {
73
77
  var e;
74
78
  return ((e = Le == null ? void 0 : Le.coreSdk) == null ? void 0 : e.getImpersonateTenant()) ?? null;
75
79
  }
76
80
  function ot(e) {
77
- const t = we().coreSdk;
81
+ const t = ye().coreSdk;
78
82
  if (!t)
79
83
  throw new Error("[ui-admin] 未提供 sdkClient:代入需要 SDK 请求引擎注入 X-Tenant-Id");
80
84
  t.setImpersonateTenant(e);
81
85
  }
82
- function zo(e) {
86
+ function Yo(e) {
83
87
  var t, r;
84
- return (r = (t = we().host).refreshUserInfo) == null ? void 0 : r.call(t, e);
88
+ return (r = (t = ye().host).refreshUserInfo) == null ? void 0 : r.call(t, e);
85
89
  }
86
- function Yo(e) {
90
+ function jo(e) {
87
91
  var t, r;
88
- return (r = (t = we().host).regenerateRoutes) == null ? void 0 : r.call(t, e);
92
+ return (r = (t = ye().host).regenerateRoutes) == null ? void 0 : r.call(t, e);
89
93
  }
90
- const jo = Y({
94
+ const Bo = Y({
91
95
  components: {
92
96
  xdmpDrawer: ee,
93
97
  AvatarUpload: rt,
94
- treeSelect: Rt(() => import("./treeSelect-D6MfUZA7.js"))
98
+ treeSelect: Rt(() => import("./treeSelect-CkQ1gASI.js"))
95
99
  },
96
100
  data() {
97
101
  var e = (t, r, l) => {
@@ -209,7 +213,8 @@ const jo = Y({
209
213
  name: "",
210
214
  parentId: "",
211
215
  type: "",
212
- avatar: ""
216
+ avatar: "",
217
+ retainFlag: "0"
213
218
  }, this.id = "";
214
219
  },
215
220
  // 设置子级下所有不可选
@@ -235,9 +240,9 @@ const jo = Y({
235
240
  r[l] = u;
236
241
  return r;
237
242
  };
238
- function Bo(e, t, r, l, u, y) {
243
+ function Ko(e, t, r, l, u, y) {
239
244
  const s = a("el-input"), i = a("el-form-item"), d = a("treeSelect"), p = a("el-option"), b = a("el-select"), f = a("AvatarUpload"), g = a("el-form"), C = a("xdmpDrawer"), k = M("loading");
240
- return m(), V("div", null, [
245
+ return m(), I("div", null, [
241
246
  o(C, {
242
247
  ref: "xdmpDrawer",
243
248
  title: e.title,
@@ -247,7 +252,7 @@ function Bo(e, t, r, l, u, y) {
247
252
  onCancel: e.cancel
248
253
  }, {
249
254
  "xdmp-drawer-body": n(() => [
250
- E((m(), V("div", null, [
255
+ E((m(), I("div", null, [
251
256
  o(g, {
252
257
  ref: "departFormRef",
253
258
  model: e.departForm,
@@ -296,7 +301,7 @@ function Bo(e, t, r, l, u, y) {
296
301
  disabled: e.isRetainFieldDisabled("Depart", "type", e.departForm.retainFlag)
297
302
  }, {
298
303
  default: n(() => [
299
- (m(!0), V(ie, null, de(e.departTypeList, (v, S) => (m(), _(p, {
304
+ (m(!0), I(ie, null, de(e.departTypeList, (v, S) => (m(), w(p, {
300
305
  key: S,
301
306
  label: v.label,
302
307
  value: v.value
@@ -332,7 +337,7 @@ function Bo(e, t, r, l, u, y) {
332
337
  }, 8, ["title", "size", "show-footer", "onSubmit", "onCancel"])
333
338
  ]);
334
339
  }
335
- const Ko = /* @__PURE__ */ z(jo, [["render", Bo]]), Ho = Y({
340
+ const Ho = /* @__PURE__ */ z(Bo, [["render", Ko]]), Qo = Y({
336
341
  components: {
337
342
  xdmpDrawer: ee,
338
343
  AvatarUpload: rt
@@ -494,7 +499,7 @@ const Ko = /* @__PURE__ */ z(jo, [["render", Bo]]), Ho = Y({
494
499
  // 内容是否展示html字段
495
500
  }
496
501
  ), t.$nextTick(() => {
497
- t.$refs.xdmpDrawer.cancelForm(), q.success("操作成功"), t.editMode && u.username === mt().username && zo(u.username), _e(t, "reload");
502
+ t.$refs.xdmpDrawer.cancelForm(), q.success("操作成功"), t.editMode && u.username === mt().username && Yo(u.username), we(t, "reload");
498
503
  });
499
504
  }).catch(() => {
500
505
  t.$refs.xdmpDrawer.hideLoading();
@@ -542,7 +547,8 @@ const Ko = /* @__PURE__ */ z(jo, [["render", Bo]]), Ho = Y({
542
547
  type: "",
543
548
  gender: "99",
544
549
  avatar: "",
545
- projectIds: []
550
+ projectIds: [],
551
+ retainFlag: "0"
546
552
  }, this.isDetail = !1;
547
553
  },
548
554
  // 取消 (组件传递消息)
@@ -591,10 +597,10 @@ const Ko = /* @__PURE__ */ z(jo, [["render", Bo]]), Ho = Y({
591
597
  });
592
598
  }
593
599
  }
594
- }), Qo = { class: "permissionTree" };
595
- function Go(e, t, r, l, u, y) {
600
+ }), Go = { class: "permissionTree" };
601
+ function Jo(e, t, r, l, u, y) {
596
602
  const s = a("el-input"), i = a("el-form-item"), d = a("el-option"), p = a("el-select"), b = a("AvatarUpload"), f = a("el-tree"), g = a("el-form"), C = a("xdmpDrawer"), k = M("emoji"), v = M("loading");
597
- return m(), V("div", null, [
603
+ return m(), I("div", null, [
598
604
  o(C, {
599
605
  ref: "xdmpDrawer",
600
606
  title: e.title,
@@ -604,7 +610,7 @@ function Go(e, t, r, l, u, y) {
604
610
  onCancel: e.cancel
605
611
  }, {
606
612
  "xdmp-drawer-body": n(() => [
607
- E((m(), V("div", null, [
613
+ E((m(), I("div", null, [
608
614
  o(g, {
609
615
  ref: "ruleForm",
610
616
  model: e.ruleForm,
@@ -681,7 +687,7 @@ function Go(e, t, r, l, u, y) {
681
687
  onChange: e.handlefilterRole
682
688
  }, {
683
689
  default: n(() => [
684
- (m(!0), V(ie, null, de(e.roleList, (S) => (m(), _(d, {
690
+ (m(!0), I(ie, null, de(e.roleList, (S) => (m(), w(d, {
685
691
  key: S.value,
686
692
  label: S.label,
687
693
  value: S.roleCode,
@@ -707,7 +713,7 @@ function Go(e, t, r, l, u, y) {
707
713
  disabled: e.isRetainFieldDisabled("User", "type", e.ruleForm.retainFlag)
708
714
  }, {
709
715
  default: n(() => [
710
- (m(!0), V(ie, null, de(e.roleTypeList, (S) => (m(), _(d, {
716
+ (m(!0), I(ie, null, de(e.roleTypeList, (S) => (m(), w(d, {
711
717
  key: S.value,
712
718
  label: S.label,
713
719
  value: S.value
@@ -731,7 +737,7 @@ function Go(e, t, r, l, u, y) {
731
737
  style: { width: "100%" }
732
738
  }, {
733
739
  default: n(() => [
734
- (m(!0), V(ie, null, de(e.roleGenderList, (S) => (m(), _(d, {
740
+ (m(!0), I(ie, null, de(e.roleGenderList, (S) => (m(), w(d, {
735
741
  key: S.value,
736
742
  label: S.label,
737
743
  value: S.value
@@ -762,7 +768,7 @@ function Go(e, t, r, l, u, y) {
762
768
  prop: "projectIds"
763
769
  }, {
764
770
  default: n(() => [
765
- T("div", Qo, [
771
+ T("div", Go, [
766
772
  o(f, {
767
773
  ref: "pertree",
768
774
  data: e.treeSelectData,
@@ -791,14 +797,14 @@ function Go(e, t, r, l, u, y) {
791
797
  }, 8, ["title", "size", "show-footer", "onSubmit", "onCancel"])
792
798
  ]);
793
799
  }
794
- const Jo = /* @__PURE__ */ z(Ho, [["render", Go], ["__scopeId", "data-v-07e1c4d8"]]);
800
+ const Wo = /* @__PURE__ */ z(Qo, [["render", Jo], ["__scopeId", "data-v-af0547f4"]]);
795
801
  function vt(e) {
796
802
  return L().system.binary.download(e).then((t) => new Blob([t.data], { type: t.headers["content-type"] }));
797
803
  }
798
- const Wo = Y({
804
+ const Zo = Y({
799
805
  components: {
800
- addUserDrawer: Jo,
801
- addDepartDrawer: Ko,
806
+ addUserDrawer: Wo,
807
+ addDepartDrawer: Ho,
802
808
  OfficeBuilding: qo,
803
809
  UserFilled: Vo,
804
810
  pageDesc: te,
@@ -1072,14 +1078,14 @@ const Wo = Y({
1072
1078
  // }
1073
1079
  // }
1074
1080
  }
1075
- }), Zo = { class: "account_tree" }, Xo = { style: { display: "flex", gap: "5px", "align-items": "center" } }, xo = { class: "custom-tree-node" }, en = { class: "tree-node-label" }, tn = { class: "searchInputCustomStyle" };
1076
- function on(e, t, r, l, u, y) {
1077
- const s = a("pageDesc"), i = a("el-input"), d = a("el-button"), p = a("el-form-item"), b = a("el-form"), f = a("el-image"), g = a("OfficeBuilding"), C = a("el-icon"), k = a("svg-icon"), v = a("el-tooltip"), S = a("el-tree"), U = a("el-option"), I = a("el-select"), w = a("UserFilled"), D = a("el-table-column"), h = a("el-divider"), H = a("el-dropdown-item"), ce = a("el-dropdown-menu"), re = a("el-dropdown"), G = a("el-table"), Q = a("el-pagination"), he = a("ListReport"), Qe = a("FlexibleColumn"), Ge = a("addUserDrawer"), Se = a("addDepartDrawer"), Ae = M("loading"), F = M("emoji");
1078
- return m(), V("div", null, [
1079
- o(s, { desc: "用户管理,支持部门和用户的维护管理。" }),
1081
+ }), Xo = { class: "account_tree" }, xo = { style: { display: "flex", gap: "5px", "align-items": "center" } }, en = { class: "custom-tree-node" }, tn = { class: "tree-node-label" }, on = { class: "searchInputCustomStyle" };
1082
+ function nn(e, t, r, l, u, y) {
1083
+ const s = a("pageDesc"), i = a("el-input"), d = a("el-button"), p = a("el-form-item"), b = a("el-form"), f = a("el-image"), g = a("OfficeBuilding"), C = a("el-icon"), k = a("svg-icon"), v = a("el-tooltip"), S = a("el-tree"), U = a("el-option"), V = a("el-select"), _ = a("UserFilled"), D = a("el-table-column"), h = a("el-divider"), H = a("el-dropdown-item"), ce = a("el-dropdown-menu"), re = a("el-dropdown"), G = a("el-table"), Q = a("el-pagination"), he = a("ListReport"), Qe = a("FlexibleColumn"), Ge = a("addUserDrawer"), Se = a("addDepartDrawer"), Ae = M("loading"), F = M("emoji");
1084
+ return m(), I("div", null, [
1085
+ o(s),
1080
1086
  o(Qe, { class: "account_wrapper" }, {
1081
1087
  begin: n(() => [
1082
- T("div", Zo, [
1088
+ T("div", Xo, [
1083
1089
  T("div", null, [
1084
1090
  o(b, {
1085
1091
  ref: "departSearchForm",
@@ -1090,7 +1096,7 @@ function on(e, t, r, l, u, y) {
1090
1096
  default: n(() => [
1091
1097
  o(p, { prop: "keyword" }, {
1092
1098
  default: n(() => [
1093
- T("div", Xo, [
1099
+ T("div", xo, [
1094
1100
  o(i, {
1095
1101
  modelValue: e.departForm.keyword,
1096
1102
  "onUpdate:modelValue": t[0] || (t[0] = ($) => e.departForm.keyword = $),
@@ -1113,7 +1119,7 @@ function on(e, t, r, l, u, y) {
1113
1119
  }),
1114
1120
  o(p, null, {
1115
1121
  default: n(() => [
1116
- e.checkPermission(["ROLE_DEPART_CREATE"]) ? (m(), _(d, {
1122
+ e.checkPermission(["ROLE_DEPART_CREATE"]) ? (m(), w(d, {
1117
1123
  key: 0,
1118
1124
  type: "primary",
1119
1125
  icon: "Plus",
@@ -1132,7 +1138,7 @@ function on(e, t, r, l, u, y) {
1132
1138
  _: 1
1133
1139
  }, 8, ["model", "onKeyup"])
1134
1140
  ]),
1135
- E((m(), _(S, {
1141
+ E((m(), w(S, {
1136
1142
  id: "tree-option",
1137
1143
  ref: "pTree",
1138
1144
  data: e.departTree,
@@ -1142,14 +1148,14 @@ function on(e, t, r, l, u, y) {
1142
1148
  onNodeClick: e.handleNodeClick
1143
1149
  }, {
1144
1150
  default: n(({ data: $ }) => [
1145
- T("span", xo, [
1146
- T("span", en, [
1147
- $.extend._avatarUrl ? (m(), _(f, {
1151
+ T("span", en, [
1152
+ T("span", tn, [
1153
+ $.extend._avatarUrl ? (m(), w(f, {
1148
1154
  key: 0,
1149
1155
  src: $.extend._avatarUrl,
1150
1156
  style: { width: "24px", height: "24px", "border-radius": "50%", "vertical-align": "middle", "margin-right": "6px", "flex-shrink": "0" },
1151
1157
  fit: "cover"
1152
- }, null, 8, ["src"])) : (m(), _(C, {
1158
+ }, null, 8, ["src"])) : (m(), w(C, {
1153
1159
  key: 1,
1154
1160
  style: { width: "24px", height: "24px", "vertical-align": "middle", "margin-right": "6px", "flex-shrink": "0", color: "#c0c4cc" }
1155
1161
  }, {
@@ -1161,7 +1167,7 @@ function on(e, t, r, l, u, y) {
1161
1167
  c(" " + R($.title), 1)
1162
1168
  ]),
1163
1169
  T("span", null, [
1164
- e.checkPermission(["ROLE_DEPART_UPDATE"]) ? (m(), _(k, {
1170
+ e.checkPermission(["ROLE_DEPART_UPDATE"]) ? (m(), w(k, {
1165
1171
  key: 0,
1166
1172
  "icon-class": "system_depart_edit",
1167
1173
  onClick: x((B) => e.showAddDepart($, "edit"), ["stop"])
@@ -1173,7 +1179,7 @@ function on(e, t, r, l, u, y) {
1173
1179
  }, {
1174
1180
  default: n(() => [
1175
1181
  T("span", null, [
1176
- e.checkPermission(["ROLE_DEPART_DELETE"]) ? (m(), _(k, {
1182
+ e.checkPermission(["ROLE_DEPART_DELETE"]) ? (m(), w(k, {
1177
1183
  key: 0,
1178
1184
  "icon-class": "system_depart_del",
1179
1185
  class: Ne({ "svg-icon-disabled": e.isRetainYes($.extend.retainFlag) }),
@@ -1194,7 +1200,7 @@ function on(e, t, r, l, u, y) {
1194
1200
  ])
1195
1201
  ]),
1196
1202
  end: n(() => [
1197
- E((m(), _(he, { class: "operate_block" }, {
1203
+ E((m(), w(he, { class: "operate_block" }, {
1198
1204
  filter: n(() => [
1199
1205
  o(b, {
1200
1206
  ref: "searchForm",
@@ -1226,7 +1232,7 @@ function on(e, t, r, l, u, y) {
1226
1232
  prop: "roleIds"
1227
1233
  }, {
1228
1234
  default: n(() => [
1229
- o(I, {
1235
+ o(V, {
1230
1236
  modelValue: e.listQuery.query.roleIds,
1231
1237
  "onUpdate:modelValue": t[3] || (t[3] = ($) => e.listQuery.query.roleIds = $),
1232
1238
  placeholder: "请选择角色",
@@ -1234,7 +1240,7 @@ function on(e, t, r, l, u, y) {
1234
1240
  multiple: ""
1235
1241
  }, {
1236
1242
  default: n(() => [
1237
- (m(!0), V(ie, null, de(e.roleSelectOpt, ($) => (m(), _(U, {
1243
+ (m(!0), I(ie, null, de(e.roleSelectOpt, ($) => (m(), w(U, {
1238
1244
  key: $.value,
1239
1245
  label: $.label,
1240
1246
  value: $.value
@@ -1275,8 +1281,8 @@ function on(e, t, r, l, u, y) {
1275
1281
  }, 8, ["model", "onKeyup"])
1276
1282
  ]),
1277
1283
  toolbar: n(() => [
1278
- T("div", tn, [
1279
- e.checkPermission(["ROLE_USER_CREATE"]) ? (m(), _(d, {
1284
+ T("div", on, [
1285
+ e.checkPermission(["ROLE_USER_CREATE"]) ? (m(), w(d, {
1280
1286
  key: 0,
1281
1287
  style: { width: "88px" },
1282
1288
  type: "primary",
@@ -1303,28 +1309,28 @@ function on(e, t, r, l, u, y) {
1303
1309
  align: "center"
1304
1310
  }, {
1305
1311
  default: n(($) => [
1306
- $.row._avatarUrl ? (m(), _(f, {
1312
+ $.row._avatarUrl ? (m(), w(f, {
1307
1313
  key: 0,
1308
1314
  src: $.row._avatarUrl,
1309
1315
  "preview-src-list": [],
1310
1316
  style: { width: "36px", height: "36px", "border-radius": "50%" },
1311
1317
  fit: "cover"
1312
- }, null, 8, ["src"])) : $.row.avatar ? (m(), _(C, {
1318
+ }, null, 8, ["src"])) : $.row.avatar ? (m(), w(C, {
1313
1319
  key: 1,
1314
1320
  size: 36,
1315
1321
  color: "#c0c4cc"
1316
1322
  }, {
1317
1323
  default: n(() => [
1318
- o(w)
1324
+ o(_)
1319
1325
  ]),
1320
1326
  _: 1
1321
- })) : (m(), _(C, {
1327
+ })) : (m(), w(C, {
1322
1328
  key: 2,
1323
1329
  size: 36,
1324
1330
  color: "#c0c4cc"
1325
1331
  }, {
1326
1332
  default: n(() => [
1327
- o(w)
1333
+ o(_)
1328
1334
  ]),
1329
1335
  _: 1
1330
1336
  }))
@@ -1400,11 +1406,11 @@ function on(e, t, r, l, u, y) {
1400
1406
  width: "220"
1401
1407
  }, {
1402
1408
  default: n(($) => [
1403
- e.checkPermission(["ROLE_USER_UPDATE"]) ? (m(), _(d, {
1409
+ e.checkPermission(["ROLE_USER_UPDATE"]) ? (m(), w(d, {
1404
1410
  key: 0,
1405
1411
  text: "",
1406
1412
  type: "primary",
1407
- disabled: $.row.isCurrent,
1413
+ disabled: $.row.isCurrent || $.row.retainFlag === "1",
1408
1414
  onClick: (B) => e.detail({ ...$.row, edit: !0, showPassword: !1 })
1409
1415
  }, {
1410
1416
  default: n(() => [...t[9] || (t[9] = [
@@ -1431,16 +1437,27 @@ function on(e, t, r, l, u, y) {
1431
1437
  dropdown: n(() => [
1432
1438
  o(ce, null, {
1433
1439
  default: n(() => [
1434
- e.checkPermission(["ROLE_USER_RESET_PASSWORD"]) ? (m(), _(H, {
1435
- key: 0,
1436
- command: "resetPassword",
1437
- disabled: $.row.isCurrent
1440
+ o(v, {
1441
+ disabled: $.row.retainFlag !== "1",
1442
+ content: "系统保留用户禁止重置密码",
1443
+ placement: "top"
1438
1444
  }, {
1439
- default: n(() => [...t[12] || (t[12] = [
1440
- c("重置密码 ", -1)
1441
- ])]),
1442
- _: 1
1443
- }, 8, ["disabled"])) : P("", !0),
1445
+ default: n(() => [
1446
+ T("span", null, [
1447
+ e.checkPermission(["ROLE_USER_RESET_PASSWORD"]) ? (m(), w(H, {
1448
+ key: 0,
1449
+ command: "resetPassword",
1450
+ disabled: $.row.isCurrent || $.row.retainFlag === "1"
1451
+ }, {
1452
+ default: n(() => [...t[12] || (t[12] = [
1453
+ c("重置密码", -1)
1454
+ ])]),
1455
+ _: 1
1456
+ }, 8, ["disabled"])) : P("", !0)
1457
+ ])
1458
+ ]),
1459
+ _: 2
1460
+ }, 1032, ["disabled"]),
1444
1461
  o(v, {
1445
1462
  disabled: !e.isRetainYes($.row.retainFlag),
1446
1463
  content: "系统保留用户禁止停用",
@@ -1448,7 +1465,7 @@ function on(e, t, r, l, u, y) {
1448
1465
  }, {
1449
1466
  default: n(() => [
1450
1467
  T("span", null, [
1451
- e.checkPermission(["ROLE_USER_CHANGE_STATUS"]) ? (m(), _(H, {
1468
+ e.checkPermission(["ROLE_USER_CHANGE_STATUS"]) ? (m(), w(H, {
1452
1469
  key: 0,
1453
1470
  command: $.row.enabledFlag === "1" ? "disable" : "enable",
1454
1471
  disabled: $.row.isCurrent || e.isRetainYes($.row.retainFlag)
@@ -1469,7 +1486,7 @@ function on(e, t, r, l, u, y) {
1469
1486
  }, {
1470
1487
  default: n(() => [
1471
1488
  T("span", null, [
1472
- e.checkPermission(["ROLE_USER_CHANGE_LOCK"]) ? (m(), _(H, {
1489
+ e.checkPermission(["ROLE_USER_CHANGE_LOCK"]) ? (m(), w(H, {
1473
1490
  key: 0,
1474
1491
  command: $.row.lockedFlag === "1" ? "unlock" : "lock",
1475
1492
  disabled: $.row.isCurrent || e.isRetainYes($.row.retainFlag)
@@ -1490,7 +1507,7 @@ function on(e, t, r, l, u, y) {
1490
1507
  }, {
1491
1508
  default: n(() => [
1492
1509
  T("span", null, [
1493
- e.checkPermission(["ROLE_USER_DELETE"]) ? (m(), _(H, {
1510
+ e.checkPermission(["ROLE_USER_DELETE"]) ? (m(), w(H, {
1494
1511
  key: 0,
1495
1512
  command: "delete",
1496
1513
  disabled: $.row.isCurrent || e.isRetainYes($.row.retainFlag),
@@ -1561,8 +1578,8 @@ function on(e, t, r, l, u, y) {
1561
1578
  }, null, 8, ["onReload"])
1562
1579
  ]);
1563
1580
  }
1564
- const Ds = /* @__PURE__ */ z(Wo, [["render", on], ["__scopeId", "data-v-0cbae3c2"]]);
1565
- var nn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1581
+ const Ts = /* @__PURE__ */ z(Zo, [["render", nn], ["__scopeId", "data-v-af04610a"]]);
1582
+ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1566
1583
  function Ut(e) {
1567
1584
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1568
1585
  }
@@ -1570,7 +1587,7 @@ var zt = { exports: {} };
1570
1587
  (function(e, t) {
1571
1588
  (function(r, l) {
1572
1589
  e.exports = l();
1573
- })(nn, function() {
1590
+ })(rn, function() {
1574
1591
  return function(r, l, u) {
1575
1592
  r = r || {};
1576
1593
  var y = l.prototype, s = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
@@ -1578,12 +1595,12 @@ var zt = { exports: {} };
1578
1595
  return y.fromToBase(p, b, f, g);
1579
1596
  }
1580
1597
  u.en.relativeTime = s, y.fromToBase = function(p, b, f, g, C) {
1581
- for (var k, v, S, U = f.$locale().relativeTime || s, I = r.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], w = I.length, D = 0; D < w; D += 1) {
1582
- var h = I[D];
1598
+ for (var k, v, S, U = f.$locale().relativeTime || s, V = r.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], _ = V.length, D = 0; D < _; D += 1) {
1599
+ var h = V[D];
1583
1600
  h.d && (k = g ? u(p).diff(f, h.d, !0) : f.diff(p, h.d, !0));
1584
1601
  var H = (r.rounding || Math.round)(Math.abs(k));
1585
1602
  if (S = k > 0, H <= h.r || !h.r) {
1586
- H <= 1 && D > 0 && (h = I[D - 1]);
1603
+ H <= 1 && D > 0 && (h = V[D - 1]);
1587
1604
  var ce = U[h.l];
1588
1605
  C && (H = C("" + H)), v = typeof ce == "string" ? ce.replace("%d", H) : ce(H, b, h.l, S);
1589
1606
  break;
@@ -1608,18 +1625,18 @@ var zt = { exports: {} };
1608
1625
  };
1609
1626
  });
1610
1627
  })(zt);
1611
- var rn = zt.exports;
1612
- const an = /* @__PURE__ */ Ut(rn);
1613
- O.extend(an);
1614
- function ln(e) {
1628
+ var an = zt.exports;
1629
+ const ln = /* @__PURE__ */ Ut(an);
1630
+ O.extend(ln);
1631
+ function sn(e) {
1615
1632
  const t = [];
1616
1633
  return ct(e, (r) => {
1617
1634
  r.key && t.push(r.key);
1618
1635
  }), t;
1619
1636
  }
1620
- function sn(e, t, r, l) {
1637
+ function dn(e, t, r, l) {
1621
1638
  const u = new Set(e);
1622
- return r ? (t.key && (u.add(t.key), Yt(l, t.key).forEach((y) => u.add(y))), nt(t).forEach((y) => u.add(y)), [...u]) : (t.key && u.delete(t.key), nt(t).forEach((y) => u.delete(y)), t.key && dn(l, t.key, u), [...u]);
1639
+ return r ? (t.key && (u.add(t.key), Yt(l, t.key).forEach((y) => u.add(y))), nt(t).forEach((y) => u.add(y)), [...u]) : (t.key && u.delete(t.key), nt(t).forEach((y) => u.delete(y)), t.key && un(l, t.key, u), [...u]);
1623
1640
  }
1624
1641
  function nt(e) {
1625
1642
  const t = [];
@@ -1642,7 +1659,7 @@ function Yt(e, t) {
1642
1659
  };
1643
1660
  return l(e, []), r;
1644
1661
  }
1645
- function dn(e, t, r) {
1662
+ function un(e, t, r) {
1646
1663
  const l = Yt(e, t);
1647
1664
  for (let u = l.length - 1; u >= 0; u--) {
1648
1665
  const y = l[u], s = jt(e, y);
@@ -1666,13 +1683,13 @@ function ct(e, t) {
1666
1683
  for (const r of e)
1667
1684
  t(r), ct(r.children, t);
1668
1685
  }
1669
- function un(e) {
1686
+ function pn(e) {
1670
1687
  return e === !0;
1671
1688
  }
1672
- function pn(e) {
1689
+ function mn(e) {
1673
1690
  return e ? "add" : "update";
1674
1691
  }
1675
- function mn(e, t) {
1692
+ function cn(e, t) {
1676
1693
  return {
1677
1694
  name: e.name,
1678
1695
  code: e.code,
@@ -1680,7 +1697,7 @@ function mn(e, t) {
1680
1697
  authorityCodes: t
1681
1698
  };
1682
1699
  }
1683
- const cn = Y({
1700
+ const hn = Y({
1684
1701
  components: {
1685
1702
  xdmpDrawer: ee
1686
1703
  },
@@ -1755,7 +1772,7 @@ const cn = Y({
1755
1772
  },
1756
1773
  // 初始化
1757
1774
  async init(e, t) {
1758
- this.edit = !!e.edit, this.addmode = un(t), this.pertree = [];
1775
+ this.edit = !!e.edit, this.addmode = pn(t), this.pertree = [];
1759
1776
  let r = {};
1760
1777
  if (await this.getPerTree(), this.treeSetDisabled(this.pertree), this.addmode)
1761
1778
  this.title = "新建角色", this.ruleForm = {
@@ -1792,8 +1809,8 @@ const cn = Y({
1792
1809
  this.$refs.ruleForm.validate((l) => {
1793
1810
  if (l) {
1794
1811
  this.$refs.xdmpDrawer.showLoading();
1795
- const u = L(), y = mn(this.ruleForm, t);
1796
- (pn(this.addmode) === "add" ? u.system.role.add(y) : u.system.role.update(y.code, y)).then(() => {
1812
+ const u = L(), y = cn(this.ruleForm, t);
1813
+ (mn(this.addmode) === "add" ? u.system.role.add(y) : u.system.role.update(y.code, y)).then(() => {
1797
1814
  q.success(this.addmode ? "新建成功" : "修改成功"), this.$emit("reload"), this.$refs.xdmpDrawer.cancelForm();
1798
1815
  }).catch(() => {
1799
1816
  this.$refs.xdmpDrawer.hideLoading();
@@ -1802,13 +1819,13 @@ const cn = Y({
1802
1819
  });
1803
1820
  },
1804
1821
  onPermissionCheck(e, t) {
1805
- const r = !!e.key && t.checkedKeys.includes(e.key), l = sn(t.checkedKeys, e, r, this.pertree);
1822
+ const r = !!e.key && t.checkedKeys.includes(e.key), l = dn(t.checkedKeys, e, r, this.pertree);
1806
1823
  this.$nextTick(() => {
1807
1824
  this.$refs.pertree.setCheckedKeys(l), this.ruleForm.authorityCodes = l;
1808
1825
  });
1809
1826
  },
1810
1827
  selectAllPermissions() {
1811
- const e = ln(this.pertree);
1828
+ const e = sn(this.pertree);
1812
1829
  this.$refs.pertree.setCheckedKeys(e), this.ruleForm.authorityCodes = e;
1813
1830
  },
1814
1831
  clearAllPermissions() {
@@ -1824,13 +1841,13 @@ const cn = Y({
1824
1841
  }, this.edit = !0, this.addmode = !1;
1825
1842
  }
1826
1843
  }
1827
- }), hn = { class: "permission-label" }, fn = {
1844
+ }), fn = { class: "permission-label" }, gn = {
1828
1845
  key: 0,
1829
1846
  class: "permission-label-actions"
1830
- }, gn = { class: "permissionTree" };
1831
- function yn(e, t, r, l, u, y) {
1847
+ }, yn = { class: "permissionTree" };
1848
+ function bn(e, t, r, l, u, y) {
1832
1849
  const s = a("el-input"), i = a("el-form-item"), d = a("el-button"), p = a("el-tree"), b = a("el-form"), f = a("xdmpDrawer"), g = M("emoji"), C = M("loading");
1833
- return m(), _(f, {
1850
+ return m(), w(f, {
1834
1851
  ref: "xdmpDrawer",
1835
1852
  title: e.title,
1836
1853
  "show-footer": e.edit,
@@ -1839,7 +1856,7 @@ function yn(e, t, r, l, u, y) {
1839
1856
  onSubmit: e.submit
1840
1857
  }, {
1841
1858
  "xdmp-drawer-body": n(() => [
1842
- E((m(), V("div", null, [
1859
+ E((m(), I("div", null, [
1843
1860
  o(b, {
1844
1861
  ref: "ruleForm",
1845
1862
  model: e.ruleForm,
@@ -1907,9 +1924,9 @@ function yn(e, t, r, l, u, y) {
1907
1924
  "label-width": "100%"
1908
1925
  }, {
1909
1926
  label: n(() => [
1910
- T("div", hn, [
1927
+ T("div", fn, [
1911
1928
  t[5] || (t[5] = T("span", null, "权限设置", -1)),
1912
- e.edit ? (m(), V("span", fn, [
1929
+ e.edit ? (m(), I("span", gn, [
1913
1930
  o(d, {
1914
1931
  type: "primary",
1915
1932
  text: "",
@@ -1934,7 +1951,7 @@ function yn(e, t, r, l, u, y) {
1934
1951
  ])
1935
1952
  ]),
1936
1953
  default: n(() => [
1937
- T("div", gn, [
1954
+ T("div", yn, [
1938
1955
  o(p, {
1939
1956
  ref: "pertree",
1940
1957
  disabled: !e.edit,
@@ -1963,10 +1980,10 @@ function yn(e, t, r, l, u, y) {
1963
1980
  _: 1
1964
1981
  }, 8, ["title", "show-footer", "size", "onCancel", "onSubmit"]);
1965
1982
  }
1966
- const bn = /* @__PURE__ */ z(cn, [["render", yn], ["__scopeId", "data-v-1f26dba3"]]), _n = Y({
1983
+ const _n = /* @__PURE__ */ z(hn, [["render", bn], ["__scopeId", "data-v-22bcae33"]]), wn = Y({
1967
1984
  components: {
1968
1985
  ListReport: oe,
1969
- roleDetail: bn,
1986
+ roleDetail: _n,
1970
1987
  pageDesc: te
1971
1988
  },
1972
1989
  data() {
@@ -2042,12 +2059,12 @@ const bn = /* @__PURE__ */ z(cn, [["render", yn], ["__scopeId", "data-v-1f26dba3
2042
2059
  });
2043
2060
  }
2044
2061
  }
2045
- }), wn = { class: "role_wrapper" }, Cn = { class: "searchInputCustomStyle" };
2046
- function kn(e, t, r, l, u, y) {
2047
- const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-divider"), C = a("el-table"), k = a("el-pagination"), v = a("ListReport"), S = a("roleDetail"), U = M("emoji"), I = M("loading");
2048
- return m(), V("div", wn, [
2049
- o(s, { desc: "角色管理,支持系统角色的增删改查。" }),
2050
- E((m(), _(v, { class: "role_block" }, {
2062
+ }), Cn = { class: "role_wrapper" }, kn = { class: "searchInputCustomStyle" };
2063
+ function vn(e, t, r, l, u, y) {
2064
+ const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-divider"), C = a("el-table"), k = a("el-pagination"), v = a("ListReport"), S = a("roleDetail"), U = M("emoji"), V = M("loading");
2065
+ return m(), I("div", Cn, [
2066
+ o(s),
2067
+ E((m(), w(v, { class: "role_block" }, {
2051
2068
  filter: n(() => [
2052
2069
  o(b, {
2053
2070
  ref: "searchForm",
@@ -2064,7 +2081,7 @@ function kn(e, t, r, l, u, y) {
2064
2081
  default: n(() => [
2065
2082
  E(o(i, {
2066
2083
  modelValue: e.listQuery.query.keyword,
2067
- "onUpdate:modelValue": t[0] || (t[0] = (w) => e.listQuery.query.keyword = w),
2084
+ "onUpdate:modelValue": t[0] || (t[0] = (_) => e.listQuery.query.keyword = _),
2068
2085
  placeholder: "请输入角色名称",
2069
2086
  clearable: "",
2070
2087
  maxlength: "12"
@@ -2104,12 +2121,12 @@ function kn(e, t, r, l, u, y) {
2104
2121
  }, 8, ["model", "onSubmit"])
2105
2122
  ]),
2106
2123
  toolbar: n(() => [
2107
- T("div", Cn, [
2108
- e.checkPermission(["ROLE_ROLE_CREATE"]) ? (m(), _(p, {
2124
+ T("div", kn, [
2125
+ e.checkPermission(["ROLE_ROLE_CREATE"]) ? (m(), w(p, {
2109
2126
  key: 0,
2110
2127
  style: { width: "88px" },
2111
2128
  type: "primary",
2112
- onClick: t[1] || (t[1] = (w) => e.detail({ edit: !0 }, !0))
2129
+ onClick: t[1] || (t[1] = (_) => e.detail({ edit: !0 }, !0))
2113
2130
  }, {
2114
2131
  default: n(() => [...t[4] || (t[4] = [
2115
2132
  c("新建 ", -1)
@@ -2137,8 +2154,8 @@ function kn(e, t, r, l, u, y) {
2137
2154
  prop: "createTime",
2138
2155
  label: "创建时间"
2139
2156
  }, {
2140
- default: n((w) => [
2141
- T("span", null, R(e.dayjs(w.row.createTime).format("YYYY-MM-DD HH:mm:ss")), 1)
2157
+ default: n((_) => [
2158
+ T("span", null, R(e.dayjs(_.row.createTime).format("YYYY-MM-DD HH:mm:ss")), 1)
2142
2159
  ]),
2143
2160
  _: 1
2144
2161
  }),
@@ -2147,13 +2164,13 @@ function kn(e, t, r, l, u, y) {
2147
2164
  label: "操作",
2148
2165
  width: "220"
2149
2166
  }, {
2150
- default: n((w) => [
2151
- e.checkPermission(["ROLE_ROLE_UPDATE"]) ? (m(), _(p, {
2167
+ default: n((_) => [
2168
+ e.checkPermission(["ROLE_ROLE_UPDATE"]) ? (m(), w(p, {
2152
2169
  key: 0,
2153
2170
  type: "primary",
2154
2171
  text: "",
2155
- disabled: w.row.code == "ADMIN",
2156
- onClick: (D) => e.detail({ ...w.row, edit: !0 }, !1)
2172
+ disabled: _.row.code == "ADMIN",
2173
+ onClick: (D) => e.detail({ ..._.row, edit: !0 }, !1)
2157
2174
  }, {
2158
2175
  default: n(() => [...t[5] || (t[5] = [
2159
2176
  c("编辑 ", -1)
@@ -2164,23 +2181,23 @@ function kn(e, t, r, l, u, y) {
2164
2181
  o(p, {
2165
2182
  type: "primary",
2166
2183
  text: "",
2167
- onClick: (D) => e.detail(w.row, !1)
2184
+ onClick: (D) => e.detail(_.row, !1)
2168
2185
  }, {
2169
2186
  default: n(() => [...t[6] || (t[6] = [
2170
2187
  c("查看 ", -1)
2171
2188
  ])]),
2172
2189
  _: 1
2173
2190
  }, 8, ["onClick"]),
2174
- e.checkPermission(["ROLE_ROLE_DELETE"]) ? (m(), _(g, {
2191
+ e.checkPermission(["ROLE_ROLE_DELETE"]) ? (m(), w(g, {
2175
2192
  key: 1,
2176
2193
  direction: "vertical"
2177
2194
  })) : P("", !0),
2178
- e.checkPermission(["ROLE_ROLE_DELETE"]) ? (m(), _(p, {
2195
+ e.checkPermission(["ROLE_ROLE_DELETE"]) ? (m(), w(p, {
2179
2196
  key: 2,
2180
2197
  type: "primary",
2181
2198
  text: "",
2182
- disabled: e.isRetainYes(w.row.retainFlag),
2183
- onClick: (D) => e.deleteRole(w.row)
2199
+ disabled: e.isRetainYes(_.row.retainFlag),
2200
+ onClick: (D) => e.deleteRole(_.row)
2184
2201
  }, {
2185
2202
  default: n(() => [...t[7] || (t[7] = [
2186
2203
  c("删除 ", -1)
@@ -2209,7 +2226,7 @@ function kn(e, t, r, l, u, y) {
2209
2226
  ]),
2210
2227
  _: 1
2211
2228
  })), [
2212
- [I, e.loading]
2229
+ [V, e.loading]
2213
2230
  ]),
2214
2231
  o(S, {
2215
2232
  ref: "roleDetail",
@@ -2217,10 +2234,10 @@ function kn(e, t, r, l, u, y) {
2217
2234
  }, null, 8, ["onReload"])
2218
2235
  ]);
2219
2236
  }
2220
- const $s = /* @__PURE__ */ z(_n, [["render", kn], ["__scopeId", "data-v-e90001b5"]]), vn = Y({
2237
+ const Ss = /* @__PURE__ */ z(wn, [["render", vn], ["__scopeId", "data-v-845505d3"]]), Dn = Y({
2221
2238
  components: {
2222
2239
  xdmpDrawer: ee,
2223
- treeSelect: Rt(() => import("./treeSelect-CvJM_V5R.js")),
2240
+ treeSelect: Rt(() => import("./treeSelect-D2QLr66e.js")),
2224
2241
  IconSelect: bo,
2225
2242
  InfoFilled: Ao,
2226
2243
  QuestionFilled: Oo
@@ -2268,6 +2285,9 @@ const $s = /* @__PURE__ */ z(_n, [["render", kn], ["__scopeId", "data-v-e90001b5
2268
2285
  computed: {
2269
2286
  isRetained() {
2270
2287
  return ue(this.form.retainFlag);
2288
+ },
2289
+ remarkLocked() {
2290
+ return typeof this.form.remark == "string" && this.form.remark.startsWith("lcdp-form:");
2271
2291
  }
2272
2292
  },
2273
2293
  watch: {},
@@ -2352,7 +2372,7 @@ const $s = /* @__PURE__ */ z(_n, [["render", kn], ["__scopeId", "data-v-e90001b5
2352
2372
  if (e) {
2353
2373
  const t = JSON.parse(JSON.stringify(this.form)), r = L(), l = this.mode ? (u) => r.system.authority.update(u.id, u) : (u) => r.system.authority.add(u);
2354
2374
  this.$refs.xdmpDrawer.showLoading(), l(t).then(() => {
2355
- this.$refs.xdmpDrawer.hideLoading(), q.success(this.mode ? "编辑成功" : "新增成功"), _e(this, "reload"), this.$refs.xdmpDrawer.cancelForm();
2375
+ this.$refs.xdmpDrawer.hideLoading(), q.success(this.mode ? "编辑成功" : "新增成功"), we(this, "reload"), this.$refs.xdmpDrawer.cancelForm();
2356
2376
  }).catch(() => {
2357
2377
  this.$refs.xdmpDrawer.hideLoading();
2358
2378
  });
@@ -2411,11 +2431,11 @@ const $s = /* @__PURE__ */ z(_n, [["render", kn], ["__scopeId", "data-v-e90001b5
2411
2431
  });
2412
2432
  }
2413
2433
  }
2414
- }), Dn = { style: { "vertical-align": "middle" } }, $n = { style: { "vertical-align": "middle" } }, Tn = { style: { "vertical-align": "middle" } }, Sn = { style: { "vertical-align": "middle" } };
2415
- function Fn(e, t, r, l, u, y) {
2416
- const s = a("el-input"), i = a("el-form-item"), d = a("treeSelect"), p = a("el-radio"), b = a("el-radio-group"), f = a("InfoFilled"), g = a("el-icon"), C = a("el-tooltip"), k = a("icon-select"), v = a("QuestionFilled"), S = a("el-switch"), U = a("el-form"), I = a("xdmpDrawer"), w = M("emoji");
2417
- return m(), V("div", null, [
2418
- o(I, {
2434
+ }), $n = { style: { "vertical-align": "middle" } }, Tn = { style: { "vertical-align": "middle" } }, Sn = { style: { "vertical-align": "middle" } }, Fn = { style: { "vertical-align": "middle" } }, Ln = { key: 0 };
2435
+ function En(e, t, r, l, u, y) {
2436
+ const s = a("el-input"), i = a("el-form-item"), d = a("treeSelect"), p = a("el-radio"), b = a("el-radio-group"), f = a("InfoFilled"), g = a("el-icon"), C = a("el-tooltip"), k = a("icon-select"), v = a("QuestionFilled"), S = a("el-switch"), U = a("el-form"), V = a("xdmpDrawer"), _ = M("emoji");
2437
+ return m(), I("div", null, [
2438
+ o(V, {
2419
2439
  ref: "xdmpDrawer",
2420
2440
  title: e.title,
2421
2441
  size: e.size,
@@ -2444,7 +2464,7 @@ function Fn(e, t, r, l, u, y) {
2444
2464
  placeholder: "1-32位,仅支持中文、大小写字母、数字",
2445
2465
  clearable: ""
2446
2466
  }, null, 8, ["modelValue"]), [
2447
- [w]
2467
+ [_]
2448
2468
  ])
2449
2469
  ]),
2450
2470
  _: 1
@@ -2461,7 +2481,7 @@ function Fn(e, t, r, l, u, y) {
2461
2481
  disabled: e.fieldDisabled("code"),
2462
2482
  clearable: ""
2463
2483
  }, null, 8, ["modelValue", "disabled"]), [
2464
- [w]
2484
+ [_]
2465
2485
  ])
2466
2486
  ]),
2467
2487
  _: 1
@@ -2531,7 +2551,7 @@ function Fn(e, t, r, l, u, y) {
2531
2551
  }, {
2532
2552
  label: n(() => [
2533
2553
  t[17] || (t[17] = c(" 资源访问路由 ", -1)),
2534
- T("span", Dn, [
2554
+ T("span", $n, [
2535
2555
  o(C, {
2536
2556
  effect: "dark",
2537
2557
  content: "完整路由:" + e.form.routePath,
@@ -2600,7 +2620,7 @@ function Fn(e, t, r, l, u, y) {
2600
2620
  o(i, { prop: "frameUrl" }, {
2601
2621
  label: n(() => [
2602
2622
  t[18] || (t[18] = c(" 资源外链地址 ", -1)),
2603
- T("span", $n, [
2623
+ T("span", Tn, [
2604
2624
  o(C, {
2605
2625
  effect: "dark",
2606
2626
  content: "路由外链时填写的访问地址",
@@ -2630,7 +2650,7 @@ function Fn(e, t, r, l, u, y) {
2630
2650
  o(i, { prop: "visibleFlag" }, {
2631
2651
  label: n(() => [
2632
2652
  t[19] || (t[19] = c(" 是否显示 ", -1)),
2633
- T("span", Tn, [
2653
+ T("span", Sn, [
2634
2654
  o(C, {
2635
2655
  effect: "dark",
2636
2656
  content: "是否在菜单中显示",
@@ -2660,7 +2680,7 @@ function Fn(e, t, r, l, u, y) {
2660
2680
  o(i, { prop: "frameFlag" }, {
2661
2681
  label: n(() => [
2662
2682
  t[20] || (t[20] = c(" 是否为外链 ", -1)),
2663
- T("span", Sn, [
2683
+ T("span", Fn, [
2664
2684
  o(C, {
2665
2685
  effect: "dark",
2666
2686
  content: "是否为外链",
@@ -2698,24 +2718,28 @@ function Fn(e, t, r, l, u, y) {
2698
2718
  placeholder: "请输入排序值",
2699
2719
  clearable: ""
2700
2720
  }, null, 8, ["modelValue"]), [
2701
- [w]
2721
+ [_]
2702
2722
  ])
2703
2723
  ]),
2704
2724
  _: 1
2705
2725
  }),
2706
- o(i, {
2707
- prop: "remark",
2708
- label: "备注"
2709
- }, {
2726
+ o(i, { prop: "remark" }, {
2727
+ label: n(() => [
2728
+ t[21] || (t[21] = c(" 页面描述 ", -1)),
2729
+ e.remarkLocked ? (m(), I("span", Ln, "(运行时菜单标识,不作为页面说明)")) : P("", !0)
2730
+ ]),
2710
2731
  default: n(() => [
2711
2732
  o(s, {
2712
2733
  modelValue: e.form.remark,
2713
2734
  "onUpdate:modelValue": t[12] || (t[12] = (D) => e.form.remark = D),
2714
2735
  type: "textarea",
2715
- rows: 3,
2716
- placeholder: "请输入备注",
2736
+ rows: 4,
2737
+ maxlength: "500",
2738
+ "show-word-limit": "",
2739
+ placeholder: "显示在页面顶部说明,留空则不展示",
2740
+ disabled: e.remarkLocked,
2717
2741
  clearable: ""
2718
- }, null, 8, ["modelValue"])
2742
+ }, null, 8, ["modelValue", "disabled"])
2719
2743
  ]),
2720
2744
  _: 1
2721
2745
  })
@@ -2728,10 +2752,10 @@ function Fn(e, t, r, l, u, y) {
2728
2752
  }, 8, ["title", "size", "onSubmit", "onCancel"])
2729
2753
  ]);
2730
2754
  }
2731
- const Ln = /* @__PURE__ */ z(vn, [["render", Fn]]), En = Y({
2755
+ const Rn = /* @__PURE__ */ z(Dn, [["render", En]]), Pn = Y({
2732
2756
  components: {
2733
2757
  ListReport: oe,
2734
- menuDrawer: Ln,
2758
+ menuDrawer: Rn,
2735
2759
  SvgIcon: wo,
2736
2760
  pageDesc: te
2737
2761
  },
@@ -2756,6 +2780,9 @@ const Ln = /* @__PURE__ */ z(vn, [["render", Fn]]), En = Y({
2756
2780
  dayjs: O,
2757
2781
  checkPermission: se,
2758
2782
  isRetainYes: ue,
2783
+ pageRemarkText(e) {
2784
+ return !e || e === "lcdp-admin" || e.startsWith("lcdp-form:") ? "-" : e;
2785
+ },
2759
2786
  isSvgIcon(e) {
2760
2787
  return Co(e);
2761
2788
  },
@@ -2763,7 +2790,7 @@ const Ln = /* @__PURE__ */ z(vn, [["render", Fn]]), En = Y({
2763
2790
  async refreshSystemMenu() {
2764
2791
  try {
2765
2792
  const e = await L().system.authority.tree({ async: !1 });
2766
- Yo(e);
2793
+ jo(e);
2767
2794
  } catch (e) {
2768
2795
  console.error("刷新系统菜单失败", e);
2769
2796
  }
@@ -2824,12 +2851,12 @@ const Ln = /* @__PURE__ */ z(vn, [["render", Fn]]), En = Y({
2824
2851
  });
2825
2852
  }
2826
2853
  }
2827
- }), Rn = { class: "authority_wrapper" }, Pn = { class: "name-cell" }, Nn = { key: 0 };
2828
- function In(e, t, r, l, u, y) {
2829
- const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("svg-icon"), g = a("el-icon"), C = a("el-table-column"), k = a("el-divider"), v = a("el-table"), S = a("ListReport"), U = a("menuDrawer"), I = M("loading");
2830
- return m(), V("div", Rn, [
2831
- o(s, { desc: "系统权限管理,支持菜单权限的增删改查操作。" }),
2832
- E((m(), _(S, { class: "authority_block" }, {
2854
+ }), Nn = { class: "authority_wrapper" }, In = { class: "name-cell" }, Vn = { key: 0 };
2855
+ function qn(e, t, r, l, u, y) {
2856
+ const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("svg-icon"), g = a("el-icon"), C = a("el-table-column"), k = a("el-divider"), v = a("el-table"), S = a("ListReport"), U = a("menuDrawer"), V = M("loading");
2857
+ return m(), I("div", Nn, [
2858
+ o(s),
2859
+ E((m(), w(S, { class: "authority_block" }, {
2833
2860
  filter: n(() => [
2834
2861
  o(b, {
2835
2862
  ref: "searchForm",
@@ -2846,7 +2873,7 @@ function In(e, t, r, l, u, y) {
2846
2873
  default: n(() => [
2847
2874
  o(i, {
2848
2875
  modelValue: e.queryParams.keyword,
2849
- "onUpdate:modelValue": t[0] || (t[0] = (w) => e.queryParams.keyword = w),
2876
+ "onUpdate:modelValue": t[0] || (t[0] = (_) => e.queryParams.keyword = _),
2850
2877
  placeholder: "请输入权限名称"
2851
2878
  }, null, 8, ["modelValue"])
2852
2879
  ]),
@@ -2859,7 +2886,7 @@ function In(e, t, r, l, u, y) {
2859
2886
  default: n(() => [
2860
2887
  o(i, {
2861
2888
  modelValue: e.queryParams.code,
2862
- "onUpdate:modelValue": t[1] || (t[1] = (w) => e.queryParams.code = w),
2889
+ "onUpdate:modelValue": t[1] || (t[1] = (_) => e.queryParams.code = _),
2863
2890
  placeholder: "请输入权限码"
2864
2891
  }, null, 8, ["modelValue"])
2865
2892
  ]),
@@ -2896,7 +2923,7 @@ function In(e, t, r, l, u, y) {
2896
2923
  ]),
2897
2924
  toolbar: n(() => [
2898
2925
  T("div", null, [
2899
- e.checkPermission(["ROLE_AUTHORITY_CREATE"]) ? (m(), _(p, {
2926
+ e.checkPermission(["ROLE_AUTHORITY_CREATE"]) ? (m(), w(p, {
2900
2927
  key: 0,
2901
2928
  type: "primary",
2902
2929
  icon: "Plus",
@@ -2924,20 +2951,20 @@ function In(e, t, r, l, u, y) {
2924
2951
  label: "权限名称",
2925
2952
  "min-width": "140"
2926
2953
  }, {
2927
- default: n((w) => [
2928
- T("div", Pn, [
2929
- w.row.extend.icon ? (m(), V("span", Nn, [
2930
- e.isSvgIcon(w.row.extend.icon) ? (m(), _(f, {
2954
+ default: n((_) => [
2955
+ T("div", In, [
2956
+ _.row.extend.icon ? (m(), I("span", Vn, [
2957
+ e.isSvgIcon(_.row.extend.icon) ? (m(), w(f, {
2931
2958
  key: 0,
2932
- "icon-class": w.row.extend.icon
2933
- }, null, 8, ["icon-class"])) : (m(), _(g, { key: 1 }, {
2959
+ "icon-class": _.row.extend.icon
2960
+ }, null, 8, ["icon-class"])) : (m(), w(g, { key: 1 }, {
2934
2961
  default: n(() => [
2935
- (m(), _(fo(w.row.extend.icon)))
2962
+ (m(), w(fo(_.row.extend.icon)))
2936
2963
  ]),
2937
2964
  _: 2
2938
2965
  }, 1024))
2939
2966
  ])) : P("", !0),
2940
- c(" " + R(w.row.extend.name), 1)
2967
+ c(" " + R(_.row.extend.name), 1)
2941
2968
  ])
2942
2969
  ]),
2943
2970
  _: 1
@@ -2947,13 +2974,24 @@ function In(e, t, r, l, u, y) {
2947
2974
  label: "权限码",
2948
2975
  "min-width": "140"
2949
2976
  }),
2977
+ o(C, {
2978
+ prop: "extend.remark",
2979
+ label: "页面描述",
2980
+ "min-width": "180",
2981
+ "show-overflow-tooltip": ""
2982
+ }, {
2983
+ default: n((_) => [
2984
+ c(R(e.pageRemarkText(_.row.extend && _.row.extend.remark)), 1)
2985
+ ]),
2986
+ _: 1
2987
+ }),
2950
2988
  o(C, {
2951
2989
  prop: "extend.sortOrder",
2952
2990
  label: "排序值",
2953
2991
  "min-width": "80"
2954
2992
  }, {
2955
- default: n((w) => [
2956
- c(R(w.row.extend.sortOrder || "-"), 1)
2993
+ default: n((_) => [
2994
+ c(R(_.row.extend.sortOrder || "-"), 1)
2957
2995
  ]),
2958
2996
  _: 1
2959
2997
  }),
@@ -2967,8 +3005,8 @@ function In(e, t, r, l, u, y) {
2967
3005
  label: "创建时间",
2968
3006
  "min-width": "140px"
2969
3007
  }, {
2970
- default: n((w) => [
2971
- c(R(w.row.extend.createTime ? e.dayjs(w.row.extend.createTime).format("YYYY-MM-DD HH:mm:ss") : "-"), 1)
3008
+ default: n((_) => [
3009
+ c(R(_.row.extend.createTime ? e.dayjs(_.row.extend.createTime).format("YYYY-MM-DD HH:mm:ss") : "-"), 1)
2972
3010
  ]),
2973
3011
  _: 1
2974
3012
  }),
@@ -2978,12 +3016,12 @@ function In(e, t, r, l, u, y) {
2978
3016
  fixed: "right",
2979
3017
  width: "160"
2980
3018
  }, {
2981
- default: n((w) => [
2982
- e.checkPermission(["ROLE_AUTHORITY_UPDATE"]) ? (m(), _(p, {
3019
+ default: n((_) => [
3020
+ e.checkPermission(["ROLE_AUTHORITY_UPDATE"]) ? (m(), w(p, {
2983
3021
  key: 0,
2984
3022
  type: "primary",
2985
3023
  text: "",
2986
- onClick: (D) => e.edit(w.row)
3024
+ onClick: (D) => e.edit(_.row)
2987
3025
  }, {
2988
3026
  default: n(() => [...t[5] || (t[5] = [
2989
3027
  c("编辑 ", -1)
@@ -2992,18 +3030,18 @@ function In(e, t, r, l, u, y) {
2992
3030
  }, 8, ["onClick"])) : P("", !0),
2993
3031
  e.checkPermission([
2994
3032
  "ROLE_AUTHORITY_DELETE"
2995
- ]) ? (m(), _(k, {
3033
+ ]) ? (m(), w(k, {
2996
3034
  key: 1,
2997
3035
  direction: "vertical"
2998
3036
  })) : P("", !0),
2999
3037
  e.checkPermission([
3000
3038
  "ROLE_AUTHORITY_DELETE"
3001
- ]) ? (m(), _(p, {
3039
+ ]) ? (m(), w(p, {
3002
3040
  key: 2,
3003
3041
  type: "primary",
3004
3042
  text: "",
3005
- disabled: e.isRetainYes(w.row.extend.retainFlag),
3006
- onClick: (D) => e.handleDelete(w.row.id)
3043
+ disabled: e.isRetainYes(_.row.extend.retainFlag),
3044
+ onClick: (D) => e.handleDelete(_.row.id)
3007
3045
  }, {
3008
3046
  default: n(() => [...t[6] || (t[6] = [
3009
3047
  c("删除 ", -1)
@@ -3019,7 +3057,7 @@ function In(e, t, r, l, u, y) {
3019
3057
  ]),
3020
3058
  _: 1
3021
3059
  })), [
3022
- [I, e.loading]
3060
+ [V, e.loading]
3023
3061
  ]),
3024
3062
  o(U, {
3025
3063
  ref: "menuDrawer",
@@ -3027,7 +3065,7 @@ function In(e, t, r, l, u, y) {
3027
3065
  }, null, 8, ["onReload"])
3028
3066
  ]);
3029
3067
  }
3030
- const Ts = /* @__PURE__ */ z(En, [["render", In], ["__scopeId", "data-v-e84a170d"]]), Vn = Y({
3068
+ const Fs = /* @__PURE__ */ z(Pn, [["render", qn], ["__scopeId", "data-v-120bf316"]]), On = Y({
3031
3069
  name: "ApplyAddDialog",
3032
3070
  components: { xdmpDrawer: ee, DocumentCopy: ut },
3033
3071
  emits: ["reload"],
@@ -3077,7 +3115,7 @@ const Ts = /* @__PURE__ */ z(En, [["render", In], ["__scopeId", "data-v-e84a170d
3077
3115
  r.showLoading();
3078
3116
  const l = L().system.openApp;
3079
3117
  (this.appForm.id ? l.update(this.appForm.id, t) : l.add(t)).then(() => {
3080
- r.cancelForm(), r.hideLoading(), q.success("操作成功"), _e(this, "reload");
3118
+ r.cancelForm(), r.hideLoading(), q.success("操作成功"), we(this, "reload");
3081
3119
  }).catch(() => {
3082
3120
  r.hideLoading();
3083
3121
  });
@@ -3096,10 +3134,10 @@ const Ts = /* @__PURE__ */ z(En, [["render", In], ["__scopeId", "data-v-e84a170d
3096
3134
  return e ? e.substring(0, 2) + "****" + e.substring(e.length - 2) : "";
3097
3135
  }
3098
3136
  }
3099
- }), qn = { style: { display: "flex", "align-items": "center" } }, On = { class: "readonly-value" }, An = ["data-clipboard-text"], Mn = { style: { display: "flex", "align-items": "center" } }, Un = { class: "readonly-value" }, zn = ["data-clipboard-text"];
3100
- function Yn(e, t, r, l, u, y) {
3137
+ }), An = { style: { display: "flex", "align-items": "center" } }, Mn = { class: "readonly-value" }, Un = ["data-clipboard-text"], zn = { style: { display: "flex", "align-items": "center" } }, Yn = { class: "readonly-value" }, jn = ["data-clipboard-text"];
3138
+ function Bn(e, t, r, l, u, y) {
3101
3139
  const s = a("el-input"), i = a("el-form-item"), d = a("DocumentCopy"), p = a("el-icon"), b = a("el-option"), f = a("el-select"), g = a("el-form"), C = a("xdmpDrawer"), k = M("emoji");
3102
- return m(), _(C, {
3140
+ return m(), w(C, {
3103
3141
  ref: "xdmpDrawer",
3104
3142
  title: e.title,
3105
3143
  size: e.size,
@@ -3133,13 +3171,13 @@ function Yn(e, t, r, l, u, y) {
3133
3171
  ]),
3134
3172
  _: 1
3135
3173
  }),
3136
- e.appForm.id ? (m(), _(i, {
3174
+ e.appForm.id ? (m(), w(i, {
3137
3175
  key: 0,
3138
3176
  label: "AppKey"
3139
3177
  }, {
3140
3178
  default: n(() => [
3141
- T("div", qn, [
3142
- T("span", On, R(e.appForm.appKey), 1),
3179
+ T("div", An, [
3180
+ T("span", Mn, R(e.appForm.appKey), 1),
3143
3181
  T("div", {
3144
3182
  class: "auth-main-copy copy",
3145
3183
  "data-clipboard-text": e.appForm.appKey,
@@ -3151,18 +3189,18 @@ function Yn(e, t, r, l, u, y) {
3151
3189
  ]),
3152
3190
  _: 1
3153
3191
  })
3154
- ], 8, An)
3192
+ ], 8, Un)
3155
3193
  ])
3156
3194
  ]),
3157
3195
  _: 1
3158
3196
  })) : P("", !0),
3159
- e.appForm.id ? (m(), _(i, {
3197
+ e.appForm.id ? (m(), w(i, {
3160
3198
  key: 1,
3161
3199
  label: "AppSecret"
3162
3200
  }, {
3163
3201
  default: n(() => [
3164
- T("div", Mn, [
3165
- T("span", Un, R(e.maskSecret(e.appForm.appSecret)), 1),
3202
+ T("div", zn, [
3203
+ T("span", Yn, R(e.maskSecret(e.appForm.appSecret)), 1),
3166
3204
  T("div", {
3167
3205
  class: "auth-main-copy copy",
3168
3206
  "data-clipboard-text": e.appForm.appSecret,
@@ -3174,7 +3212,7 @@ function Yn(e, t, r, l, u, y) {
3174
3212
  ]),
3175
3213
  _: 1
3176
3214
  })
3177
- ], 8, zn)
3215
+ ], 8, jn)
3178
3216
  ])
3179
3217
  ]),
3180
3218
  _: 1
@@ -3191,7 +3229,7 @@ function Yn(e, t, r, l, u, y) {
3191
3229
  style: { width: "100%" }
3192
3230
  }, {
3193
3231
  default: n(() => [
3194
- (m(!0), V(ie, null, de(e.applyTypeList, (v) => (m(), _(b, {
3232
+ (m(!0), I(ie, null, de(e.applyTypeList, (v) => (m(), w(b, {
3195
3233
  key: v.value,
3196
3234
  label: v.label,
3197
3235
  value: v.value
@@ -3229,7 +3267,7 @@ function Yn(e, t, r, l, u, y) {
3229
3267
  _: 3
3230
3268
  }, 8, ["title", "size", "onSubmit", "onCancel"]);
3231
3269
  }
3232
- const jn = /* @__PURE__ */ z(Vn, [["render", Yn], ["__scopeId", "data-v-04c7d4b5"]]), Bn = Y({
3270
+ const Kn = /* @__PURE__ */ z(On, [["render", Bn], ["__scopeId", "data-v-04c7d4b5"]]), Hn = Y({
3233
3271
  name: "ApplyAuthDialog",
3234
3272
  components: { xdmpDrawer: ee },
3235
3273
  emits: ["reload"],
@@ -3330,7 +3368,7 @@ const jn = /* @__PURE__ */ z(Vn, [["render", Yn], ["__scopeId", "data-v-04c7d4b5
3330
3368
  const t = { id: this.authForm.id, dataScopeType: "0", targetIds: this.authForm.projectIds }, r = { id: this.authForm.id, authorityCodes: this.authForm.authorityCodes }, l = this.$refs.xdmpDrawer;
3331
3369
  l.showLoading();
3332
3370
  try {
3333
- await L().system.openApp.assignAuthorities(r.id, r), await L().system.openApp.assignScopes(t.id, t), l.hideLoading(), q.success("授权成功"), l.cancelForm(), _e(this, "reload");
3371
+ await L().system.openApp.assignAuthorities(r.id, r), await L().system.openApp.assignScopes(t.id, t), l.hideLoading(), q.success("授权成功"), l.cancelForm(), we(this, "reload");
3334
3372
  } catch {
3335
3373
  l.hideLoading();
3336
3374
  }
@@ -3341,9 +3379,9 @@ const jn = /* @__PURE__ */ z(Vn, [["render", Yn], ["__scopeId", "data-v-04c7d4b5
3341
3379
  }
3342
3380
  }
3343
3381
  });
3344
- function Kn(e, t, r, l, u, y) {
3382
+ function Qn(e, t, r, l, u, y) {
3345
3383
  const s = a("el-tree"), i = a("el-form-item"), d = a("el-form"), p = a("xdmpDrawer"), b = M("loading");
3346
- return m(), _(p, {
3384
+ return m(), w(p, {
3347
3385
  ref: "xdmpDrawer",
3348
3386
  title: e.title,
3349
3387
  size: e.size,
@@ -3414,10 +3452,10 @@ function Kn(e, t, r, l, u, y) {
3414
3452
  _: 3
3415
3453
  }, 8, ["title", "size", "onSubmit", "onCancel"]);
3416
3454
  }
3417
- const Hn = /* @__PURE__ */ z(Bn, [["render", Kn], ["__scopeId", "data-v-7017ad01"]]), Qn = Y({
3455
+ const Gn = /* @__PURE__ */ z(Hn, [["render", Qn], ["__scopeId", "data-v-7017ad01"]]), Jn = Y({
3418
3456
  components: {
3419
- appDialog: jn,
3420
- appAuthDialog: Hn,
3457
+ appDialog: Kn,
3458
+ appAuthDialog: Gn,
3421
3459
  pageDesc: te,
3422
3460
  DocumentCopy: ut,
3423
3461
  ListReport: oe
@@ -3521,12 +3559,12 @@ const Hn = /* @__PURE__ */ z(Bn, [["render", Kn], ["__scopeId", "data-v-7017ad01
3521
3559
  this.queryParams.pageNo = e, this.init();
3522
3560
  }
3523
3561
  }
3524
- }), Gn = { class: "userApply_wrapper" }, Jn = { style: { display: "flex", "align-items": "center" } }, Wn = { class: "app-key-text" }, Zn = ["data-clipboard-text"], Xn = { style: { display: "flex", "align-items": "center" } }, xn = ["data-clipboard-text"];
3525
- function er(e, t, r, l, u, y) {
3526
- const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-tooltip"), C = a("DocumentCopy"), k = a("el-icon"), v = a("el-divider"), S = a("el-dropdown-item"), U = a("el-dropdown-menu"), I = a("el-dropdown"), w = a("el-table"), D = a("el-pagination"), h = a("ListReport"), H = a("appDialog"), ce = a("appAuthDialog"), re = M("emoji"), G = M("loading");
3527
- return m(), V("div", Gn, [
3528
- o(s, { desc: "平台提供开放能力,可以进行新建、查看、编辑、授权等操作。" }),
3529
- E((m(), _(h, { class: "userApply_block" }, {
3562
+ }), Wn = { class: "userApply_wrapper" }, Zn = { style: { display: "flex", "align-items": "center" } }, Xn = { class: "app-key-text" }, xn = ["data-clipboard-text"], er = { style: { display: "flex", "align-items": "center" } }, tr = ["data-clipboard-text"];
3563
+ function or(e, t, r, l, u, y) {
3564
+ const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-tooltip"), C = a("DocumentCopy"), k = a("el-icon"), v = a("el-divider"), S = a("el-dropdown-item"), U = a("el-dropdown-menu"), V = a("el-dropdown"), _ = a("el-table"), D = a("el-pagination"), h = a("ListReport"), H = a("appDialog"), ce = a("appAuthDialog"), re = M("emoji"), G = M("loading");
3565
+ return m(), I("div", Wn, [
3566
+ o(s),
3567
+ E((m(), w(h, { class: "userApply_block" }, {
3530
3568
  filter: n(() => [
3531
3569
  o(b, {
3532
3570
  ref: "searchForm",
@@ -3583,7 +3621,7 @@ function er(e, t, r, l, u, y) {
3583
3621
  }, 8, ["model", "onSubmit"])
3584
3622
  ]),
3585
3623
  toolbar: n(() => [
3586
- e.checkPermission(["ROLE_OPEN_APP_CREATE"]) ? (m(), _(p, {
3624
+ e.checkPermission(["ROLE_OPEN_APP_CREATE"]) ? (m(), w(p, {
3587
3625
  key: 0,
3588
3626
  type: "primary",
3589
3627
  class: "product_add_button",
@@ -3596,7 +3634,7 @@ function er(e, t, r, l, u, y) {
3596
3634
  }, 8, ["onClick"])) : P("", !0)
3597
3635
  ]),
3598
3636
  view: n(() => [
3599
- o(w, {
3637
+ o(_, {
3600
3638
  data: e.appList,
3601
3639
  border: !1,
3602
3640
  style: { width: "100%" },
@@ -3614,13 +3652,13 @@ function er(e, t, r, l, u, y) {
3614
3652
  "min-width": "200"
3615
3653
  }, {
3616
3654
  default: n((Q) => [
3617
- T("div", Jn, [
3655
+ T("div", Zn, [
3618
3656
  o(g, {
3619
3657
  content: Q.row.appKey,
3620
3658
  placement: "top"
3621
3659
  }, {
3622
3660
  default: n(() => [
3623
- T("span", Wn, R(Q.row.appKey), 1)
3661
+ T("span", Xn, R(Q.row.appKey), 1)
3624
3662
  ]),
3625
3663
  _: 2
3626
3664
  }, 1032, ["content"]),
@@ -3635,7 +3673,7 @@ function er(e, t, r, l, u, y) {
3635
3673
  ]),
3636
3674
  _: 1
3637
3675
  })
3638
- ], 8, Zn)
3676
+ ], 8, xn)
3639
3677
  ])
3640
3678
  ]),
3641
3679
  _: 1
@@ -3645,7 +3683,7 @@ function er(e, t, r, l, u, y) {
3645
3683
  label: "AppSecret"
3646
3684
  }, {
3647
3685
  default: n((Q) => [
3648
- T("div", Xn, [
3686
+ T("div", er, [
3649
3687
  c(R(Q.row.appSecret.substring(0, 2) + "****" + Q.row.appSecret.substring(
3650
3688
  Q.row.appSecret.length - 2,
3651
3689
  Q.row.appSecret.length
@@ -3661,7 +3699,7 @@ function er(e, t, r, l, u, y) {
3661
3699
  ]),
3662
3700
  _: 1
3663
3701
  })
3664
- ], 8, xn)
3702
+ ], 8, tr)
3665
3703
  ])
3666
3704
  ]),
3667
3705
  _: 1
@@ -3677,7 +3715,7 @@ function er(e, t, r, l, u, y) {
3677
3715
  width: "220"
3678
3716
  }, {
3679
3717
  default: n((Q) => [
3680
- e.checkPermission(["ROLE_OPEN_APP_UPDATE"]) ? (m(), _(p, {
3718
+ e.checkPermission(["ROLE_OPEN_APP_UPDATE"]) ? (m(), w(p, {
3681
3719
  key: 0,
3682
3720
  disabled: e.isRetainYes(Q.row.retainFlag) || Q.row.enabledFlag == "1",
3683
3721
  type: "primary",
@@ -3689,11 +3727,11 @@ function er(e, t, r, l, u, y) {
3689
3727
  ])]),
3690
3728
  _: 1
3691
3729
  }, 8, ["disabled", "onClick"])) : P("", !0),
3692
- e.checkPermission(["ROLE_OPEN_APP_DETAILS"]) ? (m(), _(v, {
3730
+ e.checkPermission(["ROLE_OPEN_APP_DETAILS"]) ? (m(), w(v, {
3693
3731
  key: 1,
3694
3732
  direction: "vertical"
3695
3733
  })) : P("", !0),
3696
- e.checkPermission(["ROLE_OPEN_APP_DETAILS"]) ? (m(), _(p, {
3734
+ e.checkPermission(["ROLE_OPEN_APP_DETAILS"]) ? (m(), w(p, {
3697
3735
  key: 2,
3698
3736
  type: "primary",
3699
3737
  text: "",
@@ -3705,14 +3743,14 @@ function er(e, t, r, l, u, y) {
3705
3743
  _: 1
3706
3744
  }, 8, ["onClick"])) : P("", !0),
3707
3745
  o(v, { direction: "vertical" }),
3708
- o(I, {
3746
+ o(V, {
3709
3747
  trigger: "click",
3710
3748
  onCommand: (he) => e.handleMoreCommand(he, Q.row)
3711
3749
  }, {
3712
3750
  dropdown: n(() => [
3713
3751
  o(U, null, {
3714
3752
  default: n(() => [
3715
- e.checkPermission(["ROLE_OPEN_APP_ASSIGN_AUTHORITIES"]) ? (m(), _(S, {
3753
+ e.checkPermission(["ROLE_OPEN_APP_ASSIGN_AUTHORITIES"]) ? (m(), w(S, {
3716
3754
  key: 0,
3717
3755
  command: "auth",
3718
3756
  disabled: e.isRetainYes(Q.row.retainFlag) || Q.row.enabledFlag == "1"
@@ -3731,7 +3769,7 @@ function er(e, t, r, l, u, y) {
3731
3769
  ])]),
3732
3770
  _: 1
3733
3771
  }, 8, ["disabled"]),
3734
- e.checkPermission(["ROLE_OPEN_APP_DELETE"]) ? (m(), _(S, {
3772
+ e.checkPermission(["ROLE_OPEN_APP_DELETE"]) ? (m(), w(S, {
3735
3773
  key: 1,
3736
3774
  command: Q.row.enabledFlag == "0" ? "enable" : "disable",
3737
3775
  disabled: e.isRetainYes(Q.row.retainFlag)
@@ -3800,56 +3838,56 @@ function er(e, t, r, l, u, y) {
3800
3838
  }, null, 8, ["onReload"])
3801
3839
  ]);
3802
3840
  }
3803
- const Ss = /* @__PURE__ */ z(Qn, [["render", er], ["__scopeId", "data-v-b6808fc5"]]);
3841
+ const Ls = /* @__PURE__ */ z(Jn, [["render", or], ["__scopeId", "data-v-4a2fb1aa"]]);
3804
3842
  function pe() {
3805
3843
  return L().system.user.client;
3806
3844
  }
3807
- function tr(e) {
3845
+ function nr(e) {
3808
3846
  return pe().get("/gw/uiap-sidecar/web/share/access/rear/send", {
3809
3847
  ...e,
3810
3848
  platform: "console"
3811
3849
  });
3812
3850
  }
3813
- function or(e) {
3851
+ function rr(e) {
3814
3852
  return pe().post("/gw/uiap-dmc/web/dmc/users/current/verification", e);
3815
3853
  }
3816
- function nr(e) {
3854
+ function ar(e) {
3817
3855
  return pe().post("/gw/uiap-dmc/web/dmc/users/current/viewAuthKey", e);
3818
3856
  }
3819
- function rr(e) {
3857
+ function lr(e) {
3820
3858
  return pe().post("/gw/uiap-dmc/web/dmc/users/current/resetAuthKey", e);
3821
3859
  }
3822
- function ar(e) {
3860
+ function ir(e) {
3823
3861
  return pe().post("/gw/uiap-dmc/web/dmc/users/current/updatePwd", e);
3824
3862
  }
3825
- function lr(e) {
3863
+ function sr(e) {
3826
3864
  return pe().post("/gw/uiap-dmc/web/dmc/users/current/bindPhone", e);
3827
3865
  }
3828
- function ir(e) {
3866
+ function dr(e) {
3829
3867
  return pe().post("/gw/uiap-dmc/web/dmc/apps/list", e);
3830
3868
  }
3831
- function sr(e) {
3869
+ function ur(e) {
3832
3870
  return pe().post("/gw/uiap-omc/web/pd/apps", e);
3833
3871
  }
3834
3872
  function Bt(e) {
3835
3873
  return pe().post("/gw/uiap-omc/web/pd/apps/put", e);
3836
3874
  }
3837
- function dr(e) {
3875
+ function pr(e) {
3838
3876
  return pe().get(`/gw/uiap-dmc/web/dmc/apps/${e}`);
3839
3877
  }
3840
- function ur(e) {
3878
+ function mr(e) {
3841
3879
  return pe().get(`/gw/uiap-dmc/web/dmc/apps/${e}/auth?type=PRIVATE`);
3842
3880
  }
3843
- function pr(e) {
3881
+ function cr(e) {
3844
3882
  return pe().post("/gw/uiap-dmc/web/dmc/apps/auth", e);
3845
3883
  }
3846
- function mr(e) {
3884
+ function hr(e) {
3847
3885
  return pe().get(`/gw/uiap-dmc/web/dmc/apps/checkAccessKey?id=${e}`);
3848
3886
  }
3849
- function cr(e) {
3887
+ function fr(e) {
3850
3888
  return pe().post(`/gw/uiap-dmc/web/dmc/apps/resetAccessKey?id=${e}`);
3851
3889
  }
3852
- const hr = Y({
3890
+ const gr = Y({
3853
3891
  name: "",
3854
3892
  components: { ElForm: dt, ElFormItem: st, ElInput: it },
3855
3893
  props: {
@@ -3899,11 +3937,11 @@ const hr = Y({
3899
3937
  confirmKey: this.form.confirmKey,
3900
3938
  type: r.type
3901
3939
  };
3902
- ar(l).then(() => {
3940
+ ir(l).then(() => {
3903
3941
  e(), q({
3904
3942
  message: "修改成功,即将重新登录",
3905
3943
  type: "success"
3906
- }), _e(this, "cancel"), setTimeout(() => {
3944
+ }), we(this, "cancel"), setTimeout(() => {
3907
3945
  this.loginOut();
3908
3946
  }, 2e3);
3909
3947
  }).catch(() => {
@@ -3923,11 +3961,11 @@ const hr = Y({
3923
3961
  t ? t != this.form.password ? r("两次输入的密码不一致") : r() : r("密码不能为空");
3924
3962
  }
3925
3963
  }
3926
- }), fr = { class: "password-block" }, gr = { class: "password-form" };
3927
- function yr(e, t, r, l, u, y) {
3964
+ }), yr = { class: "password-block" }, br = { class: "password-form" };
3965
+ function _r(e, t, r, l, u, y) {
3928
3966
  const s = a("el-input"), i = a("el-form-item"), d = a("el-form"), p = M("emoji");
3929
- return m(), V("div", fr, [
3930
- T("div", gr, [
3967
+ return m(), I("div", yr, [
3968
+ T("div", br, [
3931
3969
  o(d, {
3932
3970
  ref: "form",
3933
3971
  model: e.form,
@@ -3979,7 +4017,7 @@ function yr(e, t, r, l, u, y) {
3979
4017
  ])
3980
4018
  ]);
3981
4019
  }
3982
- const br = /* @__PURE__ */ z(hr, [["render", yr], ["__scopeId", "data-v-55a4572b"]]), _r = Y({
4020
+ const wr = /* @__PURE__ */ z(gr, [["render", _r], ["__scopeId", "data-v-55a4572b"]]), Cr = Y({
3983
4021
  components: { ElButton: qt, ElButtonGroup: So, ElDialog: To, ElForm: dt, ElFormItem: st, ElInput: it },
3984
4022
  props: {
3985
4023
  phone: {
@@ -4038,7 +4076,7 @@ const br = /* @__PURE__ */ z(hr, [["render", yr], ["__scopeId", "data-v-55a4572b
4038
4076
  },
4039
4077
  methods: {
4040
4078
  close() {
4041
- this.dialogVisible = !1, this.disabled = !0, this.codeTime = null, clearInterval(this.codeTimer), this.isSend = !1, _e(this, "cancel"), (!this.content || this.content === "phone-binding") && this.$refs.form.resetFields();
4079
+ this.dialogVisible = !1, this.disabled = !0, this.codeTime = null, clearInterval(this.codeTimer), this.isSend = !1, we(this, "cancel"), (!this.content || this.content === "phone-binding") && this.$refs.form.resetFields();
4042
4080
  },
4043
4081
  handleClose() {
4044
4082
  this.dialogVisible = !1, this.loading = !1;
@@ -4048,7 +4086,7 @@ const br = /* @__PURE__ */ z(hr, [["render", yr], ["__scopeId", "data-v-55a4572b
4048
4086
  },
4049
4087
  submit() {
4050
4088
  const e = ["password-binding", "phone-binding"];
4051
- !this.content || e.indexOf(this.content) !== -1 || !this.isSuccess ? (this.form.smsCode && (this.loading = !0), _e(this, "submit", this.form, this.$refs.form, () => {
4089
+ !this.content || e.indexOf(this.content) !== -1 || !this.isSuccess ? (this.form.smsCode && (this.loading = !0), we(this, "submit", this.form, this.$refs.form, () => {
4052
4090
  this.loading = !1;
4053
4091
  })) : this.cancelForm();
4054
4092
  },
@@ -4070,8 +4108,8 @@ const br = /* @__PURE__ */ z(hr, [["render", yr], ["__scopeId", "data-v-55a4572b
4070
4108
  },
4071
4109
  // 发送验证码
4072
4110
  sendSmsCode(e) {
4073
- this.isSend = !0, tr({ inputMobile: e, type: "userinfo" }).then((t) => {
4074
- this.codeTime = t.expire_second, _e(this, "smsKey", t.key), this.countDown();
4111
+ this.isSend = !0, nr({ inputMobile: e, type: "userinfo" }).then((t) => {
4112
+ this.codeTime = t.expire_second, we(this, "smsKey", t.key), this.countDown();
4075
4113
  }).catch(() => {
4076
4114
  this.isSend = !1;
4077
4115
  });
@@ -4091,10 +4129,10 @@ const br = /* @__PURE__ */ z(hr, [["render", yr], ["__scopeId", "data-v-55a4572b
4091
4129
  t ? r() : r("请输入验证码");
4092
4130
  }
4093
4131
  }
4094
- }), wr = { class: "block" }, Cr = { class: "dialog_form_phone" }, kr = { class: "dialog_form_code" }, vr = { class: "dialog_footer" };
4095
- function Dr(e, t, r, l, u, y) {
4132
+ }), kr = { class: "block" }, vr = { class: "dialog_form_phone" }, Dr = { class: "dialog_form_code" }, $r = { class: "dialog_footer" };
4133
+ function Tr(e, t, r, l, u, y) {
4096
4134
  const s = a("el-input"), i = a("el-form-item"), d = a("el-button"), p = a("el-form"), b = a("el-button-group"), f = a("el-dialog"), g = M("emoji");
4097
- return m(), V("div", null, [
4135
+ return m(), I("div", null, [
4098
4136
  o(f, {
4099
4137
  modelValue: e.dialogVisible,
4100
4138
  "onUpdate:modelValue": t[2] || (t[2] = (C) => e.dialogVisible = C),
@@ -4107,7 +4145,7 @@ function Dr(e, t, r, l, u, y) {
4107
4145
  center: ""
4108
4146
  }, {
4109
4147
  default: n(() => [
4110
- T("div", wr, [
4148
+ T("div", kr, [
4111
4149
  T("h3", null, R(e.title), 1),
4112
4150
  Re(e.$slots, "dialog_body", {}, () => [
4113
4151
  o(p, {
@@ -4117,7 +4155,7 @@ function Dr(e, t, r, l, u, y) {
4117
4155
  class: "dialog_body_form"
4118
4156
  }, {
4119
4157
  default: n(() => [
4120
- T("div", Cr, [
4158
+ T("div", vr, [
4121
4159
  t[3] || (t[3] = T("div", { class: "dialog_phone_area" }, "+86", -1)),
4122
4160
  o(i, {
4123
4161
  class: "form_phone_item",
@@ -4139,7 +4177,7 @@ function Dr(e, t, r, l, u, y) {
4139
4177
  ]),
4140
4178
  o(i, { prop: "smsCode" }, {
4141
4179
  default: n(() => [
4142
- T("div", kr, [
4180
+ T("div", Dr, [
4143
4181
  E(o(s, {
4144
4182
  modelValue: e.form.smsCode,
4145
4183
  "onUpdate:modelValue": t[1] || (t[1] = (C) => e.form.smsCode = C),
@@ -4167,7 +4205,7 @@ function Dr(e, t, r, l, u, y) {
4167
4205
  }, 8, ["model", "rules"])
4168
4206
  ], !0)
4169
4207
  ]),
4170
- T("div", vr, [
4208
+ T("div", $r, [
4171
4209
  o(b, null, {
4172
4210
  default: n(() => [
4173
4211
  o(d, {
@@ -4199,11 +4237,11 @@ function Dr(e, t, r, l, u, y) {
4199
4237
  }, 8, ["modelValue", "before-close", "close"])
4200
4238
  ]);
4201
4239
  }
4202
- const $r = /* @__PURE__ */ z(_r, [["render", Dr], ["__scopeId", "data-v-53d9efb4"]]), Tr = Y({
4240
+ const Sr = /* @__PURE__ */ z(Cr, [["render", Tr], ["__scopeId", "data-v-53d9efb4"]]), Fr = Y({
4203
4241
  name: "Verification",
4204
4242
  components: {
4205
- resetPassword: br,
4206
- formDialog: $r
4243
+ resetPassword: wr,
4244
+ formDialog: Sr
4207
4245
  },
4208
4246
  props: {
4209
4247
  appId: {
@@ -4277,7 +4315,7 @@ const $r = /* @__PURE__ */ z(_r, [["render", Dr], ["__scopeId", "data-v-53d9efb4
4277
4315
  this.resetAccessKey(e, r);
4278
4316
  return;
4279
4317
  }
4280
- or(u).then((y) => {
4318
+ rr(u).then((y) => {
4281
4319
  switch (r(), this.isSuccess = !0, this.content = this.opreation, this.opreation) {
4282
4320
  case "view-app-key":
4283
4321
  this.viewAppAccessKey(e, r);
@@ -4319,7 +4357,7 @@ const $r = /* @__PURE__ */ z(_r, [["render", Dr], ["__scopeId", "data-v-53d9efb4
4319
4357
  // 获取应用appAccessKey
4320
4358
  viewAppAccessKey(e, t) {
4321
4359
  this.$nextTick(() => {
4322
- mr(this.appId).then((r) => {
4360
+ hr(this.appId).then((r) => {
4323
4361
  t(), this.isSuccess = !0, this.title = this.resultTitle, this.accessKey = r.data;
4324
4362
  });
4325
4363
  }).catch(() => {
@@ -4328,7 +4366,7 @@ const $r = /* @__PURE__ */ z(_r, [["render", Dr], ["__scopeId", "data-v-53d9efb4
4328
4366
  },
4329
4367
  resetAppAccessKey(e, t) {
4330
4368
  this.$nextTick(() => {
4331
- cr(this.appId).then(() => {
4369
+ fr(this.appId).then(() => {
4332
4370
  t(), this.isSuccess = !0, this.title = "重置AccessKey", this.$refs.formDialog.dialogVisible = !1, this.$refs.formDialog.cancelForm(), q.success("重置成功");
4333
4371
  });
4334
4372
  }).catch(() => {
@@ -4343,7 +4381,7 @@ const $r = /* @__PURE__ */ z(_r, [["render", Dr], ["__scopeId", "data-v-53d9efb4
4343
4381
  smsCode: e.smsCode,
4344
4382
  smsKey: this.smsKey
4345
4383
  };
4346
- nr(r).then((l) => {
4384
+ ar(r).then((l) => {
4347
4385
  t(), this.isSuccess = !0, this.title = this.resultTitle, this.content = this.opreation, this.accessKey = l;
4348
4386
  }).catch(() => {
4349
4387
  t();
@@ -4357,7 +4395,7 @@ const $r = /* @__PURE__ */ z(_r, [["render", Dr], ["__scopeId", "data-v-53d9efb4
4357
4395
  smsCode: e.smsCode,
4358
4396
  smsKey: this.smsKey
4359
4397
  };
4360
- rr(r).then((l) => {
4398
+ lr(r).then((l) => {
4361
4399
  t(), this.isSuccess = !0, this.content = this.opreation, this.title = "重置用户Accesskey", q.success("重置用户Accesskey成功"), this.accessKey = l.accessKey, this.$refs.formDialog.dialogVisible = !1, this.$refs.formDialog.cancelForm();
4362
4400
  }).catch(() => {
4363
4401
  t();
@@ -4372,7 +4410,7 @@ const $r = /* @__PURE__ */ z(_r, [["render", Dr], ["__scopeId", "data-v-53d9efb4
4372
4410
  smsKey: this.smsKey,
4373
4411
  confirmKey: e.confirmKey
4374
4412
  };
4375
- lr(r).then(() => {
4413
+ sr(r).then(() => {
4376
4414
  t(), q({
4377
4415
  message: "修改成功,即将重新登录",
4378
4416
  type: "success"
@@ -4394,13 +4432,13 @@ const $r = /* @__PURE__ */ z(_r, [["render", Dr], ["__scopeId", "data-v-53d9efb4
4394
4432
  });
4395
4433
  }
4396
4434
  }
4397
- }), Sr = {
4435
+ }), Lr = {
4398
4436
  key: 0,
4399
4437
  class: "auth-main-key"
4400
- }, Fr = ["data-clipboard-text"];
4401
- function Lr(e, t, r, l, u, y) {
4438
+ }, Er = ["data-clipboard-text"];
4439
+ function Rr(e, t, r, l, u, y) {
4402
4440
  const s = a("resetPassword"), i = a("formDialog");
4403
- return m(), _(i, {
4441
+ return m(), w(i, {
4404
4442
  ref: "formDialog",
4405
4443
  title: e.title,
4406
4444
  "submit-text": e.submitText,
@@ -4414,15 +4452,15 @@ function Lr(e, t, r, l, u, y) {
4414
4452
  onCancel: e.cancel
4415
4453
  }, {
4416
4454
  dialog_body: n(() => [
4417
- e.content === "view-auth" || e.content === "view-app-key" ? (m(), V("div", Sr, [
4455
+ e.content === "view-auth" || e.content === "view-app-key" ? (m(), I("div", Lr, [
4418
4456
  T("span", null, R(e.accessKey), 1),
4419
4457
  T("span", {
4420
4458
  class: "auth-main-copy",
4421
4459
  "data-clipboard-text": e.accessKey,
4422
4460
  onClick: t[0] || (t[0] = (...d) => e.handleCopy && e.handleCopy(...d))
4423
- }, "复制", 8, Fr)
4461
+ }, "复制", 8, Er)
4424
4462
  ])) : P("", !0),
4425
- e.content === "password-binding" ? (m(), _(s, {
4463
+ e.content === "password-binding" ? (m(), w(s, {
4426
4464
  key: 1,
4427
4465
  ref: "resetPassword",
4428
4466
  "user-id": e.userId,
@@ -4432,7 +4470,7 @@ function Lr(e, t, r, l, u, y) {
4432
4470
  _: 1
4433
4471
  }, 8, ["title", "submit-text", "sure-text", "loading", "phone", "is-success", "content", "onSmsKey", "onSubmit", "onCancel"]);
4434
4472
  }
4435
- const Kt = /* @__PURE__ */ z(Tr, [["render", Lr], ["__scopeId", "data-v-d603bb16"]]), Er = Y({
4473
+ const Kt = /* @__PURE__ */ z(Fr, [["render", Rr], ["__scopeId", "data-v-d603bb16"]]), Pr = Y({
4436
4474
  components: {
4437
4475
  pageDataInfo: Nt,
4438
4476
  verify: Kt,
@@ -4479,9 +4517,9 @@ const Kt = /* @__PURE__ */ z(Tr, [["render", Lr], ["__scopeId", "data-v-d603bb16
4479
4517
  }
4480
4518
  }
4481
4519
  });
4482
- function Rr(e, t, r, l, u, y) {
4520
+ function Nr(e, t, r, l, u, y) {
4483
4521
  const s = a("pageDataInfo"), i = a("verify"), d = a("ObjectPage"), p = M("loading");
4484
- return E((m(), _(d, { class: "userApply_detail_wrapper" }, {
4522
+ return E((m(), w(d, { class: "userApply_detail_wrapper" }, {
4485
4523
  header: n(() => [
4486
4524
  o(s, {
4487
4525
  title: e.detail.appName,
@@ -4507,7 +4545,7 @@ function Rr(e, t, r, l, u, y) {
4507
4545
  [p, e.loading]
4508
4546
  ]);
4509
4547
  }
4510
- const Fs = /* @__PURE__ */ z(Er, [["render", Rr], ["__scopeId", "data-v-91f662c8"]]), Pr = Y({
4548
+ const Es = /* @__PURE__ */ z(Pr, [["render", Nr], ["__scopeId", "data-v-91f662c8"]]), Ir = Y({
4511
4549
  components: {
4512
4550
  xdmpDrawer: ee
4513
4551
  },
@@ -4583,9 +4621,9 @@ const Fs = /* @__PURE__ */ z(Er, [["render", Rr], ["__scopeId", "data-v-91f662c8
4583
4621
  }
4584
4622
  }
4585
4623
  });
4586
- function Nr(e, t, r, l, u, y) {
4624
+ function Vr(e, t, r, l, u, y) {
4587
4625
  const s = a("el-input"), i = a("el-form-item"), d = a("el-option"), p = a("el-select"), b = a("el-input-number"), f = a("el-form"), g = a("xdmpDrawer"), C = M("loading");
4588
- return m(), V("div", null, [
4626
+ return m(), I("div", null, [
4589
4627
  o(g, {
4590
4628
  ref: "xdmpDrawer",
4591
4629
  title: e.title,
@@ -4595,7 +4633,7 @@ function Nr(e, t, r, l, u, y) {
4595
4633
  onCancel: e.cancel
4596
4634
  }, {
4597
4635
  "xdmp-drawer-body": n(() => [
4598
- E((m(), V("div", null, [
4636
+ E((m(), I("div", null, [
4599
4637
  o(f, {
4600
4638
  ref: "formRef",
4601
4639
  model: e.form,
@@ -4605,7 +4643,7 @@ function Nr(e, t, r, l, u, y) {
4605
4643
  class: "xdmp-form"
4606
4644
  }, {
4607
4645
  default: n(() => [
4608
- e.mode === "view" ? (m(), _(i, {
4646
+ e.mode === "view" ? (m(), w(i, {
4609
4647
  key: 0,
4610
4648
  label: "应用ID"
4611
4649
  }, {
@@ -4633,7 +4671,7 @@ function Nr(e, t, r, l, u, y) {
4633
4671
  ]),
4634
4672
  _: 1
4635
4673
  }),
4636
- e.mode === "view" ? (m(), _(i, {
4674
+ e.mode === "view" ? (m(), w(i, {
4637
4675
  key: 1,
4638
4676
  label: "应用密钥"
4639
4677
  }, {
@@ -4758,7 +4796,7 @@ function Nr(e, t, r, l, u, y) {
4758
4796
  ]),
4759
4797
  _: 1
4760
4798
  }),
4761
- e.mode === "view" ? (m(), _(i, {
4799
+ e.mode === "view" ? (m(), w(i, {
4762
4800
  key: 2,
4763
4801
  label: "创建时间"
4764
4802
  }, {
@@ -4782,11 +4820,11 @@ function Nr(e, t, r, l, u, y) {
4782
4820
  }, 8, ["title", "size", "show-footer", "onSubmit", "onCancel"])
4783
4821
  ]);
4784
4822
  }
4785
- const Ir = /* @__PURE__ */ z(Pr, [["render", Nr]]), Vr = Y({
4823
+ const qr = /* @__PURE__ */ z(Ir, [["render", Vr]]), Or = Y({
4786
4824
  components: {
4787
4825
  ListReport: oe,
4788
4826
  pageDesc: te,
4789
- clientDrawer: Ir,
4827
+ clientDrawer: qr,
4790
4828
  DocumentCopy: ut
4791
4829
  },
4792
4830
  data() {
@@ -4794,6 +4832,7 @@ const Ir = /* @__PURE__ */ z(Pr, [["render", Nr]]), Vr = Y({
4794
4832
  loading: !1,
4795
4833
  total: 0,
4796
4834
  list: [],
4835
+ RETAIN_MSG_DELETE: je,
4797
4836
  queryParams: {
4798
4837
  query: {
4799
4838
  name: ""
@@ -4821,7 +4860,6 @@ const Ir = /* @__PURE__ */ z(Pr, [["render", Nr]]), Vr = Y({
4821
4860
  dayjs: O,
4822
4861
  checkPermission: se,
4823
4862
  isRetainYes: ue,
4824
- RETAIN_MSG_DELETE: je,
4825
4863
  getClientTypeLabel(e) {
4826
4864
  return !e && e !== 0 ? "-" : this.clientTypeMap[e] || this.clientTypeMap[String(e)] || "-";
4827
4865
  },
@@ -4919,15 +4957,15 @@ const Ir = /* @__PURE__ */ z(Pr, [["render", Nr]]), Vr = Y({
4919
4957
  this.queryParams.pageNo = e, this.getClientList();
4920
4958
  }
4921
4959
  }
4922
- }), qr = { class: "client_wrapper" }, Or = {
4960
+ }), Ar = { class: "client_wrapper" }, Mr = {
4923
4961
  key: 0,
4924
4962
  class: "secret-cell"
4925
- }, Ar = { class: "secret-value" }, Mr = ["data-clipboard-text"], Ur = { key: 1 };
4926
- function zr(e, t, r, l, u, y) {
4927
- const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("DocumentCopy"), C = a("el-icon"), k = a("el-divider"), v = a("el-tooltip"), S = a("el-table"), U = a("el-pagination"), I = a("ListReport"), w = a("clientDrawer"), D = M("loading");
4928
- return m(), V("div", qr, [
4929
- o(s, { desc: "平台提供多应用业务管理,提供基于应用的 OAuth2 认证、单点登录支持,可以进行新建、查看、编辑、删除等应用业务管理操作。" }),
4930
- E((m(), _(I, { class: "client_block" }, {
4963
+ }, Ur = { class: "secret-value" }, zr = ["data-clipboard-text"], Yr = { key: 1 };
4964
+ function jr(e, t, r, l, u, y) {
4965
+ const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("DocumentCopy"), C = a("el-icon"), k = a("el-divider"), v = a("el-tooltip"), S = a("el-table"), U = a("el-pagination"), V = a("ListReport"), _ = a("clientDrawer"), D = M("loading");
4966
+ return m(), I("div", Ar, [
4967
+ o(s),
4968
+ E((m(), w(V, { class: "client_block" }, {
4931
4969
  filter: n(() => [
4932
4970
  o(b, {
4933
4971
  ref: "searchForm",
@@ -4982,7 +5020,7 @@ function zr(e, t, r, l, u, y) {
4982
5020
  ]),
4983
5021
  toolbar: n(() => [
4984
5022
  T("div", null, [
4985
- e.checkPermission(["ROLE_CLIENT_CREATE"]) ? (m(), _(p, {
5023
+ e.checkPermission(["ROLE_CLIENT_CREATE"]) ? (m(), w(p, {
4986
5024
  key: 0,
4987
5025
  type: "primary",
4988
5026
  style: { width: "88px" },
@@ -5021,8 +5059,8 @@ function zr(e, t, r, l, u, y) {
5021
5059
  "min-width": "220"
5022
5060
  }, {
5023
5061
  default: n((h) => [
5024
- h.row.clientSecret ? (m(), V("div", Or, [
5025
- T("span", Ar, R(e.maskSecret(h.row.clientSecret)), 1),
5062
+ h.row.clientSecret ? (m(), I("div", Mr, [
5063
+ T("span", Ur, R(e.maskSecret(h.row.clientSecret)), 1),
5026
5064
  T("div", {
5027
5065
  class: "copy-btn",
5028
5066
  "data-clipboard-text": h.row.clientId + `
@@ -5035,8 +5073,8 @@ function zr(e, t, r, l, u, y) {
5035
5073
  ]),
5036
5074
  _: 1
5037
5075
  })
5038
- ], 8, Mr)
5039
- ])) : (m(), V("span", Ur, "-"))
5076
+ ], 8, zr)
5077
+ ])) : (m(), I("span", Yr, "-"))
5040
5078
  ]),
5041
5079
  _: 1
5042
5080
  }),
@@ -5096,7 +5134,7 @@ function zr(e, t, r, l, u, y) {
5096
5134
  width: "220"
5097
5135
  }, {
5098
5136
  default: n((h) => [
5099
- e.checkPermission(["ROLE_CLIENT_UPDATE"]) ? (m(), _(p, {
5137
+ e.checkPermission(["ROLE_CLIENT_UPDATE"]) ? (m(), w(p, {
5100
5138
  key: 0,
5101
5139
  text: "",
5102
5140
  type: "primary",
@@ -5118,7 +5156,7 @@ function zr(e, t, r, l, u, y) {
5118
5156
  ])]),
5119
5157
  _: 1
5120
5158
  }, 8, ["onClick"]),
5121
- e.checkPermission(["ROLE_CLIENT_DELETE"]) ? (m(), _(k, {
5159
+ e.checkPermission(["ROLE_CLIENT_DELETE"]) ? (m(), w(k, {
5122
5160
  key: 1,
5123
5161
  direction: "vertical"
5124
5162
  })) : P("", !0),
@@ -5129,7 +5167,7 @@ function zr(e, t, r, l, u, y) {
5129
5167
  }, {
5130
5168
  default: n(() => [
5131
5169
  T("span", null, [
5132
- e.checkPermission(["ROLE_CLIENT_DELETE"]) ? (m(), _(p, {
5170
+ e.checkPermission(["ROLE_CLIENT_DELETE"]) ? (m(), w(p, {
5133
5171
  key: 0,
5134
5172
  text: "",
5135
5173
  type: "primary",
@@ -5169,35 +5207,35 @@ function zr(e, t, r, l, u, y) {
5169
5207
  })), [
5170
5208
  [D, e.loading]
5171
5209
  ]),
5172
- o(w, {
5210
+ o(_, {
5173
5211
  ref: "clientDrawer",
5174
5212
  onReload: e.getClientList
5175
5213
  }, null, 8, ["onReload"])
5176
5214
  ]);
5177
5215
  }
5178
- const Ls = /* @__PURE__ */ z(Vr, [["render", zr], ["__scopeId", "data-v-5b35fed2"]]), Yr = "system-config-updated", jr = "systemConfig";
5179
- async function Br() {
5216
+ const Rs = /* @__PURE__ */ z(Or, [["render", jr], ["__scopeId", "data-v-104e0e0f"]]), Br = "system-config-updated", Kr = "systemConfig";
5217
+ async function Hr() {
5180
5218
  try {
5181
- const e = await L().passport.auth.getSystemConfig(), t = await Promise.all((e.items || []).map(Kr)), r = {
5219
+ const e = await L().passport.auth.getSystemConfig(), t = await Promise.all((e.items || []).map(Qr)), r = {
5182
5220
  categoryKey: e.categoryKey,
5183
5221
  categoryName: e.categoryName,
5184
5222
  items: t
5185
5223
  };
5186
- return localStorage.setItem(jr, JSON.stringify(r)), window.dispatchEvent(new CustomEvent(Yr, { detail: r })), r;
5224
+ return localStorage.setItem(Kr, JSON.stringify(r)), window.dispatchEvent(new CustomEvent(Br, { detail: r })), r;
5187
5225
  } catch (e) {
5188
5226
  return console.warn("获取 SYSTEM_CONFIG 失败:", e), null;
5189
5227
  }
5190
5228
  }
5191
- async function Kr(e) {
5229
+ async function Qr(e) {
5192
5230
  if (e.type !== "FILE" || !e.value) return e;
5193
5231
  try {
5194
- const t = await lt(e.value), r = await Hr(t);
5232
+ const t = await lt(e.value), r = await Gr(t);
5195
5233
  return { ...e, _blobUrl: r };
5196
5234
  } catch (t) {
5197
5235
  return console.warn(`处理配置项 ${e.key} 文件下载失败:`, t), e;
5198
5236
  }
5199
5237
  }
5200
- function Hr(e) {
5238
+ function Gr(e) {
5201
5239
  return new Promise((t, r) => {
5202
5240
  const l = new window.FileReader();
5203
5241
  l.onload = (u) => {
@@ -5206,7 +5244,7 @@ function Hr(e) {
5206
5244
  }, l.onerror = () => r(new Error("文件读取失败")), l.readAsArrayBuffer(e);
5207
5245
  });
5208
5246
  }
5209
- const Xe = {}, Qr = Y({
5247
+ const Xe = {}, Jr = Y({
5210
5248
  components: {
5211
5249
  xdmpDrawer: ee
5212
5250
  },
@@ -5302,7 +5340,7 @@ const Xe = {}, Qr = Y({
5302
5340
  }))
5303
5341
  }, u = L().system.config;
5304
5342
  (this.mode === "edit" ? u.update(this.configId, { ...l, id: this.configId }) : u.add(l)).then(() => {
5305
- t.hideLoading(), q.success(this.mode === "edit" ? "编辑成功" : "新建成功"), t.cancelForm(), this.$emit("reload"), l.categoryKey === "SYSTEM_CONFIG" && Br();
5343
+ t.hideLoading(), q.success(this.mode === "edit" ? "编辑成功" : "新建成功"), t.cancelForm(), this.$emit("reload"), l.categoryKey === "SYSTEM_CONFIG" && Hr();
5306
5344
  }).catch(() => {
5307
5345
  t.hideLoading(), q.error("保存失败");
5308
5346
  });
@@ -5342,13 +5380,13 @@ const Xe = {}, Qr = Y({
5342
5380
  }
5343
5381
  }
5344
5382
  }
5345
- }), Gr = { class: "config-item-body" }, Jr = { class: "config-item-meta" }, Wr = {
5383
+ }), Wr = { class: "config-item-body" }, Zr = { class: "config-item-meta" }, Xr = {
5346
5384
  key: 2,
5347
5385
  class: "config-item-file"
5348
- }, Zr = { class: "config-add-btn-wrapper" };
5349
- function Xr(e, t, r, l, u, y) {
5386
+ }, xr = { class: "config-add-btn-wrapper" };
5387
+ function ea(e, t, r, l, u, y) {
5350
5388
  const s = a("el-input"), i = a("el-form-item"), d = a("el-form"), p = a("el-option"), b = a("el-select"), f = a("el-input-number"), g = a("el-image"), C = a("el-button"), k = a("el-upload"), v = a("el-switch"), S = a("el-tooltip"), U = a("xdmpDrawer");
5351
- return m(), V("div", null, [
5389
+ return m(), I("div", null, [
5352
5390
  o(U, {
5353
5391
  ref: "xdmpDrawer",
5354
5392
  title: e.title,
@@ -5377,7 +5415,7 @@ function Xr(e, t, r, l, u, y) {
5377
5415
  default: n(() => [
5378
5416
  o(s, {
5379
5417
  modelValue: e.form.categoryKey,
5380
- "onUpdate:modelValue": t[0] || (t[0] = (I) => e.form.categoryKey = I),
5418
+ "onUpdate:modelValue": t[0] || (t[0] = (V) => e.form.categoryKey = V),
5381
5419
  disabled: e.mode === "edit",
5382
5420
  placeholder: "请输入分类编码",
5383
5421
  clearable: ""
@@ -5392,7 +5430,7 @@ function Xr(e, t, r, l, u, y) {
5392
5430
  default: n(() => [
5393
5431
  o(s, {
5394
5432
  modelValue: e.form.categoryName,
5395
- "onUpdate:modelValue": t[1] || (t[1] = (I) => e.form.categoryName = I),
5433
+ "onUpdate:modelValue": t[1] || (t[1] = (V) => e.form.categoryName = V),
5396
5434
  placeholder: "请输入分类名称",
5397
5435
  clearable: ""
5398
5436
  }, null, 8, ["modelValue"])
@@ -5406,7 +5444,7 @@ function Xr(e, t, r, l, u, y) {
5406
5444
  default: n(() => [
5407
5445
  o(s, {
5408
5446
  modelValue: e.form.remark,
5409
- "onUpdate:modelValue": t[2] || (t[2] = (I) => e.form.remark = I),
5447
+ "onUpdate:modelValue": t[2] || (t[2] = (V) => e.form.remark = V),
5410
5448
  placeholder: "请输入备注",
5411
5449
  clearable: ""
5412
5450
  }, null, 8, ["modelValue"])
@@ -5419,16 +5457,16 @@ function Xr(e, t, r, l, u, y) {
5419
5457
  t[6] || (t[6] = T("div", { class: "infoTitleBox" }, [
5420
5458
  T("div", { class: "titleBox" }, "配置项")
5421
5459
  ], -1)),
5422
- (m(!0), V(ie, null, de(e.formItems, (I, w) => (m(), V("div", {
5423
- key: w,
5424
- class: Ne(["config-item-row", { "config-item-new": !I.key }])
5460
+ (m(!0), I(ie, null, de(e.formItems, (V, _) => (m(), I("div", {
5461
+ key: _,
5462
+ class: Ne(["config-item-row", { "config-item-new": !V.key }])
5425
5463
  }, [
5426
- T("div", Gr, [
5427
- T("div", Jr, [
5464
+ T("div", Wr, [
5465
+ T("div", Zr, [
5428
5466
  o(b, {
5429
- modelValue: I.type,
5430
- "onUpdate:modelValue": (D) => I.type = D,
5431
- onChange: (D) => e.changeItemType(D, w)
5467
+ modelValue: V.type,
5468
+ "onUpdate:modelValue": (D) => V.type = D,
5469
+ onChange: (D) => e.changeItemType(D, _)
5432
5470
  }, {
5433
5471
  default: n(() => [
5434
5472
  o(p, {
@@ -5451,35 +5489,35 @@ function Xr(e, t, r, l, u, y) {
5451
5489
  _: 1
5452
5490
  }, 8, ["modelValue", "onUpdate:modelValue", "onChange"]),
5453
5491
  o(s, {
5454
- modelValue: I.key,
5455
- "onUpdate:modelValue": (D) => I.key = D,
5492
+ modelValue: V.key,
5493
+ "onUpdate:modelValue": (D) => V.key = D,
5456
5494
  placeholder: "配置项编码"
5457
5495
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
5458
5496
  o(s, {
5459
- modelValue: I.name,
5460
- "onUpdate:modelValue": (D) => I.name = D,
5497
+ modelValue: V.name,
5498
+ "onUpdate:modelValue": (D) => V.name = D,
5461
5499
  placeholder: "配置项名称"
5462
5500
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
5463
5501
  ]),
5464
- I.type === "STRING" ? (m(), _(s, {
5502
+ V.type === "STRING" ? (m(), w(s, {
5465
5503
  key: 0,
5466
- modelValue: I.value,
5467
- "onUpdate:modelValue": (D) => I.value = D,
5504
+ modelValue: V.value,
5505
+ "onUpdate:modelValue": (D) => V.value = D,
5468
5506
  placeholder: "配置项值",
5469
5507
  clearable: ""
5470
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : I.type === "NUMBER" ? (m(), _(f, {
5508
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : V.type === "NUMBER" ? (m(), w(f, {
5471
5509
  key: 1,
5472
- modelValue: I.value,
5473
- "onUpdate:modelValue": (D) => I.value = D,
5510
+ modelValue: V.value,
5511
+ "onUpdate:modelValue": (D) => V.value = D,
5474
5512
  placeholder: "配置项值",
5475
5513
  controls: !0,
5476
5514
  style: { width: "100%" }
5477
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : I.type === "FILE" ? (m(), V("div", Wr, [
5478
- I._previewUrl ? (m(), _(g, {
5515
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : V.type === "FILE" ? (m(), I("div", Xr, [
5516
+ V._previewUrl ? (m(), w(g, {
5479
5517
  key: 0,
5480
- src: I._previewUrl,
5481
- "preview-src-list": [I._previewUrl],
5482
- style: Ie(e.getImageStyle(I.key)),
5518
+ src: V._previewUrl,
5519
+ "preview-src-list": [V._previewUrl],
5520
+ style: Ie(e.getImageStyle(V.key)),
5483
5521
  class: "config-item-image"
5484
5522
  }, null, 8, ["src", "preview-src-list", "style"])) : P("", !0),
5485
5523
  o(k, {
@@ -5487,7 +5525,7 @@ function Xr(e, t, r, l, u, y) {
5487
5525
  accept: ".jpg,.jpeg,.png",
5488
5526
  "show-file-list": !1,
5489
5527
  "before-upload": e.beforeUpload,
5490
- "http-request": e.makeHttpRequest(w),
5528
+ "http-request": e.makeHttpRequest(_),
5491
5529
  "on-change": e.handleChange
5492
5530
  }, {
5493
5531
  default: n(() => [
@@ -5503,10 +5541,10 @@ function Xr(e, t, r, l, u, y) {
5503
5541
  ]),
5504
5542
  _: 1
5505
5543
  }, 8, ["before-upload", "http-request", "on-change"])
5506
- ])) : I.type === "BOOL" ? (m(), _(v, {
5544
+ ])) : V.type === "BOOL" ? (m(), w(v, {
5507
5545
  key: 3,
5508
- modelValue: I.value,
5509
- "onUpdate:modelValue": (D) => I.value = D,
5546
+ modelValue: V.value,
5547
+ "onUpdate:modelValue": (D) => V.value = D,
5510
5548
  "active-value": "true",
5511
5549
  "inactive-value": "false",
5512
5550
  "inline-prompt": "",
@@ -5529,7 +5567,7 @@ function Xr(e, t, r, l, u, y) {
5529
5567
  text: "",
5530
5568
  class: "config-item-remove",
5531
5569
  disabled: e.isRetainYes(e.retainFlag),
5532
- onClick: (D) => e.removeItem(w)
5570
+ onClick: (D) => e.removeItem(_)
5533
5571
  }, null, 8, ["disabled", "onClick"])
5534
5572
  ])
5535
5573
  ]),
@@ -5542,7 +5580,7 @@ function Xr(e, t, r, l, u, y) {
5542
5580
  placement: "top"
5543
5581
  }, {
5544
5582
  default: n(() => [
5545
- T("span", Zr, [
5583
+ T("span", xr, [
5546
5584
  o(C, {
5547
5585
  icon: "Plus",
5548
5586
  class: "config-add-btn",
@@ -5563,9 +5601,9 @@ function Xr(e, t, r, l, u, y) {
5563
5601
  }, 8, ["title", "size", "show-footer", "onSubmit", "onCancel"])
5564
5602
  ]);
5565
5603
  }
5566
- const xr = /* @__PURE__ */ z(Qr, [["render", Xr], ["__scopeId", "data-v-3231d16a"]]), ea = Y({
5604
+ const ta = /* @__PURE__ */ z(Jr, [["render", ea], ["__scopeId", "data-v-3231d16a"]]), oa = Y({
5567
5605
  components: {
5568
- configDrawer: xr,
5606
+ configDrawer: ta,
5569
5607
  pageDesc: te,
5570
5608
  ListReport: oe
5571
5609
  },
@@ -5637,12 +5675,12 @@ const xr = /* @__PURE__ */ z(Qr, [["render", Xr], ["__scopeId", "data-v-3231d16a
5637
5675
  this.queryParams.pageNo = e, this.getConfigList();
5638
5676
  }
5639
5677
  }
5640
- }), ta = { class: "config_wrapper" }, oa = { class: "searchInputCustomStyle" };
5641
- function na(e, t, r, l, u, y) {
5642
- const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-divider"), C = a("el-tooltip"), k = a("el-table"), v = a("el-pagination"), S = a("ListReport"), U = a("configDrawer"), I = M("loading");
5643
- return m(), V("div", ta, [
5644
- o(s, { desc: "配置管理,支持系统配置信息的增删改查。" }),
5645
- E((m(), _(S, { class: "config_block" }, {
5678
+ }), na = { class: "config_wrapper" }, ra = { class: "searchInputCustomStyle" };
5679
+ function aa(e, t, r, l, u, y) {
5680
+ const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-divider"), C = a("el-tooltip"), k = a("el-table"), v = a("el-pagination"), S = a("ListReport"), U = a("configDrawer"), V = M("loading");
5681
+ return m(), I("div", na, [
5682
+ o(s),
5683
+ E((m(), w(S, { class: "config_block" }, {
5646
5684
  filter: n(() => [
5647
5685
  o(b, {
5648
5686
  ref: "searchForm",
@@ -5659,7 +5697,7 @@ function na(e, t, r, l, u, y) {
5659
5697
  default: n(() => [
5660
5698
  o(i, {
5661
5699
  modelValue: e.queryParams.query.categoryName,
5662
- "onUpdate:modelValue": t[0] || (t[0] = (w) => e.queryParams.query.categoryName = w),
5700
+ "onUpdate:modelValue": t[0] || (t[0] = (_) => e.queryParams.query.categoryName = _),
5663
5701
  placeholder: "请输入分类名称",
5664
5702
  clearable: ""
5665
5703
  }, null, 8, ["modelValue"])
@@ -5696,8 +5734,8 @@ function na(e, t, r, l, u, y) {
5696
5734
  }, 8, ["model", "onSubmit"])
5697
5735
  ]),
5698
5736
  toolbar: n(() => [
5699
- T("div", oa, [
5700
- e.checkPermission(["ROLE_CONFIG_CREATE"]) ? (m(), _(p, {
5737
+ T("div", ra, [
5738
+ e.checkPermission(["ROLE_CONFIG_CREATE"]) ? (m(), w(p, {
5701
5739
  key: 0,
5702
5740
  type: "primary",
5703
5741
  style: { width: "88px" },
@@ -5730,8 +5768,8 @@ function na(e, t, r, l, u, y) {
5730
5768
  prop: "items",
5731
5769
  label: "配置项数"
5732
5770
  }, {
5733
- default: n((w) => [
5734
- c(R(w.row.items ? w.row.items.length : "-"), 1)
5771
+ default: n((_) => [
5772
+ c(R(_.row.items ? _.row.items.length : "-"), 1)
5735
5773
  ]),
5736
5774
  _: 1
5737
5775
  }),
@@ -5739,8 +5777,8 @@ function na(e, t, r, l, u, y) {
5739
5777
  prop: "remark",
5740
5778
  label: "备注"
5741
5779
  }, {
5742
- default: n((w) => [
5743
- c(R(w.row.remark || "-"), 1)
5780
+ default: n((_) => [
5781
+ c(R(_.row.remark || "-"), 1)
5744
5782
  ]),
5745
5783
  _: 1
5746
5784
  }),
@@ -5748,8 +5786,8 @@ function na(e, t, r, l, u, y) {
5748
5786
  prop: "createTime",
5749
5787
  label: "创建时间"
5750
5788
  }, {
5751
- default: n((w) => [
5752
- c(R(w.row.createTime ? e.dayjs(w.row.createTime).format("YYYY-MM-DD HH:mm:ss") : "-"), 1)
5789
+ default: n((_) => [
5790
+ c(R(_.row.createTime ? e.dayjs(_.row.createTime).format("YYYY-MM-DD HH:mm:ss") : "-"), 1)
5753
5791
  ]),
5754
5792
  _: 1
5755
5793
  }),
@@ -5758,12 +5796,12 @@ function na(e, t, r, l, u, y) {
5758
5796
  label: "操作",
5759
5797
  width: "160"
5760
5798
  }, {
5761
- default: n((w) => [
5762
- e.checkPermission(["ROLE_CONFIG_UPDATE"]) ? (m(), _(p, {
5799
+ default: n((_) => [
5800
+ e.checkPermission(["ROLE_CONFIG_UPDATE"]) ? (m(), w(p, {
5763
5801
  key: 0,
5764
5802
  text: "",
5765
5803
  type: "primary",
5766
- onClick: (D) => e.editConfig(w.row)
5804
+ onClick: (D) => e.editConfig(_.row)
5767
5805
  }, {
5768
5806
  default: n(() => [...t[4] || (t[4] = [
5769
5807
  c("编辑 ", -1)
@@ -5772,18 +5810,18 @@ function na(e, t, r, l, u, y) {
5772
5810
  }, 8, ["onClick"])) : P("", !0),
5773
5811
  o(g, { direction: "vertical" }),
5774
5812
  o(C, {
5775
- disabled: !e.isRetainYes(w.row.retainFlag),
5813
+ disabled: !e.isRetainYes(_.row.retainFlag),
5776
5814
  content: "系统保留配置禁止删除",
5777
5815
  placement: "top"
5778
5816
  }, {
5779
5817
  default: n(() => [
5780
5818
  T("span", null, [
5781
- e.checkPermission(["ROLE_CONFIG_DELETE"]) ? (m(), _(p, {
5819
+ e.checkPermission(["ROLE_CONFIG_DELETE"]) ? (m(), w(p, {
5782
5820
  key: 0,
5783
5821
  text: "",
5784
5822
  type: "primary",
5785
- disabled: e.isRetainYes(w.row.retainFlag),
5786
- onClick: (D) => e.deleteConfig(w.row)
5823
+ disabled: e.isRetainYes(_.row.retainFlag),
5824
+ onClick: (D) => e.deleteConfig(_.row)
5787
5825
  }, {
5788
5826
  default: n(() => [...t[5] || (t[5] = [
5789
5827
  c("删除", -1)
@@ -5816,7 +5854,7 @@ function na(e, t, r, l, u, y) {
5816
5854
  ]),
5817
5855
  _: 1
5818
5856
  })), [
5819
- [I, e.loading]
5857
+ [V, e.loading]
5820
5858
  ]),
5821
5859
  o(U, {
5822
5860
  ref: "configDrawer",
@@ -5824,7 +5862,7 @@ function na(e, t, r, l, u, y) {
5824
5862
  }, null, 8, ["onReload"])
5825
5863
  ]);
5826
5864
  }
5827
- const Es = /* @__PURE__ */ z(ea, [["render", na], ["__scopeId", "data-v-ec00582b"]]), ra = Y({
5865
+ const Ps = /* @__PURE__ */ z(oa, [["render", aa], ["__scopeId", "data-v-0c2b0b8b"]]), la = Y({
5828
5866
  components: {
5829
5867
  ListReport: oe,
5830
5868
  PageDesc: te
@@ -5875,12 +5913,12 @@ const Es = /* @__PURE__ */ z(ea, [["render", na], ["__scopeId", "data-v-ec00582b
5875
5913
  });
5876
5914
  }
5877
5915
  }
5878
- }), aa = { class: "cache_wrapper" };
5879
- function la(e, t, r, l, u, y) {
5916
+ }), ia = { class: "cache_wrapper" };
5917
+ function sa(e, t, r, l, u, y) {
5880
5918
  const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-table"), C = a("ListReport"), k = M("loading");
5881
- return m(), V("div", aa, [
5882
- o(s, { desc: "缓存管理,支持按用户账号或全局清理系统缓存。" }),
5883
- E((m(), _(C, { class: "cache_block" }, {
5919
+ return m(), I("div", ia, [
5920
+ o(s),
5921
+ E((m(), w(C, { class: "cache_block" }, {
5884
5922
  filter: n(() => [
5885
5923
  o(b, {
5886
5924
  ref: "searchForm",
@@ -5935,7 +5973,7 @@ function la(e, t, r, l, u, y) {
5935
5973
  ]),
5936
5974
  toolbar: n(() => [
5937
5975
  T("div", null, [
5938
- e.checkPermission(["ROLE_CACHE_CLEAR_USER"]) ? (m(), _(p, {
5976
+ e.checkPermission(["ROLE_CACHE_CLEAR_USER"]) ? (m(), w(p, {
5939
5977
  key: 0,
5940
5978
  type: "primary",
5941
5979
  onClick: e.clearUserCache
@@ -5945,7 +5983,7 @@ function la(e, t, r, l, u, y) {
5945
5983
  ])]),
5946
5984
  _: 1
5947
5985
  }, 8, ["onClick"])) : P("", !0),
5948
- e.checkPermission(["ROLE_CACHE_CLEAR_ALL"]) ? (m(), _(p, {
5986
+ e.checkPermission(["ROLE_CACHE_CLEAR_ALL"]) ? (m(), w(p, {
5949
5987
  key: 1,
5950
5988
  type: "danger",
5951
5989
  onClick: e.clearAllCache
@@ -5987,7 +6025,7 @@ function la(e, t, r, l, u, y) {
5987
6025
  ])
5988
6026
  ]);
5989
6027
  }
5990
- const Rs = /* @__PURE__ */ z(ra, [["render", la], ["__scopeId", "data-v-e0fece77"]]), ia = Y({
6028
+ const Ns = /* @__PURE__ */ z(la, [["render", sa], ["__scopeId", "data-v-9bfa8077"]]), da = Y({
5991
6029
  name: "",
5992
6030
  components: { ElForm: dt, ElFormItem: st, ElInput: it, ElOption: Lo, ElSelect: Fo, xdmpDrawer: ee },
5993
6031
  emits: ["reload"],
@@ -6054,14 +6092,14 @@ const Rs = /* @__PURE__ */ z(ra, [["render", la], ["__scopeId", "data-v-e0fece77
6054
6092
  submit() {
6055
6093
  this.$refs.form.validate((e) => {
6056
6094
  if (e) {
6057
- const t = this.form.id ? Bt : sr, r = {
6095
+ const t = this.form.id ? Bt : ur, r = {
6058
6096
  appName: this.form.appName,
6059
6097
  subjectId: this.form.subjectId,
6060
6098
  comment: this.form.comment,
6061
6099
  type: this.form.type
6062
6100
  };
6063
6101
  this.form.id && (r.id = this.form.id), this.$refs.xdmpDrawer.showLoading(), t(r).then(() => {
6064
- this.$refs.xdmpDrawer.cancelForm(), this.$refs.xdmpDrawer.hideLoading(), _e(this, "reload");
6102
+ this.$refs.xdmpDrawer.cancelForm(), this.$refs.xdmpDrawer.hideLoading(), we(this, "reload");
6065
6103
  }).catch(() => {
6066
6104
  this.$refs.xdmpDrawer.hideLoading();
6067
6105
  }), console.log(r);
@@ -6078,9 +6116,9 @@ const Rs = /* @__PURE__ */ z(ra, [["render", la], ["__scopeId", "data-v-e0fece77
6078
6116
  }
6079
6117
  }
6080
6118
  });
6081
- function sa(e, t, r, l, u, y) {
6119
+ function ua(e, t, r, l, u, y) {
6082
6120
  const s = a("el-input"), i = a("el-form-item"), d = a("el-option"), p = a("el-select"), b = a("el-form"), f = a("xdmpDrawer"), g = M("emoji");
6083
- return m(), _(f, {
6121
+ return m(), w(f, {
6084
6122
  ref: "xdmpDrawer",
6085
6123
  title: e.title,
6086
6124
  size: e.size,
@@ -6125,7 +6163,7 @@ function sa(e, t, r, l, u, y) {
6125
6163
  style: { width: "100%" }
6126
6164
  }, {
6127
6165
  default: n(() => [
6128
- (m(!0), V(ie, null, de(e.subjectList, (C) => (m(), _(d, {
6166
+ (m(!0), I(ie, null, de(e.subjectList, (C) => (m(), w(d, {
6129
6167
  key: C.id,
6130
6168
  label: C.name,
6131
6169
  value: C.id
@@ -6163,7 +6201,7 @@ function sa(e, t, r, l, u, y) {
6163
6201
  _: 3
6164
6202
  }, 8, ["title", "size", "onSubmit", "onCancel"]);
6165
6203
  }
6166
- const da = /* @__PURE__ */ z(ia, [["render", sa], ["__scopeId", "data-v-babb5d0b"]]), ua = Y({
6204
+ const pa = /* @__PURE__ */ z(da, [["render", ua], ["__scopeId", "data-v-f3929ac9"]]), ma = Y({
6167
6205
  name: "",
6168
6206
  components: { ElCheckbox: Ro, ElCheckboxGroup: Eo, xdmpDrawer: ee },
6169
6207
  emits: ["reload"],
@@ -6182,7 +6220,7 @@ const da = /* @__PURE__ */ z(ia, [["render", sa], ["__scopeId", "data-v-babb5d0b
6182
6220
  },
6183
6221
  methods: {
6184
6222
  init(e, t) {
6185
- this.form.appId = e.id, this.form.apiId = [], ur(e.id).then((r) => {
6223
+ this.form.appId = e.id, this.form.apiId = [], mr(e.id).then((r) => {
6186
6224
  t(), this.checkboxList = r, this.checkboxList.forEach((l) => {
6187
6225
  l.selected == 1 && this.form.apiId.push(l.id);
6188
6226
  }), this.$refs.xdmpDrawer.init();
@@ -6191,8 +6229,8 @@ const da = /* @__PURE__ */ z(ia, [["render", sa], ["__scopeId", "data-v-babb5d0b
6191
6229
  });
6192
6230
  },
6193
6231
  submit() {
6194
- this.$refs.xdmpDrawer.showLoading(), pr(this.form).then(() => {
6195
- this.$refs.xdmpDrawer.hideLoading(), _e(this, "reload"), q.success("授权成功"), this.$refs.xdmpDrawer.cancelForm();
6232
+ this.$refs.xdmpDrawer.showLoading(), cr(this.form).then(() => {
6233
+ this.$refs.xdmpDrawer.hideLoading(), we(this, "reload"), q.success("授权成功"), this.$refs.xdmpDrawer.cancelForm();
6196
6234
  }).catch(() => {
6197
6235
  this.$refs.xdmpDrawer.hideLoading();
6198
6236
  });
@@ -6201,10 +6239,10 @@ const da = /* @__PURE__ */ z(ia, [["render", sa], ["__scopeId", "data-v-babb5d0b
6201
6239
  this.checkboxList = [], this.form.appId = [], this.form.apiId = "";
6202
6240
  }
6203
6241
  }
6204
- }), pa = { class: "boxTitle" };
6205
- function ma(e, t, r, l, u, y) {
6242
+ }), ca = { class: "boxTitle" };
6243
+ function ha(e, t, r, l, u, y) {
6206
6244
  const s = a("el-checkbox"), i = a("el-checkbox-group"), d = a("xdmpDrawer");
6207
- return m(), _(d, {
6245
+ return m(), w(d, {
6208
6246
  ref: "xdmpDrawer",
6209
6247
  title: e.title,
6210
6248
  size: e.size,
@@ -6218,7 +6256,7 @@ function ma(e, t, r, l, u, y) {
6218
6256
  "onUpdate:modelValue": t[0] || (t[0] = (p) => e.form.apiId = p)
6219
6257
  }, {
6220
6258
  default: n(() => [
6221
- (m(!0), V(ie, null, de(e.checkboxList, (p) => (m(), V("div", {
6259
+ (m(!0), I(ie, null, de(e.checkboxList, (p) => (m(), I("div", {
6222
6260
  key: p.id,
6223
6261
  class: "boxList"
6224
6262
  }, [
@@ -6226,7 +6264,7 @@ function ma(e, t, r, l, u, y) {
6226
6264
  label: p.id
6227
6265
  }, {
6228
6266
  default: n(() => [
6229
- T("div", pa, R(p.apiName), 1)
6267
+ T("div", ca, R(p.apiName), 1)
6230
6268
  ]),
6231
6269
  _: 2
6232
6270
  }, 1032, ["label"])
@@ -6239,7 +6277,7 @@ function ma(e, t, r, l, u, y) {
6239
6277
  _: 3
6240
6278
  }, 8, ["title", "size", "onSubmit", "onCancel"]);
6241
6279
  }
6242
- const ca = /* @__PURE__ */ z(ua, [["render", ma], ["__scopeId", "data-v-79cbb79c"]]), ha = Y({
6280
+ const fa = /* @__PURE__ */ z(ma, [["render", ha], ["__scopeId", "data-v-79cbb79c"]]), ga = Y({
6243
6281
  components: {
6244
6282
  ListReport: oe,
6245
6283
  ElButton: qt,
@@ -6247,8 +6285,8 @@ const ca = /* @__PURE__ */ z(ua, [["render", ma], ["__scopeId", "data-v-79cbb79c
6247
6285
  ElTable: No,
6248
6286
  ElTableColumn: Po,
6249
6287
  searchForm: vo,
6250
- appDialog: da,
6251
- appAuthDialog: ca,
6288
+ appDialog: pa,
6289
+ appAuthDialog: fa,
6252
6290
  pageDesc: te
6253
6291
  },
6254
6292
  data() {
@@ -6277,7 +6315,7 @@ const ca = /* @__PURE__ */ z(ua, [["render", ma], ["__scopeId", "data-v-79cbb79c
6277
6315
  methods: {
6278
6316
  // 获取列表
6279
6317
  init() {
6280
- this.loading = !0, ir(this.queryParams).then((e) => {
6318
+ this.loading = !0, dr(this.queryParams).then((e) => {
6281
6319
  this.loading = !1, this.appList = e;
6282
6320
  }).catch(() => {
6283
6321
  this.loading = !1;
@@ -6333,12 +6371,12 @@ const ca = /* @__PURE__ */ z(ua, [["render", ma], ["__scopeId", "data-v-79cbb79c
6333
6371
  });
6334
6372
  }
6335
6373
  }
6336
- }), fa = { class: "userApply_wrapper" }, ga = ["data-clipboard-text"];
6337
- function ya(e, t, r, l, u, y) {
6374
+ }), ya = { class: "userApply_wrapper" }, ba = ["data-clipboard-text"];
6375
+ function _a(e, t, r, l, u, y) {
6338
6376
  const s = a("pageDesc"), i = a("searchForm"), d = a("el-button"), p = a("el-table-column"), b = a("el-divider"), f = a("el-table"), g = a("ListReport"), C = a("appDialog"), k = a("appAuthDialog"), v = M("loading");
6339
- return m(), V("div", fa, [
6377
+ return m(), I("div", ya, [
6340
6378
  o(s, { desc: "平台提供开放能力,可以进行新建、查看、编辑、授权等操作。" }),
6341
- E((m(), _(g, { class: "userApply_block" }, {
6379
+ E((m(), w(g, { class: "userApply_block" }, {
6342
6380
  filter: n(() => [
6343
6381
  o(i, {
6344
6382
  "form-options": e.formOptions,
@@ -6384,7 +6422,7 @@ function ya(e, t, r, l, u, y) {
6384
6422
  class: "el-icon-copy-document copy auth-main-copy",
6385
6423
  "data-clipboard-text": S.row.appSecret,
6386
6424
  onClick: t[0] || (t[0] = (...U) => e.handleCopy && e.handleCopy(...U))
6387
- }, null, 8, ga)
6425
+ }, null, 8, ba)
6388
6426
  ]),
6389
6427
  _: 1
6390
6428
  }),
@@ -6476,7 +6514,7 @@ function ya(e, t, r, l, u, y) {
6476
6514
  }, null, 8, ["onReload"])
6477
6515
  ]);
6478
6516
  }
6479
- const Ps = /* @__PURE__ */ z(ha, [["render", ya], ["__scopeId", "data-v-0b2b31ff"]]), ba = Y({
6517
+ const Is = /* @__PURE__ */ z(ga, [["render", _a], ["__scopeId", "data-v-54f7d88f"]]), wa = Y({
6480
6518
  components: {
6481
6519
  ObjectPage: Vt,
6482
6520
  pageDataInfo: Nt,
@@ -6546,7 +6584,7 @@ const Ps = /* @__PURE__ */ z(ha, [["render", ya], ["__scopeId", "data-v-0b2b31ff
6546
6584
  methods: {
6547
6585
  // 获取列表
6548
6586
  init() {
6549
- this.loading = !0, dr(this.appId).then((e) => {
6587
+ this.loading = !0, pr(this.appId).then((e) => {
6550
6588
  this.detail = e, this.detail.enableText = this.detail.enable == 0 ? "启用" : "禁用", Object.keys(this.detail).forEach((t) => {
6551
6589
  t.includes("Time") && (this.detail[t] = O(this.detail[t]).format(
6552
6590
  "yyyy-MM-DD HH:mm:ss"
@@ -6559,9 +6597,9 @@ const Ps = /* @__PURE__ */ z(ha, [["render", ya], ["__scopeId", "data-v-0b2b31ff
6559
6597
  }
6560
6598
  }
6561
6599
  });
6562
- function _a(e, t, r, l, u, y) {
6600
+ function Ca(e, t, r, l, u, y) {
6563
6601
  const s = a("pageDataInfo"), i = a("verify"), d = a("ObjectPage"), p = M("loading");
6564
- return E((m(), _(d, { class: "userApply_detail_wrapper" }, {
6602
+ return E((m(), w(d, { class: "userApply_detail_wrapper" }, {
6565
6603
  header: n(() => [
6566
6604
  o(s, {
6567
6605
  title: e.detail.appName,
@@ -6587,7 +6625,7 @@ function _a(e, t, r, l, u, y) {
6587
6625
  [p, e.loading]
6588
6626
  ]);
6589
6627
  }
6590
- const Ns = /* @__PURE__ */ z(ba, [["render", _a], ["__scopeId", "data-v-9bf37e79"]]);
6628
+ const Vs = /* @__PURE__ */ z(wa, [["render", Ca], ["__scopeId", "data-v-9bf37e79"]]);
6591
6629
  function Ht(e) {
6592
6630
  return e instanceof Map ? e.clear = e.delete = e.set = function() {
6593
6631
  throw new Error("map is read-only");
@@ -6622,7 +6660,7 @@ function ve(e, ...t) {
6622
6660
  }), /** @type {T} */
6623
6661
  r;
6624
6662
  }
6625
- const wa = "</span>", $t = (e) => !!e.scope, Ca = (e, { prefix: t }) => {
6663
+ const ka = "</span>", $t = (e) => !!e.scope, va = (e, { prefix: t }) => {
6626
6664
  if (e.startsWith("language:"))
6627
6665
  return e.replace("language:", "language-");
6628
6666
  if (e.includes(".")) {
@@ -6634,7 +6672,7 @@ const wa = "</span>", $t = (e) => !!e.scope, Ca = (e, { prefix: t }) => {
6634
6672
  }
6635
6673
  return `${t}${e}`;
6636
6674
  };
6637
- class ka {
6675
+ class Da {
6638
6676
  /**
6639
6677
  * Creates a new HTMLRenderer
6640
6678
  *
@@ -6657,7 +6695,7 @@ class ka {
6657
6695
  * @param {Node} node */
6658
6696
  openNode(t) {
6659
6697
  if (!$t(t)) return;
6660
- const r = Ca(
6698
+ const r = va(
6661
6699
  t.scope,
6662
6700
  { prefix: this.classPrefix }
6663
6701
  );
@@ -6668,7 +6706,7 @@ class ka {
6668
6706
  *
6669
6707
  * @param {Node} node */
6670
6708
  closeNode(t) {
6671
- $t(t) && (this.buffer += wa);
6709
+ $t(t) && (this.buffer += ka);
6672
6710
  }
6673
6711
  /**
6674
6712
  * returns the accumulated buffer
@@ -6741,7 +6779,7 @@ class ht {
6741
6779
  }));
6742
6780
  }
6743
6781
  }
6744
- class va extends ht {
6782
+ class $a extends ht {
6745
6783
  /**
6746
6784
  * @param {*} options
6747
6785
  */
@@ -6770,7 +6808,7 @@ class va extends ht {
6770
6808
  r && (l.scope = `language:${r}`), this.add(l);
6771
6809
  }
6772
6810
  toHTML() {
6773
- return new ka(this, this.options).value();
6811
+ return new Da(this, this.options).value();
6774
6812
  }
6775
6813
  finalize() {
6776
6814
  return this.closeAllNodes(), !0;
@@ -6782,30 +6820,30 @@ function Ve(e) {
6782
6820
  function Gt(e) {
6783
6821
  return Te("(?=", e, ")");
6784
6822
  }
6785
- function Da(e) {
6823
+ function Ta(e) {
6786
6824
  return Te("(?:", e, ")*");
6787
6825
  }
6788
- function $a(e) {
6826
+ function Sa(e) {
6789
6827
  return Te("(?:", e, ")?");
6790
6828
  }
6791
6829
  function Te(...e) {
6792
6830
  return e.map((r) => Ve(r)).join("");
6793
6831
  }
6794
- function Ta(e) {
6832
+ function Fa(e) {
6795
6833
  const t = e[e.length - 1];
6796
6834
  return typeof t == "object" && t.constructor === Object ? (e.splice(e.length - 1, 1), t) : {};
6797
6835
  }
6798
6836
  function Ke(...e) {
6799
- return "(" + (Ta(e).capture ? "" : "?:") + e.map((l) => Ve(l)).join("|") + ")";
6837
+ return "(" + (Fa(e).capture ? "" : "?:") + e.map((l) => Ve(l)).join("|") + ")";
6800
6838
  }
6801
6839
  function Jt(e) {
6802
6840
  return new RegExp(e.toString() + "|").exec("").length - 1;
6803
6841
  }
6804
- function Sa(e, t) {
6842
+ function La(e, t) {
6805
6843
  const r = e && e.exec(t);
6806
6844
  return r && r.index === 0;
6807
6845
  }
6808
- const Fa = new RegExp(Ke(
6846
+ const Ea = new RegExp(Ke(
6809
6847
  /\[(?:[^\\\]]|\\.)*\]/,
6810
6848
  // a character class, inside which ( and \ lose their meaning
6811
6849
  /\(\?<(?![=!])[^>]+>/,
@@ -6826,7 +6864,7 @@ function ft(e, { joinWith: t }) {
6826
6864
  const u = r;
6827
6865
  let y = Ve(l), s = "";
6828
6866
  for (; y.length > 0; ) {
6829
- const i = Fa.exec(y);
6867
+ const i = Ea.exec(y);
6830
6868
  if (!i) {
6831
6869
  s += y;
6832
6870
  break;
@@ -6836,7 +6874,7 @@ function ft(e, { joinWith: t }) {
6836
6874
  return s;
6837
6875
  }).map((l) => `(${l})`).join(t);
6838
6876
  }
6839
- const La = /\b\B/, Wt = "[a-zA-Z]\\w*", gt = "[a-zA-Z_]\\w*", Zt = "\\b\\d+(\\.\\d+)?", Xt = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", xt = "\\b(0b[01]+)", Ea = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", Ra = (e = {}) => {
6877
+ const Ra = /\b\B/, Wt = "[a-zA-Z]\\w*", gt = "[a-zA-Z_]\\w*", Zt = "\\b\\d+(\\.\\d+)?", Xt = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", xt = "\\b(0b[01]+)", Pa = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", Na = (e = {}) => {
6840
6878
  const t = /^#![ ]*\//;
6841
6879
  return e.binary && (e.begin = Te(
6842
6880
  t,
@@ -6856,19 +6894,19 @@ const La = /\b\B/, Wt = "[a-zA-Z]\\w*", gt = "[a-zA-Z_]\\w*", Zt = "\\b\\d+(\\.\
6856
6894
  }, qe = {
6857
6895
  begin: "\\\\[\\s\\S]",
6858
6896
  relevance: 0
6859
- }, Pa = {
6897
+ }, Ia = {
6860
6898
  scope: "string",
6861
6899
  begin: "'",
6862
6900
  end: "'",
6863
6901
  illegal: "\\n",
6864
6902
  contains: [qe]
6865
- }, Na = {
6903
+ }, Va = {
6866
6904
  scope: "string",
6867
6905
  begin: '"',
6868
6906
  end: '"',
6869
6907
  illegal: "\\n",
6870
6908
  contains: [qe]
6871
- }, Ia = {
6909
+ }, qa = {
6872
6910
  begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
6873
6911
  }, He = function(e, t, r = {}) {
6874
6912
  const l = ve(
@@ -6936,19 +6974,19 @@ const La = /\b\B/, Wt = "[a-zA-Z]\\w*", gt = "[a-zA-Z_]\\w*", Zt = "\\b\\d+(\\.\
6936
6974
  // look for 3 words in a row
6937
6975
  }
6938
6976
  ), l;
6939
- }, Va = He("//", "$"), qa = He("/\\*", "\\*/"), Oa = He("#", "$"), Aa = {
6977
+ }, Oa = He("//", "$"), Aa = He("/\\*", "\\*/"), Ma = He("#", "$"), Ua = {
6940
6978
  scope: "number",
6941
6979
  begin: Zt,
6942
6980
  relevance: 0
6943
- }, Ma = {
6981
+ }, za = {
6944
6982
  scope: "number",
6945
6983
  begin: Xt,
6946
6984
  relevance: 0
6947
- }, Ua = {
6985
+ }, Ya = {
6948
6986
  scope: "number",
6949
6987
  begin: xt,
6950
6988
  relevance: 0
6951
- }, za = {
6989
+ }, ja = {
6952
6990
  scope: "regexp",
6953
6991
  begin: /\/(?=[^/\n]*\/)/,
6954
6992
  end: /\/[gimuy]*/,
@@ -6961,19 +6999,19 @@ const La = /\b\B/, Wt = "[a-zA-Z]\\w*", gt = "[a-zA-Z_]\\w*", Zt = "\\b\\d+(\\.\
6961
6999
  contains: [qe]
6962
7000
  }
6963
7001
  ]
6964
- }, Ya = {
7002
+ }, Ba = {
6965
7003
  scope: "title",
6966
7004
  begin: Wt,
6967
7005
  relevance: 0
6968
- }, ja = {
7006
+ }, Ka = {
6969
7007
  scope: "title",
6970
7008
  begin: gt,
6971
7009
  relevance: 0
6972
- }, Ba = {
7010
+ }, Ha = {
6973
7011
  // excludes method names from keyword processing
6974
7012
  begin: "\\.\\s*" + gt,
6975
7013
  relevance: 0
6976
- }, Ka = function(e) {
7014
+ }, Qa = function(e) {
6977
7015
  return Object.assign(
6978
7016
  e,
6979
7017
  {
@@ -6990,53 +7028,53 @@ const La = /\b\B/, Wt = "[a-zA-Z]\\w*", gt = "[a-zA-Z_]\\w*", Zt = "\\b\\d+(\\.\
6990
7028
  };
6991
7029
  var Ye = /* @__PURE__ */ Object.freeze({
6992
7030
  __proto__: null,
6993
- APOS_STRING_MODE: Pa,
7031
+ APOS_STRING_MODE: Ia,
6994
7032
  BACKSLASH_ESCAPE: qe,
6995
- BINARY_NUMBER_MODE: Ua,
7033
+ BINARY_NUMBER_MODE: Ya,
6996
7034
  BINARY_NUMBER_RE: xt,
6997
7035
  COMMENT: He,
6998
- C_BLOCK_COMMENT_MODE: qa,
6999
- C_LINE_COMMENT_MODE: Va,
7000
- C_NUMBER_MODE: Ma,
7036
+ C_BLOCK_COMMENT_MODE: Aa,
7037
+ C_LINE_COMMENT_MODE: Oa,
7038
+ C_NUMBER_MODE: za,
7001
7039
  C_NUMBER_RE: Xt,
7002
- END_SAME_AS_BEGIN: Ka,
7003
- HASH_COMMENT_MODE: Oa,
7040
+ END_SAME_AS_BEGIN: Qa,
7041
+ HASH_COMMENT_MODE: Ma,
7004
7042
  IDENT_RE: Wt,
7005
- MATCH_NOTHING_RE: La,
7006
- METHOD_GUARD: Ba,
7007
- NUMBER_MODE: Aa,
7043
+ MATCH_NOTHING_RE: Ra,
7044
+ METHOD_GUARD: Ha,
7045
+ NUMBER_MODE: Ua,
7008
7046
  NUMBER_RE: Zt,
7009
- PHRASAL_WORDS_MODE: Ia,
7010
- QUOTE_STRING_MODE: Na,
7011
- REGEXP_MODE: za,
7012
- RE_STARTERS_RE: Ea,
7013
- SHEBANG: Ra,
7014
- TITLE_MODE: Ya,
7047
+ PHRASAL_WORDS_MODE: qa,
7048
+ QUOTE_STRING_MODE: Va,
7049
+ REGEXP_MODE: ja,
7050
+ RE_STARTERS_RE: Pa,
7051
+ SHEBANG: Na,
7052
+ TITLE_MODE: Ba,
7015
7053
  UNDERSCORE_IDENT_RE: gt,
7016
- UNDERSCORE_TITLE_MODE: ja
7054
+ UNDERSCORE_TITLE_MODE: Ka
7017
7055
  });
7018
- function Ha(e, t) {
7056
+ function Ga(e, t) {
7019
7057
  e.input[e.index - 1] === "." && t.ignoreMatch();
7020
7058
  }
7021
- function Qa(e, t) {
7059
+ function Ja(e, t) {
7022
7060
  e.className !== void 0 && (e.scope = e.className, delete e.className);
7023
7061
  }
7024
- function Ga(e, t) {
7025
- t && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = Ha, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
7062
+ function Wa(e, t) {
7063
+ t && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = Ga, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0));
7026
7064
  }
7027
- function Ja(e, t) {
7065
+ function Za(e, t) {
7028
7066
  Array.isArray(e.illegal) && (e.illegal = Ke(...e.illegal));
7029
7067
  }
7030
- function Wa(e, t) {
7068
+ function Xa(e, t) {
7031
7069
  if (e.match) {
7032
7070
  if (e.begin || e.end) throw new Error("begin & end are not supported with match");
7033
7071
  e.begin = e.match, delete e.match;
7034
7072
  }
7035
7073
  }
7036
- function Za(e, t) {
7074
+ function xa(e, t) {
7037
7075
  e.relevance === void 0 && (e.relevance = 1);
7038
7076
  }
7039
- const Xa = (e, t) => {
7077
+ const el = (e, t) => {
7040
7078
  if (!e.beforeMatch) return;
7041
7079
  if (e.starts) throw new Error("beforeMatch cannot be used with starts");
7042
7080
  const r = Object.assign({}, e);
@@ -7048,7 +7086,7 @@ const Xa = (e, t) => {
7048
7086
  Object.assign(r, { endsParent: !0 })
7049
7087
  ]
7050
7088
  }, e.relevance = 0, delete r.beforeMatch;
7051
- }, xa = [
7089
+ }, tl = [
7052
7090
  "of",
7053
7091
  "and",
7054
7092
  "for",
@@ -7063,8 +7101,8 @@ const Xa = (e, t) => {
7063
7101
  // common variable name
7064
7102
  "value"
7065
7103
  // common variable name
7066
- ], el = "keyword";
7067
- function eo(e, t, r = el) {
7104
+ ], ol = "keyword";
7105
+ function eo(e, t, r = ol) {
7068
7106
  const l = /* @__PURE__ */ Object.create(null);
7069
7107
  return typeof e == "string" ? u(r, e.split(" ")) : Array.isArray(e) ? u(r, e) : Object.keys(e).forEach(function(y) {
7070
7108
  Object.assign(
@@ -7075,15 +7113,15 @@ function eo(e, t, r = el) {
7075
7113
  function u(y, s) {
7076
7114
  t && (s = s.map((i) => i.toLowerCase())), s.forEach(function(i) {
7077
7115
  const d = i.split("|");
7078
- l[d[0]] = [y, tl(d[0], d[1])];
7116
+ l[d[0]] = [y, nl(d[0], d[1])];
7079
7117
  });
7080
7118
  }
7081
7119
  }
7082
- function tl(e, t) {
7083
- return t ? Number(t) : ol(e) ? 0 : 1;
7120
+ function nl(e, t) {
7121
+ return t ? Number(t) : rl(e) ? 0 : 1;
7084
7122
  }
7085
- function ol(e) {
7086
- return xa.includes(e.toLowerCase());
7123
+ function rl(e) {
7124
+ return tl.includes(e.toLowerCase());
7087
7125
  }
7088
7126
  const St = {}, $e = (e) => {
7089
7127
  console.error(e);
@@ -7099,7 +7137,7 @@ function to(e, t, { key: r }) {
7099
7137
  s[i + l] = u[i], y[i + l] = !0, l += Jt(t[i - 1]);
7100
7138
  e[r] = s, e[r]._emit = y, e[r]._multi = !0;
7101
7139
  }
7102
- function nl(e) {
7140
+ function al(e) {
7103
7141
  if (Array.isArray(e.begin)) {
7104
7142
  if (e.skip || e.excludeBegin || e.returnBegin)
7105
7143
  throw $e("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), Be;
@@ -7108,7 +7146,7 @@ function nl(e) {
7108
7146
  to(e, e.begin, { key: "beginScope" }), e.begin = ft(e.begin, { joinWith: "" });
7109
7147
  }
7110
7148
  }
7111
- function rl(e) {
7149
+ function ll(e) {
7112
7150
  if (Array.isArray(e.end)) {
7113
7151
  if (e.skip || e.excludeEnd || e.returnEnd)
7114
7152
  throw $e("skip, excludeEnd, returnEnd not compatible with endScope: {}"), Be;
@@ -7117,13 +7155,13 @@ function rl(e) {
7117
7155
  to(e, e.end, { key: "endScope" }), e.end = ft(e.end, { joinWith: "" });
7118
7156
  }
7119
7157
  }
7120
- function al(e) {
7158
+ function il(e) {
7121
7159
  e.scope && typeof e.scope == "object" && e.scope !== null && (e.beginScope = e.scope, delete e.scope);
7122
7160
  }
7123
- function ll(e) {
7124
- al(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), nl(e), rl(e);
7161
+ function sl(e) {
7162
+ il(e), typeof e.beginScope == "string" && (e.beginScope = { _wrap: e.beginScope }), typeof e.endScope == "string" && (e.endScope = { _wrap: e.endScope }), al(e), ll(e);
7125
7163
  }
7126
- function il(e) {
7164
+ function dl(e) {
7127
7165
  function t(s, i) {
7128
7166
  return new RegExp(
7129
7167
  Ve(s),
@@ -7196,26 +7234,26 @@ function il(e) {
7196
7234
  );
7197
7235
  if (s.isCompiled) return d;
7198
7236
  [
7199
- Qa,
7237
+ Ja,
7200
7238
  // do this early so compiler extensions generally don't have to worry about
7201
7239
  // the distinction between match/begin
7202
- Wa,
7203
- ll,
7204
- Xa
7240
+ Xa,
7241
+ sl,
7242
+ el
7205
7243
  ].forEach((b) => b(s, i)), e.compilerExtensions.forEach((b) => b(s, i)), s.__beforeBegin = null, [
7206
- Ga,
7244
+ Wa,
7207
7245
  // do this later so compiler extensions that come earlier have access to the
7208
7246
  // raw array if they wanted to perhaps manipulate it, etc.
7209
- Ja,
7247
+ Za,
7210
7248
  // default to 1 relevance if not specified
7211
- Za
7249
+ xa
7212
7250
  ].forEach((b) => b(s, i)), s.isCompiled = !0;
7213
7251
  let p = null;
7214
7252
  return typeof s.keywords == "object" && s.keywords.$pattern && (s.keywords = Object.assign({}, s.keywords), p = s.keywords.$pattern, delete s.keywords.$pattern), p = p || /\w+/, s.keywords && (s.keywords = eo(s.keywords, e.case_insensitive)), d.keywordPatternRe = t(p, !0), i && (s.begin || (s.begin = /\B|\b/), d.beginRe = t(d.begin), !s.end && !s.endsWithParent && (s.end = /\B|\b/), s.end && (d.endRe = t(d.end)), d.terminatorEnd = Ve(d.end) || "", s.endsWithParent && i.terminatorEnd && (d.terminatorEnd += (s.end ? "|" : "") + i.terminatorEnd)), s.illegal && (d.illegalRe = t(
7215
7253
  /** @type {RegExp | string} */
7216
7254
  s.illegal
7217
7255
  )), s.contains || (s.contains = []), s.contains = [].concat(...s.contains.map(function(b) {
7218
- return sl(b === "self" ? s : b);
7256
+ return ul(b === "self" ? s : b);
7219
7257
  })), s.contains.forEach(function(b) {
7220
7258
  y(
7221
7259
  /** @type Mode */
@@ -7234,18 +7272,18 @@ function il(e) {
7234
7272
  function oo(e) {
7235
7273
  return e ? e.endsWithParent || oo(e.starts) : !1;
7236
7274
  }
7237
- function sl(e) {
7275
+ function ul(e) {
7238
7276
  return e.variants && !e.cachedVariants && (e.cachedVariants = e.variants.map(function(t) {
7239
7277
  return ve(e, { variants: null }, t);
7240
7278
  })), e.cachedVariants ? e.cachedVariants : oo(e) ? ve(e, { starts: e.starts ? ve(e.starts) : null }) : Object.isFrozen(e) ? ve(e) : e;
7241
7279
  }
7242
- var dl = "11.12.0";
7243
- class ul extends Error {
7280
+ var pl = "11.12.0";
7281
+ class ml extends Error {
7244
7282
  constructor(t, r) {
7245
7283
  super(t), this.name = "HTMLInjectionError", this.html = r;
7246
7284
  }
7247
7285
  }
7248
- const xe = Qt, Lt = ve, Et = Symbol("nomatch"), pl = 7, no = function(e) {
7286
+ const xe = Qt, Lt = ve, Et = Symbol("nomatch"), cl = 7, no = function(e) {
7249
7287
  const t = /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null), l = [];
7250
7288
  let u = !0;
7251
7289
  const y = "Could not find the language '{}', did you forget to load/include a language module?", s = { disableAutodetect: !0, name: "Plain text", contains: [] };
@@ -7259,7 +7297,7 @@ const xe = Qt, Lt = ve, Et = Symbol("nomatch"), pl = 7, no = function(e) {
7259
7297
  languages: null,
7260
7298
  // beta configuration options, subject to change, welcome to discuss
7261
7299
  // https://github.com/highlightjs/highlight.js/issues/1086
7262
- __emitter: va
7300
+ __emitter: $a
7263
7301
  };
7264
7302
  function d(F) {
7265
7303
  return i.noHighlightRe.test(F);
@@ -7301,14 +7339,14 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7301
7339
  let A = j.keywordPatternRe.exec(X), K = "";
7302
7340
  for (; A; ) {
7303
7341
  K += X.substring(N, A.index);
7304
- const J = be.case_insensitive ? A[0].toLowerCase() : A[0], le = fe(j, J);
7342
+ const J = _e.case_insensitive ? A[0].toLowerCase() : A[0], le = fe(j, J);
7305
7343
  if (le) {
7306
7344
  const [Ce, po] = le;
7307
- if (ae.addText(K), K = "", ne[J] = (ne[J] || 0) + 1, ne[J] <= pl && (ze += po), Ce.startsWith("_"))
7345
+ if (ae.addText(K), K = "", ne[J] = (ne[J] || 0) + 1, ne[J] <= cl && (ze += po), Ce.startsWith("_"))
7308
7346
  K += A[0];
7309
7347
  else {
7310
- const mo = be.classNameAliases[Ce] || Ce;
7311
- ye(A[0], mo);
7348
+ const mo = _e.classNameAliases[Ce] || Ce;
7349
+ be(A[0], mo);
7312
7350
  }
7313
7351
  } else
7314
7352
  K += A[0];
@@ -7333,7 +7371,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7333
7371
  function me() {
7334
7372
  j.subLanguage != null ? Me() : ke(), X = "";
7335
7373
  }
7336
- function ye(N, A) {
7374
+ function be(N, A) {
7337
7375
  N !== "" && (ae.startScope(A), ae.addText(N), ae.endScope());
7338
7376
  }
7339
7377
  function bt(N, A) {
@@ -7344,15 +7382,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7344
7382
  K++;
7345
7383
  continue;
7346
7384
  }
7347
- const le = be.classNameAliases[N[K]] || N[K], Ce = A[K];
7348
- le ? ye(Ce, le) : (X = Ce, ke(), X = ""), K++;
7385
+ const le = _e.classNameAliases[N[K]] || N[K], Ce = A[K];
7386
+ le ? be(Ce, le) : (X = Ce, ke(), X = ""), K++;
7349
7387
  }
7350
7388
  }
7351
7389
  function _t(N, A) {
7352
- return N.scope && typeof N.scope == "string" && ae.openNode(be.classNameAliases[N.scope] || N.scope), N.beginScope && (N.beginScope._wrap ? (ye(X, be.classNameAliases[N.beginScope._wrap] || N.beginScope._wrap), X = "") : N.beginScope._multi && (bt(N.beginScope, A), X = "")), j = Object.create(N, { parent: { value: j } }), j;
7390
+ return N.scope && typeof N.scope == "string" && ae.openNode(_e.classNameAliases[N.scope] || N.scope), N.beginScope && (N.beginScope._wrap ? (be(X, _e.classNameAliases[N.beginScope._wrap] || N.beginScope._wrap), X = "") : N.beginScope._multi && (bt(N.beginScope, A), X = "")), j = Object.create(N, { parent: { value: j } }), j;
7353
7391
  }
7354
7392
  function wt(N, A, K) {
7355
- let J = Sa(N.endRe, K);
7393
+ let J = La(N.endRe, K);
7356
7394
  if (J) {
7357
7395
  if (N["on:end"]) {
7358
7396
  const le = new Dt(N);
@@ -7382,7 +7420,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7382
7420
  if (!J)
7383
7421
  return Et;
7384
7422
  const le = j;
7385
- j.endScope && j.endScope._wrap ? (me(), ye(A, j.endScope._wrap)) : j.endScope && j.endScope._multi ? (me(), bt(j.endScope, N)) : le.skip ? X += A : (le.returnEnd || le.excludeEnd || (X += A), me(), le.excludeEnd && (X = A));
7423
+ j.endScope && j.endScope._wrap ? (me(), be(A, j.endScope._wrap)) : j.endScope && j.endScope._multi ? (me(), bt(j.endScope, N)) : le.skip ? X += A : (le.returnEnd || le.excludeEnd || (X += A), me(), le.excludeEnd && (X = A));
7386
7424
  do
7387
7425
  j.scope && ae.closeNode(), !j.skip && !j.subLanguage && (ze += j.relevance), j = j.parent;
7388
7426
  while (j !== J.parent);
@@ -7390,7 +7428,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7390
7428
  }
7391
7429
  function so() {
7392
7430
  const N = [];
7393
- for (let A = j; A !== be; A = A.parent)
7431
+ for (let A = j; A !== _e; A = A.parent)
7394
7432
  A.scope && N.unshift(A.scope);
7395
7433
  N.forEach((A) => ae.openNode(A));
7396
7434
  }
@@ -7423,17 +7461,17 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7423
7461
  throw new Error("potential infinite loop, way more iterations than matches");
7424
7462
  return X += K, K.length;
7425
7463
  }
7426
- const be = re(F);
7427
- if (!be)
7464
+ const _e = re(F);
7465
+ if (!_e)
7428
7466
  throw $e(y.replace("{}", F)), new Error('Unknown language: "' + F + '"');
7429
- const uo = il(be);
7467
+ const uo = dl(_e);
7430
7468
  let Je = "", j = Z || uo;
7431
7469
  const kt = {}, ae = new i.__emitter(i);
7432
7470
  so();
7433
7471
  let X = "", ze = 0, De = 0, We = 0, Ze = !1;
7434
7472
  try {
7435
- if (be.__emitTokens)
7436
- be.__emitTokens($, ae);
7473
+ if (_e.__emitTokens)
7474
+ _e.__emitTokens($, ae);
7437
7475
  else {
7438
7476
  for (j.matcher.considerAll(); ; ) {
7439
7477
  We++, Ze ? Ze = !1 : j.matcher.considerAll(), j.matcher.lastIndex = De;
@@ -7497,12 +7535,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7497
7535
  (me) => f(me, F, !1)
7498
7536
  );
7499
7537
  Z.unshift(B);
7500
- const ne = Z.sort((me, ye) => {
7501
- if (me.relevance !== ye.relevance) return ye.relevance - me.relevance;
7502
- if (me.language && ye.language) {
7503
- if (re(me.language).supersetOf === ye.language)
7538
+ const ne = Z.sort((me, be) => {
7539
+ if (me.relevance !== be.relevance) return be.relevance - me.relevance;
7540
+ if (me.language && be.language) {
7541
+ if (re(me.language).supersetOf === be.language)
7504
7542
  return 1;
7505
- if (re(ye.language).supersetOf === me.language)
7543
+ if (re(be.language).supersetOf === me.language)
7506
7544
  return -1;
7507
7545
  }
7508
7546
  return 0;
@@ -7525,7 +7563,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7525
7563
  return;
7526
7564
  }
7527
7565
  if (F.children.length > 0 && (i.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(F)), i.throwUnescapedHTML))
7528
- throw new ul(
7566
+ throw new ml(
7529
7567
  "One of your code blocks includes unescaped HTML.",
7530
7568
  F.innerHTML
7531
7569
  );
@@ -7547,16 +7585,16 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7547
7585
  const U = () => {
7548
7586
  D(), Fe("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
7549
7587
  };
7550
- function I() {
7588
+ function V() {
7551
7589
  D(), Fe("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
7552
7590
  }
7553
- let w = !1;
7591
+ let _ = !1;
7554
7592
  function D() {
7555
7593
  function F() {
7556
7594
  D();
7557
7595
  }
7558
7596
  if (document.readyState === "loading") {
7559
- w || window.addEventListener("DOMContentLoaded", F, !1), w = !0;
7597
+ _ || window.addEventListener("DOMContentLoaded", F, !1), _ = !0;
7560
7598
  return;
7561
7599
  }
7562
7600
  document.querySelectorAll(i.cssSelector).forEach(v);
@@ -7630,7 +7668,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7630
7668
  highlightBlock: Ae,
7631
7669
  configure: S,
7632
7670
  initHighlighting: U,
7633
- initHighlightingOnLoad: I,
7671
+ initHighlightingOnLoad: V,
7634
7672
  registerLanguage: h,
7635
7673
  unregisterLanguage: H,
7636
7674
  listLanguages: ce,
@@ -7644,27 +7682,27 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ne = F, Z = $), B ===
7644
7682
  u = !1;
7645
7683
  }, e.safeMode = function() {
7646
7684
  u = !0;
7647
- }, e.versionString = dl, e.regex = {
7685
+ }, e.versionString = pl, e.regex = {
7648
7686
  concat: Te,
7649
7687
  lookahead: Gt,
7650
7688
  either: Ke,
7651
- optional: $a,
7652
- anyNumberOfTimes: Da
7689
+ optional: Sa,
7690
+ anyNumberOfTimes: Ta
7653
7691
  };
7654
7692
  for (const F in Ye)
7655
7693
  typeof Ye[F] == "object" && Ht(Ye[F]);
7656
7694
  return Object.assign(e, Ye), e;
7657
7695
  }, Ee = no({});
7658
7696
  Ee.newInstance = () => no({});
7659
- var ml = Ee;
7697
+ var hl = Ee;
7660
7698
  Ee.HighlightJS = Ee;
7661
7699
  Ee.default = Ee;
7662
- const ro = /* @__PURE__ */ Ut(ml), cl = "([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity", hl = {
7700
+ const ro = /* @__PURE__ */ Ut(hl), fl = "([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity", gl = {
7663
7701
  scope: "number",
7664
- match: cl,
7702
+ match: fl,
7665
7703
  relevance: 0
7666
7704
  };
7667
- function fl(e) {
7705
+ function yl(e) {
7668
7706
  const t = {
7669
7707
  className: "attr",
7670
7708
  begin: /(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,
@@ -7693,14 +7731,14 @@ function fl(e) {
7693
7731
  e.APOS_STRING_MODE,
7694
7732
  e.QUOTE_STRING_MODE,
7695
7733
  u,
7696
- hl,
7734
+ gl,
7697
7735
  e.C_LINE_COMMENT_MODE,
7698
7736
  e.C_BLOCK_COMMENT_MODE
7699
7737
  ],
7700
7738
  illegal: "\\S"
7701
7739
  };
7702
7740
  }
7703
- function gl(e) {
7741
+ function bl(e) {
7704
7742
  if (e == null || e === "")
7705
7743
  return "";
7706
7744
  let t = e;
@@ -7722,8 +7760,8 @@ function gl(e) {
7722
7760
  }
7723
7761
  return String(t);
7724
7762
  }
7725
- ro.registerLanguage("json", fl);
7726
- const yl = Y({
7763
+ ro.registerLanguage("json", yl);
7764
+ const _l = Y({
7727
7765
  name: "JsonPreview",
7728
7766
  props: {
7729
7767
  value: {
@@ -7733,7 +7771,7 @@ const yl = Y({
7733
7771
  },
7734
7772
  computed: {
7735
7773
  formatted() {
7736
- return gl(this.value);
7774
+ return bl(this.value);
7737
7775
  },
7738
7776
  html() {
7739
7777
  const e = this.formatted;
@@ -7746,16 +7784,16 @@ const yl = Y({
7746
7784
  }
7747
7785
  }
7748
7786
  }
7749
- }), bl = { class: "json-preview" }, _l = ["innerHTML"];
7750
- function wl(e, t, r, l, u, y) {
7751
- return m(), V("pre", bl, [
7787
+ }), wl = { class: "json-preview" }, Cl = ["innerHTML"];
7788
+ function kl(e, t, r, l, u, y) {
7789
+ return m(), I("pre", wl, [
7752
7790
  T("code", {
7753
7791
  class: "hljs language-json",
7754
7792
  innerHTML: e.html
7755
- }, null, 8, _l)
7793
+ }, null, 8, Cl)
7756
7794
  ]);
7757
7795
  }
7758
- const yt = /* @__PURE__ */ z(yl, [["render", wl], ["__scopeId", "data-v-29e89009"]]), Cl = Y({
7796
+ const yt = /* @__PURE__ */ z(_l, [["render", kl], ["__scopeId", "data-v-29e89009"]]), vl = Y({
7759
7797
  components: { xdmpDrawer: ee, JsonPreview: yt },
7760
7798
  data() {
7761
7799
  return {
@@ -7793,9 +7831,9 @@ const yt = /* @__PURE__ */ z(yl, [["render", wl], ["__scopeId", "data-v-29e89009
7793
7831
  }
7794
7832
  }
7795
7833
  });
7796
- function kl(e, t, r, l, u, y) {
7834
+ function Dl(e, t, r, l, u, y) {
7797
7835
  const s = a("el-input"), i = a("el-form-item"), d = a("JsonPreview"), p = a("el-form"), b = a("xdmpDrawer"), f = M("emoji");
7798
- return m(), V("div", null, [
7836
+ return m(), I("div", null, [
7799
7837
  o(b, {
7800
7838
  ref: "xdmpDrawer",
7801
7839
  title: e.title,
@@ -7921,11 +7959,11 @@ function kl(e, t, r, l, u, y) {
7921
7959
  }, 8, ["title", "size", "onCancel"])
7922
7960
  ]);
7923
7961
  }
7924
- const vl = /* @__PURE__ */ z(Cl, [["render", kl], ["__scopeId", "data-v-2ee28ed4"]]), Dl = Y({
7962
+ const $l = /* @__PURE__ */ z(vl, [["render", Dl], ["__scopeId", "data-v-2ee28ed4"]]), Tl = Y({
7925
7963
  components: {
7926
7964
  ListReport: oe,
7927
7965
  pageDesc: te,
7928
- logDetail: vl
7966
+ logDetail: $l
7929
7967
  },
7930
7968
  data() {
7931
7969
  return {
@@ -8005,12 +8043,12 @@ const vl = /* @__PURE__ */ z(Cl, [["render", kl], ["__scopeId", "data-v-2ee28ed4
8005
8043
  return e === "1" ? "成功" : "失败";
8006
8044
  }
8007
8045
  }
8008
- }), $l = { class: "operateLog_wrapper" };
8009
- function Tl(e, t, r, l, u, y) {
8010
- const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-option"), b = a("el-select"), f = a("el-date-picker"), g = a("el-button"), C = a("el-form"), k = a("el-table-column"), v = a("el-table"), S = a("el-pagination"), U = a("ListReport"), I = a("logDetail"), w = M("emoji"), D = M("loading");
8011
- return m(), V("div", $l, [
8012
- o(s, { desc: "记录用户在平台上的所有操作行为,包含操作时间、操作者、操作内容、业务模块、操作状态等信息,支持查询和导出。" }),
8013
- E((m(), _(U, { class: "operateLog_block" }, {
8046
+ }), Sl = { class: "operateLog_wrapper" };
8047
+ function Fl(e, t, r, l, u, y) {
8048
+ const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-option"), b = a("el-select"), f = a("el-date-picker"), g = a("el-button"), C = a("el-form"), k = a("el-table-column"), v = a("el-table"), S = a("el-pagination"), U = a("ListReport"), V = a("logDetail"), _ = M("emoji"), D = M("loading");
8049
+ return m(), I("div", Sl, [
8050
+ o(s),
8051
+ E((m(), w(U, { class: "operateLog_block" }, {
8014
8052
  filter: n(() => [
8015
8053
  o(C, {
8016
8054
  ref: "searchForm",
@@ -8032,7 +8070,7 @@ function Tl(e, t, r, l, u, y) {
8032
8070
  placeholder: "操作、操作者、业务类型",
8033
8071
  clearable: ""
8034
8072
  }, null, 8, ["modelValue"]), [
8035
- [w]
8073
+ [_]
8036
8074
  ])
8037
8075
  ]),
8038
8076
  _: 1
@@ -8049,7 +8087,7 @@ function Tl(e, t, r, l, u, y) {
8049
8087
  clearable: ""
8050
8088
  }, {
8051
8089
  default: n(() => [
8052
- (m(!0), V(ie, null, de(e.logSuccessFlagList, (h) => (m(), _(p, {
8090
+ (m(!0), I(ie, null, de(e.logSuccessFlagList, (h) => (m(), w(p, {
8053
8091
  key: h.value,
8054
8092
  label: h.label,
8055
8093
  value: h.value
@@ -8228,10 +8266,10 @@ function Tl(e, t, r, l, u, y) {
8228
8266
  })), [
8229
8267
  [D, e.loading]
8230
8268
  ]),
8231
- o(I, { ref: "logDetailRef" }, null, 512)
8269
+ o(V, { ref: "logDetailRef" }, null, 512)
8232
8270
  ]);
8233
8271
  }
8234
- const Is = /* @__PURE__ */ z(Dl, [["render", Tl], ["__scopeId", "data-v-ca1380a7"]]), Sl = Y({
8272
+ const qs = /* @__PURE__ */ z(Tl, [["render", Fl], ["__scopeId", "data-v-a1199633"]]), Ll = Y({
8235
8273
  components: { xdmpDrawer: ee, JsonPreview: yt },
8236
8274
  data() {
8237
8275
  return {
@@ -8269,9 +8307,9 @@ const Is = /* @__PURE__ */ z(Dl, [["render", Tl], ["__scopeId", "data-v-ca1380a7
8269
8307
  }
8270
8308
  }
8271
8309
  });
8272
- function Fl(e, t, r, l, u, y) {
8310
+ function El(e, t, r, l, u, y) {
8273
8311
  const s = a("el-input"), i = a("el-form-item"), d = a("JsonPreview"), p = a("el-form"), b = a("xdmpDrawer"), f = M("emoji");
8274
- return m(), V("div", null, [
8312
+ return m(), I("div", null, [
8275
8313
  o(b, {
8276
8314
  ref: "xdmpDrawer",
8277
8315
  title: e.title,
@@ -8397,11 +8435,11 @@ function Fl(e, t, r, l, u, y) {
8397
8435
  }, 8, ["title", "size", "onCancel"])
8398
8436
  ]);
8399
8437
  }
8400
- const Ll = /* @__PURE__ */ z(Sl, [["render", Fl], ["__scopeId", "data-v-f824705f"]]), El = Y({
8438
+ const Rl = /* @__PURE__ */ z(Ll, [["render", El], ["__scopeId", "data-v-f824705f"]]), Pl = Y({
8401
8439
  components: {
8402
8440
  ListReport: oe,
8403
8441
  pageDesc: te,
8404
- logDetail: Ll
8442
+ logDetail: Rl
8405
8443
  },
8406
8444
  data() {
8407
8445
  return {
@@ -8481,12 +8519,12 @@ const Ll = /* @__PURE__ */ z(Sl, [["render", Fl], ["__scopeId", "data-v-f824705f
8481
8519
  return e === "1" ? "成功" : "失败";
8482
8520
  }
8483
8521
  }
8484
- }), Rl = { class: "loginLog_wrapper" };
8485
- function Pl(e, t, r, l, u, y) {
8486
- const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-option"), b = a("el-select"), f = a("el-date-picker"), g = a("el-button"), C = a("el-form"), k = a("el-table-column"), v = a("el-table"), S = a("el-pagination"), U = a("ListReport"), I = a("logDetail"), w = M("emoji"), D = M("loading");
8487
- return m(), V("div", Rl, [
8488
- o(s, { desc: "记录用户登录行为,包含登录时间、登录账号、登录状态、IP地址等信息,支持查询和导出。" }),
8489
- E((m(), _(U, { class: "loginLog_block" }, {
8522
+ }), Nl = { class: "loginLog_wrapper" };
8523
+ function Il(e, t, r, l, u, y) {
8524
+ const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-option"), b = a("el-select"), f = a("el-date-picker"), g = a("el-button"), C = a("el-form"), k = a("el-table-column"), v = a("el-table"), S = a("el-pagination"), U = a("ListReport"), V = a("logDetail"), _ = M("emoji"), D = M("loading");
8525
+ return m(), I("div", Nl, [
8526
+ o(s),
8527
+ E((m(), w(U, { class: "loginLog_block" }, {
8490
8528
  filter: n(() => [
8491
8529
  o(C, {
8492
8530
  ref: "searchForm",
@@ -8508,7 +8546,7 @@ function Pl(e, t, r, l, u, y) {
8508
8546
  placeholder: "操作、操作者、业务类型",
8509
8547
  clearable: ""
8510
8548
  }, null, 8, ["modelValue"]), [
8511
- [w]
8549
+ [_]
8512
8550
  ])
8513
8551
  ]),
8514
8552
  _: 1
@@ -8525,7 +8563,7 @@ function Pl(e, t, r, l, u, y) {
8525
8563
  clearable: ""
8526
8564
  }, {
8527
8565
  default: n(() => [
8528
- (m(!0), V(ie, null, de(e.logSuccessFlagList, (h) => (m(), _(p, {
8566
+ (m(!0), I(ie, null, de(e.logSuccessFlagList, (h) => (m(), w(p, {
8529
8567
  key: h.value,
8530
8568
  label: h.label,
8531
8569
  value: h.value
@@ -8704,10 +8742,10 @@ function Pl(e, t, r, l, u, y) {
8704
8742
  })), [
8705
8743
  [D, e.loading]
8706
8744
  ]),
8707
- o(I, { ref: "logDetailRef" }, null, 512)
8745
+ o(V, { ref: "logDetailRef" }, null, 512)
8708
8746
  ]);
8709
8747
  }
8710
- const Vs = /* @__PURE__ */ z(El, [["render", Pl], ["__scopeId", "data-v-1742c7b6"]]), Nl = Y({
8748
+ const Os = /* @__PURE__ */ z(Pl, [["render", Il], ["__scopeId", "data-v-bc836ff2"]]), Vl = Y({
8711
8749
  props: {
8712
8750
  existItems: {
8713
8751
  type: Array,
@@ -8763,10 +8801,10 @@ const Vs = /* @__PURE__ */ z(El, [["render", Pl], ["__scopeId", "data-v-1742c7b6
8763
8801
  this.dialogMode = t, e ? (this.title = "编辑字典项", this.currentIndex = r ?? 0, this.form.label = e.label, this.form.key = e.key) : (this.title = "新增字典项", this.form.label = "", this.form.key = ""), this.visible = !0;
8764
8802
  }
8765
8803
  }
8766
- }), Il = { class: "dialog-footer" };
8767
- function Vl(e, t, r, l, u, y) {
8804
+ }), ql = { class: "dialog-footer" };
8805
+ function Ol(e, t, r, l, u, y) {
8768
8806
  const s = a("el-input"), i = a("el-form-item"), d = a("el-form"), p = a("el-button"), b = a("el-dialog");
8769
- return m(), V("div", null, [
8807
+ return m(), I("div", null, [
8770
8808
  o(b, {
8771
8809
  modelValue: e.visible,
8772
8810
  "onUpdate:modelValue": t[2] || (t[2] = (f) => e.visible = f),
@@ -8818,7 +8856,7 @@ function Vl(e, t, r, l, u, y) {
8818
8856
  ]),
8819
8857
  _: 1
8820
8858
  }, 8, ["model", "rules"]),
8821
- T("footer", Il, [
8859
+ T("footer", ql, [
8822
8860
  o(p, { onClick: e.cancel }, {
8823
8861
  default: n(() => [...t[3] || (t[3] = [
8824
8862
  c("取 消", -1)
@@ -8840,13 +8878,13 @@ function Vl(e, t, r, l, u, y) {
8840
8878
  }, 8, ["modelValue", "title", "onClose"])
8841
8879
  ]);
8842
8880
  }
8843
- const ql = /* @__PURE__ */ z(Nl, [["render", Vl], ["__scopeId", "data-v-8d04bfe8"]]), Ol = (e, t, r) => {
8881
+ const Al = /* @__PURE__ */ z(Vl, [["render", Ol], ["__scopeId", "data-v-8d04bfe8"]]), Ml = (e, t, r) => {
8844
8882
  t === "" ? r(new Error("字典编码不能为空")) : /^[a-zA-Z][_a-zA-Z0-9]{0,31}$/.test(t) ? r() : r(new Error("1-32位,英文、数字及特殊字符“_”,必须以英文字符开头"));
8845
- }, Al = (e, t, r) => {
8883
+ }, Ul = (e, t, r) => {
8846
8884
  t === "" ? r(new Error("字典名称不能为空")) : /^[a-zA-Z\u4e00-\u9fa5][a-zA-Z0-9\u4e00-\u9fa5_-]{1,31}$/.test(t) ? r() : r(new Error("2-32位字符,支持中文、英文、数字及特殊字符_-,必须以中文或英文字符开头"));
8847
- }, Ml = Y({
8885
+ }, zl = Y({
8848
8886
  components: {
8849
- dictDialog: ql,
8887
+ dictDialog: Al,
8850
8888
  xdmpDrawer: ee
8851
8889
  },
8852
8890
  emits: ["reload"],
@@ -8860,11 +8898,12 @@ const ql = /* @__PURE__ */ z(Nl, [["render", Vl], ["__scopeId", "data-v-8d04bfe8
8860
8898
  code: "",
8861
8899
  name: "",
8862
8900
  remark: "",
8901
+ retainFlag: "",
8863
8902
  items: []
8864
8903
  },
8865
8904
  rules: {
8866
- code: [{ required: !0, validator: Ol, trigger: "blur" }],
8867
- name: [{ required: !0, validator: Al, trigger: "blur" }]
8905
+ code: [{ required: !0, validator: Ml, trigger: "blur" }],
8906
+ name: [{ required: !0, validator: Ul, trigger: "blur" }]
8868
8907
  }
8869
8908
  };
8870
8909
  },
@@ -8899,6 +8938,7 @@ const ql = /* @__PURE__ */ z(Nl, [["render", Vl], ["__scopeId", "data-v-8d04bfe8
8899
8938
  name: "",
8900
8939
  code: "",
8901
8940
  remark: "",
8941
+ retainFlag: "",
8902
8942
  items: []
8903
8943
  };
8904
8944
  },
@@ -8919,9 +8959,9 @@ const ql = /* @__PURE__ */ z(Nl, [["render", Vl], ["__scopeId", "data-v-8d04bfe8
8919
8959
  }
8920
8960
  }
8921
8961
  });
8922
- function Ul(e, t, r, l, u, y) {
8962
+ function Yl(e, t, r, l, u, y) {
8923
8963
  const s = a("el-input"), i = a("el-form-item"), d = a("el-button"), p = a("el-table-column"), b = a("el-divider"), f = a("el-table"), g = a("el-form"), C = a("xdmp-drawer"), k = a("dict-dialog");
8924
- return m(), V("div", null, [
8964
+ return m(), I("div", null, [
8925
8965
  o(C, {
8926
8966
  ref: "xdmpDrawer",
8927
8967
  title: e.title,
@@ -9017,7 +9057,7 @@ function Ul(e, t, r, l, u, y) {
9017
9057
  ]),
9018
9058
  _: 1
9019
9059
  }),
9020
- e.mode !== "details" ? (m(), _(p, {
9060
+ e.mode !== "details" ? (m(), w(p, {
9021
9061
  key: 0,
9022
9062
  prop: "operate",
9023
9063
  label: "操作"
@@ -9068,10 +9108,10 @@ function Ul(e, t, r, l, u, y) {
9068
9108
  }, null, 8, ["exist-items", "onSubmit"])
9069
9109
  ]);
9070
9110
  }
9071
- const zl = /* @__PURE__ */ z(Ml, [["render", Ul]]), Yl = Y({
9111
+ const jl = /* @__PURE__ */ z(zl, [["render", Yl]]), Bl = Y({
9072
9112
  components: {
9073
9113
  ListReport: oe,
9074
- dictDrawer: zl,
9114
+ dictDrawer: jl,
9075
9115
  PageDesc: te
9076
9116
  },
9077
9117
  data() {
@@ -9167,12 +9207,12 @@ const zl = /* @__PURE__ */ z(Ml, [["render", Ul]]), Yl = Y({
9167
9207
  this.queryParams.pageNo = e, this.getDictList();
9168
9208
  }
9169
9209
  }
9170
- }), jl = { class: "dict_wrapper" };
9171
- function Bl(e, t, r, l, u, y) {
9172
- const s = a("page-desc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-divider"), C = a("el-tooltip"), k = a("el-table"), v = a("el-pagination"), S = a("ListReport"), U = a("dict-drawer"), I = M("loading");
9173
- return m(), V("div", jl, [
9174
- o(s, { desc: "用于维护平台基础数据分类、枚举及编码规则,实现数据统一定义与规范管理。" }),
9175
- E((m(), _(S, { class: "dict_block" }, {
9210
+ }), Kl = { class: "dict_wrapper" };
9211
+ function Hl(e, t, r, l, u, y) {
9212
+ const s = a("page-desc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-divider"), C = a("el-tooltip"), k = a("el-table"), v = a("el-pagination"), S = a("ListReport"), U = a("dict-drawer"), V = M("loading");
9213
+ return m(), I("div", Kl, [
9214
+ o(s),
9215
+ E((m(), w(S, { class: "dict_block" }, {
9176
9216
  filter: n(() => [
9177
9217
  o(b, {
9178
9218
  ref: "searchForm",
@@ -9189,7 +9229,7 @@ function Bl(e, t, r, l, u, y) {
9189
9229
  default: n(() => [
9190
9230
  o(i, {
9191
9231
  modelValue: e.queryParams.query.name,
9192
- "onUpdate:modelValue": t[0] || (t[0] = (w) => e.queryParams.query.name = w),
9232
+ "onUpdate:modelValue": t[0] || (t[0] = (_) => e.queryParams.query.name = _),
9193
9233
  placeholder: "请输入字典名称"
9194
9234
  }, null, 8, ["modelValue"])
9195
9235
  ]),
@@ -9202,7 +9242,7 @@ function Bl(e, t, r, l, u, y) {
9202
9242
  default: n(() => [
9203
9243
  o(i, {
9204
9244
  modelValue: e.queryParams.query.code,
9205
- "onUpdate:modelValue": t[1] || (t[1] = (w) => e.queryParams.query.code = w),
9245
+ "onUpdate:modelValue": t[1] || (t[1] = (_) => e.queryParams.query.code = _),
9206
9246
  placeholder: "请输入字典编码"
9207
9247
  }, null, 8, ["modelValue"])
9208
9248
  ]),
@@ -9270,8 +9310,8 @@ function Bl(e, t, r, l, u, y) {
9270
9310
  prop: "remark",
9271
9311
  label: "备注"
9272
9312
  }, {
9273
- default: n((w) => [
9274
- c(R(w.row.remark || "-"), 1)
9313
+ default: n((_) => [
9314
+ c(R(_.row.remark || "-"), 1)
9275
9315
  ]),
9276
9316
  _: 1
9277
9317
  }),
@@ -9279,8 +9319,8 @@ function Bl(e, t, r, l, u, y) {
9279
9319
  prop: "createTime",
9280
9320
  label: "创建时间"
9281
9321
  }, {
9282
- default: n((w) => [
9283
- c(R(w.row.createTime ? e.dayjs(w.row.createTime).format("YYYY-MM-DD HH:mm:ss") : "-"), 1)
9322
+ default: n((_) => [
9323
+ c(R(_.row.createTime ? e.dayjs(_.row.createTime).format("YYYY-MM-DD HH:mm:ss") : "-"), 1)
9284
9324
  ]),
9285
9325
  _: 1
9286
9326
  }),
@@ -9290,11 +9330,11 @@ function Bl(e, t, r, l, u, y) {
9290
9330
  fixed: "right",
9291
9331
  width: "220"
9292
9332
  }, {
9293
- default: n((w) => [
9333
+ default: n((_) => [
9294
9334
  o(p, {
9295
9335
  type: "primary",
9296
9336
  text: "",
9297
- onClick: (D) => e.viewDict(w.row)
9337
+ onClick: (D) => e.viewDict(_.row)
9298
9338
  }, {
9299
9339
  default: n(() => [...t[5] || (t[5] = [
9300
9340
  c("查看 ", -1)
@@ -9305,7 +9345,7 @@ function Bl(e, t, r, l, u, y) {
9305
9345
  o(p, {
9306
9346
  type: "primary",
9307
9347
  text: "",
9308
- onClick: (D) => e.editDict(w.row)
9348
+ onClick: (D) => e.editDict(_.row)
9309
9349
  }, {
9310
9350
  default: n(() => [...t[6] || (t[6] = [
9311
9351
  c("编辑 ", -1)
@@ -9314,7 +9354,7 @@ function Bl(e, t, r, l, u, y) {
9314
9354
  }, 8, ["onClick"]),
9315
9355
  o(g, { direction: "vertical" }),
9316
9356
  o(C, {
9317
- disabled: !e.isRetainYes(w.row.retainFlag),
9357
+ disabled: !e.isRetainYes(_.row.retainFlag),
9318
9358
  content: "系统保留数据字典禁止删除",
9319
9359
  placement: "top"
9320
9360
  }, {
@@ -9323,8 +9363,8 @@ function Bl(e, t, r, l, u, y) {
9323
9363
  o(p, {
9324
9364
  type: "primary",
9325
9365
  text: "",
9326
- disabled: e.isRetainYes(w.row.retainFlag),
9327
- onClick: (D) => e.deleteDict(w.row)
9366
+ disabled: e.isRetainYes(_.row.retainFlag),
9367
+ onClick: (D) => e.deleteDict(_.row)
9328
9368
  }, {
9329
9369
  default: n(() => [...t[7] || (t[7] = [
9330
9370
  c("删除", -1)
@@ -9357,7 +9397,7 @@ function Bl(e, t, r, l, u, y) {
9357
9397
  ]),
9358
9398
  _: 1
9359
9399
  })), [
9360
- [I, e.loading]
9400
+ [V, e.loading]
9361
9401
  ]),
9362
9402
  o(U, {
9363
9403
  ref: "dictDrawer",
@@ -9365,7 +9405,7 @@ function Bl(e, t, r, l, u, y) {
9365
9405
  }, null, 8, ["onReload"])
9366
9406
  ]);
9367
9407
  }
9368
- const qs = /* @__PURE__ */ z(Yl, [["render", Bl], ["__scopeId", "data-v-cccc5ca6"]]), Kl = Y({
9408
+ const As = /* @__PURE__ */ z(Bl, [["render", Hl], ["__scopeId", "data-v-054ffb5a"]]), Ql = Y({
9369
9409
  name: "TreeSelect",
9370
9410
  props: {
9371
9411
  modelValue: {
@@ -9384,16 +9424,16 @@ const qs = /* @__PURE__ */ z(Yl, [["render", Bl], ["__scopeId", "data-v-cccc5ca6
9384
9424
  }
9385
9425
  }
9386
9426
  });
9387
- function Hl(e, t, r, l, u, y) {
9427
+ function Gl(e, t, r, l, u, y) {
9388
9428
  const s = a("el-option"), i = a("el-select");
9389
- return m(), _(i, {
9429
+ return m(), w(i, {
9390
9430
  "model-value": e.modelValue,
9391
9431
  placeholder: "请选择",
9392
9432
  clearable: "",
9393
9433
  onChange: e.handleChange
9394
9434
  }, {
9395
9435
  default: n(() => [
9396
- (m(!0), V(ie, null, de(e.data, (d) => (m(), _(s, {
9436
+ (m(!0), I(ie, null, de(e.data, (d) => (m(), w(s, {
9397
9437
  key: d.id,
9398
9438
  label: d.title,
9399
9439
  value: d.id,
@@ -9410,10 +9450,10 @@ function Hl(e, t, r, l, u, y) {
9410
9450
  _: 1
9411
9451
  }, 8, ["model-value", "onChange"]);
9412
9452
  }
9413
- const Ql = /* @__PURE__ */ z(Kl, [["render", Hl]]), Gl = Y({
9453
+ const Jl = /* @__PURE__ */ z(Ql, [["render", Gl]]), Wl = Y({
9414
9454
  components: {
9415
9455
  xdmpDrawer: ee,
9416
- treeSelect: Ql
9456
+ treeSelect: Jl
9417
9457
  },
9418
9458
  emits: ["reload"],
9419
9459
  data() {
@@ -9490,9 +9530,9 @@ const Ql = /* @__PURE__ */ z(Kl, [["render", Hl]]), Gl = Y({
9490
9530
  }
9491
9531
  }
9492
9532
  });
9493
- function Jl(e, t, r, l, u, y) {
9533
+ function Zl(e, t, r, l, u, y) {
9494
9534
  const s = a("el-input"), i = a("el-form-item"), d = a("treeSelect"), p = a("el-form"), b = a("xdmpDrawer"), f = M("emoji");
9495
- return m(), V("div", null, [
9535
+ return m(), I("div", null, [
9496
9536
  o(b, {
9497
9537
  ref: "xdmpDrawer",
9498
9538
  title: e.title,
@@ -9580,11 +9620,11 @@ function Jl(e, t, r, l, u, y) {
9580
9620
  }, 8, ["title", "size", "onSubmit", "onCancel"])
9581
9621
  ]);
9582
9622
  }
9583
- const Wl = /* @__PURE__ */ z(Gl, [["render", Jl]]), Zl = Y({
9623
+ const Xl = /* @__PURE__ */ z(Wl, [["render", Zl]]), xl = Y({
9584
9624
  components: {
9585
9625
  FlexibleColumn: It,
9586
9626
  ListReport: oe,
9587
- categoryDrawer: Wl,
9627
+ categoryDrawer: Xl,
9588
9628
  PageDesc: te
9589
9629
  },
9590
9630
  data() {
@@ -9670,18 +9710,18 @@ const Wl = /* @__PURE__ */ z(Gl, [["render", Jl]]), Zl = Y({
9670
9710
  this.listQuery.pageNo = e, this.getCategoryList();
9671
9711
  }
9672
9712
  }
9673
- }), Xl = { class: "category_tree" }, xl = { class: "tree-search" }, ei = { class: "tree-operate" }, ti = { class: "custom-tree-node" }, oi = { class: "tree-node-label" }, ni = { class: "searchInputCustomStyle" };
9674
- function ri(e, t, r, l, u, y) {
9675
- const s = a("pageDesc"), i = a("el-button"), d = a("el-input"), p = a("svg-icon"), b = a("el-tree"), f = a("el-form-item"), g = a("el-form"), C = a("el-table-column"), k = a("el-divider"), v = a("el-table"), S = a("el-pagination"), U = a("ListReport"), I = a("FlexibleColumn"), w = a("categoryDrawer"), D = M("loading");
9676
- return m(), V(ie, null, [
9677
- o(s, { desc: "分类管理,支持系统分类信息的维护管理。" }),
9678
- o(I, { class: "category_wrapper" }, {
9713
+ }), ei = { class: "category_tree" }, ti = { class: "tree-search" }, oi = { class: "tree-operate" }, ni = { class: "custom-tree-node" }, ri = { class: "tree-node-label" }, ai = { class: "searchInputCustomStyle" };
9714
+ function li(e, t, r, l, u, y) {
9715
+ const s = a("pageDesc"), i = a("el-button"), d = a("el-input"), p = a("svg-icon"), b = a("el-tree"), f = a("el-form-item"), g = a("el-form"), C = a("el-table-column"), k = a("el-divider"), v = a("el-table"), S = a("el-pagination"), U = a("ListReport"), V = a("FlexibleColumn"), _ = a("categoryDrawer"), D = M("loading");
9716
+ return m(), I(ie, null, [
9717
+ o(s),
9718
+ o(V, { class: "category_wrapper" }, {
9679
9719
  begin: n(() => [
9680
- T("div", Xl, [
9720
+ T("div", ei, [
9681
9721
  t[5] || (t[5] = T("div", { class: "tree-header" }, [
9682
9722
  T("span", null, "分类列表")
9683
9723
  ], -1)),
9684
- T("div", xl, [
9724
+ T("div", ti, [
9685
9725
  o(d, {
9686
9726
  modelValue: e.treeQuery.keyword,
9687
9727
  "onUpdate:modelValue": t[0] || (t[0] = (h) => e.treeQuery.keyword = h),
@@ -9698,8 +9738,8 @@ function ri(e, t, r, l, u, y) {
9698
9738
  _: 1
9699
9739
  }, 8, ["modelValue", "onKeyup"])
9700
9740
  ]),
9701
- T("div", ei, [
9702
- e.checkPermission(["ROLE_CATEGORY_CREATE"]) ? (m(), _(i, {
9741
+ T("div", oi, [
9742
+ e.checkPermission(["ROLE_CATEGORY_CREATE"]) ? (m(), w(i, {
9703
9743
  key: 0,
9704
9744
  type: "primary",
9705
9745
  icon: "Plus",
@@ -9712,7 +9752,7 @@ function ri(e, t, r, l, u, y) {
9712
9752
  _: 1
9713
9753
  })) : P("", !0)
9714
9754
  ]),
9715
- E((m(), _(b, {
9755
+ E((m(), w(b, {
9716
9756
  ref: "categoryTreeRef",
9717
9757
  data: e.categoryTree,
9718
9758
  "node-key": "id",
@@ -9721,15 +9761,15 @@ function ri(e, t, r, l, u, y) {
9721
9761
  onNodeClick: e.handleNodeClick
9722
9762
  }, {
9723
9763
  default: n(({ data: h }) => [
9724
- T("span", ti, [
9725
- T("span", oi, R(h.title), 1),
9764
+ T("span", ni, [
9765
+ T("span", ri, R(h.title), 1),
9726
9766
  T("span", null, [
9727
- e.checkPermission(["ROLE_CATEGORY_UPDATE"]) ? (m(), _(p, {
9767
+ e.checkPermission(["ROLE_CATEGORY_UPDATE"]) ? (m(), w(p, {
9728
9768
  key: 0,
9729
9769
  "icon-class": "system_depart_edit",
9730
9770
  onClick: x((H) => e.editCategory(h), ["stop"])
9731
9771
  }, null, 8, ["onClick"])) : P("", !0),
9732
- e.checkPermission(["ROLE_CATEGORY_DELETE"]) ? (m(), _(p, {
9772
+ e.checkPermission(["ROLE_CATEGORY_DELETE"]) ? (m(), w(p, {
9733
9773
  key: 1,
9734
9774
  "icon-class": "system_depart_del",
9735
9775
  style: { "margin-left": "10px" },
@@ -9745,7 +9785,7 @@ function ri(e, t, r, l, u, y) {
9745
9785
  ])
9746
9786
  ]),
9747
9787
  end: n(() => [
9748
- E((m(), _(U, { class: "operate_block" }, {
9788
+ E((m(), w(U, { class: "operate_block" }, {
9749
9789
  filter: n(() => [
9750
9790
  o(g, {
9751
9791
  ref: "searchForm",
@@ -9799,8 +9839,8 @@ function ri(e, t, r, l, u, y) {
9799
9839
  }, 8, ["model", "onSubmit"])
9800
9840
  ]),
9801
9841
  toolbar: n(() => [
9802
- T("div", ni, [
9803
- e.checkPermission(["ROLE_CATEGORY_CREATE"]) ? (m(), _(i, {
9842
+ T("div", ai, [
9843
+ e.checkPermission(["ROLE_CATEGORY_CREATE"]) ? (m(), w(i, {
9804
9844
  key: 0,
9805
9845
  style: { width: "88px" },
9806
9846
  type: "primary",
@@ -9853,7 +9893,7 @@ function ri(e, t, r, l, u, y) {
9853
9893
  width: "160"
9854
9894
  }, {
9855
9895
  default: n((h) => [
9856
- e.checkPermission(["ROLE_CATEGORY_UPDATE"]) ? (m(), _(i, {
9896
+ e.checkPermission(["ROLE_CATEGORY_UPDATE"]) ? (m(), w(i, {
9857
9897
  key: 0,
9858
9898
  text: "",
9859
9899
  type: "primary",
@@ -9865,7 +9905,7 @@ function ri(e, t, r, l, u, y) {
9865
9905
  _: 1
9866
9906
  }, 8, ["onClick"])) : P("", !0),
9867
9907
  o(k, { direction: "vertical" }),
9868
- e.checkPermission(["ROLE_CATEGORY_DELETE"]) ? (m(), _(i, {
9908
+ e.checkPermission(["ROLE_CATEGORY_DELETE"]) ? (m(), w(i, {
9869
9909
  key: 1,
9870
9910
  text: "",
9871
9911
  type: "primary",
@@ -9903,13 +9943,13 @@ function ri(e, t, r, l, u, y) {
9903
9943
  ]),
9904
9944
  _: 1
9905
9945
  }),
9906
- o(w, {
9946
+ o(_, {
9907
9947
  ref: "categoryDrawer",
9908
9948
  onReload: e.getCategoryTree
9909
9949
  }, null, 8, ["onReload"])
9910
9950
  ], 64);
9911
9951
  }
9912
- const Os = /* @__PURE__ */ z(Zl, [["render", ri], ["__scopeId", "data-v-f799784a"]]), ai = Y({
9952
+ const Ms = /* @__PURE__ */ z(xl, [["render", li], ["__scopeId", "data-v-88840939"]]), ii = Y({
9913
9953
  components: {
9914
9954
  xdmpDrawer: ee
9915
9955
  },
@@ -9975,9 +10015,9 @@ const Os = /* @__PURE__ */ z(Zl, [["render", ri], ["__scopeId", "data-v-f799784a
9975
10015
  }
9976
10016
  }
9977
10017
  });
9978
- function li(e, t, r, l, u, y) {
10018
+ function si(e, t, r, l, u, y) {
9979
10019
  const s = a("el-input"), i = a("el-form-item"), d = a("el-option"), p = a("el-select"), b = a("el-form"), f = a("xdmpDrawer"), g = M("emoji");
9980
- return m(), _(f, {
10020
+ return m(), w(f, {
9981
10021
  ref: "xdmpDrawer",
9982
10022
  title: e.title,
9983
10023
  size: e.size,
@@ -10084,12 +10124,12 @@ function li(e, t, r, l, u, y) {
10084
10124
  _: 1
10085
10125
  }, 8, ["title", "size", "onSubmit", "onCancel"]);
10086
10126
  }
10087
- const ii = /* @__PURE__ */ z(ai, [["render", li]]), si = Y({
10127
+ const di = /* @__PURE__ */ z(ii, [["render", si]]), ui = Y({
10088
10128
  name: "Properties",
10089
10129
  components: {
10090
10130
  ListReport: oe,
10091
10131
  pageDesc: te,
10092
- addTag: ii
10132
+ addTag: di
10093
10133
  },
10094
10134
  data() {
10095
10135
  return {
@@ -10177,17 +10217,17 @@ const ii = /* @__PURE__ */ z(ai, [["render", li]]), si = Y({
10177
10217
  this.queryParams.pageNo = e, this.getList();
10178
10218
  }
10179
10219
  }
10180
- }), di = { class: "tag-management-container" }, ui = { style: { "margin-bottom": "15px" } }, pi = { class: "obj-btn-items" }, mi = {
10220
+ }), pi = { class: "tag-management-container" }, mi = { style: { "margin-bottom": "15px" } }, ci = { class: "obj-btn-items" }, hi = {
10181
10221
  key: 0,
10182
10222
  class: "obj-btn-items"
10183
- }, ci = {
10223
+ }, fi = {
10184
10224
  key: 1,
10185
10225
  class: "obj-btn-items"
10186
10226
  };
10187
- function hi(e, t, r, l, u, y) {
10188
- const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-option"), b = a("el-select"), f = a("el-button"), g = a("el-form"), C = a("el-table-column"), k = a("el-divider"), v = a("el-table"), S = a("el-pagination"), U = a("ListReport"), I = a("addTag"), w = M("emoji"), D = M("loading");
10189
- return m(), V("div", di, [
10190
- o(s, { desc: "统一管理平台全部标签,支持为分组、产品、设备打标,实现资源快速分类检索。" }),
10227
+ function gi(e, t, r, l, u, y) {
10228
+ const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-option"), b = a("el-select"), f = a("el-button"), g = a("el-form"), C = a("el-table-column"), k = a("el-divider"), v = a("el-table"), S = a("el-pagination"), U = a("ListReport"), V = a("addTag"), _ = M("emoji"), D = M("loading");
10229
+ return m(), I("div", pi, [
10230
+ o(s),
10191
10231
  o(U, { class: "device_block" }, {
10192
10232
  filter: n(() => [
10193
10233
  o(g, {
@@ -10203,7 +10243,7 @@ function hi(e, t, r, l, u, y) {
10203
10243
  placeholder: "请输入标签名称",
10204
10244
  maxlength: "32"
10205
10245
  }, null, 8, ["modelValue"]), [
10206
- [w]
10246
+ [_]
10207
10247
  ])
10208
10248
  ]),
10209
10249
  _: 1
@@ -10216,7 +10256,7 @@ function hi(e, t, r, l, u, y) {
10216
10256
  placeholder: "请输入标签key",
10217
10257
  maxlength: "32"
10218
10258
  }, null, 8, ["modelValue"]), [
10219
- [w]
10259
+ [_]
10220
10260
  ])
10221
10261
  ]),
10222
10262
  _: 1
@@ -10280,8 +10320,8 @@ function hi(e, t, r, l, u, y) {
10280
10320
  })
10281
10321
  ]),
10282
10322
  toolbar: n(() => [
10283
- T("div", ui, [
10284
- e.checkPermission(["ROLE_LABEL_CREATE"]) ? (m(), _(f, {
10323
+ T("div", mi, [
10324
+ e.checkPermission(["ROLE_LABEL_CREATE"]) ? (m(), w(f, {
10285
10325
  key: 0,
10286
10326
  type: "primary",
10287
10327
  icon: "Plus",
@@ -10295,7 +10335,7 @@ function hi(e, t, r, l, u, y) {
10295
10335
  ])
10296
10336
  ]),
10297
10337
  view: n(() => [
10298
- E((m(), _(v, { data: e.dataList }, {
10338
+ E((m(), w(v, { data: e.dataList }, {
10299
10339
  default: n(() => [
10300
10340
  o(C, {
10301
10341
  prop: "name",
@@ -10329,7 +10369,7 @@ function hi(e, t, r, l, u, y) {
10329
10369
  width: "250"
10330
10370
  }, {
10331
10371
  default: n((h) => [
10332
- T("div", pi, [
10372
+ T("div", ci, [
10333
10373
  o(f, {
10334
10374
  type: "primary",
10335
10375
  text: "",
@@ -10341,7 +10381,7 @@ function hi(e, t, r, l, u, y) {
10341
10381
  _: 1
10342
10382
  }, 8, ["onClick"])
10343
10383
  ]),
10344
- e.checkPermission(["ROLE_LABEL_UPDATE"]) ? (m(), V("div", mi, [
10384
+ e.checkPermission(["ROLE_LABEL_UPDATE"]) ? (m(), I("div", hi, [
10345
10385
  o(k, { direction: "vertical" }),
10346
10386
  o(f, {
10347
10387
  type: "primary",
@@ -10354,7 +10394,7 @@ function hi(e, t, r, l, u, y) {
10354
10394
  _: 1
10355
10395
  }, 8, ["onClick"])
10356
10396
  ])) : P("", !0),
10357
- e.checkPermission(["ROLE_LABEL_DELETE"]) ? (m(), V("div", ci, [
10397
+ e.checkPermission(["ROLE_LABEL_DELETE"]) ? (m(), I("div", fi, [
10358
10398
  o(k, { direction: "vertical" }),
10359
10399
  o(f, {
10360
10400
  type: "primary",
@@ -10391,13 +10431,13 @@ function hi(e, t, r, l, u, y) {
10391
10431
  ]),
10392
10432
  _: 1
10393
10433
  }),
10394
- o(I, {
10434
+ o(V, {
10395
10435
  ref: "addTag",
10396
10436
  onReload: e.getList
10397
10437
  }, null, 8, ["onReload"])
10398
10438
  ]);
10399
10439
  }
10400
- const As = /* @__PURE__ */ z(si, [["render", hi], ["__scopeId", "data-v-fccf10df"]]), et = {}, fi = Y({
10440
+ const Us = /* @__PURE__ */ z(ui, [["render", gi], ["__scopeId", "data-v-81ed9a81"]]), et = {}, yi = Y({
10401
10441
  components: {
10402
10442
  xdmpDrawer: ee,
10403
10443
  FileUpload: $o
@@ -10499,9 +10539,9 @@ const As = /* @__PURE__ */ z(si, [["render", hi], ["__scopeId", "data-v-fccf10df
10499
10539
  }
10500
10540
  }
10501
10541
  });
10502
- function gi(e, t, r, l, u, y) {
10542
+ function bi(e, t, r, l, u, y) {
10503
10543
  const s = a("el-input"), i = a("el-form-item"), d = a("el-radio"), p = a("el-radio-group"), b = a("el-button"), f = a("FileUpload"), g = a("el-form"), C = a("xdmpDrawer"), k = M("loading");
10504
- return m(), _(C, {
10544
+ return m(), w(C, {
10505
10545
  ref: "xdmpDrawer",
10506
10546
  title: e.title,
10507
10547
  "show-footer": !0,
@@ -10510,7 +10550,7 @@ function gi(e, t, r, l, u, y) {
10510
10550
  onSubmit: e.submit
10511
10551
  }, {
10512
10552
  "xdmp-drawer-body": n(() => [
10513
- E((m(), V("div", null, [
10553
+ E((m(), I("div", null, [
10514
10554
  o(g, {
10515
10555
  ref: "binaryFormRef",
10516
10556
  model: e.binaryForm,
@@ -10572,7 +10612,7 @@ function gi(e, t, r, l, u, y) {
10572
10612
  ]),
10573
10613
  _: 1
10574
10614
  }),
10575
- e.binaryForm.path ? (m(), _(i, {
10615
+ e.binaryForm.path ? (m(), w(i, {
10576
10616
  key: 0,
10577
10617
  label: "存储路径"
10578
10618
  }, {
@@ -10637,10 +10677,10 @@ function gi(e, t, r, l, u, y) {
10637
10677
  _: 1
10638
10678
  }, 8, ["title", "size", "onCancel", "onSubmit"]);
10639
10679
  }
10640
- const yi = /* @__PURE__ */ z(fi, [["render", gi]]), bi = Y({
10680
+ const _i = /* @__PURE__ */ z(yi, [["render", bi]]), wi = Y({
10641
10681
  components: {
10642
10682
  ListReport: oe,
10643
- binaryDrawer: yi,
10683
+ binaryDrawer: _i,
10644
10684
  pageDesc: te
10645
10685
  },
10646
10686
  data() {
@@ -10708,18 +10748,18 @@ const yi = /* @__PURE__ */ z(fi, [["render", gi]]), bi = Y({
10708
10748
  });
10709
10749
  }
10710
10750
  }
10711
- }), _i = { class: "binary_wrapper" }, wi = {
10751
+ }), Ci = { class: "binary_wrapper" }, ki = {
10712
10752
  key: 0,
10713
10753
  class: "btn-item"
10714
- }, Ci = {
10754
+ }, vi = {
10715
10755
  key: 1,
10716
10756
  class: "btn-item"
10717
10757
  };
10718
- function ki(e, t, r, l, u, y) {
10719
- const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-image"), C = a("el-text"), k = a("el-divider"), v = a("el-table"), S = a("el-pagination"), U = a("ListReport"), I = a("binaryDrawer"), w = M("emoji"), D = M("loading");
10720
- return m(), V("div", _i, [
10721
- o(s, { desc: "文件管理,支持文件的上传、预览和删除操作。" }),
10722
- E((m(), _(U, { class: "binary_block" }, {
10758
+ function Di(e, t, r, l, u, y) {
10759
+ const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-image"), C = a("el-text"), k = a("el-divider"), v = a("el-table"), S = a("el-pagination"), U = a("ListReport"), V = a("binaryDrawer"), _ = M("emoji"), D = M("loading");
10760
+ return m(), I("div", Ci, [
10761
+ o(s),
10762
+ E((m(), w(U, { class: "binary_block" }, {
10723
10763
  filter: n(() => [
10724
10764
  o(b, {
10725
10765
  ref: "searchForm",
@@ -10741,7 +10781,7 @@ function ki(e, t, r, l, u, y) {
10741
10781
  clearable: "",
10742
10782
  maxlength: "12"
10743
10783
  }, null, 8, ["modelValue"]), [
10744
- [w]
10784
+ [_]
10745
10785
  ])
10746
10786
  ]),
10747
10787
  _: 1
@@ -10777,7 +10817,7 @@ function ki(e, t, r, l, u, y) {
10777
10817
  ]),
10778
10818
  toolbar: n(() => [
10779
10819
  T("div", null, [
10780
- e.checkPermission(["ROLE_BINARY_CREATE"]) ? (m(), _(p, {
10820
+ e.checkPermission(["ROLE_BINARY_CREATE"]) ? (m(), w(p, {
10781
10821
  key: 0,
10782
10822
  style: { width: "88px" },
10783
10823
  type: "primary",
@@ -10861,7 +10901,7 @@ function ki(e, t, r, l, u, y) {
10861
10901
  "min-width": "180px"
10862
10902
  }, {
10863
10903
  default: n((h) => [
10864
- e.checkPermission(["ROLE_BINARY_UPDATE"]) ? (m(), V("div", wi, [
10904
+ e.checkPermission(["ROLE_BINARY_UPDATE"]) ? (m(), I("div", ki, [
10865
10905
  o(C, {
10866
10906
  type: "primary",
10867
10907
  onClick: (H) => e.onAdd(h.row, "edit")
@@ -10872,7 +10912,7 @@ function ki(e, t, r, l, u, y) {
10872
10912
  _: 1
10873
10913
  }, 8, ["onClick"])
10874
10914
  ])) : P("", !0),
10875
- e.checkPermission(["ROLE_BINARY_DELETE"]) ? (m(), V("div", Ci, [
10915
+ e.checkPermission(["ROLE_BINARY_DELETE"]) ? (m(), I("div", vi, [
10876
10916
  o(k, { direction: "vertical" }),
10877
10917
  o(C, {
10878
10918
  type: "primary",
@@ -10908,13 +10948,13 @@ function ki(e, t, r, l, u, y) {
10908
10948
  })), [
10909
10949
  [D, e.loading]
10910
10950
  ]),
10911
- o(I, {
10951
+ o(V, {
10912
10952
  ref: "binaryDrawerRef",
10913
10953
  onReload: e.search
10914
10954
  }, null, 8, ["onReload"])
10915
10955
  ]);
10916
10956
  }
10917
- const Ms = /* @__PURE__ */ z(bi, [["render", ki], ["__scopeId", "data-v-bc160baf"]]), vi = Y({
10957
+ const zs = /* @__PURE__ */ z(wi, [["render", Di], ["__scopeId", "data-v-aac7ac16"]]), $i = Y({
10918
10958
  components: {
10919
10959
  xdmpDrawer: ee
10920
10960
  },
@@ -10983,9 +11023,9 @@ const Ms = /* @__PURE__ */ z(bi, [["render", ki], ["__scopeId", "data-v-bc160baf
10983
11023
  }
10984
11024
  }
10985
11025
  });
10986
- function Di(e, t, r, l, u, y) {
11026
+ function Ti(e, t, r, l, u, y) {
10987
11027
  const s = a("el-input"), i = a("el-form-item"), d = a("el-date-picker"), p = a("el-form"), b = a("xdmpDrawer"), f = M("emoji"), g = M("loading");
10988
- return m(), _(b, {
11028
+ return m(), w(b, {
10989
11029
  ref: "xdmpDrawer",
10990
11030
  title: e.title,
10991
11031
  "show-footer": !0,
@@ -10994,7 +11034,7 @@ function Di(e, t, r, l, u, y) {
10994
11034
  onSubmit: e.submit
10995
11035
  }, {
10996
11036
  "xdmp-drawer-body": n(() => [
10997
- E((m(), V("div", null, [
11037
+ E((m(), I("div", null, [
10998
11038
  o(p, {
10999
11039
  ref: "noticeFormRef",
11000
11040
  model: e.noticeForm,
@@ -11067,10 +11107,10 @@ function Di(e, t, r, l, u, y) {
11067
11107
  _: 1
11068
11108
  }, 8, ["title", "size", "onCancel", "onSubmit"]);
11069
11109
  }
11070
- const $i = /* @__PURE__ */ z(vi, [["render", Di]]), Ti = Y({
11110
+ const Si = /* @__PURE__ */ z($i, [["render", Ti]]), Fi = Y({
11071
11111
  components: {
11072
11112
  ListReport: oe,
11073
- noticeDrawer: $i,
11113
+ noticeDrawer: Si,
11074
11114
  PageDesc: te
11075
11115
  },
11076
11116
  data() {
@@ -11138,12 +11178,12 @@ const $i = /* @__PURE__ */ z(vi, [["render", Di]]), Ti = Y({
11138
11178
  });
11139
11179
  }
11140
11180
  }
11141
- }), Si = { class: "notice_wrapper" };
11142
- function Fi(e, t, r, l, u, y) {
11143
- const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-divider"), C = a("el-table"), k = a("el-pagination"), v = a("ListReport"), S = a("noticeDrawer"), U = M("emoji"), I = M("loading");
11144
- return m(), V("div", Si, [
11145
- o(s, { desc: "公告管理,支持系统公告的增删改查。" }),
11146
- E((m(), _(v, { class: "notice_block" }, {
11181
+ }), Li = { class: "notice_wrapper" };
11182
+ function Ei(e, t, r, l, u, y) {
11183
+ const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-divider"), C = a("el-table"), k = a("el-pagination"), v = a("ListReport"), S = a("noticeDrawer"), U = M("emoji"), V = M("loading");
11184
+ return m(), I("div", Li, [
11185
+ o(s),
11186
+ E((m(), w(v, { class: "notice_block" }, {
11147
11187
  filter: n(() => [
11148
11188
  o(b, {
11149
11189
  ref: "searchForm",
@@ -11160,7 +11200,7 @@ function Fi(e, t, r, l, u, y) {
11160
11200
  default: n(() => [
11161
11201
  E(o(i, {
11162
11202
  modelValue: e.listQuery.query.title,
11163
- "onUpdate:modelValue": t[0] || (t[0] = (w) => e.listQuery.query.title = w),
11203
+ "onUpdate:modelValue": t[0] || (t[0] = (_) => e.listQuery.query.title = _),
11164
11204
  placeholder: "请输入公告标题",
11165
11205
  clearable: "",
11166
11206
  maxlength: "12"
@@ -11177,7 +11217,7 @@ function Fi(e, t, r, l, u, y) {
11177
11217
  default: n(() => [
11178
11218
  E(o(i, {
11179
11219
  modelValue: e.listQuery.query.content,
11180
- "onUpdate:modelValue": t[1] || (t[1] = (w) => e.listQuery.query.content = w),
11220
+ "onUpdate:modelValue": t[1] || (t[1] = (_) => e.listQuery.query.content = _),
11181
11221
  placeholder: "请输入公告内容",
11182
11222
  clearable: "",
11183
11223
  maxlength: "12"
@@ -11218,11 +11258,11 @@ function Fi(e, t, r, l, u, y) {
11218
11258
  ]),
11219
11259
  toolbar: n(() => [
11220
11260
  T("div", null, [
11221
- e.checkPermission(["ROLE_NOTICE_CREATE"]) ? (m(), _(p, {
11261
+ e.checkPermission(["ROLE_NOTICE_CREATE"]) ? (m(), w(p, {
11222
11262
  key: 0,
11223
11263
  style: { width: "88px" },
11224
11264
  type: "primary",
11225
- onClick: t[2] || (t[2] = (w) => e.detail(null, "add"))
11265
+ onClick: t[2] || (t[2] = (_) => e.detail(null, "add"))
11226
11266
  }, {
11227
11267
  default: n(() => [...t[5] || (t[5] = [
11228
11268
  c("新建 ", -1)
@@ -11250,8 +11290,8 @@ function Fi(e, t, r, l, u, y) {
11250
11290
  prop: "createTime",
11251
11291
  label: "创建时间"
11252
11292
  }, {
11253
- default: n((w) => [
11254
- T("span", null, R(e.dayjs(w.row.createTime).format("YYYY-MM-DD HH:mm:ss")), 1)
11293
+ default: n((_) => [
11294
+ T("span", null, R(e.dayjs(_.row.createTime).format("YYYY-MM-DD HH:mm:ss")), 1)
11255
11295
  ]),
11256
11296
  _: 1
11257
11297
  }),
@@ -11260,27 +11300,27 @@ function Fi(e, t, r, l, u, y) {
11260
11300
  label: "操作",
11261
11301
  width: "160"
11262
11302
  }, {
11263
- default: n((w) => [
11264
- e.checkPermission(["ROLE_NOTICE_UPDATE"]) ? (m(), _(p, {
11303
+ default: n((_) => [
11304
+ e.checkPermission(["ROLE_NOTICE_UPDATE"]) ? (m(), w(p, {
11265
11305
  key: 0,
11266
11306
  type: "primary",
11267
11307
  text: "",
11268
- onClick: (D) => e.detail(w.row, "edit")
11308
+ onClick: (D) => e.detail(_.row, "edit")
11269
11309
  }, {
11270
11310
  default: n(() => [...t[6] || (t[6] = [
11271
11311
  c("编辑 ", -1)
11272
11312
  ])]),
11273
11313
  _: 1
11274
11314
  }, 8, ["onClick"])) : P("", !0),
11275
- e.checkPermission(["ROLE_NOTICE_DELETE"]) ? (m(), _(g, {
11315
+ e.checkPermission(["ROLE_NOTICE_DELETE"]) ? (m(), w(g, {
11276
11316
  key: 1,
11277
11317
  direction: "vertical"
11278
11318
  })) : P("", !0),
11279
- e.checkPermission(["ROLE_NOTICE_DELETE"]) ? (m(), _(p, {
11319
+ e.checkPermission(["ROLE_NOTICE_DELETE"]) ? (m(), w(p, {
11280
11320
  key: 2,
11281
11321
  type: "primary",
11282
11322
  text: "",
11283
- onClick: (D) => e.deleteNotice(w.row)
11323
+ onClick: (D) => e.deleteNotice(_.row)
11284
11324
  }, {
11285
11325
  default: n(() => [...t[7] || (t[7] = [
11286
11326
  c("删除 ", -1)
@@ -11309,7 +11349,7 @@ function Fi(e, t, r, l, u, y) {
11309
11349
  ]),
11310
11350
  _: 1
11311
11351
  })), [
11312
- [I, e.loading]
11352
+ [V, e.loading]
11313
11353
  ]),
11314
11354
  o(S, {
11315
11355
  ref: "noticeDrawerRef",
@@ -11317,7 +11357,7 @@ function Fi(e, t, r, l, u, y) {
11317
11357
  }, null, 8, ["onReload"])
11318
11358
  ]);
11319
11359
  }
11320
- const Us = /* @__PURE__ */ z(Ti, [["render", Fi], ["__scopeId", "data-v-9b0fa8db"]]), Li = Y({
11360
+ const Ys = /* @__PURE__ */ z(Fi, [["render", Ei], ["__scopeId", "data-v-a448fd2d"]]), Ri = Y({
11321
11361
  components: {
11322
11362
  xdmpDrawer: ee
11323
11363
  },
@@ -11382,9 +11422,9 @@ const Us = /* @__PURE__ */ z(Ti, [["render", Fi], ["__scopeId", "data-v-9b0fa8db
11382
11422
  }
11383
11423
  }
11384
11424
  });
11385
- function Ei(e, t, r, l, u, y) {
11425
+ function Pi(e, t, r, l, u, y) {
11386
11426
  const s = a("el-input"), i = a("el-form-item"), d = a("el-form"), p = a("xdmpDrawer"), b = M("emoji"), f = M("loading");
11387
- return m(), _(p, {
11427
+ return m(), w(p, {
11388
11428
  ref: "xdmpDrawer",
11389
11429
  title: e.title,
11390
11430
  "show-footer": !0,
@@ -11393,7 +11433,7 @@ function Ei(e, t, r, l, u, y) {
11393
11433
  onSubmit: e.submit
11394
11434
  }, {
11395
11435
  "xdmp-drawer-body": n(() => [
11396
- E((m(), V("div", null, [
11436
+ E((m(), I("div", null, [
11397
11437
  o(d, {
11398
11438
  ref: "notifyFormRef",
11399
11439
  model: e.notifyForm,
@@ -11446,10 +11486,10 @@ function Ei(e, t, r, l, u, y) {
11446
11486
  _: 1
11447
11487
  }, 8, ["title", "size", "onCancel", "onSubmit"]);
11448
11488
  }
11449
- const Ri = /* @__PURE__ */ z(Li, [["render", Ei], ["__scopeId", "data-v-e0147848"]]), Pi = Y({
11489
+ const Ni = /* @__PURE__ */ z(Ri, [["render", Pi], ["__scopeId", "data-v-e0147848"]]), Ii = Y({
11450
11490
  components: {
11451
11491
  ListReport: oe,
11452
- notifyDrawer: Ri,
11492
+ notifyDrawer: Ni,
11453
11493
  PageDesc: te
11454
11494
  },
11455
11495
  data() {
@@ -11525,12 +11565,12 @@ const Ri = /* @__PURE__ */ z(Li, [["render", Ei], ["__scopeId", "data-v-e0147848
11525
11565
  });
11526
11566
  }
11527
11567
  }
11528
- }), Ni = { class: "notify_wrapper" }, Ii = { class: "searchInputCustomStyle" };
11529
- function Vi(e, t, r, l, u, y) {
11530
- const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-divider"), C = a("el-table"), k = a("el-pagination"), v = a("ListReport"), S = a("notifyDrawer"), U = M("emoji"), I = M("loading");
11531
- return m(), V("div", Ni, [
11532
- o(s, { desc: "通知管理,支持系统通知消息的增删改查。" }),
11533
- E((m(), _(v, { class: "notify_block" }, {
11568
+ }), Vi = { class: "notify_wrapper" }, qi = { class: "searchInputCustomStyle" };
11569
+ function Oi(e, t, r, l, u, y) {
11570
+ const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-divider"), C = a("el-table"), k = a("el-pagination"), v = a("ListReport"), S = a("notifyDrawer"), U = M("emoji"), V = M("loading");
11571
+ return m(), I("div", Vi, [
11572
+ o(s),
11573
+ E((m(), w(v, { class: "notify_block" }, {
11534
11574
  filter: n(() => [
11535
11575
  o(b, {
11536
11576
  ref: "searchForm",
@@ -11547,7 +11587,7 @@ function Vi(e, t, r, l, u, y) {
11547
11587
  default: n(() => [
11548
11588
  E(o(i, {
11549
11589
  modelValue: e.listQuery.query.title,
11550
- "onUpdate:modelValue": t[0] || (t[0] = (w) => e.listQuery.query.title = w),
11590
+ "onUpdate:modelValue": t[0] || (t[0] = (_) => e.listQuery.query.title = _),
11551
11591
  placeholder: "请输入通知标题",
11552
11592
  clearable: "",
11553
11593
  maxlength: "12"
@@ -11564,7 +11604,7 @@ function Vi(e, t, r, l, u, y) {
11564
11604
  default: n(() => [
11565
11605
  E(o(i, {
11566
11606
  modelValue: e.listQuery.query.content,
11567
- "onUpdate:modelValue": t[1] || (t[1] = (w) => e.listQuery.query.content = w),
11607
+ "onUpdate:modelValue": t[1] || (t[1] = (_) => e.listQuery.query.content = _),
11568
11608
  placeholder: "请输入通知内容",
11569
11609
  clearable: "",
11570
11610
  maxlength: "12"
@@ -11604,12 +11644,12 @@ function Vi(e, t, r, l, u, y) {
11604
11644
  }, 8, ["model", "onSubmit"])
11605
11645
  ]),
11606
11646
  toolbar: n(() => [
11607
- T("div", Ii, [
11608
- e.checkPermission(["ROLE_NOTIFY_CREATE"]) ? (m(), _(p, {
11647
+ T("div", qi, [
11648
+ e.checkPermission(["ROLE_NOTIFY_CREATE"]) ? (m(), w(p, {
11609
11649
  key: 0,
11610
11650
  style: { width: "88px" },
11611
11651
  type: "primary",
11612
- onClick: t[2] || (t[2] = (w) => e.detail(null, "add"))
11652
+ onClick: t[2] || (t[2] = (_) => e.detail(null, "add"))
11613
11653
  }, {
11614
11654
  default: n(() => [...t[5] || (t[5] = [
11615
11655
  c("新建 ", -1)
@@ -11637,8 +11677,8 @@ function Vi(e, t, r, l, u, y) {
11637
11677
  prop: "createTime",
11638
11678
  label: "创建时间"
11639
11679
  }, {
11640
- default: n((w) => [
11641
- T("span", null, R(e.dayjs(w.row.createTime).format("YYYY-MM-DD HH:mm:ss")), 1)
11680
+ default: n((_) => [
11681
+ T("span", null, R(e.dayjs(_.row.createTime).format("YYYY-MM-DD HH:mm:ss")), 1)
11642
11682
  ]),
11643
11683
  _: 1
11644
11684
  }),
@@ -11647,27 +11687,27 @@ function Vi(e, t, r, l, u, y) {
11647
11687
  label: "操作",
11648
11688
  width: "160"
11649
11689
  }, {
11650
- default: n((w) => [
11651
- e.checkPermission(["ROLE_NOTIFY_UPDATE"]) ? (m(), _(p, {
11690
+ default: n((_) => [
11691
+ e.checkPermission(["ROLE_NOTIFY_UPDATE"]) ? (m(), w(p, {
11652
11692
  key: 0,
11653
11693
  type: "primary",
11654
11694
  text: "",
11655
- onClick: (D) => e.detail(w.row, "edit")
11695
+ onClick: (D) => e.detail(_.row, "edit")
11656
11696
  }, {
11657
11697
  default: n(() => [...t[6] || (t[6] = [
11658
11698
  c("编辑 ", -1)
11659
11699
  ])]),
11660
11700
  _: 1
11661
11701
  }, 8, ["onClick"])) : P("", !0),
11662
- e.checkPermission(["ROLE_NOTIFY_DELETE"]) ? (m(), _(g, {
11702
+ e.checkPermission(["ROLE_NOTIFY_DELETE"]) ? (m(), w(g, {
11663
11703
  key: 1,
11664
11704
  direction: "vertical"
11665
11705
  })) : P("", !0),
11666
- e.checkPermission(["ROLE_NOTIFY_DELETE"]) ? (m(), _(p, {
11706
+ e.checkPermission(["ROLE_NOTIFY_DELETE"]) ? (m(), w(p, {
11667
11707
  key: 2,
11668
11708
  type: "primary",
11669
11709
  text: "",
11670
- onClick: (D) => e.deleteNotify(w.row)
11710
+ onClick: (D) => e.deleteNotify(_.row)
11671
11711
  }, {
11672
11712
  default: n(() => [...t[7] || (t[7] = [
11673
11713
  c("删除 ", -1)
@@ -11696,7 +11736,7 @@ function Vi(e, t, r, l, u, y) {
11696
11736
  ]),
11697
11737
  _: 1
11698
11738
  })), [
11699
- [I, e.loading]
11739
+ [V, e.loading]
11700
11740
  ]),
11701
11741
  o(S, {
11702
11742
  ref: "notifyDrawerRef",
@@ -11704,7 +11744,7 @@ function Vi(e, t, r, l, u, y) {
11704
11744
  }, null, 8, ["onReload"])
11705
11745
  ]);
11706
11746
  }
11707
- const zs = /* @__PURE__ */ z(Pi, [["render", Vi], ["__scopeId", "data-v-ba9f608a"]]), qi = Y({
11747
+ const js = /* @__PURE__ */ z(Ii, [["render", Oi], ["__scopeId", "data-v-981eb580"]]), Ai = Y({
11708
11748
  components: {
11709
11749
  xdmpDrawer: ee
11710
11750
  },
@@ -11760,9 +11800,9 @@ const zs = /* @__PURE__ */ z(Pi, [["render", Vi], ["__scopeId", "data-v-ba9f608a
11760
11800
  }
11761
11801
  }
11762
11802
  });
11763
- function Oi(e, t, r, l, u, y) {
11803
+ function Mi(e, t, r, l, u, y) {
11764
11804
  const s = a("el-input"), i = a("el-form-item"), d = a("el-form"), p = a("xdmpDrawer");
11765
- return m(), V("div", null, [
11805
+ return m(), I("div", null, [
11766
11806
  o(p, {
11767
11807
  ref: "xdmpDrawer",
11768
11808
  title: e.title,
@@ -11834,10 +11874,10 @@ function Oi(e, t, r, l, u, y) {
11834
11874
  }, 8, ["title", "size", "show-footer", "onSubmit", "onCancel"])
11835
11875
  ]);
11836
11876
  }
11837
- const Ai = /* @__PURE__ */ z(qi, [["render", Oi]]), Mi = Y({
11877
+ const Ui = /* @__PURE__ */ z(Ai, [["render", Mi]]), zi = Y({
11838
11878
  components: {
11839
11879
  ListReport: oe,
11840
- positionDrawer: Ai,
11880
+ positionDrawer: Ui,
11841
11881
  PageDesc: te
11842
11882
  },
11843
11883
  data() {
@@ -11845,6 +11885,7 @@ const Ai = /* @__PURE__ */ z(qi, [["render", Oi]]), Mi = Y({
11845
11885
  loading: !1,
11846
11886
  total: 0,
11847
11887
  list: [],
11888
+ RETAIN_MSG_DELETE: je,
11848
11889
  queryParams: {
11849
11890
  query: {
11850
11891
  name: ""
@@ -11861,7 +11902,6 @@ const Ai = /* @__PURE__ */ z(qi, [["render", Oi]]), Mi = Y({
11861
11902
  dayjs: O,
11862
11903
  checkPermission: se,
11863
11904
  isRetainYes: ue,
11864
- RETAIN_MSG_DELETE: je,
11865
11905
  async getPositionList() {
11866
11906
  this.loading = !0;
11867
11907
  try {
@@ -11915,12 +11955,12 @@ const Ai = /* @__PURE__ */ z(qi, [["render", Oi]]), Mi = Y({
11915
11955
  this.queryParams.pageNo = e, this.getPositionList();
11916
11956
  }
11917
11957
  }
11918
- }), Ui = { class: "position_wrapper" };
11919
- function zi(e, t, r, l, u, y) {
11920
- const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-divider"), C = a("el-tooltip"), k = a("el-table"), v = a("el-pagination"), S = a("ListReport"), U = a("positionDrawer"), I = M("loading");
11921
- return m(), V("div", Ui, [
11922
- o(s, { desc: "职位管理,支持职位信息的增删改查。" }),
11923
- E((m(), _(S, { class: "position_block" }, {
11958
+ }), Yi = { class: "position_wrapper" };
11959
+ function ji(e, t, r, l, u, y) {
11960
+ const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-button"), b = a("el-form"), f = a("el-table-column"), g = a("el-divider"), C = a("el-tooltip"), k = a("el-table"), v = a("el-pagination"), S = a("ListReport"), U = a("positionDrawer"), V = M("loading");
11961
+ return m(), I("div", Yi, [
11962
+ o(s),
11963
+ E((m(), w(S, { class: "position_block" }, {
11924
11964
  filter: n(() => [
11925
11965
  o(b, {
11926
11966
  ref: "searchForm",
@@ -11937,7 +11977,7 @@ function zi(e, t, r, l, u, y) {
11937
11977
  default: n(() => [
11938
11978
  o(i, {
11939
11979
  modelValue: e.queryParams.query.name,
11940
- "onUpdate:modelValue": t[0] || (t[0] = (w) => e.queryParams.query.name = w),
11980
+ "onUpdate:modelValue": t[0] || (t[0] = (_) => e.queryParams.query.name = _),
11941
11981
  placeholder: "请输入职位名称",
11942
11982
  clearable: ""
11943
11983
  }, null, 8, ["modelValue"])
@@ -11975,7 +12015,7 @@ function zi(e, t, r, l, u, y) {
11975
12015
  ]),
11976
12016
  toolbar: n(() => [
11977
12017
  T("div", null, [
11978
- e.checkPermission(["ROLE_POSITION_CREATE"]) ? (m(), _(p, {
12018
+ e.checkPermission(["ROLE_POSITION_CREATE"]) ? (m(), w(p, {
11979
12019
  key: 0,
11980
12020
  type: "primary",
11981
12021
  style: { width: "88px" },
@@ -12008,8 +12048,8 @@ function zi(e, t, r, l, u, y) {
12008
12048
  prop: "sortOrder",
12009
12049
  label: "排序值"
12010
12050
  }, {
12011
- default: n((w) => [
12012
- c(R(w.row.sortOrder || "-"), 1)
12051
+ default: n((_) => [
12052
+ c(R(_.row.sortOrder || "-"), 1)
12013
12053
  ]),
12014
12054
  _: 1
12015
12055
  }),
@@ -12017,8 +12057,8 @@ function zi(e, t, r, l, u, y) {
12017
12057
  prop: "createTime",
12018
12058
  label: "创建时间"
12019
12059
  }, {
12020
- default: n((w) => [
12021
- c(R(w.row.createTime ? e.dayjs(w.row.createTime).format("YYYY-MM-DD HH:mm:ss") : "-"), 1)
12060
+ default: n((_) => [
12061
+ c(R(_.row.createTime ? e.dayjs(_.row.createTime).format("YYYY-MM-DD HH:mm:ss") : "-"), 1)
12022
12062
  ]),
12023
12063
  _: 1
12024
12064
  }),
@@ -12027,12 +12067,12 @@ function zi(e, t, r, l, u, y) {
12027
12067
  label: "操作",
12028
12068
  width: "160"
12029
12069
  }, {
12030
- default: n((w) => [
12031
- e.checkPermission(["ROLE_POSITION_UPDATE"]) ? (m(), _(p, {
12070
+ default: n((_) => [
12071
+ e.checkPermission(["ROLE_POSITION_UPDATE"]) ? (m(), w(p, {
12032
12072
  key: 0,
12033
12073
  text: "",
12034
12074
  type: "primary",
12035
- onClick: (D) => e.editPosition(w.row)
12075
+ onClick: (D) => e.editPosition(_.row)
12036
12076
  }, {
12037
12077
  default: n(() => [...t[4] || (t[4] = [
12038
12078
  c("编辑 ", -1)
@@ -12041,18 +12081,18 @@ function zi(e, t, r, l, u, y) {
12041
12081
  }, 8, ["onClick"])) : P("", !0),
12042
12082
  o(g, { direction: "vertical" }),
12043
12083
  o(C, {
12044
- disabled: !e.isRetainYes(w.row.retainFlag),
12084
+ disabled: !e.isRetainYes(_.row.retainFlag),
12045
12085
  content: e.RETAIN_MSG_DELETE,
12046
12086
  placement: "top"
12047
12087
  }, {
12048
12088
  default: n(() => [
12049
12089
  T("span", null, [
12050
- e.checkPermission(["ROLE_POSITION_DELETE"]) ? (m(), _(p, {
12090
+ e.checkPermission(["ROLE_POSITION_DELETE"]) ? (m(), w(p, {
12051
12091
  key: 0,
12052
12092
  text: "",
12053
12093
  type: "primary",
12054
- disabled: e.isRetainYes(w.row.retainFlag),
12055
- onClick: (D) => e.deletePosition(w.row)
12094
+ disabled: e.isRetainYes(_.row.retainFlag),
12095
+ onClick: (D) => e.deletePosition(_.row)
12056
12096
  }, {
12057
12097
  default: n(() => [...t[5] || (t[5] = [
12058
12098
  c("删除", -1)
@@ -12085,7 +12125,7 @@ function zi(e, t, r, l, u, y) {
12085
12125
  ]),
12086
12126
  _: 1
12087
12127
  })), [
12088
- [I, e.loading]
12128
+ [V, e.loading]
12089
12129
  ]),
12090
12130
  o(U, {
12091
12131
  ref: "positionDrawer",
@@ -12093,16 +12133,16 @@ function zi(e, t, r, l, u, y) {
12093
12133
  }, null, 8, ["onReload"])
12094
12134
  ]);
12095
12135
  }
12096
- const Ys = /* @__PURE__ */ z(Mi, [["render", zi], ["__scopeId", "data-v-5c01c15a"]]), Yi = Y({
12136
+ const Bs = /* @__PURE__ */ z(zi, [["render", ji], ["__scopeId", "data-v-9ee3b2ff"]]), Bi = Y({
12097
12137
  name: "SystemDepart"
12098
- }), ji = { class: "app-container" };
12099
- function Bi(e, t, r, l, u, y) {
12100
- return m(), V("div", ji, [...t[0] || (t[0] = [
12138
+ }), Ki = { class: "app-container" };
12139
+ function Hi(e, t, r, l, u, y) {
12140
+ return m(), I("div", Ki, [...t[0] || (t[0] = [
12101
12141
  T("h2", null, "组织管理", -1),
12102
12142
  T("p", null, "组织管理页面", -1)
12103
12143
  ])]);
12104
12144
  }
12105
- const js = /* @__PURE__ */ z(Yi, [["render", Bi]]), Ki = {
12145
+ const Ks = /* @__PURE__ */ z(Bi, [["render", Hi]]), Qi = {
12106
12146
  components: {
12107
12147
  xdmpDrawer: ee,
12108
12148
  JsonPreview: yt
@@ -12142,9 +12182,9 @@ const js = /* @__PURE__ */ z(Yi, [["render", Bi]]), Ki = {
12142
12182
  }
12143
12183
  }
12144
12184
  };
12145
- function Hi(e, t, r, l, u, y) {
12185
+ function Gi(e, t, r, l, u, y) {
12146
12186
  const s = a("el-input"), i = a("el-form-item"), d = a("JsonPreview"), p = a("el-form"), b = a("xdmpDrawer"), f = M("emoji");
12147
- return m(), V("div", null, [
12187
+ return m(), I("div", null, [
12148
12188
  o(b, {
12149
12189
  ref: "xdmpDrawer",
12150
12190
  title: u.title,
@@ -12209,11 +12249,11 @@ function Hi(e, t, r, l, u, y) {
12209
12249
  }, 8, ["title", "size", "onCancel"])
12210
12250
  ]);
12211
12251
  }
12212
- const Qi = /* @__PURE__ */ z(Ki, [["render", Hi], ["__scopeId", "data-v-82f42eef"]]), Gi = {
12252
+ const Ji = /* @__PURE__ */ z(Qi, [["render", Gi], ["__scopeId", "data-v-82f42eef"]]), Wi = {
12213
12253
  name: "ApplyLog",
12214
12254
  components: {
12215
12255
  ListReport: oe,
12216
- ApplyLogDrawer: Qi
12256
+ ApplyLogDrawer: Ji
12217
12257
  },
12218
12258
  data() {
12219
12259
  return {
@@ -12287,10 +12327,10 @@ const Qi = /* @__PURE__ */ z(Ki, [["render", Hi], ["__scopeId", "data-v-82f42eef
12287
12327
  }
12288
12328
  }
12289
12329
  };
12290
- function Ji(e, t, r, l, u, y) {
12291
- const s = a("el-input"), i = a("el-form-item"), d = a("el-option"), p = a("el-select"), b = a("el-date-picker"), f = a("el-button"), g = a("el-form"), C = a("el-table-column"), k = a("el-table"), v = a("el-pagination"), S = a("ListReport"), U = a("ApplyLogDrawer"), I = M("emoji"), w = M("loading");
12292
- return m(), V("div", null, [
12293
- E((m(), _(S, { class: "data_block" }, {
12330
+ function Zi(e, t, r, l, u, y) {
12331
+ const s = a("el-input"), i = a("el-form-item"), d = a("el-option"), p = a("el-select"), b = a("el-date-picker"), f = a("el-button"), g = a("el-form"), C = a("el-table-column"), k = a("el-table"), v = a("el-pagination"), S = a("ListReport"), U = a("ApplyLogDrawer"), V = M("emoji"), _ = M("loading");
12332
+ return m(), I("div", null, [
12333
+ E((m(), w(S, { class: "data_block" }, {
12294
12334
  filter: n(() => [
12295
12335
  o(g, {
12296
12336
  ref: "searchForm",
@@ -12311,7 +12351,7 @@ function Ji(e, t, r, l, u, y) {
12311
12351
  maxlength: "32",
12312
12352
  placeholder: "请输入操作"
12313
12353
  }, null, 8, ["modelValue"]), [
12314
- [I]
12354
+ [V]
12315
12355
  ])
12316
12356
  ]),
12317
12357
  _: 1
@@ -12321,7 +12361,7 @@ function Ji(e, t, r, l, u, y) {
12321
12361
  prop: "successFlag"
12322
12362
  }, {
12323
12363
  default: n(() => [
12324
- E((m(), _(p, {
12364
+ E((m(), w(p, {
12325
12365
  modelValue: u.queryParams.query.successFlag,
12326
12366
  "onUpdate:modelValue": t[1] || (t[1] = (D) => u.queryParams.query.successFlag = D),
12327
12367
  maxlength: "32",
@@ -12343,7 +12383,7 @@ function Ji(e, t, r, l, u, y) {
12343
12383
  ]),
12344
12384
  _: 1
12345
12385
  }, 8, ["modelValue"])), [
12346
- [I]
12386
+ [V]
12347
12387
  ])
12348
12388
  ]),
12349
12389
  _: 1
@@ -12496,21 +12536,21 @@ function Ji(e, t, r, l, u, y) {
12496
12536
  ]),
12497
12537
  _: 1
12498
12538
  })), [
12499
- [w, u.loading]
12539
+ [_, u.loading]
12500
12540
  ]),
12501
12541
  o(U, { ref: "applyLogDrawerRef" }, null, 512)
12502
12542
  ]);
12503
12543
  }
12504
- const Wi = /* @__PURE__ */ z(Gi, [["render", Ji], ["__scopeId", "data-v-b0e87ae5"]]), Zi = {
12544
+ const Xi = /* @__PURE__ */ z(Wi, [["render", Zi], ["__scopeId", "data-v-b0e87ae5"]]), xi = {
12505
12545
  name: "AppLogPage",
12506
12546
  components: {
12507
12547
  pageDecs: te,
12508
- applyLog: Wi
12548
+ applyLog: Xi
12509
12549
  }
12510
12550
  };
12511
- function Xi(e, t, r, l, u, y) {
12551
+ function es(e, t, r, l, u, y) {
12512
12552
  const s = a("pageDecs"), i = a("applyLog");
12513
- return m(), V("div", null, [
12553
+ return m(), I("div", null, [
12514
12554
  o(s, {
12515
12555
  title: "应用日志",
12516
12556
  desc: "查询平台应用侧调用日志,可按操作、状态与时间区间筛选。"
@@ -12518,7 +12558,7 @@ function Xi(e, t, r, l, u, y) {
12518
12558
  o(i)
12519
12559
  ]);
12520
12560
  }
12521
- const Bs = /* @__PURE__ */ z(Zi, [["render", Xi]]), xi = /^[a-z]([a-z0-9-]{0,48}[a-z0-9])$/, es = "以小写字母开头,2-50 位,仅小写字母、数字与中划线,且不以中划线结尾", ts = Y({
12561
+ const Hs = /* @__PURE__ */ z(xi, [["render", es]]), ts = /^[a-z]([a-z0-9-]{0,48}[a-z0-9])$/, os = "以小写字母开头,2-50 位,仅小写字母、数字与中划线,且不以中划线结尾", ns = Y({
12522
12562
  components: {
12523
12563
  xdmpDrawer: ee
12524
12564
  },
@@ -12540,8 +12580,8 @@ const Bs = /* @__PURE__ */ z(Zi, [["render", Xi]]), xi = /^[a-z]([a-z0-9-]{0,48}
12540
12580
  tenantCode: [
12541
12581
  { required: !0, message: "请输入租户编码", trigger: "blur" },
12542
12582
  {
12543
- pattern: xi,
12544
- message: es,
12583
+ pattern: ts,
12584
+ message: os,
12545
12585
  trigger: "blur"
12546
12586
  }
12547
12587
  ],
@@ -12604,9 +12644,9 @@ const Bs = /* @__PURE__ */ z(Zi, [["render", Xi]]), xi = /^[a-z]([a-z0-9-]{0,48}
12604
12644
  }
12605
12645
  }
12606
12646
  });
12607
- function os(e, t, r, l, u, y) {
12647
+ function rs(e, t, r, l, u, y) {
12608
12648
  const s = a("el-input"), i = a("el-form-item"), d = a("el-option"), p = a("el-select"), b = a("el-form"), f = a("xdmpDrawer");
12609
- return m(), V("div", null, [
12649
+ return m(), I("div", null, [
12610
12650
  o(f, {
12611
12651
  ref: "xdmpDrawer",
12612
12652
  title: e.title,
@@ -12654,7 +12694,7 @@ function os(e, t, r, l, u, y) {
12654
12694
  ]),
12655
12695
  _: 1
12656
12696
  }),
12657
- e.mode === "add" ? (m(), _(i, {
12697
+ e.mode === "add" ? (m(), w(i, {
12658
12698
  key: 0,
12659
12699
  prop: "parentId",
12660
12700
  label: "上级租户"
@@ -12668,7 +12708,7 @@ function os(e, t, r, l, u, y) {
12668
12708
  filterable: ""
12669
12709
  }, {
12670
12710
  default: n(() => [
12671
- (m(!0), V(ie, null, de(e.parentOptions, (g) => (m(), _(d, {
12711
+ (m(!0), I(ie, null, de(e.parentOptions, (g) => (m(), w(d, {
12672
12712
  key: g.id,
12673
12713
  label: g.label,
12674
12714
  value: g.id
@@ -12679,7 +12719,7 @@ function os(e, t, r, l, u, y) {
12679
12719
  ]),
12680
12720
  _: 1
12681
12721
  })) : P("", !0),
12682
- e.mode === "add" ? (m(), _(i, {
12722
+ e.mode === "add" ? (m(), w(i, {
12683
12723
  key: 1,
12684
12724
  prop: "domain",
12685
12725
  label: "独立域名"
@@ -12717,10 +12757,10 @@ function os(e, t, r, l, u, y) {
12717
12757
  }, 8, ["title", "size", "onSubmit", "onCancel"])
12718
12758
  ]);
12719
12759
  }
12720
- const ns = /* @__PURE__ */ z(ts, [["render", os]]), rs = Y({
12760
+ const as = /* @__PURE__ */ z(ns, [["render", rs]]), ls = Y({
12721
12761
  components: {
12722
12762
  ListReport: oe,
12723
- tenantDrawer: ns,
12763
+ tenantDrawer: as,
12724
12764
  PageDesc: te
12725
12765
  },
12726
12766
  data() {
@@ -12729,7 +12769,8 @@ const ns = /* @__PURE__ */ z(ts, [["render", os]]), rs = Y({
12729
12769
  total: 0,
12730
12770
  list: [],
12731
12771
  parentLabels: {},
12732
- impersonateTenantId: Uo(),
12772
+ tenantMode: Uo(),
12773
+ impersonateTenantId: zo(),
12733
12774
  queryParams: {
12734
12775
  query: {
12735
12776
  keyword: "",
@@ -12821,7 +12862,7 @@ const ns = /* @__PURE__ */ z(ts, [["render", os]]), rs = Y({
12821
12862
  });
12822
12863
  },
12823
12864
  impersonateTenant(e) {
12824
- W.confirm(
12865
+ this.tenantMode === "saas" && W.confirm(
12825
12866
  `确定代入租户「${e.tenantName}」吗?代入后仅可见该租户数据,操作将记入审计。`,
12826
12867
  "提示",
12827
12868
  { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }
@@ -12842,12 +12883,12 @@ const ns = /* @__PURE__ */ z(ts, [["render", os]]), rs = Y({
12842
12883
  this.queryParams.pageNo = e, this.getTenantList();
12843
12884
  }
12844
12885
  }
12845
- }), as = { class: "tenant_wrapper" };
12846
- function ls(e, t, r, l, u, y) {
12847
- const s = a("pageDesc"), i = a("el-button"), d = a("el-alert"), p = a("el-input"), b = a("el-form-item"), f = a("el-option"), g = a("el-select"), C = a("el-form"), k = a("el-table-column"), v = a("el-divider"), S = a("el-table"), U = a("el-pagination"), I = a("ListReport"), w = a("tenantDrawer"), D = M("loading");
12848
- return m(), V("div", as, [
12849
- o(s, { desc: "租户管理(SaaS 运营台):开通/停用租户、绑定独立域名,代入后仅可见目标租户数据。" }),
12850
- e.impersonateTenantId ? (m(), _(d, {
12886
+ }), is = { class: "tenant_wrapper" };
12887
+ function ss(e, t, r, l, u, y) {
12888
+ const s = a("pageDesc"), i = a("el-button"), d = a("el-alert"), p = a("el-input"), b = a("el-form-item"), f = a("el-option"), g = a("el-select"), C = a("el-form"), k = a("el-table-column"), v = a("el-divider"), S = a("el-table"), U = a("el-pagination"), V = a("ListReport"), _ = a("tenantDrawer"), D = M("loading");
12889
+ return m(), I("div", is, [
12890
+ o(s),
12891
+ e.impersonateTenantId && e.tenantMode === "saas" ? (m(), w(d, {
12851
12892
  key: 0,
12852
12893
  class: "tenant_impersonate_tip",
12853
12894
  type: "warning",
@@ -12869,7 +12910,7 @@ function ls(e, t, r, l, u, y) {
12869
12910
  ]),
12870
12911
  _: 1
12871
12912
  })) : P("", !0),
12872
- E((m(), _(I, { class: "tenant_block" }, {
12913
+ E((m(), w(V, { class: "tenant_block" }, {
12873
12914
  filter: n(() => [
12874
12915
  o(C, {
12875
12916
  ref: "searchForm",
@@ -12950,7 +12991,7 @@ function ls(e, t, r, l, u, y) {
12950
12991
  ]),
12951
12992
  toolbar: n(() => [
12952
12993
  T("div", null, [
12953
- e.checkPermission(["ROLE_TENANT_CREATE"]) ? (m(), _(i, {
12994
+ e.checkPermission(["ROLE_TENANT_CREATE"]) ? (m(), w(i, {
12954
12995
  key: 0,
12955
12996
  type: "primary",
12956
12997
  style: { width: "88px" },
@@ -13034,7 +13075,7 @@ function ls(e, t, r, l, u, y) {
13034
13075
  width: "280"
13035
13076
  }, {
13036
13077
  default: n((h) => [
13037
- e.checkPermission(["ROLE_TENANT_UPDATE"]) ? (m(), _(i, {
13078
+ e.checkPermission(["ROLE_TENANT_UPDATE"]) ? (m(), w(i, {
13038
13079
  key: 0,
13039
13080
  text: "",
13040
13081
  type: "primary",
@@ -13046,7 +13087,7 @@ function ls(e, t, r, l, u, y) {
13046
13087
  _: 1
13047
13088
  }, 8, ["onClick"])) : P("", !0),
13048
13089
  o(v, { direction: "vertical" }),
13049
- e.checkPermission(["ROLE_TENANT_DOMAIN"]) ? (m(), _(i, {
13090
+ e.checkPermission(["ROLE_TENANT_DOMAIN"]) ? (m(), w(i, {
13050
13091
  key: 1,
13051
13092
  text: "",
13052
13093
  type: "primary",
@@ -13058,7 +13099,7 @@ function ls(e, t, r, l, u, y) {
13058
13099
  _: 1
13059
13100
  }, 8, ["onClick"])) : P("", !0),
13060
13101
  o(v, { direction: "vertical" }),
13061
- e.checkPermission(["ROLE_TENANT_CHANGE_STATUS"]) ? (m(), _(i, {
13102
+ e.checkPermission(["ROLE_TENANT_CHANGE_STATUS"]) ? (m(), w(i, {
13062
13103
  key: 2,
13063
13104
  text: "",
13064
13105
  type: "primary",
@@ -13070,7 +13111,7 @@ function ls(e, t, r, l, u, y) {
13070
13111
  _: 2
13071
13112
  }, 1032, ["onClick"])) : P("", !0),
13072
13113
  o(v, { direction: "vertical" }),
13073
- e.checkPermission(["ROLE_TENANT_IMPERSONATE"]) ? (m(), _(i, {
13114
+ e.tenantMode === "saas" && e.checkPermission(["ROLE_TENANT_IMPERSONATE"]) ? (m(), w(i, {
13074
13115
  key: 3,
13075
13116
  text: "",
13076
13117
  type: "primary",
@@ -13106,13 +13147,13 @@ function ls(e, t, r, l, u, y) {
13106
13147
  })), [
13107
13148
  [D, e.loading]
13108
13149
  ]),
13109
- o(w, {
13150
+ o(_, {
13110
13151
  ref: "tenantDrawer",
13111
13152
  onReload: e.reloadAll
13112
13153
  }, null, 8, ["onReload"])
13113
13154
  ]);
13114
13155
  }
13115
- const Ks = /* @__PURE__ */ z(rs, [["render", ls], ["__scopeId", "data-v-92963ddf"]]), is = Y({
13156
+ const Qs = /* @__PURE__ */ z(ls, [["render", ss], ["__scopeId", "data-v-b6a23d51"]]), ds = Y({
13116
13157
  components: {
13117
13158
  xdmpDrawer: ee,
13118
13159
  AvatarUpload: rt
@@ -13190,9 +13231,9 @@ const Ks = /* @__PURE__ */ z(rs, [["render", ls], ["__scopeId", "data-v-92963ddf
13190
13231
  }
13191
13232
  }
13192
13233
  });
13193
- function ss(e, t, r, l, u, y) {
13234
+ function us(e, t, r, l, u, y) {
13194
13235
  const s = a("el-input"), i = a("el-form-item"), d = a("el-option"), p = a("el-select"), b = a("AvatarUpload"), f = a("el-form"), g = a("xdmpDrawer"), C = M("emoji");
13195
- return m(), V("div", null, [
13236
+ return m(), I("div", null, [
13196
13237
  o(g, {
13197
13238
  ref: "xdmpDrawer",
13198
13239
  title: e.title,
@@ -13257,7 +13298,7 @@ function ss(e, t, r, l, u, y) {
13257
13298
  style: { width: "100%" }
13258
13299
  }, {
13259
13300
  default: n(() => [
13260
- (m(!0), V(ie, null, de(e.genderList, (k) => (m(), _(d, {
13301
+ (m(!0), I(ie, null, de(e.genderList, (k) => (m(), w(d, {
13261
13302
  key: k.value,
13262
13303
  label: k.label,
13263
13304
  value: k.value
@@ -13290,15 +13331,15 @@ function ss(e, t, r, l, u, y) {
13290
13331
  }, 8, ["title", "size", "onCancel"])
13291
13332
  ]);
13292
13333
  }
13293
- const ds = /* @__PURE__ */ z(is, [["render", ss]]);
13294
- function us(e) {
13334
+ const ps = /* @__PURE__ */ z(ds, [["render", us]]);
13335
+ function ms(e) {
13295
13336
  return L().system.binary.download(e).then((t) => new Blob([t.data], { type: t.headers["content-type"] }));
13296
13337
  }
13297
- const ps = Y({
13338
+ const cs = Y({
13298
13339
  components: {
13299
13340
  ListReport: oe,
13300
13341
  pageDesc: te,
13301
- addMemberDrawer: ds
13342
+ addMemberDrawer: ps
13302
13343
  },
13303
13344
  data() {
13304
13345
  return {
@@ -13336,7 +13377,7 @@ const ps = Y({
13336
13377
  }
13337
13378
  });
13338
13379
  this.tableLoading = !1, this.list = t.list, this.total = t.total, this.list.forEach((r) => {
13339
- r.avatar && us(r.avatar).then((l) => {
13380
+ r.avatar && ms(r.avatar).then((l) => {
13340
13381
  r._avatarUrl = window.URL.createObjectURL(l);
13341
13382
  }).catch(() => {
13342
13383
  });
@@ -13388,12 +13429,12 @@ const ps = Y({
13388
13429
  });
13389
13430
  }
13390
13431
  }
13391
- }), ms = { class: "member_wrapper" };
13392
- function cs(e, t, r, l, u, y) {
13393
- const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-option"), b = a("el-select"), f = a("el-button"), g = a("el-form"), C = a("el-image"), k = a("UserFilled"), v = a("el-icon"), S = a("el-table-column"), U = a("el-divider"), I = a("el-table"), w = a("el-pagination"), D = a("ListReport"), h = a("addMemberDrawer"), H = M("emoji"), ce = M("permission"), re = M("loading");
13394
- return m(), V("div", ms, [
13395
- o(s, { desc: "成员管理,支持系统成员的增删改查。" }),
13396
- E((m(), _(D, { class: "member_block" }, {
13432
+ }), hs = { class: "member_wrapper" };
13433
+ function fs(e, t, r, l, u, y) {
13434
+ const s = a("pageDesc"), i = a("el-input"), d = a("el-form-item"), p = a("el-option"), b = a("el-select"), f = a("el-button"), g = a("el-form"), C = a("el-image"), k = a("UserFilled"), v = a("el-icon"), S = a("el-table-column"), U = a("el-divider"), V = a("el-table"), _ = a("el-pagination"), D = a("ListReport"), h = a("addMemberDrawer"), H = M("emoji"), ce = M("permission"), re = M("loading");
13435
+ return m(), I("div", hs, [
13436
+ o(s),
13437
+ E((m(), w(D, { class: "member_block" }, {
13397
13438
  filter: n(() => [
13398
13439
  o(g, {
13399
13440
  ref: "searchForm",
@@ -13475,7 +13516,7 @@ function cs(e, t, r, l, u, y) {
13475
13516
  }, 8, ["model", "onSubmit"])
13476
13517
  ]),
13477
13518
  view: n(() => [
13478
- o(I, {
13519
+ o(V, {
13479
13520
  style: { width: "100%", "margin-top": "16px" },
13480
13521
  "max-height": "650",
13481
13522
  data: e.list,
@@ -13488,13 +13529,13 @@ function cs(e, t, r, l, u, y) {
13488
13529
  align: "center"
13489
13530
  }, {
13490
13531
  default: n((G) => [
13491
- G.row._avatarUrl ? (m(), _(C, {
13532
+ G.row._avatarUrl ? (m(), w(C, {
13492
13533
  key: 0,
13493
13534
  src: G.row._avatarUrl,
13494
13535
  "preview-src-list": [],
13495
13536
  style: { width: "36px", height: "36px", "border-radius": "50%" },
13496
13537
  fit: "cover"
13497
- }, null, 8, ["src"])) : G.row.avatar ? (m(), _(v, {
13538
+ }, null, 8, ["src"])) : G.row.avatar ? (m(), w(v, {
13498
13539
  key: 1,
13499
13540
  size: 36,
13500
13541
  color: "#c0c4cc"
@@ -13503,7 +13544,7 @@ function cs(e, t, r, l, u, y) {
13503
13544
  o(k)
13504
13545
  ]),
13505
13546
  _: 1
13506
- })) : (m(), _(v, {
13547
+ })) : (m(), w(v, {
13507
13548
  key: 2,
13508
13549
  size: 36,
13509
13550
  color: "#c0c4cc"
@@ -13567,7 +13608,7 @@ function cs(e, t, r, l, u, y) {
13567
13608
  width: "220"
13568
13609
  }, {
13569
13610
  default: n((G) => [
13570
- E((m(), _(f, {
13611
+ E((m(), w(f, {
13571
13612
  type: "primary",
13572
13613
  text: "",
13573
13614
  onClick: (Q) => e.handleChangeStatus(G.row, G.row.enabledFlag)
@@ -13598,7 +13639,7 @@ function cs(e, t, r, l, u, y) {
13598
13639
  }, 8, ["data", "loading"])
13599
13640
  ]),
13600
13641
  pagination: n(() => [
13601
- o(w, {
13642
+ o(_, {
13602
13643
  class: "pagination",
13603
13644
  background: "",
13604
13645
  "current-page": e.queryParams.pageNo,
@@ -13617,42 +13658,43 @@ function cs(e, t, r, l, u, y) {
13617
13658
  o(h, { ref: "addMemberDrawer" }, null, 512)
13618
13659
  ]);
13619
13660
  }
13620
- const Hs = /* @__PURE__ */ z(ps, [["render", cs], ["__scopeId", "data-v-b5e7e198"]]);
13661
+ const Gs = /* @__PURE__ */ z(cs, [["render", fs], ["__scopeId", "data-v-7ccbceb7"]]);
13621
13662
  export {
13622
13663
  mt as A,
13623
13664
  Mo as B,
13624
- Uo as C,
13625
- Mt as D,
13626
- zo as E,
13665
+ zo as C,
13666
+ Uo as D,
13667
+ Mt as E,
13627
13668
  Yo as F,
13628
- ot as G,
13629
- vs as H,
13630
- L as I,
13631
- pt as J,
13669
+ jo as G,
13670
+ ot as H,
13671
+ $s as I,
13672
+ L as J,
13673
+ pt as K,
13632
13674
  z as _,
13633
- Is as a,
13634
- Hs as b,
13635
- Ts as c,
13636
- Ms as d,
13637
- Rs as e,
13638
- Os as f,
13639
- Ls as g,
13640
- Es as h,
13641
- Vs as i,
13642
- js as j,
13643
- qs as k,
13644
- As as l,
13645
- Bs as m,
13646
- Us as n,
13647
- zs as o,
13648
- Fs as p,
13649
- Ss as q,
13650
- Ys as r,
13651
- $s as s,
13652
- Ks as t,
13653
- Ds as u,
13654
- Ns as v,
13655
- Ps as w,
13675
+ qs as a,
13676
+ Gs as b,
13677
+ Fs as c,
13678
+ zs as d,
13679
+ Ns as e,
13680
+ Ms as f,
13681
+ Rs as g,
13682
+ Ps as h,
13683
+ Os as i,
13684
+ Ks as j,
13685
+ As as k,
13686
+ Us as l,
13687
+ Hs as m,
13688
+ Ys as n,
13689
+ js as o,
13690
+ Es as p,
13691
+ Ls as q,
13692
+ Bs as r,
13693
+ Ss as s,
13694
+ Qs as t,
13695
+ Ts as u,
13696
+ Vs as v,
13697
+ Is as w,
13656
13698
  se as x,
13657
13699
  At as y,
13658
13700
  Ot as z