gds-plus-design-vue 1.2.3 → 1.2.5

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 (91) hide show
  1. package/lib/{chartbi.06e48153.js → chartbi.b5b6fdab.js} +20 -20
  2. package/lib/{chartbi.cdd1e365.mjs → chartbi.b6818e8e.mjs} +20 -11
  3. package/lib/gd-initial.js +16 -16
  4. package/lib/gd-initial.mjs +7609 -3948
  5. package/lib/main.4e325110.mjs +123 -0
  6. package/lib/main.6713b76c.js +1 -0
  7. package/lib/{main.eb4b260e.mjs → main.955f770e.mjs} +16 -13
  8. package/lib/main.a28f67df.js +1 -0
  9. package/lib/main.b4a303dc.js +1 -0
  10. package/lib/{main.a30b25d6.mjs → main.be62e9a4.mjs} +15 -37
  11. package/lib/main.c59fc1e8.mjs +198 -0
  12. package/lib/main.f3ae0933.js +1 -0
  13. package/lib/messages.1346558e.js +9 -0
  14. package/lib/{messages.a1335b0f.mjs → messages.7e418640.mjs} +1117 -1087
  15. package/lib/style.css +3 -3
  16. package/lib/{system.account.20f9e450.mjs → system.account.64fbdaeb.mjs} +18 -18
  17. package/lib/{system.account.1ff630c9.js → system.account.7c43a95e.js} +1 -1
  18. package/lib/system.config.93d6cb7d.js +1 -0
  19. package/lib/{system.config.c85c05e9.mjs → system.config.f0d2d130.mjs} +7 -2
  20. package/lib/{system.datasource.272f1add.js → system.datasource.4bb39222.js} +1 -1
  21. package/lib/{system.datasource.f64a59de.mjs → system.datasource.61ff56ec.mjs} +3 -3
  22. package/lib/{system.dict.a23e8cdf.js → system.dict.5a2e60fe.js} +1 -1
  23. package/lib/{system.dict.565d69ca.mjs → system.dict.a817cf68.mjs} +2 -2
  24. package/lib/{system.duplicatechecking.f66790d1.js → system.duplicatechecking.65b77e64.js} +1 -1
  25. package/lib/{system.duplicatechecking.268544dd.mjs → system.duplicatechecking.751664ba.mjs} +15 -11
  26. package/lib/{system.email.ada25702.mjs → system.email.2f53252e.mjs} +2 -2
  27. package/lib/{system.email.00a93855.js → system.email.fec5ae26.js} +1 -1
  28. package/lib/{system.fieldsecurity.d14384cc.mjs → system.fieldsecurity.6feb94c3.mjs} +1 -1
  29. package/lib/{system.fieldsecurity.ede73621.js → system.fieldsecurity.920adca4.js} +1 -1
  30. package/lib/{system.file.a23b3c83.mjs → system.file.1930d109.mjs} +11 -6
  31. package/lib/system.file.5a9a5e0e.js +1 -0
  32. package/lib/{system.log.8a9f4a4d.mjs → system.log.61d303bd.mjs} +64 -81
  33. package/lib/system.log.b309c0e0.js +1 -0
  34. package/lib/{system.machine.7fa3e3d1.js → system.machine.9368e508.js} +1 -1
  35. package/lib/{system.machine.fc392d7f.mjs → system.machine.ed69ec93.mjs} +1 -1
  36. package/lib/{system.notice.6d0aa32c.mjs → system.notice.bd18554e.mjs} +248 -229
  37. package/lib/system.notice.ff62c06a.js +1 -0
  38. package/lib/{system.noticereceived.70963f1b.mjs → system.noticereceived.4dc360c0.mjs} +31 -28
  39. package/lib/system.noticereceived.9550818b.js +1 -0
  40. package/lib/{system.onlineuser.c58fb6ce.mjs → system.onlineuser.08a15a71.mjs} +22 -15
  41. package/lib/system.onlineuser.6cf4fe24.js +1 -0
  42. package/lib/{system.org.56151be8.js → system.org.0c67131d.js} +1 -1
  43. package/lib/{system.org.638db6d1.mjs → system.org.6e858bf3.mjs} +3 -3
  44. package/lib/{system.permissions.fcd56f67.js → system.permissions.af548a3b.js} +1 -1
  45. package/lib/{system.permissions.aa0cc0d6.mjs → system.permissions.cc5ac7ac.mjs} +3 -3
  46. package/lib/{system.plugin.b17efa53.js → system.plugin.83d03fb2.js} +1 -1
  47. package/lib/{system.plugin.beb44900.mjs → system.plugin.a1f1c194.mjs} +2 -2
  48. package/lib/{system.pos.e8d9c488.js → system.pos.eae2051e.js} +1 -1
  49. package/lib/{system.pos.699e8dd6.mjs → system.pos.eb8fd7dd.mjs} +2 -2
  50. package/lib/{system.promptmanagement.109a07f5.js → system.promptmanagement.04501417.js} +1 -1
  51. package/lib/{system.promptmanagement.2ce3e426.mjs → system.promptmanagement.c84db7d5.mjs} +7 -7
  52. package/lib/{system.role.230b1445.mjs → system.role.d2195303.mjs} +256 -241
  53. package/lib/system.role.e623c50b.js +1 -0
  54. package/lib/{system.sumberrules.fa1aab86.mjs → system.sumberrules.141dc00b.mjs} +2 -2
  55. package/lib/{system.sumberrules.38017ad1.js → system.sumberrules.a01e1805.js} +1 -1
  56. package/lib/system.team.0cebcde7.js +1 -0
  57. package/lib/{system.team.aeaede22.mjs → system.team.27a6d5d5.mjs} +318 -244
  58. package/lib/system.teammembers.b67f003f.js +1 -0
  59. package/lib/{system.teammembers.2e3309c3.mjs → system.teammembers.d73c659f.mjs} +78 -40
  60. package/lib/{system.timers.0ec63785.mjs → system.timers.4a3dd57d.mjs} +2 -2
  61. package/lib/{system.timers.b62568ad.js → system.timers.b27fcb6d.js} +1 -1
  62. package/lib/{system.translation.887fa90d.js → system.translation.d2c982ed.js} +1 -1
  63. package/lib/{system.translation.e71455aa.mjs → system.translation.d9488c23.mjs} +7 -7
  64. package/lib/{system.user.bed5f82a.js → system.user.0664c21c.js} +5 -5
  65. package/lib/{system.user.84227a85.mjs → system.user.6874aa87.mjs} +146 -84
  66. package/lib/{system.useraffiliation.b3f03a33.mjs → system.useraffiliation.5e3e2bab.mjs} +3 -3
  67. package/lib/{system.useraffiliation.7ec0fcae.js → system.useraffiliation.6b7a1612.js} +1 -1
  68. package/lib/{system.webresource.e6cb9173.mjs → system.webresource.204911b7.mjs} +16 -18
  69. package/lib/system.webresource.5de18052.js +1 -0
  70. package/lib/{system.welcome.120f4b50.mjs → system.welcome.79e15015.mjs} +1 -1
  71. package/lib/{system.welcome.472f099b.js → system.welcome.ec7aa744.js} +1 -1
  72. package/locale/en_US.js +71 -10
  73. package/locale/id_ID.js +69 -9
  74. package/locale/vi_VN.js +1973 -1913
  75. package/locale/zh_CN.js +63 -3
  76. package/package.json +1 -1
  77. package/lib/main.05252737.mjs +0 -87
  78. package/lib/main.458dc0a0.js +0 -1
  79. package/lib/main.4aebe1c9.js +0 -1
  80. package/lib/main.9801708f.js +0 -1
  81. package/lib/messages.30e41348.js +0 -9
  82. package/lib/system.config.532ab3b8.js +0 -1
  83. package/lib/system.file.aa567566.js +0 -1
  84. package/lib/system.log.b3666991.js +0 -1
  85. package/lib/system.notice.5fb1485e.js +0 -1
  86. package/lib/system.noticereceived.e5ef5883.js +0 -1
  87. package/lib/system.onlineuser.99e4de37.js +0 -1
  88. package/lib/system.role.f0d4082c.js +0 -1
  89. package/lib/system.team.3826e252.js +0 -1
  90. package/lib/system.teammembers.29128f16.js +0 -1
  91. package/lib/system.webresource.f8b78dd0.js +0 -1
@@ -1,8 +1,8 @@
1
- import { s as w, b as $, d as K, c as T, e as C, f as R, h as m, i as L, j as S, g as I, k as x, l as D, m as N, n as P } from "./system.fieldsecurity.d14384cc.mjs";
2
- import { m as h, n as u } from "./chartbi.cdd1e365.mjs";
3
- import { t as b } from "./messages.a1335b0f.mjs";
4
- import { a as v, e as B, f as F } from "./system.notice.6d0aa32c.mjs";
5
- import { S as M, b as A, d as O, p as E, e as z, f as y } from "./system.account.20f9e450.mjs";
1
+ import { s as w, b as $, d as K, c as C, e as T, f as R, h as m, i as S, j as L, g as I, k as x, l as P, m as D, n as N } from "./system.fieldsecurity.6feb94c3.mjs";
2
+ import { m as h, n as u } from "./chartbi.b6818e8e.mjs";
3
+ import { t as b } from "./messages.7e418640.mjs";
4
+ import { a as v, e as B, f as F } from "./system.notice.bd18554e.mjs";
5
+ import { S as A, b as M, d as E, p as O, e as z, f as y } from "./system.account.64fbdaeb.mjs";
6
6
  const j = {
7
7
  data() {
8
8
  return {
@@ -20,25 +20,25 @@ const j = {
20
20
  slotType: "name",
21
21
  align: "left",
22
22
  fixed: !0,
23
+ width: "200",
23
24
  renderHeader: (s, ...e) => this.renderHeader(s, ...e, {
24
25
  effectType: "input"
25
- }),
26
- showOverflowTooltip: !0
26
+ })
27
27
  },
28
28
  {
29
29
  transKey: "gd.org.code",
30
30
  prop: "code",
31
31
  label: "\u552F\u4E00\u7F16\u7801",
32
32
  align: "left",
33
+ width: "200",
33
34
  renderHeader: (s, ...e) => this.renderHeader(s, ...e, {
34
35
  effectType: "input"
35
- }),
36
- showOverflowTooltip: !0
36
+ })
37
37
  },
38
38
  {
39
39
  transKey: "gd.org.sort",
40
40
  prop: "sort",
41
- width: "200",
41
+ width: "120",
42
42
  label: "\u6392\u5E8F",
43
43
  align: "left"
44
44
  },
@@ -47,7 +47,7 @@ const j = {
47
47
  prop: "remark",
48
48
  label: "\u5907\u6CE8",
49
49
  align: "left",
50
- showOverflowTooltip: !0
50
+ width: "260"
51
51
  }
52
52
  ],
53
53
  formColumns: [{
@@ -275,8 +275,8 @@ const q = {
275
275
  };
276
276
  var G = function() {
277
277
  var e = this, t = e._self._c;
278
- return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(n) {
279
- e.visible = n;
278
+ return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
279
+ e.visible = i;
280
280
  }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.user.rangeRole", "\u6388\u6743\u8303\u56F4"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [e.visible ? t("el-tree", { ref: "tree", attrs: { data: e.orgTreeData, "show-checkbox": "", "node-key": "id", "default-expand-all": "", "default-checked-keys": e.checkedKeys, props: e.defaultProps } }) : e._e()], 1)], 2)], 1);
281
281
  }, V = [], H = /* @__PURE__ */ u(
282
282
  q,
@@ -413,8 +413,8 @@ const J = {
413
413
  e[s.index][s.name] = [...s.checkedKeys].join(","), this.loadData = [...e], this.refresh(), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F"));
414
414
  },
415
415
  openList(s, e, t) {
416
- const n = this.$refs.table.tableData, i = `${s.prop.replace("grantd", "")}custom`, a = n[t][i], l = a ? a.split(",").map(Number) : [];
417
- this.$refs.roleScope.open({ index: t, item: s, checkedKeys: l, data: e, name: i });
416
+ const i = this.$refs.table.tableData, n = `${s.prop.replace("grantd", "")}custom`, a = i[t][n], l = a ? a.split(",").map(Number) : [];
417
+ this.$refs.roleScope.open({ index: t, item: s, checkedKeys: l, data: e, name: n });
418
418
  },
419
419
  getUserControlData() {
420
420
  this.confirmLoading = !0, F({ roleId: this.record.id }).then((s) => {
@@ -450,16 +450,16 @@ const J = {
450
450
  };
451
451
  var Q = function() {
452
452
  var e = this, t = e._self._c;
453
- return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(n) {
454
- e.visible = n;
455
- }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.user.dataRole", "\u6388\u6743\u6570\u636E"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "margin-top": "-12px" } }, [e.visible ? t("gd-tables", { ref: "table", attrs: { dataSource: e.loadSoData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.columns, height: e.height, filtering: !1, initialLoading: !1, showPagination: !1, rowKey: "sysCodeGenId", disabledRefresh: "", disabledColumnSettings: "" }, scopedSlots: e._u([e._l(e.columns, function(n) {
456
- return { key: n.prop, fn: function({ column: i, row: a, index: l }) {
457
- return [n.prop === "sysCodeGenName" ? t("div", [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.syscodegenname)) + " ")]) : t("div", { staticClass: "grant-select" }, [t("el-select", { staticStyle: { flex: "1" }, attrs: { placeholder: e.$i18nt("gd.xlsxImport.mapFieldsTip", "\u8BF7\u9009\u62E9\u6620\u5C04\u5B57\u6BB5"), filterable: "", clearable: "", multiple: "" }, model: { value: a[n.prop], callback: function(r) {
458
- e.$set(a, n.prop, r);
453
+ return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
454
+ e.visible = i;
455
+ }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.user.dataRole", "\u6388\u6743\u6570\u636E"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "margin-top": "-12px" } }, [e.visible ? t("gd-tables", { ref: "table", attrs: { dataSource: e.loadSoData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.columns, height: e.height, filtering: !1, initialLoading: !1, showPagination: !1, rowKey: "sysCodeGenId", disabledRefresh: "", disabledColumnSettings: "" }, scopedSlots: e._u([e._l(e.columns, function(i) {
456
+ return { key: i.prop, fn: function({ column: n, row: a, index: l }) {
457
+ return [i.prop === "sysCodeGenName" ? t("div", [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.syscodegenname)) + " ")]) : t("div", { staticClass: "grant-select" }, [t("el-select", { staticStyle: { flex: "1" }, attrs: { placeholder: e.$i18nt("gd.xlsxImport.mapFieldsTip", "\u8BF7\u9009\u62E9\u6620\u5C04\u5B57\u6BB5"), filterable: "", clearable: "", multiple: "" }, model: { value: a[i.prop], callback: function(r) {
458
+ e.$set(a, i.prop, r);
459
459
  }, expression: "row[item.prop]" } }, [e._l(e.getDictionary("data_scope_type"), function(r) {
460
460
  return [t("el-option", { attrs: { label: e.$i18nt(`Dynamics.${r.transkey}`, r.name), value: r.code } })];
461
- })], 2), a[n.prop].includes("5") ? t("el-button", { staticClass: "active-color flex-center", attrs: { type: "text" }, on: { click: function(r) {
462
- return e.openList(n, a, l);
461
+ })], 2), a[i.prop].includes("5") ? t("el-button", { staticClass: "active-color flex-center", attrs: { type: "text" }, on: { click: function(r) {
462
+ return e.openList(i, a, l);
463
463
  } } }, [e._v(" " + e._s(e.$i18nt("gd.btn.view", "\u67E5\u770B")) + " ")]) : e._e()], 1)];
464
464
  } };
465
465
  })], null, !0) }) : e._e()], 1)], 2), t("RoleScope", { ref: "roleScope", on: { ok: e.setRoleScop } })], 1);
@@ -515,29 +515,29 @@ const Z = {
515
515
  return !!this.checkedKeys.filter((t) => t === s.id)[0];
516
516
  },
517
517
  fadeColor(s, e) {
518
- let t = parseInt(s.substring(1, 3), 16), n = parseInt(s.substring(3, 5), 16), i = parseInt(s.substring(5, 7), 16);
519
- return `rgba(${t},${n},${i},${e})`;
518
+ let t = parseInt(s.substring(1, 3), 16), i = parseInt(s.substring(3, 5), 16), n = parseInt(s.substring(5, 7), 16);
519
+ return `rgba(${t},${i},${n},${e})`;
520
520
  }
521
521
  }
522
522
  };
523
523
  var ee = function() {
524
524
  var e = this, t = e._self._c;
525
- return t("div", { style: { "--fadecolor": e.fadeColord } }, [e._l(e.record, function(n) {
526
- return [t("div", { staticClass: "list-item" }, [e.menusType === 0 ? t("i", { class: n.open ? "el-icon-caret-bottom" : "el-icon-caret-right", on: { click: function(i) {
527
- return e.open(n);
528
- } } }) : e._e(), e.menusType !== 2 ? t("div", { staticClass: "item-name" }, [t("el-checkbox", { attrs: { indeterminate: n.isIndeterminate }, on: { change: function(i) {
529
- return e.change(i, [n.id]);
530
- } }, model: { value: n.checked, callback: function(i) {
531
- e.$set(n, "checked", i);
532
- }, expression: "item.checked" } }, [n.iconClass ? t("i", { staticClass: "gd-icons", class: n.iconClass, staticStyle: { "font-size": "15px" } }) : e._e(), e._v(" " + e._s(e.$i18nt(`Dynamics.${n.transkey}`, n.title)) + " ")]), n.children && n.children.length > 0 && e.menusType === 1 ? t("el-button", { staticStyle: { "margin-left": "12px", padding: "5px 15px" }, attrs: { size: "mini" } }, [e.hasAll(n) ? t("span", { on: { click: function(i) {
533
- return e.checkedBtn(n, 1);
534
- } } }, [e._v(" " + e._s(e.$i18nt("gd.btn.selectAll", "\u5168\u9009")) + " ")]) : t("span", { on: { click: function(i) {
535
- return e.checkedBtn(n, 0);
536
- } } }, [e._v(" " + e._s(e.$i18nt("gd.btn.cancel", "\u53D6\u6D88")) + " ")])]) : e._e()], 1) : e._e(), t("div", { staticClass: "item-data" }, [n.children && n.children.length > 0 && n.children[0].menusType === 2 ? t("div", { staticClass: "item-data-list" }, [e._l(n.children, function(i) {
525
+ return t("div", { style: { "--fadecolor": e.fadeColord } }, [e._l(e.record, function(i) {
526
+ return [t("div", { staticClass: "list-item" }, [e.menusType === 0 ? t("i", { class: i.open ? "el-icon-caret-bottom" : "el-icon-caret-right", on: { click: function(n) {
527
+ return e.open(i);
528
+ } } }) : e._e(), e.menusType !== 2 ? t("div", { staticClass: "item-name" }, [t("el-checkbox", { attrs: { indeterminate: i.isIndeterminate }, on: { change: function(n) {
529
+ return e.change(n, [i.id]);
530
+ } }, model: { value: i.checked, callback: function(n) {
531
+ e.$set(i, "checked", n);
532
+ }, expression: "item.checked" } }, [i.iconClass ? t("i", { staticClass: "gd-icons", class: i.iconClass, staticStyle: { "font-size": "15px" } }) : e._e(), e._v(" " + e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.title)) + " ")]), i.children && i.children.length > 0 && e.menusType === 1 ? t("el-button", { staticStyle: { "margin-left": "12px", padding: "5px 15px" }, attrs: { size: "mini" } }, [e.hasAll(i) ? t("span", { on: { click: function(n) {
533
+ return e.checkedBtn(i, 1);
534
+ } } }, [e._v(" " + e._s(e.$i18nt("gd.btn.selectAll", "\u5168\u9009")) + " ")]) : t("span", { on: { click: function(n) {
535
+ return e.checkedBtn(i, 0);
536
+ } } }, [e._v(" " + e._s(e.$i18nt("gd.btn.cancel", "\u53D6\u6D88")) + " ")])]) : e._e()], 1) : e._e(), t("div", { staticClass: "item-data" }, [i.children && i.children.length > 0 && i.children[0].menusType === 2 ? t("div", { staticClass: "item-data-list" }, [e._l(i.children, function(n) {
537
537
  return [t("div", { staticClass: "item-name item-named", on: { click: function(a) {
538
- return e.change(!i.checked, [i.id]);
539
- } } }, [i.checked ? t("i", { staticClass: "gd-icons gd-icon-quanxuan active-color" }) : t("div", { staticClass: "item-named-kuang" }), t("div", { staticClass: "item-named-title", class: i.checked ? "active-color" : "" }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.title)) + " ")])])];
540
- })], 2) : e._e()])]), n.children && n.children.length > 0 && n.children[0].menusType !== 2 ? t("div", { staticClass: "list-more" }, [n.open ? t("LayoutItem", { attrs: { record: n.children, checkedKeys: e.checkedKeys }, on: { open: e.open, change: e.change, checkedBtn: e.checkedBtn } }) : e._e()], 1) : e._e()];
538
+ return e.change(!n.checked, [n.id]);
539
+ } } }, [n.checked ? t("i", { staticClass: "gd-icons gd-icon-quanxuan active-color" }) : t("div", { staticClass: "item-named-kuang" }), t("div", { staticClass: "item-named-title", class: n.checked ? "active-color" : "" }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${n.transkey}`, n.title)) + " ")])])];
540
+ })], 2) : e._e()])]), i.children && i.children.length > 0 && i.children[0].menusType !== 2 ? t("div", { staticClass: "list-more" }, [i.open ? t("LayoutItem", { attrs: { record: i.children, checkedKeys: e.checkedKeys }, on: { open: e.open, change: e.change, checkedBtn: e.checkedBtn } }) : e._e()], 1) : e._e()];
541
541
  })], 2);
542
542
  }, te = [], se = /* @__PURE__ */ u(
543
543
  Z,
@@ -550,7 +550,7 @@ var ee = function() {
550
550
  null
551
551
  );
552
552
  const _ = se.exports;
553
- const ne = {
553
+ const ie = {
554
554
  data() {
555
555
  return {
556
556
  buttons: [
@@ -594,25 +594,25 @@ const ne = {
594
594
  });
595
595
  },
596
596
  checkedItemBtn(s, e) {
597
- let t = [...this.checkedKeys].filter((n) => !s.menuBtnIds.includes(n));
597
+ let t = [...this.checkedKeys].filter((i) => !s.menuBtnIds.includes(i));
598
598
  e === 1 && (t = t.concat(s.menuBtnIds)), this.checkedKeys = [...t], this.handleItem();
599
599
  },
600
600
  openItem(s) {
601
601
  let e = [...this.menuTreeData];
602
- const t = (n) => (n = n.filter((i, a) => (i.id === s.id && (i.open = !i.open), i.children && i.children.length > 0 && (i.children = t(i.children)), !0)), n);
602
+ const t = (i) => (i = i.filter((n, a) => (n.id === s.id && (n.open = !n.open), n.children && n.children.length > 0 && (n.children = t(n.children)), !0)), i);
603
603
  t(e), this.menuTreeData = [...e];
604
604
  },
605
605
  changeItem(s, e, t = !0) {
606
- let n = [...this.checkedKeys];
606
+ let i = [...this.checkedKeys];
607
607
  this.checkedKeys.filter((o) => e.includes(o))[0];
608
- const i = this.list.filter((o) => e.includes(o.id))[0], a = t && i ? i.menuIds : [];
609
- if (s ? n = this.checkedKeys.concat(e).concat(a) : n = this.checkedKeys.filter((o) => !e.includes(o)).filter((o) => !a.includes(o)), this.checkedKeys = [...n], this.handleItem(), i.menusType === 2)
608
+ const n = this.list.filter((o) => e.includes(o.id))[0], a = t && n ? n.menuIds : [];
609
+ if (s ? i = this.checkedKeys.concat(e).concat(a) : i = this.checkedKeys.filter((o) => !e.includes(o)).filter((o) => !a.includes(o)), this.checkedKeys = [...i], this.handleItem(), n.menusType === 2)
610
610
  return;
611
611
  let l = [];
612
- this.findParent(this.menuTreeData, i, l);
612
+ this.findParent(this.menuTreeData, n, l);
613
613
  let r = [], d = [];
614
614
  l.forEach((o) => {
615
- this.checkedKeys.filter((g) => o.menuIds.includes(g)).length === o.menuIds.length && o.menuIds.length > 0 && !o.checked ? r.push(o.id) : d.push(o.id);
615
+ this.checkedKeys.filter((f) => o.menuIds.includes(f)).length === o.menuIds.length && o.menuIds.length > 0 && !o.checked ? r.push(o.id) : d.push(o.id);
616
616
  }), r.forEach((o) => {
617
617
  this.changeItem(!0, [o], !1);
618
618
  }), d.forEach((o) => {
@@ -621,9 +621,9 @@ const ne = {
621
621
  },
622
622
  handleItem() {
623
623
  let s = [...this.menuTreeData];
624
- const e = (t) => (t = t.filter((n, i) => {
625
- const a = this.checkedKeys.filter((l) => n.menuIds.includes(l));
626
- return this.checkedKeys.includes(n.id) ? (n.checked = !0, n.isIndeterminate = !1) : (n.checked = !1, n.isIndeterminate = a.length > 0 && n.menuIds.length > 0), n.children && n.children.length > 0 && (n.children = e(n.children)), !0;
624
+ const e = (t) => (t = t.filter((i, n) => {
625
+ const a = this.checkedKeys.filter((l) => i.menuIds.includes(l));
626
+ return this.checkedKeys.includes(i.id) ? (i.checked = !0, i.isIndeterminate = !1) : (i.checked = !1, i.isIndeterminate = a.length > 0 && i.menuIds.length > 0), i.children && i.children.length > 0 && (i.children = e(i.children)), !0;
627
627
  }), t);
628
628
  e(s), this.menuTreeData = [...s], this.allClose = this.checkedKeys.length === this.allCheckedKeys.length && this.allCheckedKeys.length > 0;
629
629
  },
@@ -633,26 +633,26 @@ const ne = {
633
633
  init() {
634
634
  this.confirmLoading = !0, Promise.all([this.getMenuTree(), this.expandedMenuKeys(), this.getMenuList()]).then(async (s) => {
635
635
  let e = [], t = [];
636
- const n = (r) => (r = r.filter((d, o) => {
637
- const c = this.checkedKeys.filter((f) => d.id === f)[0];
638
- return d.open = !0, d.checked = d.type === 1 ? !!c : !1, d.isIndeterminate = !1, d.menusType = d.type, e.push(d.id), t.push(d), d.children && d.children.length > 0 && (d.children = n(d.children)), !0;
636
+ const i = (r) => (r = r.filter((d, o) => {
637
+ const c = this.checkedKeys.filter((g) => d.id === g)[0];
638
+ return d.open = !0, d.checked = d.type === 1 ? !!c : !1, d.isIndeterminate = !1, d.menusType = d.type, e.push(d.id), t.push(d), d.children && d.children.length > 0 && (d.children = i(d.children)), !0;
639
639
  }), r);
640
- let i = this.menuAll.filter((r) => !!this.systemMenuAll.filter((o) => o.id === r.id)[0]);
641
- await n(i), this.allCheckedKeys = e;
640
+ let n = this.menuAll.filter((r) => !!this.systemMenuAll.filter((o) => o.id === r.id)[0]);
641
+ await i(n), this.allCheckedKeys = e;
642
642
  let a = [];
643
643
  t.forEach((r, d) => {
644
644
  const o = this.getMenuIds(r);
645
- t[d].menuIds = o.arr, t[d].menuBtnIds = o.btn, !(this.checkedKeys.filter((g) => o.arr.includes(g)).length === o.arr.length) && o.arr.length > 0 && a.push(r.id);
645
+ t[d].menuIds = o.arr, t[d].menuBtnIds = o.btn, !(this.checkedKeys.filter((f) => o.arr.includes(f)).length === o.arr.length) && o.arr.length > 0 && a.push(r.id);
646
646
  }), this.list = t;
647
647
  const l = this.checkedKeys.filter((r) => e.includes(r)).filter((r) => !a.includes(r)).filter((r, d, o) => o.indexOf(r) === d);
648
- this.checkedKeys = l, this.allClose = this.checkedKeys.length === e.length && e.length > 0, this.menuTreeData = [...i], this.handleItem(), this.confirmLoading = !1;
648
+ this.checkedKeys = l, this.allClose = this.checkedKeys.length === e.length && e.length > 0, this.menuTreeData = [...n], this.handleItem(), this.confirmLoading = !1;
649
649
  });
650
650
  },
651
651
  open(s, e) {
652
652
  this.record = s, this.appsId = e || window.$systemInfo.id, this.visible = !0, this.init();
653
653
  },
654
654
  getMenuTree() {
655
- return M({ roleId: this.record.id }).then((s) => (s.code === 200 && (this.menuAll = s.data), s));
655
+ return A({ roleId: this.record.id }).then((s) => (s.code === 200 && (this.menuAll = s.data), s));
656
656
  },
657
657
  expandedMenuKeys() {
658
658
  return $({
@@ -661,17 +661,17 @@ const ne = {
661
661
  },
662
662
  getMenuList() {
663
663
  let s = { AppsId: this.appsId };
664
- return A(s).then((e) => (e.code === 200 && (this.systemMenuAll = e.data), e));
664
+ return M(s).then((e) => (e.code === 200 && (this.systemMenuAll = e.data), e));
665
665
  },
666
666
  getMenuIds(s) {
667
667
  let e = [], t = [];
668
- const n = (i) => (i = i.filter((a, l) => (a.menusType !== 2 ? e.push(a.id) : t.push(a.id), a.children && a.children.length > 0 && (a.children = n(a.children)), !0)), i);
669
- return s.children && n(s.children), { arr: e, btn: t };
668
+ const i = (n) => (n = n.filter((a, l) => (a.menusType !== 2 ? e.push(a.id) : t.push(a.id), a.children && a.children.length > 0 && (a.children = i(a.children)), !0)), n);
669
+ return s.children && i(s.children), { arr: e, btn: t };
670
670
  },
671
671
  findParent(s, e, t) {
672
- for (let n of s)
673
- if (n.id === e.parentId || n.children && n.children.length > 0 && this.findParent(n.children, e, t))
674
- return t.unshift(n), !0;
672
+ for (let i of s)
673
+ if (i.id === e.parentId || i.children && i.children.length > 0 && this.findParent(i.children, e, t))
674
+ return t.unshift(i), !0;
675
675
  return !1;
676
676
  },
677
677
  closed() {
@@ -686,16 +686,16 @@ const ne = {
686
686
  }
687
687
  }
688
688
  };
689
- var ie = function() {
689
+ var ne = function() {
690
690
  var e = this, t = e._self._c;
691
- return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(n) {
692
- e.visible = n;
693
- }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.user.dataRole", "\u6388\u6743\u6570\u636E"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "400px" } }, [e.visible ? t("LayoutItem", { attrs: { record: e.menuTreeData, checkedKeys: e.checkedKeys }, on: { open: e.openItem, change: e.changeItem, checkedBtn: e.checkedItemBtn } }) : e._e()], 1), t("template", { slot: "footer" }, [t("div", { staticClass: "btoms" }, [t("el-checkbox", { attrs: { disabled: e.confirmLoading, indeterminate: e.isIndeterminate }, on: { change: e.changeAll }, model: { value: e.allClose, callback: function(n) {
694
- e.allClose = n;
691
+ return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
692
+ e.visible = i;
693
+ }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.user.dataRole", "\u6388\u6743\u6570\u636E"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "400px" } }, [e.visible ? t("LayoutItem", { attrs: { record: e.menuTreeData, checkedKeys: e.checkedKeys }, on: { open: e.openItem, change: e.changeItem, checkedBtn: e.checkedItemBtn } }) : e._e()], 1), t("template", { slot: "footer" }, [t("div", { staticClass: "btoms" }, [t("el-checkbox", { attrs: { disabled: e.confirmLoading, indeterminate: e.isIndeterminate }, on: { change: e.changeAll }, model: { value: e.allClose, callback: function(i) {
694
+ e.allClose = i;
695
695
  }, expression: "allClose" } }, [e._v(" " + e._s(e.$i18nt("gd.btn.selectAll", "\u5168\u9009")) + " ")])], 1)])], 2)], 1);
696
696
  }, ae = [], re = /* @__PURE__ */ u(
697
- ne,
698
697
  ie,
698
+ ne,
699
699
  ae,
700
700
  !1,
701
701
  null,
@@ -737,7 +737,7 @@ const oe = {
737
737
  value: "value"
738
738
  },
739
739
  defaultExpandedKeys: "",
740
- loadData: (s) => O({ roleId: this.openSelecteKeys[0] }).then((e) => (this.getRowId(e.data), { pageNo: 1, pageSize: 1e3, totalRows: 0, rows: e.data })),
740
+ loadData: (s) => E({ roleId: this.openSelecteKeys[0] }).then((e) => (this.getRowId(e.data), { pageNo: 1, pageSize: 1e3, totalRows: 0, rows: e.data })),
741
741
  disableBtn: [],
742
742
  fileList: [],
743
743
  needLoad: !1,
@@ -984,7 +984,7 @@ const oe = {
984
984
  getOrgTree() {
985
985
  v({}).then((s) => {
986
986
  if (s.code === 200) {
987
- const e = (t) => (t = t.filter((n, i) => (n.value = String(n.value), n.children && n.children.length > 0 && (n.children = e(n.children)), !0)), t);
987
+ const e = (t) => (t = t.filter((i, n) => (i.value = String(i.value), i.children && i.children.length > 0 && (i.children = e(i.children)), !0)), t);
988
988
  this.orgTree = e(s.data);
989
989
  }
990
990
  this.loading = !1;
@@ -1019,7 +1019,7 @@ const oe = {
1019
1019
  this.$refs.engineSearch.closed();
1020
1020
  return;
1021
1021
  }
1022
- this.$refs.engineSearch.confirmLoading = !0, E({
1022
+ this.$refs.engineSearch.confirmLoading = !0, O({
1023
1023
  roleId: this.openSelecteKeys[0],
1024
1024
  userIdList: s.data
1025
1025
  }).then((e) => {
@@ -1052,16 +1052,16 @@ const oe = {
1052
1052
  customClass: "custom-alert",
1053
1053
  callback: () => {
1054
1054
  },
1055
- beforeClose: (e, t, n) => {
1055
+ beforeClose: (e, t, i) => {
1056
1056
  if (e !== "confirm") {
1057
- n();
1057
+ i();
1058
1058
  return;
1059
1059
  }
1060
1060
  t.confirmButtonLoading = !0, t.cancelButtonLoading = !0, t.showCancelButton = !1, z({
1061
1061
  roleId: s.openSelecteKeys[0],
1062
1062
  userIdList: s.selectedRowKeys
1063
- }).then((i) => {
1064
- i.success ? (s.$message.success(s.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), s.disabledRowId = s.disabledRowId.filter((a) => !s.selectedRows.filter((r) => r.id === a)[0]), t.confirmButtonLoading = !1, t.cancelButtonLoading = !1, t.showCancelButton = !0, n(), s.refresh()) : s.$message.error(s.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + i.message);
1063
+ }).then((n) => {
1064
+ n.success ? (s.$message.success(s.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), s.disabledRowId = s.disabledRowId.filter((a) => !s.selectedRows.filter((r) => r.id === a)[0]), t.confirmButtonLoading = !1, t.cancelButtonLoading = !1, t.showCancelButton = !0, i(), s.refresh()) : s.$message.error(s.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + n.message);
1065
1065
  });
1066
1066
  }
1067
1067
  });
@@ -1074,16 +1074,16 @@ var de = function() {
1074
1074
  var e = this, t = e._self._c;
1075
1075
  return t("div", { staticClass: "gd-page-view", staticStyle: { display: "flex", background: "rgb(245, 245, 245)" } }, [t("div", { staticClass: "page-view-list" }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, showPagination: !1, selectedRowKeys: e.selectedRowKeys, height: e.height, initialLoading: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
1076
1076
  return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
1077
- }, proxy: !0 }, { key: "name", fn: function({ column: n, row: i }) {
1078
- return [t("span", { staticClass: "active-color", staticStyle: { cursor: "pointer" } }, [e._v(" " + e._s(i.name) + " ")])];
1079
- } }, { key: "nickname", fn: function({ column: n, row: i }) {
1080
- return [t("span", { staticStyle: { cursor: "pointer" } }, [e._v(" " + e._s(i.nickname) + " ")])];
1081
- } }, { key: "orgname", fn: function({ column: n, row: i }) {
1082
- return [t("span", { staticStyle: { cursor: "pointer" } }, [e._v(" " + e._s(i.orgname) + " ")])];
1083
- } }, { key: "sex", fn: function({ column: n, row: i }) {
1084
- return [t("span", [e._v(" " + e._s(e._f("dictType")("gender", i.gender)) + " ")])];
1085
- } }, { key: "status", fn: function({ column: n, row: i }) {
1086
- return [t("span", [e._v(" " + e._s(e._f("dictType")("state_code", i.statecodes)) + " ")])];
1077
+ }, proxy: !0 }, { key: "name", fn: function({ column: i, row: n }) {
1078
+ return [t("span", { staticClass: "active-color", staticStyle: { cursor: "pointer" } }, [e._v(" " + e._s(n.name) + " ")])];
1079
+ } }, { key: "nickname", fn: function({ column: i, row: n }) {
1080
+ return [t("span", { staticStyle: { cursor: "pointer" } }, [e._v(" " + e._s(n.nickname) + " ")])];
1081
+ } }, { key: "orgname", fn: function({ column: i, row: n }) {
1082
+ return [t("span", { staticStyle: { cursor: "pointer" } }, [e._v(" " + e._s(n.orgname) + " ")])];
1083
+ } }, { key: "sex", fn: function({ column: i, row: n }) {
1084
+ return [t("span", [e._v(" " + e._s(e._f("dictType")("gender", n.gender)) + " ")])];
1085
+ } }, { key: "status", fn: function({ column: i, row: n }) {
1086
+ return [t("span", [e._v(" " + e._s(e._f("dictType")("state_code", n.statecodes)) + " ")])];
1087
1087
  } }]) }), t("gd-search", { ref: "engineSearch", attrs: { appendToBody: !0, disabledRowId: e.disabledRowId }, on: { lookupSeled: e.lookupSeled } })], 1)]);
1088
1088
  }, ce = [], he = /* @__PURE__ */ u(
1089
1089
  oe,
@@ -1141,15 +1141,15 @@ const ue = {
1141
1141
  }
1142
1142
  }
1143
1143
  };
1144
- var ge = function() {
1144
+ var fe = function() {
1145
1145
  var e = this, t = e._self._c;
1146
- return t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": !0, "append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(n) {
1147
- e.visible = n;
1146
+ return t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": !0, "append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
1147
+ e.visible = i;
1148
1148
  }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.user.userAuthorization", "\u6388\u6743\u7528\u6237"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [e.visible ? t("UserFormDate", { ref: "userForm", attrs: { height: e.height, openMode: "components", openSelecteKeys: e.selectedRowKeys }, on: { onSelectChange: e.onSelectChange } }) : e._e()], 1)], 2);
1149
- }, fe = [], pe = /* @__PURE__ */ u(
1149
+ }, ge = [], pe = /* @__PURE__ */ u(
1150
1150
  ue,
1151
- ge,
1152
1151
  fe,
1152
+ ge,
1153
1153
  !1,
1154
1154
  null,
1155
1155
  "46b57430",
@@ -1160,6 +1160,7 @@ const me = pe.exports;
1160
1160
  const ye = {
1161
1161
  data() {
1162
1162
  return {
1163
+ defaultKey: [],
1163
1164
  buttons: [
1164
1165
  {
1165
1166
  displayName: "\u786E\u5B9A",
@@ -1173,7 +1174,7 @@ const ye = {
1173
1174
  visible: !1,
1174
1175
  confirmLoading: !1,
1175
1176
  fullscreen: !1,
1176
- width: "80%",
1177
+ width: "90%",
1177
1178
  selectedPath: "/",
1178
1179
  pathDialogVisible: !1,
1179
1180
  tempSelectedPath: "",
@@ -1280,8 +1281,6 @@ const ye = {
1280
1281
  },
1281
1282
  methods: {
1282
1283
  querySearch(s, e) {
1283
- var t = this.restaurants, n = s ? t.filter(this.createFilter(s)) : t;
1284
- e(n);
1285
1284
  },
1286
1285
  createFilter(s) {
1287
1286
  return (e) => e.name.toLowerCase().indexOf(s.toLowerCase()) === 0;
@@ -1308,86 +1307,83 @@ const ye = {
1308
1307
  const l = t[a.parentid];
1309
1308
  l ? l.children.some((r) => r.id === a.id) || l.children.push(t[a.id]) : t[e.id].children.push(t[a.id]);
1310
1309
  });
1311
- function n(a) {
1312
- a.children && a.children.length > 0 && (a.children.sort((l, r) => l.name.localeCompare(r.name)), a.children.forEach((l) => n(l)));
1310
+ function i(a) {
1311
+ a.children && a.children.length > 0 && (a.children.sort((l, r) => l.name.localeCompare(r.name)), a.children.forEach((l) => i(l)));
1313
1312
  }
1314
- const i = {
1313
+ const n = {
1315
1314
  name: e.name,
1316
1315
  id: e.id,
1317
1316
  children: t[e.id].children
1318
1317
  };
1319
- return n(i), [i];
1318
+ return i(n), [n];
1320
1319
  },
1321
1320
  handleSubmit() {
1322
1321
  this.id != "" ? this.edit() : this.add();
1323
1322
  },
1324
1323
  add() {
1325
1324
  const e = this.currentPermissions.map((t) => {
1326
- const n = t.list.reduce((i, a) => (i[a.code] = a.value, i), {});
1325
+ const i = t.list.reduce((n, a) => (n[a.code] = a.value, n), {});
1327
1326
  return {
1328
1327
  ...t,
1329
- ...n
1328
+ ...i
1330
1329
  };
1331
- }).map(({ list: t, ...n }) => n);
1330
+ }).map(({ list: t, ...i }) => i);
1332
1331
  this.confirmLoading = !0, K(e).then((t) => {
1333
- t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok"), this.closed()) : this.$message.error(
1334
- this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message
1335
- ), this.confirmLoading = !1;
1332
+ t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok"), this.closed()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message), this.confirmLoading = !1;
1336
1333
  });
1337
1334
  },
1338
1335
  edit() {
1339
1336
  const e = this.currentPermissions.map((t) => {
1340
- const n = t.list.reduce((i, a) => (i[a.code] = a.value, i), {});
1337
+ const i = t.list.reduce((n, a) => (n[a.code] = a.value, n), {});
1341
1338
  return {
1342
1339
  ...t,
1343
- ...n
1340
+ ...i
1344
1341
  };
1345
- }).map(({ list: t, ...n }) => n);
1346
- console.log(e), this.confirmLoading = !0, T(e).then((t) => {
1347
- t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok"), this.closed()) : this.$message.error(
1348
- this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message
1349
- ), this.confirmLoading = !1;
1342
+ }).map(({ list: t, ...i }) => i);
1343
+ this.confirmLoading = !0, C(e).then((t) => {
1344
+ t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$emit("ok"), this.closed()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message), this.confirmLoading = !1;
1350
1345
  });
1351
1346
  },
1352
1347
  open(s) {
1353
1348
  this.record = s, this.visible = !0, this.getallTree(), this.getDetail(s);
1354
1349
  },
1355
1350
  getDetail(s) {
1356
- C({ roleId: s.id }).then((e) => {
1351
+ T({ roleId: s.id }).then((e) => {
1357
1352
  if (e.code == 200 && (this.currentPermissions = [], this.$refs.elTreeRef && this.$refs.elTreeRef.setCheckedKeys([]), e.data.length > 0)) {
1358
1353
  this.id = e.data[0].id, this.currentPermissions = [];
1359
- const t = e.data.map((i) => {
1354
+ const t = e.data.map((n) => {
1360
1355
  const a = [
1361
- { name: "\u67E5\u770B", code: "readmetadata", value: i.readmetadata },
1362
- { name: "\u91CD\u547D\u540D", code: "rename", value: i.rename },
1363
- { name: "\u5220\u9664", code: "delete", value: i.delete },
1364
- { name: "\u7BA1\u7406\u6743\u9650", code: "manageprem", value: i.manageprem },
1365
- { name: "\u79FB\u52A8", code: "move", value: i.move },
1366
- { name: "\u521B\u5EFA\u6587\u4EF6", code: "createfile", value: i.createfile },
1367
- { name: "\u521B\u5EFA\u5B50\u6587\u4EF6\u5939", code: "createsubfolder", value: i.createsubfolder },
1368
- { name: "\u4E0B\u8F7D", code: "download", value: i.download }
1356
+ { name: "\u67E5\u770B", code: "readmetadata", value: n.readmetadata },
1357
+ { name: "\u91CD\u547D\u540D", code: "rename", value: n.rename },
1358
+ { name: "\u5220\u9664", code: "delete", value: n.delete },
1359
+ { name: "\u7BA1\u7406\u6743\u9650", code: "manageprem", value: n.manageprem },
1360
+ { name: "\u79FB\u52A8", code: "move", value: n.move },
1361
+ { name: "\u521B\u5EFA\u6587\u4EF6", code: "createfile", value: n.createfile },
1362
+ { name: "\u521B\u5EFA\u5B50\u6587\u4EF6\u5939", code: "createsubfolder", value: n.createsubfolder },
1363
+ { name: "\u4E0B\u8F7D", code: "download", value: n.download }
1369
1364
  ];
1370
1365
  return {
1371
- id: i.id,
1372
- name: i.name,
1366
+ id: n.id,
1367
+ name: n.name,
1373
1368
  ischeck: !1,
1374
- sysdocobjectid: i.sysdocobjectid,
1375
- sysroleid: i.sysroleid,
1369
+ sysdocobjectid: n.sysdocobjectid,
1370
+ sysroleid: n.sysroleid,
1376
1371
  list: a
1377
1372
  };
1378
1373
  });
1379
1374
  this.currentPermissions = t, this.handlePermissionClick(this.currentPermissions[0]);
1380
- const n = t.map((i) => i.sysdocobjectid);
1381
- this.$refs.elTreeRef && this.$refs.elTreeRef.setCheckedKeys(n);
1375
+ const i = t.map((n) => n.sysdocobjectid);
1376
+ this.$refs.elTreeRef && this.$refs.elTreeRef.setCheckedKeys(i);
1382
1377
  }
1383
1378
  });
1384
1379
  },
1385
1380
  getallTree() {
1386
1381
  R().then((s) => {
1387
1382
  if (s.code == 200) {
1388
- this.restaurants = s.data;
1383
+ this.restaurants = JSON.parse(JSON.stringify(s.data));
1389
1384
  const e = this.buildTree(JSON.parse(JSON.stringify(s.data)));
1390
- this.folderTree = e, this.selectedPath = "/" + s.data[0].name;
1385
+ let t = [];
1386
+ e[0] && e[0].children && t.push(e[0].id), this.defaultKey = t, this.folderTree = e, console.log(t), this.selectedPath = "/" + s.data[0].name;
1391
1387
  }
1392
1388
  });
1393
1389
  },
@@ -1409,7 +1405,6 @@ const ye = {
1409
1405
  this.pathDialogVisible = !0, this.tempSelectedPath = this.selectedPath;
1410
1406
  },
1411
1407
  delList(s) {
1412
- console.log(s);
1413
1408
  let e = this;
1414
1409
  this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1415
1410
  confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
@@ -1423,20 +1418,24 @@ const ye = {
1423
1418
  customClass: "custom-alert",
1424
1419
  callback: () => {
1425
1420
  },
1426
- beforeClose: (t, n, i) => {
1421
+ beforeClose: (t, i, n) => {
1427
1422
  if (t !== "confirm") {
1428
- i();
1423
+ n();
1429
1424
  return;
1430
1425
  }
1431
- n.confirmButtonLoading = !0, n.cancelButtonLoading = !0, n.showCancelButton = !1, s.id === 0 ? e.$message.success(e.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : m({
1426
+ i.confirmButtonLoading = !0, i.cancelButtonLoading = !0, i.showCancelButton = !1, s.id === 0 ? e.$message.success(e.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : m({
1432
1427
  ids: s.id
1433
- }).then((a) => {
1434
- n.confirmButtonLoading = !1, n.cancelButtonLoading = !1, n.showCancelButton = !0, a.success ? e.$message.success(e.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : e.$message.error(e.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + a.message);
1435
- }), i(), e.currentPermissions = e.currentPermissions.filter((a) => a.sysdocobjectid !== s.sysdocobjectid), e.currentPermissions.length == 0 && e.cardList.forEach((a) => {
1436
- Array.isArray(a.list) && a.list.forEach((l) => {
1437
- l.value = "";
1428
+ }).then((l) => {
1429
+ i.confirmButtonLoading = !1, i.cancelButtonLoading = !1, i.showCancelButton = !0, l.success ? e.$message.success(e.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : e.$message.error(e.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + l.message);
1430
+ }), n();
1431
+ let a = 0;
1432
+ for (let l = 0; l < e.currentPermissions.length; l++)
1433
+ e.currentPermissions[l].sysdocobjectid === s.sysdocobjectid && (a = l);
1434
+ console.log(a), e.currentPermissions = e.currentPermissions.filter((l) => l.sysdocobjectid !== s.sysdocobjectid), e.currentPermissions.length == 0 && e.cardList.forEach((l) => {
1435
+ Array.isArray(l.list) && l.list.forEach((r) => {
1436
+ r.value = "";
1438
1437
  });
1439
- }), e.cancelNodeCheck(s.sysdocobjectid);
1438
+ }), e.currentPermissions.length > 0 && e.currentPermissions[a - 1] ? this.handlePermissionClick(e.currentPermissions[a - 1]) : e.currentPermissions.length > 0 && e.currentPermissions[a] && this.handlePermissionClick(e.currentPermissions[a]), e.cancelNodeCheck(s.sysdocobjectid);
1440
1439
  }
1441
1440
  });
1442
1441
  },
@@ -1448,12 +1447,20 @@ const ye = {
1448
1447
  console.log(s);
1449
1448
  },
1450
1449
  handleDirectoryCheck(s, e) {
1451
- const t = s.id, n = JSON.parse(JSON.stringify(this.currentPermissions)).filter((i) => i.sysdocobjectid === s.id);
1450
+ let t = s.name;
1451
+ if (e) {
1452
+ const a = this.restaurants.find((r) => r.id === s.id);
1453
+ let l = a ? a.parentid : "";
1454
+ (l != "" || l == 0) && this.restaurants.forEach((r) => {
1455
+ r.id == l && (t = r.name + "/" + s.name);
1456
+ });
1457
+ }
1458
+ const i = s.id, n = JSON.parse(JSON.stringify(this.currentPermissions)).filter((a) => a.sysdocobjectid === s.id);
1452
1459
  if (e && n.length === 0) {
1453
- const i = {
1454
- sysdocobjectid: t,
1460
+ const a = {
1461
+ sysdocobjectid: i,
1455
1462
  sysroleid: this.record.id,
1456
- name: s.name,
1463
+ name: t,
1457
1464
  ischeck: !0,
1458
1465
  id: 0,
1459
1466
  list: [
@@ -1499,15 +1506,15 @@ const ye = {
1499
1506
  }
1500
1507
  ]
1501
1508
  };
1502
- this.currentPermissions.push(i), this.currentPermissions.forEach((a) => {
1503
- a.ischeck = !1, a.sysdocobjectid === t && (a.ischeck = !0);
1504
- }), this.cardList.forEach((a) => {
1505
- Array.isArray(a.list) && a.list.forEach((l) => {
1506
- l.value = "";
1509
+ this.currentPermissions.push(a), this.currentPermissions.forEach((l) => {
1510
+ l.ischeck = !1, l.sysdocobjectid === i && (l.ischeck = !0);
1511
+ }), this.cardList.forEach((l) => {
1512
+ Array.isArray(l.list) && l.list.forEach((r) => {
1513
+ r.value = "";
1507
1514
  });
1508
1515
  });
1509
1516
  } else if (!e && n.length > 0 && this.currentPermissions.length > 0) {
1510
- let i = this;
1517
+ let a = this;
1511
1518
  this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
1512
1519
  confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
1513
1520
  cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
@@ -1520,20 +1527,20 @@ const ye = {
1520
1527
  customClass: "custom-alert",
1521
1528
  callback: () => {
1522
1529
  },
1523
- beforeClose: (a, l, r) => {
1524
- if (a !== "confirm") {
1525
- r(), setTimeout(() => {
1530
+ beforeClose: (l, r, d) => {
1531
+ if (l !== "confirm") {
1532
+ d(), setTimeout(() => {
1526
1533
  this.$nextTick(() => {
1527
1534
  this.$refs.elTreeRef.setChecked(s.id, !0);
1528
1535
  });
1529
1536
  });
1530
1537
  return;
1531
1538
  }
1532
- l.confirmButtonLoading = !0, l.cancelButtonLoading = !0, l.showCancelButton = !1, n[0].id === 0 ? i.$message.success(i.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : m({
1539
+ r.confirmButtonLoading = !0, r.cancelButtonLoading = !0, r.showCancelButton = !1, n[0].id === 0 ? a.$message.success(a.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : m({
1533
1540
  ids: n[0].id
1534
- }).then((d) => {
1535
- l.confirmButtonLoading = !1, l.cancelButtonLoading = !1, l.showCancelButton = !0, d.success ? i.$message.success(i.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : i.$message.error(i.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + d.message);
1536
- }), r(), this.nextclickdel(t);
1541
+ }).then((o) => {
1542
+ r.confirmButtonLoading = !1, r.cancelButtonLoading = !1, r.showCancelButton = !0, o.success ? a.$message.success(a.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : a.$message.error(a.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + o.message);
1543
+ }), d(), this.nextclickdel(i);
1537
1544
  }
1538
1545
  });
1539
1546
  }
@@ -1546,17 +1553,21 @@ const ye = {
1546
1553
  this.currentPermissions[this.currentPermissions.length - 1].list.forEach((t) => {
1547
1554
  e[t.name] = t.value;
1548
1555
  }), this.cardList.forEach((t) => {
1549
- Array.isArray(t.list) && t.list.forEach((n) => {
1550
- const i = e[n.name];
1551
- i !== void 0 && i !== "" && i !== null && (n.value = i.toString());
1556
+ Array.isArray(t.list) && t.list.forEach((i) => {
1557
+ i.value = "";
1558
+ });
1559
+ }), this.cardList.forEach((t) => {
1560
+ Array.isArray(t.list) && t.list.forEach((i) => {
1561
+ const n = e[i.name];
1562
+ n !== void 0 && n !== "" && n !== null && (i.value = n.toString());
1552
1563
  });
1553
1564
  });
1554
1565
  },
1555
1566
  handleNodeClick(s, e) {
1556
1567
  this.objectId = s.id;
1557
- let t = [], n = e;
1558
- for (; n; )
1559
- t.unshift(n.data.name), n = n.parent;
1568
+ let t = [], i = e;
1569
+ for (; i; )
1570
+ t.unshift(i.data.name), i = i.parent;
1560
1571
  this.tempSelectedPath = "" + t.join("/");
1561
1572
  },
1562
1573
  handlePermissionClick(s) {
@@ -1567,9 +1578,13 @@ const ye = {
1567
1578
  s.list.forEach((t) => {
1568
1579
  e[t.name] = t.value;
1569
1580
  }), this.cardList.forEach((t) => {
1570
- Array.isArray(t.list) && t.list.forEach((n) => {
1571
- const i = e[n.name];
1572
- i != null && (n.value = i.toString());
1581
+ Array.isArray(t.list) && t.list.forEach((i) => {
1582
+ i.value = "";
1583
+ });
1584
+ }), this.cardList.forEach((t) => {
1585
+ Array.isArray(t.list) && t.list.forEach((i) => {
1586
+ const n = e[i.name];
1587
+ n != null && (i.value = n.toString());
1573
1588
  });
1574
1589
  });
1575
1590
  },
@@ -1579,10 +1594,10 @@ const ye = {
1579
1594
  handleReadMetaDataChange(s, e) {
1580
1595
  s.target.tagName === "INPUT" && s.target.type === "radio" && (e.value === "" ? e.value = s.target.value : e.value = null, setTimeout(() => {
1581
1596
  if (this.currentPermissions.length > 0) {
1582
- const t = this.currentPermissions.find((n) => n.ischeck);
1597
+ const t = this.currentPermissions.find((i) => i.ischeck);
1583
1598
  if (t) {
1584
- const n = t.list.find((i) => i.name === e.name);
1585
- n && (n.value = e.value);
1599
+ const i = t.list.find((n) => n.name === e.name);
1600
+ i && (i.value = e.value);
1586
1601
  }
1587
1602
  }
1588
1603
  }, 10));
@@ -1591,32 +1606,32 @@ const ye = {
1591
1606
  };
1592
1607
  var be = function() {
1593
1608
  var e = this, t = e._self._c;
1594
- return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": !0, "append-to-body": !1, top: "30px", "show-close": !1 }, on: { "update:visible": function(n) {
1595
- e.visible = n;
1596
- }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.user.documentAuthorization", "\u6388\u6743\u6587\u6863"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { staticClass: "main-layout" }, [t("div", { staticClass: "directory-tree-section" }, [t("div", { staticClass: "section-header" }, [e._v("\u9009\u62E9\u76EE\u5F55")]), t("el-tree", { ref: "elTreeRef", attrs: { "check-strictly": "", data: e.folderTree, "node-key": "id", "show-checkbox": "", props: e.treeProps }, on: { "check-change": e.handleDirectoryCheck, "node-click": e.handleNodeClick } })], 1), t("div", [t("div", { staticClass: "preview-card" }, [t("div", { staticClass: "card-header" }, [t("span", [e._v("\u6743\u9650\u9884\u89C8")])]), t("div", { staticClass: "permission-tags" }, e._l(e.currentPermissions, function(n) {
1597
- return t("div", { key: n.sysdocobjectid, staticClass: "permission-tags-item", class: { checked: n.ischeck }, on: { click: function(i) {
1598
- return e.handlePermissionClick(n);
1599
- } } }, [e._v(" " + e._s(n.name) + " "), t("div", { staticClass: "permission-tags-item-content" }, e._l(n.list, function(i, a) {
1600
- return t("div", { key: a }, [t("span", [e._v(e._s(i.name))]), i.value == "1" ? t("el-tag", [e._v(e._s(e.$i18nt("gd.user.allow", "\u5141\u8BB8")))]) : e._e(), i.value == "2" ? t("el-tag", { attrs: { type: "danger" } }, [e._v(e._s(e.$i18nt("gd.user.refuse", "\u62D2\u7EDD")))]) : e._e()], 1);
1601
- }), 0), t("i", { staticClass: "el-icon-close del-btn", on: { click: function(i) {
1602
- return e.delList(n);
1609
+ return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "modal-append-to-body": !0, "append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
1610
+ e.visible = i;
1611
+ }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.user.documentAuthorization", "\u6388\u6743\u6587\u6863"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { staticClass: "main-layout" }, [t("div", { staticClass: "directory-tree-section" }, [t("div", { staticClass: "section-header" }, [e._v(e._s(e.$i18nt("gd.user.selectDirectory", "\u9009\u62E9\u76EE\u5F55")))]), t("div", { staticClass: "tree-list" }, [t("el-tree", { ref: "elTreeRef", attrs: { "check-strictly": "", data: e.folderTree, "node-key": "id", "default-expanded-keys": e.defaultKey, "show-checkbox": "", props: e.treeProps }, on: { "check-change": e.handleDirectoryCheck, "node-click": e.handleNodeClick } })], 1)]), t("div", { staticClass: "directory-list" }, [t("div", { staticClass: "preview-card" }, [t("el-alert", { attrs: { title: e.$i18nt("gd.user.permissionPreview", "\u6743\u9650\u9884\u89C8"), type: "info", "show-icon": "", effect: "dark", closable: !1 } }), e.currentPermissions.length > 0 ? t("div", { staticClass: "permission-tags" }, e._l(e.currentPermissions, function(i) {
1612
+ return t("div", { key: i.sysdocobjectid, staticClass: "permission-tags-item", class: { checked: i.ischeck }, on: { click: function(n) {
1613
+ return e.handlePermissionClick(i);
1614
+ } } }, [t("div", { staticClass: "item-name" }, [e._v(e._s(i.name))]), t("div", { staticClass: "permission-tags-item-content" }, e._l(i.list, function(n, a) {
1615
+ return t("div", { key: a }, [t("span", [e._v(e._s(n.name))]), n.value == "1" ? t("el-tag", { attrs: { type: "success", effect: "dark", size: "mini" } }, [e._v(e._s(e.$i18nt("gd.user.allow", "\u5141\u8BB8")))]) : e._e(), n.value == "2" ? t("el-tag", { attrs: { type: "danger", effect: "dark", size: "mini" } }, [e._v(e._s(e.$i18nt("gd.user.refuse", "\u62D2\u7EDD")))]) : e._e()], 1);
1616
+ }), 0), t("i", { staticClass: "el-icon-close del-btn", on: { click: function(n) {
1617
+ return e.delList(i);
1603
1618
  } } })]);
1604
- }), 0)]), t("div", [t("div", { staticClass: "permission-section" }, [t("h3", [e._v(e._s(e.$i18nt("gd.user.setOperationPermissions", "\u8BBE\u7F6E\u64CD\u4F5C\u6743\u9650")))]), e._l(e.cardList, function(n, i) {
1605
- return t("div", { key: i }, [t("div", { staticClass: "clearfix", attrs: { slot: "header" }, slot: "header" }, [t("h4", [e._v(e._s(e.$i18nt(n.transkey, n.name)))])]), t("div", { staticClass: "permission-list" }, [t("div", { staticClass: "permission-category" }, e._l(n.list, function(a, l) {
1606
- return t("el-card", { key: l, staticClass: "permission-item", attrs: { shadow: "hover" } }, [t("div", { staticClass: "perm-info" }, [t("i", { staticClass: "gd-icons active-color", class: a.icon, staticStyle: { "font-size": "14px", "margin-right": "10px" } }), t("div", { staticClass: "perm-name" }, [e._v(e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.name)) + " ")])]), t("div", { staticClass: "perm-actions" }, [t("el-radio-group", { nativeOn: { click: function(r) {
1619
+ }), 0) : t("div", { staticClass: "empty" }, [t("div", { staticClass: "empty-item" }, [t("div", { staticClass: "empty-icon" }, [t("i", { staticClass: "el-icon-receiving" })]), t("div", { staticClass: "empty-title" }, [t("span", [e._v(e._s(e.$i18nt("gd.echarts.noData", "\u6682\u65E0\u6570\u636E\u5C55\u793A")))])])])])], 1), t("div", { staticClass: "permission-section" }, [t("el-alert", { attrs: { title: e.$i18nt("gd.user.setOperationPermissions", "\u8BBE\u7F6E\u64CD\u4F5C\u6743\u9650"), type: "info", "show-icon": "", effect: "dark", closable: !1 } }), t("div", { staticClass: "kuang" }, e._l(e.cardList, function(i, n) {
1620
+ return t("div", { key: n }, [t("div", { staticClass: "clearfix", attrs: { slot: "header" }, slot: "header" }, [t("h4", [e._v(e._s(e.$i18nt(i.transkey, i.name)))])]), t("div", { staticClass: "permission-list" }, [t("div", { staticClass: "permission-category" }, e._l(i.list, function(a, l) {
1621
+ return t("el-card", { key: l, staticClass: "permission-item", attrs: { shadow: "hover" } }, [t("div", { staticClass: "perm-info" }, [t("i", { staticClass: "gd-icons", class: a.icon, staticStyle: { "font-size": "14px", "margin-right": "6px" } }), t("div", { staticClass: "perm-name" }, [e._v(e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.name)))])]), t("div", { staticClass: "perm-actions" }, [t("el-radio-group", { nativeOn: { click: function(r) {
1607
1622
  return e.handleReadMetaDataChange(r, a);
1608
1623
  } }, model: { value: a.value, callback: function(r) {
1609
1624
  e.$set(a, "value", r);
1610
- }, expression: "items.value" } }, [t("el-radio", { attrs: { label: "1" } }, [e._v(e._s(e.$i18nt("gd.user.allow", "\u5141\u8BB8")))]), t("el-radio", { attrs: { label: "2" } }, [e._v(e._s(e.$i18nt("gd.user.refuse", "\u62D2\u7EDD")))])], 1)], 1)]);
1625
+ }, expression: "items.value" } }, [t("el-radio", { attrs: { label: "1" } }, [t("span", { staticStyle: { color: "rgb(82, 196, 26)" } }, [e._v(e._s(e.$i18nt("gd.user.allow", "\u5141\u8BB8")))])]), t("el-radio", { attrs: { label: "2" } }, [t("span", { staticStyle: { color: "red" } }, [e._v(e._s(e.$i18nt("gd.user.refuse", "\u62D2\u7EDD")))])])], 1)], 1)]);
1611
1626
  }), 1)])]);
1612
- })], 2)])])])], 2)], 1);
1627
+ }), 0)], 1)])])], 2)], 1);
1613
1628
  }, ve = [], _e = /* @__PURE__ */ u(
1614
1629
  ye,
1615
1630
  be,
1616
1631
  ve,
1617
1632
  !1,
1618
1633
  null,
1619
- "5fe0b6ad",
1634
+ "b1dc77ce",
1620
1635
  null,
1621
1636
  null
1622
1637
  );
@@ -1657,11 +1672,11 @@ const we = {
1657
1672
  components: { LayoutItem: _ },
1658
1673
  methods: {
1659
1674
  async handleSubmit() {
1660
- const s = (e) => (e = e.filter((t, n) => {
1661
- const i = this.checkedKeys.filter((a) => t.id === a)[0];
1662
- return t.type = i ? 1 : 0, t.formlist && t.formlist.length > 0 && (t.formlist = s(t.formlist)), t.viewlist && t.viewlist.length > 0 && (t.viewlist = s(t.viewlist)), t.btnlist && t.btnlist.length > 0 && (t.btnlist = s(t.btnlist)), !0;
1675
+ const s = (e) => (e = e.filter((t, i) => {
1676
+ const n = this.checkedKeys.filter((a) => t.id === a)[0];
1677
+ return t.type = n ? 1 : 0, t.formlist && t.formlist.length > 0 && (t.formlist = s(t.formlist)), t.viewlist && t.viewlist.length > 0 && (t.viewlist = s(t.viewlist)), t.btnlist && t.btnlist.length > 0 && (t.btnlist = s(t.btnlist)), !0;
1663
1678
  }), e);
1664
- this.confirmLoading = !0, await s(this.menuAll), L({
1679
+ this.confirmLoading = !0, await s(this.menuAll), S({
1665
1680
  roleid: this.record.id,
1666
1681
  list: this.menuAll
1667
1682
  }).then((e) => {
@@ -1671,25 +1686,25 @@ const we = {
1671
1686
  });
1672
1687
  },
1673
1688
  checkedItemBtn(s, e) {
1674
- let t = [...this.checkedKeys].filter((n) => !s.menuBtnIds.includes(n));
1689
+ let t = [...this.checkedKeys].filter((i) => !s.menuBtnIds.includes(i));
1675
1690
  e === 1 && (t = t.concat(s.menuBtnIds)), this.checkedKeys = [...t], this.handleItem();
1676
1691
  },
1677
1692
  openItem(s) {
1678
1693
  let e = [...this.menuTreeData];
1679
- const t = (n) => (n = n.filter((i, a) => (i.id === s.id && (i.open = !i.open), i.children && i.children.length > 0 && (i.children = t(i.children)), !0)), n);
1694
+ const t = (i) => (i = i.filter((n, a) => (n.id === s.id && (n.open = !n.open), n.children && n.children.length > 0 && (n.children = t(n.children)), !0)), i);
1680
1695
  t(e), this.menuTreeData = [...e];
1681
1696
  },
1682
1697
  changeItem(s, e, t = !0) {
1683
- let n = [...this.checkedKeys];
1698
+ let i = [...this.checkedKeys];
1684
1699
  this.checkedKeys.filter((o) => e.includes(o))[0];
1685
- const i = this.list.filter((o) => e.includes(o.id))[0], a = t && i ? i.menuIds : [];
1686
- if (s ? n = this.checkedKeys.concat(e).concat(a) : n = this.checkedKeys.filter((o) => !e.includes(o)).filter((o) => !a.includes(o)), this.checkedKeys = [...n], this.handleItem(), i.menusType === 2)
1700
+ const n = this.list.filter((o) => e.includes(o.id))[0], a = t && n ? n.menuIds : [];
1701
+ if (s ? i = this.checkedKeys.concat(e).concat(a) : i = this.checkedKeys.filter((o) => !e.includes(o)).filter((o) => !a.includes(o)), this.checkedKeys = [...i], this.handleItem(), n.menusType === 2)
1687
1702
  return;
1688
1703
  let l = [];
1689
- this.findParent(this.menuTreeData, i, l);
1704
+ this.findParent(this.menuTreeData, n, l);
1690
1705
  let r = [], d = [];
1691
1706
  l.forEach((o) => {
1692
- this.checkedKeys.filter((g) => o.menuIds.includes(g)).length === o.menuIds.length && o.menuIds.length > 0 && !o.checked ? r.push(o.id) : d.push(o.id);
1707
+ this.checkedKeys.filter((f) => o.menuIds.includes(f)).length === o.menuIds.length && o.menuIds.length > 0 && !o.checked ? r.push(o.id) : d.push(o.id);
1693
1708
  }), r.forEach((o) => {
1694
1709
  this.changeItem(!0, [o], !1);
1695
1710
  }), d.forEach((o) => {
@@ -1698,9 +1713,9 @@ const we = {
1698
1713
  },
1699
1714
  handleItem() {
1700
1715
  let s = [...this.menuTreeData];
1701
- const e = (t) => (t = t.filter((n, i) => {
1702
- const a = this.checkedKeys.filter((l) => n.menuIds.includes(l));
1703
- return this.checkedKeys.includes(n.id) ? (n.checked = !0, n.isIndeterminate = !1) : (n.checked = !1, n.isIndeterminate = a.length > 0 && n.menuIds.length > 0), n.children && n.children.length > 0 && (n.children = e(n.children)), !0;
1716
+ const e = (t) => (t = t.filter((i, n) => {
1717
+ const a = this.checkedKeys.filter((l) => i.menuIds.includes(l));
1718
+ return this.checkedKeys.includes(i.id) ? (i.checked = !0, i.isIndeterminate = !1) : (i.checked = !1, i.isIndeterminate = a.length > 0 && i.menuIds.length > 0), i.children && i.children.length > 0 && (i.children = e(i.children)), !0;
1704
1719
  }), t);
1705
1720
  e(s), this.menuTreeData = [...s], this.allClose = this.checkedKeys.length === this.allCheckedKeys.length && this.allCheckedKeys.length > 0;
1706
1721
  },
@@ -1711,43 +1726,43 @@ const we = {
1711
1726
  this.confirmLoading = !0, Promise.all([this.getList()]).then(async (s) => {
1712
1727
  this.confirmLoading = !1;
1713
1728
  let e = JSON.parse(JSON.stringify(this.menuTreeDatad)), t = [];
1714
- const n = (a) => (a = a.filter((l, r) => {
1729
+ const i = (a) => (a = a.filter((l, r) => {
1715
1730
  const d = this.checkedKeys.filter((o) => l.id === o)[0];
1716
- return l.open = !0, l.checked = l.menusType === 1 ? !!d : !1, l.isIndeterminate = !1, t.push(l), l.children && l.children.length > 0 && (l.children = n(l.children)), !0;
1731
+ return l.open = !0, l.checked = l.menusType === 1 ? !!d : !1, l.isIndeterminate = !1, t.push(l), l.children && l.children.length > 0 && (l.children = i(l.children)), !0;
1717
1732
  }), a);
1718
- await n(e);
1719
- let i = [];
1733
+ await i(e);
1734
+ let n = [];
1720
1735
  t.forEach((a, l) => {
1721
1736
  const r = this.getMenuIds(a);
1722
- t[l].menuIds = r.arr, t[l].menuBtnIds = r.btn, !(this.checkedKeys.filter((c) => r.arr.includes(c)).length === r.arr.length) && r.arr.length > 0 && i.push(a.id);
1737
+ t[l].menuIds = r.arr, t[l].menuBtnIds = r.btn, !(this.checkedKeys.filter((c) => r.arr.includes(c)).length === r.arr.length) && r.arr.length > 0 && n.push(a.id);
1723
1738
  }), this.list = t, this.allClose = this.checkedKeys.length === this.allCheckedKeys.length && this.allCheckedKeys.length > 0, this.menuTreeData = [...e], this.handleItem(), console.log(this.menuAll, "123");
1724
1739
  });
1725
1740
  },
1726
1741
  getList() {
1727
- return S({ roleId: this.record.id }).then((s) => {
1742
+ return L({ roleId: this.record.id }).then((s) => {
1728
1743
  if (s.code === 200) {
1729
1744
  let e = [], t = [];
1730
- const n = (a, l) => (a = a.filter((r, d) => {
1745
+ const i = (a, l) => (a = a.filter((r, d) => {
1731
1746
  r.parentId = l, r.open = !0, r.checked = !1, r.isIndeterminate = !1, r.transkey = r.transkey ? r.transkey : null, r.title = r.name, r.menusType = r.formlist && r.viewlist ? 0 : r.btnlist ? 1 : 2, t.push(r.id), r.type === 1 && e.push(r.id);
1732
1747
  let o = [];
1733
- return r.viewlist && r.viewlist.length > 0 && (r.viewlist.map((c) => (c.iconClass = "gd-icon-shitumoshi", c)), o = o.concat(r.viewlist)), r.formlist && r.formlist.length > 0 && (r.formlist.map((c) => (c.iconClass = "gd-icon-biaodanmoshi", c)), o = o.concat(r.formlist)), r.btnlist && r.btnlist.length > 0 && (o = o.concat(r.btnlist)), o.length > 0 && (r.children = n(o, r.id)), !0;
1748
+ return r.viewlist && r.viewlist.length > 0 && (r.viewlist.map((c) => (c.iconClass = "gd-icon-shitumoshi", c)), o = o.concat(r.viewlist)), r.formlist && r.formlist.length > 0 && (r.formlist.map((c) => (c.iconClass = "gd-icon-biaodanmoshi", c)), o = o.concat(r.formlist)), r.btnlist && r.btnlist.length > 0 && (o = o.concat(r.btnlist)), o.length > 0 && (r.children = i(o, r.id)), !0;
1734
1749
  }), a);
1735
1750
  this.menuAll = s.data.list;
1736
- let i = JSON.parse(JSON.stringify(this.menuAll));
1737
- n(i, 0), this.checkedKeys = e, this.allCheckedKeys = t, this.menuTreeDatad = [...i];
1751
+ let n = JSON.parse(JSON.stringify(this.menuAll));
1752
+ i(n, 0), this.checkedKeys = e, this.allCheckedKeys = t, this.menuTreeDatad = [...n];
1738
1753
  }
1739
1754
  return s;
1740
1755
  });
1741
1756
  },
1742
1757
  getMenuIds(s) {
1743
1758
  let e = [], t = [];
1744
- const n = (i) => (i = i.filter((a, l) => (a.menusType !== 2 ? e.push(a.id) : t.push(a.id), a.children && a.children.length > 0 && (a.children = n(a.children)), !0)), i);
1745
- return s.children && n(s.children), { arr: e, btn: t };
1759
+ const i = (n) => (n = n.filter((a, l) => (a.menusType !== 2 ? e.push(a.id) : t.push(a.id), a.children && a.children.length > 0 && (a.children = i(a.children)), !0)), n);
1760
+ return s.children && i(s.children), { arr: e, btn: t };
1746
1761
  },
1747
1762
  findParent(s, e, t) {
1748
- for (let n of s)
1749
- if (n.id === e.parentId || n.children && n.children.length > 0 && this.findParent(n.children, e, t))
1750
- return t.unshift(n), !0;
1763
+ for (let i of s)
1764
+ if (i.id === e.parentId || i.children && i.children.length > 0 && this.findParent(i.children, e, t))
1765
+ return t.unshift(i), !0;
1751
1766
  return !1;
1752
1767
  },
1753
1768
  open(s) {
@@ -1767,12 +1782,12 @@ const we = {
1767
1782
  };
1768
1783
  var $e = function() {
1769
1784
  var e = this, t = e._self._c;
1770
- return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(n) {
1771
- e.visible = n;
1772
- }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.user.dataRole", "\u6388\u6743\u6570\u636E"), buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "400px" } }, [e.visible ? t("LayoutItem", { attrs: { record: e.menuTreeData, checkedKeys: e.checkedKeys }, on: { open: e.openItem, change: e.changeItem, checkedBtn: e.checkedItemBtn } }) : e._e()], 1), t("template", { slot: "footer" }, [t("div", { staticClass: "btoms" }, [t("el-checkbox", { attrs: { disabled: e.confirmLoading, indeterminate: e.isIndeterminate }, on: { change: e.changeAll }, model: { value: e.allClose, callback: function(n) {
1773
- e.allClose = n;
1785
+ return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", "show-close": !1 }, on: { "update:visible": function(i) {
1786
+ e.visible = i;
1787
+ }, closed: e.closed } }, [t("template", { slot: "title" }, [t("gd-modal-title", { attrs: { title: e.$i18nt("gd.user.dataRole", "\u6388\u6743\u6570\u636E"), buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen } })], 1), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "400px" } }, [e.visible ? t("LayoutItem", { attrs: { record: e.menuTreeData, checkedKeys: e.checkedKeys }, on: { open: e.openItem, change: e.changeItem, checkedBtn: e.checkedItemBtn } }) : e._e()], 1), t("template", { slot: "footer" }, [t("div", { staticClass: "btoms" }, [t("el-checkbox", { attrs: { disabled: e.confirmLoading, indeterminate: e.isIndeterminate }, on: { change: e.changeAll }, model: { value: e.allClose, callback: function(i) {
1788
+ e.allClose = i;
1774
1789
  }, expression: "allClose" } }, [e._v(" " + e._s(e.$i18nt("gd.btn.selectAll", "\u5168\u9009")) + " ")])], 1)])], 2)], 1);
1775
- }, Ke = [], Te = /* @__PURE__ */ u(
1790
+ }, Ke = [], Ce = /* @__PURE__ */ u(
1776
1791
  we,
1777
1792
  $e,
1778
1793
  Ke,
@@ -1782,7 +1797,7 @@ var $e = function() {
1782
1797
  null,
1783
1798
  null
1784
1799
  );
1785
- const Ce = Te.exports;
1800
+ const Te = Ce.exports;
1786
1801
  const Re = {
1787
1802
  name: "GdRole",
1788
1803
  props: {
@@ -1814,7 +1829,7 @@ const Re = {
1814
1829
  isDoc: ""
1815
1830
  };
1816
1831
  },
1817
- components: { RoleGrant: Y, RoleMenu: le, RoleMenuViewForm: Ce, UserAuthorization: me, DocumentAuthorization: ke },
1832
+ components: { RoleGrant: Y, RoleMenu: le, RoleMenuViewForm: Te, UserAuthorization: me, DocumentAuthorization: ke },
1818
1833
  computed: {
1819
1834
  getTableButtons() {
1820
1835
  return this.tableButtons.filter((s) => s.functionName === "grantRoleAppMenu" ? !!this.appsId : s.functionName === "documentAuthorizationMenu" ? this.isDoc == 1 : !0);
@@ -1948,12 +1963,12 @@ const Re = {
1948
1963
  t();
1949
1964
  return;
1950
1965
  }
1951
- let n = [];
1952
- this.selectedRows.forEach((i) => {
1953
- let a = x(i).then((l) => l);
1954
- n.push(a);
1955
- }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(n).then((i) => {
1956
- const a = i.filter((l) => !l.success);
1966
+ let i = [];
1967
+ this.selectedRows.forEach((n) => {
1968
+ let a = x(n).then((l) => l);
1969
+ i.push(a);
1970
+ }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
1971
+ const a = n.filter((l) => !l.success);
1957
1972
  a.length === 0 ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + a[0].message), t(), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
1958
1973
  });
1959
1974
  },
@@ -1982,12 +1997,12 @@ const Re = {
1982
1997
  }
1983
1998
  this.transKey = "gd.https.copy", this.$refs.editForm.open(Object.assign({ ...this.selectedRows[0] }, { roleId: this.selectedRows[0].id }));
1984
1999
  },
1985
- sbumit({ data: s, record: e, btn: t }, n, i) {
2000
+ sbumit({ data: s, record: e, btn: t }, i, n) {
1986
2001
  this.formLoading = !0;
1987
- let a = e ? this.transKey === "gd.https.copy" ? D : N : P;
2002
+ let a = e ? this.transKey === "gd.https.copy" ? P : D : N;
1988
2003
  const l = this.transKey !== "gd.https.edit" ? Object.assign(s, { sysappsid: window.$systemInfo.id }) : s;
1989
2004
  a(l).then((r) => {
1990
- r.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), i(), this.refresh()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + r.message), this.formLoading = !1;
2005
+ r.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n(), this.refresh()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + r.message), this.formLoading = !1;
1991
2006
  });
1992
2007
  },
1993
2008
  onSelectChange(s, e) {
@@ -2002,23 +2017,23 @@ const Re = {
2002
2017
  this.getAppId(), this.getConfigInfo();
2003
2018
  }
2004
2019
  };
2005
- var Le = function() {
2020
+ var Se = function() {
2006
2021
  var e = this, t = e._self._c;
2007
- return t("div", { staticClass: "gd-page-view" }, [t("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !0, selectedKeep: e.selectedKeep, initialLoading: e.initialLoading }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: n, row: i }) {
2008
- return [t("gd-tooltip", { attrs: { rowKey: "name", row: i, highlight: "" }, on: { click: e.editForm } })];
2022
+ return t("div", { staticClass: "gd-page-view" }, [t("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !0, selectedKeep: e.selectedKeep, initialLoading: e.initialLoading }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: n }) {
2023
+ return [t("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" }, on: { click: e.editForm } })];
2009
2024
  } }, { key: "operator", fn: function() {
2010
- return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl" }, [t("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.user.roleName", "\u89D2\u8272\u540D"), clearable: "" }, nativeOn: { keyup: function(n) {
2011
- return !n.type.indexOf("key") && e._k(n.keyCode, "enter", 13, n.key, "Enter") ? null : e.refresh.apply(null, arguments);
2012
- } }, model: { value: e.queryParam.name, callback: function(n) {
2013
- e.$set(e.queryParam, "name", n);
2025
+ return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl" }, [t("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.user.roleName", "\u89D2\u8272\u540D"), clearable: "" }, nativeOn: { keyup: function(i) {
2026
+ return !i.type.indexOf("key") && e._k(i.keyCode, "enter", 13, i.key, "Enter") ? null : e.refresh.apply(null, arguments);
2027
+ } }, model: { value: e.queryParam.name, callback: function(i) {
2028
+ e.$set(e.queryParam, "name", i);
2014
2029
  }, expression: "queryParam.name" } }), t("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1), t("div", { staticClass: "gd-table-operatorr" }, [e.openMode === "page" ? t("gd-btn-list", { attrs: { sysViewButtons: e.getTableButtons }, on: { functionName: e.doEvent } }) : e._e()], 1)])];
2015
- }, proxy: !0 }, { key: "filtering", fn: function({ colse: n, visible: i }) {
2016
- return [t("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: n, visible: i }, on: { save: e.saveQueries } })];
2030
+ }, proxy: !0 }, { key: "filtering", fn: function({ colse: i, visible: n }) {
2031
+ return [t("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: i, visible: n }, on: { save: e.saveQueries } })];
2017
2032
  } }]) })], 1), t("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", loading: e.formLoading, transKey: e.transKey, buttons: e.formButtons, columns: e.getFormColumns, labelPosition: e.labelPosition, formMode: e.formMode }, on: { sbumit: e.sbumit } }), t("RoleGrant", { ref: "roleGrant", on: { ok: e.refresh } }), t("RoleMenu", { ref: "roleMenu", on: { ok: e.refresh } }), t("RoleMenuViewForm", { ref: "roleMenuViewForm", on: { ok: e.refresh } }), t("UserAuthorization", { ref: "userAuthorization", on: { ok: e.refresh } }), t("DocumentAuthorization", { ref: "documentAuthorization", on: { ok: e.refresh } })], 1);
2018
- }, Se = [], Ie = /* @__PURE__ */ u(
2033
+ }, Le = [], Ie = /* @__PURE__ */ u(
2019
2034
  Re,
2020
- Le,
2021
2035
  Se,
2036
+ Le,
2022
2037
  !1,
2023
2038
  null,
2024
2039
  "00f39bc6",