gds-plus-design-vue 1.2.3 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/lib/{chartbi.06e48153.js → chartbi.b5b6fdab.js} +20 -20
  2. package/lib/{chartbi.cdd1e365.mjs → chartbi.b6818e8e.mjs} +20 -11
  3. package/lib/gd-initial.js +16 -16
  4. package/lib/gd-initial.mjs +7609 -3948
  5. package/lib/main.4e325110.mjs +123 -0
  6. package/lib/main.6713b76c.js +1 -0
  7. package/lib/{main.eb4b260e.mjs → main.955f770e.mjs} +16 -13
  8. package/lib/main.a28f67df.js +1 -0
  9. package/lib/main.b4a303dc.js +1 -0
  10. package/lib/{main.a30b25d6.mjs → main.be62e9a4.mjs} +15 -37
  11. package/lib/main.c59fc1e8.mjs +198 -0
  12. package/lib/main.f3ae0933.js +1 -0
  13. package/lib/messages.1346558e.js +9 -0
  14. package/lib/{messages.a1335b0f.mjs → messages.7e418640.mjs} +1117 -1087
  15. package/lib/style.css +3 -3
  16. package/lib/{system.account.20f9e450.mjs → system.account.64fbdaeb.mjs} +18 -18
  17. package/lib/{system.account.1ff630c9.js → system.account.7c43a95e.js} +1 -1
  18. package/lib/system.config.93d6cb7d.js +1 -0
  19. package/lib/{system.config.c85c05e9.mjs → system.config.f0d2d130.mjs} +7 -2
  20. package/lib/{system.datasource.272f1add.js → system.datasource.4bb39222.js} +1 -1
  21. package/lib/{system.datasource.f64a59de.mjs → system.datasource.61ff56ec.mjs} +3 -3
  22. package/lib/{system.dict.a23e8cdf.js → system.dict.5a2e60fe.js} +1 -1
  23. package/lib/{system.dict.565d69ca.mjs → system.dict.a817cf68.mjs} +2 -2
  24. package/lib/{system.duplicatechecking.f66790d1.js → system.duplicatechecking.65b77e64.js} +1 -1
  25. package/lib/{system.duplicatechecking.268544dd.mjs → system.duplicatechecking.751664ba.mjs} +15 -11
  26. package/lib/{system.email.ada25702.mjs → system.email.2f53252e.mjs} +2 -2
  27. package/lib/{system.email.00a93855.js → system.email.fec5ae26.js} +1 -1
  28. package/lib/{system.fieldsecurity.d14384cc.mjs → system.fieldsecurity.6feb94c3.mjs} +1 -1
  29. package/lib/{system.fieldsecurity.ede73621.js → system.fieldsecurity.920adca4.js} +1 -1
  30. package/lib/{system.file.a23b3c83.mjs → system.file.1930d109.mjs} +11 -6
  31. package/lib/system.file.5a9a5e0e.js +1 -0
  32. package/lib/{system.log.8a9f4a4d.mjs → system.log.61d303bd.mjs} +64 -81
  33. package/lib/system.log.b309c0e0.js +1 -0
  34. package/lib/{system.machine.7fa3e3d1.js → system.machine.9368e508.js} +1 -1
  35. package/lib/{system.machine.fc392d7f.mjs → system.machine.ed69ec93.mjs} +1 -1
  36. package/lib/{system.notice.6d0aa32c.mjs → system.notice.bd18554e.mjs} +248 -229
  37. package/lib/system.notice.ff62c06a.js +1 -0
  38. package/lib/{system.noticereceived.70963f1b.mjs → system.noticereceived.4dc360c0.mjs} +31 -28
  39. package/lib/system.noticereceived.9550818b.js +1 -0
  40. package/lib/{system.onlineuser.c58fb6ce.mjs → system.onlineuser.08a15a71.mjs} +22 -15
  41. package/lib/system.onlineuser.6cf4fe24.js +1 -0
  42. package/lib/{system.org.56151be8.js → system.org.0c67131d.js} +1 -1
  43. package/lib/{system.org.638db6d1.mjs → system.org.6e858bf3.mjs} +3 -3
  44. package/lib/{system.permissions.fcd56f67.js → system.permissions.af548a3b.js} +1 -1
  45. package/lib/{system.permissions.aa0cc0d6.mjs → system.permissions.cc5ac7ac.mjs} +3 -3
  46. package/lib/{system.plugin.b17efa53.js → system.plugin.83d03fb2.js} +1 -1
  47. package/lib/{system.plugin.beb44900.mjs → system.plugin.a1f1c194.mjs} +2 -2
  48. package/lib/{system.pos.e8d9c488.js → system.pos.eae2051e.js} +1 -1
  49. package/lib/{system.pos.699e8dd6.mjs → system.pos.eb8fd7dd.mjs} +2 -2
  50. package/lib/{system.promptmanagement.109a07f5.js → system.promptmanagement.04501417.js} +1 -1
  51. package/lib/{system.promptmanagement.2ce3e426.mjs → system.promptmanagement.c84db7d5.mjs} +7 -7
  52. package/lib/{system.role.230b1445.mjs → system.role.d2195303.mjs} +256 -241
  53. package/lib/system.role.e623c50b.js +1 -0
  54. package/lib/{system.sumberrules.fa1aab86.mjs → system.sumberrules.141dc00b.mjs} +2 -2
  55. package/lib/{system.sumberrules.38017ad1.js → system.sumberrules.a01e1805.js} +1 -1
  56. package/lib/system.team.0cebcde7.js +1 -0
  57. package/lib/{system.team.aeaede22.mjs → system.team.27a6d5d5.mjs} +318 -244
  58. package/lib/system.teammembers.b67f003f.js +1 -0
  59. package/lib/{system.teammembers.2e3309c3.mjs → system.teammembers.d73c659f.mjs} +78 -40
  60. package/lib/{system.timers.0ec63785.mjs → system.timers.4a3dd57d.mjs} +2 -2
  61. package/lib/{system.timers.b62568ad.js → system.timers.b27fcb6d.js} +1 -1
  62. package/lib/{system.translation.887fa90d.js → system.translation.d2c982ed.js} +1 -1
  63. package/lib/{system.translation.e71455aa.mjs → system.translation.d9488c23.mjs} +7 -7
  64. package/lib/{system.user.bed5f82a.js → system.user.0664c21c.js} +5 -5
  65. package/lib/{system.user.84227a85.mjs → system.user.6874aa87.mjs} +146 -84
  66. package/lib/{system.useraffiliation.b3f03a33.mjs → system.useraffiliation.5e3e2bab.mjs} +3 -3
  67. package/lib/{system.useraffiliation.7ec0fcae.js → system.useraffiliation.6b7a1612.js} +1 -1
  68. package/lib/{system.webresource.e6cb9173.mjs → system.webresource.204911b7.mjs} +16 -18
  69. package/lib/system.webresource.5de18052.js +1 -0
  70. package/lib/{system.welcome.120f4b50.mjs → system.welcome.79e15015.mjs} +1 -1
  71. package/lib/{system.welcome.472f099b.js → system.welcome.ec7aa744.js} +1 -1
  72. package/locale/en_US.js +71 -10
  73. package/locale/id_ID.js +69 -9
  74. package/locale/vi_VN.js +1973 -1913
  75. package/locale/zh_CN.js +63 -3
  76. package/package.json +1 -1
  77. package/lib/main.05252737.mjs +0 -87
  78. package/lib/main.458dc0a0.js +0 -1
  79. package/lib/main.4aebe1c9.js +0 -1
  80. package/lib/main.9801708f.js +0 -1
  81. package/lib/messages.30e41348.js +0 -9
  82. package/lib/system.config.532ab3b8.js +0 -1
  83. package/lib/system.file.aa567566.js +0 -1
  84. package/lib/system.log.b3666991.js +0 -1
  85. package/lib/system.notice.5fb1485e.js +0 -1
  86. package/lib/system.noticereceived.e5ef5883.js +0 -1
  87. package/lib/system.onlineuser.99e4de37.js +0 -1
  88. package/lib/system.role.f0d4082c.js +0 -1
  89. package/lib/system.team.3826e252.js +0 -1
  90. package/lib/system.teammembers.29128f16.js +0 -1
  91. package/lib/system.webresource.f8b78dd0.js +0 -1
@@ -1,8 +1,8 @@
1
- import { a as C } from "./system.notice.6d0aa32c.mjs";
2
- import { h as O, a as N, i as P, c as B, j as D, k as E, g as U, l as I, m as A, n as M, f as q, o as H, q as j, r as z, t as S } from "./system.account.20f9e450.mjs";
3
- import { m as R, n as T } from "./chartbi.cdd1e365.mjs";
4
- import { t as G } from "./messages.a1335b0f.mjs";
5
- import { G as Q } from "./system.role.230b1445.mjs";
1
+ import { a as C } from "./system.notice.bd18554e.mjs";
2
+ import { h as O, a as N, i as P, c as B, j as D, k as E, g as I, l as U, m as A, n as M, f as q, o as H, q as j, r as z, t as x } from "./system.account.64fbdaeb.mjs";
3
+ import { m as R, n as T } from "./chartbi.b6818e8e.mjs";
4
+ import { t as G } from "./messages.7e418640.mjs";
5
+ import { G as Q } from "./system.role.d2195303.mjs";
6
6
  const V = {
7
7
  data() {
8
8
  return {
@@ -251,6 +251,23 @@ const ie = se.exports, ne = {
251
251
  label: "\u624B\u673A",
252
252
  align: "left"
253
253
  },
254
+ {
255
+ transKey: "gd.user.verificationMethod",
256
+ prop: "authtype",
257
+ width: "160",
258
+ label: "\u9A8C\u8BC1\u65B9\u5F0F",
259
+ align: "left",
260
+ type: "slot",
261
+ slotType: "authtype",
262
+ showOverflowTooltip: !0
263
+ },
264
+ {
265
+ transKey: "gd.user.employeeID",
266
+ prop: "employeeid",
267
+ width: "160",
268
+ label: "\u5DE5\u53F7",
269
+ align: "left"
270
+ },
254
271
  {
255
272
  transKey: "gd.user.status",
256
273
  prop: "statecodes",
@@ -384,6 +401,25 @@ const ie = se.exports, ne = {
384
401
  placeholder: "\u8BF7\u8F93\u5165",
385
402
  placeholderTransKey: "gd.placeholder.input",
386
403
  rules: []
404
+ }, {
405
+ transKey: "gd.user.verificationMethod",
406
+ prop: "authtype",
407
+ effectType: "select",
408
+ label: "\u9A8C\u8BC1\u65B9\u5F0F",
409
+ placeholder: "\u8BF7\u9009\u62E9",
410
+ dictTypeCode: "user_auth_type",
411
+ placeholderTransKey: "gd.placeholder.select",
412
+ treeOptions: [],
413
+ rules: []
414
+ }, {
415
+ transKey: "gd.user.employeeID",
416
+ prop: "employeeid",
417
+ effectType: "input",
418
+ label: "\u5DE5\u53F7",
419
+ placeholder: "\u8BF7\u9009\u62E9",
420
+ placeholderTransKey: "gd.placeholder.input",
421
+ treeOptions: [],
422
+ rules: []
387
423
  }],
388
424
  tableButtons: [
389
425
  {
@@ -471,12 +507,25 @@ const ie = se.exports, ne = {
471
507
  }],
472
508
  tableQueries: [{
473
509
  transKey: "gd.user.status",
474
- prop: "stateCodes",
510
+ prop: "searchStatus",
475
511
  label: "\u72B6\u6001",
476
512
  effectType: "checkbox",
477
513
  dictTypeCode: "state_code",
478
514
  selectType: "checkbox",
479
515
  rules: []
516
+ }, {
517
+ transKey: "gd.user.employeeID",
518
+ prop: "employeeid",
519
+ label: "\u5DE5\u53F7",
520
+ effectType: "input",
521
+ rules: []
522
+ }, {
523
+ transKey: "gd.user.verificationMethod",
524
+ prop: "authtype",
525
+ label: "\u9A8C\u8BC1\u65B9\u5F0F",
526
+ effectType: "select",
527
+ dictTypeCode: "user_auth_type",
528
+ rules: []
480
529
  }]
481
530
  };
482
531
  }
@@ -535,41 +584,41 @@ var L = { exports: {} };
535
584
  } : function(m) {
536
585
  return m && typeof Symbol == "function" && m.constructor === Symbol && m !== Symbol.prototype ? "symbol" : typeof m;
537
586
  }, o = function() {
538
- function m(g, v) {
587
+ function m(p, v) {
539
588
  for (var f = 0; f < v.length; f++) {
540
589
  var y = v[f];
541
- y.enumerable = y.enumerable || !1, y.configurable = !0, "value" in y && (y.writable = !0), Object.defineProperty(g, y.key, y);
590
+ y.enumerable = y.enumerable || !1, y.configurable = !0, "value" in y && (y.writable = !0), Object.defineProperty(p, y.key, y);
542
591
  }
543
592
  }
544
- return function(g, v, f) {
545
- return v && m(g.prototype, v), f && m(g, f), g;
593
+ return function(p, v, f) {
594
+ return v && m(p.prototype, v), f && m(p, f), p;
546
595
  };
547
- }(), a = n(1), c = l(a), h = n(3), b = l(h), p = n(4), u = l(p);
596
+ }(), a = n(1), c = l(a), h = n(3), b = l(h), g = n(4), u = l(g);
548
597
  function l(m) {
549
598
  return m && m.__esModule ? m : { default: m };
550
599
  }
551
- function d(m, g) {
552
- if (!(m instanceof g))
600
+ function d(m, p) {
601
+ if (!(m instanceof p))
553
602
  throw new TypeError("Cannot call a class as a function");
554
603
  }
555
- function w(m, g) {
604
+ function w(m, p) {
556
605
  if (!m)
557
606
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
558
- return g && (typeof g == "object" || typeof g == "function") ? g : m;
607
+ return p && (typeof p == "object" || typeof p == "function") ? p : m;
559
608
  }
560
- function $(m, g) {
561
- if (typeof g != "function" && g !== null)
562
- throw new TypeError("Super expression must either be null or a function, not " + typeof g);
563
- m.prototype = Object.create(g && g.prototype, { constructor: { value: m, enumerable: !1, writable: !0, configurable: !0 } }), g && (Object.setPrototypeOf ? Object.setPrototypeOf(m, g) : m.__proto__ = g);
609
+ function _(m, p) {
610
+ if (typeof p != "function" && p !== null)
611
+ throw new TypeError("Super expression must either be null or a function, not " + typeof p);
612
+ m.prototype = Object.create(p && p.prototype, { constructor: { value: m, enumerable: !1, writable: !0, configurable: !0 } }), p && (Object.setPrototypeOf ? Object.setPrototypeOf(m, p) : m.__proto__ = p);
564
613
  }
565
614
  var K = function(m) {
566
- $(g, m);
567
- function g(v, f) {
568
- d(this, g);
569
- var y = w(this, (g.__proto__ || Object.getPrototypeOf(g)).call(this));
615
+ _(p, m);
616
+ function p(v, f) {
617
+ d(this, p);
618
+ var y = w(this, (p.__proto__ || Object.getPrototypeOf(p)).call(this));
570
619
  return y.resolveOptions(f), y.listenClick(v), y;
571
620
  }
572
- return o(g, [{
621
+ return o(p, [{
573
622
  key: "resolveOptions",
574
623
  value: function() {
575
624
  var f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -579,8 +628,8 @@ var L = { exports: {} };
579
628
  key: "listenClick",
580
629
  value: function(f) {
581
630
  var y = this;
582
- this.listener = (0, u.default)(f, "click", function(_) {
583
- return y.onClick(_);
631
+ this.listener = (0, u.default)(f, "click", function($) {
632
+ return y.onClick($);
584
633
  });
585
634
  }
586
635
  }, {
@@ -621,17 +670,17 @@ var L = { exports: {} };
621
670
  }], [{
622
671
  key: "isSupported",
623
672
  value: function() {
624
- var f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ["copy", "cut"], y = typeof f == "string" ? [f] : f, _ = !!document.queryCommandSupported;
673
+ var f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ["copy", "cut"], y = typeof f == "string" ? [f] : f, $ = !!document.queryCommandSupported;
625
674
  return y.forEach(function(F) {
626
- _ = _ && !!document.queryCommandSupported(F);
627
- }), _;
675
+ $ = $ && !!document.queryCommandSupported(F);
676
+ }), $;
628
677
  }
629
- }]), g;
678
+ }]), p;
630
679
  }(b.default);
631
- function k(m, g) {
680
+ function k(m, p) {
632
681
  var v = "data-clipboard-" + m;
633
- if (!!g.hasAttribute(v))
634
- return g.getAttribute(v);
682
+ if (!!p.hasAttribute(v))
683
+ return p.getAttribute(v);
635
684
  }
636
685
  t.exports = K;
637
686
  },
@@ -643,8 +692,8 @@ var L = { exports: {} };
643
692
  }, o = function() {
644
693
  function u(l, d) {
645
694
  for (var w = 0; w < d.length; w++) {
646
- var $ = d[w];
647
- $.enumerable = $.enumerable || !1, $.configurable = !0, "value" in $ && ($.writable = !0), Object.defineProperty(l, $.key, $);
695
+ var _ = d[w];
696
+ _.enumerable = _.enumerable || !1, _.configurable = !0, "value" in _ && (_.writable = !0), Object.defineProperty(l, _.key, _);
648
697
  }
649
698
  }
650
699
  return function(l, d, w) {
@@ -658,7 +707,7 @@ var L = { exports: {} };
658
707
  if (!(u instanceof l))
659
708
  throw new TypeError("Cannot call a class as a function");
660
709
  }
661
- var p = function() {
710
+ var g = function() {
662
711
  function u(l) {
663
712
  b(this, u), this.resolveOptions(l), this.initSelection();
664
713
  }
@@ -680,8 +729,8 @@ var L = { exports: {} };
680
729
  this.removeFake(), this.fakeHandlerCallback = function() {
681
730
  return d.removeFake();
682
731
  }, this.fakeHandler = this.container.addEventListener("click", this.fakeHandlerCallback) || !0, this.fakeElem = document.createElement("textarea"), this.fakeElem.style.fontSize = "12pt", this.fakeElem.style.border = "0", this.fakeElem.style.padding = "0", this.fakeElem.style.margin = "0", this.fakeElem.style.position = "absolute", this.fakeElem.style[w ? "right" : "left"] = "-9999px";
683
- var $ = window.pageYOffset || document.documentElement.scrollTop;
684
- this.fakeElem.style.top = $ + "px", this.fakeElem.setAttribute("readonly", ""), this.fakeElem.value = this.text, this.container.appendChild(this.fakeElem), this.selectedText = (0, c.default)(this.fakeElem), this.copyText();
732
+ var _ = window.pageYOffset || document.documentElement.scrollTop;
733
+ this.fakeElem.style.top = _ + "px", this.fakeElem.setAttribute("readonly", ""), this.fakeElem.value = this.text, this.container.appendChild(this.fakeElem), this.selectedText = (0, c.default)(this.fakeElem), this.copyText();
685
734
  }
686
735
  }, {
687
736
  key: "removeFake",
@@ -752,7 +801,7 @@ var L = { exports: {} };
752
801
  }
753
802
  }]), u;
754
803
  }();
755
- t.exports = p;
804
+ t.exports = g;
756
805
  },
757
806
  function(t, r) {
758
807
  function n(s) {
@@ -798,7 +847,7 @@ var L = { exports: {} };
798
847
  off: function(s, o) {
799
848
  var a = this.e || (this.e = {}), c = a[s], h = [];
800
849
  if (c && o)
801
- for (var b = 0, p = c.length; b < p; b++)
850
+ for (var b = 0, g = c.length; b < g; b++)
802
851
  c[b].fn !== o && c[b].fn._ !== o && h.push(c[b]);
803
852
  return h.length ? a[s] = h : delete a[s], this;
804
853
  }
@@ -806,41 +855,41 @@ var L = { exports: {} };
806
855
  },
807
856
  function(t, r, n) {
808
857
  var s = n(5), o = n(6);
809
- function a(p, u, l) {
810
- if (!p && !u && !l)
858
+ function a(g, u, l) {
859
+ if (!g && !u && !l)
811
860
  throw new Error("Missing required arguments");
812
861
  if (!s.string(u))
813
862
  throw new TypeError("Second argument must be a String");
814
863
  if (!s.fn(l))
815
864
  throw new TypeError("Third argument must be a Function");
816
- if (s.node(p))
817
- return c(p, u, l);
818
- if (s.nodeList(p))
819
- return h(p, u, l);
820
- if (s.string(p))
821
- return b(p, u, l);
865
+ if (s.node(g))
866
+ return c(g, u, l);
867
+ if (s.nodeList(g))
868
+ return h(g, u, l);
869
+ if (s.string(g))
870
+ return b(g, u, l);
822
871
  throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");
823
872
  }
824
- function c(p, u, l) {
825
- return p.addEventListener(u, l), {
873
+ function c(g, u, l) {
874
+ return g.addEventListener(u, l), {
826
875
  destroy: function() {
827
- p.removeEventListener(u, l);
876
+ g.removeEventListener(u, l);
828
877
  }
829
878
  };
830
879
  }
831
- function h(p, u, l) {
832
- return Array.prototype.forEach.call(p, function(d) {
880
+ function h(g, u, l) {
881
+ return Array.prototype.forEach.call(g, function(d) {
833
882
  d.addEventListener(u, l);
834
883
  }), {
835
884
  destroy: function() {
836
- Array.prototype.forEach.call(p, function(d) {
885
+ Array.prototype.forEach.call(g, function(d) {
837
886
  d.removeEventListener(u, l);
838
887
  });
839
888
  }
840
889
  };
841
890
  }
842
- function b(p, u, l) {
843
- return o(document.body, p, u, l);
891
+ function b(g, u, l) {
892
+ return o(document.body, g, u, l);
844
893
  }
845
894
  t.exports = a;
846
895
  },
@@ -859,20 +908,20 @@ var L = { exports: {} };
859
908
  },
860
909
  function(t, r, n) {
861
910
  var s = n(7);
862
- function o(h, b, p, u, l) {
911
+ function o(h, b, g, u, l) {
863
912
  var d = c.apply(this, arguments);
864
- return h.addEventListener(p, d, l), {
913
+ return h.addEventListener(g, d, l), {
865
914
  destroy: function() {
866
- h.removeEventListener(p, d, l);
915
+ h.removeEventListener(g, d, l);
867
916
  }
868
917
  };
869
918
  }
870
- function a(h, b, p, u, l) {
871
- return typeof h.addEventListener == "function" ? o.apply(null, arguments) : typeof p == "function" ? o.bind(null, document).apply(null, arguments) : (typeof h == "string" && (h = document.querySelectorAll(h)), Array.prototype.map.call(h, function(d) {
872
- return o(d, b, p, u, l);
919
+ function a(h, b, g, u, l) {
920
+ return typeof h.addEventListener == "function" ? o.apply(null, arguments) : typeof g == "function" ? o.bind(null, document).apply(null, arguments) : (typeof h == "string" && (h = document.querySelectorAll(h)), Array.prototype.map.call(h, function(d) {
921
+ return o(d, b, g, u, l);
873
922
  }));
874
923
  }
875
- function c(h, b, p, u) {
924
+ function c(h, b, g, u) {
876
925
  return function(l) {
877
926
  l.delegateTarget = s(l.target, b), l.delegateTarget && u.call(h, l);
878
927
  };
@@ -1007,7 +1056,7 @@ const ue = {
1007
1056
  value: "value"
1008
1057
  },
1009
1058
  defaultExpandedKeys: "",
1010
- loadData: (i) => U(Object.assign(i, this.getQueryParam)).then((e) => e.data),
1059
+ loadData: (i) => I(Object.assign(i, this.getQueryParam)).then((e) => e.data),
1011
1060
  disableBtn: ["\u542F\u7528", "\u505C\u7528"],
1012
1061
  fileList: [],
1013
1062
  needLoad: !1,
@@ -1081,7 +1130,7 @@ const ue = {
1081
1130
  duration: 0,
1082
1131
  iconClass: "el-icon-loading"
1083
1132
  }), t = new FormData();
1084
- t.append("file", i.file), I(t).then((r) => {
1133
+ t.append("file", i.file), U(t).then((r) => {
1085
1134
  r.success ? (this.$message.success(this.$i18nt("gd.https.uploadSucc", "\u4E0A\u4F20\u6210\u529F")), this.refresh()) : this.$message.error(this.$i18nt("gd.https.uploadFail", "\u4E0A\u4F20\u5931\u8D25") + r.message), this.$nextTick(() => {
1086
1135
  setTimeout(() => {
1087
1136
  e.close();
@@ -1161,7 +1210,8 @@ const ue = {
1161
1210
  },
1162
1211
  {
1163
1212
  gender: String(i.gender),
1164
- orgid: String(i.orgid)
1213
+ orgid: String(i.orgid),
1214
+ authtype: i.authtype === null ? "" : String(i.authtype)
1165
1215
  }
1166
1216
  )
1167
1217
  );
@@ -1306,7 +1356,7 @@ const ue = {
1306
1356
  a = a.sort(() => Math.random() - 0.5);
1307
1357
  let c = a.join("");
1308
1358
  for (; c.length < i; ) {
1309
- const h = [s, r, t, n].filter((p) => p);
1359
+ const h = [s, r, t, n].filter((g) => g);
1310
1360
  if (h.length === 0)
1311
1361
  break;
1312
1362
  const b = h[Math.floor(Math.random() * h.length)];
@@ -1349,17 +1399,27 @@ const ue = {
1349
1399
  }
1350
1400
  e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1;
1351
1401
  let s, o = {};
1352
- n.isSendEmail == 1 && n.copyRule == 1 ? (o = {
1353
- id: n.selectedRows[0].id,
1354
- newPassword: r
1355
- }, s = S) : n.isSendEmail == 1 ? (o = {
1356
- accountName: n.selectedRows[0].account,
1357
- emailAddress: n.selectedRows[0].email,
1358
- pcR_Type: 5
1359
- }, s = E) : n.copyRule == 1 && (o = {
1360
- id: n.selectedRows[0].id,
1361
- newPassword: r
1362
- }, s = S), s(o).then((a) => {
1402
+ if (n.isSendEmail == 1 && n.copyRule == 1)
1403
+ o = {
1404
+ id: n.selectedRows[0].id,
1405
+ newPassword: r
1406
+ }, s = x;
1407
+ else if (n.isSendEmail == 1)
1408
+ o = {
1409
+ accountName: n.selectedRows[0].account,
1410
+ emailAddress: n.selectedRows[0].email,
1411
+ pcR_Type: 5
1412
+ }, s = E;
1413
+ else if (n.copyRule == 1)
1414
+ o = {
1415
+ id: n.selectedRows[0].id,
1416
+ newPassword: r
1417
+ }, s = x;
1418
+ else {
1419
+ this.$message.error(this.$i18nt("gd.https.resetFailure", "\u91CD\u7F6E\u6210\u529F")), t();
1420
+ return;
1421
+ }
1422
+ s(o).then((a) => {
1363
1423
  if (n.isSendEmailed = n.isSendEmail, t(), a.success) {
1364
1424
  let c = {
1365
1425
  account: n.selectedRows[0].account,
@@ -1401,6 +1461,8 @@ var he = function() {
1401
1461
  return [t("gd-tooltip", { attrs: { rowKey: "account", row: n, highlight: "" }, on: { click: e.editForm } })];
1402
1462
  } }, { key: "gender", fn: function(r) {
1403
1463
  return [t("div", { staticStyle: { cursor: "pointer" } }, [t("el-tag", { style: e._f("dictColor")("gender", r.row.gender), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("gender", r.row.gender)) + " ")])], 1)];
1464
+ } }, { key: "authtype", fn: function(r) {
1465
+ return [t("div", { staticStyle: { cursor: "pointer" } }, [t("el-tag", { style: e._f("dictColor")("user_auth_type", r.row.authtype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("user_auth_type", r.row.authtype)) + " ")])], 1)];
1404
1466
  } }, { key: "statecodes", fn: function(r) {
1405
1467
  return [t("div", { staticStyle: { cursor: "pointer" }, on: { click: function(n) {
1406
1468
  return n.stopPropagation(), e.editStateCodes(r);
@@ -1416,20 +1478,20 @@ var he = function() {
1416
1478
  } }]) })], 1), t("UserRoleForm", { ref: "userRoleForm", on: { ok: e.handleOk } }), e.institutionsShow ? t("EditInstitutions", { ref: "editInstitutions", on: { ok: e.handleOk, closed: function(r) {
1417
1479
  e.institutionsShow = !1;
1418
1480
  } } }) : e._e(), t("copyInfo", { ref: "copyInfo", attrs: { infoData: e.infoData, isSendEmail: e.isSendEmailed }, on: { sending: e.sending } }), t("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", loading: e.formLoading, transKey: e.transKey, buttons: e.formButtons, columns: e.getFormColumns, labelPosition: e.labelPosition, formMode: e.formMode, inline: !0, width: "1000px", needLoad: e.needLoad }, on: { sbumit: e.sbumit } }), t("div", { staticStyle: { position: "fixed", left: "-20000px", top: "-2000px" } }, [t("el-upload", { ref: "upload", attrs: { "http-request": e.handleFileUpload, "file-list": e.fileList, action: "" } }, [t("el-button", { ref: "uploadDemo", staticClass: "upload-demo", attrs: { slot: "trigger", size: "small", type: "primary" }, slot: "trigger" }, [e._v(" " + e._s(e.$i18nt("gd.user.selectFile", "\u9009\u53D6\u6587\u4EF6")) + " ")])], 1)], 1)], 1);
1419
- }, fe = [], ge = /* @__PURE__ */ T(
1481
+ }, fe = [], pe = /* @__PURE__ */ T(
1420
1482
  ue,
1421
1483
  he,
1422
1484
  fe,
1423
1485
  !1,
1424
1486
  null,
1425
- "d1d24d5d",
1487
+ "6c55aeb8",
1426
1488
  null,
1427
1489
  null
1428
1490
  );
1429
- const x = ge.exports;
1430
- x.install = function(i) {
1431
- i.component(x.name, x);
1491
+ const S = pe.exports;
1492
+ S.install = function(i) {
1493
+ i.component(S.name, S);
1432
1494
  };
1433
1495
  export {
1434
- x as G
1496
+ S as G
1435
1497
  };
@@ -1,6 +1,6 @@
1
- import { g as f, s as p, a as g, b as m, c as u, d as y, e as b, f as w, h as v, i as _, j as $ } from "./system.duplicatechecking.268544dd.mjs";
2
- import { m as o, n as d } from "./chartbi.cdd1e365.mjs";
3
- import { t as h, f as K } from "./messages.a1335b0f.mjs";
1
+ import { g as f, s as p, a as g, b as m, c as u, d as y, e as b, f as w, h as v, i as _, j as $ } from "./system.duplicatechecking.751664ba.mjs";
2
+ import { m as o, n as d } from "./chartbi.b6818e8e.mjs";
3
+ import { t as h, f as K } from "./messages.7e418640.mjs";
4
4
  const C = {
5
5
  data() {
6
6
  return {
@@ -1 +1 @@
1
- "use strict";const l=require("./system.duplicatechecking.f66790d1.js"),o=require("./chartbi.06e48153.js"),u=require("./messages.30e41348.js"),h={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.form.name",prop:"name",label:"\u540D\u79F0",type:"slot",slotType:"name",align:"left",fixed:!0,renderHeader:(t,...e)=>this.renderHeader(t,...e,{effectType:"input"}),showOverflowTooltip:!0}],formColumns:[{transKey:"gd.form.roleName",effectType:"input",prop:"name",label:"\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.ownershipValue.ownershipValue",prop:"affiliationValue",effectType:"input",label:"\u6240\u5C5E\u503C",placeholder:"\u8BF7\u8F93\u5165",disabled:!1,placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysAffiliation:add"},{displayName:"\u7F16\u8F91",functionName:"edit",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit",name:"sysAffiliation:edit"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysAffiliation:delete"}],formButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked",validate:!0}],tableQueries:[{transKey:"gd.form.name",prop:"name",label:"\u540D\u79F0",effectType:"input",rules:[]},{transKey:"gd.ownershipValue.ownershipValue",prop:"affiliationValue",label:"\u6240\u5C5E\u503C",effectType:"input",rules:[]}]}}};const f={name:"GdUserRole",props:{height:{type:Number,default:100},openSelecteKeys:{type:Array,default:()=>[]},useraffiliationname:{type:String,default:""},openMode:{type:String,default:"page"}},mixins:[u.tablesFilter],data(){return{transKey:"gd.btn.add",formLoading:!1,currentNode:null,loading:!0,orgTree:[],selectedRowKeys:[],selectedRows:[],queryParam:{},defaultProps:{children:"children",label:"title",value:"value"},defaultExpandedKeys:"",loadData:t=>(this.queryParam={userAffiliationId:this.openSelecteKeys[0]},l.getbyUserAffiliationId(this.queryParam).then(e=>(e.data.length>0&&this.getRowId(e.data),console.log(this.disabledRowId),e.data.forEach(s=>{s.useraffiliationname=this.useraffiliationname}),{pageno:1,pagesize:1e3,rows:e.data}))),disableBtn:[],fileList:[],needLoad:!1,infoData:{},isSendEmail:"",isSendEmailed:"",tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.userAffiliation.name",prop:"username",label:"\u7528\u6237(\u59D3\u540D)",align:"left",type:"slot",slotType:"username",showOverflowTooltip:!0},{transKey:"gd.userAffiliation.userOwnershipName",prop:"useraffiliationname",label:"\u7528\u6237\u6240\u5C5E\u540D\u79F0",align:"left",showOverflowTooltip:!0}],formColumnsuser:[{transKey:"gd.user.account",effectType:"input",prop:"account",label:"\u8D26\u53F7",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change",min:2}]},{transKey:"gd.user.name",prop:"name",effectType:"input",label:"\u59D3\u540D",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.user.sex",prop:"gender",effectType:"radio",label:"\u6027\u522B",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",dictTypeCode:"gender",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.user.birthday",prop:"birthday",effectType:"date",label:"\u751F\u65E5",placeholder:"\u8BF7\u8F93\u5165",valueFormat:"yyyy-MM-dd",placeholderTransKey:"gd.placeholder.select",rules:[]},{transKey:"gd.user.phone",effectType:"input",prop:"phone",label:"\u624B\u673A\u53F7",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.user.email",effectType:"input",prop:"email",label:"\u90AE\u7BB1",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"},{type:"email",message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u90AE\u7BB1\u53F7!",transKey:"gd.account.emailTip"}]},{transKey:"gd.user.nickname",prop:"nickname",effectType:"input",label:"\u6635\u79F0",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[]},{transKey:"gd.user.tel",prop:"tel",effectType:"input",label:"\u7535\u8BDD",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[]},{transKey:"gd.org.displayName",prop:"orgid",effectType:"selectTree",label:"\u6240\u5C5E\u673A\u6784",placeholder:"\u8BF7\u9009\u62E9",placeholderTransKey:"gd.placeholder.select",treeOptions:[],rules:[{required:!0,message:"\u8BF7\u9009\u62E9",transKey:"gd.placeholder.select",trigger:"change"}]},{transKey:"gd.user.PSDNeverExpire",prop:"psdneverexpire",effectType:"switch",label:"\u5BC6\u7801\u6C38\u4E0D\u8FC7\u671F",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[]}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysRole:add"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysRole:delete"}],disabledRowId:[],sysCodeGenName:"sys_user"}},components:{},computed:{initialLoading(){return this.openMode==="page"},selectedKeep(){return this.openMode!=="page"},getQueryParam(){let t=new Map;for(let e in this.queryParam)t.set(e==="statecodes"?"searchctatus":e,this.queryParam[e]);return Object.fromEntries(t)},getFormColumns(){return this.formColumnsuser.filter(e=>(e.prop==="orgid"&&(e.treeOptions=[...this.orgTree]),!0))},getTableButtons(){return this.tableButtons.filter(t=>(t.show=!this.disableBtn.includes(t.displayName),!0))},getHeight(){return this.height},styled(){return`height:${this.height+76}px`},...o.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},methods:{getRowId(t){let e=[];t.filter(s=>!this.disabledRowId.includes(s.userid)).forEach(s=>{e.push(s.userid)}),this.disabledRowId=this.disabledRowId.concat(e)},saveQueries(t){this.queryParam={...t},this.refresh()},refresh(){this.$refs.table.refresh()},handleOk(){this.$refs.table.refresh()},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},lookupSeled(t){if(t.fkData.length===0){this.$refs.engineSearch.closed();return}this.$refs.engineSearch.confirmLoading=!0,l.sysUserAffiliationAddRelation({userAffiliationId:this.openSelecteKeys[0],userIdList:t.data}).then(e=>{e.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.$refs.engineSearch.closed(),this.refresh()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+e.message),this.$refs.engineSearch.confirmLoading=!1})},add(){this.$refs.engineSearch.open({fkEntityName:this.sysCodeGenName,val:[],effectType:"participants",isRelevance:!0})},del(){let t=this;if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,s,i)=>{if(e!=="confirm"){i();return}s.confirmButtonLoading=!0,s.cancelButtonLoading=!0,s.showCancelButton=!1,l.sysUserAffiliationDeleteRelation({userAffiliationId:t.openSelecteKeys[0],userIdList:JSON.parse(JSON.stringify(t.selectedRows)).map(a=>a.userid)}).then(a=>{a.success?(t.$message.success(t.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")),t.disabledRowId=t.disabledRowId.filter(n=>!t.selectedRows.filter(d=>d.userid===n)[0]),s.confirmButtonLoading=!1,s.cancelButtonLoading=!1,s.showCancelButton=!0,i(),t.refresh()):t.$message.error(t.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+a.message)})}})}},created(){}};var p=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view",staticStyle:{display:"flex",background:"rgb(245, 245, 245)"}},[s("div",{staticClass:"page-view-list"},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,showPagination:!1,selectedRowKeys:e.selectedRowKeys,height:e.height,initialLoading:!1},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorr"},[s("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"username",fn:function({column:i,row:a}){return[s("span",{staticStyle:{cursor:"pointer"}},[e._v(" "+e._s(a.username)+" ")])]}}])}),s("gd-search",{ref:"engineSearch",attrs:{appendToBody:!0,disabledRowId:e.disabledRowId},on:{lookupSeled:e.lookupSeled}})],1)])},g=[],m=o.normalizeComponent(f,p,g,!1,null,"65ef2965",null,null);const y=m.exports;const b={data(){return{buttons:[],record:{},visible:!1,confirmLoading:!1,fullscreen:!1,width:"90%",selectedRowKeys:[]}},components:{UserRelation:y},computed:{height(){return this.screenHeight-(this.fullscreen?160:340)},...o.mapGetters(["screenHeight"])},methods:{handleSubmit(){this.closed()},open(t){this.record=t,this.visible=!0,this.selectedRowKeys=[t.id],this.useraffiliationname=t.affiliationvalue,this.$nextTick(()=>{setTimeout(()=>{this.$refs.userForm.refresh()},0)})},closed(){this.fullscreen=!1,this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},onSelectChange(t){this.selectedRowKeys=t},doEvent(t){const e=t.item.functionName;this[e]&&this[e]()}}};var w=function(){var e=this,s=e._self._c;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,"modal-append-to-body":!1,"append-to-body":!0,top:"80px","show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.closed}},[s("template",{slot:"title"},[s("gd-modal-title",{attrs:{title:e.$i18nt("gd.user.userAuthorization","\u6388\u6743\u7528\u6237"),fullscreen:e.fullscreen,buttons:e.buttons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen}})],1),s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[e.visible?s("UserRelation",{ref:"userForm",attrs:{height:e.height,openMode:"components",openSelecteKeys:e.selectedRowKeys,useraffiliationname:e.useraffiliationname},on:{onSelectChange:e.onSelectChange}}):e._e()],1)],2)},v=[],_=o.normalizeComponent(b,w,v,!1,null,"f6bdfd51",null,null);const $=_.exports;const K={data(){return{sys_UseraffiliationtypeId:"",transKey:"gd.btn.add",formLoading:!1,formButtons:[{displayName:"\u786E\u5B9A",functionName:"formhandleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked",validate:!0}],belongslist:[],formColumns:[{transKey:"gd.form.name",prop:"name",effectType:"input",label:"\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165",disabled:!1,placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.ownershipValue.ownershipValue",prop:"affiliationValue",effectType:"input",label:"\u6240\u5C5E\u503C",placeholder:"\u8BF7\u8F93\u5165",disabled:!1,placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]}],confirmLoading:!0,title:"",sysViewButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],type:1,fullScreen:!1,width:"1000px",ruleFormData:{name:""},rules:{name:[{required:!0,message:this.$i18nt("gd.btn.input","\u8BF7\u8F93\u5165"),trigger:"change"}]},visible:!1,queryParam:{},loadData:t=>(this.queryParam={Sys_UseraffiliationtypeId:this.sys_UseraffiliationtypeId},l.getUserAffiliation(Object.assign(t,this.queryParam)).then(e=>(e.data.rows.forEach(s=>{s.typename=this.ruleFormData.name}),e.data))),openMode:"page",selectedRowKeys:[],selectedRows:[],tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.duplicatechecking.name",prop:"name",label:"\u540D\u79F0",type:"slot",slotType:"name",align:"left",showOverflowTooltip:!0},{transKey:"gd.ownershipValue.ownershipValue",prop:"affiliationvalue",label:"\u6240\u5C5E\u503C",align:"left",showOverflowTooltip:!0}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysAffiliation:add"},{displayName:"\u7F16\u8F91",functionName:"edit",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit",name:"sysAffiliation:edit"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysAffiliation:delete"},{displayName:"\u6388\u6743\u7528\u6237",functionName:"userRelationship",show:!0,transKey:"gd.user.userAuthorization",icon:"el-icon-setting",name:"sysAffiliation:belongingMenu"}]}},components:{UserRelationAdd:$},computed:{getFormColumns(){return this.formColumns.filter(t=>!0)},getHeight(){const t=this.fullScreen?230:410;return this.screenHeight-t},initialLoading(){return this.openMode==="page"},selectedKeep(){return this.openMode!=="page"},...o.mapGetters(["screenHeight","tableLists","tableSize","tablePageSize","labelPosition","formMode"])},methods:{userRelationship(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.$refs.userrelationadd.open(this.selectedRows[0])},lookup(t,e){const s=t[e.prop];this.$refs.viewSearch.open({fkEntityName:"DataSource",effectType:e.effectType,val:s||""})},async searchDataSource(t){this.formLoading=!0,this.belongslist=[],this.belongslist=await this.getbelongslist(),this.formLoading=!1},fkSearch(t){const e=`${t}Loading`;t==="name"&&!this[e]&&this.searchDataSource("")},getbelongslist(){return l.getSysUserAffiliationType().then(t=>{if(t.code===200)return t.data.rows})},getDataSource(t){let e={name:t,fkEntityName:this.fkEntityName};return u.baseFkList(e).then(s=>s.data.map(i=>(i.id=String(i.id),i)))},okFilter(t){this.filterList={...t}},toggleFullscreen(){this.fullScreen=!this.fullScreen},getDictionary(t){return this.$options.filters.dictData(t)},selectRules(t){},getList(t,e){},init(t){this.fullScreen=!1,this.confirmLoading=!1,this.visible=!0,this.type=t?2:1,this.title=t?this.$i18nt("gd.https.edit"):this.$i18nt("gd.https.add"),this.sys_UseraffiliationtypeId=t?t.id:"",this.selectedRowKeys=[],this.selectedRows=[],this.$nextTick(()=>{setTimeout(()=>{this.type===2&&this.refresh(),this.ruleFormData={name:t?t.name:""},this.$refs.ruleForm.resetFields()},0)})},del(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,e,s)=>{this.delHand(t,e,s)}})},delHand(t,e,s){if(t!=="confirm"){s();return}let i=[];this.selectedRows.forEach(a=>{let n=l.sysUserAffiliationDelete(a).then(r=>r);i.push(n)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(a=>{const n=a.filter(r=>!r.success);n.length===0?this.$message.success(this.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")):this.$message.error(this.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+n[0].message),s(),this.refresh(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0})},add(t){this.transKey="gd.btn.add",this.$refs.editFormref.open(null),this.$refs.editFormref.setData({nametype:this.ruleFormData.name})},edit(t){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.editForm(this.selectedRows[0])},editForm(t){this.transKey="gd.btn.edit",this.$refs.editFormref.open(t),this.$refs.editFormref.setData({nametype:this.ruleFormData.name}),this.$refs.editFormref.setData({affiliationValue:t.affiliationvalue})},formhandleSubmit(){console.log("\u6240\u5C5E\u503C\u7684\u65B0\u589E\u4FDD\u5B58")},handleSubmit(){this.$refs.ruleForm.validate(t=>{if(t){const e={...this.ruleFormData};this.sub(e)}})},sub(t){this.formLoading=!0;let e=this.type==1?l.sysUserAffiliationTypeAdd:l.sysUserAffiliationTypeEdit;const s=this.type==1?t:Object.assign({values:t,id:this.sys_UseraffiliationtypeId});e(s).then(i=>{i.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.handleCancel(),this.$emit("ok")):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+i.message),this.formLoading=!1})},handleCancel(){this.visible=!1,this.confirmLoading=!1,this.tabledisabled=!1},doEvent(t){let e=t.item.functionName;this[e]()},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("onSelectChange",t,e)},removeRow(t){let e=this;this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(s,i,a)=>{if(s!=="confirm"){a();return}e.$message.success(e.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")),a()}})},sbumit({data:t,record:e,btn:s},i,a){this.formLoading=!0;let n=e?l.sysUserAffiliationEdit:l.sysUserAffiliationAdd;delete t.nametype;const r=e?Object.assign({affiliationValue:t.affiliationValue,sys_UseraffiliationtypeId:this.sys_UseraffiliationtypeId,id:t.id}):Object.assign(t,{sys_UseraffiliationtypeId:this.sys_UseraffiliationtypeId});n(r).then(d=>{d.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),a(),this.refresh()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+d.message),this.formLoading=!1})},refresh(){this.$refs.table&&this.$refs.table.refresh()}}};var C=function(){var e=this,s=e._self._c;return s("div",[s("el-dialog",{class:e.fullScreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{fullscreen:e.fullScreen,width:e.width,visible:e.visible,footer:null,top:"80px","append-to-body":"","show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.handleCancel}},[s("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullScreen,buttons:e.sysViewButtons,confirmLoading:e.confirmLoading,showClose:!0,closed:"handleCancel"},on:{changeEvent:e.doEvent},slot:"title"}),s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[s("div",{staticClass:"setting-navs",class:e.fullScreen?"modal-bodyq":"modal-body"},[s("el-form",{ref:"ruleForm",attrs:{model:e.ruleFormData,rules:e.rules,"label-width":"120px"},nativeOn:{submit:function(i){i.preventDefault()}}},[s("el-row",{staticStyle:{"margin-left":"-12px","margin-right":"-12px"},attrs:{gutter:48}},[s("el-col",{attrs:{span:12}},[s("el-form-item",{staticClass:"form_name",staticStyle:{"margin-bottom":"12px"},attrs:{label:e.$i18nt("gd.duplicatechecking.name","\u540D\u79F0"),prop:"name"}},[s("el-input",{attrs:{disabled:e.type==2,placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:e.ruleFormData.name,callback:function(i){e.$set(e.ruleFormData,"name",i)},expression:"ruleFormData.name"}})],1)],1)],1)],1),e.type==2?[s("el-divider"),s("div",{staticClass:"setting-conter"},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,selectedKeep:e.selectedKeep,initialLoading:e.initialLoading},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({column:i,row:a}){return[s("gd-tooltip",{attrs:{rowKey:"name",row:a,highlight:""},on:{click:e.editForm}})]}},{key:"operator",fn:function(){return[s("div",{staticClass:"operator-list"},[s("div",{staticClass:"clearfix"},[s("span",[e._v(e._s(e.$i18nt("gd.userAffiliation.userownershipValue","\u7528\u6237\u6240\u5C5E\u503C")))])]),s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorr"},[s("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])])]},proxy:!0}],null,!1,3417440761)})],1)]:e._e()],2)])],1),s("gd-edit-form",{ref:"editFormref",attrs:{formItemWidth:"100%",loading:e.formLoading,transKey:e.transKey,buttons:e.formButtons,columns:e.getFormColumns,labelPosition:e.labelPosition,formMode:e.formMode},on:{sbumit:e.sbumit}}),s("UserRelationAdd",{ref:"userrelationadd",on:{ok:e.refresh}})],1)},S=[],T=o.normalizeComponent(K,C,S,!1,null,"d0f142ed",null,null);const R=T.exports;const k={name:"GdUserAffiliation",props:{height:{type:Number,default:100},openMode:{type:String,default:"page"},openSelecteKeys:{type:Array,default:()=>[]}},mixins:[u.tablesFilter,h],data(){return{loading:!0,selectedRowKeys:[],selectedRows:[],queryParam:{},record:{},loadData:t=>(this.selectedKeep&&(this.selectedRowKeys=[...this.openSelecteKeys]),l.getSysUserAffiliationType(Object.assign(t,this.queryParam)).then(e=>e.data))}},components:{editForm:R},computed:{initialLoading(){return this.openMode==="page"},selectedKeep(){return this.openMode!=="page"},getHeight(){return this.height},...o.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},methods:{saveQueries(t){this.queryParam={...t},this.refresh()},refresh(){this.$refs.table.refresh()},editForm(t){this.$refs.editForm.init(t)},del(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,e,s)=>{this.delHand(t,e,s)}})},delHand(t,e,s){if(t!=="confirm"){s();return}let i=[];this.selectedRows.forEach(a=>{let n=l.sysUserAffiliationTypeDelete(a).then(r=>r);i.push(n)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(a=>{const n=a.filter(r=>!r.success);n.length===0?this.$message.success(this.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")):this.$message.error(this.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+n[0].message),s(),this.refresh(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0})},add(){this.$refs.editForm.init(null)},edit(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.editForm(this.selectedRows[0])},handleOk(){this.$refs.table.refresh()},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("onSelectChange",t,e)},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var L=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!0,selectedKeep:e.selectedKeep,initialLoading:e.initialLoading},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({column:i,row:a}){return[s("gd-tooltip",{attrs:{rowKey:"name",row:a,highlight:""},on:{click:e.editForm}})]}},{key:"operator",fn:function(){return[s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorl"},[s("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.form.name","\u540D\u79F0"),clearable:""},nativeOn:{keyup:function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"enter",13,i.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.name,callback:function(i){e.$set(e.queryParam,"name",i)},expression:"queryParam.name"}}),s("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[s("i",{staticClass:"el-input__icon el-icon-search"})])],1),s("div",{staticClass:"gd-table-operatorr"},[e.openMode==="page"?s("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}}):e._e()],1)])]},proxy:!0},{key:"filtering",fn:function({colse:i,visible:a}){return[s("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:i,visible:a},on:{save:e.saveQueries}})]}}])})],1),s("editForm",{ref:"editForm",attrs:{table:e.record},on:{ok:e.handleOk}})],1)},B=[],F=o.normalizeComponent(k,L,B,!1,null,"3966b20c",null,null);const c=F.exports;c.install=function(t){t.component(c.name,c)};exports.GDpackage=c;
1
+ "use strict";const l=require("./system.duplicatechecking.65b77e64.js"),o=require("./chartbi.b5b6fdab.js"),u=require("./messages.1346558e.js"),h={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.form.name",prop:"name",label:"\u540D\u79F0",type:"slot",slotType:"name",align:"left",fixed:!0,renderHeader:(t,...e)=>this.renderHeader(t,...e,{effectType:"input"}),showOverflowTooltip:!0}],formColumns:[{transKey:"gd.form.roleName",effectType:"input",prop:"name",label:"\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.ownershipValue.ownershipValue",prop:"affiliationValue",effectType:"input",label:"\u6240\u5C5E\u503C",placeholder:"\u8BF7\u8F93\u5165",disabled:!1,placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysAffiliation:add"},{displayName:"\u7F16\u8F91",functionName:"edit",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit",name:"sysAffiliation:edit"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysAffiliation:delete"}],formButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked",validate:!0}],tableQueries:[{transKey:"gd.form.name",prop:"name",label:"\u540D\u79F0",effectType:"input",rules:[]},{transKey:"gd.ownershipValue.ownershipValue",prop:"affiliationValue",label:"\u6240\u5C5E\u503C",effectType:"input",rules:[]}]}}};const f={name:"GdUserRole",props:{height:{type:Number,default:100},openSelecteKeys:{type:Array,default:()=>[]},useraffiliationname:{type:String,default:""},openMode:{type:String,default:"page"}},mixins:[u.tablesFilter],data(){return{transKey:"gd.btn.add",formLoading:!1,currentNode:null,loading:!0,orgTree:[],selectedRowKeys:[],selectedRows:[],queryParam:{},defaultProps:{children:"children",label:"title",value:"value"},defaultExpandedKeys:"",loadData:t=>(this.queryParam={userAffiliationId:this.openSelecteKeys[0]},l.getbyUserAffiliationId(this.queryParam).then(e=>(e.data.length>0&&this.getRowId(e.data),console.log(this.disabledRowId),e.data.forEach(s=>{s.useraffiliationname=this.useraffiliationname}),{pageno:1,pagesize:1e3,rows:e.data}))),disableBtn:[],fileList:[],needLoad:!1,infoData:{},isSendEmail:"",isSendEmailed:"",tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.userAffiliation.name",prop:"username",label:"\u7528\u6237(\u59D3\u540D)",align:"left",type:"slot",slotType:"username",showOverflowTooltip:!0},{transKey:"gd.userAffiliation.userOwnershipName",prop:"useraffiliationname",label:"\u7528\u6237\u6240\u5C5E\u540D\u79F0",align:"left",showOverflowTooltip:!0}],formColumnsuser:[{transKey:"gd.user.account",effectType:"input",prop:"account",label:"\u8D26\u53F7",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change",min:2}]},{transKey:"gd.user.name",prop:"name",effectType:"input",label:"\u59D3\u540D",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.user.sex",prop:"gender",effectType:"radio",label:"\u6027\u522B",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",dictTypeCode:"gender",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.user.birthday",prop:"birthday",effectType:"date",label:"\u751F\u65E5",placeholder:"\u8BF7\u8F93\u5165",valueFormat:"yyyy-MM-dd",placeholderTransKey:"gd.placeholder.select",rules:[]},{transKey:"gd.user.phone",effectType:"input",prop:"phone",label:"\u624B\u673A\u53F7",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.user.email",effectType:"input",prop:"email",label:"\u90AE\u7BB1",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"},{type:"email",message:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u90AE\u7BB1\u53F7!",transKey:"gd.account.emailTip"}]},{transKey:"gd.user.nickname",prop:"nickname",effectType:"input",label:"\u6635\u79F0",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[]},{transKey:"gd.user.tel",prop:"tel",effectType:"input",label:"\u7535\u8BDD",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[]},{transKey:"gd.org.displayName",prop:"orgid",effectType:"selectTree",label:"\u6240\u5C5E\u673A\u6784",placeholder:"\u8BF7\u9009\u62E9",placeholderTransKey:"gd.placeholder.select",treeOptions:[],rules:[{required:!0,message:"\u8BF7\u9009\u62E9",transKey:"gd.placeholder.select",trigger:"change"}]},{transKey:"gd.user.PSDNeverExpire",prop:"psdneverexpire",effectType:"switch",label:"\u5BC6\u7801\u6C38\u4E0D\u8FC7\u671F",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[]}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysRole:add"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysRole:delete"}],disabledRowId:[],sysCodeGenName:"sys_user"}},components:{},computed:{initialLoading(){return this.openMode==="page"},selectedKeep(){return this.openMode!=="page"},getQueryParam(){let t=new Map;for(let e in this.queryParam)t.set(e==="statecodes"?"searchctatus":e,this.queryParam[e]);return Object.fromEntries(t)},getFormColumns(){return this.formColumnsuser.filter(e=>(e.prop==="orgid"&&(e.treeOptions=[...this.orgTree]),!0))},getTableButtons(){return this.tableButtons.filter(t=>(t.show=!this.disableBtn.includes(t.displayName),!0))},getHeight(){return this.height},styled(){return`height:${this.height+76}px`},...o.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},methods:{getRowId(t){let e=[];t.filter(s=>!this.disabledRowId.includes(s.userid)).forEach(s=>{e.push(s.userid)}),this.disabledRowId=this.disabledRowId.concat(e)},saveQueries(t){this.queryParam={...t},this.refresh()},refresh(){this.$refs.table.refresh()},handleOk(){this.$refs.table.refresh()},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},lookupSeled(t){if(t.fkData.length===0){this.$refs.engineSearch.closed();return}this.$refs.engineSearch.confirmLoading=!0,l.sysUserAffiliationAddRelation({userAffiliationId:this.openSelecteKeys[0],userIdList:t.data}).then(e=>{e.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.$refs.engineSearch.closed(),this.refresh()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+e.message),this.$refs.engineSearch.confirmLoading=!1})},add(){this.$refs.engineSearch.open({fkEntityName:this.sysCodeGenName,val:[],effectType:"participants",isRelevance:!0})},del(){let t=this;if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,s,i)=>{if(e!=="confirm"){i();return}s.confirmButtonLoading=!0,s.cancelButtonLoading=!0,s.showCancelButton=!1,l.sysUserAffiliationDeleteRelation({userAffiliationId:t.openSelecteKeys[0],userIdList:JSON.parse(JSON.stringify(t.selectedRows)).map(a=>a.userid)}).then(a=>{a.success?(t.$message.success(t.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")),t.disabledRowId=t.disabledRowId.filter(n=>!t.selectedRows.filter(d=>d.userid===n)[0]),s.confirmButtonLoading=!1,s.cancelButtonLoading=!1,s.showCancelButton=!0,i(),t.refresh()):t.$message.error(t.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+a.message)})}})}},created(){}};var p=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view",staticStyle:{display:"flex",background:"rgb(245, 245, 245)"}},[s("div",{staticClass:"page-view-list"},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,showPagination:!1,selectedRowKeys:e.selectedRowKeys,height:e.height,initialLoading:!1},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorr"},[s("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"username",fn:function({column:i,row:a}){return[s("span",{staticStyle:{cursor:"pointer"}},[e._v(" "+e._s(a.username)+" ")])]}}])}),s("gd-search",{ref:"engineSearch",attrs:{appendToBody:!0,disabledRowId:e.disabledRowId},on:{lookupSeled:e.lookupSeled}})],1)])},g=[],m=o.normalizeComponent(f,p,g,!1,null,"65ef2965",null,null);const y=m.exports;const b={data(){return{buttons:[],record:{},visible:!1,confirmLoading:!1,fullscreen:!1,width:"90%",selectedRowKeys:[]}},components:{UserRelation:y},computed:{height(){return this.screenHeight-(this.fullscreen?160:340)},...o.mapGetters(["screenHeight"])},methods:{handleSubmit(){this.closed()},open(t){this.record=t,this.visible=!0,this.selectedRowKeys=[t.id],this.useraffiliationname=t.affiliationvalue,this.$nextTick(()=>{setTimeout(()=>{this.$refs.userForm.refresh()},0)})},closed(){this.fullscreen=!1,this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},onSelectChange(t){this.selectedRowKeys=t},doEvent(t){const e=t.item.functionName;this[e]&&this[e]()}}};var w=function(){var e=this,s=e._self._c;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,"modal-append-to-body":!1,"append-to-body":!0,top:"80px","show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.closed}},[s("template",{slot:"title"},[s("gd-modal-title",{attrs:{title:e.$i18nt("gd.user.userAuthorization","\u6388\u6743\u7528\u6237"),fullscreen:e.fullscreen,buttons:e.buttons,confirmLoading:e.confirmLoading,showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen}})],1),s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[e.visible?s("UserRelation",{ref:"userForm",attrs:{height:e.height,openMode:"components",openSelecteKeys:e.selectedRowKeys,useraffiliationname:e.useraffiliationname},on:{onSelectChange:e.onSelectChange}}):e._e()],1)],2)},v=[],_=o.normalizeComponent(b,w,v,!1,null,"f6bdfd51",null,null);const $=_.exports;const K={data(){return{sys_UseraffiliationtypeId:"",transKey:"gd.btn.add",formLoading:!1,formButtons:[{displayName:"\u786E\u5B9A",functionName:"formhandleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked",validate:!0}],belongslist:[],formColumns:[{transKey:"gd.form.name",prop:"name",effectType:"input",label:"\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165",disabled:!1,placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.ownershipValue.ownershipValue",prop:"affiliationValue",effectType:"input",label:"\u6240\u5C5E\u503C",placeholder:"\u8BF7\u8F93\u5165",disabled:!1,placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]}],confirmLoading:!0,title:"",sysViewButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],type:1,fullScreen:!1,width:"1000px",ruleFormData:{name:""},rules:{name:[{required:!0,message:this.$i18nt("gd.btn.input","\u8BF7\u8F93\u5165"),trigger:"change"}]},visible:!1,queryParam:{},loadData:t=>(this.queryParam={Sys_UseraffiliationtypeId:this.sys_UseraffiliationtypeId},l.getUserAffiliation(Object.assign(t,this.queryParam)).then(e=>(e.data.rows.forEach(s=>{s.typename=this.ruleFormData.name}),e.data))),openMode:"page",selectedRowKeys:[],selectedRows:[],tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.duplicatechecking.name",prop:"name",label:"\u540D\u79F0",type:"slot",slotType:"name",align:"left",showOverflowTooltip:!0},{transKey:"gd.ownershipValue.ownershipValue",prop:"affiliationvalue",label:"\u6240\u5C5E\u503C",align:"left",showOverflowTooltip:!0}],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysAffiliation:add"},{displayName:"\u7F16\u8F91",functionName:"edit",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit",name:"sysAffiliation:edit"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysAffiliation:delete"},{displayName:"\u6388\u6743\u7528\u6237",functionName:"userRelationship",show:!0,transKey:"gd.user.userAuthorization",icon:"el-icon-setting",name:"sysAffiliation:belongingMenu"}]}},components:{UserRelationAdd:$},computed:{getFormColumns(){return this.formColumns.filter(t=>!0)},getHeight(){const t=this.fullScreen?230:410;return this.screenHeight-t},initialLoading(){return this.openMode==="page"},selectedKeep(){return this.openMode!=="page"},...o.mapGetters(["screenHeight","tableLists","tableSize","tablePageSize","labelPosition","formMode"])},methods:{userRelationship(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.$refs.userrelationadd.open(this.selectedRows[0])},lookup(t,e){const s=t[e.prop];this.$refs.viewSearch.open({fkEntityName:"DataSource",effectType:e.effectType,val:s||""})},async searchDataSource(t){this.formLoading=!0,this.belongslist=[],this.belongslist=await this.getbelongslist(),this.formLoading=!1},fkSearch(t){const e=`${t}Loading`;t==="name"&&!this[e]&&this.searchDataSource("")},getbelongslist(){return l.getSysUserAffiliationType().then(t=>{if(t.code===200)return t.data.rows})},getDataSource(t){let e={name:t,fkEntityName:this.fkEntityName};return u.baseFkList(e).then(s=>s.data.map(i=>(i.id=String(i.id),i)))},okFilter(t){this.filterList={...t}},toggleFullscreen(){this.fullScreen=!this.fullScreen},getDictionary(t){return this.$options.filters.dictData(t)},selectRules(t){},getList(t,e){},init(t){this.fullScreen=!1,this.confirmLoading=!1,this.visible=!0,this.type=t?2:1,this.title=t?this.$i18nt("gd.https.edit"):this.$i18nt("gd.https.add"),this.sys_UseraffiliationtypeId=t?t.id:"",this.selectedRowKeys=[],this.selectedRows=[],this.$nextTick(()=>{setTimeout(()=>{this.type===2&&this.refresh(),this.ruleFormData={name:t?t.name:""},this.$refs.ruleForm.resetFields()},0)})},del(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,e,s)=>{this.delHand(t,e,s)}})},delHand(t,e,s){if(t!=="confirm"){s();return}let i=[];this.selectedRows.forEach(a=>{let n=l.sysUserAffiliationDelete(a).then(r=>r);i.push(n)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(a=>{const n=a.filter(r=>!r.success);n.length===0?this.$message.success(this.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")):this.$message.error(this.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+n[0].message),s(),this.refresh(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0})},add(t){this.transKey="gd.btn.add",this.$refs.editFormref.open(null),this.$refs.editFormref.setData({nametype:this.ruleFormData.name})},edit(t){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.editForm(this.selectedRows[0])},editForm(t){this.transKey="gd.btn.edit",this.$refs.editFormref.open(t),this.$refs.editFormref.setData({nametype:this.ruleFormData.name}),this.$refs.editFormref.setData({affiliationValue:t.affiliationvalue})},formhandleSubmit(){console.log("\u6240\u5C5E\u503C\u7684\u65B0\u589E\u4FDD\u5B58")},handleSubmit(){this.$refs.ruleForm.validate(t=>{if(t){const e={...this.ruleFormData};this.sub(e)}})},sub(t){this.formLoading=!0;let e=this.type==1?l.sysUserAffiliationTypeAdd:l.sysUserAffiliationTypeEdit;const s=this.type==1?t:Object.assign({values:t,id:this.sys_UseraffiliationtypeId});e(s).then(i=>{i.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),this.handleCancel(),this.$emit("ok")):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+i.message),this.formLoading=!1})},handleCancel(){this.visible=!1,this.confirmLoading=!1,this.tabledisabled=!1},doEvent(t){let e=t.item.functionName;this[e]()},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("onSelectChange",t,e)},removeRow(t){let e=this;this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(s,i,a)=>{if(s!=="confirm"){a();return}e.$message.success(e.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")),a()}})},sbumit({data:t,record:e,btn:s},i,a){this.formLoading=!0;let n=e?l.sysUserAffiliationEdit:l.sysUserAffiliationAdd;delete t.nametype;const r=e?Object.assign({affiliationValue:t.affiliationValue,sys_UseraffiliationtypeId:this.sys_UseraffiliationtypeId,id:t.id}):Object.assign(t,{sys_UseraffiliationtypeId:this.sys_UseraffiliationtypeId});n(r).then(d=>{d.success?(this.$message.success(this.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),a(),this.refresh()):this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+d.message),this.formLoading=!1})},refresh(){this.$refs.table&&this.$refs.table.refresh()}}};var C=function(){var e=this,s=e._self._c;return s("div",[s("el-dialog",{class:e.fullScreen?"gd-dialog gd-dialog-fangda":"gd-dialog",attrs:{fullscreen:e.fullScreen,width:e.width,visible:e.visible,footer:null,top:"80px","append-to-body":"","show-close":!1},on:{"update:visible":function(i){e.visible=i},closed:e.handleCancel}},[s("gd-modal-title",{attrs:{slot:"title",title:e.title,fullscreen:e.fullScreen,buttons:e.sysViewButtons,confirmLoading:e.confirmLoading,showClose:!0,closed:"handleCancel"},on:{changeEvent:e.doEvent},slot:"title"}),s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[s("div",{staticClass:"setting-navs",class:e.fullScreen?"modal-bodyq":"modal-body"},[s("el-form",{ref:"ruleForm",attrs:{model:e.ruleFormData,rules:e.rules,"label-width":"120px"},nativeOn:{submit:function(i){i.preventDefault()}}},[s("el-row",{staticStyle:{"margin-left":"-12px","margin-right":"-12px"},attrs:{gutter:48}},[s("el-col",{attrs:{span:12}},[s("el-form-item",{staticClass:"form_name",staticStyle:{"margin-bottom":"12px"},attrs:{label:e.$i18nt("gd.duplicatechecking.name","\u540D\u79F0"),prop:"name"}},[s("el-input",{attrs:{disabled:e.type==2,placeholder:e.$i18nt("gd.placeholder.input","\u8BF7\u8F93\u5165")},model:{value:e.ruleFormData.name,callback:function(i){e.$set(e.ruleFormData,"name",i)},expression:"ruleFormData.name"}})],1)],1)],1)],1),e.type==2?[s("el-divider"),s("div",{staticClass:"setting-conter"},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,selectedKeep:e.selectedKeep,initialLoading:e.initialLoading},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({column:i,row:a}){return[s("gd-tooltip",{attrs:{rowKey:"name",row:a,highlight:""},on:{click:e.editForm}})]}},{key:"operator",fn:function(){return[s("div",{staticClass:"operator-list"},[s("div",{staticClass:"clearfix"},[s("span",[e._v(e._s(e.$i18nt("gd.userAffiliation.userownershipValue","\u7528\u6237\u6240\u5C5E\u503C")))])]),s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorr"},[s("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])])]},proxy:!0}],null,!1,3417440761)})],1)]:e._e()],2)])],1),s("gd-edit-form",{ref:"editFormref",attrs:{formItemWidth:"100%",loading:e.formLoading,transKey:e.transKey,buttons:e.formButtons,columns:e.getFormColumns,labelPosition:e.labelPosition,formMode:e.formMode},on:{sbumit:e.sbumit}}),s("UserRelationAdd",{ref:"userrelationadd",on:{ok:e.refresh}})],1)},S=[],T=o.normalizeComponent(K,C,S,!1,null,"d0f142ed",null,null);const R=T.exports;const k={name:"GdUserAffiliation",props:{height:{type:Number,default:100},openMode:{type:String,default:"page"},openSelecteKeys:{type:Array,default:()=>[]}},mixins:[u.tablesFilter,h],data(){return{loading:!0,selectedRowKeys:[],selectedRows:[],queryParam:{},record:{},loadData:t=>(this.selectedKeep&&(this.selectedRowKeys=[...this.openSelecteKeys]),l.getSysUserAffiliationType(Object.assign(t,this.queryParam)).then(e=>e.data))}},components:{editForm:R},computed:{initialLoading(){return this.openMode==="page"},selectedKeep(){return this.openMode!=="page"},getHeight(){return this.height},...o.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},methods:{saveQueries(t){this.queryParam={...t},this.refresh()},refresh(){this.$refs.table.refresh()},editForm(t){this.$refs.editForm.init(t)},del(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,e,s)=>{this.delHand(t,e,s)}})},delHand(t,e,s){if(t!=="confirm"){s();return}let i=[];this.selectedRows.forEach(a=>{let n=l.sysUserAffiliationTypeDelete(a).then(r=>r);i.push(n)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(a=>{const n=a.filter(r=>!r.success);n.length===0?this.$message.success(this.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")):this.$message.error(this.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+n[0].message),s(),this.refresh(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0})},add(){this.$refs.editForm.init(null)},edit(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}this.editForm(this.selectedRows[0])},handleOk(){this.$refs.table.refresh()},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("onSelectChange",t,e)},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var L=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!0,selectedKeep:e.selectedKeep,initialLoading:e.initialLoading},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({column:i,row:a}){return[s("gd-tooltip",{attrs:{rowKey:"name",row:a,highlight:""},on:{click:e.editForm}})]}},{key:"operator",fn:function(){return[s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorl"},[s("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.form.name","\u540D\u79F0"),clearable:""},nativeOn:{keyup:function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"enter",13,i.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.name,callback:function(i){e.$set(e.queryParam,"name",i)},expression:"queryParam.name"}}),s("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[s("i",{staticClass:"el-input__icon el-icon-search"})])],1),s("div",{staticClass:"gd-table-operatorr"},[e.openMode==="page"?s("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}}):e._e()],1)])]},proxy:!0},{key:"filtering",fn:function({colse:i,visible:a}){return[s("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:i,visible:a},on:{save:e.saveQueries}})]}}])})],1),s("editForm",{ref:"editForm",attrs:{table:e.record},on:{ok:e.handleOk}})],1)},B=[],F=o.normalizeComponent(k,L,B,!1,null,"3966b20c",null,null);const c=F.exports;c.install=function(t){t.component(c.name,c)};exports.GDpackage=c;