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,76 +1,83 @@
1
- import { n as o, m } from "./chartbi.cdd1e365.mjs";
2
- import { f as l, t as c } from "./messages.a1335b0f.mjs";
3
- function u(t) {
1
+ import { n as o, m as c } from "./chartbi.b6818e8e.mjs";
2
+ import { f as r, t as m } from "./messages.7e418640.mjs";
3
+ function h(s) {
4
4
  return window.axios({
5
5
  url: "/sysTeam/page",
6
6
  method: "get",
7
- params: t
7
+ params: s
8
8
  });
9
9
  }
10
- function h(t) {
10
+ function p(s) {
11
11
  return window.axios({
12
12
  url: "/sysTeam/add",
13
13
  method: "post",
14
- data: t
14
+ data: s
15
15
  });
16
16
  }
17
- function f(t) {
17
+ function f(s) {
18
18
  return window.axios({
19
19
  url: "/sysTeam/edit",
20
20
  method: "post",
21
- data: t
21
+ data: s
22
22
  });
23
23
  }
24
- function p(t) {
24
+ function g(s) {
25
25
  return window.axios({
26
26
  url: "/sysTeam/delete",
27
27
  method: "post",
28
- data: t
28
+ data: s
29
29
  });
30
30
  }
31
- function g(t) {
31
+ function y(s) {
32
32
  return window.axios({
33
33
  url: "/sysTeam/detail",
34
34
  method: "get",
35
- params: t
35
+ params: s
36
36
  });
37
37
  }
38
- function y(t) {
38
+ function _(s) {
39
39
  return window.axios({
40
40
  url: "/sysTeam/members",
41
41
  method: "get",
42
- params: t
42
+ params: s
43
43
  });
44
44
  }
45
- function _(t) {
45
+ function b(s) {
46
46
  return window.axios({
47
47
  url: "/sysTeam/member/add",
48
48
  method: "post",
49
- data: t
49
+ data: s
50
50
  });
51
51
  }
52
- function b(t) {
52
+ function w(s) {
53
+ return window.axios({
54
+ url: "/sysTeam/member/batchadd",
55
+ method: "post",
56
+ data: s
57
+ });
58
+ }
59
+ function $(s) {
53
60
  return window.axios({
54
61
  url: "/sysTeam/member/edit",
55
62
  method: "post",
56
- data: t
63
+ data: s
57
64
  });
58
65
  }
59
- function w(t) {
66
+ function v(s) {
60
67
  return window.axios({
61
- url: "/sysTeam/member/delete",
68
+ url: "/sysTeam/member/batchdel",
62
69
  method: "post",
63
- data: t
70
+ data: s
64
71
  });
65
72
  }
66
- function $(t) {
73
+ function k(s) {
67
74
  return window.axios({
68
75
  url: "/sysTeam/member/detail",
69
76
  method: "get",
70
- params: t
77
+ params: s
71
78
  });
72
79
  }
73
- const v = {
80
+ const F = {
74
81
  data() {
75
82
  return {
76
83
  tableColumns: [
@@ -86,6 +93,7 @@ const v = {
86
93
  type: "slot",
87
94
  slotType: "name",
88
95
  align: "left",
96
+ width: "220",
89
97
  fixed: !0,
90
98
  showOverflowTooltip: !0
91
99
  },
@@ -93,6 +101,7 @@ const v = {
93
101
  transKey: "gd.team.amdmin",
94
102
  prop: "administratorid",
95
103
  label: "\u7BA1\u7406\u5458",
104
+ width: "220",
96
105
  type: "slot",
97
106
  slotType: "administratorid",
98
107
  align: "left"
@@ -101,20 +110,23 @@ const v = {
101
110
  transKey: "gd.team.teamtype",
102
111
  prop: "teamtype",
103
112
  label: "\u56E2\u961F\u7C7B\u578B",
113
+ width: "180",
104
114
  type: "slot",
105
115
  slotType: "teamtype",
106
116
  align: "left"
107
117
  },
108
- {
109
- transKey: "gd.team.describe",
110
- prop: "description",
111
- label: "\u63CF\u8FF0",
112
- align: "left"
113
- },
114
118
  {
115
119
  transKey: "gd.team.createdTime",
116
120
  prop: "createdtime",
117
121
  label: "\u521B\u5EFA\u65F6\u95F4",
122
+ align: "center",
123
+ width: "180"
124
+ },
125
+ {
126
+ transKey: "gd.team.describe",
127
+ prop: "description",
128
+ label: "\u63CF\u8FF0",
129
+ width: "260",
118
130
  align: "left"
119
131
  }
120
132
  ],
@@ -147,7 +159,7 @@ const v = {
147
159
  ]
148
160
  };
149
161
  }
150
- }, k = {
162
+ }, L = {
151
163
  data() {
152
164
  return {
153
165
  tableColumns: [
@@ -173,6 +185,38 @@ const v = {
173
185
  type: "slot",
174
186
  slotType: "sys_userid",
175
187
  align: "left"
188
+ },
189
+ {
190
+ transKey: "gd.user.account",
191
+ prop: "account",
192
+ label: "\u8D26\u53F7",
193
+ type: "slot",
194
+ slotType: "account",
195
+ align: "left"
196
+ },
197
+ {
198
+ transKey: "gd.user.tel",
199
+ prop: "phone",
200
+ label: "\u7535\u8BDD",
201
+ type: "slot",
202
+ slotType: "phone",
203
+ align: "left"
204
+ },
205
+ {
206
+ transKey: "gd.user.email",
207
+ prop: "email",
208
+ label: "\u90AE\u7BB1",
209
+ type: "slot",
210
+ slotType: "email",
211
+ align: "left"
212
+ },
213
+ {
214
+ transKey: "gd.user.employeeID",
215
+ prop: "employeeid",
216
+ label: "\u5DE5\u53F7",
217
+ type: "slot",
218
+ slotType: "employeeid",
219
+ align: "left"
176
220
  }
177
221
  ],
178
222
  tableButtons: [
@@ -205,7 +249,7 @@ const v = {
205
249
  };
206
250
  }
207
251
  };
208
- const F = {
252
+ const T = {
209
253
  props: {
210
254
  modalAppendToBody: {
211
255
  type: Boolean,
@@ -269,37 +313,37 @@ const F = {
269
313
  }
270
314
  },
271
315
  methods: {
272
- lookupSeled(t) {
273
- this.dataList = [...t.fkData], this.$set(this.ruleFormData, "sys_userid", t.data[0]);
316
+ lookupSeled(s) {
317
+ this.dataList = [...s.fkData], this.$set(this.ruleFormData, "sys_userid", s.data[0]);
274
318
  },
275
- lookup(t) {
319
+ lookup(s) {
276
320
  let e = {
277
321
  effectType: "fk",
278
322
  fkEntityName: "sys_user",
279
- val: t || []
323
+ val: s || []
280
324
  };
281
325
  this.$refs.msgSearch.open(e);
282
326
  },
283
- open(t) {
284
- this.visible = !0, this.fullScreen = !1, this.title = t ? this.$i18nt("gd.https.edit") : this.$i18nt("gd.https.add"), this.type = t ? 2 : 1, this.typeAdd == 2 && this.searchData(this.sys_teamid), t && this.getDetail(t.id);
327
+ open(s) {
328
+ this.visible = !0, this.fullScreen = !1, this.title = s ? this.$i18nt("gd.https.edit") : this.$i18nt("gd.https.add"), this.type = s ? 2 : 1, this.typeAdd == 2 && this.searchData(this.sys_teamid), s && this.getDetail(s.id);
285
329
  },
286
- getDetail(t) {
287
- t != "" && (this.dataList = [], $({
288
- id: t
330
+ getDetail(s) {
331
+ s != "" && (this.dataList = [], k({
332
+ id: s
289
333
  }).then((e) => {
290
334
  if (e.code == 200) {
291
- let s = e.data;
335
+ let t = e.data;
292
336
  this.dataList.push({
293
- id: s.sys_userid,
294
- name: s.username
337
+ id: t.sys_userid,
338
+ name: t.username
295
339
  }), this.columnList.push({
296
- id: s.sys_teamid,
297
- name: s.teamname
340
+ id: t.sys_teamid,
341
+ name: t.teamname
298
342
  });
299
343
  let a = {
300
- id: s.id,
301
- sys_userid: s.sys_userid,
302
- sys_teamid: s.sys_teamid
344
+ id: t.id,
345
+ sys_userid: t.sys_userid,
346
+ sys_teamid: t.sys_teamid
303
347
  };
304
348
  this.firstLoading = !0, this.firstLoading1 = !0, this.$nextTick(() => {
305
349
  setTimeout(() => {
@@ -309,21 +353,21 @@ const F = {
309
353
  }
310
354
  }));
311
355
  },
312
- searchData(t) {
313
- this.columnList = [], l({
356
+ searchData(s) {
357
+ this.columnList = [], r({
314
358
  fkEntityName: "sys_team",
315
- id: t
359
+ id: s
316
360
  }).then((e) => {
317
- e.code == 200 && (this.ruleFormData.sys_teamid = t, this.columnList = e.data.length > 0 ? e.data : []);
361
+ e.code == 200 && (this.ruleFormData.sys_teamid = s, this.columnList = e.data.length > 0 ? e.data : []);
318
362
  });
319
363
  },
320
364
  searchList() {
321
365
  this.firstLoading || (this.adminClick(""), this.firstLoading = !0);
322
366
  },
323
- adminClick(t) {
324
- this.dataList = [], this.fetching = !0, l({
367
+ adminClick(s) {
368
+ this.dataList = [], this.fetching = !0, r({
325
369
  fkEntityName: "sys_user",
326
- name: t
370
+ name: s
327
371
  }).then((e) => {
328
372
  e.code == 200 && (this.dataList = e.data);
329
373
  });
@@ -331,28 +375,28 @@ const F = {
331
375
  searchList1() {
332
376
  this.firstLoading1 || (this.userClick(""), this.firstLoading1 = !0);
333
377
  },
334
- userClick(t) {
335
- this.columnList = [], this.fetching = !0, l({
378
+ userClick(s) {
379
+ this.columnList = [], this.fetching = !0, r({
336
380
  fkEntityName: "sys_team",
337
- name: t
381
+ name: s
338
382
  }).then((e) => {
339
383
  e.code == 200 && (this.columnList = e.data);
340
384
  });
341
385
  },
342
386
  handleSubmit() {
343
- this.$refs.ruleForm.validate((t) => {
344
- t && (this.type == 1 ? this.add(this.ruleFormData) : this.edit(this.ruleFormData));
387
+ this.$refs.ruleForm.validate((s) => {
388
+ s && (this.type == 1 ? this.add(this.ruleFormData) : this.edit(this.ruleFormData));
345
389
  });
346
390
  },
347
- add(t) {
348
- this.confirmLoading = !0, delete t.id, _(t).then((e) => {
391
+ add(s) {
392
+ this.confirmLoading = !0, delete s.id, b(s).then((e) => {
349
393
  e.success ? (this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F")), this.$emit("ok"), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25: ") + e.message);
350
394
  }).finally((e) => {
351
395
  this.confirmLoading = !1;
352
396
  });
353
397
  },
354
- edit(t) {
355
- this.confirmLoading = !0, b(t).then((e) => {
398
+ edit(s) {
399
+ this.confirmLoading = !0, $(s).then((e) => {
356
400
  e.success ? (this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F")), this.$emit("ok"), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25: ") + e.message);
357
401
  }).finally((e) => {
358
402
  this.confirmLoading = !1;
@@ -364,51 +408,51 @@ const F = {
364
408
  sys_teamid: ""
365
409
  };
366
410
  },
367
- getDictionary(t) {
368
- return this.$options.filters.dictData(t);
411
+ getDictionary(s) {
412
+ return this.$options.filters.dictData(s);
369
413
  },
370
414
  toggleFullscreen() {
371
415
  this.fullScreen = !this.fullScreen;
372
416
  },
373
- doEvent(t) {
374
- let e = t.item.functionName;
417
+ doEvent(s) {
418
+ let e = s.item.functionName;
375
419
  this[e] && this[e]();
376
420
  }
377
421
  }
378
422
  };
379
- var L = function() {
380
- var e = this, s = e._self._c;
381
- return s("div", [s("el-dialog", { class: e.fullScreen ? "gd-dialog" : "gd-dialog gd-dialog-fangda", attrs: { width: e.width, visible: e.visible, fullscreen: e.fullScreen, footer: null, top: "80px", "modal-append-to-body": e.modalAppendToBody, "append-to-body": e.appendToBody, "close-on-click-modal": !1, "show-close": !1 }, on: { "update:visible": function(a) {
423
+ var S = function() {
424
+ var e = this, t = e._self._c;
425
+ return t("div", [t("el-dialog", { class: e.fullScreen ? "gd-dialog" : "gd-dialog gd-dialog-fangda", attrs: { width: e.width, visible: e.visible, fullscreen: e.fullScreen, footer: null, top: "80px", "modal-append-to-body": e.modalAppendToBody, "append-to-body": e.appendToBody, "close-on-click-modal": !1, "show-close": !1 }, on: { "update:visible": function(a) {
382
426
  e.visible = a;
383
- }, 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, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [s("div", { class: e.fullScreen ? "modal-bodyq" : "modal-body" }, [s("el-form", { ref: "ruleForm", attrs: { rules: e.rules, model: e.ruleFormData, "label-width": "100px" }, nativeOn: { submit: function(a) {
427
+ }, closed: e.handleCancel } }, [t("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, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [t("div", { class: e.fullScreen ? "modal-bodyq" : "modal-body" }, [t("el-form", { ref: "ruleForm", attrs: { rules: e.rules, model: e.ruleFormData, "label-width": "100px" }, nativeOn: { submit: function(a) {
384
428
  a.preventDefault();
385
- } } }, [s("el-row", { attrs: { gutter: 24 } }, [s("el-col", { attrs: { span: 12 } }, [s("el-form-item", { attrs: { label: e.$i18nt("gd.team.member", "\u7528\u6237"), prop: "sys_userid" } }, [s("div", { staticClass: "cao_about" }, [s("el-select", { staticClass: "cao_input", attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", "collapse-tags": !0, "remote-method": e.adminClick }, on: { focus: e.searchList }, model: { value: e.ruleFormData.sys_userid, callback: function(a) {
429
+ } } }, [t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.member", "\u7528\u6237"), prop: "sys_userid" } }, [t("div", { staticClass: "cao_about" }, [t("el-select", { staticClass: "cao_input", attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", "collapse-tags": !0, "remote-method": e.adminClick }, on: { focus: e.searchList }, model: { value: e.ruleFormData.sys_userid, callback: function(a) {
386
430
  e.$set(e.ruleFormData, "sys_userid", a);
387
431
  }, expression: "ruleFormData.sys_userid" } }, e._l(e.dataList, function(a, i) {
388
- return s("el-option", { key: a.id + "&" + i, attrs: { label: a.name, value: a.id } });
389
- }), 1), s("div", { staticClass: "cao_setting" }, [s("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(a) {
432
+ return t("el-option", { key: a.id + "&" + i, attrs: { label: a.name, value: a.id } });
433
+ }), 1), t("div", { staticClass: "cao_setting" }, [t("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(a) {
390
434
  return e.lookup(e.ruleFormData.sys_userid);
391
- } } })])], 1)])], 1), s("el-col", { attrs: { span: 12 } }, [s("el-form-item", { attrs: { label: e.$i18nt("gd.team.team", "\u56E2\u961F"), prop: "sys_teamid" } }, [s("div", { staticClass: "cao_about" }, [s("el-select", { staticClass: "cao_input", attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", "collapse-tags": !0, disabled: e.disableds, "remote-method": e.userClick }, on: { focus: e.searchList1 }, model: { value: e.ruleFormData.sys_teamid, callback: function(a) {
435
+ } } })])], 1)])], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.team", "\u56E2\u961F"), prop: "sys_teamid" } }, [t("div", { staticClass: "cao_about" }, [t("el-select", { staticClass: "cao_input", attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", "collapse-tags": !0, disabled: e.disableds, "remote-method": e.userClick }, on: { focus: e.searchList1 }, model: { value: e.ruleFormData.sys_teamid, callback: function(a) {
392
436
  e.$set(e.ruleFormData, "sys_teamid", a);
393
437
  }, expression: "ruleFormData.sys_teamid" } }, e._l(e.columnList, function(a, i) {
394
- return s("el-option", { key: a.id + "&" + i, attrs: { label: a.name, value: a.id } });
395
- }), 1), s("div", { staticClass: "cao_setting" }, [s("i", { staticClass: "el-input__icon el-icon-search", on: { lookup: function(a) {
438
+ return t("el-option", { key: a.id + "&" + i, attrs: { label: a.name, value: a.id } });
439
+ }), 1), t("div", { staticClass: "cao_setting" }, [t("i", { staticClass: "el-input__icon el-icon-search", on: { lookup: function(a) {
396
440
  e.ruleFormData.sys_teamid;
397
- } } })])], 1)])], 1)], 1)], 1)], 1)])], 1), s("gd-search", { ref: "msgSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } })], 1);
398
- }, T = [], C = /* @__PURE__ */ o(
399
- F,
400
- L,
441
+ } } })])], 1)])], 1)], 1)], 1)], 1)])], 1), t("gd-search", { ref: "msgSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } })], 1);
442
+ }, C = [], D = /* @__PURE__ */ o(
401
443
  T,
444
+ S,
445
+ C,
402
446
  !1,
403
447
  null,
404
448
  "0613082f",
405
449
  null,
406
450
  null
407
451
  );
408
- const D = C.exports;
409
- const S = {
452
+ const x = D.exports;
453
+ const B = {
410
454
  name: "GdTeamMembers",
411
- mixins: [c, k],
455
+ mixins: [m, L],
412
456
  props: {
413
457
  height: {
414
458
  type: Number,
@@ -433,9 +477,10 @@ const S = {
433
477
  selectedRowKeys: [],
434
478
  selectedRows: [],
435
479
  queryParam: {},
436
- loadData: (t) => y(Object.assign(t, this.getQueryParam, {
480
+ disabledRowId: [],
481
+ loadData: (s) => _(Object.assign(s, this.getQueryParam, {
437
482
  SysTeamId: this.sys_teamid
438
- })).then((e) => (console.log(e), e.data))
483
+ })).then((e) => (this.disabledRowId = e.data.rows.map((t) => t.sys_userid), e.data))
439
484
  };
440
485
  },
441
486
  computed: {
@@ -443,38 +488,64 @@ const S = {
443
488
  return this.height;
444
489
  },
445
490
  getQueryParam() {
446
- let t = /* @__PURE__ */ new Map();
491
+ console.log(this.queryParam);
492
+ let s = /* @__PURE__ */ new Map();
447
493
  for (let e in this.queryParam)
448
494
  if (this.queryParam[e] && (e === "msgStatus" || e === "sendType"))
449
- t.set(e, this.queryParam[e].join(","));
495
+ s.set(e, this.queryParam[e].join(","));
450
496
  else if (this.queryParam[e] && (e === "actualOn" || e === "createdTime" || e === "scheduledStartedOn")) {
451
497
  if (this.queryParam[e].length > 0) {
452
- let s = this.queryParam[e], a = s[0].split(" ")[0], i = s[1].split(" ")[0];
453
- t.set(`${e}Start`, `${a} 00:00:00`), t.set(`${e}End`, `${i} 23:59:59`);
498
+ let t = this.queryParam[e], a = t[0].split(" ")[0], i = t[1].split(" ")[0];
499
+ s.set(`${e}Start`, `${a} 00:00:00`), s.set(`${e}End`, `${i} 23:59:59`);
454
500
  }
455
501
  } else
456
- t.set(e, this.queryParam[e]);
457
- return Object.fromEntries(t);
502
+ s.set(e, this.queryParam[e]);
503
+ return Object.fromEntries(s);
458
504
  },
459
- ...m(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
505
+ ...c(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
460
506
  },
461
507
  components: {
462
- editForm: D
508
+ editForm: x
463
509
  },
464
510
  watch: {
465
- type(t, e) {
511
+ type(s, e) {
466
512
  this.$refs.table && this.$refs.table.refresh();
467
513
  },
468
- sys_teamid(t, e) {
514
+ sys_teamid(s, e) {
469
515
  this.$refs.table && this.$refs.table.refresh();
470
516
  }
471
517
  },
472
518
  methods: {
473
- editForm(t) {
474
- this.transKey = "gd.btn.edit", this.$refs.editForm.open(t);
519
+ lookupSeled(s) {
520
+ if (s.fkData.length === 0) {
521
+ this.$refs.msgSearch.closed();
522
+ return;
523
+ }
524
+ console.log(s), setTimeout(() => {
525
+ this.$refs.msgSearch.confirmLoading = !0;
526
+ }, 1502);
527
+ let e = {
528
+ userIds: s.data,
529
+ sys_TeamId: this.sys_teamid
530
+ };
531
+ w(e).then((t) => {
532
+ t.success ? (this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), this.$refs.msgSearch.closed(), this.$refs.table.refresh()) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + t.message), this.$refs.msgSearch.confirmLoading = !1;
533
+ });
534
+ },
535
+ lookup() {
536
+ let s = {
537
+ effectType: "participants",
538
+ fkEntityName: "sys_user",
539
+ isRelevance: !0,
540
+ val: []
541
+ };
542
+ this.$refs.msgSearch.open(s);
543
+ },
544
+ editForm(s) {
545
+ this.transKey = "gd.btn.edit", this.$refs.editForm.open(s);
475
546
  },
476
547
  add() {
477
- this.$refs.editForm.open();
548
+ this.lookup();
478
549
  },
479
550
  edit() {
480
551
  if (this.selectedRowKeys.length === 0) {
@@ -492,10 +563,6 @@ const S = {
492
563
  this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
493
564
  return;
494
565
  }
495
- if (this.selectedRowKeys.length > 1) {
496
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
497
- return;
498
- }
499
566
  this.$confirm(this.$i18nt("gd.https.delContent", "\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"), this.$i18nt("gd.https.delTitle", "\u6E29\u99A8\u63D0\u793A"), {
500
567
  confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
501
568
  cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
@@ -508,29 +575,24 @@ const S = {
508
575
  customClass: "custom-alert",
509
576
  callback: () => {
510
577
  },
511
- beforeClose: (t, e, s) => {
512
- this.delHand(t, e, s);
578
+ beforeClose: (s, e, t) => {
579
+ this.delHand(s, e, t);
513
580
  }
514
581
  });
515
582
  },
516
- delHand(t, e, s) {
517
- if (t !== "confirm") {
518
- s();
583
+ delHand(s, e, t) {
584
+ if (s !== "confirm") {
585
+ t();
519
586
  return;
520
587
  }
521
- let a = [];
522
- this.selectedRows.forEach((i) => {
523
- let n = w({
524
- id: i.id
525
- }).then((r) => r);
526
- a.push(n);
527
- }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(a).then((i) => {
528
- const n = i.filter((r) => !r.success);
529
- 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;
588
+ let a = [], i = v({ memberIds: this.selectedRowKeys }).then((n) => n);
589
+ a.push(i), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(a).then((n) => {
590
+ const l = n.filter((u) => !u.success);
591
+ l.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") + l[0].message), t(), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
530
592
  });
531
593
  },
532
- onSelectChange(t, e) {
533
- this.selectedRowKeys = t, this.selectedRows = e;
594
+ onSelectChange(s, e) {
595
+ this.selectedRowKeys = s, this.selectedRows = e;
534
596
  },
535
597
  handleOk() {
536
598
  this.refresh();
@@ -538,37 +600,49 @@ const S = {
538
600
  refresh() {
539
601
  this.$refs.table.refresh();
540
602
  },
541
- dictSwitch(t, e) {
542
- let s = this.$options.filters.dictData(e).filter((a) => a.code == t)[0];
543
- return s != null && s.colour ? s.colour : null;
603
+ dictSwitch(s, e) {
604
+ let t = this.$options.filters.dictData(e).filter((a) => a.code == s)[0];
605
+ return t != null && t.colour ? t.colour : null;
544
606
  },
545
- doEvent(t) {
546
- let e = t.item.functionName;
607
+ doEvent(s) {
608
+ let e = s.item.functionName;
547
609
  this[e] && this[e]();
548
610
  }
549
611
  }
550
612
  };
551
- var x = function() {
552
- var e = this, s = e._self._c;
553
- 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: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
554
- 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)])];
613
+ var K = function() {
614
+ var e = this, t = e._self._c;
615
+ return t("div", { staticClass: "gd-page-view" }, [t("div", { staticClass: "page-view-list", staticStyle: { padding: "12px 0" } }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
616
+ return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorl" }, [t("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165"), clearable: "" }, nativeOn: { keyup: function(a) {
617
+ return !a.type.indexOf("key") && e._k(a.keyCode, "enter", 13, a.key, "Enter") ? null : e.refresh.apply(null, arguments);
618
+ } }, model: { value: e.queryParam.searchValue, callback: function(a) {
619
+ e.$set(e.queryParam, "searchValue", a);
620
+ }, expression: "queryParam.searchValue" } }), t("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [t("i", { staticClass: "el-input__icon el-icon-search" })])], 1), t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
555
621
  }, proxy: !0 }, { key: "sys_teamid", fn: function({ column: a, row: i }) {
556
- return [s("gd-tooltip", { attrs: { rowKey: "teamname", row: i, highlight: "" }, on: { click: e.editForm } })];
622
+ return [t("gd-tooltip", { attrs: { rowKey: "teamname", row: i, highlight: "" }, on: { click: e.editForm } })];
557
623
  } }, { key: "sys_userid", fn: function({ column: a, row: i }) {
558
- return [i.sys_userid ? s("span", [e._v(" " + e._s(i.username) + " ")]) : e._e()];
559
- } }]) })], 1), s("editForm", { ref: "editForm", attrs: { openPermissions: !0, sys_teamid: e.sys_teamid, typeAdd: e.type, openMode: e.openMode }, on: { ok: e.handleOk } })], 1);
560
- }, B = [], N = /* @__PURE__ */ o(
561
- S,
562
- x,
624
+ return [i.sys_userid ? t("span", [e._v(" " + e._s(i.username) + " ")]) : e._e()];
625
+ } }, { key: "account", fn: function({ column: a, row: i }) {
626
+ return [i.account ? t("span", [e._v(" " + e._s(i.account) + " ")]) : e._e()];
627
+ } }, { key: "phone", fn: function({ column: a, row: i }) {
628
+ return [i.phone ? t("span", [e._v(" " + e._s(i.phone) + " ")]) : e._e()];
629
+ } }, { key: "email", fn: function({ column: a, row: i }) {
630
+ return [i.email ? t("span", [e._v(" " + e._s(i.email) + " ")]) : e._e()];
631
+ } }, { key: "employeeid", fn: function({ column: a, row: i }) {
632
+ return [i.employeeid ? t("span", [e._v(" " + e._s(i.employeeid) + " ")]) : e._e()];
633
+ } }]) })], 1), t("gd-search", { ref: "msgSearch", attrs: { disabledRowId: e.disabledRowId, appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } }), t("editForm", { ref: "editForm", attrs: { openPermissions: !0, sys_teamid: e.sys_teamid, typeAdd: e.type, openMode: e.openMode }, on: { ok: e.handleOk } })], 1);
634
+ }, N = [], P = /* @__PURE__ */ o(
563
635
  B,
636
+ K,
637
+ N,
564
638
  !1,
565
639
  null,
566
- "65460067",
640
+ "ada89e79",
567
641
  null,
568
642
  null
569
643
  );
570
- const K = N.exports;
571
- const P = {
644
+ const R = P.exports;
645
+ const E = {
572
646
  props: {
573
647
  modalAppendToBody: {
574
648
  type: Boolean,
@@ -628,87 +702,87 @@ const P = {
628
702
  }
629
703
  },
630
704
  components: {
631
- teamMemberDetail: K
705
+ teamMemberDetail: R
632
706
  },
633
707
  methods: {
634
- lookupSeled(t) {
635
- this.dataList = [...t.fkData], this.$set(this.ruleFormData, "administratorid", t.data[0]);
708
+ lookupSeled(s) {
709
+ this.dataList = [...s.fkData], this.$set(this.ruleFormData, "administratorid", s.data[0]);
636
710
  },
637
- lookup(t) {
711
+ lookup(s) {
638
712
  let e = {
639
713
  effectType: "fk",
640
714
  fkEntityName: "sys_user",
641
- val: t || []
715
+ val: s || []
642
716
  };
643
717
  this.$refs.msgSearch.open(e);
644
718
  },
645
- open(t) {
646
- this.visible = !0, this.fullScreen = !1, this.type = t ? 2 : 1, this.ruleFormData.id = t ? t.id : "", t && this.getDetail(t.id);
719
+ open(s) {
720
+ this.visible = !0, this.fullScreen = !1, this.type = s ? 2 : 1, this.ruleFormData.id = s ? s.id : "", s && this.getDetail(s.id);
647
721
  },
648
- getDetail(t) {
649
- t != "" && (this.dataList = [], g({
650
- id: t
722
+ getDetail(s) {
723
+ s != "" && (this.dataList = [], y({
724
+ id: s
651
725
  }).then((e) => {
652
726
  if (e.code == 200) {
653
- let s = e.data;
727
+ let t = e.data;
654
728
  this.dataList.push({
655
- id: s.administratorid,
656
- name: s.administratorname
729
+ id: t.administratorid,
730
+ name: t.administratorname
657
731
  }), this.columnList.push({
658
- id: s.ownerid,
659
- name: s.ownername
732
+ id: t.ownerid,
733
+ name: t.ownername
660
734
  });
661
735
  let a = {
662
- id: s.id,
663
- name: s.name,
664
- teamtype: s.teamtype ? s.teamtype.toString() : "",
665
- description: s.description,
666
- administratorid: s.administratorid
736
+ id: t.id,
737
+ name: t.name,
738
+ teamtype: t.teamtype ? t.teamtype.toString() : "",
739
+ description: t.description,
740
+ administratorid: t.administratorid
667
741
  };
668
742
  this.firstLoading = !0, this.$nextTick(() => {
669
743
  setTimeout(() => {
670
- this.ruleFormData = a, this.ownerid = s.ownerid;
744
+ this.ruleFormData = a, this.ownerid = t.ownerid;
671
745
  }, 0);
672
746
  });
673
747
  }
674
748
  }));
675
749
  },
676
- searchData(t) {
677
- this.dataList = [], l({
750
+ searchData(s) {
751
+ this.dataList = [], r({
678
752
  fkEntityName: "sys_user",
679
- id: t.administratorid
753
+ id: s.administratorid
680
754
  }).then((e) => {
681
755
  e.code == 200 && (this.firstLoading = !0, e.data.length > 0 ? this.dataList = e.data : this.dataList.push({
682
- id: t.administratorid,
683
- name: t.administratorname
756
+ id: s.administratorid,
757
+ name: s.administratorname
684
758
  }));
685
759
  });
686
760
  },
687
761
  searchList() {
688
762
  this.firstLoading || (this.adminClick(""), this.firstLoading = !0);
689
763
  },
690
- adminClick(t) {
691
- this.dataList = [], this.fetching = !0, l({
764
+ adminClick(s) {
765
+ this.dataList = [], this.fetching = !0, r({
692
766
  fkEntityName: "sys_user",
693
- name: t
767
+ name: s
694
768
  }).then((e) => {
695
769
  e.code == 200 && (this.dataList = e.data);
696
770
  });
697
771
  },
698
772
  handleSubmit() {
699
- this.$refs.ruleForm.validate((t) => {
700
- t && (console.log(this.type), this.type == 1 ? this.add(this.ruleFormData) : this.edit(this.ruleFormData));
773
+ this.$refs.ruleForm.validate((s) => {
774
+ s && (console.log(this.type), this.type == 1 ? this.add(this.ruleFormData) : this.edit(this.ruleFormData));
701
775
  });
702
776
  },
703
- add(t) {
704
- this.confirmLoading = !0, delete t.id, h(t).then((e) => {
777
+ add(s) {
778
+ this.confirmLoading = !0, delete s.id, p(s).then((e) => {
705
779
  e.success ? (this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F")), this.$emit("ok"), this.ruleFormData.id = e.data, this.type = 2, this.getDetail(e.data)) : this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25: ") + e.message);
706
780
  }).finally((e) => {
707
781
  this.confirmLoading = !1;
708
782
  });
709
783
  },
710
- edit(t) {
711
- this.confirmLoading = !0, f(t).then((e) => {
784
+ edit(s) {
785
+ this.confirmLoading = !0, f(s).then((e) => {
712
786
  e.success ? (this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F")), this.$emit("ok"), this.handleCancel()) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25: ") + e.message);
713
787
  }).finally((e) => {
714
788
  this.confirmLoading = !1;
@@ -723,57 +797,57 @@ const P = {
723
797
  description: ""
724
798
  }, this.ownerid = "", this.type = 1;
725
799
  },
726
- getDictionary(t) {
727
- return this.$options.filters.dictData(t);
800
+ getDictionary(s) {
801
+ return this.$options.filters.dictData(s);
728
802
  },
729
803
  toggleFullscreen() {
730
804
  this.fullScreen = !this.fullScreen;
731
805
  },
732
- doEvent(t) {
733
- let e = t.item.functionName;
806
+ doEvent(s) {
807
+ let e = s.item.functionName;
734
808
  this[e] && this[e]();
735
809
  }
736
810
  }
737
811
  };
738
- var R = function() {
739
- var e = this, s = e._self._c;
740
- return s("div", [s("el-dialog", { class: e.fullScreen ? "gd-dialog" : "gd-dialog gd-dialog-fangda", attrs: { width: e.width, visible: e.visible, fullscreen: e.fullScreen, footer: null, top: "80px", "modal-append-to-body": e.modalAppendToBody, "append-to-body": e.appendToBody, "close-on-click-modal": !1, "show-close": !1 }, on: { "update:visible": function(a) {
812
+ var q = function() {
813
+ var e = this, t = e._self._c;
814
+ return t("div", [t("el-dialog", { class: e.fullScreen ? "gd-dialog" : "gd-dialog gd-dialog-fangda", attrs: { width: e.width, visible: e.visible, fullscreen: e.fullScreen, footer: null, top: "80px", "modal-append-to-body": e.modalAppendToBody, "append-to-body": e.appendToBody, "close-on-click-modal": !1, "show-close": !1 }, on: { "update:visible": function(a) {
741
815
  e.visible = a;
742
- }, 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, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [s("div", { class: e.fullScreen ? "modal-bodyq" : "modal-body" }, [s("el-form", { ref: "ruleForm", attrs: { rules: e.rules, model: e.ruleFormData, "label-width": "100px" }, nativeOn: { submit: function(a) {
816
+ }, closed: e.handleCancel } }, [t("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, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }] }, [t("div", { class: e.fullScreen ? "modal-bodyq" : "modal-body" }, [t("el-form", { ref: "ruleForm", attrs: { rules: e.rules, model: e.ruleFormData, "label-width": "100px" }, nativeOn: { submit: function(a) {
743
817
  a.preventDefault();
744
- } } }, [s("el-row", { attrs: { gutter: 24 } }, [s("el-col", { attrs: { span: 12 } }, [s("el-form-item", { attrs: { label: e.$i18nt("gd.team.name", "\u540D\u79F0"), prop: "name" } }, [s("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.name, callback: function(a) {
818
+ } } }, [t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.name", "\u540D\u79F0"), prop: "name" } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.name, callback: function(a) {
745
819
  e.$set(e.ruleFormData, "name", a);
746
- }, expression: "ruleFormData.name" } })], 1)], 1), s("el-col", { attrs: { span: 12 } }, [s("el-form-item", { attrs: { label: e.$i18nt("gd.team.teamtype", "\u56E2\u961F\u7C7B\u578B"), prop: "teamtype" } }, [s("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: "", placeholder: e.$i18nt("gd.placeholder.select"), clearable: "" }, model: { value: e.ruleFormData.teamtype, callback: function(a) {
820
+ }, expression: "ruleFormData.name" } })], 1)], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.teamtype", "\u56E2\u961F\u7C7B\u578B"), prop: "teamtype" } }, [t("el-select", { staticStyle: { width: "100%" }, attrs: { disabled: "", placeholder: e.$i18nt("gd.placeholder.select"), clearable: "" }, model: { value: e.ruleFormData.teamtype, callback: function(a) {
747
821
  e.$set(e.ruleFormData, "teamtype", a);
748
822
  }, expression: "ruleFormData.teamtype" } }, e._l(e.getDictionary("teamtype"), function(a, i) {
749
- return s("el-option", { key: i, attrs: { value: a.code, label: e.$i18nt(`Dynamics.${a.transkey}`, a.name) } });
750
- }), 1)], 1)], 1)], 1), s("el-row", { attrs: { gutter: 24 } }, [s("el-col", { attrs: { span: 12 } }, [s("el-form-item", { attrs: { label: e.$i18nt("gd.team.amdmin", "\u7BA1\u7406\u5458"), prop: "administratorid" } }, [s("div", { staticClass: "cao_about" }, [s("el-select", { staticClass: "cao_input", attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", "collapse-tags": !0, "remote-method": e.adminClick }, on: { focus: e.searchList }, model: { value: e.ruleFormData.administratorid, callback: function(a) {
823
+ return t("el-option", { key: i, attrs: { value: a.code, label: e.$i18nt(`Dynamics.${a.transkey}`, a.name) } });
824
+ }), 1)], 1)], 1)], 1), t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.amdmin", "\u7BA1\u7406\u5458"), prop: "administratorid" } }, [t("div", { staticClass: "cao_about" }, [t("el-select", { staticClass: "cao_input", attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", "collapse-tags": !0, "remote-method": e.adminClick }, on: { focus: e.searchList }, model: { value: e.ruleFormData.administratorid, callback: function(a) {
751
825
  e.$set(e.ruleFormData, "administratorid", a);
752
826
  }, expression: "ruleFormData.administratorid" } }, e._l(e.dataList, function(a, i) {
753
- return s("el-option", { key: a.id + "&" + i, attrs: { label: a.name, value: a.id } });
754
- }), 1), s("div", { staticClass: "cao_setting" }, [s("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(a) {
827
+ return t("el-option", { key: a.id + "&" + i, attrs: { label: a.name, value: a.id } });
828
+ }), 1), t("div", { staticClass: "cao_setting" }, [t("i", { staticClass: "el-input__icon el-icon-search", on: { click: function(a) {
755
829
  return e.lookup(e.ruleFormData.administratorid);
756
- } } })])], 1)])], 1), s("el-col", { attrs: { span: 12 } }, [s("el-form-item", { attrs: { label: e.$i18nt("gd.team.owner", "\u8D1F\u8D23\u4EBA") } }, [s("div", { staticClass: "cao_about" }, [s("el-select", { staticClass: "cao_input", attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", "collapse-tags": !0, disabled: "" }, model: { value: e.ownerid, callback: function(a) {
830
+ } } })])], 1)])], 1), t("el-col", { attrs: { span: 12 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.owner", "\u8D1F\u8D23\u4EBA") } }, [t("div", { staticClass: "cao_about" }, [t("el-select", { staticClass: "cao_input", attrs: { placeholder: e.$i18nt("gd.placeholder.select", "\u8BF7\u9009\u62E9"), "reserve-keyword": "", filterable: "", remote: "", clearable: "", "collapse-tags": !0, disabled: "" }, model: { value: e.ownerid, callback: function(a) {
757
831
  e.ownerid = a;
758
832
  }, expression: "ownerid" } }, e._l(e.columnList, function(a, i) {
759
- return s("el-option", { key: i, attrs: { label: a.name, value: a.id } });
760
- }), 1), s("div", { staticClass: "cao_setting" }, [s("i", { staticClass: "el-input__icon el-icon-search cao_setting-disabled" })])], 1)])], 1)], 1), s("el-row", { attrs: { gutter: 24 } }, [s("el-col", { attrs: { span: 24 } }, [s("el-form-item", { attrs: { label: e.$i18nt("gd.team.describe", "\u63CF\u8FF0"), prop: "description" } }, [s("el-input", { attrs: { type: "textarea", rows: 4, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(a) {
833
+ return t("el-option", { key: i, attrs: { label: a.name, value: a.id } });
834
+ }), 1), t("div", { staticClass: "cao_setting" }, [t("i", { staticClass: "el-input__icon el-icon-search cao_setting-disabled" })])], 1)])], 1)], 1), t("el-row", { attrs: { gutter: 24 } }, [t("el-col", { attrs: { span: 24 } }, [t("el-form-item", { attrs: { label: e.$i18nt("gd.team.describe", "\u63CF\u8FF0"), prop: "description" } }, [t("el-input", { attrs: { type: "textarea", rows: 4, placeholder: e.$i18nt("gd.placeholder.input", "\u8BF7\u8F93\u5165") }, model: { value: e.ruleFormData.description, callback: function(a) {
761
835
  e.$set(e.ruleFormData, "description", a);
762
- }, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1)], 1), e.detailShow ? s("el-card", { attrs: { shadow: "never" } }, [s("div", [e._v(e._s(e.$i18nt("gd.team.teamMember", "\u56E2\u961F\u6210\u5458")))]), s("teamMemberDetail", { attrs: { sys_teamid: Number(e.ruleFormData.id), type: e.type, openMode: 2, height: 200 } })], 1) : e._e()], 1)], 1), s("gd-search", { ref: "msgSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } })], 1);
763
- }, E = [], O = /* @__PURE__ */ o(
764
- P,
765
- R,
836
+ }, expression: "ruleFormData.description" } })], 1)], 1)], 1)], 1)], 1), e.detailShow ? t("el-card", { attrs: { shadow: "never" } }, [t("div", [e._v(e._s(e.$i18nt("gd.team.teamMember", "\u56E2\u961F\u6210\u5458")))]), t("teamMemberDetail", { attrs: { sys_teamid: Number(e.ruleFormData.id), type: e.type, openMode: 2, height: 200 } })], 1) : e._e()], 1)], 1), t("gd-search", { ref: "msgSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } })], 1);
837
+ }, O = [], M = /* @__PURE__ */ o(
766
838
  E,
839
+ q,
840
+ O,
767
841
  !1,
768
842
  null,
769
843
  "837be327",
770
844
  null,
771
845
  null
772
846
  );
773
- const q = O.exports;
774
- const M = {
847
+ const z = M.exports;
848
+ const V = {
775
849
  name: "GdTeam",
776
- mixins: [c, v],
850
+ mixins: [m, F],
777
851
  props: {
778
852
  height: {
779
853
  type: Number,
@@ -786,35 +860,35 @@ const M = {
786
860
  selectedRowKeys: [],
787
861
  selectedRows: [],
788
862
  queryParam: {},
789
- loadData: (t) => u(Object.assign(t, this.getQueryParam)).then((e) => e.data)
863
+ loadData: (s) => h(Object.assign(s, this.getQueryParam)).then((e) => e.data)
790
864
  };
791
865
  },
792
866
  components: {
793
- editForm: q
867
+ editForm: z
794
868
  },
795
869
  computed: {
796
870
  getHeight() {
797
871
  return this.height;
798
872
  },
799
873
  getQueryParam() {
800
- let t = /* @__PURE__ */ new Map();
874
+ let s = /* @__PURE__ */ new Map();
801
875
  for (let e in this.queryParam)
802
876
  if (this.queryParam[e] && (e === "msgStatus" || e === "sendType"))
803
- t.set(e, this.queryParam[e].join(","));
877
+ s.set(e, this.queryParam[e].join(","));
804
878
  else if (this.queryParam[e] && (e === "actualOn" || e === "createdTime" || e === "scheduledStartedOn")) {
805
879
  if (this.queryParam[e].length > 0) {
806
- let s = this.queryParam[e], a = s[0].split(" ")[0], i = s[1].split(" ")[0];
807
- t.set(`${e}Start`, `${a} 00:00:00`), t.set(`${e}End`, `${i} 23:59:59`);
880
+ let t = this.queryParam[e], a = t[0].split(" ")[0], i = t[1].split(" ")[0];
881
+ s.set(`${e}Start`, `${a} 00:00:00`), s.set(`${e}End`, `${i} 23:59:59`);
808
882
  }
809
883
  } else
810
- t.set(e, this.queryParam[e]);
811
- return Object.fromEntries(t);
884
+ s.set(e, this.queryParam[e]);
885
+ return Object.fromEntries(s);
812
886
  },
813
- ...m(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
887
+ ...c(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
814
888
  },
815
889
  methods: {
816
- editForm(t) {
817
- this.transKey = "gd.btn.edit", this.$refs.editForm.open(t);
890
+ editForm(s) {
891
+ this.transKey = "gd.btn.edit", this.$refs.editForm.open(s);
818
892
  },
819
893
  add() {
820
894
  this.$refs.editForm.open();
@@ -851,29 +925,29 @@ const M = {
851
925
  customClass: "custom-alert",
852
926
  callback: () => {
853
927
  },
854
- beforeClose: (t, e, s) => {
855
- this.delHand(t, e, s);
928
+ beforeClose: (s, e, t) => {
929
+ this.delHand(s, e, t);
856
930
  }
857
931
  });
858
932
  },
859
- delHand(t, e, s) {
860
- if (t !== "confirm") {
861
- s();
933
+ delHand(s, e, t) {
934
+ if (s !== "confirm") {
935
+ t();
862
936
  return;
863
937
  }
864
938
  let a = [];
865
939
  this.selectedRows.forEach((i) => {
866
- let n = p({
940
+ let n = g({
867
941
  id: i.id
868
- }).then((r) => r);
942
+ }).then((l) => l);
869
943
  a.push(n);
870
944
  }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(a).then((i) => {
871
- const n = i.filter((r) => !r.success);
872
- 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;
945
+ const n = i.filter((l) => !l.success);
946
+ 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), t(), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
873
947
  });
874
948
  },
875
- onSelectChange(t, e) {
876
- this.selectedRowKeys = t, this.selectedRows = e;
949
+ onSelectChange(s, e) {
950
+ this.selectedRowKeys = s, this.selectedRows = e;
877
951
  },
878
952
  handleOk() {
879
953
  this.refresh();
@@ -881,46 +955,46 @@ const M = {
881
955
  refresh() {
882
956
  this.$refs.table.refresh();
883
957
  },
884
- dictSwitch(t, e) {
885
- let s = this.$options.filters.dictData(e).filter((a) => a.code == t)[0];
886
- return s != null && s.colour ? s.colour : null;
958
+ dictSwitch(s, e) {
959
+ let t = this.$options.filters.dictData(e).filter((a) => a.code == s)[0];
960
+ return t != null && t.colour ? t.colour : null;
887
961
  },
888
- doEvent(t) {
889
- let e = t.item.functionName;
962
+ doEvent(s) {
963
+ let e = s.item.functionName;
890
964
  this[e] && this[e]();
891
965
  }
892
966
  }
893
967
  };
894
- var z = function() {
895
- var e = this, s = e._self._c;
896
- 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: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
897
- 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)])];
968
+ var A = function() {
969
+ var e = this, t = e._self._c;
970
+ return t("div", { staticClass: "gd-page-view" }, [t("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [t("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !1 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
971
+ return [t("div", { staticClass: "gd-table-operator" }, [t("div", { staticClass: "gd-table-operatorr" }, [t("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
898
972
  }, proxy: !0 }, { key: "name", fn: function({ column: a, row: i }) {
899
- return [s("gd-tooltip", { attrs: { rowKey: "name", row: i, highlight: "" }, on: { click: e.editForm } })];
973
+ return [t("gd-tooltip", { attrs: { rowKey: "name", row: i, highlight: "" }, on: { click: e.editForm } })];
900
974
  } }, { key: "administratorid", fn: function({ column: a, row: i }) {
901
- return [i.administratorname ? s("span", [e._v(" " + e._s(i.administratorname) + " ")]) : e._e()];
975
+ return [i.administratorname ? t("span", [e._v(" " + e._s(i.administratorname) + " ")]) : e._e()];
902
976
  } }, { key: "teamtype", fn: function(a) {
903
- return [e.dictSwitch(a.row.teamtype, "teamtype") ? s("el-tag", { style: e._f("dictColor")("teamtype", a.row.teamtype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("teamtype", a.row.teamtype)) + " ")]) : s("span", [e._v(e._s(e._f("dictType")("teamtype", a.row.teamtype)))])];
904
- } }]) })], 1), s("editForm", { ref: "editForm", attrs: { openPermissions: !0 }, on: { ok: e.handleOk } })], 1);
905
- }, A = [], H = /* @__PURE__ */ o(
906
- M,
907
- z,
977
+ return [e.dictSwitch(a.row.teamtype, "teamtype") ? t("el-tag", { style: e._f("dictColor")("teamtype", a.row.teamtype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("teamtype", a.row.teamtype)) + " ")]) : t("span", [e._v(e._s(e._f("dictType")("teamtype", a.row.teamtype)))])];
978
+ } }]) })], 1), t("editForm", { ref: "editForm", attrs: { openPermissions: !0 }, on: { ok: e.handleOk } })], 1);
979
+ }, H = [], I = /* @__PURE__ */ o(
980
+ V,
908
981
  A,
982
+ H,
909
983
  !1,
910
984
  null,
911
985
  "f62d65e6",
912
986
  null,
913
987
  null
914
988
  );
915
- const d = H.exports;
916
- d.install = function(t) {
917
- t.component(d.name, d);
989
+ const d = I.exports;
990
+ d.install = function(s) {
991
+ s.component(d.name, d);
918
992
  };
919
993
  export {
920
994
  d as G,
921
- _ as a,
922
- b,
923
- y as c,
924
- w as d,
925
- $ as s
995
+ b as a,
996
+ $ as b,
997
+ _ as c,
998
+ v as d,
999
+ k as s
926
1000
  };