gds-plus-design-vue 1.2.4 → 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 (89) hide show
  1. package/lib/{chartbi.5eded588.js → chartbi.b5b6fdab.js} +1 -1
  2. package/lib/{chartbi.c3bc6adb.mjs → chartbi.b6818e8e.mjs} +3 -2
  3. package/lib/gd-initial.js +14 -14
  4. package/lib/gd-initial.mjs +3614 -2814
  5. package/lib/{main.00e2ba37.mjs → main.4e325110.mjs} +3 -3
  6. package/lib/main.6713b76c.js +1 -0
  7. package/lib/{main.b4ad6d81.mjs → main.955f770e.mjs} +16 -13
  8. package/lib/main.a28f67df.js +1 -0
  9. package/lib/{main.7e1495ec.js → main.b4a303dc.js} +1 -1
  10. package/lib/{main.b25a9b4c.mjs → main.be62e9a4.mjs} +12 -34
  11. package/lib/{main.55fab1ce.mjs → main.c59fc1e8.mjs} +7 -7
  12. package/lib/{main.a27e1e54.js → main.f3ae0933.js} +1 -1
  13. package/lib/messages.1346558e.js +9 -0
  14. package/lib/{messages.bc3bc0e8.mjs → messages.7e418640.mjs} +1095 -1065
  15. package/lib/style.css +3 -3
  16. package/lib/{system.account.868f96f9.mjs → system.account.64fbdaeb.mjs} +2 -2
  17. package/lib/{system.account.e82580de.js → system.account.7c43a95e.js} +1 -1
  18. package/lib/system.config.93d6cb7d.js +1 -0
  19. package/lib/{system.config.71615d2b.mjs → system.config.f0d2d130.mjs} +7 -2
  20. package/lib/{system.datasource.523ae242.js → system.datasource.4bb39222.js} +1 -1
  21. package/lib/{system.datasource.009a1673.mjs → system.datasource.61ff56ec.mjs} +3 -3
  22. package/lib/{system.dict.0111a3bc.js → system.dict.5a2e60fe.js} +1 -1
  23. package/lib/{system.dict.8f562e89.mjs → system.dict.a817cf68.mjs} +2 -2
  24. package/lib/{system.duplicatechecking.1865e065.js → system.duplicatechecking.65b77e64.js} +1 -1
  25. package/lib/{system.duplicatechecking.f517abed.mjs → system.duplicatechecking.751664ba.mjs} +15 -11
  26. package/lib/{system.email.4c484530.mjs → system.email.2f53252e.mjs} +2 -2
  27. package/lib/{system.email.70351605.js → system.email.fec5ae26.js} +1 -1
  28. package/lib/{system.fieldsecurity.9f9f73df.mjs → system.fieldsecurity.6feb94c3.mjs} +1 -1
  29. package/lib/{system.fieldsecurity.d11088e3.js → system.fieldsecurity.920adca4.js} +1 -1
  30. package/lib/{system.file.96b3ce1e.mjs → system.file.1930d109.mjs} +11 -6
  31. package/lib/system.file.5a9a5e0e.js +1 -0
  32. package/lib/{system.log.80feb1c4.mjs → system.log.61d303bd.mjs} +64 -81
  33. package/lib/system.log.b309c0e0.js +1 -0
  34. package/lib/{system.machine.6e46b7a3.js → system.machine.9368e508.js} +1 -1
  35. package/lib/{system.machine.52e8a4f3.mjs → system.machine.ed69ec93.mjs} +1 -1
  36. package/lib/{system.notice.b4247147.mjs → system.notice.bd18554e.mjs} +13 -10
  37. package/lib/system.notice.ff62c06a.js +1 -0
  38. package/lib/{system.noticereceived.eef2cf6e.mjs → system.noticereceived.4dc360c0.mjs} +31 -29
  39. package/lib/system.noticereceived.9550818b.js +1 -0
  40. package/lib/{system.onlineuser.de5f62bf.mjs → system.onlineuser.08a15a71.mjs} +22 -15
  41. package/lib/system.onlineuser.6cf4fe24.js +1 -0
  42. package/lib/{system.org.d22168d6.js → system.org.0c67131d.js} +1 -1
  43. package/lib/{system.org.94393315.mjs → system.org.6e858bf3.mjs} +3 -3
  44. package/lib/{system.permissions.3c5c3573.js → system.permissions.af548a3b.js} +1 -1
  45. package/lib/{system.permissions.ccbe352d.mjs → system.permissions.cc5ac7ac.mjs} +3 -3
  46. package/lib/{system.plugin.5d47e679.js → system.plugin.83d03fb2.js} +1 -1
  47. package/lib/{system.plugin.8caa5d1f.mjs → system.plugin.a1f1c194.mjs} +2 -2
  48. package/lib/{system.pos.caaef4fc.js → system.pos.eae2051e.js} +1 -1
  49. package/lib/{system.pos.e4be69c4.mjs → system.pos.eb8fd7dd.mjs} +2 -2
  50. package/lib/{system.promptmanagement.e73f64a2.js → system.promptmanagement.04501417.js} +1 -1
  51. package/lib/{system.promptmanagement.1ad89863.mjs → system.promptmanagement.c84db7d5.mjs} +7 -7
  52. package/lib/{system.role.0323ddd5.mjs → system.role.d2195303.mjs} +49 -48
  53. package/lib/system.role.e623c50b.js +1 -0
  54. package/lib/{system.sumberrules.42965c1e.mjs → system.sumberrules.141dc00b.mjs} +2 -2
  55. package/lib/{system.sumberrules.2babdd81.js → system.sumberrules.a01e1805.js} +1 -1
  56. package/lib/system.team.0cebcde7.js +1 -0
  57. package/lib/{system.team.28168433.mjs → system.team.27a6d5d5.mjs} +289 -246
  58. package/lib/system.teammembers.b67f003f.js +1 -0
  59. package/lib/{system.teammembers.08f3ce38.mjs → system.teammembers.d73c659f.mjs} +78 -40
  60. package/lib/{system.timers.040b9bce.mjs → system.timers.4a3dd57d.mjs} +2 -2
  61. package/lib/{system.timers.310b3710.js → system.timers.b27fcb6d.js} +1 -1
  62. package/lib/{system.translation.a4396166.js → system.translation.d2c982ed.js} +1 -1
  63. package/lib/{system.translation.c0068d8f.mjs → system.translation.d9488c23.mjs} +7 -7
  64. package/lib/{system.user.20a5e7b4.js → system.user.0664c21c.js} +5 -5
  65. package/lib/{system.user.84e77277.mjs → system.user.6874aa87.mjs} +101 -69
  66. package/lib/{system.useraffiliation.fb961d98.mjs → system.useraffiliation.5e3e2bab.mjs} +3 -3
  67. package/lib/{system.useraffiliation.307e3cd7.js → system.useraffiliation.6b7a1612.js} +1 -1
  68. package/lib/{system.webresource.2d0ab7a6.mjs → system.webresource.204911b7.mjs} +16 -18
  69. package/lib/system.webresource.5de18052.js +1 -0
  70. package/lib/{system.welcome.aaac4a40.mjs → system.welcome.79e15015.mjs} +1 -1
  71. package/lib/{system.welcome.67d20fa4.js → system.welcome.ec7aa744.js} +1 -1
  72. package/locale/en_US.js +25 -3
  73. package/locale/id_ID.js +25 -3
  74. package/locale/vi_VN.js +1967 -1945
  75. package/locale/zh_CN.js +26 -4
  76. package/package.json +1 -1
  77. package/lib/main.9c85b10c.js +0 -1
  78. package/lib/main.a794f7cf.js +0 -1
  79. package/lib/messages.fa3d97b5.js +0 -9
  80. package/lib/system.config.6aae9ea6.js +0 -1
  81. package/lib/system.file.001a01bc.js +0 -1
  82. package/lib/system.log.f7afb251.js +0 -1
  83. package/lib/system.notice.365ddd35.js +0 -1
  84. package/lib/system.noticereceived.5545acf8.js +0 -1
  85. package/lib/system.onlineuser.fd9fdc66.js +0 -1
  86. package/lib/system.role.b5b55ddd.js +0 -1
  87. package/lib/system.team.a3527834.js +0 -1
  88. package/lib/system.teammembers.4b11e49b.js +0 -1
  89. package/lib/system.webresource.0382b6b1.js +0 -1
@@ -1,83 +1,83 @@
1
- import { n as o, m as c } from "./chartbi.c3bc6adb.mjs";
2
- import { f as l, t as m } from "./messages.bc3bc0e8.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
53
  return window.axios({
54
54
  url: "/sysTeam/member/batchadd",
55
55
  method: "post",
56
- data: t
56
+ data: s
57
57
  });
58
58
  }
59
- function w(t) {
59
+ function $(s) {
60
60
  return window.axios({
61
61
  url: "/sysTeam/member/edit",
62
62
  method: "post",
63
- data: t
63
+ data: s
64
64
  });
65
65
  }
66
- function $(t) {
66
+ function v(s) {
67
67
  return window.axios({
68
- url: "/sysTeam/member/delete",
68
+ url: "/sysTeam/member/batchdel",
69
69
  method: "post",
70
- data: t
70
+ data: s
71
71
  });
72
72
  }
73
- function v(t) {
73
+ function k(s) {
74
74
  return window.axios({
75
75
  url: "/sysTeam/member/detail",
76
76
  method: "get",
77
- params: t
77
+ params: s
78
78
  });
79
79
  }
80
- const k = {
80
+ const F = {
81
81
  data() {
82
82
  return {
83
83
  tableColumns: [
@@ -93,6 +93,7 @@ const k = {
93
93
  type: "slot",
94
94
  slotType: "name",
95
95
  align: "left",
96
+ width: "220",
96
97
  fixed: !0,
97
98
  showOverflowTooltip: !0
98
99
  },
@@ -100,6 +101,7 @@ const k = {
100
101
  transKey: "gd.team.amdmin",
101
102
  prop: "administratorid",
102
103
  label: "\u7BA1\u7406\u5458",
104
+ width: "220",
103
105
  type: "slot",
104
106
  slotType: "administratorid",
105
107
  align: "left"
@@ -108,20 +110,23 @@ const k = {
108
110
  transKey: "gd.team.teamtype",
109
111
  prop: "teamtype",
110
112
  label: "\u56E2\u961F\u7C7B\u578B",
113
+ width: "180",
111
114
  type: "slot",
112
115
  slotType: "teamtype",
113
116
  align: "left"
114
117
  },
115
- {
116
- transKey: "gd.team.describe",
117
- prop: "description",
118
- label: "\u63CF\u8FF0",
119
- align: "left"
120
- },
121
118
  {
122
119
  transKey: "gd.team.createdTime",
123
120
  prop: "createdtime",
124
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",
125
130
  align: "left"
126
131
  }
127
132
  ],
@@ -154,7 +159,7 @@ const k = {
154
159
  ]
155
160
  };
156
161
  }
157
- }, F = {
162
+ }, L = {
158
163
  data() {
159
164
  return {
160
165
  tableColumns: [
@@ -180,6 +185,38 @@ const k = {
180
185
  type: "slot",
181
186
  slotType: "sys_userid",
182
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"
183
220
  }
184
221
  ],
185
222
  tableButtons: [
@@ -212,7 +249,7 @@ const k = {
212
249
  };
213
250
  }
214
251
  };
215
- const L = {
252
+ const T = {
216
253
  props: {
217
254
  modalAppendToBody: {
218
255
  type: Boolean,
@@ -276,37 +313,37 @@ const L = {
276
313
  }
277
314
  },
278
315
  methods: {
279
- lookupSeled(t) {
280
- 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]);
281
318
  },
282
- lookup(t) {
319
+ lookup(s) {
283
320
  let e = {
284
321
  effectType: "fk",
285
322
  fkEntityName: "sys_user",
286
- val: t || []
323
+ val: s || []
287
324
  };
288
325
  this.$refs.msgSearch.open(e);
289
326
  },
290
- open(t) {
291
- 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);
292
329
  },
293
- getDetail(t) {
294
- t != "" && (this.dataList = [], v({
295
- id: t
330
+ getDetail(s) {
331
+ s != "" && (this.dataList = [], k({
332
+ id: s
296
333
  }).then((e) => {
297
334
  if (e.code == 200) {
298
- let s = e.data;
335
+ let t = e.data;
299
336
  this.dataList.push({
300
- id: s.sys_userid,
301
- name: s.username
337
+ id: t.sys_userid,
338
+ name: t.username
302
339
  }), this.columnList.push({
303
- id: s.sys_teamid,
304
- name: s.teamname
340
+ id: t.sys_teamid,
341
+ name: t.teamname
305
342
  });
306
343
  let a = {
307
- id: s.id,
308
- sys_userid: s.sys_userid,
309
- sys_teamid: s.sys_teamid
344
+ id: t.id,
345
+ sys_userid: t.sys_userid,
346
+ sys_teamid: t.sys_teamid
310
347
  };
311
348
  this.firstLoading = !0, this.firstLoading1 = !0, this.$nextTick(() => {
312
349
  setTimeout(() => {
@@ -316,21 +353,21 @@ const L = {
316
353
  }
317
354
  }));
318
355
  },
319
- searchData(t) {
320
- this.columnList = [], l({
356
+ searchData(s) {
357
+ this.columnList = [], r({
321
358
  fkEntityName: "sys_team",
322
- id: t
359
+ id: s
323
360
  }).then((e) => {
324
- 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 : []);
325
362
  });
326
363
  },
327
364
  searchList() {
328
365
  this.firstLoading || (this.adminClick(""), this.firstLoading = !0);
329
366
  },
330
- adminClick(t) {
331
- this.dataList = [], this.fetching = !0, l({
367
+ adminClick(s) {
368
+ this.dataList = [], this.fetching = !0, r({
332
369
  fkEntityName: "sys_user",
333
- name: t
370
+ name: s
334
371
  }).then((e) => {
335
372
  e.code == 200 && (this.dataList = e.data);
336
373
  });
@@ -338,28 +375,28 @@ const L = {
338
375
  searchList1() {
339
376
  this.firstLoading1 || (this.userClick(""), this.firstLoading1 = !0);
340
377
  },
341
- userClick(t) {
342
- this.columnList = [], this.fetching = !0, l({
378
+ userClick(s) {
379
+ this.columnList = [], this.fetching = !0, r({
343
380
  fkEntityName: "sys_team",
344
- name: t
381
+ name: s
345
382
  }).then((e) => {
346
383
  e.code == 200 && (this.columnList = e.data);
347
384
  });
348
385
  },
349
386
  handleSubmit() {
350
- this.$refs.ruleForm.validate((t) => {
351
- 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));
352
389
  });
353
390
  },
354
- add(t) {
355
- this.confirmLoading = !0, delete t.id, _(t).then((e) => {
391
+ add(s) {
392
+ this.confirmLoading = !0, delete s.id, b(s).then((e) => {
356
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);
357
394
  }).finally((e) => {
358
395
  this.confirmLoading = !1;
359
396
  });
360
397
  },
361
- edit(t) {
362
- this.confirmLoading = !0, w(t).then((e) => {
398
+ edit(s) {
399
+ this.confirmLoading = !0, $(s).then((e) => {
363
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);
364
401
  }).finally((e) => {
365
402
  this.confirmLoading = !1;
@@ -371,51 +408,51 @@ const L = {
371
408
  sys_teamid: ""
372
409
  };
373
410
  },
374
- getDictionary(t) {
375
- return this.$options.filters.dictData(t);
411
+ getDictionary(s) {
412
+ return this.$options.filters.dictData(s);
376
413
  },
377
414
  toggleFullscreen() {
378
415
  this.fullScreen = !this.fullScreen;
379
416
  },
380
- doEvent(t) {
381
- let e = t.item.functionName;
417
+ doEvent(s) {
418
+ let e = s.item.functionName;
382
419
  this[e] && this[e]();
383
420
  }
384
421
  }
385
422
  };
386
423
  var S = function() {
387
- var e = this, s = e._self._c;
388
- 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) {
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) {
389
426
  e.visible = a;
390
- }, 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) {
391
428
  a.preventDefault();
392
- } } }, [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) {
393
430
  e.$set(e.ruleFormData, "sys_userid", a);
394
431
  }, expression: "ruleFormData.sys_userid" } }, e._l(e.dataList, function(a, i) {
395
- return s("el-option", { key: a.id + "&" + i, attrs: { label: a.name, value: a.id } });
396
- }), 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) {
397
434
  return e.lookup(e.ruleFormData.sys_userid);
398
- } } })])], 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) {
399
436
  e.$set(e.ruleFormData, "sys_teamid", a);
400
437
  }, expression: "ruleFormData.sys_teamid" } }, e._l(e.columnList, function(a, i) {
401
- return s("el-option", { key: a.id + "&" + i, attrs: { label: a.name, value: a.id } });
402
- }), 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) {
403
440
  e.ruleFormData.sys_teamid;
404
- } } })])], 1)])], 1)], 1)], 1)], 1)])], 1), s("gd-search", { ref: "msgSearch", attrs: { appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } })], 1);
405
- }, T = [], C = /* @__PURE__ */ o(
406
- L,
407
- S,
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(
408
443
  T,
444
+ S,
445
+ C,
409
446
  !1,
410
447
  null,
411
448
  "0613082f",
412
449
  null,
413
450
  null
414
451
  );
415
- const D = C.exports;
416
- const x = {
452
+ const x = D.exports;
453
+ const B = {
417
454
  name: "GdTeamMembers",
418
- mixins: [m, F],
455
+ mixins: [m, L],
419
456
  props: {
420
457
  height: {
421
458
  type: Number,
@@ -441,9 +478,9 @@ const x = {
441
478
  selectedRows: [],
442
479
  queryParam: {},
443
480
  disabledRowId: [],
444
- loadData: (t) => y(Object.assign(t, this.getQueryParam, {
481
+ loadData: (s) => _(Object.assign(s, this.getQueryParam, {
445
482
  SysTeamId: this.sys_teamid
446
- })).then((e) => (this.disabledRowId = e.data.rows.map((s) => s.sys_userid), e.data))
483
+ })).then((e) => (this.disabledRowId = e.data.rows.map((t) => t.sys_userid), e.data))
447
484
  };
448
485
  },
449
486
  computed: {
@@ -451,58 +488,61 @@ const x = {
451
488
  return this.height;
452
489
  },
453
490
  getQueryParam() {
454
- let t = /* @__PURE__ */ new Map();
491
+ console.log(this.queryParam);
492
+ let s = /* @__PURE__ */ new Map();
455
493
  for (let e in this.queryParam)
456
494
  if (this.queryParam[e] && (e === "msgStatus" || e === "sendType"))
457
- t.set(e, this.queryParam[e].join(","));
495
+ s.set(e, this.queryParam[e].join(","));
458
496
  else if (this.queryParam[e] && (e === "actualOn" || e === "createdTime" || e === "scheduledStartedOn")) {
459
497
  if (this.queryParam[e].length > 0) {
460
- let s = this.queryParam[e], a = s[0].split(" ")[0], i = s[1].split(" ")[0];
461
- 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`);
462
500
  }
463
501
  } else
464
- t.set(e, this.queryParam[e]);
465
- return Object.fromEntries(t);
502
+ s.set(e, this.queryParam[e]);
503
+ return Object.fromEntries(s);
466
504
  },
467
505
  ...c(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
468
506
  },
469
507
  components: {
470
- editForm: D
508
+ editForm: x
471
509
  },
472
510
  watch: {
473
- type(t, e) {
511
+ type(s, e) {
474
512
  this.$refs.table && this.$refs.table.refresh();
475
513
  },
476
- sys_teamid(t, e) {
514
+ sys_teamid(s, e) {
477
515
  this.$refs.table && this.$refs.table.refresh();
478
516
  }
479
517
  },
480
518
  methods: {
481
- lookupSeled(t) {
482
- if (t.fkData.length === 0) {
519
+ lookupSeled(s) {
520
+ if (s.fkData.length === 0) {
483
521
  this.$refs.msgSearch.closed();
484
522
  return;
485
523
  }
486
- this.$refs.msgSearch.confirmLoading = !0;
524
+ console.log(s), setTimeout(() => {
525
+ this.$refs.msgSearch.confirmLoading = !0;
526
+ }, 1502);
487
527
  let e = {
488
- userIds: t.data,
528
+ userIds: s.data,
489
529
  sys_TeamId: this.sys_teamid
490
530
  };
491
- b(e).then((s) => {
492
- s.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") + s.message), this.$refs.msgSearch.confirmLoading = !1;
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;
493
533
  });
494
534
  },
495
535
  lookup() {
496
- let t = {
536
+ let s = {
497
537
  effectType: "participants",
498
538
  fkEntityName: "sys_user",
499
539
  isRelevance: !0,
500
540
  val: []
501
541
  };
502
- this.$refs.msgSearch.open(t);
542
+ this.$refs.msgSearch.open(s);
503
543
  },
504
- editForm(t) {
505
- this.transKey = "gd.btn.edit", this.$refs.editForm.open(t);
544
+ editForm(s) {
545
+ this.transKey = "gd.btn.edit", this.$refs.editForm.open(s);
506
546
  },
507
547
  add() {
508
548
  this.lookup();
@@ -523,10 +563,6 @@ const x = {
523
563
  this.$message.warning(this.$i18nt("gd.https.delTip", "\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E!"));
524
564
  return;
525
565
  }
526
- if (this.selectedRowKeys.length > 1) {
527
- this.$message.warning(this.$i18nt("gd.https.editTipOne", "\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));
528
- return;
529
- }
530
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"), {
531
567
  confirmButtonText: this.$i18nt("gd.https.delOk", "\u786E\u5B9A\u5220\u9664"),
532
568
  cancelButtonText: this.$i18nt("gd.https.delCancel", "\u53D6\u6D88"),
@@ -539,29 +575,24 @@ const x = {
539
575
  customClass: "custom-alert",
540
576
  callback: () => {
541
577
  },
542
- beforeClose: (t, e, s) => {
543
- this.delHand(t, e, s);
578
+ beforeClose: (s, e, t) => {
579
+ this.delHand(s, e, t);
544
580
  }
545
581
  });
546
582
  },
547
- delHand(t, e, s) {
548
- if (t !== "confirm") {
549
- s();
583
+ delHand(s, e, t) {
584
+ if (s !== "confirm") {
585
+ t();
550
586
  return;
551
587
  }
552
- let a = [];
553
- this.selectedRows.forEach((i) => {
554
- let r = $({
555
- id: i.id
556
- }).then((n) => n);
557
- a.push(r);
558
- }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(a).then((i) => {
559
- const r = i.filter((n) => !n.success);
560
- r.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") + r[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;
561
592
  });
562
593
  },
563
- onSelectChange(t, e) {
564
- this.selectedRowKeys = t, this.selectedRows = e;
594
+ onSelectChange(s, e) {
595
+ this.selectedRowKeys = s, this.selectedRows = e;
565
596
  },
566
597
  handleOk() {
567
598
  this.refresh();
@@ -569,37 +600,49 @@ const x = {
569
600
  refresh() {
570
601
  this.$refs.table.refresh();
571
602
  },
572
- dictSwitch(t, e) {
573
- let s = this.$options.filters.dictData(e).filter((a) => a.code == t)[0];
574
- 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;
575
606
  },
576
- doEvent(t) {
577
- let e = t.item.functionName;
607
+ doEvent(s) {
608
+ let e = s.item.functionName;
578
609
  this[e] && this[e]();
579
610
  }
580
611
  }
581
612
  };
582
- var B = function() {
583
- var e = this, s = e._self._c;
584
- return s("div", { staticClass: "gd-page-view" }, [s("div", { staticClass: "page-view-list", staticStyle: { padding: "12px 0" } }, [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() {
585
- 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)])];
586
621
  }, proxy: !0 }, { key: "sys_teamid", fn: function({ column: a, row: i }) {
587
- 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 } })];
588
623
  } }, { key: "sys_userid", fn: function({ column: a, row: i }) {
589
- return [i.sys_userid ? s("span", [e._v(" " + e._s(i.username) + " ")]) : e._e()];
590
- } }]) })], 1), s("gd-search", { ref: "msgSearch", attrs: { disabledRowId: e.disabledRowId, appendToBody: !0 }, on: { lookupSeled: e.lookupSeled } }), s("editForm", { ref: "editForm", attrs: { openPermissions: !0, sys_teamid: e.sys_teamid, typeAdd: e.type, openMode: e.openMode }, on: { ok: e.handleOk } })], 1);
591
- }, N = [], K = /* @__PURE__ */ o(
592
- 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(
593
635
  B,
636
+ K,
594
637
  N,
595
638
  !1,
596
639
  null,
597
- "1c6e449a",
640
+ "ada89e79",
598
641
  null,
599
642
  null
600
643
  );
601
- const R = K.exports;
602
- const P = {
644
+ const R = P.exports;
645
+ const E = {
603
646
  props: {
604
647
  modalAppendToBody: {
605
648
  type: Boolean,
@@ -662,84 +705,84 @@ const P = {
662
705
  teamMemberDetail: R
663
706
  },
664
707
  methods: {
665
- lookupSeled(t) {
666
- 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]);
667
710
  },
668
- lookup(t) {
711
+ lookup(s) {
669
712
  let e = {
670
713
  effectType: "fk",
671
714
  fkEntityName: "sys_user",
672
- val: t || []
715
+ val: s || []
673
716
  };
674
717
  this.$refs.msgSearch.open(e);
675
718
  },
676
- open(t) {
677
- 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);
678
721
  },
679
- getDetail(t) {
680
- t != "" && (this.dataList = [], g({
681
- id: t
722
+ getDetail(s) {
723
+ s != "" && (this.dataList = [], y({
724
+ id: s
682
725
  }).then((e) => {
683
726
  if (e.code == 200) {
684
- let s = e.data;
727
+ let t = e.data;
685
728
  this.dataList.push({
686
- id: s.administratorid,
687
- name: s.administratorname
729
+ id: t.administratorid,
730
+ name: t.administratorname
688
731
  }), this.columnList.push({
689
- id: s.ownerid,
690
- name: s.ownername
732
+ id: t.ownerid,
733
+ name: t.ownername
691
734
  });
692
735
  let a = {
693
- id: s.id,
694
- name: s.name,
695
- teamtype: s.teamtype ? s.teamtype.toString() : "",
696
- description: s.description,
697
- 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
698
741
  };
699
742
  this.firstLoading = !0, this.$nextTick(() => {
700
743
  setTimeout(() => {
701
- this.ruleFormData = a, this.ownerid = s.ownerid;
744
+ this.ruleFormData = a, this.ownerid = t.ownerid;
702
745
  }, 0);
703
746
  });
704
747
  }
705
748
  }));
706
749
  },
707
- searchData(t) {
708
- this.dataList = [], l({
750
+ searchData(s) {
751
+ this.dataList = [], r({
709
752
  fkEntityName: "sys_user",
710
- id: t.administratorid
753
+ id: s.administratorid
711
754
  }).then((e) => {
712
755
  e.code == 200 && (this.firstLoading = !0, e.data.length > 0 ? this.dataList = e.data : this.dataList.push({
713
- id: t.administratorid,
714
- name: t.administratorname
756
+ id: s.administratorid,
757
+ name: s.administratorname
715
758
  }));
716
759
  });
717
760
  },
718
761
  searchList() {
719
762
  this.firstLoading || (this.adminClick(""), this.firstLoading = !0);
720
763
  },
721
- adminClick(t) {
722
- this.dataList = [], this.fetching = !0, l({
764
+ adminClick(s) {
765
+ this.dataList = [], this.fetching = !0, r({
723
766
  fkEntityName: "sys_user",
724
- name: t
767
+ name: s
725
768
  }).then((e) => {
726
769
  e.code == 200 && (this.dataList = e.data);
727
770
  });
728
771
  },
729
772
  handleSubmit() {
730
- this.$refs.ruleForm.validate((t) => {
731
- 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));
732
775
  });
733
776
  },
734
- add(t) {
735
- this.confirmLoading = !0, delete t.id, h(t).then((e) => {
777
+ add(s) {
778
+ this.confirmLoading = !0, delete s.id, p(s).then((e) => {
736
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);
737
780
  }).finally((e) => {
738
781
  this.confirmLoading = !1;
739
782
  });
740
783
  },
741
- edit(t) {
742
- this.confirmLoading = !0, f(t).then((e) => {
784
+ edit(s) {
785
+ this.confirmLoading = !0, f(s).then((e) => {
743
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);
744
787
  }).finally((e) => {
745
788
  this.confirmLoading = !1;
@@ -754,46 +797,46 @@ const P = {
754
797
  description: ""
755
798
  }, this.ownerid = "", this.type = 1;
756
799
  },
757
- getDictionary(t) {
758
- return this.$options.filters.dictData(t);
800
+ getDictionary(s) {
801
+ return this.$options.filters.dictData(s);
759
802
  },
760
803
  toggleFullscreen() {
761
804
  this.fullScreen = !this.fullScreen;
762
805
  },
763
- doEvent(t) {
764
- let e = t.item.functionName;
806
+ doEvent(s) {
807
+ let e = s.item.functionName;
765
808
  this[e] && this[e]();
766
809
  }
767
810
  }
768
811
  };
769
- var E = function() {
770
- var e = this, s = e._self._c;
771
- 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) {
772
815
  e.visible = a;
773
- }, 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) {
774
817
  a.preventDefault();
775
- } } }, [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) {
776
819
  e.$set(e.ruleFormData, "name", a);
777
- }, 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) {
778
821
  e.$set(e.ruleFormData, "teamtype", a);
779
822
  }, expression: "ruleFormData.teamtype" } }, e._l(e.getDictionary("teamtype"), function(a, i) {
780
- return s("el-option", { key: i, attrs: { value: a.code, label: e.$i18nt(`Dynamics.${a.transkey}`, a.name) } });
781
- }), 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) {
782
825
  e.$set(e.ruleFormData, "administratorid", a);
783
826
  }, expression: "ruleFormData.administratorid" } }, e._l(e.dataList, function(a, i) {
784
- return s("el-option", { key: a.id + "&" + i, attrs: { label: a.name, value: a.id } });
785
- }), 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) {
786
829
  return e.lookup(e.ruleFormData.administratorid);
787
- } } })])], 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) {
788
831
  e.ownerid = a;
789
832
  }, expression: "ownerid" } }, e._l(e.columnList, function(a, i) {
790
- return s("el-option", { key: i, attrs: { label: a.name, value: a.id } });
791
- }), 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) {
792
835
  e.$set(e.ruleFormData, "description", a);
793
- }, 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);
794
- }, O = [], q = /* @__PURE__ */ o(
795
- P,
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(
796
838
  E,
839
+ q,
797
840
  O,
798
841
  !1,
799
842
  null,
@@ -801,10 +844,10 @@ var E = function() {
801
844
  null,
802
845
  null
803
846
  );
804
- const M = q.exports;
805
- const z = {
847
+ const z = M.exports;
848
+ const V = {
806
849
  name: "GdTeam",
807
- mixins: [m, k],
850
+ mixins: [m, F],
808
851
  props: {
809
852
  height: {
810
853
  type: Number,
@@ -817,35 +860,35 @@ const z = {
817
860
  selectedRowKeys: [],
818
861
  selectedRows: [],
819
862
  queryParam: {},
820
- 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)
821
864
  };
822
865
  },
823
866
  components: {
824
- editForm: M
867
+ editForm: z
825
868
  },
826
869
  computed: {
827
870
  getHeight() {
828
871
  return this.height;
829
872
  },
830
873
  getQueryParam() {
831
- let t = /* @__PURE__ */ new Map();
874
+ let s = /* @__PURE__ */ new Map();
832
875
  for (let e in this.queryParam)
833
876
  if (this.queryParam[e] && (e === "msgStatus" || e === "sendType"))
834
- t.set(e, this.queryParam[e].join(","));
877
+ s.set(e, this.queryParam[e].join(","));
835
878
  else if (this.queryParam[e] && (e === "actualOn" || e === "createdTime" || e === "scheduledStartedOn")) {
836
879
  if (this.queryParam[e].length > 0) {
837
- let s = this.queryParam[e], a = s[0].split(" ")[0], i = s[1].split(" ")[0];
838
- 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`);
839
882
  }
840
883
  } else
841
- t.set(e, this.queryParam[e]);
842
- return Object.fromEntries(t);
884
+ s.set(e, this.queryParam[e]);
885
+ return Object.fromEntries(s);
843
886
  },
844
887
  ...c(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
845
888
  },
846
889
  methods: {
847
- editForm(t) {
848
- this.transKey = "gd.btn.edit", this.$refs.editForm.open(t);
890
+ editForm(s) {
891
+ this.transKey = "gd.btn.edit", this.$refs.editForm.open(s);
849
892
  },
850
893
  add() {
851
894
  this.$refs.editForm.open();
@@ -882,29 +925,29 @@ const z = {
882
925
  customClass: "custom-alert",
883
926
  callback: () => {
884
927
  },
885
- beforeClose: (t, e, s) => {
886
- this.delHand(t, e, s);
928
+ beforeClose: (s, e, t) => {
929
+ this.delHand(s, e, t);
887
930
  }
888
931
  });
889
932
  },
890
- delHand(t, e, s) {
891
- if (t !== "confirm") {
892
- s();
933
+ delHand(s, e, t) {
934
+ if (s !== "confirm") {
935
+ t();
893
936
  return;
894
937
  }
895
938
  let a = [];
896
939
  this.selectedRows.forEach((i) => {
897
- let r = p({
940
+ let n = g({
898
941
  id: i.id
899
- }).then((n) => n);
900
- a.push(r);
942
+ }).then((l) => l);
943
+ a.push(n);
901
944
  }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(a).then((i) => {
902
- const r = i.filter((n) => !n.success);
903
- r.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") + r[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;
904
947
  });
905
948
  },
906
- onSelectChange(t, e) {
907
- this.selectedRowKeys = t, this.selectedRows = e;
949
+ onSelectChange(s, e) {
950
+ this.selectedRowKeys = s, this.selectedRows = e;
908
951
  },
909
952
  handleOk() {
910
953
  this.refresh();
@@ -912,29 +955,29 @@ const z = {
912
955
  refresh() {
913
956
  this.$refs.table.refresh();
914
957
  },
915
- dictSwitch(t, e) {
916
- let s = this.$options.filters.dictData(e).filter((a) => a.code == t)[0];
917
- 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;
918
961
  },
919
- doEvent(t) {
920
- let e = t.item.functionName;
962
+ doEvent(s) {
963
+ let e = s.item.functionName;
921
964
  this[e] && this[e]();
922
965
  }
923
966
  }
924
967
  };
925
968
  var A = function() {
926
- var e = this, s = e._self._c;
927
- 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() {
928
- 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)])];
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)])];
929
972
  }, proxy: !0 }, { key: "name", fn: function({ column: a, row: i }) {
930
- 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 } })];
931
974
  } }, { key: "administratorid", fn: function({ column: a, row: i }) {
932
- 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()];
933
976
  } }, { key: "teamtype", fn: function(a) {
934
- 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)))])];
935
- } }]) })], 1), s("editForm", { ref: "editForm", attrs: { openPermissions: !0 }, on: { ok: e.handleOk } })], 1);
936
- }, H = [], V = /* @__PURE__ */ o(
937
- 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,
938
981
  A,
939
982
  H,
940
983
  !1,
@@ -943,15 +986,15 @@ var A = function() {
943
986
  null,
944
987
  null
945
988
  );
946
- const d = V.exports;
947
- d.install = function(t) {
948
- t.component(d.name, d);
989
+ const d = I.exports;
990
+ d.install = function(s) {
991
+ s.component(d.name, d);
949
992
  };
950
993
  export {
951
994
  d as G,
952
- _ as a,
953
- w as b,
954
- y as c,
955
- $ as d,
956
- v as s
995
+ b as a,
996
+ $ as b,
997
+ _ as c,
998
+ v as d,
999
+ k as s
957
1000
  };