gds-plus-design-vue 1.3.2 → 1.3.21

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 (138) hide show
  1. package/lib/{btnGroup.868c8549.js → btnGroup.2304f2f4.js} +1 -1
  2. package/lib/{btnGroup.bbf14548.mjs → btnGroup.cbaa6e6b.mjs} +14 -14
  3. package/lib/{components.form.9c850f56.mjs → components.form.082d9c9b.mjs} +1 -1
  4. package/lib/{components.form.column.bb178c13.mjs → components.form.column.cab0072e.mjs} +1 -1
  5. package/lib/{components.form.column.bbdd2b3a.js → components.form.column.ee06d8bb.js} +1 -1
  6. package/lib/{components.form.218c5703.js → components.form.f4bb9c4c.js} +1 -1
  7. package/lib/{components.globalheader.87083065.js → components.globalheader.5db21e71.js} +1 -1
  8. package/lib/{components.globalheader.c7309694.mjs → components.globalheader.c5ce924d.mjs} +1 -1
  9. package/lib/components.iconselector.831f847e.js +1 -0
  10. package/lib/{components.iconselector.d7c731b8.mjs → components.iconselector.ded60514.mjs} +20 -17
  11. package/lib/{components.sidenavmenu.8a971489.js → components.sidenavmenu.90170635.js} +1 -1
  12. package/lib/{components.sidenavmenu.d4d48a2e.mjs → components.sidenavmenu.c7b6729b.mjs} +7 -7
  13. package/lib/{components.table.queriesfield.0c9da7cd.mjs → components.table.queriesfield.84733bb7.mjs} +32 -32
  14. package/lib/components.table.queriesfield.a50919ee.js +1 -0
  15. package/lib/{fonticon.9adf1203.mjs → fonticon.0d9a2e23.mjs} +14 -14
  16. package/lib/{fonticon.1b451e1a.js → fonticon.a1263225.js} +1 -1
  17. package/lib/{form.designer.build.44a222b7.mjs → form.designer.build.136e3cdd.mjs} +10 -4
  18. package/lib/form.designer.build.7c94450d.js +1 -0
  19. package/lib/gd-initial.js +1 -1
  20. package/lib/gd-initial.mjs +14 -14
  21. package/lib/{http.filedocument.a10d6b67.mjs → http.filedocument.0219751b.mjs} +14 -14
  22. package/lib/{index.50e04b35.js → index.3a9b2d69.js} +1 -1
  23. package/lib/{index.08591f92.mjs → index.459a27d0.mjs} +22 -22
  24. package/lib/index.53b24311.js +1 -0
  25. package/lib/{index.55cf8b7e.js → index.6207efd7.js} +1 -1
  26. package/lib/{index.a32cdfa6.mjs → index.718199db.mjs} +17 -17
  27. package/lib/{index.dd12afc4.mjs → index.72ea6b6b.mjs} +6 -6
  28. package/lib/{index.d5afad7c.js → index.8c8698d0.js} +1 -1
  29. package/lib/{index.6faf770f.js → index.9ec72e55.js} +1 -1
  30. package/lib/{index.cf8bce6c.mjs → index.e051f15e.mjs} +149 -136
  31. package/lib/{index.b5d91f53.mjs → index.f1ecfc7f.mjs} +23 -23
  32. package/lib/{layoutBlocks.22969318.mjs → layoutBlocks.ec55e84e.mjs} +14 -14
  33. package/lib/{layoutBlocks.3326a2cf.js → layoutBlocks.ff24da6b.js} +1 -1
  34. package/lib/{layouts.basiclayout.d292ac35.js → layouts.basiclayout.05046cb5.js} +1 -1
  35. package/lib/{layouts.basiclayout.ba756cfc.mjs → layouts.basiclayout.422c6adc.mjs} +2 -2
  36. package/lib/{layouts.basiclayouttop.5ea4efd6.mjs → layouts.basiclayouttop.4047325d.mjs} +2 -2
  37. package/lib/{layouts.basiclayouttop.22fb1854.js → layouts.basiclayouttop.d6ee1637.js} +1 -1
  38. package/lib/{main.1fe649dd.js → main.467492ec.js} +1 -1
  39. package/lib/main.72c50010.mjs +941 -0
  40. package/lib/{main.839b7bab.mjs → main.750a686d.mjs} +1 -1
  41. package/lib/{main.46333cc1.js → main.77bfdb3d.js} +1 -1
  42. package/lib/{main.89e80afa.js → main.8024dd7b.js} +1 -1
  43. package/lib/{main.faec0761.mjs → main.95d3ff6c.mjs} +1 -1
  44. package/lib/{main.f646cd77.js → main.97e52ee0.js} +1 -1
  45. package/lib/{main.3781a6a9.js → main.9e4ff9c6.js} +1 -1
  46. package/lib/{main.9753a7a6.mjs → main.a3a8a32a.mjs} +26 -26
  47. package/lib/{main.5d1d8c5d.mjs → main.b7f83538.mjs} +1 -1
  48. package/lib/{main.c57a92f8.js → main.d19f6077.js} +1 -1
  49. package/lib/{main.e2e786a1.mjs → main.ff2b9dde.mjs} +1 -1
  50. package/lib/{mobile.designer.menutree.6ada2626.js → mobile.designer.menutree.31a0ac7c.js} +1 -1
  51. package/lib/{mobile.designer.menutree.5b1640f2.mjs → mobile.designer.menutree.b921fa65.mjs} +2 -2
  52. package/lib/{page.application.6ea9a771.mjs → page.application.72fd9f5e.mjs} +2 -2
  53. package/lib/{page.application.bde3a64a.js → page.application.b07312ad.js} +1 -1
  54. package/lib/{page.bmodule.datafiltering.1ab7a1b7.js → page.bmodule.datafiltering.50c9e358.js} +1 -1
  55. package/lib/{page.bmodule.datafiltering.82eb5fa8.mjs → page.bmodule.datafiltering.b3254ae9.mjs} +1 -1
  56. package/lib/{page.build.6447bfd6.js → page.build.5fa4a6c0.js} +1 -1
  57. package/lib/{page.build.a7f5bc44.mjs → page.build.d8557c78.mjs} +1 -1
  58. package/lib/{page.designer.layouts.b5447529.js → page.designer.layouts.351f3075.js} +1 -1
  59. package/lib/{page.designer.layouts.a04efb60.mjs → page.designer.layouts.5d641118.mjs} +1 -1
  60. package/lib/{page.designer.menutree.02ba7d2c.mjs → page.designer.menutree.34aedf7f.mjs} +491 -416
  61. package/lib/{page.designer.menutree.e9fcd5d7.js → page.designer.menutree.51b5e5ed.js} +1 -1
  62. package/lib/{page.designerp.generatorecharts.4e8fb3f2.mjs → page.designerp.generatorecharts.243dafb6.mjs} +1 -1
  63. package/lib/{page.designerp.generatorecharts.fee5aedd.js → page.designerp.generatorecharts.917dd008.js} +1 -1
  64. package/lib/{page.designerp.generatorgridmenu.d8820f3c.mjs → page.designerp.generatorgridmenu.85ed1c88.mjs} +3 -3
  65. package/lib/page.designerp.generatorgridmenu.ef75017c.js +1 -0
  66. package/lib/{page.designerp.generatortable.9d7b9b14.js → page.designerp.generatortable.79639f31.js} +1 -1
  67. package/lib/{page.designerp.generatortable.6011f553.mjs → page.designerp.generatortable.c4cbeb36.mjs} +1 -1
  68. package/lib/{page.designerp.generatortablegrid.c6e94530.js → page.designerp.generatortablegrid.2d33e24a.js} +1 -1
  69. package/lib/{page.designerp.generatortablegrid.5af3abfa.mjs → page.designerp.generatortablegrid.e61db667.mjs} +2 -2
  70. package/lib/{page.designerp.generatortree.42248e8f.mjs → page.designerp.generatortree.a26b78ae.mjs} +1 -1
  71. package/lib/{page.designerp.generatortree.e8320600.js → page.designerp.generatortree.f5ea6e0f.js} +1 -1
  72. package/lib/{page.designerp.main.8d72b4b4.js → page.designerp.main.9ac6b94e.js} +1 -1
  73. package/lib/{page.designerp.main.79f9b559.mjs → page.designerp.main.f05dd663.mjs} +1 -1
  74. package/lib/{page.designerp.properties.9e22da8e.mjs → page.designerp.properties.3bfd6455.mjs} +12 -12
  75. package/lib/{page.designerp.properties.e0e1b3c6.js → page.designerp.properties.e858d8e2.js} +1 -1
  76. package/lib/{page.designerp.propertiesbtn.40f9c7ec.mjs → page.designerp.propertiesbtn.187e7302.mjs} +1 -1
  77. package/lib/{page.designerp.propertiesbtn.1677b44b.js → page.designerp.propertiesbtn.d73a924e.js} +1 -1
  78. package/lib/{page.designerp.propertieschartbi.076e60a8.mjs → page.designerp.propertieschartbi.2d32c538.mjs} +1 -1
  79. package/lib/{page.designerp.propertieschartbi.f584d384.js → page.designerp.propertieschartbi.9b310756.js} +1 -1
  80. package/lib/{page.designerp.propertiesdrawercontainer.6aa245e7.mjs → page.designerp.propertiesdrawercontainer.40446788.mjs} +1 -1
  81. package/lib/{page.designerp.propertiesdrawercontainer.4602bd6f.js → page.designerp.propertiesdrawercontainer.4aa21503.js} +1 -1
  82. package/lib/{page.designerp.propertiesecharts.d59cc912.js → page.designerp.propertiesecharts.5002d91b.js} +1 -1
  83. package/lib/{page.designerp.propertiesecharts.517664c0.mjs → page.designerp.propertiesecharts.fcf3eaa6.mjs} +2 -2
  84. package/lib/{page.designerp.propertiesgridmenu.4113765c.js → page.designerp.propertiesgridmenu.4e7e22c0.js} +1 -1
  85. package/lib/{page.designerp.propertiesgridmenu.db55e28c.mjs → page.designerp.propertiesgridmenu.c7214ec6.mjs} +1 -1
  86. package/lib/{page.designerp.propertieslist.dda1709b.mjs → page.designerp.propertieslist.828fd439.mjs} +3 -3
  87. package/lib/{page.designerp.propertieslist.caa42641.js → page.designerp.propertieslist.c7d72d78.js} +1 -1
  88. package/lib/{page.designerp.propertiesstatistic.32f7a24d.js → page.designerp.propertiesstatistic.0f2da29f.js} +1 -1
  89. package/lib/{page.designerp.propertiesstatistic.4e14df8b.mjs → page.designerp.propertiesstatistic.a417c9e7.mjs} +1 -1
  90. package/lib/{page.designerp.propertiestable.1fdf9134.mjs → page.designerp.propertiestable.172f9499.mjs} +4 -4
  91. package/lib/{page.designerp.propertiestable.07b36fd6.js → page.designerp.propertiestable.658e0534.js} +1 -1
  92. package/lib/{page.designerp.propertiestablegrid.f606c227.mjs → page.designerp.propertiestablegrid.6b5bbe93.mjs} +5 -5
  93. package/lib/{page.designerp.propertiestablegrid.ccfbd8d6.js → page.designerp.propertiestablegrid.e208f5d1.js} +1 -1
  94. package/lib/{page.designerp.propertiestree.40f7f272.mjs → page.designerp.propertiestree.61da99df.mjs} +3 -3
  95. package/lib/{page.designerp.propertiestree.7848fdff.js → page.designerp.propertiestree.ee7014b7.js} +1 -1
  96. package/lib/page.filedocument.build.48a5874e.js +1 -0
  97. package/lib/{page.filedocument.build.c0f90ccd.mjs → page.filedocument.build.61f014b4.mjs} +130 -131
  98. package/lib/{personal.echarts.4f212a5c.mjs → personal.echarts.268fea3e.mjs} +1 -1
  99. package/lib/{personal.echarts.12a0fad6.js → personal.echarts.a78792db.js} +1 -1
  100. package/lib/{router.config.65dd255f.mjs → router.config.8be3d360.mjs} +8 -8
  101. package/lib/{router.config.77b867ce.js → router.config.e68a29e1.js} +1 -1
  102. package/lib/{search.advanced.327fd0be.mjs → search.advanced.dc688c5c.mjs} +2 -2
  103. package/lib/{search.advanced.be9d450f.js → search.advanced.ec1656d2.js} +1 -1
  104. package/lib/{solution.menu.a42e3c39.js → solution.menu.b487f819.js} +1 -1
  105. package/lib/{solution.menu.fe7037d5.mjs → solution.menu.eea5a105.mjs} +1 -1
  106. package/lib/style.css +2 -2
  107. package/lib/{sysComponents.7bcb6181.mjs → sysComponents.5cffa46d.mjs} +1 -1
  108. package/lib/{sysComponents.96b83ac9.js → sysComponents.90398324.js} +1 -1
  109. package/lib/{system.account.f43288ef.js → system.account.042e1580.js} +6 -6
  110. package/lib/{system.account.89c40faa.mjs → system.account.a315cddc.mjs} +37 -33
  111. package/lib/system.document.classifymanage.4daf3782.mjs +639 -0
  112. package/lib/system.document.classifymanage.c3771fa0.js +1 -0
  113. package/lib/system.document.recyclemanage.20503887.mjs +591 -0
  114. package/lib/system.document.recyclemanage.46e290c5.js +1 -0
  115. package/lib/{system.user.c90fd671.js → system.user.02e22feb.js} +4 -4
  116. package/lib/{system.user.3fb93f0e.mjs → system.user.98c9f5e7.mjs} +10 -4
  117. package/lib/{table.definition.btnconfig.edb31f00.mjs → table.definition.btnconfig.66fef981.mjs} +1 -1
  118. package/lib/{table.definition.btnconfig.ad94433f.js → table.definition.btnconfig.83478480.js} +1 -1
  119. package/lib/{table.definition.echartsconfig.1b55ec5a.js → table.definition.echartsconfig.02ff98ea.js} +1 -1
  120. package/lib/{table.definition.echartsconfig.11213eaa.mjs → table.definition.echartsconfig.34eea92d.mjs} +1 -1
  121. package/lib/{table.definition.fkconfig.c1f383ce.mjs → table.definition.fkconfig.a15d547f.mjs} +5 -5
  122. package/lib/{table.definition.fkconfig.0cb9807b.js → table.definition.fkconfig.cdd19291.js} +1 -1
  123. package/lib/{table.definition.formconfig.14140199.js → table.definition.formconfig.772f9395.js} +1 -1
  124. package/lib/{table.definition.formconfig.a1e3179f.mjs → table.definition.formconfig.cff793af.mjs} +2 -2
  125. package/lib/{utils.componentssys.js.0b63c908.mjs → utils.componentssys.js.539b7c3b.mjs} +12 -12
  126. package/lib/{utils.componentssys.js.85b0f05e.js → utils.componentssys.js.a28c0ac2.js} +1 -1
  127. package/lib/{view.build.c08b0135.mjs → view.build.c4c937d6.mjs} +5 -5
  128. package/lib/{view.build.9cf1f654.js → view.build.cbf165ac.js} +1 -1
  129. package/package.json +59 -107
  130. package/lib/components.iconselector.b74b573b.js +0 -1
  131. package/lib/components.table.queriesfield.49895bed.js +0 -1
  132. package/lib/form.designer.build.2b2da0f4.js +0 -1
  133. package/lib/index.d884234a.js +0 -1
  134. package/lib/main.085ed428.mjs +0 -988
  135. package/lib/page.designerp.generatorgridmenu.dfa1fbbb.js +0 -1
  136. package/lib/page.filedocument.build.54ae14c3.js +0 -1
  137. package/lib/system.document.1e100a7f.mjs +0 -1222
  138. package/lib/system.document.767210d3.js +0 -1
@@ -1,8 +1,8 @@
1
- import { s as m, a as y, d as v, b as w, c as f } from "./http.menumanage.3060f4c7.mjs";
1
+ import { s as p, a as y, d as v, b, c as w } from "./http.menumanage.3060f4c7.mjs";
2
2
  import { s as K, g as k, a as W, b as T } from "./http.appmanage.e389782d.mjs";
3
- import { G as Y, a as C, s as x } from "./http.translationmanage.31fc6aac.mjs";
4
- import { m as b, n as h, a as $ } from "./components.answerquestions.0e877977.mjs";
5
- import { u as g, p, m as P } from "./utils.util.js.16b83ff8.mjs";
3
+ import { G as Y, a as x, s as C } from "./http.translationmanage.31fc6aac.mjs";
4
+ import { m as f, n as h, a as $ } from "./components.answerquestions.0e877977.mjs";
5
+ import { u as g, p as m, m as P } from "./utils.util.js.16b83ff8.mjs";
6
6
  const S = {
7
7
  data() {
8
8
  return {
@@ -5507,7 +5507,7 @@ const q = {
5507
5507
  menusId: ""
5508
5508
  };
5509
5509
  },
5510
- components: { IconSelector: () => import("./components.iconselector.d7c731b8.mjs").then((t) => t.i) },
5510
+ components: { IconSelector: () => import("./components.iconselector.ded60514.mjs").then((n) => n.i) },
5511
5511
  computed: {
5512
5512
  languageMessages() {
5513
5513
  return this.$i18n.messages;
@@ -5533,7 +5533,7 @@ const q = {
5533
5533
  return this.fadeColor(this.primaryColor, 0.1);
5534
5534
  },
5535
5535
  getButtons() {
5536
- return this.buttons.filter((t) => !this.disabledBtns.includes(t.functionName));
5536
+ return this.buttons.filter((n) => !this.disabledBtns.includes(n.functionName));
5537
5537
  },
5538
5538
  modeList() {
5539
5539
  return [
@@ -5544,10 +5544,10 @@ const q = {
5544
5544
  systemInfoCode() {
5545
5545
  return this.record.code === this.sysCode ? "" : `${this.record.code}_`;
5546
5546
  },
5547
- ...b(["primaryColor", "tableLists"])
5547
+ ...f(["primaryColor", "tableLists"])
5548
5548
  },
5549
5549
  methods: {
5550
- selItem(t) {
5550
+ selItem(n) {
5551
5551
  this.$confirm(this.$i18nt("gd.https.createdContent", "\u662F\u5426\u521B\u5EFA\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
5552
5552
  confirmButtonText: this.$i18nt("gd.https.createdOk", "\u786E\u8BA4\u521B\u5EFA"),
5553
5553
  cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
@@ -5560,19 +5560,19 @@ const q = {
5560
5560
  customClass: "custom-alert",
5561
5561
  callback: () => {
5562
5562
  },
5563
- beforeClose: (e, s, i) => {
5563
+ beforeClose: (e, s, t) => {
5564
5564
  if (e !== "confirm") {
5565
- i();
5565
+ t();
5566
5566
  return;
5567
5567
  }
5568
- this.addPageMode(e, s, i, t);
5568
+ this.addPageMode(e, s, t, n);
5569
5569
  }
5570
5570
  });
5571
5571
  },
5572
- addPageMode(t, e, s, i) {
5573
- const n = [...i.list];
5572
+ addPageMode(n, e, s, t) {
5573
+ const i = [...t.list];
5574
5574
  e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, this.confirmLoading = !0;
5575
- const r = Object.assign({ ...i.pageContent }, { key: `${i.pageContent.type}_${g(8)}` });
5575
+ const o = Object.assign({ ...t.pageContent }, { key: `${t.pageContent.type}_${g(8)}` });
5576
5576
  let a = {
5577
5577
  pid: this.record.modeType === "application" ? 0 : this.record.id,
5578
5578
  application: this.record.modeType === "application" ? this.record.code : this.record.application,
@@ -5580,7 +5580,7 @@ const q = {
5580
5580
  type: "1",
5581
5581
  webSource: null,
5582
5582
  pageContent: JSON.stringify({
5583
- list: [r]
5583
+ list: [o]
5584
5584
  }),
5585
5585
  expansion: JSON.stringify({
5586
5586
  padding: [12, 12, 12, 12],
@@ -5592,15 +5592,15 @@ const q = {
5592
5592
  }),
5593
5593
  sysappsid: this.record.sysAppsIded,
5594
5594
  list: [],
5595
- code: this.systemInfoCode + i.code,
5596
- router: this.systemInfoCode === "" ? i.router : i.router + g(4, !1)
5595
+ code: this.systemInfoCode + t.code,
5596
+ router: this.systemInfoCode === "" ? t.router : t.router + g(4, !1)
5597
5597
  };
5598
- m(Object.assign({ ...i }, a)).then((o) => {
5599
- o.success ? this.addPermission(n, o.data, s, e) : (this.confirmLoading = !1, s(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + o.message));
5598
+ p(Object.assign({ ...t }, a)).then((r) => {
5599
+ r.success ? this.addPermission(i, r.data, s, e) : (this.confirmLoading = !1, s(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + r.message));
5600
5600
  });
5601
5601
  },
5602
- addPermission(t, e, s, i) {
5603
- let n = [], r = {
5602
+ addPermission(n, e, s, t) {
5603
+ let i = [], o = {
5604
5604
  pid: e,
5605
5605
  application: this.record.modeType === "application" ? this.record.code : this.record.application,
5606
5606
  opentype: "0",
@@ -5612,25 +5612,25 @@ const q = {
5612
5612
  sysappsid: this.record.sysAppsIded,
5613
5613
  expansion: ""
5614
5614
  };
5615
- t.forEach((a) => {
5616
- let o = this.addSysMenuAddV2(Object.assign(a, { ...r }, { code: this.systemInfoCode + a.code })).then((l) => l);
5617
- n.push(o);
5618
- }), Promise.all(n).then(() => {
5619
- this.closed(), this.$emit("ok", e), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), s(), i.confirmButtonLoading = !1, i.cancelButtonLoading = !1, i.showCancelButton = !0, this.confirmLoading = !1;
5615
+ n.forEach((a) => {
5616
+ let r = this.addSysMenuAddV2(Object.assign(a, { ...o }, { code: this.systemInfoCode + a.code })).then((l) => l);
5617
+ i.push(r);
5618
+ }), Promise.all(i).then(() => {
5619
+ this.closed(), this.$emit("ok", e), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), s(), t.confirmButtonLoading = !1, t.cancelButtonLoading = !1, t.showCancelButton = !0, this.confirmLoading = !1;
5620
5620
  });
5621
5621
  },
5622
- changeKey(t) {
5623
- t !== this.activeKey && (this.activeKey = t);
5622
+ changeKey(n) {
5623
+ n !== this.activeKey && (this.activeKey = n);
5624
5624
  },
5625
- createItem(t) {
5626
- this.activeKey = 1, this.type = "copy", this.visible = !0, this.confirmLoading = !0, this.disabledBtns = ["prev", "next"], this.mode = 2, this.selType = t.modetype, y({ id: t.id }).then((e) => {
5627
- let s = { ...t };
5628
- e.code === 200 && (s = { ...e.data }), this.record = Object.assign(s, { sysAppsIded: t.sysAppsIded });
5629
- const i = g(9, !1);
5625
+ createItem(n) {
5626
+ this.activeKey = 1, this.type = "copy", this.visible = !0, this.confirmLoading = !0, this.disabledBtns = ["prev", "next"], this.mode = 2, this.selType = n.modetype, y({ id: n.id }).then((e) => {
5627
+ let s = { ...n };
5628
+ e.code === 200 && (s = { ...e.data }), this.record = Object.assign(s, { sysAppsIded: n.sysAppsIded });
5629
+ const t = g(9, !1);
5630
5630
  this.ruleForm = {
5631
5631
  name: s.name,
5632
- code: i,
5633
- router: i,
5632
+ code: t,
5633
+ router: t,
5634
5634
  icon: s.icon,
5635
5635
  viewWeights: s.viewweights,
5636
5636
  weight: String(s.weight),
@@ -5641,90 +5641,90 @@ const q = {
5641
5641
  }, this.delContentTransKey(), this.getAllLanguage(), this.confirmLoading = !1;
5642
5642
  });
5643
5643
  },
5644
- regenerateKey(t, e) {
5645
- if (!t || t.startsWith("gd."))
5646
- return t;
5647
- let s = this.prefixKey.split("_"), i = p(s[0], "0");
5648
- const n = t.replace(this.suffixKey, ""), r = n.substr(n.lastIndexOf("_") + 1).toLowerCase();
5649
- let a = `${i}${e.toLowerCase()}_${r}${g(2)}${this.suffixKey}`;
5650
- return r.length > 18 && (a = `${i}${e.toLowerCase()}_${g(8)}${this.suffixKey}`), a;
5644
+ regenerateKey(n, e) {
5645
+ if (!n || n.startsWith("gd."))
5646
+ return n;
5647
+ let s = this.prefixKey.split("_"), t = m(s[0], "0");
5648
+ const i = n.replace(this.suffixKey, ""), o = i.substr(i.lastIndexOf("_") + 1).toLowerCase();
5649
+ let a = `${t}${e.toLowerCase()}_${o}${g(2)}${this.suffixKey}`;
5650
+ return o.length > 18 && (a = `${t}${e.toLowerCase()}_${g(8)}${this.suffixKey}`), a;
5651
5651
  },
5652
5652
  async delContentTransKey() {
5653
- let t = [], e = {};
5654
- const s = (n) => (n = n.filter((r, a) => {
5655
- if (["dataFiltering"].includes(r.type) && r.options.modeType === "customize")
5656
- r.queryList = r.queryList.map((o) => o.transKey ? (e = {
5657
- transKey: this.regenerateKey(o.transKey, "datafilter")
5658
- }, t = t.concat([
5653
+ let n = [], e = {};
5654
+ const s = (i) => (i = i.filter((o, a) => {
5655
+ if (["dataFiltering"].includes(o.type) && o.options.modeType === "customize")
5656
+ o.queryList = o.queryList.map((r) => r.transKey ? (e = {
5657
+ transKey: this.regenerateKey(r.transKey, "datafilter")
5658
+ }, n = n.concat([
5659
5659
  {
5660
- oldKey: o.transKey,
5660
+ oldKey: r.transKey,
5661
5661
  newKey: e.transKey,
5662
- name: this.$i18nt(`Dynamics.${o.transKey}`, o.columncomment)
5662
+ name: this.$i18nt(`Dynamics.${r.transKey}`, r.columncomment)
5663
5663
  }
5664
- ]), Object.assign(o, e)) : o);
5665
- else if (["chartBI"].includes(r.type) && r.options.dataType === "custom")
5666
- r.fieldData = r.fieldData.map((o) => o.transkey ? (e = {
5667
- transKey: this.regenerateKey(o.transkey, "chartBI")
5668
- }, t = t.concat([
5664
+ ]), Object.assign(r, e)) : r);
5665
+ else if (["chartBI"].includes(o.type) && o.options.dataType === "custom")
5666
+ o.fieldData = o.fieldData.map((r) => r.transkey ? (e = {
5667
+ transKey: this.regenerateKey(r.transkey, "chartBI")
5668
+ }, n = n.concat([
5669
5669
  {
5670
- oldKey: o.transkey,
5670
+ oldKey: r.transkey,
5671
5671
  newKey: e.transkey,
5672
- name: this.$i18nt(`Dynamics.${o.transkey}`, o.columncomment)
5672
+ name: this.$i18nt(`Dynamics.${r.transkey}`, r.columncomment)
5673
5673
  }
5674
- ]), Object.assign(o, e)) : o);
5675
- else if (["gridMenu", "graphicMenu"].includes(r.type))
5676
- r.menuList = r.menuList.map((o) => (e = {
5677
- transKey: this.regenerateKey(o.transKey, "title"),
5678
- describeTransKey: this.regenerateKey(o.describeTransKey, "describe")
5679
- }, t = t.concat([
5674
+ ]), Object.assign(r, e)) : r);
5675
+ else if (["gridMenu", "graphicMenu"].includes(o.type))
5676
+ o.menuList = o.menuList.map((r) => (e = {
5677
+ transKey: this.regenerateKey(r.transKey, "title"),
5678
+ describeTransKey: this.regenerateKey(r.describeTransKey, "describe")
5679
+ }, n = n.concat([
5680
5680
  {
5681
- oldKey: o.transKey,
5681
+ oldKey: r.transKey,
5682
5682
  newKey: e.transKey,
5683
- name: this.$i18nt(`Dynamics.${o.transKey}`, o.title)
5683
+ name: this.$i18nt(`Dynamics.${r.transKey}`, r.title)
5684
5684
  },
5685
5685
  {
5686
- oldKey: o.describeTransKey,
5686
+ oldKey: r.describeTransKey,
5687
5687
  newKey: e.describeTransKey,
5688
- name: this.$i18nt(`Dynamics.${o.describeTransKey}`, o.describe)
5688
+ name: this.$i18nt(`Dynamics.${r.describeTransKey}`, r.describe)
5689
5689
  }
5690
- ]), Object.assign({ ...o }, e)));
5691
- else if (["btnGroup"].includes(r.type))
5692
- r.btnList = r.btnList.map((o) => o.transKey && !o.transKey.startsWith("gd.") ? (e = { transKey: this.regenerateKey(o.transKey, r.type) }, t.push({
5693
- oldKey: o.transKey,
5690
+ ]), Object.assign({ ...r }, e)));
5691
+ else if (["btnGroup"].includes(o.type))
5692
+ o.btnList = o.btnList.map((r) => r.transKey && !r.transKey.startsWith("gd.") ? (e = { transKey: this.regenerateKey(r.transKey, o.type) }, n.push({
5693
+ oldKey: r.transKey,
5694
5694
  newKey: e.transKey,
5695
- name: this.$i18nt(`Dynamics.${o.transKey}`, o.displayName)
5696
- }), Object.assign({ ...o }, e)) : o);
5697
- else if (["textSearch"].includes(r.type))
5698
- e = { placeholderTransKey: this.regenerateKey(r.options.placeholderTransKey, "placeholder") }, t.push({
5699
- oldKey: r.options.placeholderTransKey,
5695
+ name: this.$i18nt(`Dynamics.${r.transKey}`, r.displayName)
5696
+ }), Object.assign({ ...r }, e)) : r);
5697
+ else if (["textSearch"].includes(o.type))
5698
+ e = { placeholderTransKey: this.regenerateKey(o.options.placeholderTransKey, "placeholder") }, n.push({
5699
+ oldKey: o.options.placeholderTransKey,
5700
5700
  newKey: e.placeholderTransKey,
5701
- name: this.$i18nt(`Dynamics.${r.options.placeholderTransKey}`, r.options.placeholder)
5702
- }), r.options = Object.assign({ ...r.options }, e);
5703
- else if (["divider", "textContent", "tag", "link", "card", "approval", "approvalHistory", "auditLog"].includes(r.type)) {
5704
- e = { transKey: this.regenerateKey(r.options.transKey, r.type) };
5705
- const o = ["card"].includes(r.type) ? r.options.header : ["approval", "approvalHistory", "auditLog"].includes(r.type) ? r.label : r.options.title;
5706
- t.push({
5707
- oldKey: r.options.transKey,
5701
+ name: this.$i18nt(`Dynamics.${o.options.placeholderTransKey}`, o.options.placeholder)
5702
+ }), o.options = Object.assign({ ...o.options }, e);
5703
+ else if (["divider", "textContent", "tag", "link", "card", "approval", "approvalHistory", "auditLog"].includes(o.type)) {
5704
+ e = { transKey: this.regenerateKey(o.options.transKey, o.type) };
5705
+ const r = ["card"].includes(o.type) ? o.options.header : ["approval", "approvalHistory", "auditLog"].includes(o.type) ? o.label : o.options.title;
5706
+ n.push({
5707
+ oldKey: o.options.transKey,
5708
5708
  newKey: e.transKey,
5709
- name: this.$i18nt(`Dynamics.${r.options.transKey}`, o)
5710
- }), r.options = Object.assign({ ...r.options }, e);
5709
+ name: this.$i18nt(`Dynamics.${o.options.transKey}`, r)
5710
+ }), o.options = Object.assign({ ...o.options }, e);
5711
5711
  } else
5712
- ["title"].includes(r.type) ? (e = {
5713
- transKey: this.regenerateKey(r.options.transKey, r.type),
5714
- subtransKey: this.regenerateKey(r.options.subtransKey, "describe")
5715
- }, t = t.concat([
5712
+ ["title"].includes(o.type) ? (e = {
5713
+ transKey: this.regenerateKey(o.options.transKey, o.type),
5714
+ subtransKey: this.regenerateKey(o.options.subtransKey, "describe")
5715
+ }, n = n.concat([
5716
5716
  {
5717
- oldKey: r.options.transKey,
5717
+ oldKey: o.options.transKey,
5718
5718
  newKey: e.transKey,
5719
- name: this.$i18nt(`Dynamics.${r.options.transKey}`, r.options.title)
5719
+ name: this.$i18nt(`Dynamics.${o.options.transKey}`, o.options.title)
5720
5720
  },
5721
5721
  {
5722
- oldKey: r.options.subtransKey,
5722
+ oldKey: o.options.subtransKey,
5723
5723
  newKey: e.subtransKey,
5724
- name: this.$i18nt(`Dynamics.${r.options.subtransKey}`, r.options.subtitle)
5724
+ name: this.$i18nt(`Dynamics.${o.options.subtransKey}`, o.options.subtitle)
5725
5725
  }
5726
- ]), r.options = Object.assign({ ...r.options }, e)) : ["statistic"].includes(r.type) ? (r.options = Object.assign(r.options, {
5727
- titlePrefix: r.options.titlePrefix ? r.options.titlePrefix : {
5726
+ ]), o.options = Object.assign({ ...o.options }, e)) : ["statistic"].includes(o.type) ? (o.options = Object.assign(o.options, {
5727
+ titlePrefix: o.options.titlePrefix ? o.options.titlePrefix : {
5728
5728
  name: "",
5729
5729
  transKey: null,
5730
5730
  type: "text",
@@ -5734,7 +5734,7 @@ const q = {
5734
5734
  fontSize: "14",
5735
5735
  fontWeight: "normal"
5736
5736
  },
5737
- titleSuffix: r.options.titlePrefix ? r.options.titlePrefix : {
5737
+ titleSuffix: o.options.titlePrefix ? o.options.titlePrefix : {
5738
5738
  name: "",
5739
5739
  transKey: null,
5740
5740
  type: "text",
@@ -5745,59 +5745,59 @@ const q = {
5745
5745
  fontWeight: "normal"
5746
5746
  }
5747
5747
  }), e = {
5748
- transKey: this.regenerateKey(r.options.transKey, r.type),
5749
- prefixTransKey: this.regenerateKey(r.options.titlePrefix.transKey, "prefix"),
5750
- suffixTransKey: this.regenerateKey(r.options.titleSuffix.transKey, "suffix")
5751
- }, t = t.concat([
5748
+ transKey: this.regenerateKey(o.options.transKey, o.type),
5749
+ prefixTransKey: this.regenerateKey(o.options.titlePrefix.transKey, "prefix"),
5750
+ suffixTransKey: this.regenerateKey(o.options.titleSuffix.transKey, "suffix")
5751
+ }, n = n.concat([
5752
5752
  {
5753
- oldKey: r.options.transKey,
5753
+ oldKey: o.options.transKey,
5754
5754
  newKey: e.transKey,
5755
- name: this.$i18nt(`Dynamics.${r.options.transKey}`, r.options.statisticTitle)
5755
+ name: this.$i18nt(`Dynamics.${o.options.transKey}`, o.options.statisticTitle)
5756
5756
  },
5757
5757
  {
5758
- oldKey: r.options.titlePrefix.transKey,
5758
+ oldKey: o.options.titlePrefix.transKey,
5759
5759
  newKey: e.prefixTransKey,
5760
- name: this.$i18nt(`Dynamics.${r.options.titlePrefix.transKey}`, r.options.titlePrefix.name)
5760
+ name: this.$i18nt(`Dynamics.${o.options.titlePrefix.transKey}`, o.options.titlePrefix.name)
5761
5761
  },
5762
5762
  {
5763
- oldKey: r.options.titleSuffix.transKey,
5763
+ oldKey: o.options.titleSuffix.transKey,
5764
5764
  newKey: e.suffixTransKey,
5765
- name: this.$i18nt(`Dynamics.${r.options.titleSuffix.transKey}`, r.options.titleSuffix.name)
5765
+ name: this.$i18nt(`Dynamics.${o.options.titleSuffix.transKey}`, o.options.titleSuffix.name)
5766
5766
  }
5767
- ]), r.options = Object.assign(
5768
- { ...r.options },
5767
+ ]), o.options = Object.assign(
5768
+ { ...o.options },
5769
5769
  {
5770
5770
  transKey: e.transKey,
5771
5771
  titlePrefix: Object.assign(
5772
- { ...r.titlePrefix },
5772
+ { ...o.titlePrefix },
5773
5773
  {
5774
5774
  transKey: e.prefixTransKey
5775
5775
  }
5776
5776
  ),
5777
5777
  titleSuffix: Object.assign(
5778
- { ...r.titleSuffix },
5778
+ { ...o.titleSuffix },
5779
5779
  {
5780
5780
  transKey: e.suffixTransKey
5781
5781
  }
5782
5782
  )
5783
5783
  }
5784
- )) : ["tableGrid"].includes(r.type) ? r.operationuList = r.operationuList.map((o) => o.transKey ? (e = {
5785
- transKey: this.regenerateKey(o.transKey, r.type)
5786
- }, t = t.concat([
5784
+ )) : ["tableGrid"].includes(o.type) ? o.operationuList = o.operationuList.map((r) => r.transKey ? (e = {
5785
+ transKey: this.regenerateKey(r.transKey, o.type)
5786
+ }, n = n.concat([
5787
5787
  {
5788
- oldKey: o.transKey,
5788
+ oldKey: r.transKey,
5789
5789
  newKey: e.transKey,
5790
- name: this.$i18nt(`Dynamics.${o.transKey}`, o.displayName)
5790
+ name: this.$i18nt(`Dynamics.${r.transKey}`, r.displayName)
5791
5791
  }
5792
- ]), Object.assign(o, e)) : o) : ["dataFields"].includes(r.type) ? r.fieldList = r.fieldList.map((o) => o.transKey ? (e = {
5793
- transKey: this.regenerateKey(o.transKey, r.type)
5794
- }, t = t.concat([
5792
+ ]), Object.assign(r, e)) : r) : ["dataFields"].includes(o.type) ? o.fieldList = o.fieldList.map((r) => r.transKey ? (e = {
5793
+ transKey: this.regenerateKey(r.transKey, o.type)
5794
+ }, n = n.concat([
5795
5795
  {
5796
- oldKey: o.transKey,
5796
+ oldKey: r.transKey,
5797
5797
  newKey: e.transKey,
5798
- name: this.$i18nt(`Dynamics.${o.transKey}`, o.title)
5798
+ name: this.$i18nt(`Dynamics.${r.transKey}`, r.title)
5799
5799
  }
5800
- ]), Object.assign(o, e)) : o) : [
5800
+ ]), Object.assign(r, e)) : r) : [
5801
5801
  "input",
5802
5802
  "textarea",
5803
5803
  "editor",
@@ -5811,99 +5811,99 @@ const q = {
5811
5811
  "uploadFile",
5812
5812
  "datePicker",
5813
5813
  "timePicker"
5814
- ].includes(r.type) && (e = {
5815
- transKey: this.regenerateKey(r.options.transKey, r.type),
5816
- placeholderTransKey: this.regenerateKey(r.options.placeholderTransKey, "placeholder")
5817
- }, t = t.concat([
5814
+ ].includes(o.type) && (e = {
5815
+ transKey: this.regenerateKey(o.options.transKey, o.type),
5816
+ placeholderTransKey: this.regenerateKey(o.options.placeholderTransKey, "placeholder")
5817
+ }, n = n.concat([
5818
5818
  {
5819
- oldKey: r.options.transKey,
5819
+ oldKey: o.options.transKey,
5820
5820
  newKey: e.transKey,
5821
- name: this.$i18nt(`Dynamics.${r.options.transKey}`, r.label)
5821
+ name: this.$i18nt(`Dynamics.${o.options.transKey}`, o.label)
5822
5822
  },
5823
5823
  {
5824
- oldKey: r.options.placeholderTransKey,
5824
+ oldKey: o.options.placeholderTransKey,
5825
5825
  newKey: e.placeholderTransKey,
5826
- name: this.$i18nt(`Dynamics.${r.options.placeholderTransKey}`, r.options.placeholder)
5826
+ name: this.$i18nt(`Dynamics.${o.options.placeholderTransKey}`, o.options.placeholder)
5827
5827
  }
5828
- ]), r.options = Object.assign({ ...r.options }, e));
5829
- return ["grid", "tabs", "collapse", "drawer", "dialog"].includes(r.type) ? r.columns.forEach((o) => {
5830
- ["collapse", "tabs"].includes(r.type) && (e = { transKey: this.regenerateKey(o.transKey, `${r.type}item`) }, t.push({
5831
- oldKey: o.transKey,
5828
+ ]), o.options = Object.assign({ ...o.options }, e));
5829
+ return ["grid", "tabs", "collapse", "drawer", "dialog"].includes(o.type) ? o.columns.forEach((r) => {
5830
+ ["collapse", "tabs"].includes(o.type) && (e = { transKey: this.regenerateKey(r.transKey, `${o.type}item`) }, n.push({
5831
+ oldKey: r.transKey,
5832
5832
  newKey: e.transKey,
5833
- name: this.$i18nt(`Dynamics.${o.transKey}`, o.label)
5834
- }), r.columns[a].transKey = e.transKey), o.list = s(o.list);
5835
- }) : ["card", "batch", "form", "containerPanel", "drawerContainer", "flexLayout", "dataList"].includes(r.type) && (r.list = s(r.list)), !0;
5836
- }), n), i = this.record.pagecontent ? JSON.parse(this.record.pagecontent) : { list: [] };
5837
- await s(i.list), this.record.pagecontent = JSON.stringify(i), this.contentTransKey = t;
5833
+ name: this.$i18nt(`Dynamics.${r.transKey}`, r.label)
5834
+ }), o.columns[a].transKey = e.transKey), r.list = s(r.list);
5835
+ }) : ["card", "batch", "form", "containerPanel", "drawerContainer", "flexLayout", "dataList"].includes(o.type) && (o.list = s(o.list)), !0;
5836
+ }), i), t = this.record.pagecontent ? JSON.parse(this.record.pagecontent) : { list: [] };
5837
+ await s(t.list), this.record.pagecontent = JSON.stringify(t), this.contentTransKey = n;
5838
5838
  },
5839
- async subContentTransKey(t, e) {
5840
- const s = (i) => (i = i.filter((n, r) => {
5841
- if (["dataFiltering"].includes(n.type) && n.options.modeType === "customize")
5842
- n.queryList = n.queryList.map((a) => {
5843
- const o = e.filter((l) => l.newKey === a.transKey)[0];
5844
- return o ? Object.assign(a, { transKey: o.newKeyId }) : a;
5839
+ async subContentTransKey(n, e) {
5840
+ const s = (t) => (t = t.filter((i, o) => {
5841
+ if (["dataFiltering"].includes(i.type) && i.options.modeType === "customize")
5842
+ i.queryList = i.queryList.map((a) => {
5843
+ const r = e.filter((l) => l.newKey === a.transKey)[0];
5844
+ return r ? Object.assign(a, { transKey: r.newKeyId }) : a;
5845
5845
  });
5846
- else if (["chartBI"].includes(n.type) && n.options.dataType === "custom")
5847
- n.fieldData = n.fieldData.map((a) => {
5848
- const o = e.filter((l) => l.newKey === a.transkey)[0];
5849
- return o ? Object.assign(a, { transkey: o.newKeyId }) : a;
5846
+ else if (["chartBI"].includes(i.type) && i.options.dataType === "custom")
5847
+ i.fieldData = i.fieldData.map((a) => {
5848
+ const r = e.filter((l) => l.newKey === a.transkey)[0];
5849
+ return r ? Object.assign(a, { transkey: r.newKeyId }) : a;
5850
5850
  });
5851
- else if (["gridMenu", "graphicMenu"].includes(n.type))
5852
- n.menuList = n.menuList.map((a) => {
5853
- let o = {};
5851
+ else if (["gridMenu", "graphicMenu"].includes(i.type))
5852
+ i.menuList = i.menuList.map((a) => {
5853
+ let r = {};
5854
5854
  const l = e.filter((c) => c.newKey === a.transKey)[0], d = e.filter((c) => c.newKey === a.describeTransKey)[0];
5855
- return l && Object.assign(o, { transKey: l.newKeyId }), d && Object.assign(o, { describeTransKey: l.newKeyId }), Object.assign({ ...a }, o);
5855
+ return l && Object.assign(r, { transKey: l.newKeyId }), d && Object.assign(r, { describeTransKey: l.newKeyId }), Object.assign({ ...a }, r);
5856
5856
  });
5857
- else if (["btnGroup"].includes(n.type))
5858
- n.btnList = n.btnList.map((a) => {
5859
- const o = e.filter((l) => l.newKey === a.transKey)[0];
5860
- if (o)
5861
- return Object.assign(a, { transKey: o.newKeyId });
5857
+ else if (["btnGroup"].includes(i.type))
5858
+ i.btnList = i.btnList.map((a) => {
5859
+ const r = e.filter((l) => l.newKey === a.transKey)[0];
5860
+ if (r)
5861
+ return Object.assign(a, { transKey: r.newKeyId });
5862
5862
  });
5863
- else if (["textSearch"].includes(n.type)) {
5864
- const a = e.filter((o) => o.newKey === n.options.placeholderTransKey)[0];
5865
- a && (n.options = Object.assign({ ...n.options }, { placeholderTransKey: a.newKeyId }));
5866
- } else if (["divider", "textContent", "tag", "link", "card", "approval", "approvalHistory", "auditLog"].includes(n.type)) {
5867
- const a = e.filter((o) => o.newKey === n.options.transKey)[0];
5868
- a && (n.options = Object.assign({ ...n.options }, { transKey: a.newKeyId }));
5869
- } else if (["title"].includes(n.type)) {
5863
+ else if (["textSearch"].includes(i.type)) {
5864
+ const a = e.filter((r) => r.newKey === i.options.placeholderTransKey)[0];
5865
+ a && (i.options = Object.assign({ ...i.options }, { placeholderTransKey: a.newKeyId }));
5866
+ } else if (["divider", "textContent", "tag", "link", "card", "approval", "approvalHistory", "auditLog"].includes(i.type)) {
5867
+ const a = e.filter((r) => r.newKey === i.options.transKey)[0];
5868
+ a && (i.options = Object.assign({ ...i.options }, { transKey: a.newKeyId }));
5869
+ } else if (["title"].includes(i.type)) {
5870
5870
  let a = {};
5871
- const o = e.filter((d) => d.newKey === n.options.transKey)[0], l = e.filter((d) => d.newKey === n.options.subtransKey)[0];
5872
- o && Object.assign(a, { transKey: o.newKeyId }), l && Object.assign(a, { subtransKey: o.newKeyId }), n.options = Object.assign({ ...n.options }, a);
5873
- } else if (["statistic"].includes(n.type)) {
5871
+ const r = e.filter((d) => d.newKey === i.options.transKey)[0], l = e.filter((d) => d.newKey === i.options.subtransKey)[0];
5872
+ r && Object.assign(a, { transKey: r.newKeyId }), l && Object.assign(a, { subtransKey: r.newKeyId }), i.options = Object.assign({ ...i.options }, a);
5873
+ } else if (["statistic"].includes(i.type)) {
5874
5874
  let a = {
5875
- transKey: n.options.transKey,
5876
- prefixTransKey: n.options.titlePrefix.transKey,
5877
- suffixTransKey: n.options.titleSuffix.transKey
5875
+ transKey: i.options.transKey,
5876
+ prefixTransKey: i.options.titlePrefix.transKey,
5877
+ suffixTransKey: i.options.titleSuffix.transKey
5878
5878
  };
5879
- e.filter((o) => o.newKey === a.transKey)[0], e.filter((o) => o.newKey === a.prefixTransKey)[0], e.filter((o) => o.newKey === a.suffixTransKey)[0], n.options = Object.assign(
5880
- { ...n.options },
5879
+ e.filter((r) => r.newKey === a.transKey)[0], e.filter((r) => r.newKey === a.prefixTransKey)[0], e.filter((r) => r.newKey === a.suffixTransKey)[0], i.options = Object.assign(
5880
+ { ...i.options },
5881
5881
  {
5882
5882
  transKey: a.transKey,
5883
5883
  titlePrefix: Object.assign(
5884
- { ...n.titlePrefix },
5884
+ { ...i.titlePrefix },
5885
5885
  {
5886
5886
  transKey: a.prefixTransKey
5887
5887
  }
5888
5888
  ),
5889
5889
  titleSuffix: Object.assign(
5890
- { ...n.titleSuffix },
5890
+ { ...i.titleSuffix },
5891
5891
  {
5892
5892
  transKey: a.suffixTransKey
5893
5893
  }
5894
5894
  )
5895
5895
  }
5896
5896
  );
5897
- } else if (["tableGrid"].includes(n.type))
5898
- n.operationuList = n.operationuList.map((a) => {
5899
- const o = e.filter((l) => l.newKey === a.transKey)[0];
5900
- return o ? Object.assign(a, { transKey: o.newKeyId }) : a;
5897
+ } else if (["tableGrid"].includes(i.type))
5898
+ i.operationuList = i.operationuList.map((a) => {
5899
+ const r = e.filter((l) => l.newKey === a.transKey)[0];
5900
+ return r ? Object.assign(a, { transKey: r.newKeyId }) : a;
5901
5901
  });
5902
- else if (["dataFields"].includes(n.type))
5903
- n.fieldList = n.fieldList.map((a) => {
5904
- const o = e.filter((l) => l.newKey === a.transKey)[0];
5905
- if (o)
5906
- return Object.assign(a, { transKey: o.newKeyId });
5902
+ else if (["dataFields"].includes(i.type))
5903
+ i.fieldList = i.fieldList.map((a) => {
5904
+ const r = e.filter((l) => l.newKey === a.transKey)[0];
5905
+ if (r)
5906
+ return Object.assign(a, { transKey: r.newKeyId });
5907
5907
  });
5908
5908
  else if ([
5909
5909
  "input",
@@ -5919,90 +5919,90 @@ const q = {
5919
5919
  "uploadFile",
5920
5920
  "datePicker",
5921
5921
  "timePicker"
5922
- ].includes(n.type)) {
5922
+ ].includes(i.type)) {
5923
5923
  let a = {};
5924
- const o = e.filter((d) => d.newKey === n.options.transKey)[0], l = e.filter((d) => d.newKey === n.options.placeholderTransKey)[0];
5925
- o && Object.assign(a, { transKey: o.newKeyId }), l && Object.assign(a, { placeholderTransKey: o.newKeyId }), n.options = Object.assign({ ...n.options }, a);
5924
+ const r = e.filter((d) => d.newKey === i.options.transKey)[0], l = e.filter((d) => d.newKey === i.options.placeholderTransKey)[0];
5925
+ r && Object.assign(a, { transKey: r.newKeyId }), l && Object.assign(a, { placeholderTransKey: r.newKeyId }), i.options = Object.assign({ ...i.options }, a);
5926
5926
  }
5927
- return ["grid", "tabs", "collapse", "drawer", "dialog"].includes(n.type) ? n.columns.forEach((a) => {
5928
- if (["collapse", "tabs"].includes(n.type)) {
5929
- const o = e.filter((l) => l.newKey === a.transKey)[0];
5930
- o && (n.columns[r].transKey = o.newKeyId);
5927
+ return ["grid", "tabs", "collapse", "drawer", "dialog"].includes(i.type) ? i.columns.forEach((a) => {
5928
+ if (["collapse", "tabs"].includes(i.type)) {
5929
+ const r = e.filter((l) => l.newKey === a.transKey)[0];
5930
+ r && (i.columns[o].transKey = r.newKeyId);
5931
5931
  }
5932
5932
  a.list = s(a.list);
5933
- }) : ["card", "batch", "form", "containerPanel", "drawerContainer", "flexLayout", "dataList"].includes(n.type) && (n.list = s(n.list)), !0;
5934
- }), i);
5935
- return await s(t.list), Object.assign(t, {
5933
+ }) : ["card", "batch", "form", "containerPanel", "drawerContainer", "flexLayout", "dataList"].includes(i.type) && (i.list = s(i.list)), !0;
5934
+ }), t);
5935
+ return await s(n.list), Object.assign(n, {
5936
5936
  addTransKey: []
5937
5937
  });
5938
5938
  },
5939
5939
  getAllLanguage() {
5940
- Y().then((t) => {
5941
- t.code === 200 && (this.translationLangs = t.data);
5940
+ Y().then((n) => {
5941
+ n.code === 200 && (this.translationLangs = n.data);
5942
5942
  });
5943
5943
  },
5944
- regenerateKeyId(t) {
5945
- let e = this.prefixKey.split("_"), s = p(e[0], "0"), i = p(e[0], this.menusId);
5946
- return t.replace(s, i);
5944
+ regenerateKeyId(n) {
5945
+ let e = this.prefixKey.split("_"), s = m(e[0], "0"), t = m(e[0], this.menusId);
5946
+ return n.replace(s, t);
5947
5947
  },
5948
- async batchAddTransKey(t) {
5949
- let e = this.contentTransKey.filter((n) => n.oldKey && !n.oldKey.startsWith("gd."));
5948
+ async batchAddTransKey(n) {
5949
+ let e = this.contentTransKey.filter((i) => i.oldKey && !i.oldKey.startsWith("gd."));
5950
5950
  if (this.type === "created" || e.length === 0)
5951
- return new Promise((n) => {
5952
- this.confirmLoading = !1, this.closed(), this.$emit("ok", t), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n();
5951
+ return new Promise((i) => {
5952
+ this.confirmLoading = !1, this.closed(), this.$emit("ok", n), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), i();
5953
5953
  });
5954
- e = e.map((n) => Object.assign(n, {
5955
- newKeyId: this.regenerateKeyId(n.newKey)
5954
+ e = e.map((i) => Object.assign(i, {
5955
+ newKeyId: this.regenerateKeyId(i.newKey)
5956
5956
  }));
5957
5957
  let s = await this.sysMenuDetail();
5958
- const i = await this.subContentTransKey(
5958
+ const t = await this.subContentTransKey(
5959
5959
  s.pagecontent ? JSON.parse(s.pagecontent) : {
5960
5960
  list: [],
5961
5961
  addTransKey: []
5962
5962
  },
5963
5963
  e
5964
5964
  );
5965
- return new Promise((n) => {
5966
- Promise.all([this.addTranslationKey(e), this.editPageDetail(Object.assign(s, { pagecontent: JSON.stringify(i) }))]).then((r) => {
5967
- this.confirmLoading = !1, this.closed(), this.$emit("ok", t), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n();
5965
+ return new Promise((i) => {
5966
+ Promise.all([this.addTranslationKey(e), this.editPageDetail(Object.assign(s, { pagecontent: JSON.stringify(t) }))]).then((o) => {
5967
+ this.confirmLoading = !1, this.closed(), this.$emit("ok", n), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), i();
5968
5968
  });
5969
5969
  });
5970
5970
  },
5971
- editPageDetail(t) {
5972
- return v(t).then((e) => e);
5971
+ editPageDetail(n) {
5972
+ return v(n).then((e) => e);
5973
5973
  },
5974
5974
  sysMenuDetail() {
5975
- return y({ id: this.menusId }).then((t) => t.data);
5975
+ return y({ id: this.menusId }).then((n) => n.data);
5976
5976
  },
5977
- addTranslationKey(t) {
5977
+ addTranslationKey(n) {
5978
5978
  let e = [];
5979
- return t.forEach((s) => {
5979
+ return n.forEach((s) => {
5980
5980
  e.push(this.batchAddTranslation(s));
5981
- }), C(e).then((s) => s);
5981
+ }), x(e).then((s) => s);
5982
5982
  },
5983
- batchAddTranslation(t) {
5983
+ batchAddTranslation(n) {
5984
5984
  let e = [];
5985
5985
  return this.translationLangs.forEach((s) => {
5986
- const i = P(s.languagecode, `Dynamics.${t.oldKey}`, t.name);
5986
+ const t = P(s.languagecode, `Dynamics.${n.oldKey}`, n.name);
5987
5987
  e.push(
5988
5988
  Object.assign(
5989
5989
  { ...s },
5990
5990
  {
5991
- description: i
5991
+ description: t
5992
5992
  }
5993
5993
  )
5994
5994
  );
5995
5995
  }), {
5996
- defaulttext: t.name,
5996
+ defaulttext: n.name,
5997
5997
  hintcatalogid: "",
5998
- name: t.newKeyId,
5998
+ name: n.newKeyId,
5999
5999
  type: "3",
6000
6000
  langs: e
6001
6001
  };
6002
6002
  },
6003
6003
  handleSubmit() {
6004
- this.confirmLoading = !0, this.$refs.ruleForm.validate((t) => {
6005
- if (!t) {
6004
+ this.confirmLoading = !0, this.$refs.ruleForm.validate((n) => {
6005
+ if (!n) {
6006
6006
  this.confirmLoading = !1;
6007
6007
  return;
6008
6008
  }
@@ -6010,7 +6010,7 @@ const q = {
6010
6010
  });
6011
6011
  },
6012
6012
  addPage() {
6013
- const t = this.type === "created" ? {
6013
+ const n = this.type === "created" ? {
6014
6014
  pid: this.record.modeType === "application" ? 0 : this.record.id,
6015
6015
  application: this.record.modeType === "application" ? this.record.code : this.record.application,
6016
6016
  openType: "1",
@@ -6039,12 +6039,12 @@ const q = {
6039
6039
  pageContent: this.record.pagecontent,
6040
6040
  sysAppsId: this.record.sysAppsIded
6041
6041
  };
6042
- m(Object.assign({ ...this.ruleForm }, t)).then((e) => {
6042
+ p(Object.assign({ ...this.ruleForm }, n)).then((e) => {
6043
6043
  e.success ? (this.menusId = e.data, this.batchAddTransKey(e.data)) : (this.confirmLoading = !1, this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + e.message));
6044
6044
  });
6045
6045
  },
6046
6046
  addDirectory() {
6047
- const t = this.type === "created" ? {
6047
+ const n = this.type === "created" ? {
6048
6048
  pid: 0,
6049
6049
  application: this.record.code,
6050
6050
  openType: "0",
@@ -6073,12 +6073,12 @@ const q = {
6073
6073
  pageContent: this.record.pageContent,
6074
6074
  sysAppsId: this.record.sysAppsIded
6075
6075
  };
6076
- m(Object.assign({ ...this.ruleForm }, t)).then((e) => {
6076
+ p(Object.assign({ ...this.ruleForm }, n)).then((e) => {
6077
6077
  e.success ? (this.closed(), this.$emit("ok", e.data), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F"))) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + e.message), this.confirmLoading = !1;
6078
6078
  });
6079
6079
  },
6080
- addSysMenuAddV2(t) {
6081
- return m(t).then((e) => e);
6080
+ addSysMenuAddV2(n) {
6081
+ return p(n).then((e) => e);
6082
6082
  },
6083
6083
  next() {
6084
6084
  this.disabledBtns = ["next"], this.mode = 2;
@@ -6086,14 +6086,14 @@ const q = {
6086
6086
  prev() {
6087
6087
  this.disabledBtns = ["prev", "handleSubmit"], this.mode = 1;
6088
6088
  },
6089
- open(t) {
6090
- this.activeKey = 1, this.type = "created", this.record = t, this.visible = !0;
6089
+ open(n) {
6090
+ this.activeKey = 1, this.type = "created", this.record = n, this.visible = !0;
6091
6091
  const e = g(9, !1);
6092
6092
  if (this.ruleForm = Object.assign(this.ruleForm, {
6093
6093
  code: e,
6094
6094
  router: e,
6095
6095
  sysCodeGenName: ""
6096
- }), t.modeType === "application") {
6096
+ }), n.modeType === "application") {
6097
6097
  this.disabledBtns = ["prev", "handleSubmit"], this.selType = "directory", this.mode = 1;
6098
6098
  return;
6099
6099
  }
@@ -6102,8 +6102,8 @@ const q = {
6102
6102
  closed() {
6103
6103
  this.$refs.ruleForm && this.$refs.ruleForm.resetFields(), this.visible = !1, this.mode = 1, this.selType = "directory", this.fullscreen = !1;
6104
6104
  },
6105
- doEvent(t) {
6106
- let e = t.item.functionName;
6105
+ doEvent(n) {
6106
+ let e = n.item.functionName;
6107
6107
  this[e] && this[e]();
6108
6108
  },
6109
6109
  handleIcon() {
@@ -6112,29 +6112,29 @@ const q = {
6112
6112
  toggleFullscreen() {
6113
6113
  this.fullscreen = !this.fullscreen;
6114
6114
  },
6115
- fadeColor(t, e) {
6116
- let s = parseInt(t.substring(1, 3), 16), i = parseInt(t.substring(3, 5), 16), n = parseInt(t.substring(5, 7), 16);
6117
- return `rgba(${s},${i},${n},${e})`;
6115
+ fadeColor(n, e) {
6116
+ let s = parseInt(n.substring(1, 3), 16), t = parseInt(n.substring(3, 5), 16), i = parseInt(n.substring(5, 7), 16);
6117
+ return `rgba(${s},${t},${i},${e})`;
6118
6118
  },
6119
- getDictionary(t) {
6120
- return this.$options.filters.dictData(t);
6119
+ getDictionary(n) {
6120
+ return this.$options.filters.dictData(n);
6121
6121
  },
6122
- getTransKey(t) {
6123
- let e = `STF_T${t.code}_${g(8)}`, s = [
6122
+ getTransKey(n) {
6123
+ let e = `STF_T${n.code}_${g(8)}`, s = [
6124
6124
  {
6125
- val: t.name,
6125
+ val: n.name,
6126
6126
  code: "zh_CN"
6127
6127
  },
6128
6128
  {
6129
- val: t.name,
6129
+ val: n.name,
6130
6130
  code: "en_US"
6131
6131
  },
6132
6132
  {
6133
- val: t.name,
6133
+ val: n.name,
6134
6134
  code: "vi_VN"
6135
6135
  },
6136
6136
  {
6137
- val: t.name,
6137
+ val: n.name,
6138
6138
  code: "id_ID"
6139
6139
  }
6140
6140
  ];
@@ -6142,62 +6142,62 @@ const q = {
6142
6142
  }
6143
6143
  }
6144
6144
  };
6145
- var U = function() {
6145
+ var E = function() {
6146
6146
  var e = this, s = e._self._c;
6147
- return s("div", [s("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) {
6148
- e.visible = i;
6149
- }, closed: e.closed } }, [s("gd-modal-title", { attrs: { slot: "title", title: e.$i18nt("gd.btn.add", "\u65B0\u589E"), fullscreen: e.fullscreen, buttons: e.getButtons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent }, slot: "title" }), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [e.mode === 1 ? [s("el-alert", { attrs: { title: e.$i18nt("gd.menuTree.ppleaseSelectANewType", "\u8BF7\u9009\u62E9\u65B0\u5EFA\u7C7B\u578B"), type: "info", closable: !1, "show-icon": "" } }), s("div", { staticClass: "page-mode" }, e._l(e.modeList, function(i) {
6150
- return s("div", { key: i.code, staticClass: "item", class: i.code === e.selType ? "item-mode" : "", on: { click: function(n) {
6151
- e.selType = i.code;
6152
- } } }, [s("i", { staticClass: "el-icon-plus" }), s("div", { staticClass: "name" }, [e._v(e._s(e.$i18nt(i.transKey, i.name)))])]);
6153
- }), 0)] : s("div", { staticClass: "page-flex", class: e.fullscreen ? "page-flex-big" : "", style: { "--dilute": e.fadeColord } }, [e.selType === "page" ? s("div", { staticClass: "page-flex-l" }, [s("div", { staticClass: "item", class: e.activeKey === 1 ? "item-active" : "", on: { click: function(i) {
6147
+ return s("div", [s("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(t) {
6148
+ e.visible = t;
6149
+ }, closed: e.closed } }, [s("gd-modal-title", { attrs: { slot: "title", title: e.$i18nt("gd.btn.add", "\u65B0\u589E"), fullscreen: e.fullscreen, buttons: e.getButtons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent }, slot: "title" }), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [e.mode === 1 ? [s("el-alert", { attrs: { title: e.$i18nt("gd.menuTree.ppleaseSelectANewType", "\u8BF7\u9009\u62E9\u65B0\u5EFA\u7C7B\u578B"), type: "info", closable: !1, "show-icon": "" } }), s("div", { staticClass: "page-mode" }, e._l(e.modeList, function(t) {
6150
+ return s("div", { key: t.code, staticClass: "item", class: t.code === e.selType ? "item-mode" : "", on: { click: function(i) {
6151
+ e.selType = t.code;
6152
+ } } }, [s("i", { staticClass: "el-icon-plus" }), s("div", { staticClass: "name" }, [e._v(e._s(e.$i18nt(t.transKey, t.name)))])]);
6153
+ }), 0)] : s("div", { staticClass: "page-flex", class: e.fullscreen ? "page-flex-big" : "", style: { "--dilute": e.fadeColord } }, [e.selType === "page" ? s("div", { staticClass: "page-flex-l" }, [s("div", { staticClass: "item", class: e.activeKey === 1 ? "item-active" : "", on: { click: function(t) {
6154
6154
  return e.changeKey(1);
6155
- } } }, [s("i", { staticClass: "el-icon-circle-plus" }), s("span", { staticClass: "name" }, [e._v(e._s(e.$i18nt("gd.menuTree.blankPage", "\u7A7A\u767D\u9875\u9762")))])]), s("el-divider"), s("div", { staticClass: "item", class: e.activeKey === 2 ? "item-active" : "", on: { click: function(i) {
6155
+ } } }, [s("i", { staticClass: "el-icon-circle-plus" }), s("span", { staticClass: "name" }, [e._v(e._s(e.$i18nt("gd.menuTree.blankPage", "\u7A7A\u767D\u9875\u9762")))])]), s("el-divider"), s("div", { staticClass: "item", class: e.activeKey === 2 ? "item-active" : "", on: { click: function(t) {
6156
6156
  return e.changeKey(2);
6157
- } } }, [s("i", { staticClass: "gd-icons gd-icon-xitong" }), s("span", { staticClass: "name" }, [e._v(e._s(e.$i18nt("gd.menuTree.systemPage", "\u7CFB\u7EDF\u9875\u9762")))])])], 1) : e._e(), s("div", { staticClass: "page-flex-r" }, [s("el-form", { directives: [{ name: "show", rawName: "v-show", value: e.activeKey === 1, expression: "activeKey === 1" }], ref: "ruleForm", staticStyle: { width: "90%", margin: "0 auto" }, attrs: { model: e.ruleForm, rules: e.rules, "label-width": "140px", size: "mini" }, nativeOn: { submit: function(i) {
6158
- i.preventDefault();
6159
- } } }, [s("el-form-item", { attrs: { label: e.$i18nt("gd.directory.name", "\u540D\u79F0"), prop: "name" } }, [s("div", { staticClass: "gd-form-item-displayName" }, [s("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleForm.name, callback: function(i) {
6160
- e.$set(e.ruleForm, "name", i);
6161
- }, expression: "ruleForm.name" } }), e.ruleForm.name && !e.ruleForm.transkey ? s("gd-translation", { ref: "gdTranslation", attrs: { transKey: e.getTransKey(e.ruleForm, 2), recordData: e.ruleForm, type: 3 } }) : e._e()], 1)]), s("el-form-item", { attrs: { label: e.$i18nt("gd.directory.code", "\u552F\u4E00\u7F16\u7801"), prop: "code" } }, [s("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleForm.code, callback: function(i) {
6162
- e.$set(e.ruleForm, "code", i);
6163
- }, expression: "ruleForm.code" } })], 1), s("el-form-item", { attrs: { label: e.$i18nt("gd.directory.router", "\u8DEF\u7531\u5730\u5740"), prop: "router" } }, [s("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleForm.router, callback: function(i) {
6164
- e.$set(e.ruleForm, "router", i);
6165
- }, expression: "ruleForm.router" } }, [s("template", { slot: "prepend" }, [e._v("/")])], 2)], 1), s("el-form-item", { attrs: { label: e.$i18nt("gd.directory.icon", "\u56FE\u6807"), prop: "icon" } }, [s("div", { staticClass: "item-operator" }, [s("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), size: "mini", clearable: "" }, model: { value: e.ruleForm.icon, callback: function(i) {
6166
- e.$set(e.ruleForm, "icon", i);
6167
- }, expression: "ruleForm.icon" } }, [e.ruleForm.icon ? s("i", { staticClass: "el-input__icon gd-icons active-color", class: e.ruleForm.icon, staticStyle: { "font-weight": "400", "font-size": "16px" }, attrs: { slot: "prefix" }, slot: "prefix" }) : e._e()]), s("div", { staticClass: "item-operator-cao" }, [s("i", { staticClass: "el-icon-search", on: { click: e.handleIcon } })])], 1)]), e.selType === "page" ? s("el-form-item", { attrs: { label: e.$i18nt("gd.menu.table", "\u6240\u5C5E\u8868") } }, [s("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", clearable: "" }, model: { value: e.ruleForm.sysCodeGenName, callback: function(i) {
6168
- e.$set(e.ruleForm, "sysCodeGenName", i);
6169
- }, expression: "ruleForm.sysCodeGenName" } }, e._l(e.tableLists, function(i) {
6170
- return s("el-option", { key: i.id, attrs: { label: e.$i18nt(`Dynamics.${i.transkey}`, i.busname), value: i.id } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.busname)) + " " + e._s(i.tablename) + " ")]);
6171
- }), 1)], 1) : e._e(), s("el-form-item", { attrs: { prop: "weight" } }, [s("span", { attrs: { slot: "label" }, slot: "label" }, [e._v(" " + e._s(e.$i18nt("gd.directory.weight", "\u6743\u91CD")) + " "), s("el-tooltip", { attrs: { placement: "top" } }, [s("div", { staticStyle: { "max-width": "200px" }, attrs: { slot: "content" }, slot: "content" }, [e._v(" " + e._s(e.$i18nt("gd.menu.weightTip", "\u7CFB\u7EDF\u6743\u91CD\uFF1A\u83DC\u5355\u53EF\u5206\u914D\u7ED9\u4EFB\u4F55\u89D2\u8272\uFF0C\u4E1A\u52A1\u6743\u91CD\uFF1A\u83DC\u5355\u5BF9\u8D85\u7EA7\u7BA1\u7406\u5458\u4E0D\u53EF\u89C1")) + " ")]), s("i", { staticClass: "el-icon-question" })])], 1), s("el-radio-group", { model: { value: e.ruleForm.weight, callback: function(i) {
6172
- e.$set(e.ruleForm, "weight", i);
6173
- }, expression: "ruleForm.weight" } }, [e._l(e.getDictionary("menu_weight"), function(i) {
6174
- return [s("el-radio", { attrs: { label: i.code } }, [e._v(e._s(e.$i18nt(`Dynamics.${i.transkey}`, i.name)))])];
6175
- })], 2)], 1), s("el-form-item", { attrs: { label: e.$i18nt("gd.directory.sort", "\u6392\u5E8F"), prop: "sort" } }, [s("el-input-number", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), "controls-position": "right" }, model: { value: e.ruleForm.sort, callback: function(i) {
6176
- e.$set(e.ruleForm, "sort", i);
6177
- }, expression: "ruleForm.sort" } })], 1), s("el-form-item", { attrs: { label: e.$i18nt("gd.directory.visibleOrNot", "\u662F\u5426\u53EF\u89C1"), prop: "visible" } }, [s("el-switch", { attrs: { "active-color": e.primaryColor, "active-value": "Y", "inactive-value": "N" }, model: { value: e.ruleForm.visible, callback: function(i) {
6178
- e.$set(e.ruleForm, "visible", i);
6179
- }, expression: "ruleForm.visible" } })], 1), s("el-form-item", { attrs: { label: e.$i18nt("gd.directory.remark", "\u5907\u6CE8"), prop: "remark" } }, [s("el-input", { attrs: { type: "textarea", autosize: { minRows: 3, maxRows: 5 }, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleForm.remark, callback: function(i) {
6180
- e.$set(e.ruleForm, "remark", i);
6181
- }, expression: "ruleForm.remark" } })], 1)], 1), e.activeKey === 2 ? s("div", { staticClass: "page-flexr-list" }, e._l(e.list, function(i, n) {
6182
- return s("div", [n !== 0 ? s("el-divider") : e._e(), s("div", { staticClass: "name" }, [e._v(e._s(e.$i18nt(i.transKey, i.name)))]), s("div", { staticClass: "item-list" }, e._l(i.list, function(r) {
6157
+ } } }, [s("i", { staticClass: "gd-icons gd-icon-xitong" }), s("span", { staticClass: "name" }, [e._v(e._s(e.$i18nt("gd.menuTree.systemPage", "\u7CFB\u7EDF\u9875\u9762")))])])], 1) : e._e(), s("div", { staticClass: "page-flex-r" }, [s("el-form", { directives: [{ name: "show", rawName: "v-show", value: e.activeKey === 1, expression: "activeKey === 1" }], ref: "ruleForm", staticStyle: { width: "90%", margin: "0 auto" }, attrs: { model: e.ruleForm, rules: e.rules, "label-width": "140px", size: "mini" }, nativeOn: { submit: function(t) {
6158
+ t.preventDefault();
6159
+ } } }, [s("el-form-item", { attrs: { label: e.$i18nt("gd.directory.name", "\u540D\u79F0"), prop: "name" } }, [s("div", { staticClass: "gd-form-item-displayName" }, [s("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleForm.name, callback: function(t) {
6160
+ e.$set(e.ruleForm, "name", t);
6161
+ }, expression: "ruleForm.name" } }), e.ruleForm.name && !e.ruleForm.transkey ? s("gd-translation", { ref: "gdTranslation", attrs: { transKey: e.getTransKey(e.ruleForm, 2), recordData: e.ruleForm, type: 3 } }) : e._e()], 1)]), s("el-form-item", { attrs: { label: e.$i18nt("gd.directory.code", "\u552F\u4E00\u7F16\u7801"), prop: "code" } }, [s("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleForm.code, callback: function(t) {
6162
+ e.$set(e.ruleForm, "code", t);
6163
+ }, expression: "ruleForm.code" } })], 1), s("el-form-item", { attrs: { label: e.$i18nt("gd.directory.router", "\u8DEF\u7531\u5730\u5740"), prop: "router" } }, [s("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleForm.router, callback: function(t) {
6164
+ e.$set(e.ruleForm, "router", t);
6165
+ }, expression: "ruleForm.router" } }, [s("template", { slot: "prepend" }, [e._v("/")])], 2)], 1), s("el-form-item", { attrs: { label: e.$i18nt("gd.directory.icon", "\u56FE\u6807"), prop: "icon" } }, [s("div", { staticClass: "item-operator" }, [s("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.inputcontent", "\u8BF7\u8F93\u5165\u5185\u5BB9"), size: "mini", clearable: "" }, model: { value: e.ruleForm.icon, callback: function(t) {
6166
+ e.$set(e.ruleForm, "icon", t);
6167
+ }, expression: "ruleForm.icon" } }, [e.ruleForm.icon ? s("i", { staticClass: "el-input__icon gd-icons active-color", class: e.ruleForm.icon, staticStyle: { "font-weight": "400", "font-size": "16px" }, attrs: { slot: "prefix" }, slot: "prefix" }) : e._e()]), s("div", { staticClass: "item-operator-cao" }, [s("i", { staticClass: "el-icon-search", on: { click: e.handleIcon } })])], 1)]), e.selType === "page" ? s("el-form-item", { attrs: { label: e.$i18nt("gd.menu.table", "\u6240\u5C5E\u8868") } }, [s("el-select", { staticStyle: { width: "100%" }, attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), filterable: "", clearable: "" }, model: { value: e.ruleForm.sysCodeGenName, callback: function(t) {
6168
+ e.$set(e.ruleForm, "sysCodeGenName", t);
6169
+ }, expression: "ruleForm.sysCodeGenName" } }, e._l(e.tableLists, function(t) {
6170
+ return s("el-option", { key: t.id, attrs: { label: e.$i18nt(`Dynamics.${t.transkey}`, t.busname), value: t.id } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${t.transkey}`, t.busname)) + " " + e._s(t.tablename) + " ")]);
6171
+ }), 1)], 1) : e._e(), s("el-form-item", { attrs: { prop: "weight" } }, [s("span", { attrs: { slot: "label" }, slot: "label" }, [e._v(" " + e._s(e.$i18nt("gd.directory.weight", "\u6743\u91CD")) + " "), s("el-tooltip", { attrs: { placement: "top" } }, [s("div", { staticStyle: { "max-width": "200px" }, attrs: { slot: "content" }, slot: "content" }, [e._v(" " + e._s(e.$i18nt("gd.menu.weightTip", "\u7CFB\u7EDF\u6743\u91CD\uFF1A\u83DC\u5355\u53EF\u5206\u914D\u7ED9\u4EFB\u4F55\u89D2\u8272\uFF0C\u4E1A\u52A1\u6743\u91CD\uFF1A\u83DC\u5355\u5BF9\u8D85\u7EA7\u7BA1\u7406\u5458\u4E0D\u53EF\u89C1")) + " ")]), s("i", { staticClass: "el-icon-question" })])], 1), s("el-radio-group", { model: { value: e.ruleForm.weight, callback: function(t) {
6172
+ e.$set(e.ruleForm, "weight", t);
6173
+ }, expression: "ruleForm.weight" } }, [e._l(e.getDictionary("menu_weight"), function(t) {
6174
+ return [s("el-radio", { attrs: { label: t.code } }, [e._v(e._s(e.$i18nt(`Dynamics.${t.transkey}`, t.name)))])];
6175
+ })], 2)], 1), s("el-form-item", { attrs: { label: e.$i18nt("gd.directory.sort", "\u6392\u5E8F"), prop: "sort" } }, [s("el-input-number", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), "controls-position": "right" }, model: { value: e.ruleForm.sort, callback: function(t) {
6176
+ e.$set(e.ruleForm, "sort", t);
6177
+ }, expression: "ruleForm.sort" } })], 1), s("el-form-item", { attrs: { label: e.$i18nt("gd.directory.visibleOrNot", "\u662F\u5426\u53EF\u89C1"), prop: "visible" } }, [s("el-switch", { attrs: { "active-color": e.primaryColor, "active-value": "Y", "inactive-value": "N" }, model: { value: e.ruleForm.visible, callback: function(t) {
6178
+ e.$set(e.ruleForm, "visible", t);
6179
+ }, expression: "ruleForm.visible" } })], 1), s("el-form-item", { attrs: { label: e.$i18nt("gd.directory.remark", "\u5907\u6CE8"), prop: "remark" } }, [s("el-input", { attrs: { type: "textarea", autosize: { minRows: 3, maxRows: 5 }, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleForm.remark, callback: function(t) {
6180
+ e.$set(e.ruleForm, "remark", t);
6181
+ }, expression: "ruleForm.remark" } })], 1)], 1), e.activeKey === 2 ? s("div", { staticClass: "page-flexr-list" }, e._l(e.list, function(t, i) {
6182
+ return s("div", [i !== 0 ? s("el-divider") : e._e(), s("div", { staticClass: "name" }, [e._v(e._s(e.$i18nt(t.transKey, t.name)))]), s("div", { staticClass: "item-list" }, e._l(t.list, function(o) {
6183
6183
  return s("div", { staticClass: "items", on: { click: function(a) {
6184
- return e.selItem(r);
6185
- } } }, [s("div", { staticClass: "items-box" }, [s("div", { staticClass: "kuang" }, [s("i", { staticClass: "gd-icons", class: r.icon })]), s("div", { staticClass: "spu" }, [e._v(e._s(e.$i18nt(r.transKey, r.name)))])])]);
6184
+ return e.selItem(o);
6185
+ } } }, [s("div", { staticClass: "items-box" }, [s("div", { staticClass: "kuang" }, [s("i", { staticClass: "gd-icons", class: o.icon })]), s("div", { staticClass: "spu" }, [e._v(e._s(e.$i18nt(o.transKey, o.name)))])])]);
6186
6186
  }), 0)], 1);
6187
- }), 0) : e._e()], 1)])], 2)], 1), s("IconSelector", { ref: "iconSelector", model: { value: e.ruleForm.icon, callback: function(i) {
6188
- e.$set(e.ruleForm, "icon", i);
6187
+ }), 0) : e._e()], 1)])], 2)], 1), s("IconSelector", { ref: "iconSelector", model: { value: e.ruleForm.icon, callback: function(t) {
6188
+ e.$set(e.ruleForm, "icon", t);
6189
6189
  }, expression: "ruleForm.icon" } })], 1);
6190
- }, E = [], Q = /* @__PURE__ */ h(
6190
+ }, U = [], J = /* @__PURE__ */ h(
6191
6191
  q,
6192
- U,
6193
6192
  E,
6193
+ U,
6194
6194
  !1,
6195
6195
  null,
6196
6196
  "2d2142d3",
6197
6197
  null,
6198
6198
  null
6199
6199
  );
6200
- const J = Q.exports;
6200
+ const Q = J.exports;
6201
6201
  const z = {
6202
6202
  props: {
6203
6203
  treeData: {
@@ -6238,8 +6238,8 @@ const z = {
6238
6238
  },
6239
6239
  methods: {
6240
6240
  handleSubmit() {
6241
- this.confirmLoading = !0, this.$refs.ruleForm.validate(async (t) => {
6242
- if (!t) {
6241
+ this.confirmLoading = !0, this.$refs.ruleForm.validate(async (n) => {
6242
+ if (!n) {
6243
6243
  this.confirmLoading = !1;
6244
6244
  return;
6245
6245
  }
@@ -6247,48 +6247,48 @@ const z = {
6247
6247
  let s = {
6248
6248
  name: e.name
6249
6249
  };
6250
- const i = this.treeOptions.filter((n) => n.id === this.ruleForm.npid)[0];
6251
- this.record.modeType === "page" && !i ? Object.assign(s, { pid: this.ruleForm.npid }) : this.record.modeType === "page" && i ? Object.assign(s, { pid: 0, application: i.code }) : this.record.modeType === "directory" && Object.assign(s, { pid: 0, application: i.code }), v(Object.assign(e, { ...s })).then((n) => {
6252
- n.success ? (this.closed(), this.$emit("ok"), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F"))) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + n.message), this.confirmLoading = !1;
6250
+ const t = this.treeOptions.filter((i) => i.id === this.ruleForm.npid)[0];
6251
+ this.record.modeType === "page" && !t ? Object.assign(s, { pid: this.ruleForm.npid }) : this.record.modeType === "page" && t ? Object.assign(s, { pid: 0, application: t.code }) : this.record.modeType === "directory" && Object.assign(s, { pid: 0, application: t.code }), v(Object.assign(e, { ...s })).then((i) => {
6252
+ i.success ? (this.closed(), this.$emit("ok"), this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F"))) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + i.message), this.confirmLoading = !1;
6253
6253
  });
6254
6254
  });
6255
6255
  },
6256
6256
  getDetail() {
6257
- return y({ id: this.record.id }).then((t) => t.code === 200 ? t.data : { ...this.record });
6257
+ return y({ id: this.record.id }).then((n) => n.code === 200 ? n.data : { ...this.record });
6258
6258
  },
6259
6259
  toggleFullscreen() {
6260
6260
  this.fullscreen = !this.fullscreen;
6261
6261
  },
6262
- open(t) {
6263
- this.record = t, this.visible = !0, this.ruleForm = {
6264
- pid: t.pid,
6265
- npid: t.pid
6262
+ open(n) {
6263
+ this.record = n, this.visible = !0, this.ruleForm = {
6264
+ pid: n.pid,
6265
+ npid: n.pid
6266
6266
  }, this.getTreeData();
6267
6267
  },
6268
6268
  async getTreeData() {
6269
- let t = JSON.parse(JSON.stringify(this.treeData[0].children));
6270
- const e = (s) => (s = s.filter((i, n) => (this.record.modeType === "directory" && (i.children = null), i.modeType === "directory" && (i.children = null), i.children && (i.children = e(i.children)), i.modeType === "directory")), s);
6271
- await e(t), this.treeOptions = [...t];
6269
+ let n = JSON.parse(JSON.stringify(this.treeData[0].children));
6270
+ const e = (s) => (s = s.filter((t, i) => (this.record.modeType === "directory" && (t.children = null), t.modeType === "directory" && (t.children = null), t.children && (t.children = e(t.children)), t.modeType === "directory")), s);
6271
+ await e(n), this.treeOptions = [...n];
6272
6272
  },
6273
6273
  closed() {
6274
6274
  this.visible = !1, this.fullscreen = !1;
6275
6275
  },
6276
- doEvent(t) {
6277
- let e = t.item.functionName;
6276
+ doEvent(n) {
6277
+ let e = n.item.functionName;
6278
6278
  this[e] && this[e]();
6279
6279
  }
6280
6280
  }
6281
6281
  };
6282
6282
  var Z = function() {
6283
6283
  var e = this, s = e._self._c;
6284
- return s("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) {
6285
- e.visible = i;
6286
- }, closed: e.closed } }, [s("gd-modal-title", { attrs: { slot: "title", title: e.$i18nt("gd.btn.move", "\u79FB\u52A8"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent }, slot: "title" }), e.visible ? s("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", staticStyle: { width: "90%", margin: "0 auto" }, attrs: { model: e.ruleForm, rules: e.rules, "label-width": "120px", size: "mini" }, nativeOn: { submit: function(i) {
6287
- i.preventDefault();
6288
- } } }, [s("el-form-item", { attrs: { label: e.$i18nt("gd.menuTree.currentSuperior", "\u5F53\u524D\u4E0A\u7EA7"), prop: "pid" } }, [s("gd-select-tree", { attrs: { defaultProps: e.defaultProps, filterable: !0, "tree-options": e.treeOptions, "default-value": e.ruleForm.pid, placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: !0 }, model: { value: e.ruleForm.pid, callback: function(i) {
6289
- e.$set(e.ruleForm, "pid", i);
6290
- }, expression: "ruleForm.pid" } })], 1), s("el-form-item", { attrs: { label: e.$i18nt("gd.menuTree.newBoss", "\u65B0\u4E0A\u7EA7"), prop: "npid" } }, [s("gd-select-tree", { attrs: { defaultProps: e.defaultProps, filterable: !0, "tree-options": e.treeOptions, "default-value": e.ruleForm.npid, placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleForm.npid, callback: function(i) {
6291
- e.$set(e.ruleForm, "npid", i);
6284
+ return s("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(t) {
6285
+ e.visible = t;
6286
+ }, closed: e.closed } }, [s("gd-modal-title", { attrs: { slot: "title", title: e.$i18nt("gd.btn.move", "\u79FB\u52A8"), fullscreen: e.fullscreen, buttons: e.buttons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent }, slot: "title" }), e.visible ? s("el-form", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], ref: "ruleForm", staticStyle: { width: "90%", margin: "0 auto" }, attrs: { model: e.ruleForm, rules: e.rules, "label-width": "120px", size: "mini" }, nativeOn: { submit: function(t) {
6287
+ t.preventDefault();
6288
+ } } }, [s("el-form-item", { attrs: { label: e.$i18nt("gd.menuTree.currentSuperior", "\u5F53\u524D\u4E0A\u7EA7"), prop: "pid" } }, [s("gd-select-tree", { attrs: { defaultProps: e.defaultProps, filterable: !0, "tree-options": e.treeOptions, "default-value": e.ruleForm.pid, placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), disabled: !0 }, model: { value: e.ruleForm.pid, callback: function(t) {
6289
+ e.$set(e.ruleForm, "pid", t);
6290
+ }, expression: "ruleForm.pid" } })], 1), s("el-form-item", { attrs: { label: e.$i18nt("gd.menuTree.newBoss", "\u65B0\u4E0A\u7EA7"), prop: "npid" } }, [s("gd-select-tree", { attrs: { defaultProps: e.defaultProps, filterable: !0, "tree-options": e.treeOptions, "default-value": e.ruleForm.npid, placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9") }, model: { value: e.ruleForm.npid, callback: function(t) {
6291
+ e.$set(e.ruleForm, "npid", t);
6292
6292
  }, expression: "ruleForm.npid" } })], 1)], 1) : e._e()], 1);
6293
6293
  }, V = [], H = /* @__PURE__ */ h(
6294
6294
  z,
@@ -6301,7 +6301,68 @@ var Z = function() {
6301
6301
  null
6302
6302
  );
6303
6303
  const X = H.exports;
6304
- const ee = {
6304
+ function ee(n) {
6305
+ let e = [];
6306
+ const s = (t) => (t = t.filter((i, o) => {
6307
+ if (i.options)
6308
+ for (let a in i.options)
6309
+ [
6310
+ "transKey",
6311
+ "subtransKey",
6312
+ "suffixTransKey",
6313
+ "prefixTransKey",
6314
+ "placeholderTransKey"
6315
+ ].includes(a) && i.options[a] && !i.options[a].startsWith("gd.") && e.push(i.options[a]);
6316
+ ["dataFiltering"].includes(i.type) && i.options.modeType === "customize" ? i.queryList.forEach((a) => {
6317
+ a.transKey && e.push(a.transKey);
6318
+ }) : ["gridMenu", "graphicMenu"].includes(i.type) ? i.menuList.forEach((a) => {
6319
+ a.transKey && e.push(a.transKey), a.describeTransKey && e.push(a.describeTransKey);
6320
+ }) : ["btnGroup"].includes(i.type) ? i.btnList.forEach((a) => {
6321
+ a.transKey && !a.transKey.startsWith("gd.") && e.push(a.transKey);
6322
+ }) : ["tableGrid"].includes(i.type) ? i.operationuList.forEach((a) => {
6323
+ a.transKey && e.push(a.transKey);
6324
+ }) : ["chartBI"].includes(i.type) && i.options.dataType === "custom" && i.fieldData.forEach((a) => {
6325
+ a.transkey && e.push(a.transkey);
6326
+ }), ["statistic"].includes(i.type) && (i.options = Object.assign(i.options, {
6327
+ titlePrefix: i.options.titlePrefix ? i.options.titlePrefix : {
6328
+ name: "",
6329
+ transKey: null,
6330
+ type: "text",
6331
+ icon: "",
6332
+ open: !1,
6333
+ color: "#333",
6334
+ fontSize: "14",
6335
+ fontWeight: "normal"
6336
+ },
6337
+ titleSuffix: i.options.titlePrefix ? i.options.titlePrefix : {
6338
+ name: "",
6339
+ transKey: null,
6340
+ type: "text",
6341
+ icon: "",
6342
+ open: !1,
6343
+ color: "#333",
6344
+ fontSize: "14",
6345
+ fontWeight: "normal"
6346
+ }
6347
+ }), i.options.transKey && e.push(i.options.transKey), i.options.titlePrefix.transKey && e.push(i.options.titlePrefix.transKey), i.options.titleSuffix.transKey && e.push(i.options.titleSuffix.transKey)), ["grid", "tabs", "collapse", "drawer", "dialog"].includes(i.type) ? i.columns.forEach((a) => {
6348
+ s(a.list), a.transKey && e.push(a.transKey);
6349
+ }) : [
6350
+ "card",
6351
+ "batch",
6352
+ "form",
6353
+ "containerPanel",
6354
+ "drawerContainer",
6355
+ "flexLayout",
6356
+ "dataList"
6357
+ ].includes(i.type) ? s(i.list) : ["title"].includes(i.type) ? i.options = Object.assign(i.options, {
6358
+ subtransKey: null
6359
+ }) : ["dataFields"].includes(i.type) && i.fieldList.forEach((a) => {
6360
+ a.transKey && e.push(a.transKey);
6361
+ });
6362
+ }), t);
6363
+ return s(n.list), e;
6364
+ }
6365
+ const se = {
6305
6366
  props: {
6306
6367
  platformData: {
6307
6368
  type: Object,
@@ -6323,7 +6384,7 @@ const ee = {
6323
6384
  }
6324
6385
  },
6325
6386
  mixins: [S],
6326
- components: { AddPage: J, MovePid: X },
6387
+ components: { AddPage: Q, MovePid: X },
6327
6388
  data() {
6328
6389
  return {
6329
6390
  formLoading: !1,
@@ -6411,33 +6472,35 @@ const ee = {
6411
6472
  fadeColord() {
6412
6473
  return this.fadeColor(this.primaryColor, 0.1);
6413
6474
  },
6414
- ...b(["labelPosition", "formMode", "primaryColor", "pageDesignerData"])
6475
+ ...f(["labelPosition", "formMode", "primaryColor", "pageDesignerData"])
6415
6476
  },
6416
6477
  methods: {
6417
- delEditTransKey(t) {
6418
- t.length != 0 && x({ name: t.join(",") });
6478
+ delEditTransKey(n) {
6479
+ console.log(n), n.length != 0 && C({ name: n.join(",") });
6419
6480
  },
6420
- updateTree(t, e) {
6421
- const s = e === "navigation" ? 0 : t.id;
6422
- let i = this.pageDesignerData.filter((n) => `${n.id}_${n.sysAppsIded}` == `${s}_${this.record.id}`)[0];
6423
- if (e === "navigation" && (i = this.pageDesignerData.filter((n) => `${n.id}_${n.sysAppsIded}` == `${s}_${this.record.id}` && n.id === 0)[0]), i) {
6424
- const n = this.pageDesignerData.filter((r) => `${r.id}_${r.sysAppsIded}` != `${i.id}_${i.sysAppsIded}`);
6425
- this.PageDesignerData(n);
6481
+ updateTree(n, e) {
6482
+ const s = e === "navigation" ? 0 : n.id;
6483
+ let t = this.pageDesignerData.filter((i) => `${i.id}_${i.sysAppsIded}` == `${s}_${this.record.id}`)[0];
6484
+ if (e === "navigation" && (t = this.pageDesignerData.filter(
6485
+ (i) => `${i.id}_${i.sysAppsIded}` == `${s}_${this.record.id}` && i.id === 0
6486
+ )[0]), t) {
6487
+ const i = this.pageDesignerData.filter((o) => `${o.id}_${o.sysAppsIded}` != `${t.id}_${t.sysAppsIded}`);
6488
+ this.PageDesignerData(i);
6426
6489
  }
6427
6490
  this.init();
6428
6491
  },
6429
- moveItem(t) {
6430
- const e = `popover_${t.id}`;
6431
- this.$refs[e].doClose(), this.$refs.movePid.open(t);
6492
+ moveItem(n) {
6493
+ const e = `popover_${n.id}`;
6494
+ this.$refs[e].doClose(), this.$refs.movePid.open(n);
6432
6495
  },
6433
- createItem(t) {
6434
- const e = `popover_${t.id}`;
6435
- this.$refs[e].doClose(), this.$refs.addPage.createItem(t);
6496
+ createItem(n) {
6497
+ const e = `popover_${n.id}`;
6498
+ this.$refs[e].doClose(), this.$refs.addPage.createItem(n);
6436
6499
  },
6437
6500
  okPage() {
6438
6501
  this.init();
6439
6502
  },
6440
- del(t) {
6503
+ del(n) {
6441
6504
  this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
6442
6505
  confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
6443
6506
  cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
@@ -6450,23 +6513,23 @@ const ee = {
6450
6513
  customClass: "custom-alert",
6451
6514
  callback: () => {
6452
6515
  },
6453
- beforeClose: (e, s, i) => {
6516
+ beforeClose: (e, s, t) => {
6454
6517
  if (e !== "confirm") {
6455
- i();
6518
+ t();
6456
6519
  return;
6457
6520
  }
6458
- this.delHand(e, s, i, t);
6521
+ this.delHand(e, s, t, n);
6459
6522
  }
6460
6523
  });
6461
6524
  },
6462
- delHand(t, e, s, i) {
6463
- e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, (i.modeType === "application" ? K : w)({ id: i.id }).then((r) => {
6464
- r.success ? (this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), this.init()) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + r.message), s(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
6525
+ delHand(n, e, s, t) {
6526
+ e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, (t.modeType === "application" ? K : b)({ id: t.id }).then((o) => {
6527
+ o.success ? (this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")), this.init()) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + o.message), s(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
6465
6528
  });
6466
6529
  },
6467
- saveSysApp({ data: t, record: e, btn: s }, i, n) {
6530
+ saveSysApp({ data: n, record: e, btn: s }, t, i) {
6468
6531
  this.formLoading = !0, (e ? W : T)(
6469
- e ? t : Object.assign(t, {
6532
+ e ? n : Object.assign(n, {
6470
6533
  sys_AppsId: this.record.id,
6471
6534
  isNavigation: 1,
6472
6535
  isInherit: 1,
@@ -6475,17 +6538,17 @@ const ee = {
6475
6538
  active: "Y"
6476
6539
  })
6477
6540
  ).then((a) => {
6478
- a.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), n(), this.init()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message), this.formLoading = !1;
6541
+ a.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), i(), this.init()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a.message), this.formLoading = !1;
6479
6542
  });
6480
6543
  },
6481
- sbumit(t, e, s) {
6544
+ sbumit(n, e, s) {
6482
6545
  if (this.selItem.modeType === "navigation") {
6483
- this.saveSysApp(t, e, s);
6546
+ this.saveSysApp(n, e, s);
6484
6547
  return;
6485
6548
  }
6486
6549
  },
6487
- add(t) {
6488
- if (this.selItem = t, t.modeType === "navigation") {
6550
+ add(n) {
6551
+ if (this.selItem = n, n.modeType === "navigation") {
6489
6552
  this.transKey = "gd.btn.add", this.$refs.editForm.open(null).then(({ instance: e, done: s }) => {
6490
6553
  s({
6491
6554
  code: g(8, !1)
@@ -6493,16 +6556,16 @@ const ee = {
6493
6556
  });
6494
6557
  return;
6495
6558
  }
6496
- this.$refs.addPage.open(t);
6559
+ this.$refs.addPage.open(n);
6497
6560
  },
6498
6561
  init() {
6499
- this.loading = !0, Promise.all([this.getAppList(), this.getMenuList()]).then((t) => {
6562
+ this.loading = !0, Promise.all([this.getAppList(), this.getMenuList()]).then((n) => {
6500
6563
  let e = [...this.appList];
6501
- e.forEach((i, n) => {
6502
- e[n].pid = 0, e[n].modeType = "application", i.options.menus.filter((o) => o.key === "logout")[0] || (e[n].options = Object.assign(
6503
- { ...i.options },
6564
+ e.forEach((t, i) => {
6565
+ e[i].pid = 0, e[i].modeType = "application", t.options.menus.filter((r) => r.key === "logout")[0] || (e[i].options = Object.assign(
6566
+ { ...t.options },
6504
6567
  {
6505
- menus: i.options.menus.concat([
6568
+ menus: t.options.menus.concat([
6506
6569
  {
6507
6570
  name: "\u9000\u51FA\u767B\u5F55",
6508
6571
  key: "logout",
@@ -6513,8 +6576,8 @@ const ee = {
6513
6576
  ])
6514
6577
  }
6515
6578
  ));
6516
- let a = this.menuList.filter((o) => o.application === i.code ? (o.pid = i.id, !0) : !1);
6517
- a && (e[n].children = a);
6579
+ let a = this.menuList.filter((r) => r.application === t.code ? (r.pid = t.id, !0) : !1);
6580
+ a && (e[i].children = a);
6518
6581
  });
6519
6582
  const s = this.traverseTree(e, this.selectedNode);
6520
6583
  this.treeData = [
@@ -6538,29 +6601,31 @@ const ee = {
6538
6601
  });
6539
6602
  },
6540
6603
  getAppList() {
6541
- return k({ appsId: this.record.id }).then((t) => (t.code === 200 && (this.appList = t.data.map((e) => {
6542
- let s = { ...e }, i = e.basicattribute ? JSON.parse(e.basicattribute) : {};
6543
- const n = this.pageDesignerData.filter((r) => `${r.id}_${r.sysAppsIded}` == `${e.id}_${this.record.id}`)[0];
6544
- if (n && n.updatedtime === e.updatedtime && (i = n.options, s = { ...n }), n && n.updatedtime !== e.updatedtime) {
6545
- const r = this.pageDesignerData.filter((a) => `${a.id}_${a.sysAppsIded}` != `${n.id}_${n.sysAppsIded}`);
6546
- this.PageDesignerData(r);
6604
+ return k({ appsId: this.record.id }).then((n) => (n.code === 200 && (this.appList = n.data.map((e) => {
6605
+ let s = { ...e }, t = e.basicattribute ? JSON.parse(e.basicattribute) : {};
6606
+ const i = this.pageDesignerData.filter((o) => `${o.id}_${o.sysAppsIded}` == `${e.id}_${this.record.id}`)[0];
6607
+ if (i && i.updatedtime === e.updatedtime && (t = i.options, s = { ...i }), i && i.updatedtime !== e.updatedtime) {
6608
+ const o = this.pageDesignerData.filter(
6609
+ (a) => `${a.id}_${a.sysAppsIded}` != `${i.id}_${i.sysAppsIded}`
6610
+ );
6611
+ this.PageDesignerData(o);
6547
6612
  }
6548
- return i.logo === void 0 && Object.assign(i, { logo: this.basicAttribute.logo }), i.menus === void 0 && Object.assign(i, { menus: this.basicAttribute.menus }), i.layout === void 0 && Object.assign(i, { layout: this.basicAttribute.layout }), Object.assign(
6613
+ return t.logo === void 0 && Object.assign(t, { logo: this.basicAttribute.logo }), t.menus === void 0 && Object.assign(t, { menus: this.basicAttribute.menus }), t.layout === void 0 && Object.assign(t, { layout: this.basicAttribute.layout }), Object.assign(
6549
6614
  { ...s },
6550
6615
  {
6551
- options: i,
6616
+ options: t,
6552
6617
  sysAppsIded: this.record.id
6553
6618
  }
6554
6619
  );
6555
- })), t));
6620
+ })), n));
6556
6621
  },
6557
6622
  getMenuList() {
6558
- return f({ AppsId: this.record.id }).then((t) => {
6559
- if (t.code === 200) {
6623
+ return w({ AppsId: this.record.id }).then((n) => {
6624
+ if (n.code === 200) {
6560
6625
  let e = [];
6561
- this.menuList = t.data.map((s) => (String(s.type) === "1" && s.children && (e = e.concat(s.children)), s.children && (s.children = s.children.map((i) => (i.children && (e = e.concat(i.children)), Object.assign(i, {
6562
- opid: i.pid,
6563
- expansion: i.expansion ? JSON.parse(i.expansion) : {
6626
+ this.menuList = n.data.map((s) => (String(s.type) === "1" && s.children && (e = e.concat(s.children)), s.children && (s.children = s.children.map((t) => (t.children && (e = e.concat(t.children)), Object.assign(t, {
6627
+ opid: t.pid,
6628
+ expansion: t.expansion ? JSON.parse(t.expansion) : {
6564
6629
  padding: [12, 12, 12, 12],
6565
6630
  margin: [0, 0, 0, 0],
6566
6631
  bjColor: "#fff",
@@ -6580,62 +6645,71 @@ const ee = {
6580
6645
  }
6581
6646
  }))), this.$emit("permission", e);
6582
6647
  }
6583
- return t;
6648
+ return n;
6584
6649
  });
6585
6650
  },
6586
- traverseTree(t, e) {
6587
- let s = {}, i = [];
6588
- const n = (a) => (a = a.filter((o, l) => {
6589
- o.modeType === void 0 && (o.modeType = String(o.type) === "0" ? "directory" : String(o.type) === "1" ? "page" : "btn"), o.pagecontent !== void 0 && (o.options = o.pagecontent ? JSON.parse(o.pagecontent) : {
6651
+ traverseTree(n, e) {
6652
+ let s = {}, t = [];
6653
+ const i = (a) => (a = a.filter((r, l) => {
6654
+ r.modeType === void 0 && (r.modeType = String(r.type) === "0" ? "directory" : String(r.type) === "1" ? "page" : "btn"), r.pagecontent !== void 0 && (r.options = r.pagecontent ? JSON.parse(r.pagecontent) : {
6590
6655
  list: []
6591
- }), o.sysAppsIded === void 0 && (o.sysAppsIded = this.record.id);
6592
- let d = { ...o };
6593
- const c = this.pageDesignerData.filter((u) => `${u.id}_${u.sysAppsIded}` == `${o.id}_${this.record.id}`)[0];
6594
- if (o.modeType !== "application" && c && c.updatedtime === o.updatedtime && (d = Object.assign({ ...c }, { pagecontent: o.pagecontent })), o.modeType !== "application" && c && c.updatedtime !== o.updatedtime) {
6595
- const u = this.pageDesignerData.filter((_) => `${_.id}_${_.sysAppsIded}` != `${c.id}_${c.sysAppsIded}`);
6596
- i = i.concat(c.options.addTransKey ? c.options.addTransKey : []), this.PageDesignerData(u);
6656
+ }), r.sysAppsIded === void 0 && (r.sysAppsIded = this.record.id);
6657
+ let d = { ...r };
6658
+ const c = this.pageDesignerData.filter((u) => `${u.id}_${u.sysAppsIded}` == `${r.id}_${this.record.id}`)[0];
6659
+ if (r.modeType !== "application" && c && c.updatedtime === r.updatedtime && (d = Object.assign({ ...c }, { pagecontent: r.pagecontent })), r.modeType !== "application" && c && c.updatedtime !== r.updatedtime) {
6660
+ const u = this.pageDesignerData.filter(
6661
+ (_) => `${_.id}_${_.sysAppsIded}` != `${c.id}_${c.sysAppsIded}`
6662
+ );
6663
+ t = t.concat(this.getDelTransKey(c, r)), this.PageDesignerData(u);
6597
6664
  }
6598
6665
  return Object.assign(
6599
- o,
6666
+ r,
6600
6667
  { ...d },
6601
6668
  {
6602
- children: o.children,
6603
- label: this.$i18nt(`Dynamics.${o.transkey}`, d.name)
6669
+ children: r.children,
6670
+ label: this.$i18nt(`Dynamics.${r.transkey}`, d.name)
6604
6671
  }
6605
- ), o.id == e && (s = { ...o }), o.type !== 1 && o.children ? o.children = n(o.children) : o.children = [], o.modeType !== "btn";
6606
- }), a), r = n(t);
6607
- return this.delEditTransKey(i), { list: r, itemNode: s, allTransKey: i };
6672
+ ), r.id == e && (s = { ...r }), r.type !== 1 && r.children ? r.children = i(r.children) : r.children = [], r.modeType !== "btn";
6673
+ }), a), o = i(n);
6674
+ return this.delEditTransKey(t), { list: o, itemNode: s, allTransKey: t };
6675
+ },
6676
+ getDelTransKey(n, e) {
6677
+ const s = n.options.addTransKey ? n.options.addTransKey : [];
6678
+ if (s.length === 0)
6679
+ return [];
6680
+ const t = ee(JSON.parse(e.pagecontent));
6681
+ return s.filter((o) => !t.includes(o));
6608
6682
  },
6609
- treeOperation({ node: t, data: e }) {
6683
+ treeOperation({ node: n, data: e }) {
6610
6684
  },
6611
- handleNodeClick(t) {
6612
- this.selectedNode = t.id, this.$emit("change", {
6613
- id: t.id,
6614
- data: t
6615
- }), this.getNavParameters(t);
6685
+ handleNodeClick(n) {
6686
+ this.selectedNode = n.id, this.$emit("change", {
6687
+ id: n.id,
6688
+ data: n
6689
+ }), this.getNavParameters(n);
6616
6690
  },
6617
- hasCacheData(t) {
6618
- return !!(t.modeType === "navigation" ? this.pageDesignerData.filter((i) => i.id === 0) : this.pageDesignerData).filter((i) => `${i.id}_${i.sysAppsIded}` == `${t.id}_${this.record.id}`)[0];
6691
+ hasCacheData(n) {
6692
+ return !!(n.modeType === "navigation" ? this.pageDesignerData.filter((t) => t.id === 0) : this.pageDesignerData).filter((t) => `${t.id}_${t.sysAppsIded}` == `${n.id}_${this.record.id}`)[0];
6619
6693
  },
6620
- getNavParameters(t) {
6694
+ getNavParameters(n) {
6621
6695
  let e = {};
6622
- t.modeType === "navigation" && (e = { ...this.platformData.pc });
6696
+ n.modeType === "navigation" && (e = { ...this.platformData.pc });
6623
6697
  let s = [];
6624
- this.findParent(this.treeData[0].children, t, s);
6625
- let i = s.filter((n) => n.modeType === "application")[0];
6626
- i && (e = i.options.isInherit === 0 ? { ...i.options } : Object.assign({ ...this.platformData.pc }, { isNavigation: i.options.isNavigation })), setTimeout(() => {
6698
+ this.findParent(this.treeData[0].children, n, s);
6699
+ let t = s.filter((i) => i.modeType === "application")[0];
6700
+ t && (e = t.options.isInherit === 0 ? { ...t.options } : Object.assign({ ...this.platformData.pc }, { isNavigation: t.options.isNavigation })), setTimeout(() => {
6627
6701
  this.$emit("changeNav", e, this.treeData);
6628
6702
  }, 100);
6629
6703
  },
6630
- findParent(t, e, s) {
6631
- for (let i of t)
6632
- if (i.pid === e.pid && e.modeType !== "application" || i.id === e.id && e.modeType === "application" || i.children && i.children.length > 0 && this.findParent(i.children, e, s))
6633
- return s.unshift(i), !0;
6704
+ findParent(n, e, s) {
6705
+ for (let t of n)
6706
+ if (t.pid === e.pid && e.modeType !== "application" || t.id === e.id && e.modeType === "application" || t.children && t.children.length > 0 && this.findParent(t.children, e, s))
6707
+ return s.unshift(t), !0;
6634
6708
  return !1;
6635
6709
  },
6636
- fadeColor(t, e) {
6637
- let s = parseInt(t.substring(1, 3), 16), i = parseInt(t.substring(3, 5), 16), n = parseInt(t.substring(5, 7), 16);
6638
- return `rgba(${s},${i},${n},${e})`;
6710
+ fadeColor(n, e) {
6711
+ let s = parseInt(n.substring(1, 3), 16), t = parseInt(n.substring(3, 5), 16), i = parseInt(n.substring(5, 7), 16);
6712
+ return `rgba(${s},${t},${i},${e})`;
6639
6713
  },
6640
6714
  ...$(["PageDesignerData"])
6641
6715
  },
@@ -6643,34 +6717,35 @@ const ee = {
6643
6717
  this.init();
6644
6718
  }
6645
6719
  };
6646
- var se = function() {
6720
+ var ie = function() {
6647
6721
  var e = this, s = e._self._c;
6648
- return s("div", { staticClass: "column-tree" }, [s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.loading, expression: "loading" }], staticClass: "tree-list" }, [s("el-tree", { ref: "treeRef", attrs: { data: e.treeData, "node-key": "id", "default-expand-all": "", "expand-on-click-node": !1, "highlight-current": "", props: e.propsNode, "current-node-key": e.selectedNode }, on: { "node-click": e.handleNodeClick }, scopedSlots: e._u([{ key: "default", fn: function({ node: i, data: n }) {
6649
- return s("span", { staticClass: "custom-tree-node", attrs: { title: e.$i18nt(`${n.modeType === "navigation" ? "" : "Dynamics."}${n.transkey}`, n.label) } }, [s("span", { staticClass: "line1" }, [n.modeType === "navigation" ? s("span", { staticClass: "gd-icons gd-icon-quanjushijiao" }) : n.modeType === "application" ? s("span", { staticClass: "gd-icons gd-icon-yemian1" }) : n.modeType === "directory" ? s("span", { staticClass: "gd-icons gd-icon-mulu" }) : n.modeType === "page" ? s("span", { staticClass: "gd-icons gd-icon-xitong" }) : e._e(), e._v(" " + e._s(e.$i18nt(`${n.modeType === "navigation" ? "" : "Dynamics."}${n.transkey}`, n.label)) + " "), e.hasCacheData(n) ? s("i", { staticClass: "el-icon-warning-outline", staticStyle: { color: "#e6a23c", "padding-right": "4px", "font-size": "13px" } }) : e._e()]), s("span", { staticClass: "tree-operation", on: { click: function(r) {
6650
- return r.stopPropagation(), e.treeOperation({ node: i, data: n });
6651
- } } }, [["page"].includes(n.modeType) ? e._e() : s("i", { staticClass: "el-icon-plus", staticStyle: { "margin-right": "6px" }, on: { click: function(r) {
6652
- return r.stopPropagation(), e.add(n);
6653
- } } }), n.children.length === 0 && n.modeType !== "navigation" ? s("i", { staticClass: "el-icon-delete", staticStyle: { "margin-right": "6px" }, on: { click: function(r) {
6654
- return r.stopPropagation(), e.del(n);
6655
- } } }) : e._e(), ["directory", "page"].includes(n.modeType) ? s("span", [s("el-popover", { ref: `popover_${n.id}`, attrs: { placement: "bottom", trigger: "click" } }, [s("div", { staticClass: "popover-hand", style: { "--dilute": e.fadeColord } }, [s("div", { staticClass: "popover-hand-name", on: { click: function(r) {
6656
- return r.stopPropagation(), e.moveItem(n);
6657
- } } }, [e._v(e._s(e.$i18nt("gd.btn.move", "\u79FB\u52A8")))]), s("div", { staticClass: "popover-hand-name", on: { click: function(r) {
6658
- return r.stopPropagation(), e.createItem(n);
6722
+ return s("div", { staticClass: "column-tree" }, [s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.loading, expression: "loading" }], staticClass: "tree-list" }, [s("el-tree", { ref: "treeRef", attrs: { data: e.treeData, "node-key": "id", "default-expand-all": "", "expand-on-click-node": !1, "highlight-current": "", props: e.propsNode, "current-node-key": e.selectedNode }, on: { "node-click": e.handleNodeClick }, scopedSlots: e._u([{ key: "default", fn: function({ node: t, data: i }) {
6723
+ return s("span", { staticClass: "custom-tree-node", attrs: { title: e.$i18nt(`${i.modeType === "navigation" ? "" : "Dynamics."}${i.transkey}`, i.label) } }, [s("span", { staticClass: "line1" }, [i.modeType === "navigation" ? s("span", { staticClass: "gd-icons gd-icon-quanjushijiao" }) : i.modeType === "application" ? s("span", { staticClass: "gd-icons gd-icon-yemian1" }) : i.modeType === "directory" ? s("span", { staticClass: "gd-icons gd-icon-mulu" }) : i.modeType === "page" ? s("span", { staticClass: "gd-icons gd-icon-xitong" }) : e._e(), e._v(" " + e._s(e.$i18nt(`${i.modeType === "navigation" ? "" : "Dynamics."}${i.transkey}`, i.label)) + " "), e.hasCacheData(i) ? s("i", { staticClass: "el-icon-warning-outline", staticStyle: { color: "#e6a23c", "padding-right": "4px", "font-size": "13px" } }) : e._e()]), s("span", { staticClass: "tree-operation", on: { click: function(o) {
6724
+ return o.stopPropagation(), e.treeOperation({ node: t, data: i });
6725
+ } } }, [["page"].includes(i.modeType) ? e._e() : s("i", { staticClass: "el-icon-plus", staticStyle: { "margin-right": "6px" }, on: { click: function(o) {
6726
+ return o.stopPropagation(), e.add(i);
6727
+ } } }), i.children.length === 0 && i.modeType !== "navigation" ? s("i", { staticClass: "el-icon-delete", staticStyle: { "margin-right": "6px" }, on: { click: function(o) {
6728
+ return o.stopPropagation(), e.del(i);
6729
+ } } }) : e._e(), ["directory", "page"].includes(i.modeType) ? s("span", [s("el-popover", { ref: `popover_${i.id}`, attrs: { placement: "bottom", trigger: "click" } }, [s("div", { staticClass: "popover-hand", style: { "--dilute": e.fadeColord } }, [s("div", { staticClass: "popover-hand-name", on: { click: function(o) {
6730
+ return o.stopPropagation(), e.moveItem(i);
6731
+ } } }, [e._v(e._s(e.$i18nt("gd.btn.move", "\u79FB\u52A8")))]), s("div", { staticClass: "popover-hand-name", on: { click: function(o) {
6732
+ return o.stopPropagation(), e.createItem(i);
6659
6733
  } } }, [e._v(" " + e._s(e.$i18nt("gd.btn.createCopy", "\u521B\u5EFA\u526F\u672C")) + " ")])]), s("i", { staticClass: "el-icon-more", attrs: { slot: "reference" }, slot: "reference" })])], 1) : e._e()])]);
6660
6734
  } }]) })], 1), s("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", loading: e.formLoading, transKey: e.transKey, buttons: e.formButtons, columns: e.appColumns, labelPosition: e.labelPosition, formMode: e.formMode, needLoad: !0 }, on: { sbumit: e.sbumit } }), s("AddPage", { ref: "addPage", attrs: { prefixKey: e.prefixKey, suffixKey: e.suffixKey }, on: { ok: e.okPage } }), s("MovePid", { ref: "movePid", attrs: { treeData: e.treeData }, on: { ok: e.okPage } })], 1);
6661
- }, ie = [], te = /* @__PURE__ */ h(
6662
- ee,
6735
+ }, te = [], ne = /* @__PURE__ */ h(
6663
6736
  se,
6664
6737
  ie,
6738
+ te,
6665
6739
  !1,
6666
6740
  null,
6667
- "bbf54f2c",
6741
+ "1a55b6e8",
6668
6742
  null,
6669
6743
  null
6670
6744
  );
6671
- const de = te.exports;
6745
+ const ce = ne.exports;
6672
6746
  export {
6673
- J as A,
6747
+ Q as A,
6674
6748
  X as M,
6675
- de as m
6749
+ ee as g,
6750
+ ce as m
6676
6751
  };