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,51 +1,51 @@
1
- import { m as o, n as l } from "./chartbi.cdd1e365.mjs";
2
- import { g as y, s as w } from "./system.account.20f9e450.mjs";
3
- import { t as u, m as b, a as _, n as v } from "./messages.a1335b0f.mjs";
4
- import "./system.email.ada25702.mjs";
5
- import { g as T, a as $ } from "./system.fieldsecurity.d14384cc.mjs";
6
- function f(t) {
1
+ import { m as r, n as l } from "./chartbi.b6818e8e.mjs";
2
+ import { g as w, s as b } from "./system.account.64fbdaeb.mjs";
3
+ import { t as u, m as _, a as v, n as T } from "./messages.7e418640.mjs";
4
+ import { g as $, a as R } from "./system.fieldsecurity.6feb94c3.mjs";
5
+ import "./system.email.2f53252e.mjs";
6
+ function g(t) {
7
7
  return window.axios({
8
8
  url: "/sysNotice/page",
9
9
  method: "get",
10
10
  params: t
11
11
  });
12
12
  }
13
- function R(t) {
13
+ function C(t) {
14
14
  return window.axios({
15
15
  url: "/sysNotice/add",
16
16
  method: "post",
17
17
  data: t
18
18
  });
19
19
  }
20
- function C(t) {
20
+ function S(t) {
21
21
  return window.axios({
22
22
  url: "/sysNotice/edit",
23
23
  method: "post",
24
24
  data: t
25
25
  });
26
26
  }
27
- function S(t) {
27
+ function K(t) {
28
28
  return window.axios({
29
29
  url: "/sysNotice/delete",
30
30
  method: "post",
31
31
  data: t
32
32
  });
33
33
  }
34
- function m(t) {
34
+ function y(t) {
35
35
  return window.axios({
36
36
  url: "/sysNotice/detail",
37
37
  method: "get",
38
38
  params: t
39
39
  });
40
40
  }
41
- function g(t) {
41
+ function m(t) {
42
42
  return window.axios({
43
43
  url: "/sysNotice/changeStatus",
44
44
  method: "post",
45
45
  data: t
46
46
  });
47
47
  }
48
- function K(t) {
48
+ function L(t) {
49
49
  return window.axios({
50
50
  url: "/sysNotice/receiversByTypes",
51
51
  method: "get",
@@ -73,13 +73,92 @@ function Te(t) {
73
73
  data: t
74
74
  });
75
75
  }
76
- function $e(t) {
76
+ function $e(t, e) {
77
77
  return window.axios({
78
- url: "/sysEvents/month",
78
+ url: e || "/sysEvents/month",
79
79
  method: "get",
80
80
  params: t
81
81
  });
82
82
  }
83
+ const x = {
84
+ name: "GdNoticeDetails",
85
+ props: {
86
+ modeType: {
87
+ type: String,
88
+ default: "dialog"
89
+ }
90
+ },
91
+ data() {
92
+ return {
93
+ transKey: "gd.notice.detail",
94
+ fullscreen: !1,
95
+ visible: !1,
96
+ width: "900",
97
+ confirmLoading: !1,
98
+ contentRecord: {},
99
+ sysViewButtons: [],
100
+ type: "pdf"
101
+ };
102
+ },
103
+ computed: {
104
+ height() {
105
+ return this.screenHeight - 24 - 40 - 36;
106
+ },
107
+ headTitle() {
108
+ return this.$i18nt(this.transKey, this.title);
109
+ },
110
+ style() {
111
+ return `height:${this.fullscreen ? this.screenHeight - 80 : this.screenHeight - 240}px;`;
112
+ },
113
+ ...r(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
114
+ },
115
+ methods: {
116
+ open(t) {
117
+ this.fullscreen = !1, this.visible = !0, this.confirmLoading = !0, this.sysNoticeDetail(t.id);
118
+ },
119
+ sysNoticeDetail(t) {
120
+ this.fullscreen = !1, y({
121
+ id: t
122
+ }).then((e) => {
123
+ e.code === 200 ? (this.contentRecord = e.data, this.$emit("onLoadCompleted"), e.data.attachment && this.$nextTick(() => {
124
+ setTimeout(() => {
125
+ let s = { name: `${e.data.title}.${this.type}`, fileId: e.data.attachment, fullscreen: !1 };
126
+ this.$refs.filePreview.open(s);
127
+ }, 0);
128
+ })) : this.$message.error(e.message), this.confirmLoading = !1;
129
+ });
130
+ },
131
+ handleCancel() {
132
+ this.visible = !1, this.contentRecord = {};
133
+ },
134
+ closed() {
135
+ this.visible = !1;
136
+ },
137
+ toggleFullscreen() {
138
+ this.fullscreen = !this.fullscreen;
139
+ },
140
+ doEvent(t) {
141
+ const e = t.item.functionName;
142
+ this[e] && this[e]();
143
+ }
144
+ }
145
+ };
146
+ var P = function() {
147
+ var e = this, s = e._self._c;
148
+ return s("div", [e.modeType === "dialog" ? s("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { formMode: e.formMode, fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", transKey: e.transKey, labelPosition: e.labelPosition, "show-close": !1 }, on: { "update:visible": function(i) {
149
+ e.visible = i;
150
+ }, closed: e.closed } }, [s("gd-modal-title", { attrs: { slot: "title", title: e.headTitle, fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [s("div", { staticStyle: { "text-align": "center", "font-size": "28px" } }, [e._v(e._s(this.contentRecord.title))]), s("div", { staticStyle: { "text-align": "right", "font-size": "12px", color: ":#999" } }, [s("span", [e._v(e._s(e.$i18nt("gd.notice.publisher", "\u53D1\u5E03\u4EBA")) + ": " + e._s(this.contentRecord.publicusername))]), s("span", { staticStyle: { "padding-left": "12px" } }, [e._v(" " + e._s(this.contentRecord.publictime ? this.contentRecord.publictime : "--") + " ")])]), s("el-divider"), s("div", [s("label", { staticClass: "ql-editor", domProps: { innerHTML: e._s(this.contentRecord.content) } })]), e.contentRecord.status != 2 && e.contentRecord.attachment != "" ? s("gd-file-preview", { ref: "filePreview", attrs: { options: {}, modeType: "component" } }) : e._e()], 1)], 1) : s("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { "min-height": "30vh" } }, [s("div", { staticStyle: { "text-align": "center", "font-size": "28px" } }, [e._v(e._s(this.contentRecord.title))]), s("div", { staticStyle: { "text-align": "right", "font-size": "12px", color: ":#999" } }, [s("span", [e._v(e._s(e.$i18nt("gd.notice.publisher", "\u53D1\u5E03\u4EBA")) + ": " + e._s(this.contentRecord.publicusername))]), s("span", { staticStyle: { "padding-left": "12px" } }, [e._v(" " + e._s(this.contentRecord.publictime ? this.contentRecord.publictime : "--") + " ")])]), s("el-divider"), s("div", [s("label", { staticClass: "ql-editor", domProps: { innerHTML: e._s(this.contentRecord.content) } })]), e.contentRecord.status != 2 && e.contentRecord.attachment != "" ? s("gd-file-preview", { ref: "filePreview", attrs: { options: {}, modeType: "component" } }) : e._e()], 1)], 1);
151
+ }, k = [], N = /* @__PURE__ */ l(
152
+ x,
153
+ P,
154
+ k,
155
+ !1,
156
+ null,
157
+ "5cb794ba",
158
+ null,
159
+ null
160
+ );
161
+ const h = N.exports;
83
162
  function Re(t) {
84
163
  return window.axios({
85
164
  url: "/sysOrg/tree",
@@ -87,7 +166,7 @@ function Re(t) {
87
166
  params: t
88
167
  });
89
168
  }
90
- function L(t) {
169
+ function F(t) {
91
170
  return window.axios({
92
171
  url: "/sysOrg/page",
93
172
  method: "get",
@@ -129,7 +208,7 @@ function xe(t) {
129
208
  data: t
130
209
  });
131
210
  }
132
- const x = {
211
+ const D = {
133
212
  data() {
134
213
  return {
135
214
  tableColumns: [
@@ -142,25 +221,25 @@ const x = {
142
221
  transKey: "gd.notice.title",
143
222
  prop: "title",
144
223
  label: "\u6807\u9898",
224
+ width: "260",
145
225
  type: "slot",
146
226
  slotType: "title",
147
227
  align: "left",
148
- fixed: !0,
149
- showOverflowTooltip: !0
228
+ fixed: !0
150
229
  },
151
230
  {
152
231
  transKey: "gd.notice.type",
153
232
  prop: "type",
233
+ width: "120",
154
234
  label: "\u7C7B\u578B",
155
235
  align: "left",
156
236
  type: "slot",
157
- slotType: "type",
158
- align: "center",
159
- showOverflowTooltip: !0
237
+ slotType: "type"
160
238
  },
161
239
  {
162
240
  transKey: "gd.notice.status",
163
241
  prop: "status",
242
+ width: "120",
164
243
  label: "\u72B6\u6001",
165
244
  align: "left",
166
245
  type: "slot",
@@ -169,18 +248,21 @@ const x = {
169
248
  {
170
249
  transKey: "gd.notice.createdTime",
171
250
  prop: "createdtime",
251
+ width: "180",
172
252
  label: "\u521B\u5EFA\u65F6\u95F4",
173
253
  align: "center"
174
254
  },
175
255
  {
176
256
  transKey: "gd.notice.publicTime",
177
257
  prop: "publictime",
258
+ width: "180",
178
259
  label: "\u53D1\u5E03\u65F6\u95F4",
179
260
  align: "center"
180
261
  },
181
262
  {
182
263
  transKey: "gd.notice.publicUserName",
183
264
  prop: "publicusername",
265
+ width: "200",
184
266
  label: "\u53D1\u5E03\u4EBA",
185
267
  align: "left"
186
268
  }
@@ -360,79 +442,7 @@ const x = {
360
442
  }]
361
443
  };
362
444
  }
363
- };
364
- const k = {
365
- data() {
366
- return {
367
- transKey: "gd.notice.detail",
368
- fullscreen: !1,
369
- visible: !1,
370
- width: "900",
371
- confirmLoading: !1,
372
- contentRecord: {},
373
- sysViewButtons: [],
374
- type: "pdf"
375
- };
376
- },
377
- computed: {
378
- height() {
379
- return this.screenHeight - 24 - 40 - 36;
380
- },
381
- headTitle() {
382
- return this.$i18nt(this.transKey, this.title);
383
- },
384
- style() {
385
- return `height:${this.fullscreen ? this.screenHeight - 80 : this.screenHeight - 240}px;`;
386
- },
387
- ...o(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
388
- },
389
- methods: {
390
- open(t) {
391
- this.fullscreen = !1, this.visible = !0, this.confirmLoading = !0, this.sysNoticeDetail(t.id), t.attachment && this.$nextTick(() => {
392
- setTimeout(() => {
393
- let e = { name: `${t.title}.${this.type}`, fileId: t.attachment, fullscreen: !1 };
394
- this.$refs.filePreview.open(e);
395
- }, 0);
396
- });
397
- },
398
- sysNoticeDetail(t) {
399
- this.fullscreen = !1, m({
400
- id: t
401
- }).then((e) => {
402
- this.confirmLoading = !1, this.contentRecord = e.data;
403
- });
404
- },
405
- handleCancel() {
406
- this.visible = !1, this.contentRecord = {};
407
- },
408
- closed() {
409
- this.visible = !1;
410
- },
411
- toggleFullscreen() {
412
- this.fullscreen = !this.fullscreen;
413
- },
414
- doEvent(t) {
415
- const e = t.item.functionName;
416
- this[e] && this[e]();
417
- }
418
- }
419
- };
420
- var P = function() {
421
- var e = this, s = e._self._c;
422
- return s("div", [s("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", class: e.fullscreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { formMode: e.formMode, fullscreen: e.fullscreen, visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px", transKey: e.transKey, labelPosition: e.labelPosition, "show-close": !1 }, on: { "update:visible": function(i) {
423
- e.visible = i;
424
- }, closed: e.closed } }, [s("gd-modal-title", { attrs: { slot: "title", title: e.headTitle, fullscreen: e.fullscreen, buttons: e.sysViewButtons, confirmLoading: e.confirmLoading, showClose: !0 }, on: { changeEvent: e.doEvent, toggleFullscreen: e.toggleFullscreen }, slot: "title" }), s("div", { class: e.fullscreen ? "modal-bodyq" : "modal-body" }, [s("div", { staticStyle: { "text-align": "center", "font-size": "30px" } }, [e._v(e._s(this.contentRecord.title))]), s("br"), s("div", { staticStyle: { "text-align": "right", "font-size": "10px" } }, [s("span", [e._v(" " + e._s(e.$i18nt("gd.notice.publisher", "\u53D1\u5E03\u4EBA")) + ": " + e._s(this.contentRecord.publicusername) + " ")]), s("span", [e._v(" " + e._s(e.$i18nt("gd.notice.releaseTime", "\u53D1\u5E03\u65F6\u95F4")) + ": " + e._s(this.contentRecord.publictime ? this.contentRecord.publictime : "--") + " ")])]), s("el-divider", { staticStyle: { "margin-top": "5px" } }), s("div", [s("label", { staticClass: "ql-editor", domProps: { innerHTML: e._s(this.contentRecord.content) } })]), e.contentRecord.status != 2 && e.contentRecord.attachment != "" ? s("gd-file-preview", { ref: "filePreview", attrs: { options: {}, modeType: "component" } }) : e._e()], 1)], 1)], 1);
425
- }, N = [], F = /* @__PURE__ */ l(
426
- k,
427
- P,
428
- N,
429
- !1,
430
- null,
431
- "9f8394fd",
432
- null,
433
- null
434
- );
435
- const D = F.exports, O = {
445
+ }, O = {
436
446
  data() {
437
447
  return {
438
448
  tableColumns: [
@@ -524,7 +534,7 @@ const B = {
524
534
  selectedRows: [],
525
535
  selectedRowKeys: [],
526
536
  queryParam: {},
527
- loadData: (t) => L(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
537
+ loadData: (t) => F(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
528
538
  let s = [...this.selectOrgRow];
529
539
  this.selectedRowKeys = [...s], this.onSelectChange(s, []);
530
540
  }, 10), e.data)),
@@ -533,12 +543,12 @@ const B = {
533
543
  },
534
544
  computed: {
535
545
  getHeight() {
536
- return this.height - 55;
546
+ return this.screenHeight - 500;
537
547
  },
538
548
  styled() {
539
549
  return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
540
550
  },
541
- ...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
551
+ ...r(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
542
552
  },
543
553
  components: {},
544
554
  methods: {
@@ -560,39 +570,39 @@ const B = {
560
570
  };
561
571
  var z = function() {
562
572
  var e = this, s = e._self._c;
563
- 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, filtering: !1, height: e.getHeight, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: a }) {
564
- return [s("gd-tooltip", { attrs: { rowKey: "name", row: a, highlight: "" } })];
573
+ 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, filtering: !1, height: e.getHeight, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: n }) {
574
+ return [s("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" } })];
565
575
  } }, { key: "orgType", fn: function(i) {
566
576
  return [s("el-tag", { style: e._f("dictColor")("org_type", i.row.orgtype), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("org_type", i.row.orgtype)) + " ")])];
567
- } }, { key: "remark", fn: function({ column: i, row: a }) {
568
- return [s("gd-tooltip", { attrs: { rowKey: "remark", row: a } })];
577
+ } }, { key: "remark", fn: function({ column: i, row: n }) {
578
+ return [s("gd-tooltip", { attrs: { rowKey: "remark", row: n } })];
569
579
  } }]) })], 1)]);
570
- }, H = [], E = /* @__PURE__ */ l(
580
+ }, H = [], A = /* @__PURE__ */ l(
571
581
  B,
572
582
  z,
573
583
  H,
574
584
  !1,
575
585
  null,
576
- "019f5eca",
586
+ "b1509975",
577
587
  null,
578
588
  null
579
589
  );
580
- const q = E.exports;
581
- function A(t) {
590
+ const E = A.exports;
591
+ function q(t) {
582
592
  return window.axios({
583
593
  url: "/sysApps/page",
584
594
  method: "get",
585
595
  params: t
586
596
  });
587
597
  }
588
- function ke(t) {
598
+ function Pe(t) {
589
599
  return window.axios({
590
600
  url: "/sysApps/detail",
591
601
  method: "get",
592
602
  params: t
593
603
  });
594
604
  }
595
- function Pe(t) {
605
+ function ke(t) {
596
606
  return window.axios({
597
607
  url: "/sysApps/add",
598
608
  method: "post",
@@ -702,7 +712,7 @@ const I = {
702
712
  selectedRows: [],
703
713
  selectedRowKeys: [],
704
714
  queryParam: { sysAppsId: "" },
705
- loadData: (t) => T(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
715
+ loadData: (t) => $(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
706
716
  let s = [...this.selectRoleRow];
707
717
  this.selectedRowKeys = [...s], this.onSelectChange(s, []);
708
718
  }, 10), e.data)),
@@ -711,17 +721,17 @@ const I = {
711
721
  },
712
722
  computed: {
713
723
  getHeight() {
714
- return this.height - 55;
724
+ return this.screenHeight - 500;
715
725
  },
716
726
  styled() {
717
727
  return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
718
728
  },
719
- ...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
729
+ ...r(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
720
730
  },
721
731
  components: {},
722
732
  methods: {
723
733
  getSysAppsPage() {
724
- A().then((t) => {
734
+ q().then((t) => {
725
735
  t.success && (this.queryParam.sysAppsId = t.data.rows[0].id);
726
736
  });
727
737
  },
@@ -746,8 +756,8 @@ const I = {
746
756
  };
747
757
  var U = function() {
748
758
  var e = this, s = e._self._c;
749
- 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, filtering: !1, height: e.getHeight, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: a }) {
750
- return [s("gd-tooltip", { attrs: { rowKey: "name", row: a, highlight: "" } })];
759
+ 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, filtering: !1, height: e.getHeight, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: n }) {
760
+ return [s("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" } })];
751
761
  } }]) })], 1)]);
752
762
  }, j = [], V = /* @__PURE__ */ l(
753
763
  I,
@@ -755,7 +765,7 @@ var U = function() {
755
765
  j,
756
766
  !1,
757
767
  null,
758
- "99dd552d",
768
+ "4f37cfa6",
759
769
  null,
760
770
  null
761
771
  );
@@ -829,7 +839,7 @@ const J = {
829
839
  selectedRows: [],
830
840
  selectedRowKeys: [],
831
841
  queryParam: {},
832
- loadData: (t) => $(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
842
+ loadData: (t) => R(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
833
843
  let s = [...this.selectTeamRow];
834
844
  this.selectedRowKeys = [...s], this.onSelectChange(s, []);
835
845
  }, 10), e.data)),
@@ -838,12 +848,12 @@ const J = {
838
848
  },
839
849
  computed: {
840
850
  getHeight() {
841
- return this.height - 55;
851
+ return this.screenHeight - 500;
842
852
  },
843
853
  styled() {
844
854
  return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
845
855
  },
846
- ...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
856
+ ...r(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
847
857
  },
848
858
  components: {},
849
859
  methods: {
@@ -865,12 +875,12 @@ const J = {
865
875
  };
866
876
  var W = function() {
867
877
  var e = this, s = e._self._c;
868
- 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, filtering: !1, height: e.getHeight, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: a }) {
869
- return [s("span", [e._v(" " + e._s(a.name) + " ")])];
870
- } }, { key: "teamType", fn: function({ column: i, row: a }) {
871
- return [s("span", [e._v(" " + e._s(e._f("dictType")("TeamType", a.teamtype)) + " ")])];
872
- } }, { key: "description", fn: function({ column: i, row: a }) {
873
- return [e._v(" " + e._s(a.description) + " ")];
878
+ 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, filtering: !1, height: e.getHeight, initialLoading: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "name", fn: function({ column: i, row: n }) {
879
+ return [s("span", [e._v(" " + e._s(n.name) + " ")])];
880
+ } }, { key: "teamType", fn: function({ column: i, row: n }) {
881
+ return [s("span", [e._v(" " + e._s(e._f("dictType")("TeamType", n.teamtype)) + " ")])];
882
+ } }, { key: "description", fn: function({ column: i, row: n }) {
883
+ return [e._v(" " + e._s(n.description) + " ")];
874
884
  } }]) })], 1)]);
875
885
  }, X = [], Y = /* @__PURE__ */ l(
876
886
  J,
@@ -878,7 +888,7 @@ var W = function() {
878
888
  X,
879
889
  !1,
880
890
  null,
881
- "ef2acb72",
891
+ "1c4840a6",
882
892
  null,
883
893
  null
884
894
  );
@@ -981,7 +991,7 @@ const te = {
981
991
  },
982
992
  loadData: (t) => {
983
993
  let e = JSON.parse(JSON.stringify(this.selectUserRow));
984
- return y(Object.assign(t, this.queryParam)).then((s) => {
994
+ return w(Object.assign(t, this.queryParam)).then((s) => {
985
995
  let i = [];
986
996
  return e.length > 0 ? i = [...JSON.parse(JSON.stringify(e))].map(String) : i = [...JSON.parse(JSON.stringify(this.selectUserRow))].map(String), this.$nextTick(() => {
987
997
  this.selectedRowKeys = [...i], this.onSelectChange(i, []);
@@ -993,12 +1003,12 @@ const te = {
993
1003
  },
994
1004
  computed: {
995
1005
  getHeight() {
996
- return this.height - 55;
1006
+ return this.screenHeight - 500;
997
1007
  },
998
1008
  styled() {
999
1009
  return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
1000
1010
  },
1001
- ...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
1011
+ ...r(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
1002
1012
  },
1003
1013
  components: {},
1004
1014
  methods: {
@@ -1028,8 +1038,8 @@ const te = {
1028
1038
  };
1029
1039
  var se = function() {
1030
1040
  var e = this, s = e._self._c;
1031
- 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, filtering: !1, height: e.getHeight, initialLoading: !0, showPagination: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "account", fn: function({ column: i, row: a }) {
1032
- return [s("gd-tooltip", { attrs: { rowKey: "account", row: a, highlight: "" } })];
1041
+ 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, filtering: !1, height: e.getHeight, initialLoading: !0, showPagination: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "account", fn: function({ column: i, row: n }) {
1042
+ return [s("gd-tooltip", { attrs: { rowKey: "account", row: n, highlight: "" } })];
1033
1043
  } }, { key: "gender", fn: function(i) {
1034
1044
  return [s("div", { staticStyle: { cursor: "pointer" } }, [s("el-tag", { style: e._f("dictColor")("gender", i.row.gender), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("gender", i.row.gender)) + " ")])], 1)];
1035
1045
  } }, { key: "statecodes", fn: function(i) {
@@ -1041,18 +1051,18 @@ var se = function() {
1041
1051
  e.$set(e.queryParam, "searchValue", i);
1042
1052
  }, expression: "queryParam.searchValue" } }), s("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [s("i", { staticClass: "el-input__icon el-icon-search" })])], 1)])];
1043
1053
  }, proxy: !0 }]) })], 1)]);
1044
- }, ie = [], ae = /* @__PURE__ */ l(
1054
+ }, ie = [], ne = /* @__PURE__ */ l(
1045
1055
  te,
1046
1056
  se,
1047
1057
  ie,
1048
1058
  !1,
1049
1059
  null,
1050
- "e1732005",
1060
+ "b79cacd5",
1051
1061
  null,
1052
1062
  null
1053
1063
  );
1054
- const ne = ae.exports;
1055
- const re = {
1064
+ const ae = ne.exports;
1065
+ const oe = {
1056
1066
  data() {
1057
1067
  return {
1058
1068
  confirmLoading: !0,
@@ -1078,12 +1088,12 @@ const re = {
1078
1088
  enterType: ""
1079
1089
  };
1080
1090
  },
1081
- components: { noticeUser: ne, notcieOrg: q, noticeRole: G, noticeTeam: Z },
1091
+ components: { noticeUser: ae, notcieOrg: E, noticeRole: G, noticeTeam: Z },
1082
1092
  computed: {
1083
1093
  getButtons() {
1084
1094
  return this.sysViewButtons.filter((t) => !(this.enterType == "1" && t.functionName === "handleSubmit"));
1085
1095
  },
1086
- ...o(["screenHeight", "tableLists", "primaryColor"])
1096
+ ...r(["screenHeight", "tableLists", "primaryColor"])
1087
1097
  },
1088
1098
  methods: {
1089
1099
  toggleFullscreen() {
@@ -1095,11 +1105,11 @@ const re = {
1095
1105
  }, 100));
1096
1106
  },
1097
1107
  getData(t, e) {
1098
- K({
1108
+ L({
1099
1109
  id: e == "1" ? t[0] : t
1100
1110
  }).then((s) => {
1101
- s.data.receivergroups.forEach((a) => {
1102
- a.receivertype == "1" && (this.userRowList = a.receiveridlist), a.receivertype == "2" && (this.roleRowList = a.receiveridlist), a.receivertype == "3" && (this.teamRowList = a.receiveridlist), a.receivertype == "4" && (this.orgRowList = a.receiveridlist);
1111
+ s.data.receivergroups.forEach((n) => {
1112
+ n.receivertype == "1" && (this.userRowList = n.receiveridlist), n.receivertype == "2" && (this.roleRowList = n.receiveridlist), n.receivertype == "3" && (this.teamRowList = n.receiveridlist), n.receivertype == "4" && (this.orgRowList = n.receiveridlist);
1103
1113
  });
1104
1114
  });
1105
1115
  },
@@ -1151,7 +1161,7 @@ const re = {
1151
1161
  }
1152
1162
  }
1153
1163
  };
1154
- var oe = function() {
1164
+ var re = function() {
1155
1165
  var e = this, s = e._self._c;
1156
1166
  return s("el-dialog", { class: e.fullScreen ? "gd-dialog gd-dialog-fangda" : "gd-dialog", attrs: { width: e.width, visible: e.visible, fullscreen: e.fullScreen, footer: null, top: "30px", "append-to-body": "", "show-close": !1 }, on: { "update:visible": function(i) {
1157
1167
  e.visible = i;
@@ -1159,8 +1169,8 @@ var oe = function() {
1159
1169
  e.type = i;
1160
1170
  }, expression: "type" } }, [s("el-tab-pane", { attrs: { name: "noticeuser", label: e.$i18nt("gd.fieldSecurity.user", "\u7528\u6237") } }, [e.type == "noticeuser" ? s("noticeUser", { ref: "noticeuserRef", attrs: { selectUserRow: e.userRowList, height: e.height }, on: { ok: e.selectUser } }) : e._e()], 1), s("el-tab-pane", { attrs: { name: "noticeteam", label: e.$i18nt("gd.fieldSecurity.team", "\u56E2\u961F") } }, [e.type == "noticeteam" ? s("noticeTeam", { ref: "noticeteamRef", attrs: { selectTeamRow: e.teamRowList, height: e.height }, on: { ok: e.selectTeam } }) : e._e()], 1), s("el-tab-pane", { attrs: { name: "noticerole", label: e.$i18nt("gd.fieldSecurity.role", "\u89D2\u8272") } }, [e.type == "noticerole" ? s("noticeRole", { ref: "noticeroleRef", attrs: { selectRoleRow: e.roleRowList, height: e.height }, on: { ok: e.selectRole } }) : e._e()], 1), s("el-tab-pane", { attrs: { name: "noticeorg", label: e.$i18nt("gd.pagecomponents.institution", "\u673A\u6784") } }, [e.type == "noticeorg" ? s("notcieOrg", { ref: "noticeorgRef", attrs: { selectOrgRow: e.orgRowList, height: e.height }, on: { ok: e.selectOrg } }) : e._e()], 1)], 1)], 1)])], 1);
1161
1171
  }, le = [], ce = /* @__PURE__ */ l(
1162
- re,
1163
1172
  oe,
1173
+ re,
1164
1174
  le,
1165
1175
  !1,
1166
1176
  null,
@@ -1177,11 +1187,11 @@ const ue = {
1177
1187
  default: 100
1178
1188
  }
1179
1189
  },
1180
- mixins: [u, x],
1190
+ mixins: [u, D],
1181
1191
  data() {
1182
1192
  return {
1183
1193
  transKey: "gd.btn.add",
1184
- loadData: (t) => f(Object.assign(t, this.queryParam)).then((e) => (this.allData = e.data.rows, e.data)),
1194
+ loadData: (t) => g(Object.assign(t, this.queryParam)).then((e) => (this.allData = e.data.rows, e.data)),
1185
1195
  allData: [],
1186
1196
  selectedRowKeys: [],
1187
1197
  selectedRows: [],
@@ -1209,11 +1219,12 @@ const ue = {
1209
1219
  },
1210
1220
  record: {},
1211
1221
  allEmpty: !0,
1212
- noticeType: ""
1222
+ noticeType: "",
1223
+ fileAccept: ["application/pdf"]
1213
1224
  };
1214
1225
  },
1215
1226
  components: {
1216
- detailForm: D,
1227
+ detailForm: h,
1217
1228
  editNoticeForm: de
1218
1229
  },
1219
1230
  computed: {
@@ -1231,7 +1242,7 @@ const ue = {
1231
1242
  getButtons() {
1232
1243
  return this.formButtons.filter((t) => !(this.transKey === "gd.btn.add" && t.functionName === "releaseTip"));
1233
1244
  },
1234
- ...o(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
1245
+ ...r(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
1235
1246
  },
1236
1247
  mounted() {
1237
1248
  (this.$route.params.id || this.$route.query.id) && (this.transKey = "gd.notice.detail", setTimeout(() => {
@@ -1250,8 +1261,8 @@ const ue = {
1250
1261
  this.baseHideBtns(["\u5220\u9664", "\u53D1\u5E03", "\u64A4\u56DE", "\u7F16\u8F91"], 2);
1251
1262
  return;
1252
1263
  }
1253
- let s = [], i = e.filter((r) => r.status == 0), a = e.filter((r) => r.status == 1), n = e.filter((r) => r.status == 2);
1254
- i.length == e.length ? s = ["\u64A4\u56DE"] : a.length == e.length ? s = ["\u5220\u9664", "\u53D1\u5E03", "\u7F16\u8F91"] : n.length == e.length && (s = ["\u64A4\u56DE", "\u53D1\u5E03", "\u7F16\u8F91"]), this.baseHideBtns(s, 2);
1264
+ let s = [], i = e.filter((o) => o.status == 0), n = e.filter((o) => o.status == 1), a = e.filter((o) => o.status == 2);
1265
+ i.length == e.length ? s = ["\u64A4\u56DE"] : n.length == e.length ? s = ["\u5220\u9664", "\u53D1\u5E03", "\u7F16\u8F91"] : a.length == e.length && (s = ["\u64A4\u56DE", "\u53D1\u5E03", "\u7F16\u8F91"]), this.baseHideBtns(s, 2);
1255
1266
  },
1256
1267
  baseHideBtns(t, e = 1) {
1257
1268
  let s = [...this.tableButtons];
@@ -1305,11 +1316,11 @@ const ue = {
1305
1316
  this.transKey = "gd.notice.detail", this.$refs.detailForm.open(t);
1306
1317
  },
1307
1318
  handleOk(t) {
1308
- this.ruleFormData.notifyingPerson = [], this.ruleFormData.notifyingPerson = t, this.allEmpty = t.every((e) => e.receiverIdList.length === 0);
1319
+ this.ruleFormData.notifyingPerson = [], this.ruleFormData.notifyingPerson = t, this.allEmpty = Array.isArray(t) ? t.every((e) => !e.receiverIdList || e.receiverIdList.length === 0) : !0;
1309
1320
  },
1310
- sbumit({ data: t, record: e, btn: s }, i, a) {
1321
+ sbumit({ data: t, record: e, btn: s }, i, n) {
1311
1322
  if (this.status = s.item.functionName == "releaseTip" ? 1 : 0, e != null) {
1312
- let n = {
1323
+ let a = {
1313
1324
  id: t.id,
1314
1325
  content: t.content,
1315
1326
  status: this.status,
@@ -1318,11 +1329,11 @@ const ue = {
1318
1329
  receivergroups: this.ruleFormData.notifyingPerson,
1319
1330
  attachment: this.ruleFormData.fileid
1320
1331
  };
1321
- this.formLoading = !0, C(Object.assign(this.noticeDetail, n)).then((r) => {
1322
- r.success ? (this.status == 1 && a(), this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F"))) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25") + r.message), this.formLoading = !1, this.refresh();
1332
+ this.formLoading = !0, S(Object.assign(this.noticeDetail, a)).then((o) => {
1333
+ o.success ? (this.status == 1 && n(), this.$message.success(this.$i18nt("gd.https.editSucc", "\u7F16\u8F91\u6210\u529F"))) : this.$message.error(this.$i18nt("gd.https.editFail", "\u7F16\u8F91\u5931\u8D25") + o.message), this.formLoading = !1, this.refresh();
1323
1334
  });
1324
1335
  } else {
1325
- let n = {
1336
+ let a = {
1326
1337
  content: t.content,
1327
1338
  status: this.status,
1328
1339
  title: t.title,
@@ -1330,12 +1341,12 @@ const ue = {
1330
1341
  receiverGroups: this.ruleFormData.notifyingPerson,
1331
1342
  attachment: this.ruleFormData.fileid
1332
1343
  };
1333
- this.formLoading = !0, R(n).then((r) => {
1334
- r.success ? (this.refresh(), this.status == 1 ? (this.formLoading = !1, a()) : setTimeout(() => {
1344
+ this.formLoading = !0, C(a).then((o) => {
1345
+ o.success ? (this.refresh(), this.status == 1 ? (this.formLoading = !1, n()) : setTimeout(() => {
1335
1346
  this.$nextTick(() => {
1336
- f({ pageNo: 1, pageSize: 50 }).then((c) => {
1347
+ g({ pageNo: 1, pageSize: 50 }).then((c) => {
1337
1348
  this.allData = c.data.rows;
1338
- const d = this.allData.filter((p) => p.title == t.title && p.content == t.content);
1349
+ const d = this.allData.filter((f) => f.title == t.title && f.content == t.content);
1339
1350
  d.length > 0 && (this.transKey = "gd.btn.edit", this.sysNoticeDetail(d[0].id), this.$refs.editForm.open(
1340
1351
  Object.assign(
1341
1352
  {
@@ -1350,7 +1361,7 @@ const ue = {
1350
1361
  )), this.formLoading = !1;
1351
1362
  });
1352
1363
  });
1353
- }, 10), this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F"))) : (this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25") + r.message), this.refresh(), this.formLoading = !1);
1364
+ }, 10), this.$message.success(this.$i18nt("gd.https.addSucc", "\u65B0\u589E\u6210\u529F"))) : (this.$message.error(this.$i18nt("gd.https.addFail", "\u65B0\u589E\u5931\u8D25") + o.message), this.refresh(), this.formLoading = !1);
1354
1365
  });
1355
1366
  }
1356
1367
  },
@@ -1400,16 +1411,16 @@ const ue = {
1400
1411
  return;
1401
1412
  }
1402
1413
  let i = [];
1403
- this.selectedRows.forEach((a) => {
1404
- let n = g({
1405
- id: a.id,
1414
+ this.selectedRows.forEach((n) => {
1415
+ let a = m({
1416
+ id: n.id,
1406
1417
  status: 2
1407
- }).then((r) => r);
1408
- i.push(n);
1409
- }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((a) => {
1418
+ }).then((o) => o);
1419
+ i.push(a);
1420
+ }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
1410
1421
  e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, s();
1411
- const n = a.filter((r) => !r.success);
1412
- n.length === 0 ? this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + n[0].message), this.refresh();
1422
+ const a = n.filter((o) => !o.success);
1423
+ a.length === 0 ? this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a[0].message), this.refresh();
1413
1424
  });
1414
1425
  },
1415
1426
  release() {
@@ -1444,16 +1455,16 @@ const ue = {
1444
1455
  return;
1445
1456
  }
1446
1457
  let i = [];
1447
- this.selectedRows.forEach((a) => {
1448
- let n = g({
1449
- id: a.id,
1458
+ this.selectedRows.forEach((n) => {
1459
+ let a = m({
1460
+ id: n.id,
1450
1461
  status: 1
1451
- }).then((r) => r);
1452
- i.push(n);
1453
- }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((a) => {
1462
+ }).then((o) => o);
1463
+ i.push(a);
1464
+ }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
1454
1465
  e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0, s();
1455
- const n = a.filter((r) => !r.success);
1456
- n.length === 0 ? this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + n[0].message), this.refresh();
1466
+ const a = n.filter((o) => !o.success);
1467
+ a.length === 0 ? this.$message.success(this.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25") + a[0].message), this.refresh();
1457
1468
  });
1458
1469
  },
1459
1470
  del() {
@@ -1484,36 +1495,36 @@ const ue = {
1484
1495
  return;
1485
1496
  }
1486
1497
  let i = [];
1487
- this.selectedRows.forEach((a) => {
1488
- let n = S(a).then((r) => r);
1489
- i.push(n);
1490
- }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((a) => {
1498
+ this.selectedRows.forEach((n) => {
1499
+ let a = K(n).then((o) => o);
1500
+ i.push(a);
1501
+ }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
1491
1502
  s();
1492
- const n = a.filter((r) => !r.success);
1493
- 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), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
1503
+ const a = n.filter((o) => !o.success);
1504
+ a.length === 0 ? this.$message.success(this.$i18nt("gd.https.delSucc", "\u5220\u9664\u6210\u529F")) : this.$message.error(this.$i18nt("gd.https.delFail", "\u5220\u9664\u5931\u8D25") + a[0].message), this.refresh(), e.confirmButtonLoading = !1, e.cancelButtonLoading = !1, e.showCancelButton = !0;
1494
1505
  });
1495
1506
  },
1496
1507
  sysNoticeDetail(t) {
1497
- m({
1508
+ y({
1498
1509
  id: t
1499
1510
  }).then((e) => {
1500
- this.noticeDetail = e.data, e.data.attachment && (this.ruleFormData.fileid = e.data.attachment, this.infoDownLoad(e.data.attachment)), this.ruleFormData.notifyingPerson = e.data.receivergroups, this.allEmpty = this.ruleFormData.notifyingPerson.every((s) => s.receiveridlist.length === 0);
1511
+ this.noticeDetail = e.data, e.data.attachment && (this.ruleFormData.fileid = e.data.attachment, this.infoDownLoad(e.data.attachment)), this.ruleFormData.notifyingPerson = e.data.receivergroups, this.allEmpty = Array.isArray(this.ruleFormData.notifyingPerson) ? this.ruleFormData.notifyingPerson.every((s) => !s.receiverIdList || s.receiverIdList.length === 0) : !0, this.noticeType = e.data.type;
1501
1512
  });
1502
1513
  },
1503
1514
  getMock(t) {
1504
1515
  const e = [], s = [];
1505
- w().then((i) => {
1516
+ b().then((i) => {
1506
1517
  this.confirmLoading = !1;
1507
- for (let a = 0; a < i.data.length; a++) {
1508
- const n = i.data[a], r = {
1509
- key: n.id.toString(),
1510
- label: n.name,
1511
- description: `description of ${n.name}`
1518
+ for (let n = 0; n < i.data.length; n++) {
1519
+ const a = i.data[n], o = {
1520
+ key: a.id.toString(),
1521
+ label: a.name,
1522
+ description: `description of ${a.name}`
1512
1523
  };
1513
1524
  if (t)
1514
1525
  for (let c = 0; c < t.noticeuseridlist.length; c++)
1515
- r.key === t.noticeuseridlist[c] && e.push(t.noticeuseridlist[c]);
1516
- s.push(r);
1526
+ o.key === t.noticeuseridlist[c] && e.push(t.noticeuseridlist[c]);
1527
+ s.push(o);
1517
1528
  }
1518
1529
  this.mockData = s, this.targetKeys = e;
1519
1530
  });
@@ -1535,14 +1546,18 @@ const ue = {
1535
1546
  }
1536
1547
  },
1537
1548
  uploadFile(t) {
1538
- new FormData().append("file", t.file), b(t).then((s) => {
1539
- if (s.code === 200) {
1540
- const i = s.data.url, n = (this.ruleFormData && this.ruleFormData.fileList ? this.ruleFormData.fileList.split(",") : []).concat([i]);
1541
- return this.ruleFormData.fileList = n.join(","), this.ruleFormData.name = s.data.fileoriginname.substring(0, s.data.fileoriginname.lastIndexOf(".")), this.ruleFormData.fileid = s.data.id.toString(), t.onSuccess(s.data), s.data;
1549
+ if (!this.fileAccept.includes(t.file.type)) {
1550
+ this.$message.error(this.$i18nt("gd.view.fileAcceptTip", "\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301\uFF01")), t.onError();
1551
+ return;
1552
+ }
1553
+ new FormData().append("file", t.file), _(t).then((i) => {
1554
+ if (i.code === 200) {
1555
+ const n = i.data.url, o = (this.ruleFormData && this.ruleFormData.fileList ? this.ruleFormData.fileList.split(",") : []).concat([n]);
1556
+ return this.ruleFormData.fileList = o.join(","), this.ruleFormData.name = i.data.fileoriginname.substring(0, i.data.fileoriginname.lastIndexOf(".")), this.ruleFormData.fileid = i.data.id.toString(), t.onSuccess(i.data), i.data;
1542
1557
  } else
1543
- this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + s.message), t.onError();
1544
- }).catch((s) => {
1545
- t.onError(s);
1558
+ this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + i.message), t.onError();
1559
+ }).catch((i) => {
1560
+ t.onError(i);
1546
1561
  });
1547
1562
  },
1548
1563
  successFile(t, e, s) {
@@ -1560,7 +1575,7 @@ const ue = {
1560
1575
  ["gif", "jpeg", "png", "jpg", "JPG", "PNG"].includes(s) ? this.imgPreview(t.response.id) : this.downFile(t);
1561
1576
  },
1562
1577
  imgPreview(t) {
1563
- _({
1578
+ v({
1564
1579
  id: t
1565
1580
  }).then((e) => {
1566
1581
  const s = window.URL.createObjectURL(new Blob([e]));
@@ -1579,7 +1594,7 @@ const ue = {
1579
1594
  return this.fileType === "pdf" ? e = "application/pdf" : this.fileType === "docx" && (e = "application/msword"), e;
1580
1595
  },
1581
1596
  infoDownLoad(t) {
1582
- return v({
1597
+ return T({
1583
1598
  id: t
1584
1599
  }).then((e) => {
1585
1600
  this.ruleFormData.fileList = e.data.url, this.ruleFormData.name = e.data.fileoriginname.substring(0, e.data.fileoriginname.lastIndexOf(".")), this.ruleFormData.fileid = e.data.id.toString(), this.fileListFile = [
@@ -1611,30 +1626,30 @@ var he = function() {
1611
1626
  } }, model: { value: e.queryParam.SearchValue, callback: function(i) {
1612
1627
  e.$set(e.queryParam, "SearchValue", i);
1613
1628
  }, expression: "queryParam.SearchValue" } }), s("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [s("i", { staticClass: "el-input__icon el-icon-search" })])], 1), s("div", { staticClass: "gd-table-operatorr" }, [s("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
1614
- }, proxy: !0 }, { key: "title", fn: function({ column: i, row: a }) {
1615
- return [s("gd-tooltip", { attrs: { rowKey: "title", row: a, highlight: "" }, on: { click: e.editForm } })];
1629
+ }, proxy: !0 }, { key: "title", fn: function({ column: i, row: n }) {
1630
+ return [s("gd-tooltip", { attrs: { rowKey: "title", row: n, highlight: "" }, on: { click: e.editForm } })];
1616
1631
  } }, { key: "type", fn: function(i) {
1617
1632
  return [s("el-tag", { style: e._f("dictColor")("notice_type", i.row.type), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("notice_type", i.row.type)) + " ")])];
1618
1633
  } }, { key: "status", fn: function(i) {
1619
1634
  return [s("el-tag", { style: e._f("dictColor")("notice_status", i.row.status), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("notice_status", i.row.status)) + " ")])];
1620
- } }, { key: "filtering", fn: function({ colse: i, visible: a }) {
1621
- return [s("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: i, visible: a }, on: { save: e.saveQueries } })];
1622
- } }]) })], 1), s("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "100%", transKey: e.transKey, columns: e.getFormColumns, labelPosition: e.labelPosition, formMode: e.formMode, buttons: e.getButtons, loading: e.formLoading }, on: { sbumit: e.sbumit }, scopedSlots: e._u([{ key: "targetKeys", fn: function({ data: i, column: a }) {
1623
- return [s("el-transfer", { attrs: { data: e.mockData, titles: ["\u672A\u9009", "\u5DF2\u9009"], filterable: "" }, on: { change: e.handleChange }, model: { value: e.targetKeys, callback: function(n) {
1624
- e.targetKeys = n;
1635
+ } }, { key: "filtering", fn: function({ colse: i, visible: n }) {
1636
+ return [s("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: i, visible: n }, on: { save: e.saveQueries } })];
1637
+ } }]) })], 1), s("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "100%", transKey: e.transKey, columns: e.getFormColumns, labelPosition: e.labelPosition, formMode: e.formMode, buttons: e.getButtons, loading: e.formLoading }, on: { sbumit: e.sbumit }, scopedSlots: e._u([{ key: "targetKeys", fn: function({ data: i, column: n }) {
1638
+ return [s("el-transfer", { attrs: { data: e.mockData, titles: ["\u672A\u9009", "\u5DF2\u9009"], filterable: "" }, on: { change: e.handleChange }, model: { value: e.targetKeys, callback: function(a) {
1639
+ e.targetKeys = a;
1625
1640
  }, expression: "targetKeys" } })];
1626
- } }, { key: "notifyingPerson", fn: function({ data: i, column: a }) {
1627
- return [s("el-button", { attrs: { type: e.allEmpty ? "danger" : "primary" }, on: { click: function(n) {
1641
+ } }, { key: "notifyingPerson", fn: function({ data: i, column: n }) {
1642
+ return [s("el-button", { attrs: { type: e.allEmpty ? "danger" : "primary" }, on: { click: function(a) {
1628
1643
  return e.noticePerson(i);
1629
1644
  } } }, [s("i", { staticClass: "gd-icons el-icon-bell" }), e._v(" " + e._s(e.$i18nt("gd.notice.notice", "\u901A\u77E5")))])];
1630
- } }, { key: "notice_type", fn: function({ data: i, column: a }) {
1631
- return [s("el-radio-group", { on: { change: e.changeMode }, model: { value: i.type, callback: function(n) {
1632
- e.$set(i, "type", n);
1633
- }, expression: "data.type" } }, e._l(e.getDictionary("notice_type"), function(n, r) {
1634
- return s("el-radio", { key: n.code, attrs: { label: n.code } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${n.transkey}`, n.name)) + " ")]);
1645
+ } }, { key: "notice_type", fn: function({ data: i, column: n }) {
1646
+ return [s("el-radio-group", { on: { change: e.changeMode }, model: { value: i.type, callback: function(a) {
1647
+ e.$set(i, "type", a);
1648
+ }, expression: "data.type" } }, e._l(e.getDictionary("notice_type"), function(a, o) {
1649
+ return s("el-radio", { key: a.code, attrs: { label: a.code } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.name)) + " ")]);
1635
1650
  }), 1)];
1636
- } }, { key: "fileList", fn: function({ data: i, column: a }) {
1637
- return [s("el-upload", { attrs: { action: "", "on-preview": e.previewFile, "on-remove": e.removeFile, multiple: "", limit: a.limit, accept: a.accept, "http-request": e.uploadFile, "file-list": e.fileListFile, "on-success": e.successFile } }, [s("el-button", { attrs: { size: "mini", type: "primary" } }, [s("i", { staticClass: "gd-icons gd-icon-shangchuan" }), e._v(" " + e._s(e.$i18nt("gd.btn.upload", "\u4E0A\u4F20")) + " ")])], 1)];
1651
+ } }, { key: "fileList", fn: function({ data: i, column: n }) {
1652
+ return [s("el-upload", { attrs: { action: "", "on-preview": e.previewFile, "on-remove": e.removeFile, multiple: "", limit: n.limit, accept: n.accept, "http-request": e.uploadFile, "file-list": e.fileListFile, "on-success": e.successFile } }, [s("el-button", { attrs: { size: "mini", type: "primary" } }, [s("i", { staticClass: "gd-icons gd-icon-shangchuan" }), e._v(" " + e._s(e.$i18nt("gd.btn.upload", "\u4E0A\u4F20")) + " ")])], 1)];
1638
1653
  } }]) }), s("detailForm", { ref: "detailForm" }), s("editNoticeForm", { ref: "editNoticeFormRef", on: { ok: e.handleOk } }), s("gd-file-preview", { ref: "filePreview" }), s("gd-img-preview", { ref: "imgPreview", attrs: { filePreviewShow: e.imgList.length > 0, imgList: e.imgList, currentImg: e.currentImg } })], 1);
1639
1654
  }, pe = [], fe = /* @__PURE__ */ l(
1640
1655
  ue,
@@ -1642,33 +1657,37 @@ var he = function() {
1642
1657
  pe,
1643
1658
  !1,
1644
1659
  null,
1645
- "7e1063f0",
1660
+ "7a480ef7",
1646
1661
  null,
1647
1662
  null
1648
1663
  );
1649
- const h = fe.exports;
1664
+ const p = fe.exports;
1665
+ p.install = function(t) {
1666
+ t.component(p.name, p);
1667
+ };
1650
1668
  h.install = function(t) {
1651
1669
  t.component(h.name, h);
1652
1670
  };
1653
1671
  export {
1654
- h as G,
1672
+ p as G,
1655
1673
  Re as a,
1656
1674
  Se as b,
1657
1675
  Ce as c,
1658
- D as d,
1676
+ h as d,
1659
1677
  xe as e,
1660
1678
  Le as f,
1661
- L as g,
1679
+ F as g,
1662
1680
  _e as h,
1663
1681
  Te as i,
1664
1682
  ve as j,
1665
- A as k,
1666
- $e as l,
1667
- Oe as m,
1668
- ke as n,
1669
- De as o,
1670
- Fe as p,
1671
- Ne as q,
1672
- Pe as r,
1673
- Ke as s
1683
+ y as k,
1684
+ q as l,
1685
+ $e as m,
1686
+ Oe as n,
1687
+ Pe as o,
1688
+ De as p,
1689
+ Fe as q,
1690
+ Ne as r,
1691
+ Ke as s,
1692
+ ke as t
1674
1693
  };