gds-plus-design-vue 1.2.4 → 1.2.6
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.
- package/lib/{chartbi.5eded588.js → chartbi.114d32d7.js} +23 -23
- package/lib/{chartbi.c3bc6adb.mjs → chartbi.eb4dd0af.mjs} +3601 -3565
- package/lib/gd-initial.js +15 -15
- package/lib/gd-initial.mjs +4751 -3897
- package/lib/{main.7e1495ec.js → main.03984fed.js} +1 -1
- package/lib/{main.a27e1e54.js → main.1050afb3.js} +1 -1
- package/lib/{main.b25a9b4c.mjs → main.3caa11e1.mjs} +12 -34
- package/lib/main.64122541.js +1 -0
- package/lib/{main.b4ad6d81.mjs → main.b5a3be02.mjs} +16 -13
- package/lib/main.b7d2c6ee.js +1 -0
- package/lib/{main.00e2ba37.mjs → main.c41228a0.mjs} +3 -3
- package/lib/{main.55fab1ce.mjs → main.f0045877.mjs} +7 -7
- package/lib/messages.828b6ed8.js +9 -0
- package/lib/{messages.bc3bc0e8.mjs → messages.a739f4fc.mjs} +1095 -1065
- package/lib/style.css +3 -3
- package/lib/{system.account.e82580de.js → system.account.3181bcd6.js} +1 -1
- package/lib/{system.account.868f96f9.mjs → system.account.7c6ea20c.mjs} +18 -18
- package/lib/system.config.10f57fa2.js +1 -0
- package/lib/{system.config.71615d2b.mjs → system.config.d2ad8c97.mjs} +7 -2
- package/lib/{system.datasource.009a1673.mjs → system.datasource.a77831ab.mjs} +3 -3
- package/lib/{system.datasource.523ae242.js → system.datasource.d5eea7f2.js} +1 -1
- package/lib/{system.dict.8f562e89.mjs → system.dict.cb276470.mjs} +2 -2
- package/lib/{system.dict.0111a3bc.js → system.dict.d73658f1.js} +1 -1
- package/lib/{system.duplicatechecking.f517abed.mjs → system.duplicatechecking.5c8a3eef.mjs} +15 -11
- package/lib/{system.duplicatechecking.1865e065.js → system.duplicatechecking.d24ba6ea.js} +1 -1
- package/lib/{system.email.70351605.js → system.email.4bf52f2d.js} +1 -1
- package/lib/{system.email.4c484530.mjs → system.email.db5da8d7.mjs} +2 -2
- package/lib/{system.fieldsecurity.9f9f73df.mjs → system.fieldsecurity.9d40595f.mjs} +1 -1
- package/lib/{system.fieldsecurity.d11088e3.js → system.fieldsecurity.eb217079.js} +1 -1
- package/lib/{system.file.96b3ce1e.mjs → system.file.8064c8e9.mjs} +11 -6
- package/lib/system.file.c1884db7.js +1 -0
- package/lib/{system.log.80feb1c4.mjs → system.log.2b2fc11a.mjs} +64 -81
- package/lib/system.log.389af80d.js +1 -0
- package/lib/{system.machine.52e8a4f3.mjs → system.machine.0130e762.mjs} +1 -1
- package/lib/{system.machine.6e46b7a3.js → system.machine.49fc6405.js} +1 -1
- package/lib/{system.notice.b4247147.mjs → system.notice.5f8cd020.mjs} +53 -58
- package/lib/system.notice.a89f4826.js +1 -0
- package/lib/{system.noticereceived.eef2cf6e.mjs → system.noticereceived.51b6353a.mjs} +31 -29
- package/lib/system.noticereceived.5e0773c3.js +1 -0
- package/lib/system.onlineuser.67733846.js +1 -0
- package/lib/{system.onlineuser.de5f62bf.mjs → system.onlineuser.c0a69360.mjs} +22 -15
- package/lib/{system.org.94393315.mjs → system.org.1169fe47.mjs} +3 -3
- package/lib/{system.org.d22168d6.js → system.org.ff54d620.js} +1 -1
- package/lib/{system.permissions.ccbe352d.mjs → system.permissions.cc9a9866.mjs} +3 -3
- package/lib/{system.permissions.3c5c3573.js → system.permissions.e6317c5a.js} +1 -1
- package/lib/{system.plugin.5d47e679.js → system.plugin.3467d572.js} +1 -1
- package/lib/{system.plugin.8caa5d1f.mjs → system.plugin.502a69d8.mjs} +2 -2
- package/lib/{system.pos.caaef4fc.js → system.pos.4aadf86e.js} +1 -1
- package/lib/{system.pos.e4be69c4.mjs → system.pos.8c44c029.mjs} +2 -2
- package/lib/{system.promptmanagement.e73f64a2.js → system.promptmanagement.9ba710d6.js} +1 -1
- package/lib/{system.promptmanagement.1ad89863.mjs → system.promptmanagement.d8565db4.mjs} +7 -7
- package/lib/{system.role.0323ddd5.mjs → system.role.19959d7f.mjs} +228 -175
- package/lib/system.role.890c8ca2.js +1 -0
- package/lib/{system.sumberrules.2babdd81.js → system.sumberrules.068ebe4a.js} +1 -1
- package/lib/{system.sumberrules.42965c1e.mjs → system.sumberrules.087015a4.mjs} +2 -2
- package/lib/{system.team.28168433.mjs → system.team.27cd57f7.mjs} +289 -246
- package/lib/system.team.2b28502b.js +1 -0
- package/lib/{system.teammembers.08f3ce38.mjs → system.teammembers.4056d586.mjs} +78 -40
- package/lib/system.teammembers.e3baf783.js +1 -0
- package/lib/{system.timers.040b9bce.mjs → system.timers.6f61bfe1.mjs} +2 -2
- package/lib/{system.timers.310b3710.js → system.timers.cb0a3bd0.js} +1 -1
- package/lib/{system.translation.c0068d8f.mjs → system.translation.9b88fbf2.mjs} +7 -7
- package/lib/{system.translation.a4396166.js → system.translation.f3884a0a.js} +1 -1
- package/lib/{system.user.20a5e7b4.js → system.user.3bd95871.js} +5 -5
- package/lib/{system.user.84e77277.mjs → system.user.bdf2613e.mjs} +101 -69
- package/lib/{system.useraffiliation.fb961d98.mjs → system.useraffiliation.63b6bb36.mjs} +3 -3
- package/lib/{system.useraffiliation.307e3cd7.js → system.useraffiliation.7db6e13c.js} +1 -1
- package/lib/{system.webresource.2d0ab7a6.mjs → system.webresource.c36d6792.mjs} +16 -18
- package/lib/system.webresource.ede248a8.js +1 -0
- package/lib/{system.welcome.aaac4a40.mjs → system.welcome.14785b50.mjs} +1 -1
- package/lib/{system.welcome.67d20fa4.js → system.welcome.c9eefa06.js} +1 -1
- package/locale/en_US.js +30 -5
- package/locale/id_ID.js +30 -5
- package/locale/vi_VN.js +1971 -1946
- package/locale/zh_CN.js +30 -5
- package/package.json +1 -1
- package/lib/main.9c85b10c.js +0 -1
- package/lib/main.a794f7cf.js +0 -1
- package/lib/messages.fa3d97b5.js +0 -9
- package/lib/system.config.6aae9ea6.js +0 -1
- package/lib/system.file.001a01bc.js +0 -1
- package/lib/system.log.f7afb251.js +0 -1
- package/lib/system.notice.365ddd35.js +0 -1
- package/lib/system.noticereceived.5545acf8.js +0 -1
- package/lib/system.onlineuser.fd9fdc66.js +0 -1
- package/lib/system.role.b5b55ddd.js +0 -1
- package/lib/system.team.a3527834.js +0 -1
- package/lib/system.teammembers.4b11e49b.js +0 -1
- package/lib/system.webresource.0382b6b1.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as r, n as l } from "./chartbi.
|
|
2
|
-
import { g as w, s as b } from "./system.account.
|
|
3
|
-
import { t as u, m as _, a as v, n as T } from "./messages.
|
|
4
|
-
import { g as $, a as R } from "./system.fieldsecurity.
|
|
5
|
-
import "./system.email.
|
|
1
|
+
import { m as r, n as l } from "./chartbi.eb4dd0af.mjs";
|
|
2
|
+
import { g as w, s as b } from "./system.account.7c6ea20c.mjs";
|
|
3
|
+
import { t as u, m as _, a as v, n as T } from "./messages.a739f4fc.mjs";
|
|
4
|
+
import { g as $, a as R } from "./system.fieldsecurity.9d40595f.mjs";
|
|
5
|
+
import "./system.email.db5da8d7.mjs";
|
|
6
6
|
function g(t) {
|
|
7
7
|
return window.axios({
|
|
8
8
|
url: "/sysNotice/page",
|
|
@@ -54,7 +54,7 @@ function L(t) {
|
|
|
54
54
|
}
|
|
55
55
|
function _e(t) {
|
|
56
56
|
return window.axios({
|
|
57
|
-
url: "/sysMessage/
|
|
57
|
+
url: "/sysMessage/page",
|
|
58
58
|
method: "get",
|
|
59
59
|
params: t
|
|
60
60
|
});
|
|
@@ -66,14 +66,7 @@ function ve(t) {
|
|
|
66
66
|
data: t
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
|
-
function Te(t) {
|
|
70
|
-
return window.axios({
|
|
71
|
-
url: "/sysMessage/markAsRead",
|
|
72
|
-
method: "post",
|
|
73
|
-
data: t
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
function $e(t, e) {
|
|
69
|
+
function Te(t, e) {
|
|
77
70
|
return window.axios({
|
|
78
71
|
url: e || "/sysEvents/month",
|
|
79
72
|
method: "get",
|
|
@@ -159,7 +152,7 @@ var P = function() {
|
|
|
159
152
|
null
|
|
160
153
|
);
|
|
161
154
|
const h = N.exports;
|
|
162
|
-
function
|
|
155
|
+
function $e(t) {
|
|
163
156
|
return window.axios({
|
|
164
157
|
url: "/sysOrg/tree",
|
|
165
158
|
method: "get",
|
|
@@ -173,35 +166,35 @@ function F(t) {
|
|
|
173
166
|
params: t
|
|
174
167
|
});
|
|
175
168
|
}
|
|
176
|
-
function
|
|
169
|
+
function Re(t) {
|
|
177
170
|
return window.axios({
|
|
178
171
|
url: "/sysOrg/add",
|
|
179
172
|
method: "post",
|
|
180
173
|
data: t
|
|
181
174
|
});
|
|
182
175
|
}
|
|
183
|
-
function
|
|
176
|
+
function Ce(t) {
|
|
184
177
|
return window.axios({
|
|
185
178
|
url: "/sysOrg/edit",
|
|
186
179
|
method: "post",
|
|
187
180
|
data: t
|
|
188
181
|
});
|
|
189
182
|
}
|
|
190
|
-
function
|
|
183
|
+
function Se(t) {
|
|
191
184
|
return window.axios({
|
|
192
185
|
url: "/sysOrg/delete",
|
|
193
186
|
method: "post",
|
|
194
187
|
data: t
|
|
195
188
|
});
|
|
196
189
|
}
|
|
197
|
-
function
|
|
190
|
+
function Ke(t) {
|
|
198
191
|
return window.axios({
|
|
199
192
|
url: "/SysRoleDataControl/detail",
|
|
200
193
|
method: "get",
|
|
201
194
|
params: t
|
|
202
195
|
});
|
|
203
196
|
}
|
|
204
|
-
function
|
|
197
|
+
function Le(t) {
|
|
205
198
|
return window.axios({
|
|
206
199
|
url: "/SysRoleDataControl/save",
|
|
207
200
|
method: "post",
|
|
@@ -221,25 +214,25 @@ const D = {
|
|
|
221
214
|
transKey: "gd.notice.title",
|
|
222
215
|
prop: "title",
|
|
223
216
|
label: "\u6807\u9898",
|
|
217
|
+
width: "260",
|
|
224
218
|
type: "slot",
|
|
225
219
|
slotType: "title",
|
|
226
220
|
align: "left",
|
|
227
|
-
fixed: !0
|
|
228
|
-
showOverflowTooltip: !0
|
|
221
|
+
fixed: !0
|
|
229
222
|
},
|
|
230
223
|
{
|
|
231
224
|
transKey: "gd.notice.type",
|
|
232
225
|
prop: "type",
|
|
226
|
+
width: "120",
|
|
233
227
|
label: "\u7C7B\u578B",
|
|
234
228
|
align: "left",
|
|
235
229
|
type: "slot",
|
|
236
|
-
slotType: "type"
|
|
237
|
-
align: "center",
|
|
238
|
-
showOverflowTooltip: !0
|
|
230
|
+
slotType: "type"
|
|
239
231
|
},
|
|
240
232
|
{
|
|
241
233
|
transKey: "gd.notice.status",
|
|
242
234
|
prop: "status",
|
|
235
|
+
width: "120",
|
|
243
236
|
label: "\u72B6\u6001",
|
|
244
237
|
align: "left",
|
|
245
238
|
type: "slot",
|
|
@@ -248,18 +241,21 @@ const D = {
|
|
|
248
241
|
{
|
|
249
242
|
transKey: "gd.notice.createdTime",
|
|
250
243
|
prop: "createdtime",
|
|
244
|
+
width: "180",
|
|
251
245
|
label: "\u521B\u5EFA\u65F6\u95F4",
|
|
252
246
|
align: "center"
|
|
253
247
|
},
|
|
254
248
|
{
|
|
255
249
|
transKey: "gd.notice.publicTime",
|
|
256
250
|
prop: "publictime",
|
|
251
|
+
width: "180",
|
|
257
252
|
label: "\u53D1\u5E03\u65F6\u95F4",
|
|
258
253
|
align: "center"
|
|
259
254
|
},
|
|
260
255
|
{
|
|
261
256
|
transKey: "gd.notice.publicUserName",
|
|
262
257
|
prop: "publicusername",
|
|
258
|
+
width: "200",
|
|
263
259
|
label: "\u53D1\u5E03\u4EBA",
|
|
264
260
|
align: "left"
|
|
265
261
|
}
|
|
@@ -592,49 +588,49 @@ function q(t) {
|
|
|
592
588
|
params: t
|
|
593
589
|
});
|
|
594
590
|
}
|
|
595
|
-
function
|
|
591
|
+
function xe(t) {
|
|
596
592
|
return window.axios({
|
|
597
593
|
url: "/sysApps/detail",
|
|
598
594
|
method: "get",
|
|
599
595
|
params: t
|
|
600
596
|
});
|
|
601
597
|
}
|
|
602
|
-
function
|
|
598
|
+
function Pe(t) {
|
|
603
599
|
return window.axios({
|
|
604
600
|
url: "/sysApps/add",
|
|
605
601
|
method: "post",
|
|
606
602
|
data: t
|
|
607
603
|
});
|
|
608
604
|
}
|
|
609
|
-
function
|
|
605
|
+
function ke(t) {
|
|
610
606
|
return window.axios({
|
|
611
607
|
url: "/sysApps/edit",
|
|
612
608
|
method: "post",
|
|
613
609
|
data: t
|
|
614
610
|
});
|
|
615
611
|
}
|
|
616
|
-
function
|
|
612
|
+
function Ne(t) {
|
|
617
613
|
return window.axios({
|
|
618
614
|
url: "/sysApps/delete",
|
|
619
615
|
method: "post",
|
|
620
616
|
data: t
|
|
621
617
|
});
|
|
622
618
|
}
|
|
623
|
-
function
|
|
619
|
+
function Fe(t) {
|
|
624
620
|
return window.axios({
|
|
625
621
|
url: "/SysPublishhistory/add",
|
|
626
622
|
method: "post",
|
|
627
623
|
data: t
|
|
628
624
|
});
|
|
629
625
|
}
|
|
630
|
-
function
|
|
626
|
+
function De(t) {
|
|
631
627
|
return window.axios({
|
|
632
628
|
url: "/SysPublishhistory/list",
|
|
633
629
|
method: "post",
|
|
634
630
|
data: t
|
|
635
631
|
});
|
|
636
632
|
}
|
|
637
|
-
const
|
|
633
|
+
const I = {
|
|
638
634
|
data() {
|
|
639
635
|
return {
|
|
640
636
|
tableColumns: [
|
|
@@ -692,7 +688,7 @@ const M = {
|
|
|
692
688
|
};
|
|
693
689
|
}
|
|
694
690
|
};
|
|
695
|
-
const
|
|
691
|
+
const M = {
|
|
696
692
|
props: {
|
|
697
693
|
height: {
|
|
698
694
|
type: Number,
|
|
@@ -703,7 +699,7 @@ const I = {
|
|
|
703
699
|
default: () => []
|
|
704
700
|
}
|
|
705
701
|
},
|
|
706
|
-
mixins: [u,
|
|
702
|
+
mixins: [u, I],
|
|
707
703
|
data() {
|
|
708
704
|
return {
|
|
709
705
|
selectedRows: [],
|
|
@@ -751,22 +747,22 @@ const I = {
|
|
|
751
747
|
this.getSysAppsPage();
|
|
752
748
|
}
|
|
753
749
|
};
|
|
754
|
-
var
|
|
750
|
+
var j = function() {
|
|
755
751
|
var e = this, s = e._self._c;
|
|
756
752
|
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
753
|
return [s("gd-tooltip", { attrs: { rowKey: "name", row: n, highlight: "" } })];
|
|
758
754
|
} }]) })], 1)]);
|
|
759
|
-
},
|
|
760
|
-
|
|
761
|
-
U,
|
|
755
|
+
}, U = [], V = /* @__PURE__ */ l(
|
|
756
|
+
M,
|
|
762
757
|
j,
|
|
758
|
+
U,
|
|
763
759
|
!1,
|
|
764
760
|
null,
|
|
765
761
|
"4f37cfa6",
|
|
766
762
|
null,
|
|
767
763
|
null
|
|
768
764
|
);
|
|
769
|
-
const
|
|
765
|
+
const Q = V.exports, G = {
|
|
770
766
|
data() {
|
|
771
767
|
return {
|
|
772
768
|
tableColumns: [
|
|
@@ -830,7 +826,7 @@ const J = {
|
|
|
830
826
|
default: () => []
|
|
831
827
|
}
|
|
832
828
|
},
|
|
833
|
-
mixins: [u,
|
|
829
|
+
mixins: [u, G],
|
|
834
830
|
data() {
|
|
835
831
|
return {
|
|
836
832
|
selectedRows: [],
|
|
@@ -1085,7 +1081,7 @@ const oe = {
|
|
|
1085
1081
|
enterType: ""
|
|
1086
1082
|
};
|
|
1087
1083
|
},
|
|
1088
|
-
components: { noticeUser: ae, notcieOrg: E, noticeRole:
|
|
1084
|
+
components: { noticeUser: ae, notcieOrg: E, noticeRole: Q, noticeTeam: Z },
|
|
1089
1085
|
computed: {
|
|
1090
1086
|
getButtons() {
|
|
1091
1087
|
return this.sysViewButtons.filter((t) => !(this.enterType == "1" && t.functionName === "handleSubmit"));
|
|
@@ -1667,24 +1663,23 @@ h.install = function(t) {
|
|
|
1667
1663
|
};
|
|
1668
1664
|
export {
|
|
1669
1665
|
p as G,
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1666
|
+
$e as a,
|
|
1667
|
+
Ce as b,
|
|
1668
|
+
Re as c,
|
|
1673
1669
|
h as d,
|
|
1674
|
-
|
|
1675
|
-
|
|
1670
|
+
Le as e,
|
|
1671
|
+
Ke as f,
|
|
1676
1672
|
F as g,
|
|
1677
1673
|
_e as h,
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
ke as t
|
|
1674
|
+
ve as i,
|
|
1675
|
+
y as j,
|
|
1676
|
+
q as k,
|
|
1677
|
+
Te as l,
|
|
1678
|
+
De as m,
|
|
1679
|
+
xe as n,
|
|
1680
|
+
Fe as o,
|
|
1681
|
+
Ne as p,
|
|
1682
|
+
ke as q,
|
|
1683
|
+
Pe as r,
|
|
1684
|
+
Se as s
|
|
1690
1685
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("./chartbi.114d32d7.js"),y=require("./system.account.3181bcd6.js"),l=require("./messages.828b6ed8.js"),w=require("./system.fieldsecurity.eb217079.js");require("./system.email.4bf52f2d.js");function f(t){return window.axios({url:"/sysNotice/page",method:"get",params:t})}function v(t){return window.axios({url:"/sysNotice/add",method:"post",data:t})}function T(t){return window.axios({url:"/sysNotice/edit",method:"post",data:t})}function $(t){return window.axios({url:"/sysNotice/delete",method:"post",data:t})}function p(t){return window.axios({url:"/sysNotice/detail",method:"get",params:t})}function m(t){return window.axios({url:"/sysNotice/changeStatus",method:"post",data:t})}function R(t){return window.axios({url:"/sysNotice/receiversByTypes",method:"get",params:t})}function C(t){return window.axios({url:"/sysMessage/page",method:"get",params:t})}function S(t){return window.axios({url:"/sysMessage/markAllAsRead",method:"post",data:t})}function K(t,e){return window.axios({url:e||"/sysEvents/month",method:"get",params:t})}const L={name:"GdNoticeDetails",props:{modeType:{type:String,default:"dialog"}},data(){return{transKey:"gd.notice.detail",fullscreen:!1,visible:!1,width:"900",confirmLoading:!1,contentRecord:{},sysViewButtons:[],type:"pdf"}},computed:{height(){return this.screenHeight-24-40-36},headTitle(){return this.$i18nt(this.transKey,this.title)},style(){return`height:${this.fullscreen?this.screenHeight-80:this.screenHeight-240}px;`},...o.mapGetters(["tablePageSize","tableSize","screenHeight","labelPosition","formMode"])},methods:{open(t){this.fullscreen=!1,this.visible=!0,this.confirmLoading=!0,this.sysNoticeDetail(t.id)},sysNoticeDetail(t){this.fullscreen=!1,p({id:t}).then(e=>{e.code===200?(this.contentRecord=e.data,this.$emit("onLoadCompleted"),e.data.attachment&&this.$nextTick(()=>{setTimeout(()=>{let s={name:`${e.data.title}.${this.type}`,fileId:e.data.attachment,fullscreen:!1};this.$refs.filePreview.open(s)},0)})):this.$message.error(e.message),this.confirmLoading=!1})},handleCancel(){this.visible=!1,this.contentRecord={}},closed(){this.visible=!1},toggleFullscreen(){this.fullscreen=!this.fullscreen},doEvent(t){const e=t.item.functionName;this[e]&&this[e]()}}};var x=function(){var e=this,s=e._self._c;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){e.visible=i},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)},P=[],k=o.normalizeComponent(L,x,P,!1,null,"5cb794ba",null,null);const u=k.exports;function N(t){return window.axios({url:"/sysOrg/tree",method:"get",params:t})}function b(t){return window.axios({url:"/sysOrg/page",method:"get",params:t})}function F(t){return window.axios({url:"/sysOrg/add",method:"post",data:t})}function D(t){return window.axios({url:"/sysOrg/edit",method:"post",data:t})}function O(t){return window.axios({url:"/sysOrg/delete",method:"post",data:t})}function B(t){return window.axios({url:"/SysRoleDataControl/detail",method:"get",params:t})}function z(t){return window.axios({url:"/SysRoleDataControl/save",method:"post",data:t})}const A={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.notice.title",prop:"title",label:"\u6807\u9898",width:"260",type:"slot",slotType:"title",align:"left",fixed:!0},{transKey:"gd.notice.type",prop:"type",width:"120",label:"\u7C7B\u578B",align:"left",type:"slot",slotType:"type"},{transKey:"gd.notice.status",prop:"status",width:"120",label:"\u72B6\u6001",align:"left",type:"slot",slotType:"status"},{transKey:"gd.notice.createdTime",prop:"createdtime",width:"180",label:"\u521B\u5EFA\u65F6\u95F4",align:"center"},{transKey:"gd.notice.publicTime",prop:"publictime",width:"180",label:"\u53D1\u5E03\u65F6\u95F4",align:"center"},{transKey:"gd.notice.publicUserName",prop:"publicusername",width:"200",label:"\u53D1\u5E03\u4EBA",align:"left"}],formColumns:[{transKey:"gd.notice.title",effectType:"input",prop:"title",label:"\u6807\u9898",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.notice.type",prop:"type",label:"\u7C7B\u578B",effectType:"radio",dictTypeCode:"notice_type",rules:[{required:!0,message:"\u8BF7\u9009\u62E9",transKey:"gd.placeholder.select",trigger:"change"}],type:"slot",slotType:"notice_type"},{transKey:"gd.notice.noticeBucket",effectType:"editor",prop:"content",label:"\u5185\u5BB9",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.notice.attachment",effectType:"file",prop:"fileList",label:"\u9644\u4EF6",accept:".pdf",placeholder:"\u8BF7\u4E0A\u4F20",fileTitle:"\u4E0A\u4F20PDF\u6587\u4EF6",limit:1,rules:[],type:"slot",slotType:"fileList"},{transKey:"gd.notice.notifyTo",effectType:"notifyingPerson",prop:"notifyingPerson",label:"\u6536\u5230\u901A\u77E5\u4EBA",type:"slot",slotType:"notifyingPerson",rules:[],disabled:!1}],noticeFormColumns:[],tableButtons:[{displayName:"\u65B0\u589E",functionName:"add",show:!0,transKey:"gd.btn.add",icon:"el-icon-plus",name:"sysNotice:add"},{displayName:"\u901A\u77E5\u4EBA",functionName:"notifyingPerson",show:!0,transKey:"gd.notice.notifyingPerson",icon:"el-icon-bell",name:"sysNotice:notifyingPerson"},{displayName:"\u7F16\u8F91",functionName:"edit",show:!0,transKey:"gd.btn.edit",icon:"el-icon-edit",name:"sysNotice:edit"},{displayName:"\u5220\u9664",functionName:"del",show:!0,transKey:"gd.btn.del",icon:"el-icon-delete",btnType:"danger",name:"sysNotice:delete"},{displayName:"\u53D1\u5E03",functionName:"release",show:!0,btnType:"danger",transKey:"gd.btn.release",icon:"el-icon-s-promotion",name:"sysNotice:changeStatus"},{displayName:"\u64A4\u56DE",functionName:"rollback",show:!0,transKey:"gd.btn.withdraw",icon:"el-icon-refresh-left",btnType:"danger",name:"sysNotice:changeStatus"},{displayName:"\u67E5\u770B",functionName:"read",show:!0,transKey:"gd.btn.view",icon:"el-icon-reading",name:"sysNotice:detail"}],formButtons:[{displayName:"\u5B58\u4E3A\u8349\u7A3F",functionName:"saveDraft",show:!0,transKey:"gd.btn.saveDraft",icon:"el-icon-tickets",validate:!0},{displayName:"\u53D1\u5E03",functionName:"releaseTip",show:!0,btnType:"danger",transKey:"gd.btn.release",icon:"el-icon-s-promotion",validate:!0}],noticeFormButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked",validate:!0}],tableQueries:[{transKey:"gd.notice.noticeOriginName",prop:"searchValue",label:"\u5173\u952E\u8BCD",effectType:"input",rules:[]},{transKey:"gd.sysConfig.type",prop:"type",label:"\u7C7B\u578B",effectType:"select",dictTypeCode:"notice_type",rules:[]}]}}},H={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.org.displayName",prop:"name",label:"\u673A\u6784\u540D\u79F0",minWidth:"260",type:"slot",slotType:"name",align:"left",fixed:!0,renderHeader:(t,...e)=>this.renderHeader(t,...e,{effectType:"input"}),showOverflowTooltip:!0},{transKey:"gd.org.type",prop:"orgType",label:"\u673A\u6784\u7C7B\u578B",minWidth:"220",type:"slot",slotType:"orgType",align:"left",showOverflowTooltip:!0},{transKey:"gd.org.code",prop:"code",width:"200",label:"\u552F\u4E00\u7F16\u7801",align:"left",showOverflowTooltip:!0},{transKey:"gd.org.sort",prop:"sort",width:"120",label:"\u6392\u5E8F",align:"left"},{transKey:"gd.org.remark",prop:"remark",minWidth:"300",type:"slot",slotType:"remark",label:"\u5907\u6CE8",align:"left"}],tableQueries:[{transKey:"gd.process.tableSor",prop:"tableId",label:"\u8868\u540D\u79F0",effectType:"selectTable",rules:[]},{transKey:"gd.flow.state",prop:"stateCodes",label:"\u72B6\u6001",effectType:"select",dictTypeCode:"state_code",rules:[]}]}}};const E={props:{height:{type:Number,default:0},selectOrgRow:{type:Array,default:()=>[]}},mixins:[l.tablesFilter,H],data(){return{selectedRows:[],selectedRowKeys:[],queryParam:{},loadData:t=>b(Object.assign(t,this.queryParam)).then(e=>(setTimeout(()=>{let s=[...this.selectOrgRow];this.selectedRowKeys=[...s],this.onSelectChange(s,[])},10),e.data)),detail:{}}},computed:{getHeight(){return this.screenHeight-500},styled(){return this.$hasPerm("sysFlowProcess:edit")?`color:${this.primaryColor};cursor: pointer;`:""},...o.mapGetters(["tableLists","tablePageSize","tableSize","screenHeight","labelPosition","formMode","primaryColor"])},components:{},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("ok",this.selectedRowKeys)},refresh(){this.$refs.table.refresh()},dictSwitch(t,e){let s=this.$options.filters.dictData(e).filter(i=>i.code==t)[0];return s!=null&&s.colour?s.colour:null},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var q=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,filtering:!1,height:e.getHeight,initialLoading:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({column:i,row:n}){return[s("gd-tooltip",{attrs:{rowKey:"name",row:n,highlight:""}})]}},{key:"orgType",fn:function(i){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))+" ")])]}},{key:"remark",fn:function({column:i,row:n}){return[s("gd-tooltip",{attrs:{rowKey:"remark",row:n}})]}}])})],1)])},I=[],M=o.normalizeComponent(E,q,I,!1,null,"b1509975",null,null);const j=M.exports;function _(t){return window.axios({url:"/sysApps/page",method:"get",params:t})}function U(t){return window.axios({url:"/sysApps/detail",method:"get",params:t})}function V(t){return window.axios({url:"/sysApps/add",method:"post",data:t})}function G(t){return window.axios({url:"/sysApps/edit",method:"post",data:t})}function Q(t){return window.axios({url:"/sysApps/delete",method:"post",data:t})}function J(t){return window.axios({url:"/SysPublishhistory/add",method:"post",data:t})}function W(t){return window.axios({url:"/SysPublishhistory/list",method:"post",data:t})}const X={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.user.roleName",prop:"name",label:"\u89D2\u8272\u540D\u79F0",type:"slot",slotType:"name",align:"left",fixed:!0,showOverflowTooltip:!0},{transKey:"gd.org.code",prop:"code",label:"\u552F\u4E00\u7F16\u7801",align:"left",showOverflowTooltip:!0},{transKey:"gd.org.sort",prop:"sort",width:"200",label:"\u6392\u5E8F",align:"left"},{transKey:"gd.org.remark",prop:"remark",label:"\u5907\u6CE8",align:"left",showOverflowTooltip:!0}],tableQueries:[{transKey:"gd.process.tableSor",prop:"tableId",label:"\u8868\u540D\u79F0",effectType:"selectTable",rules:[]},{transKey:"gd.flow.state",prop:"stateCodes",label:"\u72B6\u6001",effectType:"select",dictTypeCode:"state_code",rules:[]}]}}};const Y={props:{height:{type:Number,default:0},selectRoleRow:{type:Array,default:()=>[]}},mixins:[l.tablesFilter,X],data(){return{selectedRows:[],selectedRowKeys:[],queryParam:{sysAppsId:""},loadData:t=>w.getRolePage(Object.assign(t,this.queryParam)).then(e=>(setTimeout(()=>{let s=[...this.selectRoleRow];this.selectedRowKeys=[...s],this.onSelectChange(s,[])},10),e.data)),detail:{}}},computed:{getHeight(){return this.screenHeight-500},styled(){return this.$hasPerm("sysFlowProcess:edit")?`color:${this.primaryColor};cursor: pointer;`:""},...o.mapGetters(["tableLists","tablePageSize","tableSize","screenHeight","labelPosition","formMode","primaryColor"])},components:{},methods:{getSysAppsPage(){_().then(t=>{t.success&&(this.queryParam.sysAppsId=t.data.rows[0].id)})},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("ok",this.selectedRowKeys)},refresh(){this.$refs.table.refresh()},dictSwitch(t,e){let s=this.$options.filters.dictData(e).filter(i=>i.code==t)[0];return s!=null&&s.colour?s.colour:null},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}},created(){this.getSysAppsPage()}};var Z=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,filtering:!1,height:e.getHeight,initialLoading:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({column:i,row:n}){return[s("gd-tooltip",{attrs:{rowKey:"name",row:n,highlight:""}})]}}])})],1)])},ee=[],te=o.normalizeComponent(Y,Z,ee,!1,null,"4f37cfa6",null,null);const se=te.exports,ie={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.fieldSecurity.name",prop:"name",label:"\u540D\u79F0",type:"slot",slotType:"name",align:"left",showOverflowTooltip:!0},{transKey:"gd.fieldSecurity.teamType",prop:"teamType",label:"\u56E2\u961F\u7C7B\u578B",align:"left",type:"slot",slotType:"teamType",showOverflowTooltip:!0},{transKey:"gd.fieldSecurity.description",prop:"description",label:"\u8BF4\u660E",type:"slot",slotType:"description",align:"left"}],tableQueries:[{transKey:"gd.process.tableSor",prop:"tableId",label:"\u8868\u540D\u79F0",effectType:"selectTable",rules:[]},{transKey:"gd.flow.state",prop:"stateCodes",label:"\u72B6\u6001",effectType:"select",dictTypeCode:"state_code",rules:[]}]}}};const ne={props:{height:{type:Number,default:0},selectTeamRow:{type:Array,default:()=>[]}},mixins:[l.tablesFilter,ie],data(){return{selectedRows:[],selectedRowKeys:[],queryParam:{},loadData:t=>w.getSysTeamPage(Object.assign(t,this.queryParam)).then(e=>(setTimeout(()=>{let s=[...this.selectTeamRow];this.selectedRowKeys=[...s],this.onSelectChange(s,[])},10),e.data)),detail:{}}},computed:{getHeight(){return this.screenHeight-500},styled(){return this.$hasPerm("sysFlowProcess:edit")?`color:${this.primaryColor};cursor: pointer;`:""},...o.mapGetters(["tableLists","tablePageSize","tableSize","screenHeight","labelPosition","formMode","primaryColor"])},components:{},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("ok",this.selectedRowKeys)},refresh(){this.$refs.table.refresh()},dictSwitch(t,e){let s=this.$options.filters.dictData(e).filter(i=>i.code==t)[0];return s!=null&&s.colour?s.colour:null},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var re=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,filtering:!1,height:e.getHeight,initialLoading:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"name",fn:function({column:i,row:n}){return[s("span",[e._v(" "+e._s(n.name)+" ")])]}},{key:"teamType",fn:function({column:i,row:n}){return[s("span",[e._v(" "+e._s(e._f("dictType")("TeamType",n.teamtype))+" ")])]}},{key:"description",fn:function({column:i,row:n}){return[e._v(" "+e._s(n.description)+" ")]}}])})],1)])},ae=[],oe=o.normalizeComponent(ne,re,ae,!1,null,"1c4840a6",null,null);const le=oe.exports,ce={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.user.account",prop:"account",label:"\u8D26\u53F7",width:"220",type:"slot",slotType:"account",align:"left",fixed:!0,showOverflowTooltip:!0},{transKey:"gd.user.name",prop:"name",label:"\u59D3\u540D",width:"160",align:"left",showOverflowTooltip:!0},{transKey:"gd.user.sex",prop:"gender",width:"120",label:"\u6027\u522B",type:"slot",slotType:"gender",align:"left",showOverflowTooltip:!0},{transKey:"gd.org.displayName",prop:"orgname",label:"\u673A\u6784\u540D\u79F0",width:"180",align:"left",showOverflowTooltip:!0},{transKey:"gd.user.phone",prop:"phone",width:"160",label:"\u624B\u673A",align:"left"},{transKey:"gd.user.status",prop:"statecodes",label:"\u72B6\u6001",width:"120",type:"slot",slotType:"statecodes",align:"center",dictTypeCode:"state_code",renderHeader:(t,...e)=>this.renderHeader(t,...e,{effectType:"checkbox",dictTypeCode:"state_code"})}],tableQueries:[{transKey:"gd.application.name",prop:"name",label:"\u540D\u79F0",effectType:"input",rules:[]}]}}};const de={props:{height:{type:Number,default:300},selectUserRow:{type:Array,default:()=>[]}},mixins:[l.tablesFilter,ce],data(){return{selectedRows:[],selectedRowKeys:[],queryParam:{searchValue:""},loadData:t=>{let e=JSON.parse(JSON.stringify(this.selectUserRow));return y.getUserPage(Object.assign(t,this.queryParam)).then(s=>{let i=[];return e.length>0?i=[...JSON.parse(JSON.stringify(e))].map(String):i=[...JSON.parse(JSON.stringify(this.selectUserRow))].map(String),this.$nextTick(()=>{this.selectedRowKeys=[...i],this.onSelectChange(i,[])}),s.data})},detail:{}}},computed:{getHeight(){return this.screenHeight-500},styled(){return this.$hasPerm("sysFlowProcess:edit")?`color:${this.primaryColor};cursor: pointer;`:""},...o.mapGetters(["tableLists","tablePageSize","tableSize","screenHeight","labelPosition","formMode","primaryColor"])},components:{},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e,this.$emit("ok",this.selectedRowKeys)},saveQueries(t){this.queryParam={...t},this.refresh()},refresh(){this.$refs.table.refresh()},init(t){this.queryParam.searchValue="",this.$refs.table.refresh()},dictSwitch(t,e){let s=this.$options.filters.dictData(e).filter(i=>i.code==t)[0];return s!=null&&s.colour?s.colour:null},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}},mounted(){}};var ue=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,filtering:!1,height:e.getHeight,initialLoading:!0,showPagination:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"account",fn:function({column:i,row:n}){return[s("gd-tooltip",{attrs:{rowKey:"account",row:n,highlight:""}})]}},{key:"gender",fn:function(i){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)]}},{key:"statecodes",fn:function(i){return[s("div",{staticStyle:{cursor:"pointer"}},[i.row.statecodes==1?s("i",{staticClass:"gd-icons gd-icon-xuanzhong active-color",staticStyle:{"font-size":"18px"}}):s("i",{staticClass:"gd-icons gd-icon-jinyong1",staticStyle:{"font-size":"18px",color:"#999"}})])]}},{key:"operator",fn:function(){return[s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorl",staticStyle:{width:"270px"}},[s("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.user.keywordTip","\u8BF7\u8F93\u5165\u59D3\u540D\u3001\u8D26\u53F7\u3001\u624B\u673A\u53F7\u5173\u952E\u8BCD"),clearable:""},nativeOn:{keyup:function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"enter",13,i.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.searchValue,callback:function(i){e.$set(e.queryParam,"searchValue",i)},expression:"queryParam.searchValue"}}),s("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[s("i",{staticClass:"el-input__icon el-icon-search"})])],1)])]},proxy:!0}])})],1)])},he=[],pe=o.normalizeComponent(de,ue,he,!1,null,"b79cacd5",null,null);const ge=pe.exports;const fe={data(){return{confirmLoading:!0,sysViewButtons:[{displayName:"\u786E\u5B9A",functionName:"handleSubmit",show:!0,transKey:"gd.btn.confirm",icon:"el-icon-document-checked"}],type:"noticeuser",fullScreen:!1,width:"1000px",visible:!1,height:300,userRowList:[],teamRowList:[],roleRowList:[],orgRowList:[],recordData:"",enterType:""}},components:{noticeUser:ge,notcieOrg:j,noticeRole:se,noticeTeam:le},computed:{getButtons(){return this.sysViewButtons.filter(t=>!(this.enterType=="1"&&t.functionName==="handleSubmit"))},...o.mapGetters(["screenHeight","tableLists","primaryColor"])},methods:{toggleFullscreen(){this.fullScreen=!this.fullScreen},init(t,e){this.recordData=t,this.fullScreen=!1,this.confirmLoading=!1,this.visible=!0,this.type="noticeuser",this.userRowList=[],this.teamRowList=[],this.roleRowList=[],this.orgRowList=[],this.enterType=e,t&&(this.getData(t,e),setTimeout(()=>{this.$refs.noticeuserRef.init(this.userRowList)},100))},getData(t,e){R({id:e=="1"?t[0]:t}).then(s=>{s.data.receivergroups.forEach(n=>{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)})})},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},tabChange(t){this.$nextTick(()=>{setTimeout(()=>{},0)})},handleCancel(){this.visible=!1,this.confirmLoading=!1,this.userRowList=[],this.teamRowList=[],this.roleRowList=[],this.orgRowList=[]},handleSubmit(){let t=[{receiverType:"1",receiverIdList:this.userRowList.map(Number)},{receiverType:"2",receiverIdList:this.roleRowList.map(Number)},{receiverType:"3",receiverIdList:this.teamRowList.map(Number)},{receiverType:"4",receiverIdList:this.orgRowList.map(Number)}];this.handleCancel(),this.$emit("ok",t)},selectUser(t){this.userRowList=t},selectTeam(t){this.teamRowList=t},selectRole(t){this.roleRowList=t},selectOrg(t){this.orgRowList=t}}};var me=function(){var e=this,s=e._self._c;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){e.visible=i},closed:e.handleCancel}},[s("gd-modal-title",{attrs:{slot:"title",title:`${e.$i18nt("gd.notice.notifyingPerson","\u901A\u77E5")}`,fullscreen:e.fullScreen,buttons:e.getButtons,confirmLoading:e.confirmLoading,closed:"handleCancel",showClose:!0},on:{changeEvent:e.doEvent,toggleFullscreen:e.toggleFullscreen},slot:"title"}),s("div",{directives:[{name:"loading",rawName:"v-loading",value:e.confirmLoading,expression:"confirmLoading"}]},[s("div",{staticClass:"setting-navs",class:e.fullScreen?"modal-bodyq":"modal-body"},[s("el-tabs",{attrs:{type:"card"},on:{"tab-click":e.tabChange},model:{value:e.type,callback:function(i){e.type=i},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)},ye=[],we=o.normalizeComponent(fe,me,ye,!1,null,"62d3bb5d",null,null);const be=we.exports;const _e={name:"GdNotice",props:{height:{type:Number,default:100}},mixins:[l.tablesFilter,A],data(){return{transKey:"gd.btn.add",loadData:t=>f(Object.assign(t,this.queryParam)).then(e=>(this.allData=e.data.rows,e.data)),allData:[],selectedRowKeys:[],selectedRows:[],queryParam:{},formLoading:!1,mockData:[],targetKeys:[],noticeUserIdList:[],status:0,type:"noticeUser",confirmLoading:!1,fileType:"pdf",style:"width: 100%; height: 580px;",headers:{"Content-Type":"multipart/form-data"},fileListFile:[],imgList:[],currentImg:"",ruleFormData:{fileList:"",name:"",notifyingPerson:[],fileid:""},record:{},allEmpty:!0,noticeType:"",fileAccept:["application/pdf"]}},components:{detailForm:u,editNoticeForm:be},computed:{getHeight(){return this.height},getFormColumns(){return this.formColumns.filter(e=>!(e.prop==="notifyingPerson"&&this.transKey==="gd.btn.add"||(this.noticeType==3&&e.prop==="content"?e.rules=[]:this.noticeType!=3&&e.prop==="content"&&(e.rules=[{required:!0,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]),(this.noticeType==1||this.noticeType==2)&&e.prop==="fileList")))},getButtons(){return this.formButtons.filter(t=>!(this.transKey==="gd.btn.add"&&t.functionName==="releaseTip"))},...o.mapGetters(["tablePageSize","tableSize","screenHeight","labelPosition","formMode"])},mounted(){(this.$route.params.id||this.$route.query.id)&&(this.transKey="gd.notice.detail",setTimeout(()=>{this.allData.forEach(t=>{(t.id==this.$route.params.id||t.id==this.$route.query.id)&&this.$refs.detailForm.open(t)})},1e3))},methods:{onSelectChange(t,e){if(this.selectedRowKeys=t,this.selectedRows=e,e.length==0){this.baseHideBtns([],2);return}if(e.length>1){this.baseHideBtns(["\u5220\u9664","\u53D1\u5E03","\u64A4\u56DE","\u7F16\u8F91"],2);return}let s=[],i=e.filter(a=>a.status==0),n=e.filter(a=>a.status==1),r=e.filter(a=>a.status==2);i.length==e.length?s=["\u64A4\u56DE"]:n.length==e.length?s=["\u5220\u9664","\u53D1\u5E03","\u7F16\u8F91"]:r.length==e.length&&(s=["\u64A4\u56DE","\u53D1\u5E03","\u7F16\u8F91"]),this.baseHideBtns(s,2)},baseHideBtns(t,e=1){let s=[...this.tableButtons];s.map(i=>(e===1?i.show=!t.includes(i.id):i.show=!t.includes(i.displayName),i)),this.tableButtons=[...s]},add(){this.transKey="gd.btn.add",this.fileListFile=[],this.ruleFormData={fileList:"",name:"",notifyingPerson:[],fileid:""},this.$refs.editForm.open(null)},noticePerson(t){this.$refs.editNoticeFormRef.init(t.id,"2")},notifyingPerson(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.operateTip","\u8BF7\u9009\u62E9\u8981\u64CD\u4F5C\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.readTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E"));return}this.$refs.editNoticeFormRef.init(this.selectedRowKeys,"1")},edit(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));return}this.sysNoticeDetail(this.selectedRows[0].id),this.transKey="gd.btn.edit",this.$refs.editForm.open(Object.assign({...this.selectedRows[0]},{type:String(this.selectedRows[0].type),content:this.selectedRows[0].content,fileid:this.selectedRows[0].attachment}))},editForm(t){this.transKey="gd.notice.detail",this.$refs.detailForm.open(t)},handleOk(t){this.ruleFormData.notifyingPerson=[],this.ruleFormData.notifyingPerson=t,this.allEmpty=Array.isArray(t)?t.every(e=>!e.receiverIdList||e.receiverIdList.length===0):!0},sbumit({data:t,record:e,btn:s},i,n){if(this.status=s.item.functionName=="releaseTip"?1:0,e!=null){let r={id:t.id,content:t.content,status:this.status,title:t.title,type:t.type,receivergroups:this.ruleFormData.notifyingPerson,attachment:this.ruleFormData.fileid};this.formLoading=!0,T(Object.assign(this.noticeDetail,r)).then(a=>{a.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")+a.message),this.formLoading=!1,this.refresh()})}else{let r={content:t.content,status:this.status,title:t.title,type:t.type,receiverGroups:this.ruleFormData.notifyingPerson,attachment:this.ruleFormData.fileid};this.formLoading=!0,v(r).then(a=>{a.success?(this.refresh(),this.status==1?(this.formLoading=!1,n()):setTimeout(()=>{this.$nextTick(()=>{f({pageNo:1,pageSize:50}).then(c=>{this.allData=c.data.rows;const d=this.allData.filter(g=>g.title==t.title&&g.content==t.content);d.length>0&&(this.transKey="gd.btn.edit",this.sysNoticeDetail(d[0].id),this.$refs.editForm.open(Object.assign({...d[0]},{type:String(d[0].type),content:d[0].content,fileid:d[0].attachment}))),this.formLoading=!1})})},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")+a.message),this.refresh(),this.formLoading=!1)})}},saveQueries(t){this.queryParam=t,this.refresh()},read(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.readTip","\u8BF7\u9009\u62E9\u9700\u8981\u67E5\u770B\u7684\u6570\u636E"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.readTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E"));return}this.$refs.detailForm.open(this.selectedRows[0])},rollback(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));return}this.$confirm(this.$i18nt("gd.https.withdrawContent","\u786E\u8BA4\u64A4\u56DE?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.withdrawOk","\u7ACB\u5373\u64A4\u56DE!"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,e,s)=>{this.rollbackHand(t,e,s)}})},rollbackHand(t,e,s){if(t!=="confirm"){s();return}let i=[];this.selectedRows.forEach(n=>{let r=m({id:n.id,status:2}).then(a=>a);i.push(r)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(n=>{e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0,s();const r=n.filter(a=>!a.success);r.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")+r[0].message),this.refresh()})},release(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91"));return}this.$confirm(this.$i18nt("gd.https.releaseContent","\u786E\u8BA4\u53D1\u5E03?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.releaseOk","\u7ACB\u5373\u53D1\u5E03!"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,e,s)=>{this.releaseHand(t,e,s)}})},releaseHand(t,e,s){if(t!=="confirm"){s();return}let i=[];this.selectedRows.forEach(n=>{let r=m({id:n.id,status:1}).then(a=>a);i.push(r)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(n=>{e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0,s();const r=n.filter(a=>!a.success);r.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")+r[0].message),this.refresh()})},del(){if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.delTip","\u8BF7\u9009\u62E9\u9700\u8981\u5220\u9664\u7684\u6570\u636E!"));return}this.$confirm(this.$i18nt("gd.https.delContent","\u662F\u5426\u5220\u9664\u9009\u4E2D\u6570\u636E?"),this.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:this.$i18nt("gd.https.delOk","\u786E\u5B9A\u5220\u9664"),cancelButtonText:this.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(t,e,s)=>{this.delHand(t,e,s)}})},delHand(t,e,s){if(t!=="confirm"){s();return}let i=[];this.selectedRows.forEach(n=>{let r=$(n).then(a=>a);i.push(r)}),e.confirmButtonLoading=!0,e.cancelButtonLoading=!0,e.showCancelButton=!1,Promise.all(i).then(n=>{s();const r=n.filter(a=>!a.success);r.length===0?this.$message.success(this.$i18nt("gd.https.delSucc","\u5220\u9664\u6210\u529F")):this.$message.error(this.$i18nt("gd.https.delFail","\u5220\u9664\u5931\u8D25")+r[0].message),this.refresh(),e.confirmButtonLoading=!1,e.cancelButtonLoading=!1,e.showCancelButton=!0})},sysNoticeDetail(t){p({id:t}).then(e=>{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})},getMock(t){const e=[],s=[];y.sysUserSelector().then(i=>{this.confirmLoading=!1;for(let n=0;n<i.data.length;n++){const r=i.data[n],a={key:r.id.toString(),label:r.name,description:`description of ${r.name}`};if(t)for(let c=0;c<t.noticeuseridlist.length;c++)a.key===t.noticeuseridlist[c]&&e.push(t.noticeuseridlist[c]);s.push(a)}this.mockData=s,this.targetKeys=e})},handleChange(t){this.targetKeys=t},refresh(){this.$refs.table.refresh()},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},handleFile(t){if(!!["image"].includes("file")&&!t){this.fileList=[];return}},uploadFile(t){if(!this.fileAccept.includes(t.file.type)){this.$message.error(this.$i18nt("gd.view.fileAcceptTip","\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301\uFF01")),t.onError();return}new FormData().append("file",t.file),l.sysFileInfoUploadShop(t).then(i=>{if(i.code===200){const n=i.data.url,a=(this.ruleFormData&&this.ruleFormData.fileList?this.ruleFormData.fileList.split(","):[]).concat([n]);return this.ruleFormData.fileList=a.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}else this.$message.error(this.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25:")+i.message),t.onError()}).catch(i=>{t.onError(i)})},successFile(t,e,s){},removeFile(t,e){let s=[];e.forEach(i=>{i.response&&i.response.id?s.push(i.response.id):s.push(i.url)}),this.ruleFormData.fileList=s.join(","),this.ruleFormData.name="",this.ruleFormData.fileid=""},previewFile(t){let e="";t.response&&t.response.fileOriginName?(e=t.response.fileOriginName,t.response.url):(e=t.name,t.url);const s=e.substr(e.lastIndexOf(".")+1).toLowerCase();["gif","jpeg","png","jpg","JPG","PNG"].includes(s)?this.imgPreview(t.response.id):this.downFile(t)},imgPreview(t){l.sysFileInfoPreview({id:t}).then(e=>{const s=window.URL.createObjectURL(new Blob([e]));this.imgList=[s],this.currentImg=s,this.$refs.imgPreview.open()})},downFile(t){this.$refs.filePreview.open(Object.assign(t,{fileId:t.response&&t.response.fileoriginname?t.response.id:t.fileId}))},getBlobType(t){let e="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";return this.fileType==="pdf"?e="application/pdf":this.fileType==="docx"&&(e="application/msword"),e},infoDownLoad(t){return l.sysFileInfoDetail({id:t}).then(e=>{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=[{name:e.data.fileoriginname,url:e.data.url,response:{id:e.data.id,url:e.data.url,fileoriginname:e.data.fileoriginname}}]})},getDictionary(t){return this.$options.filters.dictData(t)},changeMode(t){this.noticeType=t}}};var ve=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorl"},[s("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.notice.title","\u6807\u9898"),clearable:""},nativeOn:{keyup:function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"enter",13,i.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.SearchValue,callback:function(i){e.$set(e.queryParam,"SearchValue",i)},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)])]},proxy:!0},{key:"title",fn:function({column:i,row:n}){return[s("gd-tooltip",{attrs:{rowKey:"title",row:n,highlight:""},on:{click:e.editForm}})]}},{key:"type",fn:function(i){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))+" ")])]}},{key:"status",fn:function(i){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))+" ")])]}},{key:"filtering",fn:function({colse:i,visible:n}){return[s("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:i,visible:n},on:{save:e.saveQueries}})]}}])})],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}){return[s("el-transfer",{attrs:{data:e.mockData,titles:["\u672A\u9009","\u5DF2\u9009"],filterable:""},on:{change:e.handleChange},model:{value:e.targetKeys,callback:function(r){e.targetKeys=r},expression:"targetKeys"}})]}},{key:"notifyingPerson",fn:function({data:i,column:n}){return[s("el-button",{attrs:{type:e.allEmpty?"danger":"primary"},on:{click:function(r){return e.noticePerson(i)}}},[s("i",{staticClass:"gd-icons el-icon-bell"}),e._v(" "+e._s(e.$i18nt("gd.notice.notice","\u901A\u77E5")))])]}},{key:"notice_type",fn:function({data:i,column:n}){return[s("el-radio-group",{on:{change:e.changeMode},model:{value:i.type,callback:function(r){e.$set(i,"type",r)},expression:"data.type"}},e._l(e.getDictionary("notice_type"),function(r,a){return s("el-radio",{key:r.code,attrs:{label:r.code}},[e._v(" "+e._s(e.$i18nt(`Dynamics.${r.transkey}`,r.name))+" ")])}),1)]}},{key:"fileList",fn:function({data:i,column:n}){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)]}}])}),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)},Te=[],$e=o.normalizeComponent(_e,ve,Te,!1,null,"7a480ef7",null,null);const h=$e.exports;h.install=function(t){t.component(h.name,h)};u.install=function(t){t.component(u.name,u)};exports.GDpackage=h;exports.detailForm=u;exports.getOrgDetail=B;exports.getOrgPage=b;exports.getOrgTree=N;exports.saveOrgDetail=z;exports.sysAppsAdd=V;exports.sysAppsDelete=Q;exports.sysAppsDetail=U;exports.sysAppsEdit=G;exports.sysAppsPage=_;exports.sysMessageMarkAllAsRead=S;exports.sysMessagePage=C;exports.sysMonth=K;exports.sysNoticeDetail=p;exports.sysOrgAdd=F;exports.sysOrgDelete=O;exports.sysOrgEdit=D;exports.sysPublishhistoryAdd=J;exports.sysPublishhistoryList=W;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { m as l, n as o } from "./chartbi.
|
|
2
|
-
import { t as n } from "./messages.
|
|
3
|
-
import { d as c } from "./system.notice.
|
|
4
|
-
function
|
|
1
|
+
import { m as l, n as o } from "./chartbi.eb4dd0af.mjs";
|
|
2
|
+
import { t as n } from "./messages.a739f4fc.mjs";
|
|
3
|
+
import { d as c } from "./system.notice.5f8cd020.mjs";
|
|
4
|
+
function d(t) {
|
|
5
5
|
return window.axios({
|
|
6
6
|
url: "/sysNotice/received",
|
|
7
7
|
method: "get",
|
|
8
8
|
params: t
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
|
-
const
|
|
11
|
+
const u = {
|
|
12
12
|
data() {
|
|
13
13
|
return {
|
|
14
14
|
tableColumns: [
|
|
@@ -21,25 +21,25 @@ const d = {
|
|
|
21
21
|
transKey: "gd.notice.title",
|
|
22
22
|
prop: "title",
|
|
23
23
|
label: "\u6807\u9898",
|
|
24
|
+
width: "260",
|
|
24
25
|
type: "slot",
|
|
25
26
|
slotType: "title",
|
|
26
27
|
align: "left",
|
|
27
|
-
fixed: !0
|
|
28
|
-
showOverflowTooltip: !0
|
|
28
|
+
fixed: !0
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
transKey: "gd.notice.type",
|
|
32
32
|
prop: "type",
|
|
33
|
+
width: "120",
|
|
33
34
|
label: "\u7C7B\u578B",
|
|
34
35
|
align: "left",
|
|
35
36
|
type: "slot",
|
|
36
|
-
slotType: "type"
|
|
37
|
-
align: "center",
|
|
38
|
-
showOverflowTooltip: !0
|
|
37
|
+
slotType: "type"
|
|
39
38
|
},
|
|
40
39
|
{
|
|
41
40
|
transKey: "gd.notice.status",
|
|
42
41
|
prop: "status",
|
|
42
|
+
width: "120",
|
|
43
43
|
label: "\u72B6\u6001",
|
|
44
44
|
align: "left",
|
|
45
45
|
type: "slot",
|
|
@@ -48,12 +48,14 @@ const d = {
|
|
|
48
48
|
{
|
|
49
49
|
transKey: "gd.notice.publicTime",
|
|
50
50
|
prop: "publictime",
|
|
51
|
+
width: "180",
|
|
51
52
|
label: "\u53D1\u5E03\u65F6\u95F4",
|
|
52
53
|
align: "center"
|
|
53
54
|
},
|
|
54
55
|
{
|
|
55
56
|
transKey: "gd.notice.publicUserName",
|
|
56
57
|
prop: "publicusername",
|
|
58
|
+
width: "200",
|
|
57
59
|
label: "\u53D1\u5E03\u4EBA",
|
|
58
60
|
align: "left"
|
|
59
61
|
}
|
|
@@ -83,11 +85,11 @@ const p = {
|
|
|
83
85
|
default: 100
|
|
84
86
|
}
|
|
85
87
|
},
|
|
86
|
-
mixins: [n,
|
|
88
|
+
mixins: [n, u],
|
|
87
89
|
data() {
|
|
88
90
|
return {
|
|
89
91
|
transKey: "gd.btn.add",
|
|
90
|
-
loadData: (t) =>
|
|
92
|
+
loadData: (t) => d(Object.assign(t, this.queryParam)).then((e) => (this.allData = e.data.rows, e.data)),
|
|
91
93
|
selectedRowKeys: [],
|
|
92
94
|
selectedRows: [],
|
|
93
95
|
queryParam: {},
|
|
@@ -131,23 +133,23 @@ const p = {
|
|
|
131
133
|
}
|
|
132
134
|
};
|
|
133
135
|
var f = function() {
|
|
134
|
-
var e = this,
|
|
135
|
-
return
|
|
136
|
-
return [
|
|
136
|
+
var e = this, i = e._self._c;
|
|
137
|
+
return i("div", { staticClass: "gd-page-view" }, [i("div", { staticClass: "page-view-list" }, [i("gd-tables", { ref: "table", attrs: { dataSource: e.loadData, size: e.tableSize, pageSize: e.tablePageSize, columns: e.tableColumns, selectedRowKeys: e.selectedRowKeys, height: e.getHeight, filtering: !0 }, on: { onChange: e.onSelectChange }, scopedSlots: e._u([{ key: "operator", fn: function() {
|
|
138
|
+
return [i("div", { staticClass: "gd-table-operator" }, [i("div", { staticClass: "gd-table-operatorl" }, [i("el-input", { staticClass: "table-operator-input", attrs: { placeholder: e.$i18nt("gd.notice.title", "\u6807\u9898"), clearable: "" }, nativeOn: { keyup: function(a) {
|
|
137
139
|
return !a.type.indexOf("key") && e._k(a.keyCode, "enter", 13, a.key, "Enter") ? null : e.refresh.apply(null, arguments);
|
|
138
140
|
} }, model: { value: e.queryParam.SearchValue, callback: function(a) {
|
|
139
141
|
e.$set(e.queryParam, "SearchValue", a);
|
|
140
|
-
}, expression: "queryParam.SearchValue" } }),
|
|
141
|
-
}, proxy: !0 }, { key: "title", fn: function({ column: a, row:
|
|
142
|
-
return [
|
|
142
|
+
}, expression: "queryParam.SearchValue" } }), i("div", { staticClass: "table-operator-search", on: { click: e.refresh } }, [i("i", { staticClass: "el-input__icon el-icon-search" })])], 1)])];
|
|
143
|
+
}, proxy: !0 }, { key: "title", fn: function({ column: a, row: s }) {
|
|
144
|
+
return [i("gd-tooltip", { attrs: { rowKey: "title", row: s, highlight: "" }, on: { click: e.editForm } })];
|
|
143
145
|
} }, { key: "type", fn: function(a) {
|
|
144
|
-
return [
|
|
146
|
+
return [i("el-tag", { style: e._f("dictColor")("notice_type", a.row.type), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("notice_type", a.row.type)) + " ")])];
|
|
145
147
|
} }, { key: "status", fn: function(a) {
|
|
146
|
-
return [
|
|
147
|
-
} }, { key: "filtering", fn: function({ colse: a, visible:
|
|
148
|
-
return [
|
|
149
|
-
} }]) })], 1),
|
|
150
|
-
}, y = [],
|
|
148
|
+
return [i("el-tag", { style: e._f("dictColor")("notice_status", a.row.status), attrs: { effect: "dark" } }, [e._v(" " + e._s(e._f("dictType")("notice_status", a.row.status)) + " ")])];
|
|
149
|
+
} }, { key: "filtering", fn: function({ colse: a, visible: s }) {
|
|
150
|
+
return [i("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: a, visible: s }, on: { save: e.saveQueries } })];
|
|
151
|
+
} }]) })], 1), i("detailForm", { ref: "detailForm" })], 1);
|
|
152
|
+
}, y = [], h = /* @__PURE__ */ o(
|
|
151
153
|
p,
|
|
152
154
|
f,
|
|
153
155
|
y,
|
|
@@ -157,11 +159,11 @@ var f = function() {
|
|
|
157
159
|
null,
|
|
158
160
|
null
|
|
159
161
|
);
|
|
160
|
-
const
|
|
161
|
-
|
|
162
|
-
t.component(
|
|
162
|
+
const r = h.exports;
|
|
163
|
+
r.install = function(t) {
|
|
164
|
+
t.component(r.name, r);
|
|
163
165
|
};
|
|
164
166
|
export {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
+
r as G,
|
|
168
|
+
d as s
|
|
167
169
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=require("./chartbi.114d32d7.js"),o=require("./messages.828b6ed8.js"),c=require("./system.notice.a89f4826.js");function n(t){return window.axios({url:"/sysNotice/received",method:"get",params:t})}const d={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.notice.title",prop:"title",label:"\u6807\u9898",width:"260",type:"slot",slotType:"title",align:"left",fixed:!0},{transKey:"gd.notice.type",prop:"type",width:"120",label:"\u7C7B\u578B",align:"left",type:"slot",slotType:"type"},{transKey:"gd.notice.status",prop:"status",width:"120",label:"\u72B6\u6001",align:"left",type:"slot",slotType:"status"},{transKey:"gd.notice.publicTime",prop:"publictime",width:"180",label:"\u53D1\u5E03\u65F6\u95F4",align:"center"},{transKey:"gd.notice.publicUserName",prop:"publicusername",width:"200",label:"\u53D1\u5E03\u4EBA",align:"left"}],tableQueries:[{transKey:"gd.notice.noticeOriginName",prop:"searchValue",label:"\u5173\u952E\u8BCD",effectType:"input",rules:[]},{transKey:"gd.sysConfig.type",prop:"type",label:"\u7C7B\u578B",effectType:"select",dictTypeCode:"notice_type",rules:[]}]}}};const u={name:"GdNoticeReceived",props:{height:{type:Number,default:100}},mixins:[o.tablesFilter,d],data(){return{transKey:"gd.btn.add",loadData:t=>n(Object.assign(t,this.queryParam)).then(e=>(this.allData=e.data.rows,e.data)),selectedRowKeys:[],selectedRows:[],queryParam:{},formLoading:!1,allData:[]}},components:{detailForm:c.detailForm},computed:{getHeight(){return this.height},...l.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},methods:{editForm(t){this.transKey="gd.notice.detail",this.$refs.detailForm.open(t)},saveQueries(t){this.queryParam=t,this.refresh()},onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},refresh(){this.$refs.table.refresh()},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}},mounted(){(this.$route.params.id||this.$route.query.id)&&(this.transKey="gd.notice.detail",setTimeout(()=>{this.allData.forEach(t=>{(t.id==this.$route.params.id||t.id==this.$route.query.id)&&this.$refs.detailForm.open(t)})},1e3))}};var p=function(){var e=this,i=e._self._c;return i("div",{staticClass:"gd-page-view"},[i("div",{staticClass:"page-view-list"},[i("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!0},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[i("div",{staticClass:"gd-table-operator"},[i("div",{staticClass:"gd-table-operatorl"},[i("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.notice.title","\u6807\u9898"),clearable:""},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"enter",13,a.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.SearchValue,callback:function(a){e.$set(e.queryParam,"SearchValue",a)},expression:"queryParam.SearchValue"}}),i("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[i("i",{staticClass:"el-input__icon el-icon-search"})])],1)])]},proxy:!0},{key:"title",fn:function({column:a,row:r}){return[i("gd-tooltip",{attrs:{rowKey:"title",row:r,highlight:""},on:{click:e.editForm}})]}},{key:"type",fn:function(a){return[i("el-tag",{style:e._f("dictColor")("notice_type",a.row.type),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("notice_type",a.row.type))+" ")])]}},{key:"status",fn:function(a){return[i("el-tag",{style:e._f("dictColor")("notice_status",a.row.status),attrs:{effect:"dark"}},[e._v(" "+e._s(e._f("dictType")("notice_status",a.row.status))+" ")])]}},{key:"filtering",fn:function({colse:a,visible:r}){return[i("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:a,visible:r},on:{save:e.saveQueries}})]}}])})],1),i("detailForm",{ref:"detailForm"})],1)},y=[],f=l.normalizeComponent(u,p,y,!1,null,"b4bdcf86",null,null);const s=f.exports;s.install=function(t){t.component(s.name,s)};exports.GDpackage=s;exports.sysNoticeReceived=n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=require("./chartbi.114d32d7.js"),o=require("./messages.828b6ed8.js");function c(t){return window.axios({url:"/sysOnlineUser/page",method:"get",params:t})}function d(t){return window.axios({url:"/sysOnlineUser/forceExist",method:"post",data:t})}const u={data(){return{tableColumns:[{transKey:"gd.onlineUser.account",prop:"account",width:"200",label:"\u8D26\u53F7",align:"left",fixed:!0},{transKey:"gd.onlineUser.name",prop:"name",width:"200",label:"\u59D3\u540D",align:"left"},{transKey:"gd.onlineUser.lastLoginIp",prop:"lastloginip",width:"160",label:"\u767B\u5F55IP",align:"left"},{transKey:"gd.onlineUser.lastTime",prop:"lasttime",width:"180",label:"\u767B\u5F55\u65F6\u95F4",align:"center"},{transKey:"gd.onlineUser.lastLoginBrowser",prop:"lastloginbrowser",width:"200",label:"\u6D4F\u89C8\u5668",align:"left"},{transKey:"gd.onlineUser.lastLoginOs",prop:"lastloginos",width:"160",label:"\u64CD\u4F5C\u7CFB\u7EDF",align:"left"}],tableButtons:[{displayName:"\u5F3A\u5236\u4E0B\u7EBF",functionName:"forceExist",show:!0,transKey:"gd.onlineUser.forceExist",icon:"el-icon-delete",btnType:"danger",name:"sysOnlineUser:forceExist"}],tableQueries:[{transKey:"gd.onlineUser.keywordTip",effectType:"input",prop:"code",label:"\u5173\u952E\u8BCD",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.keywordTip",rules:[]}]}}};const g={name:"GdOnlineUser",props:{height:{type:Number,default:100}},mixins:[o.tablesFilter,u],data(){return{selectedRowKeys:[],selectedRows:[],queryParam:{},isShow:!1,loadData:t=>c(Object.assign(t,this.queryParam)).then(e=>e.data)}},computed:{getHeight(){return this.height},...l.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},methods:{onSelectChange(t,e){this.selectedRows=e,this.selectedRowKeys=t},refresh(){this.$refs.table.refresh()},saveQueries(t){this.queryParam={...t},this.refresh()},forceExist(){let t=this;if(this.selectedRowKeys.length===0){this.$message.warning(this.$i18nt("gd.https.editTip","\u8BF7\u9009\u62E9\u9700\u8981\u7F16\u8F91\u7684\u6570\u636E!"));return}if(this.selectedRowKeys.length>1){this.$message.warning(this.$i18nt("gd.https.editTipOne","\u53EA\u80FD\u9009\u62E9\u4E00\u6761\u6570\u636E\u7F16\u8F91!"));return}t.$confirm(t.$i18nt("gd.onlineUser.forceExistTip","\u662F\u5426\u5F3A\u5236\u4E0B\u7EBF\u8BE5\u7528\u6237?"),t.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:t.$i18nt("gd.onlineUser.forceExist","\u5F3A\u5236\u4E0B\u7EBF"),cancelButtonText:t.$i18nt("gd.https.delCancel","\u53D6\u6D88"),showClose:!1,confirmButtonLoading:!1,cancelButtonLoading:!1,closeOnClickModal:!1,type:"warning",confirmButtonClass:"el-button--danger",customClass:"custom-alert",callback:()=>{},beforeClose:(e,s,a)=>{if(e!=="confirm")a();else return new Promise((i,m)=>{d().then(n=>{n.success?(t.$message.success(t.$i18nt("gd.https.operateSucc")),t.$refs.table.refresh(!0)):t.$message.error(t.$i18nt("gd.https.operateFail")+n.message),i(),a()}).catch(n=>{t.$message.error(t.$i18nt("gd.error.error")+n.message)})}).catch(()=>console.log("Oops errors!"))}})},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()}}};var p=function(){var e=this,s=e._self._c;return s("div",{staticClass:"gd-page-view"},[s("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[s("gd-tables",{ref:"table",attrs:{dataSource:e.loadData,size:e.tableSize,pageSize:e.tablePageSize,columns:e.tableColumns,selectedRowKeys:e.selectedRowKeys,height:e.getHeight,filtering:!1},on:{onChange:e.onSelectChange},scopedSlots:e._u([{key:"operator",fn:function(){return[s("div",{staticClass:"gd-table-operator"},[s("div",{staticClass:"gd-table-operatorl",staticStyle:{width:"270px"}},[s("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.onlineUser.keywordTip","\u8BF7\u8F93\u5165\u8D26\u53F7\u6216\u59D3\u540D"),clearable:""},nativeOn:{keyup:function(a){return!a.type.indexOf("key")&&e._k(a.keyCode,"enter",13,a.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.searchValue,callback:function(a){e.$set(e.queryParam,"searchValue",a)},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)])]},proxy:!0},e.isShow?{key:"filtering",fn:function({colse:a,visible:i}){return[s("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:a,visible:i},on:{save:e.saveQueries}})]}}:null],null,!0)})],1)])},h=[],f=l.normalizeComponent(g,p,h,!1,null,null,null,null);const r=f.exports;r.install=function(t){t.component(r.name,r)};exports.GDpackage=r;
|