gds-plus-design-vue 1.2.3 → 1.2.4

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 (80) hide show
  1. package/lib/{chartbi.06e48153.js → chartbi.5eded588.js} +20 -20
  2. package/lib/{chartbi.cdd1e365.mjs → chartbi.c3bc6adb.mjs} +17 -9
  3. package/lib/gd-initial.js +16 -16
  4. package/lib/gd-initial.mjs +6428 -3567
  5. package/lib/main.00e2ba37.mjs +123 -0
  6. package/lib/main.55fab1ce.mjs +198 -0
  7. package/lib/main.7e1495ec.js +1 -0
  8. package/lib/{main.4aebe1c9.js → main.9c85b10c.js} +1 -1
  9. package/lib/main.a27e1e54.js +1 -0
  10. package/lib/{main.9801708f.js → main.a794f7cf.js} +1 -1
  11. package/lib/{main.a30b25d6.mjs → main.b25a9b4c.mjs} +6 -6
  12. package/lib/{main.eb4b260e.mjs → main.b4ad6d81.mjs} +3 -3
  13. package/lib/{messages.a1335b0f.mjs → messages.bc3bc0e8.mjs} +77 -77
  14. package/lib/{messages.30e41348.js → messages.fa3d97b5.js} +2 -2
  15. package/lib/style.css +2 -2
  16. package/lib/{system.account.20f9e450.mjs → system.account.868f96f9.mjs} +18 -18
  17. package/lib/{system.account.1ff630c9.js → system.account.e82580de.js} +1 -1
  18. package/lib/{system.config.532ab3b8.js → system.config.6aae9ea6.js} +1 -1
  19. package/lib/{system.config.c85c05e9.mjs → system.config.71615d2b.mjs} +2 -2
  20. package/lib/{system.datasource.f64a59de.mjs → system.datasource.009a1673.mjs} +2 -2
  21. package/lib/{system.datasource.272f1add.js → system.datasource.523ae242.js} +1 -1
  22. package/lib/{system.dict.a23e8cdf.js → system.dict.0111a3bc.js} +1 -1
  23. package/lib/{system.dict.565d69ca.mjs → system.dict.8f562e89.mjs} +2 -2
  24. package/lib/{system.duplicatechecking.f66790d1.js → system.duplicatechecking.1865e065.js} +1 -1
  25. package/lib/{system.duplicatechecking.268544dd.mjs → system.duplicatechecking.f517abed.mjs} +2 -2
  26. package/lib/{system.email.ada25702.mjs → system.email.4c484530.mjs} +2 -2
  27. package/lib/{system.email.00a93855.js → system.email.70351605.js} +1 -1
  28. package/lib/{system.fieldsecurity.d14384cc.mjs → system.fieldsecurity.9f9f73df.mjs} +1 -1
  29. package/lib/{system.fieldsecurity.ede73621.js → system.fieldsecurity.d11088e3.js} +1 -1
  30. package/lib/{system.file.aa567566.js → system.file.001a01bc.js} +1 -1
  31. package/lib/{system.file.a23b3c83.mjs → system.file.96b3ce1e.mjs} +2 -2
  32. package/lib/{system.log.8a9f4a4d.mjs → system.log.80feb1c4.mjs} +2 -2
  33. package/lib/{system.log.b3666991.js → system.log.f7afb251.js} +1 -1
  34. package/lib/{system.machine.fc392d7f.mjs → system.machine.52e8a4f3.mjs} +1 -1
  35. package/lib/{system.machine.7fa3e3d1.js → system.machine.6e46b7a3.js} +1 -1
  36. package/lib/system.notice.365ddd35.js +1 -0
  37. package/lib/{system.notice.6d0aa32c.mjs → system.notice.b4247147.mjs} +240 -224
  38. package/lib/{system.noticereceived.e5ef5883.js → system.noticereceived.5545acf8.js} +1 -1
  39. package/lib/{system.noticereceived.70963f1b.mjs → system.noticereceived.eef2cf6e.mjs} +5 -4
  40. package/lib/{system.onlineuser.c58fb6ce.mjs → system.onlineuser.de5f62bf.mjs} +2 -2
  41. package/lib/{system.onlineuser.99e4de37.js → system.onlineuser.fd9fdc66.js} +1 -1
  42. package/lib/{system.org.638db6d1.mjs → system.org.94393315.mjs} +3 -3
  43. package/lib/{system.org.56151be8.js → system.org.d22168d6.js} +1 -1
  44. package/lib/{system.permissions.fcd56f67.js → system.permissions.3c5c3573.js} +1 -1
  45. package/lib/{system.permissions.aa0cc0d6.mjs → system.permissions.ccbe352d.mjs} +3 -3
  46. package/lib/{system.plugin.b17efa53.js → system.plugin.5d47e679.js} +1 -1
  47. package/lib/{system.plugin.beb44900.mjs → system.plugin.8caa5d1f.mjs} +2 -2
  48. package/lib/{system.pos.e8d9c488.js → system.pos.caaef4fc.js} +1 -1
  49. package/lib/{system.pos.699e8dd6.mjs → system.pos.e4be69c4.mjs} +2 -2
  50. package/lib/{system.promptmanagement.2ce3e426.mjs → system.promptmanagement.1ad89863.mjs} +2 -2
  51. package/lib/{system.promptmanagement.109a07f5.js → system.promptmanagement.e73f64a2.js} +1 -1
  52. package/lib/{system.role.230b1445.mjs → system.role.0323ddd5.mjs} +220 -206
  53. package/lib/{system.role.f0d4082c.js → system.role.b5b55ddd.js} +1 -1
  54. package/lib/{system.sumberrules.38017ad1.js → system.sumberrules.2babdd81.js} +1 -1
  55. package/lib/{system.sumberrules.fa1aab86.mjs → system.sumberrules.42965c1e.mjs} +2 -2
  56. package/lib/{system.team.aeaede22.mjs → system.team.28168433.mjs} +80 -49
  57. package/lib/system.team.a3527834.js +1 -0
  58. package/lib/{system.teammembers.2e3309c3.mjs → system.teammembers.08f3ce38.mjs} +3 -3
  59. package/lib/{system.teammembers.29128f16.js → system.teammembers.4b11e49b.js} +1 -1
  60. package/lib/{system.timers.0ec63785.mjs → system.timers.040b9bce.mjs} +2 -2
  61. package/lib/{system.timers.b62568ad.js → system.timers.310b3710.js} +1 -1
  62. package/lib/{system.translation.887fa90d.js → system.translation.a4396166.js} +1 -1
  63. package/lib/{system.translation.e71455aa.mjs → system.translation.c0068d8f.mjs} +3 -3
  64. package/lib/{system.user.bed5f82a.js → system.user.20a5e7b4.js} +5 -5
  65. package/lib/{system.user.84227a85.mjs → system.user.84e77277.mjs} +53 -23
  66. package/lib/{system.useraffiliation.7ec0fcae.js → system.useraffiliation.307e3cd7.js} +1 -1
  67. package/lib/{system.useraffiliation.b3f03a33.mjs → system.useraffiliation.fb961d98.mjs} +3 -3
  68. package/lib/{system.webresource.f8b78dd0.js → system.webresource.0382b6b1.js} +1 -1
  69. package/lib/{system.webresource.e6cb9173.mjs → system.webresource.2d0ab7a6.mjs} +3 -3
  70. package/lib/{system.welcome.472f099b.js → system.welcome.67d20fa4.js} +1 -1
  71. package/lib/{system.welcome.120f4b50.mjs → system.welcome.aaac4a40.mjs} +1 -1
  72. package/locale/en_US.js +47 -8
  73. package/locale/id_ID.js +45 -7
  74. package/locale/vi_VN.js +45 -7
  75. package/locale/zh_CN.js +40 -2
  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/system.notice.5fb1485e.js +0 -1
  80. package/lib/system.team.3826e252.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.c3bc6adb.mjs";
2
+ import { g as w, s as b } from "./system.account.868f96f9.mjs";
3
+ import { t as u, m as _, a as v, n as T } from "./messages.bc3bc0e8.mjs";
4
+ import { g as $, a as R } from "./system.fieldsecurity.9f9f73df.mjs";
5
+ import "./system.email.4c484530.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: [
@@ -360,79 +439,7 @@ const x = {
360
439
  }]
361
440
  };
362
441
  }
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 = {
442
+ }, O = {
436
443
  data() {
437
444
  return {
438
445
  tableColumns: [
@@ -524,7 +531,7 @@ const B = {
524
531
  selectedRows: [],
525
532
  selectedRowKeys: [],
526
533
  queryParam: {},
527
- loadData: (t) => L(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
534
+ loadData: (t) => F(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
528
535
  let s = [...this.selectOrgRow];
529
536
  this.selectedRowKeys = [...s], this.onSelectChange(s, []);
530
537
  }, 10), e.data)),
@@ -533,12 +540,12 @@ const B = {
533
540
  },
534
541
  computed: {
535
542
  getHeight() {
536
- return this.height - 55;
543
+ return this.screenHeight - 500;
537
544
  },
538
545
  styled() {
539
546
  return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
540
547
  },
541
- ...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
548
+ ...r(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
542
549
  },
543
550
  components: {},
544
551
  methods: {
@@ -560,39 +567,39 @@ const B = {
560
567
  };
561
568
  var z = function() {
562
569
  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: "" } })];
570
+ 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 }) {
571
+ return [s("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" } })];
565
572
  } }, { key: "orgType", fn: function(i) {
566
573
  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 } })];
574
+ } }, { key: "remark", fn: function({ column: i, row: n }) {
575
+ return [s("gd-tooltip", { attrs: { rowKey: "remark", row: n } })];
569
576
  } }]) })], 1)]);
570
- }, H = [], E = /* @__PURE__ */ l(
577
+ }, H = [], A = /* @__PURE__ */ l(
571
578
  B,
572
579
  z,
573
580
  H,
574
581
  !1,
575
582
  null,
576
- "019f5eca",
583
+ "b1509975",
577
584
  null,
578
585
  null
579
586
  );
580
- const q = E.exports;
581
- function A(t) {
587
+ const E = A.exports;
588
+ function q(t) {
582
589
  return window.axios({
583
590
  url: "/sysApps/page",
584
591
  method: "get",
585
592
  params: t
586
593
  });
587
594
  }
588
- function ke(t) {
595
+ function Pe(t) {
589
596
  return window.axios({
590
597
  url: "/sysApps/detail",
591
598
  method: "get",
592
599
  params: t
593
600
  });
594
601
  }
595
- function Pe(t) {
602
+ function ke(t) {
596
603
  return window.axios({
597
604
  url: "/sysApps/add",
598
605
  method: "post",
@@ -702,7 +709,7 @@ const I = {
702
709
  selectedRows: [],
703
710
  selectedRowKeys: [],
704
711
  queryParam: { sysAppsId: "" },
705
- loadData: (t) => T(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
712
+ loadData: (t) => $(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
706
713
  let s = [...this.selectRoleRow];
707
714
  this.selectedRowKeys = [...s], this.onSelectChange(s, []);
708
715
  }, 10), e.data)),
@@ -711,17 +718,17 @@ const I = {
711
718
  },
712
719
  computed: {
713
720
  getHeight() {
714
- return this.height - 55;
721
+ return this.screenHeight - 500;
715
722
  },
716
723
  styled() {
717
724
  return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
718
725
  },
719
- ...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
726
+ ...r(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
720
727
  },
721
728
  components: {},
722
729
  methods: {
723
730
  getSysAppsPage() {
724
- A().then((t) => {
731
+ q().then((t) => {
725
732
  t.success && (this.queryParam.sysAppsId = t.data.rows[0].id);
726
733
  });
727
734
  },
@@ -746,8 +753,8 @@ const I = {
746
753
  };
747
754
  var U = function() {
748
755
  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: "" } })];
756
+ 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 }) {
757
+ return [s("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" } })];
751
758
  } }]) })], 1)]);
752
759
  }, j = [], V = /* @__PURE__ */ l(
753
760
  I,
@@ -755,7 +762,7 @@ var U = function() {
755
762
  j,
756
763
  !1,
757
764
  null,
758
- "99dd552d",
765
+ "4f37cfa6",
759
766
  null,
760
767
  null
761
768
  );
@@ -829,7 +836,7 @@ const J = {
829
836
  selectedRows: [],
830
837
  selectedRowKeys: [],
831
838
  queryParam: {},
832
- loadData: (t) => $(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
839
+ loadData: (t) => R(Object.assign(t, this.queryParam)).then((e) => (setTimeout(() => {
833
840
  let s = [...this.selectTeamRow];
834
841
  this.selectedRowKeys = [...s], this.onSelectChange(s, []);
835
842
  }, 10), e.data)),
@@ -838,12 +845,12 @@ const J = {
838
845
  },
839
846
  computed: {
840
847
  getHeight() {
841
- return this.height - 55;
848
+ return this.screenHeight - 500;
842
849
  },
843
850
  styled() {
844
851
  return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
845
852
  },
846
- ...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
853
+ ...r(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
847
854
  },
848
855
  components: {},
849
856
  methods: {
@@ -865,12 +872,12 @@ const J = {
865
872
  };
866
873
  var W = function() {
867
874
  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) + " ")];
875
+ 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 }) {
876
+ return [s("span", [e._v(" " + e._s(n.name) + " ")])];
877
+ } }, { key: "teamType", fn: function({ column: i, row: n }) {
878
+ return [s("span", [e._v(" " + e._s(e._f("dictType")("TeamType", n.teamtype)) + " ")])];
879
+ } }, { key: "description", fn: function({ column: i, row: n }) {
880
+ return [e._v(" " + e._s(n.description) + " ")];
874
881
  } }]) })], 1)]);
875
882
  }, X = [], Y = /* @__PURE__ */ l(
876
883
  J,
@@ -878,7 +885,7 @@ var W = function() {
878
885
  X,
879
886
  !1,
880
887
  null,
881
- "ef2acb72",
888
+ "1c4840a6",
882
889
  null,
883
890
  null
884
891
  );
@@ -981,7 +988,7 @@ const te = {
981
988
  },
982
989
  loadData: (t) => {
983
990
  let e = JSON.parse(JSON.stringify(this.selectUserRow));
984
- return y(Object.assign(t, this.queryParam)).then((s) => {
991
+ return w(Object.assign(t, this.queryParam)).then((s) => {
985
992
  let i = [];
986
993
  return e.length > 0 ? i = [...JSON.parse(JSON.stringify(e))].map(String) : i = [...JSON.parse(JSON.stringify(this.selectUserRow))].map(String), this.$nextTick(() => {
987
994
  this.selectedRowKeys = [...i], this.onSelectChange(i, []);
@@ -993,12 +1000,12 @@ const te = {
993
1000
  },
994
1001
  computed: {
995
1002
  getHeight() {
996
- return this.height - 55;
1003
+ return this.screenHeight - 500;
997
1004
  },
998
1005
  styled() {
999
1006
  return this.$hasPerm("sysFlowProcess:edit") ? `color:${this.primaryColor};cursor: pointer;` : "";
1000
1007
  },
1001
- ...o(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
1008
+ ...r(["tableLists", "tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode", "primaryColor"])
1002
1009
  },
1003
1010
  components: {},
1004
1011
  methods: {
@@ -1028,8 +1035,8 @@ const te = {
1028
1035
  };
1029
1036
  var se = function() {
1030
1037
  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: "" } })];
1038
+ 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 }) {
1039
+ return [s("gd-tooltip", { attrs: { rowKey: "account", row: n, highlight: "" } })];
1033
1040
  } }, { key: "gender", fn: function(i) {
1034
1041
  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
1042
  } }, { key: "statecodes", fn: function(i) {
@@ -1041,18 +1048,18 @@ var se = function() {
1041
1048
  e.$set(e.queryParam, "searchValue", i);
1042
1049
  }, expression: "queryParam.searchValue" } }), s("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [s("i", { staticClass: "el-input__icon el-icon-search" })])], 1)])];
1043
1050
  }, proxy: !0 }]) })], 1)]);
1044
- }, ie = [], ae = /* @__PURE__ */ l(
1051
+ }, ie = [], ne = /* @__PURE__ */ l(
1045
1052
  te,
1046
1053
  se,
1047
1054
  ie,
1048
1055
  !1,
1049
1056
  null,
1050
- "e1732005",
1057
+ "b79cacd5",
1051
1058
  null,
1052
1059
  null
1053
1060
  );
1054
- const ne = ae.exports;
1055
- const re = {
1061
+ const ae = ne.exports;
1062
+ const oe = {
1056
1063
  data() {
1057
1064
  return {
1058
1065
  confirmLoading: !0,
@@ -1078,12 +1085,12 @@ const re = {
1078
1085
  enterType: ""
1079
1086
  };
1080
1087
  },
1081
- components: { noticeUser: ne, notcieOrg: q, noticeRole: G, noticeTeam: Z },
1088
+ components: { noticeUser: ae, notcieOrg: E, noticeRole: G, noticeTeam: Z },
1082
1089
  computed: {
1083
1090
  getButtons() {
1084
1091
  return this.sysViewButtons.filter((t) => !(this.enterType == "1" && t.functionName === "handleSubmit"));
1085
1092
  },
1086
- ...o(["screenHeight", "tableLists", "primaryColor"])
1093
+ ...r(["screenHeight", "tableLists", "primaryColor"])
1087
1094
  },
1088
1095
  methods: {
1089
1096
  toggleFullscreen() {
@@ -1095,11 +1102,11 @@ const re = {
1095
1102
  }, 100));
1096
1103
  },
1097
1104
  getData(t, e) {
1098
- K({
1105
+ L({
1099
1106
  id: e == "1" ? t[0] : t
1100
1107
  }).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);
1108
+ s.data.receivergroups.forEach((n) => {
1109
+ 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
1110
  });
1104
1111
  });
1105
1112
  },
@@ -1151,7 +1158,7 @@ const re = {
1151
1158
  }
1152
1159
  }
1153
1160
  };
1154
- var oe = function() {
1161
+ var re = function() {
1155
1162
  var e = this, s = e._self._c;
1156
1163
  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
1164
  e.visible = i;
@@ -1159,8 +1166,8 @@ var oe = function() {
1159
1166
  e.type = i;
1160
1167
  }, 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
1168
  }, le = [], ce = /* @__PURE__ */ l(
1162
- re,
1163
1169
  oe,
1170
+ re,
1164
1171
  le,
1165
1172
  !1,
1166
1173
  null,
@@ -1177,11 +1184,11 @@ const ue = {
1177
1184
  default: 100
1178
1185
  }
1179
1186
  },
1180
- mixins: [u, x],
1187
+ mixins: [u, D],
1181
1188
  data() {
1182
1189
  return {
1183
1190
  transKey: "gd.btn.add",
1184
- loadData: (t) => f(Object.assign(t, this.queryParam)).then((e) => (this.allData = e.data.rows, e.data)),
1191
+ loadData: (t) => g(Object.assign(t, this.queryParam)).then((e) => (this.allData = e.data.rows, e.data)),
1185
1192
  allData: [],
1186
1193
  selectedRowKeys: [],
1187
1194
  selectedRows: [],
@@ -1209,11 +1216,12 @@ const ue = {
1209
1216
  },
1210
1217
  record: {},
1211
1218
  allEmpty: !0,
1212
- noticeType: ""
1219
+ noticeType: "",
1220
+ fileAccept: ["application/pdf"]
1213
1221
  };
1214
1222
  },
1215
1223
  components: {
1216
- detailForm: D,
1224
+ detailForm: h,
1217
1225
  editNoticeForm: de
1218
1226
  },
1219
1227
  computed: {
@@ -1231,7 +1239,7 @@ const ue = {
1231
1239
  getButtons() {
1232
1240
  return this.formButtons.filter((t) => !(this.transKey === "gd.btn.add" && t.functionName === "releaseTip"));
1233
1241
  },
1234
- ...o(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
1242
+ ...r(["tablePageSize", "tableSize", "screenHeight", "labelPosition", "formMode"])
1235
1243
  },
1236
1244
  mounted() {
1237
1245
  (this.$route.params.id || this.$route.query.id) && (this.transKey = "gd.notice.detail", setTimeout(() => {
@@ -1250,8 +1258,8 @@ const ue = {
1250
1258
  this.baseHideBtns(["\u5220\u9664", "\u53D1\u5E03", "\u64A4\u56DE", "\u7F16\u8F91"], 2);
1251
1259
  return;
1252
1260
  }
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);
1261
+ let s = [], i = e.filter((o) => o.status == 0), n = e.filter((o) => o.status == 1), a = e.filter((o) => o.status == 2);
1262
+ 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
1263
  },
1256
1264
  baseHideBtns(t, e = 1) {
1257
1265
  let s = [...this.tableButtons];
@@ -1305,11 +1313,11 @@ const ue = {
1305
1313
  this.transKey = "gd.notice.detail", this.$refs.detailForm.open(t);
1306
1314
  },
1307
1315
  handleOk(t) {
1308
- this.ruleFormData.notifyingPerson = [], this.ruleFormData.notifyingPerson = t, this.allEmpty = t.every((e) => e.receiverIdList.length === 0);
1316
+ this.ruleFormData.notifyingPerson = [], this.ruleFormData.notifyingPerson = t, this.allEmpty = Array.isArray(t) ? t.every((e) => !e.receiverIdList || e.receiverIdList.length === 0) : !0;
1309
1317
  },
1310
- sbumit({ data: t, record: e, btn: s }, i, a) {
1318
+ sbumit({ data: t, record: e, btn: s }, i, n) {
1311
1319
  if (this.status = s.item.functionName == "releaseTip" ? 1 : 0, e != null) {
1312
- let n = {
1320
+ let a = {
1313
1321
  id: t.id,
1314
1322
  content: t.content,
1315
1323
  status: this.status,
@@ -1318,11 +1326,11 @@ const ue = {
1318
1326
  receivergroups: this.ruleFormData.notifyingPerson,
1319
1327
  attachment: this.ruleFormData.fileid
1320
1328
  };
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();
1329
+ this.formLoading = !0, S(Object.assign(this.noticeDetail, a)).then((o) => {
1330
+ 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
1331
  });
1324
1332
  } else {
1325
- let n = {
1333
+ let a = {
1326
1334
  content: t.content,
1327
1335
  status: this.status,
1328
1336
  title: t.title,
@@ -1330,12 +1338,12 @@ const ue = {
1330
1338
  receiverGroups: this.ruleFormData.notifyingPerson,
1331
1339
  attachment: this.ruleFormData.fileid
1332
1340
  };
1333
- this.formLoading = !0, R(n).then((r) => {
1334
- r.success ? (this.refresh(), this.status == 1 ? (this.formLoading = !1, a()) : setTimeout(() => {
1341
+ this.formLoading = !0, C(a).then((o) => {
1342
+ o.success ? (this.refresh(), this.status == 1 ? (this.formLoading = !1, n()) : setTimeout(() => {
1335
1343
  this.$nextTick(() => {
1336
- f({ pageNo: 1, pageSize: 50 }).then((c) => {
1344
+ g({ pageNo: 1, pageSize: 50 }).then((c) => {
1337
1345
  this.allData = c.data.rows;
1338
- const d = this.allData.filter((p) => p.title == t.title && p.content == t.content);
1346
+ const d = this.allData.filter((f) => f.title == t.title && f.content == t.content);
1339
1347
  d.length > 0 && (this.transKey = "gd.btn.edit", this.sysNoticeDetail(d[0].id), this.$refs.editForm.open(
1340
1348
  Object.assign(
1341
1349
  {
@@ -1350,7 +1358,7 @@ const ue = {
1350
1358
  )), this.formLoading = !1;
1351
1359
  });
1352
1360
  });
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);
1361
+ }, 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
1362
  });
1355
1363
  }
1356
1364
  },
@@ -1400,16 +1408,16 @@ const ue = {
1400
1408
  return;
1401
1409
  }
1402
1410
  let i = [];
1403
- this.selectedRows.forEach((a) => {
1404
- let n = g({
1405
- id: a.id,
1411
+ this.selectedRows.forEach((n) => {
1412
+ let a = m({
1413
+ id: n.id,
1406
1414
  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) => {
1415
+ }).then((o) => o);
1416
+ i.push(a);
1417
+ }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
1410
1418
  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();
1419
+ const a = n.filter((o) => !o.success);
1420
+ 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
1421
  });
1414
1422
  },
1415
1423
  release() {
@@ -1444,16 +1452,16 @@ const ue = {
1444
1452
  return;
1445
1453
  }
1446
1454
  let i = [];
1447
- this.selectedRows.forEach((a) => {
1448
- let n = g({
1449
- id: a.id,
1455
+ this.selectedRows.forEach((n) => {
1456
+ let a = m({
1457
+ id: n.id,
1450
1458
  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) => {
1459
+ }).then((o) => o);
1460
+ i.push(a);
1461
+ }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
1454
1462
  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();
1463
+ const a = n.filter((o) => !o.success);
1464
+ 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
1465
  });
1458
1466
  },
1459
1467
  del() {
@@ -1484,36 +1492,36 @@ const ue = {
1484
1492
  return;
1485
1493
  }
1486
1494
  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) => {
1495
+ this.selectedRows.forEach((n) => {
1496
+ let a = K(n).then((o) => o);
1497
+ i.push(a);
1498
+ }), e.confirmButtonLoading = !0, e.cancelButtonLoading = !0, e.showCancelButton = !1, Promise.all(i).then((n) => {
1491
1499
  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;
1500
+ const a = n.filter((o) => !o.success);
1501
+ 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
1502
  });
1495
1503
  },
1496
1504
  sysNoticeDetail(t) {
1497
- m({
1505
+ y({
1498
1506
  id: t
1499
1507
  }).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);
1508
+ 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
1509
  });
1502
1510
  },
1503
1511
  getMock(t) {
1504
1512
  const e = [], s = [];
1505
- w().then((i) => {
1513
+ b().then((i) => {
1506
1514
  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}`
1515
+ for (let n = 0; n < i.data.length; n++) {
1516
+ const a = i.data[n], o = {
1517
+ key: a.id.toString(),
1518
+ label: a.name,
1519
+ description: `description of ${a.name}`
1512
1520
  };
1513
1521
  if (t)
1514
1522
  for (let c = 0; c < t.noticeuseridlist.length; c++)
1515
- r.key === t.noticeuseridlist[c] && e.push(t.noticeuseridlist[c]);
1516
- s.push(r);
1523
+ o.key === t.noticeuseridlist[c] && e.push(t.noticeuseridlist[c]);
1524
+ s.push(o);
1517
1525
  }
1518
1526
  this.mockData = s, this.targetKeys = e;
1519
1527
  });
@@ -1535,14 +1543,18 @@ const ue = {
1535
1543
  }
1536
1544
  },
1537
1545
  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;
1546
+ if (!this.fileAccept.includes(t.file.type)) {
1547
+ this.$message.error(this.$i18nt("gd.view.fileAcceptTip", "\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301\uFF01")), t.onError();
1548
+ return;
1549
+ }
1550
+ new FormData().append("file", t.file), _(t).then((i) => {
1551
+ if (i.code === 200) {
1552
+ const n = i.data.url, o = (this.ruleFormData && this.ruleFormData.fileList ? this.ruleFormData.fileList.split(",") : []).concat([n]);
1553
+ 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
1554
  } 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);
1555
+ this.$message.error(this.$i18nt("gd.https.operateFail", "\u64CD\u4F5C\u5931\u8D25:") + i.message), t.onError();
1556
+ }).catch((i) => {
1557
+ t.onError(i);
1546
1558
  });
1547
1559
  },
1548
1560
  successFile(t, e, s) {
@@ -1560,7 +1572,7 @@ const ue = {
1560
1572
  ["gif", "jpeg", "png", "jpg", "JPG", "PNG"].includes(s) ? this.imgPreview(t.response.id) : this.downFile(t);
1561
1573
  },
1562
1574
  imgPreview(t) {
1563
- _({
1575
+ v({
1564
1576
  id: t
1565
1577
  }).then((e) => {
1566
1578
  const s = window.URL.createObjectURL(new Blob([e]));
@@ -1579,7 +1591,7 @@ const ue = {
1579
1591
  return this.fileType === "pdf" ? e = "application/pdf" : this.fileType === "docx" && (e = "application/msword"), e;
1580
1592
  },
1581
1593
  infoDownLoad(t) {
1582
- return v({
1594
+ return T({
1583
1595
  id: t
1584
1596
  }).then((e) => {
1585
1597
  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 +1623,30 @@ var he = function() {
1611
1623
  } }, model: { value: e.queryParam.SearchValue, callback: function(i) {
1612
1624
  e.$set(e.queryParam, "SearchValue", i);
1613
1625
  }, 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 } })];
1626
+ }, proxy: !0 }, { key: "title", fn: function({ column: i, row: n }) {
1627
+ return [s("gd-tooltip", { attrs: { rowKey: "title", row: n, highlight: "" }, on: { click: e.editForm } })];
1616
1628
  } }, { key: "type", fn: function(i) {
1617
1629
  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
1630
  } }, { key: "status", fn: function(i) {
1619
1631
  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;
1632
+ } }, { key: "filtering", fn: function({ colse: i, visible: n }) {
1633
+ return [s("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: i, visible: n }, on: { save: e.saveQueries } })];
1634
+ } }]) })], 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 }) {
1635
+ 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) {
1636
+ e.targetKeys = a;
1625
1637
  }, 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) {
1638
+ } }, { key: "notifyingPerson", fn: function({ data: i, column: n }) {
1639
+ return [s("el-button", { attrs: { type: e.allEmpty ? "danger" : "primary" }, on: { click: function(a) {
1628
1640
  return e.noticePerson(i);
1629
1641
  } } }, [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)) + " ")]);
1642
+ } }, { key: "notice_type", fn: function({ data: i, column: n }) {
1643
+ return [s("el-radio-group", { on: { change: e.changeMode }, model: { value: i.type, callback: function(a) {
1644
+ e.$set(i, "type", a);
1645
+ }, expression: "data.type" } }, e._l(e.getDictionary("notice_type"), function(a, o) {
1646
+ return s("el-radio", { key: a.code, attrs: { label: a.code } }, [e._v(" " + e._s(e.$i18nt(`Dynamics.${a.transkey}`, a.name)) + " ")]);
1635
1647
  }), 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)];
1648
+ } }, { key: "fileList", fn: function({ data: i, column: n }) {
1649
+ 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
1650
  } }]) }), 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
1651
  }, pe = [], fe = /* @__PURE__ */ l(
1640
1652
  ue,
@@ -1642,33 +1654,37 @@ var he = function() {
1642
1654
  pe,
1643
1655
  !1,
1644
1656
  null,
1645
- "7e1063f0",
1657
+ "7a480ef7",
1646
1658
  null,
1647
1659
  null
1648
1660
  );
1649
- const h = fe.exports;
1661
+ const p = fe.exports;
1662
+ p.install = function(t) {
1663
+ t.component(p.name, p);
1664
+ };
1650
1665
  h.install = function(t) {
1651
1666
  t.component(h.name, h);
1652
1667
  };
1653
1668
  export {
1654
- h as G,
1669
+ p as G,
1655
1670
  Re as a,
1656
1671
  Se as b,
1657
1672
  Ce as c,
1658
- D as d,
1673
+ h as d,
1659
1674
  xe as e,
1660
1675
  Le as f,
1661
- L as g,
1676
+ F as g,
1662
1677
  _e as h,
1663
1678
  Te as i,
1664
1679
  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
1680
+ y as k,
1681
+ q as l,
1682
+ $e as m,
1683
+ Oe as n,
1684
+ Pe as o,
1685
+ De as p,
1686
+ Fe as q,
1687
+ Ne as r,
1688
+ Ke as s,
1689
+ ke as t
1674
1690
  };