gds-plus-design-vue 1.2.3 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{chartbi.06e48153.js → chartbi.b5b6fdab.js} +20 -20
- package/lib/{chartbi.cdd1e365.mjs → chartbi.b6818e8e.mjs} +20 -11
- package/lib/gd-initial.js +16 -16
- package/lib/gd-initial.mjs +7609 -3948
- package/lib/main.4e325110.mjs +123 -0
- package/lib/main.6713b76c.js +1 -0
- package/lib/{main.eb4b260e.mjs → main.955f770e.mjs} +16 -13
- package/lib/main.a28f67df.js +1 -0
- package/lib/main.b4a303dc.js +1 -0
- package/lib/{main.a30b25d6.mjs → main.be62e9a4.mjs} +15 -37
- package/lib/main.c59fc1e8.mjs +198 -0
- package/lib/main.f3ae0933.js +1 -0
- package/lib/messages.1346558e.js +9 -0
- package/lib/{messages.a1335b0f.mjs → messages.7e418640.mjs} +1117 -1087
- package/lib/style.css +3 -3
- package/lib/{system.account.20f9e450.mjs → system.account.64fbdaeb.mjs} +18 -18
- package/lib/{system.account.1ff630c9.js → system.account.7c43a95e.js} +1 -1
- package/lib/system.config.93d6cb7d.js +1 -0
- package/lib/{system.config.c85c05e9.mjs → system.config.f0d2d130.mjs} +7 -2
- package/lib/{system.datasource.272f1add.js → system.datasource.4bb39222.js} +1 -1
- package/lib/{system.datasource.f64a59de.mjs → system.datasource.61ff56ec.mjs} +3 -3
- package/lib/{system.dict.a23e8cdf.js → system.dict.5a2e60fe.js} +1 -1
- package/lib/{system.dict.565d69ca.mjs → system.dict.a817cf68.mjs} +2 -2
- package/lib/{system.duplicatechecking.f66790d1.js → system.duplicatechecking.65b77e64.js} +1 -1
- package/lib/{system.duplicatechecking.268544dd.mjs → system.duplicatechecking.751664ba.mjs} +15 -11
- package/lib/{system.email.ada25702.mjs → system.email.2f53252e.mjs} +2 -2
- package/lib/{system.email.00a93855.js → system.email.fec5ae26.js} +1 -1
- package/lib/{system.fieldsecurity.d14384cc.mjs → system.fieldsecurity.6feb94c3.mjs} +1 -1
- package/lib/{system.fieldsecurity.ede73621.js → system.fieldsecurity.920adca4.js} +1 -1
- package/lib/{system.file.a23b3c83.mjs → system.file.1930d109.mjs} +11 -6
- package/lib/system.file.5a9a5e0e.js +1 -0
- package/lib/{system.log.8a9f4a4d.mjs → system.log.61d303bd.mjs} +64 -81
- package/lib/system.log.b309c0e0.js +1 -0
- package/lib/{system.machine.7fa3e3d1.js → system.machine.9368e508.js} +1 -1
- package/lib/{system.machine.fc392d7f.mjs → system.machine.ed69ec93.mjs} +1 -1
- package/lib/{system.notice.6d0aa32c.mjs → system.notice.bd18554e.mjs} +248 -229
- package/lib/system.notice.ff62c06a.js +1 -0
- package/lib/{system.noticereceived.70963f1b.mjs → system.noticereceived.4dc360c0.mjs} +31 -28
- package/lib/system.noticereceived.9550818b.js +1 -0
- package/lib/{system.onlineuser.c58fb6ce.mjs → system.onlineuser.08a15a71.mjs} +22 -15
- package/lib/system.onlineuser.6cf4fe24.js +1 -0
- package/lib/{system.org.56151be8.js → system.org.0c67131d.js} +1 -1
- package/lib/{system.org.638db6d1.mjs → system.org.6e858bf3.mjs} +3 -3
- package/lib/{system.permissions.fcd56f67.js → system.permissions.af548a3b.js} +1 -1
- package/lib/{system.permissions.aa0cc0d6.mjs → system.permissions.cc5ac7ac.mjs} +3 -3
- package/lib/{system.plugin.b17efa53.js → system.plugin.83d03fb2.js} +1 -1
- package/lib/{system.plugin.beb44900.mjs → system.plugin.a1f1c194.mjs} +2 -2
- package/lib/{system.pos.e8d9c488.js → system.pos.eae2051e.js} +1 -1
- package/lib/{system.pos.699e8dd6.mjs → system.pos.eb8fd7dd.mjs} +2 -2
- package/lib/{system.promptmanagement.109a07f5.js → system.promptmanagement.04501417.js} +1 -1
- package/lib/{system.promptmanagement.2ce3e426.mjs → system.promptmanagement.c84db7d5.mjs} +7 -7
- package/lib/{system.role.230b1445.mjs → system.role.d2195303.mjs} +256 -241
- package/lib/system.role.e623c50b.js +1 -0
- package/lib/{system.sumberrules.fa1aab86.mjs → system.sumberrules.141dc00b.mjs} +2 -2
- package/lib/{system.sumberrules.38017ad1.js → system.sumberrules.a01e1805.js} +1 -1
- package/lib/system.team.0cebcde7.js +1 -0
- package/lib/{system.team.aeaede22.mjs → system.team.27a6d5d5.mjs} +318 -244
- package/lib/system.teammembers.b67f003f.js +1 -0
- package/lib/{system.teammembers.2e3309c3.mjs → system.teammembers.d73c659f.mjs} +78 -40
- package/lib/{system.timers.0ec63785.mjs → system.timers.4a3dd57d.mjs} +2 -2
- package/lib/{system.timers.b62568ad.js → system.timers.b27fcb6d.js} +1 -1
- package/lib/{system.translation.887fa90d.js → system.translation.d2c982ed.js} +1 -1
- package/lib/{system.translation.e71455aa.mjs → system.translation.d9488c23.mjs} +7 -7
- package/lib/{system.user.bed5f82a.js → system.user.0664c21c.js} +5 -5
- package/lib/{system.user.84227a85.mjs → system.user.6874aa87.mjs} +146 -84
- package/lib/{system.useraffiliation.b3f03a33.mjs → system.useraffiliation.5e3e2bab.mjs} +3 -3
- package/lib/{system.useraffiliation.7ec0fcae.js → system.useraffiliation.6b7a1612.js} +1 -1
- package/lib/{system.webresource.e6cb9173.mjs → system.webresource.204911b7.mjs} +16 -18
- package/lib/system.webresource.5de18052.js +1 -0
- package/lib/{system.welcome.120f4b50.mjs → system.welcome.79e15015.mjs} +1 -1
- package/lib/{system.welcome.472f099b.js → system.welcome.ec7aa744.js} +1 -1
- package/locale/en_US.js +71 -10
- package/locale/id_ID.js +69 -9
- package/locale/vi_VN.js +1973 -1913
- package/locale/zh_CN.js +63 -3
- package/package.json +1 -1
- package/lib/main.05252737.mjs +0 -87
- package/lib/main.458dc0a0.js +0 -1
- package/lib/main.4aebe1c9.js +0 -1
- package/lib/main.9801708f.js +0 -1
- package/lib/messages.30e41348.js +0 -9
- package/lib/system.config.532ab3b8.js +0 -1
- package/lib/system.file.aa567566.js +0 -1
- package/lib/system.log.b3666991.js +0 -1
- package/lib/system.notice.5fb1485e.js +0 -1
- package/lib/system.noticereceived.e5ef5883.js +0 -1
- package/lib/system.onlineuser.99e4de37.js +0 -1
- package/lib/system.role.f0d4082c.js +0 -1
- package/lib/system.team.3826e252.js +0 -1
- package/lib/system.teammembers.29128f16.js +0 -1
- package/lib/system.webresource.f8b78dd0.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as o, n } from "./chartbi.
|
|
2
|
-
import { t as i } from "./messages.
|
|
1
|
+
import { m as o, n } from "./chartbi.b6818e8e.mjs";
|
|
2
|
+
import { t as i } from "./messages.7e418640.mjs";
|
|
3
3
|
function f(t) {
|
|
4
4
|
return window.axios({
|
|
5
5
|
url: "/sysVisLog/page",
|
|
@@ -7,14 +7,14 @@ function f(t) {
|
|
|
7
7
|
params: t
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function h(t) {
|
|
11
11
|
return window.axios({
|
|
12
12
|
url: "/sysOpLog/page",
|
|
13
13
|
method: "get",
|
|
14
14
|
params: t
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function y(t) {
|
|
18
18
|
return window.axios({
|
|
19
19
|
url: "/sysExLog/page",
|
|
20
20
|
method: "get",
|
|
@@ -35,14 +35,14 @@ function w(t) {
|
|
|
35
35
|
data: t
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function K(t) {
|
|
39
39
|
return window.axios({
|
|
40
40
|
url: "/sysOpLog/delete",
|
|
41
41
|
method: "post",
|
|
42
42
|
data: t
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function T(t) {
|
|
46
46
|
return window.axios({
|
|
47
47
|
url: "/sysExLog/delete",
|
|
48
48
|
method: "post",
|
|
@@ -70,7 +70,7 @@ function $(t) {
|
|
|
70
70
|
data: t
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
|
-
const
|
|
73
|
+
const _ = {
|
|
74
74
|
data() {
|
|
75
75
|
return {
|
|
76
76
|
tableColumns: [
|
|
@@ -160,7 +160,7 @@ const x = {
|
|
|
160
160
|
}]
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
|
-
},
|
|
163
|
+
}, x = {
|
|
164
164
|
name: "GdAuditlog",
|
|
165
165
|
props: {
|
|
166
166
|
height: {
|
|
@@ -168,7 +168,7 @@ const x = {
|
|
|
168
168
|
default: 100
|
|
169
169
|
}
|
|
170
170
|
},
|
|
171
|
-
mixins: [i,
|
|
171
|
+
mixins: [i, _],
|
|
172
172
|
data() {
|
|
173
173
|
return {
|
|
174
174
|
transKey: "gd.btn.add",
|
|
@@ -253,7 +253,7 @@ var k = function() {
|
|
|
253
253
|
return [a("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: s, visible: r }, on: { save: e.saveQueries } })];
|
|
254
254
|
} }]) })], 1)]);
|
|
255
255
|
}, P = [], q = /* @__PURE__ */ n(
|
|
256
|
-
|
|
256
|
+
x,
|
|
257
257
|
k,
|
|
258
258
|
P,
|
|
259
259
|
!1,
|
|
@@ -277,6 +277,7 @@ const N = {
|
|
|
277
277
|
transKey: "gd.log.methodName",
|
|
278
278
|
prop: "methodName",
|
|
279
279
|
label: "\u65B9\u6CD5\u540D",
|
|
280
|
+
width: "260",
|
|
280
281
|
type: "slot",
|
|
281
282
|
slotType: "methodName",
|
|
282
283
|
align: "left",
|
|
@@ -288,6 +289,7 @@ const N = {
|
|
|
288
289
|
}, {
|
|
289
290
|
transKey: "gd.org.className",
|
|
290
291
|
prop: "className",
|
|
292
|
+
width: "200",
|
|
291
293
|
type: "slot",
|
|
292
294
|
slotType: "className",
|
|
293
295
|
label: "\u7C7B\u540D",
|
|
@@ -295,6 +297,7 @@ const N = {
|
|
|
295
297
|
}, {
|
|
296
298
|
transKey: "gd.org.exceptionName",
|
|
297
299
|
prop: "exceptionName",
|
|
300
|
+
width: "260",
|
|
298
301
|
type: "slot",
|
|
299
302
|
slotType: "exceptionName",
|
|
300
303
|
label: "\u5F02\u5E38\u540D\u79F0",
|
|
@@ -302,6 +305,7 @@ const N = {
|
|
|
302
305
|
}, {
|
|
303
306
|
transKey: "gd.org.exceptionMsg",
|
|
304
307
|
prop: "exceptionMsg",
|
|
308
|
+
width: "260",
|
|
305
309
|
type: "slot",
|
|
306
310
|
slotType: "exceptionMsg",
|
|
307
311
|
label: "\u5F02\u5E38\u4FE1\u606F",
|
|
@@ -309,13 +313,15 @@ const N = {
|
|
|
309
313
|
}, {
|
|
310
314
|
transKey: "gd.org.exceptionTime",
|
|
311
315
|
prop: "exceptionTime",
|
|
316
|
+
width: "200",
|
|
312
317
|
type: "slot",
|
|
313
318
|
slotType: "exceptionTime",
|
|
314
319
|
label: "\u5F02\u5E38\u65F6\u95F4",
|
|
315
|
-
align: "
|
|
320
|
+
align: "center"
|
|
316
321
|
}, {
|
|
317
322
|
transKey: "gd.org.operatorName",
|
|
318
323
|
prop: "name",
|
|
324
|
+
width: "140",
|
|
319
325
|
label: "\u64CD\u4F5C\u4EBA",
|
|
320
326
|
align: "left"
|
|
321
327
|
}],
|
|
@@ -431,7 +437,7 @@ const N = {
|
|
|
431
437
|
queryParam: {},
|
|
432
438
|
selectedRowKeys: [],
|
|
433
439
|
selectedRows: [],
|
|
434
|
-
loadData: (t) =>
|
|
440
|
+
loadData: (t) => y(Object.assign(t, this.switchingDate())).then((e) => e.data)
|
|
435
441
|
};
|
|
436
442
|
},
|
|
437
443
|
computed: {
|
|
@@ -496,7 +502,7 @@ const N = {
|
|
|
496
502
|
s();
|
|
497
503
|
else
|
|
498
504
|
return new Promise((r, c) => {
|
|
499
|
-
|
|
505
|
+
T().then((l) => {
|
|
500
506
|
l.success ? (t.$message.success(t.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), t.$refs.table.refresh(!0)) : t.$message.error(t.$i18nt("gd.https.operateFail") + l.message), r(), s();
|
|
501
507
|
}).catch((l) => {
|
|
502
508
|
t.$message.error(t.$i18nt("gd.error.error") + l.message);
|
|
@@ -528,10 +534,10 @@ var L = function() {
|
|
|
528
534
|
}, proxy: !0 }, { key: "filtering", fn: function({ colse: s, visible: r }) {
|
|
529
535
|
return [a("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: s, visible: r }, on: { save: e.saveQueries } })];
|
|
530
536
|
} }]) })], 1), a("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", transKey: e.transKey, columns: e.formColumns, labelPosition: e.labelPosition, formMode: e.formMode } })], 1);
|
|
531
|
-
},
|
|
537
|
+
}, B = [], O = /* @__PURE__ */ n(
|
|
532
538
|
S,
|
|
533
539
|
L,
|
|
534
|
-
|
|
540
|
+
B,
|
|
535
541
|
!1,
|
|
536
542
|
null,
|
|
537
543
|
null,
|
|
@@ -542,7 +548,7 @@ const p = O.exports;
|
|
|
542
548
|
p.install = function(t) {
|
|
543
549
|
t.component(p.name, p);
|
|
544
550
|
};
|
|
545
|
-
const
|
|
551
|
+
const R = {
|
|
546
552
|
data() {
|
|
547
553
|
return {
|
|
548
554
|
tableColumns: [
|
|
@@ -555,6 +561,7 @@ const B = {
|
|
|
555
561
|
transKey: "gd.log.logName",
|
|
556
562
|
prop: "name",
|
|
557
563
|
label: "\u65E5\u5FD7\u540D\u79F0",
|
|
564
|
+
width: "220",
|
|
558
565
|
type: "slot",
|
|
559
566
|
slotType: "name",
|
|
560
567
|
align: "left",
|
|
@@ -566,7 +573,8 @@ const B = {
|
|
|
566
573
|
},
|
|
567
574
|
{
|
|
568
575
|
transKey: "gd.org.accessType",
|
|
569
|
-
prop: "
|
|
576
|
+
prop: "vistype",
|
|
577
|
+
width: "160",
|
|
570
578
|
type: "slot",
|
|
571
579
|
slotType: "visType",
|
|
572
580
|
label: "\u8BBF\u95EE\u7C7B\u578B ",
|
|
@@ -576,6 +584,7 @@ const B = {
|
|
|
576
584
|
{
|
|
577
585
|
transKey: "gd.org.whether",
|
|
578
586
|
prop: "success",
|
|
587
|
+
width: "160",
|
|
579
588
|
type: "slot",
|
|
580
589
|
slotType: "success",
|
|
581
590
|
label: "\u662F\u5426\u6210\u529F",
|
|
@@ -584,24 +593,28 @@ const B = {
|
|
|
584
593
|
{
|
|
585
594
|
transKey: "gd.org.ip",
|
|
586
595
|
prop: "ip",
|
|
596
|
+
width: "200",
|
|
587
597
|
label: "ip\u5730\u5740",
|
|
588
598
|
align: "left"
|
|
589
599
|
},
|
|
590
600
|
{
|
|
591
601
|
transKey: "gd.org.browser",
|
|
592
602
|
prop: "browser",
|
|
603
|
+
width: "200",
|
|
593
604
|
label: "\u6D4F\u89C8\u5668",
|
|
594
605
|
align: "left"
|
|
595
606
|
},
|
|
596
607
|
{
|
|
597
608
|
transKey: "gd.org.visTime",
|
|
598
609
|
prop: "vistime",
|
|
610
|
+
width: "200",
|
|
599
611
|
label: "\u8BBF\u95EE\u65F6\u95F4",
|
|
600
612
|
align: "center"
|
|
601
613
|
},
|
|
602
614
|
{
|
|
603
615
|
transKey: "gd.org.visitor",
|
|
604
616
|
prop: "account",
|
|
617
|
+
width: "140",
|
|
605
618
|
label: "\u8BBF\u95EE\u8005",
|
|
606
619
|
align: "left"
|
|
607
620
|
}
|
|
@@ -661,7 +674,7 @@ const B = {
|
|
|
661
674
|
}]
|
|
662
675
|
};
|
|
663
676
|
}
|
|
664
|
-
},
|
|
677
|
+
}, E = {
|
|
665
678
|
name: "GdVislog",
|
|
666
679
|
props: {
|
|
667
680
|
height: {
|
|
@@ -669,7 +682,7 @@ const B = {
|
|
|
669
682
|
default: 100
|
|
670
683
|
}
|
|
671
684
|
},
|
|
672
|
-
mixins: [i,
|
|
685
|
+
mixins: [i, R],
|
|
673
686
|
data() {
|
|
674
687
|
return {
|
|
675
688
|
transKey: "gd.btn.add",
|
|
@@ -680,12 +693,6 @@ const B = {
|
|
|
680
693
|
};
|
|
681
694
|
},
|
|
682
695
|
computed: {
|
|
683
|
-
visTypeDict() {
|
|
684
|
-
return this.getDictionary("LoginType");
|
|
685
|
-
},
|
|
686
|
-
successDict() {
|
|
687
|
-
return this.getDictionary("YesOrNot");
|
|
688
|
-
},
|
|
689
696
|
getHeight() {
|
|
690
697
|
return this.height;
|
|
691
698
|
},
|
|
@@ -755,19 +762,6 @@ const B = {
|
|
|
755
762
|
} else
|
|
756
763
|
t.set(e, this.queryParam[e]);
|
|
757
764
|
return Object.fromEntries(t);
|
|
758
|
-
},
|
|
759
|
-
visTypeFilter(t) {
|
|
760
|
-
const e = this.visTypeDict.filter((a) => a.code == t);
|
|
761
|
-
if (e.length > 0)
|
|
762
|
-
return e[0].value;
|
|
763
|
-
},
|
|
764
|
-
successFilter(t) {
|
|
765
|
-
const e = this.successDict.filter((a) => a.code == t);
|
|
766
|
-
if (e.length > 0)
|
|
767
|
-
return e[0].value;
|
|
768
|
-
},
|
|
769
|
-
getDictionary(t) {
|
|
770
|
-
return this.$options.filters.dictData(t);
|
|
771
765
|
}
|
|
772
766
|
}
|
|
773
767
|
};
|
|
@@ -776,9 +770,9 @@ var M = function() {
|
|
|
776
770
|
return a("div", { staticClass: "gd-page-view" }, [a("div", { staticClass: "page-view-list", staticStyle: { padding: "0px" } }, [a("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: "name", fn: function({ column: s, row: r }) {
|
|
777
771
|
return [a("gd-tooltip", { attrs: { rowKey: "name", row: r, highlight: "" }, on: { click: e.editForm } })];
|
|
778
772
|
} }, { key: "visType", fn: function(s) {
|
|
779
|
-
return [a("span", [e._v(e._s(e.
|
|
773
|
+
return [a("span", [e._v(e._s(e._f("dictType")("vis_type", s.row.vistype)))])];
|
|
780
774
|
} }, { key: "success", fn: function(s) {
|
|
781
|
-
return [a("span", [e._v(e._s(e.
|
|
775
|
+
return [a("span", [e._v(e._s(e._f("dictType")("yes_or_no", s.row.success)))])];
|
|
782
776
|
} }, { key: "visTime", fn: function({ column: s, row: r }) {
|
|
783
777
|
return [a("gd-tooltip", { attrs: { rowKey: "vistime", row: r } })];
|
|
784
778
|
} }, { key: "operator", fn: function() {
|
|
@@ -790,19 +784,19 @@ var M = function() {
|
|
|
790
784
|
}, proxy: !0 }, { key: "filtering", fn: function({ colse: s, visible: r }) {
|
|
791
785
|
return [a("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: s, visible: r }, on: { save: e.saveQueries } })];
|
|
792
786
|
} }]) })], 1), a("gd-edit-form", { ref: "editForm", attrs: { formItemWidth: "90%", transKey: e.transKey, columns: e.formColumns, labelPosition: e.labelPosition, formMode: e.formMode } })], 1);
|
|
793
|
-
},
|
|
794
|
-
R,
|
|
795
|
-
M,
|
|
787
|
+
}, z = [], D = /* @__PURE__ */ n(
|
|
796
788
|
E,
|
|
789
|
+
M,
|
|
790
|
+
z,
|
|
797
791
|
!1,
|
|
798
792
|
null,
|
|
799
793
|
null,
|
|
800
794
|
null,
|
|
801
795
|
null
|
|
802
796
|
);
|
|
803
|
-
const
|
|
804
|
-
|
|
805
|
-
t.component(
|
|
797
|
+
const g = D.exports;
|
|
798
|
+
g.install = function(t) {
|
|
799
|
+
t.component(g.name, g);
|
|
806
800
|
};
|
|
807
801
|
const F = {
|
|
808
802
|
data() {
|
|
@@ -817,6 +811,7 @@ const F = {
|
|
|
817
811
|
transKey: "gd.log.operatorName",
|
|
818
812
|
prop: "name",
|
|
819
813
|
label: "\u65E5\u5FD7\u540D\u79F0",
|
|
814
|
+
width: "220",
|
|
820
815
|
type: "slot",
|
|
821
816
|
slotType: "name",
|
|
822
817
|
align: "left",
|
|
@@ -826,17 +821,15 @@ const F = {
|
|
|
826
821
|
{
|
|
827
822
|
transKey: "gd.org.operatorAccount",
|
|
828
823
|
prop: "account",
|
|
829
|
-
|
|
830
|
-
slotType: "account",
|
|
824
|
+
width: "160",
|
|
831
825
|
label: "\u64CD\u4F5C\u4EBA\u5E10\u53F7 ",
|
|
832
826
|
align: "left",
|
|
833
827
|
showOverflowTooltip: !0
|
|
834
828
|
},
|
|
835
829
|
{
|
|
836
830
|
transKey: "gd.org.requestMethod",
|
|
837
|
-
prop: "
|
|
838
|
-
|
|
839
|
-
slotType: "reqMethod",
|
|
831
|
+
prop: "reqmethod",
|
|
832
|
+
width: "160",
|
|
840
833
|
label: "\u8BF7\u6C42\u65B9\u5F0F",
|
|
841
834
|
align: "left"
|
|
842
835
|
},
|
|
@@ -845,25 +838,29 @@ const F = {
|
|
|
845
838
|
prop: "success",
|
|
846
839
|
type: "slot",
|
|
847
840
|
slotType: "success",
|
|
841
|
+
width: "200",
|
|
848
842
|
label: "\u6267\u884C\u7ED3\u679C",
|
|
849
843
|
align: "left"
|
|
850
844
|
},
|
|
851
845
|
{
|
|
852
846
|
transKey: "gd.org.ip",
|
|
853
847
|
prop: "ip",
|
|
848
|
+
width: "200",
|
|
854
849
|
label: "ip",
|
|
855
850
|
align: "left"
|
|
856
851
|
},
|
|
857
852
|
{
|
|
858
853
|
transKey: "gd.org.requestAddress",
|
|
859
854
|
prop: "url",
|
|
855
|
+
width: "200",
|
|
860
856
|
label: "\u8BF7\u6C42\u5730\u5740",
|
|
861
|
-
align: "
|
|
857
|
+
align: "left"
|
|
862
858
|
},
|
|
863
859
|
{
|
|
864
860
|
transKey: "gd.org.operationTime",
|
|
865
|
-
prop: "
|
|
861
|
+
prop: "optime",
|
|
866
862
|
slotType: "opTime",
|
|
863
|
+
width: "180",
|
|
867
864
|
label: "\u64CD\u4F5C\u65F6\u95F4",
|
|
868
865
|
align: "center"
|
|
869
866
|
}
|
|
@@ -1028,16 +1025,10 @@ const F = {
|
|
|
1028
1025
|
selectedRowKeys: [],
|
|
1029
1026
|
selectedRows: [],
|
|
1030
1027
|
isShow: !1,
|
|
1031
|
-
loadData: (t) =>
|
|
1028
|
+
loadData: (t) => h(Object.assign(t, this.switchingDate())).then((e) => e.data)
|
|
1032
1029
|
};
|
|
1033
1030
|
},
|
|
1034
1031
|
computed: {
|
|
1035
|
-
reqMethodDict() {
|
|
1036
|
-
return this.getDictionary("HttpMethod");
|
|
1037
|
-
},
|
|
1038
|
-
successDict() {
|
|
1039
|
-
return this.getDictionary("YesOrNot");
|
|
1040
|
-
},
|
|
1041
1032
|
getHeight() {
|
|
1042
1033
|
return this.height;
|
|
1043
1034
|
},
|
|
@@ -1055,7 +1046,7 @@ const F = {
|
|
|
1055
1046
|
);
|
|
1056
1047
|
},
|
|
1057
1048
|
saveQueries(t) {
|
|
1058
|
-
|
|
1049
|
+
this.queryParam = {
|
|
1059
1050
|
...t
|
|
1060
1051
|
}, this.refresh();
|
|
1061
1052
|
},
|
|
@@ -1085,7 +1076,7 @@ const F = {
|
|
|
1085
1076
|
s();
|
|
1086
1077
|
else
|
|
1087
1078
|
return new Promise((r, c) => {
|
|
1088
|
-
|
|
1079
|
+
K().then((l) => {
|
|
1089
1080
|
l.success ? (t.$message.success(t.$i18nt("gd.https.operateSucc", "\u64CD\u4F5C\u6210\u529F")), t.$refs.table.refresh(!0)) : t.$message.error(t.$i18nt("gd.https.operateFail") + l.message), r(), s();
|
|
1090
1081
|
}).catch((l) => {
|
|
1091
1082
|
t.$message.error(t.$i18nt("gd.error.error") + l.message);
|
|
@@ -1105,14 +1096,6 @@ const F = {
|
|
|
1105
1096
|
} else
|
|
1106
1097
|
t.set(e, this.queryParam[e]);
|
|
1107
1098
|
return Object.fromEntries(t);
|
|
1108
|
-
},
|
|
1109
|
-
successFilter(t) {
|
|
1110
|
-
const e = this.successDict.filter((a) => a.code == t);
|
|
1111
|
-
if (e.length > 0)
|
|
1112
|
-
return e[0].value;
|
|
1113
|
-
},
|
|
1114
|
-
getDictionary(t) {
|
|
1115
|
-
return this.$options.filters.dictData(t);
|
|
1116
1099
|
}
|
|
1117
1100
|
}
|
|
1118
1101
|
};
|
|
@@ -1124,8 +1107,8 @@ var Q = function() {
|
|
|
1124
1107
|
return [a("gd-tooltip", { attrs: { rowKey: "url", row: r } })];
|
|
1125
1108
|
} }, { key: "opTime", fn: function({ column: s, row: r }) {
|
|
1126
1109
|
return [a("gd-tooltip", { attrs: { rowKey: "optime", row: r } })];
|
|
1127
|
-
} }, { key: "success", fn: function(s) {
|
|
1128
|
-
return [a("span", [e._v(e._s(e.
|
|
1110
|
+
} }, { key: "success", fn: function({ column: s, row: r }) {
|
|
1111
|
+
return [a("span", [e._v(e._s(e._f("dictType")("yes_or_no", e.scope.row.success)))])];
|
|
1129
1112
|
} }, { key: "operator", fn: function() {
|
|
1130
1113
|
return [a("div", { staticClass: "gd-table-operator" }, [a("div", { staticClass: "gd-table-operatorr" }, [a("gd-btn-list", { attrs: { sysViewButtons: e.tableButtons }, on: { functionName: e.doEvent } })], 1)])];
|
|
1131
1114
|
}, proxy: !0 }, e.isShow ? { key: "filtering", fn: function({ colse: s, visible: r }) {
|
|
@@ -1141,9 +1124,9 @@ var Q = function() {
|
|
|
1141
1124
|
null,
|
|
1142
1125
|
null
|
|
1143
1126
|
);
|
|
1144
|
-
const
|
|
1145
|
-
|
|
1146
|
-
t.component(
|
|
1127
|
+
const u = V.exports;
|
|
1128
|
+
u.install = function(t) {
|
|
1129
|
+
t.component(u.name, u);
|
|
1147
1130
|
};
|
|
1148
1131
|
const G = {
|
|
1149
1132
|
data() {
|
|
@@ -1210,7 +1193,7 @@ const G = {
|
|
|
1210
1193
|
type: "slot",
|
|
1211
1194
|
slotType: "createdTime",
|
|
1212
1195
|
label: "\u521B\u5EFA\u65F6\u95F4",
|
|
1213
|
-
align: "
|
|
1196
|
+
align: "center"
|
|
1214
1197
|
},
|
|
1215
1198
|
{
|
|
1216
1199
|
transKey: "gd.org.endedTime",
|
|
@@ -1219,7 +1202,7 @@ const G = {
|
|
|
1219
1202
|
type: "slot",
|
|
1220
1203
|
slotType: "endedTime",
|
|
1221
1204
|
label: "\u7ED3\u675F\u65F6\u95F4",
|
|
1222
|
-
align: "
|
|
1205
|
+
align: "center"
|
|
1223
1206
|
}
|
|
1224
1207
|
],
|
|
1225
1208
|
formColumns: [{
|
|
@@ -1427,7 +1410,7 @@ var I = function() {
|
|
|
1427
1410
|
}, proxy: !0 }, { key: "filtering", fn: function({ colse: s, visible: r }) {
|
|
1428
1411
|
return [a("gd-table-queries-field", { attrs: { columns: e.tableQueries, height: e.getHeight, queryParam: e.queryParam, colse: s, visible: r }, on: { save: e.saveQueries } })];
|
|
1429
1412
|
} }]) })], 1)]);
|
|
1430
|
-
}, W = [],
|
|
1413
|
+
}, W = [], U = /* @__PURE__ */ n(
|
|
1431
1414
|
A,
|
|
1432
1415
|
I,
|
|
1433
1416
|
W,
|
|
@@ -1437,14 +1420,14 @@ var I = function() {
|
|
|
1437
1420
|
null,
|
|
1438
1421
|
null
|
|
1439
1422
|
);
|
|
1440
|
-
const m =
|
|
1423
|
+
const m = U.exports;
|
|
1441
1424
|
m.install = function(t) {
|
|
1442
1425
|
t.component(m.name, m);
|
|
1443
1426
|
};
|
|
1444
1427
|
export {
|
|
1445
1428
|
d as G,
|
|
1446
1429
|
p as a,
|
|
1447
|
-
|
|
1448
|
-
|
|
1430
|
+
g as b,
|
|
1431
|
+
u as c,
|
|
1449
1432
|
m as d
|
|
1450
1433
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("./chartbi.b5b6fdab.js"),n=require("./messages.1346558e.js");function m(t){return window.axios({url:"/sysVisLog/page",method:"get",params:t})}function f(t){return window.axios({url:"/sysOpLog/page",method:"get",params:t})}function h(t){return window.axios({url:"/sysExLog/page",method:"get",params:t})}function y(t){return window.axios({url:"/sysEvtLog/page",method:"get",params:t})}function b(t){return window.axios({url:"/sysVisLog/delete",method:"post",data:t})}function w(t){return window.axios({url:"/sysOpLog/delete",method:"post",data:t})}function K(t){return window.axios({url:"/sysExLog/delete",method:"post",data:t})}function T(t){return window.axios({url:"/sysEvtLog/delete",method:"post",data:t})}function v(t){return window.axios({url:"/sysAuditLog/page",method:"get",params:t})}function C(t){return window.axios({url:"/sysAuditLog/delete",method:"post",data:t})}const $={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.log.tableName",prop:"tableName",label:"\u8868\u540D",align:"left",renderHeader:(t,...e)=>this.renderHeader(t,...e,{effectType:"input"})},{transKey:"gd.log.fieldName",prop:"fieldName",label:"\u5B57\u6BB5\u540D",align:"left"},{transKey:"gd.log.operate",prop:"operate",label:"\u64CD\u4F5C",align:"left"},{transKey:"gd.log.operatorName",prop:"operateUserName",label:"\u64CD\u4F5C\u4EBA",align:"left"},{transKey:"gd.log.createdTime",prop:"createdTime",width:"200",label:"\u64CD\u4F5C\u65F6\u95F4",align:"center"},{transKey:"gd.log.oldValue",prop:"oldValue",label:"\u65E7\u503C",align:"left"},{transKey:"gd.log.newValue",prop:"newValue",label:"\u65B0\u503C",align:"left"}],formColumns:[],tableButtons:[{displayName:"\u6E05\u7A7A\u65E5\u5FD7",functionName:"clearLog",show:!0,transKey:"gd.btn.clearLog",icon:"el-icon-delete",name:"sysAuditLog:delete",btnType:"danger"}],tableQueries:[{transKey:"gd.log.tableName",prop:"tablename",label:"\u8868\u540D",effectType:"input",rules:[]},{transKey:"gd.log.fieldName",prop:"fieldname",label:"\u5B57\u6BB5\u540D",effectType:"input",rules:[]},{transKey:"gd.log.executionTime",prop:"dates",label:"\u6267\u884C\u65F6\u95F4",effectType:"datepicker",options:{displayStyle:0},rules:[]}]}}},_={name:"GdAuditlog",props:{height:{type:Number,default:100}},mixins:[n.tablesFilter,$],data(){return{transKey:"gd.btn.add",queryParam:{},selectedRowKeys:[],selectedRows:[],loadData:t=>v(Object.assign(t,this.switchingDate())).then(e=>e.data),eventStateDict:[],eventTypeDict:[]}},computed:{getHeight(){return this.height},...o.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},saveQueries(t){this.queryParam={...t},this.refresh()},switchingDate(){let t=new Map;for(let e in this.queryParam)if(this.queryParam[e]&&e==="dates"){if(this.queryParam[e].length>0){let a=this.queryParam[e],s=a[0].split(" ")[0],r=a[1].split(" ")[0];t.set(`${e}Start`,`${s} 00:00:00`),t.set(`${e}End`,`${r} 23:59:59`)}}else t.set(e,this.queryParam[e]);return Object.fromEntries(t)},refresh(){this.$refs.table.refresh()},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},clearLog(){let t=this;t.$confirm(t.$i18nt("gd.https.emptyContent","\u662F\u5426\u6E05\u7A7A\u6570\u636E?"),t.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:t.$i18nt("gd.https.emptyOk","\u786E\u8BA4\u6E05\u7A7A"),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,a,s)=>{if(e!=="confirm"){s();return}a.confirmButtonLoading=!0,a.cancelButtonLoading=!0,a.showCancelButton=!1,C().then(r=>{r.success?(t.$message.success(t.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),t.$refs.table.refresh(!0)):t.$message.error(t.$i18nt("gd.https.operateFail","\u64CD\u4F5C\u5931\u8D25")+r.message),a.confirmButtonLoading=!1,a.cancelButtonLoading=!1,a.showCancelButton=!0,s()})}})}}};var x=function(){var e=this,a=e._self._c;return a("div",{staticClass:"gd-page-view"},[a("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[a("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[a("div",{staticClass:"gd-table-operator"},[a("div",{staticClass:"gd-table-operatorl"},[a("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.log.tableName","\u8868\u540D"),clearable:""},nativeOn:{keyup:function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"enter",13,s.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.tablename,callback:function(s){e.$set(e.queryParam,"tablename",s)},expression:"queryParam.tablename"}}),a("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[a("i",{staticClass:"el-input__icon el-icon-search"})])],1),a("div",{staticClass:"gd-table-operatorr"},[a("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"filtering",fn:function({colse:s,visible:r}){return[a("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:s,visible:r},on:{save:e.saveQueries}})]}}])})],1)])},k=[],P=o.normalizeComponent(_,x,k,!1,null,null,null,null);const i=P.exports;i.install=function(t){t.component(i.name,i)};const q={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.log.methodName",prop:"methodName",label:"\u65B9\u6CD5\u540D",width:"260",type:"slot",slotType:"methodName",align:"left",fixed:!0,renderHeader:(t,...e)=>this.renderHeader(t,...e,{effectType:"input"}),showOverflowTooltip:!0},{transKey:"gd.org.className",prop:"className",width:"200",type:"slot",slotType:"className",label:"\u7C7B\u540D",align:"left"},{transKey:"gd.org.exceptionName",prop:"exceptionName",width:"260",type:"slot",slotType:"exceptionName",label:"\u5F02\u5E38\u540D\u79F0",align:"left"},{transKey:"gd.org.exceptionMsg",prop:"exceptionMsg",width:"260",type:"slot",slotType:"exceptionMsg",label:"\u5F02\u5E38\u4FE1\u606F",align:"left"},{transKey:"gd.org.exceptionTime",prop:"exceptionTime",width:"200",type:"slot",slotType:"exceptionTime",label:"\u5F02\u5E38\u65F6\u95F4",align:"center"},{transKey:"gd.org.operatorName",prop:"name",width:"140",label:"\u64CD\u4F5C\u4EBA",align:"left"}],formColumns:[{transKey:"gd.log.methodName",prop:"methodname",effectType:"input",label:"\u65B9\u6CD5\u540D",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.className",prop:"classname",effectType:"input",label:"\u7C7B\u540D",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.exceptionName",prop:"exceptionname",effectType:"input",label:"\u5F02\u5E38\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.exceptionMsg",prop:"exceptionmsg",effectType:"textarea",label:"\u5F02\u5E38\u4FE1\u606F",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[],autosize:{minRows:4,maxRows:6}}],tableButtons:[{displayName:"\u6E05\u7A7A\u65E5\u5FD7",functionName:"clearLog",show:!0,transKey:"gd.btn.clearLog",icon:"el-icon-delete",name:"sysExLog:delete",btnType:"danger"}],tableQueries:[{transKey:"gd.log.methodName",prop:"methodName",label:"\u65B9\u6CD5\u540D",effectType:"input",rules:[]},{transKey:"gd.log.className",prop:"className",label:"\u7C7B\u540D",effectType:"input",rules:[]},{transKey:"gd.log.exceptionMsg",prop:"exceptionMsg",label:"\u5F02\u5E38\u4FE1\u606F",effectType:"textarea",rules:[]},{transKey:"gd.log.operatorName",prop:"name",label:"\u64CD\u4F5C\u4EBA",effectType:"input",rules:[]},{transKey:"gd.log.opTime",prop:"search",label:"\u5F02\u5E38\u65F6\u95F4",effectType:"datepicker",options:{displayStyle:0},rules:[]}]}}},N={name:"GdExlog",props:{height:{type:Number,default:100}},mixins:[n.tablesFilter,q],data(){return{transKey:"gd.btn.add",queryParam:{},selectedRowKeys:[],selectedRows:[],loadData:t=>h(Object.assign(t,this.switchingDate())).then(e=>e.data)}},computed:{getHeight(){return this.height},...o.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},mounted(){},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},editForm(t){this.transKey="gd.log.detail",this.$refs.editForm.open(Object.assign({...t}))},saveQueries(t){console.log(t),this.queryParam={...t},this.refresh()},switchingDate(){let t=new Map;for(let e in this.queryParam)if(this.queryParam[e]&&e==="createdTime"){if(this.queryParam[e].length>0){let a=this.queryParam[e],s=a[0].split(" ")[0],r=a[1].split(" ")[0];t.set(`${e}BeginTime`,`${s} 00:00:00`),t.set(`${e}EndTime`,`${r} 23:59:59`)}}else t.set(e,this.queryParam[e]);return Object.fromEntries(t)},refresh(){this.$refs.table.refresh()},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},clearLog(){let t=this;t.$confirm(t.$i18nt("gd.https.emptyContent","\u662F\u5426\u6E05\u7A7A\u6570\u636E?"),t.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:t.$i18nt("gd.https.emptyOk","\u786E\u8BA4\u6E05\u7A7A"),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,a,s)=>{if(e!=="confirm")s();else return new Promise((r,u)=>{K().then(l=>{l.success?(t.$message.success(t.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),t.$refs.table.refresh(!0)):t.$message.error(t.$i18nt("gd.https.operateFail")+l.message),r(),s()}).catch(l=>{t.$message.error(t.$i18nt("gd.error.error")+l.message)})}).catch(()=>console.log("Oops errors!"))}})}}};var S=function(){var e=this,a=e._self._c;return a("div",{staticClass:"gd-page-view"},[a("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[a("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:"methodName",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"methodname",row:r,highlight:""},on:{click:e.editForm}})]}},{key:"className",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"classname",row:r}})]}},{key:"exceptionName",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"exceptionname",row:r}})]}},{key:"exceptionMsg",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"exceptionmsg",row:r}})]}},{key:"exceptionTime",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"exceptiontime",row:r}})]}},{key:"operator",fn:function(){return[a("div",{staticClass:"gd-table-operator"},[a("div",{staticClass:"gd-table-operatorl"},[a("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.log.methodName","\u65B9\u6CD5\u540D"),clearable:""},nativeOn:{keyup:function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"enter",13,s.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.methodName,callback:function(s){e.$set(e.queryParam,"methodName",s)},expression:"queryParam.methodName"}}),a("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[a("i",{staticClass:"el-input__icon el-icon-search"})])],1),a("div",{staticClass:"gd-table-operatorr"},[a("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"filtering",fn:function({colse:s,visible:r}){return[a("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:s,visible:r},on:{save:e.saveQueries}})]}}])})],1),a("gd-edit-form",{ref:"editForm",attrs:{formItemWidth:"90%",transKey:e.transKey,columns:e.formColumns,labelPosition:e.labelPosition,formMode:e.formMode}})],1)},L=[],B=o.normalizeComponent(N,S,L,!1,null,null,null,null);const c=B.exports;c.install=function(t){t.component(c.name,c)};const O={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.log.logName",prop:"name",label:"\u65E5\u5FD7\u540D\u79F0",width:"220",type:"slot",slotType:"name",align:"left",fixed:!0,renderHeader:(t,...e)=>this.renderHeader(t,...e,{effectType:"input"}),showOverflowTooltip:!0},{transKey:"gd.org.accessType",prop:"vistype",width:"160",type:"slot",slotType:"visType",label:"\u8BBF\u95EE\u7C7B\u578B ",align:"left",showOverflowTooltip:!0},{transKey:"gd.org.whether",prop:"success",width:"160",type:"slot",slotType:"success",label:"\u662F\u5426\u6210\u529F",align:"left"},{transKey:"gd.org.ip",prop:"ip",width:"200",label:"ip\u5730\u5740",align:"left"},{transKey:"gd.org.browser",prop:"browser",width:"200",label:"\u6D4F\u89C8\u5668",align:"left"},{transKey:"gd.org.visTime",prop:"vistime",width:"200",label:"\u8BBF\u95EE\u65F6\u95F4",align:"center"},{transKey:"gd.org.visitor",prop:"account",width:"140",label:"\u8BBF\u95EE\u8005",align:"left"}],formColumns:[{transKey:"gd.log.concreteMessage",prop:"message",effectType:"input",label:"\u5177\u4F53\u6D88\u606F",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]}],tableButtons:[{displayName:"\u6E05\u7A7A\u65E5\u5FD7",functionName:"clearLog",show:!0,transKey:"gd.btn.clearLog",icon:"el-icon-delete",name:"sysVisLog:delete",btnType:"danger"}],tableQueries:[{transKey:"gd.log.logName",prop:"name",label:"\u65E5\u5FD7\u540D\u79F0",effectType:"input",rules:[]},{transKey:"gd.log.visType",prop:"visType",label:"\u8BBF\u95EE\u7C7B\u578B",effectType:"select",dictTypeCode:"visType",rules:[]},{transKey:"gd.log.whether",prop:"success",label:"\u662F\u5426\u6210\u529F",effectType:"select",dictTypeCode:"success",rules:[]},{transKey:"gd.log.visTime",prop:"visTime",label:"\u8BBF\u95EE\u65F6\u95F4",effectType:"datepicker",options:{displayStyle:0},rules:[]}]}}},R={name:"GdVislog",props:{height:{type:Number,default:100}},mixins:[n.tablesFilter,O],data(){return{transKey:"gd.btn.add",queryParam:{},selectedRowKeys:[],selectedRows:[],loadData:t=>m(Object.assign(t,this.switchingDate())).then(e=>e.data)}},computed:{getHeight(){return this.height},...o.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},mounted(){},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},editForm(t){this.transKey="gd.log.detail",this.$refs.editForm.open(Object.assign({...t}))},saveQueries(t){console.log(t),this.queryParam={...t},this.refresh()},refresh(){this.$refs.table.refresh()},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},clearLog(){let t=this;t.$confirm(t.$i18nt("gd.https.emptyContent","\u662F\u5426\u6E05\u7A7A\u6570\u636E?"),t.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:t.$i18nt("gd.https.emptyOk","\u786E\u8BA4\u6E05\u7A7A"),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,a,s)=>{if(e!=="confirm")s();else return new Promise((r,u)=>{b().then(l=>{l.success?(t.$message.success(t.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),t.$refs.table.refresh(!0)):t.$message.error(t.$i18nt("gd.https.operateFail")+l.message),r(),s()}).catch(l=>{t.$message.error(t.$i18nt("gd.error.error")+l.message)})}).catch(()=>console.log("Oops errors!"))}})},switchingDate(){let t=new Map;for(let e in this.queryParam)if(this.queryParam[e]&&e==="visTime"){if(this.queryParam[e].length>0){let a=this.queryParam[e],s=a[0].split(" ")[0],r=a[1].split(" ")[0];t.set(`${e}Start`,`${s} 00:00:00`),t.set(`${e}End`,`${r} 23:59:59`)}}else t.set(e,this.queryParam[e]);return Object.fromEntries(t)}}};var z=function(){var e=this,a=e._self._c;return a("div",{staticClass:"gd-page-view"},[a("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[a("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:"name",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"name",row:r,highlight:""},on:{click:e.editForm}})]}},{key:"visType",fn:function(s){return[a("span",[e._v(e._s(e._f("dictType")("vis_type",s.row.vistype)))])]}},{key:"success",fn:function(s){return[a("span",[e._v(e._s(e._f("dictType")("yes_or_no",s.row.success)))])]}},{key:"visTime",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"vistime",row:r}})]}},{key:"operator",fn:function(){return[a("div",{staticClass:"gd-table-operator"},[a("div",{staticClass:"gd-table-operatorl"},[a("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.log.logName","\u65E5\u5FD7\u540D\u79F0"),clearable:""},nativeOn:{keyup:function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"enter",13,s.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.name,callback:function(s){e.$set(e.queryParam,"name",s)},expression:"queryParam.name"}}),a("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[a("i",{staticClass:"el-input__icon el-icon-search"})])],1),a("div",{staticClass:"gd-table-operatorr"},[a("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"filtering",fn:function({colse:s,visible:r}){return[a("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:s,visible:r},on:{save:e.saveQueries}})]}}])})],1),a("gd-edit-form",{ref:"editForm",attrs:{formItemWidth:"90%",transKey:e.transKey,columns:e.formColumns,labelPosition:e.labelPosition,formMode:e.formMode}})],1)},D=[],E=o.normalizeComponent(R,z,D,!1,null,null,null,null);const d=E.exports;d.install=function(t){t.component(d.name,d)};const M={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.log.operatorName",prop:"name",label:"\u65E5\u5FD7\u540D\u79F0",width:"220",type:"slot",slotType:"name",align:"left",fixed:!0,showOverflowTooltip:!0},{transKey:"gd.org.operatorAccount",prop:"account",width:"160",label:"\u64CD\u4F5C\u4EBA\u5E10\u53F7 ",align:"left",showOverflowTooltip:!0},{transKey:"gd.org.requestMethod",prop:"reqmethod",width:"160",label:"\u8BF7\u6C42\u65B9\u5F0F",align:"left"},{transKey:"gd.org.resultsExecution",prop:"success",type:"slot",slotType:"success",width:"200",label:"\u6267\u884C\u7ED3\u679C",align:"left"},{transKey:"gd.org.ip",prop:"ip",width:"200",label:"ip",align:"left"},{transKey:"gd.org.requestAddress",prop:"url",width:"200",label:"\u8BF7\u6C42\u5730\u5740",align:"left"},{transKey:"gd.org.operationTime",prop:"optime",slotType:"opTime",width:"180",label:"\u64CD\u4F5C\u65F6\u95F4",align:"center"}],formColumns:[{transKey:"gd.log.methodName",prop:"methodname",effectType:"input",label:"\u65B9\u6CD5\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.address",prop:"location",effectType:"input",label:"\u5730\u5740",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.browser",prop:"browser",effectType:"input",label:"\u6D4F\u89C8\u5668",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.operatingSystem",prop:"os",effectType:"input",label:"\u64CD\u4F5C\u7CFB\u7EDF",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.className",prop:"classname",effectType:"input",label:"\u7C7B\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.concreteMessage",prop:"message",effectType:"input",label:"\u5177\u4F53\u6D88\u606F",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.requestParameters",prop:"param",effectType:"textarea",label:"\u8BF7\u6C42\u53C2\u6570",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[],autosize:{minRows:4,maxRows:6}},{transKey:"gd.log.returnResults",prop:"result",effectType:"textarea",label:"\u8FD4\u56DE\u7ED3\u679C",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[],autosize:{minRows:4,maxRows:6}}],tableButtons:[{displayName:"\u6E05\u7A7A\u65E5\u5FD7",functionName:"clearLog",show:!0,transKey:"gd.btn.clearLog",icon:"el-icon-delete",name:"sysOpLog:delete",btnType:"danger"}],tableQueries:[{transKey:"gd.log.logName",prop:"name",label:"\u65E5\u5FD7\u540D\u79F0",effectType:"input",rules:[]},{transKey:"gd.log.requestMethod",prop:"reqMethod",label:"\u8BF7\u6C42\u65B9\u5F0F",effectType:"select",dictTypeCode:"reqMethod",rules:[]},{transKey:"gd.log.whether",prop:"success",label:"\u6267\u884C\u7ED3\u679C",effectType:"select",dictTypeCode:"success",rules:[]},{transKey:"gd.log.opTime",prop:"search",label:"\u64CD\u4F5C\u65F6\u95F4",effectType:"datepicker",options:{displayStyle:0},rules:[]}]}}},F={name:"GdOplog",props:{height:{type:Number,default:100}},mixins:[n.tablesFilter,M],data(){return{transKey:"gd.btn.add",queryParam:{},selectedRowKeys:[],selectedRows:[],isShow:!1,loadData:t=>f(Object.assign(t,this.switchingDate())).then(e=>e.data)}},computed:{getHeight(){return this.height},...o.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},editForm(t){this.transKey="gd.log.detail",this.$refs.editForm.open(Object.assign({...t}))},saveQueries(t){this.queryParam={...t},this.refresh()},refresh(){this.$refs.table.refresh()},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},clearLog(){let t=this;t.$confirm(t.$i18nt("gd.https.emptyContent","\u662F\u5426\u6E05\u7A7A\u6570\u636E?"),t.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:t.$i18nt("gd.https.emptyOk","\u786E\u8BA4\u6E05\u7A7A"),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,a,s)=>{if(e!=="confirm")s();else return new Promise((r,u)=>{w().then(l=>{l.success?(t.$message.success(t.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),t.$refs.table.refresh(!0)):t.$message.error(t.$i18nt("gd.https.operateFail")+l.message),r(),s()}).catch(l=>{t.$message.error(t.$i18nt("gd.error.error")+l.message)})}).catch(()=>console.log("Oops errors!"))}})},switchingDate(){let t=new Map;for(let e in this.queryParam)if(this.queryParam[e]&&e==="createdTime"){if(this.queryParam[e].length>0){let a=this.queryParam[e],s=a[0].split(" ")[0],r=a[1].split(" ")[0];t.set(`${e}BeginTime`,`${s} 00:00:00`),t.set(`${e}EndTime`,`${r} 23:59:59`)}}else t.set(e,this.queryParam[e]);return Object.fromEntries(t)}}};var H=function(){var e=this,a=e._self._c;return a("div",{staticClass:"gd-page-view"},[a("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[a("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:"name",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"name",row:r,highlight:""},on:{click:e.editForm}})]}},{key:"url",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"url",row:r}})]}},{key:"opTime",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"optime",row:r}})]}},{key:"success",fn:function({column:s,row:r}){return[a("span",[e._v(e._s(e._f("dictType")("yes_or_no",e.scope.row.success)))])]}},{key:"operator",fn:function(){return[a("div",{staticClass:"gd-table-operator"},[a("div",{staticClass:"gd-table-operatorr"},[a("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},e.isShow?{key:"filtering",fn:function({colse:s,visible:r}){return[a("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:s,visible:r},on:{save:e.saveQueries}})]}}:null],null,!0)})],1),a("gd-edit-form",{ref:"editForm",attrs:{formItemWidth:"90%",transKey:e.transKey,columns:e.formColumns,labelPosition:e.labelPosition,formMode:e.formMode}})],1)},j=[],G=o.normalizeComponent(F,H,j,!1,null,null,null,null);const p=G.exports;p.install=function(t){t.component(p.name,p)};const Q={data(){return{tableColumns:[{type:"selection",width:"60",fixed:!0},{transKey:"gd.log.eventid",prop:"eventid",label:"\u4E8B\u4EF6id",width:"240",align:"left",renderHeader:(t,...e)=>this.renderHeader(t,...e,{effectType:"input"})},{transKey:"gd.org.state",prop:"state",width:"120",type:"slot",slotType:"state",label:"\u72B6\u6001",align:"left"},{transKey:"gd.org.payload",prop:"payload",label:"\u8BF7\u6C42\u5185\u5BB9",type:"slot",slotType:"payload",align:"left",width:"300",showTooltip:!1},{transKey:"gd.org.message",prop:"message",type:"slot",slotType:"message",width:"200",label:"\u8FD4\u56DE\u6D88\u606F",align:"left",showTooltip:!1},{transKey:"gd.org.stackTrace",prop:"stacktrace",type:"slot",slotType:"stacktrace",width:"200",label:"\u9519\u8BEF\u8DDF\u8E2A",align:"left",showTooltip:!1},{transKey:"gd.org.createdTime",prop:"createdTime",width:"200",type:"slot",slotType:"createdTime",label:"\u521B\u5EFA\u65F6\u95F4",align:"center"},{transKey:"gd.org.endedTime",prop:"endedTime",width:"200",type:"slot",slotType:"endedTime",label:"\u7ED3\u675F\u65F6\u95F4",align:"center"}],formColumns:[{transKey:"gd.log.methodName",prop:"methodName",effectType:"input",label:"\u65B9\u6CD5\u540D",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.className",prop:"className",effectType:"input",label:"\u7C7B\u540D",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.exceptionName",prop:"exceptionName",effectType:"input",label:"\u5F02\u5E38\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[{required:!1,message:"\u8BF7\u8F93\u5165",transKey:"gd.placeholder.input",trigger:"change"}]},{transKey:"gd.log.exceptionMsg",prop:"exceptionMsg",effectType:"textarea",label:"\u5F02\u5E38\u4FE1\u606F",placeholder:"\u8BF7\u8F93\u5165",placeholderTransKey:"gd.placeholder.input",rules:[],autosize:{minRows:4,maxRows:6}}],tableButtons:[{displayName:"\u6E05\u7A7A\u65E5\u5FD7",functionName:"clearLog",show:!0,transKey:"gd.btn.clearLog",icon:"el-icon-delete",name:"sysEvtLog:delete",btnType:"danger"}],tableQueries:[{transKey:"gd.log.eventid",prop:"eventId",label:"\u4E8B\u4EF6id",effectType:"input",rules:[]},{transKey:"gd.log.state",prop:"state",label:"\u72B6\u6001",effectType:"select",dictTypeCode:"event_status",rules:[]},{transKey:"gd.log.startTime",prop:"CreateTime",label:"\u5F00\u59CB\u65F6\u95F4",effectType:"datepicker",options:{displayStyle:0},rules:[]}]}}},V={name:"GdEvtlog",props:{height:{type:Number,default:100}},mixins:[n.tablesFilter,Q],data(){return{transKey:"gd.btn.add",queryParam:{},selectedRowKeys:[],selectedRows:[],loadData:t=>y(Object.assign(t,this.switchingDate())).then(e=>e.data)}},computed:{getHeight(){return this.height},...o.mapGetters(["tablePageSize","tableSize","labelPosition","formMode"])},methods:{onSelectChange(t,e){this.selectedRowKeys=t,this.selectedRows=e},editForm(t){this.transKey="gd.log.detail",this.$refs.editForm.open(Object.assign({...t}))},saveQueries(t){this.queryParam={...t},this.refresh()},switchingDate(){let t=new Map;for(let e in this.queryParam)if(this.queryParam[e]&&e==="createdTime"){if(this.queryParam[e].length>0){let a=this.queryParam[e],s=a[0].split(" ")[0],r=a[1].split(" ")[0];t.set(`${e}Start`,`${s} 00:00:00`),t.set(`${e}End`,`${r} 23:59:59`)}}else t.set(e,this.queryParam[e]);return Object.fromEntries(t)},refresh(){this.$refs.table.refresh()},doEvent(t){let e=t.item.functionName;this[e]&&this[e]()},clearLog(){let t=this;t.$confirm(t.$i18nt("gd.https.emptyContent","\u662F\u5426\u6E05\u7A7A\u6570\u636E?"),t.$i18nt("gd.https.delTitle","\u6E29\u99A8\u63D0\u793A"),{confirmButtonText:t.$i18nt("gd.https.emptyOk","\u786E\u8BA4\u6E05\u7A7A"),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,a,s)=>{if(e!=="confirm")s();else return new Promise((r,u)=>{T().then(l=>{l.success?(t.$message.success(t.$i18nt("gd.https.operateSucc","\u64CD\u4F5C\u6210\u529F")),t.$refs.table.refresh(!0)):t.$message.error(t.$i18nt("gd.https.operateFail")+l.message),r(),s()}).catch(l=>{t.$message.error(t.$i18nt("gd.error.error")+l.message)})}).catch(()=>console.log("Oops errors!"))}})},getDictionary(t){return this.$options.filters.dictData(t)}}};var A=function(){var e=this,a=e._self._c;return a("div",{staticClass:"gd-page-view"},[a("div",{staticClass:"page-view-list",staticStyle:{padding:"0px"}},[a("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:"state",fn:function(s){return[a("span",[e._v(" "+e._s(e._f("dictType")("event_status",s.row.state))+" ")])]}},{key:"message",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"message",row:r,disabled:!1}})]}},{key:"payload",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"payload",align:"left",row:r,disabled:!1}})]}},{key:"stacktrace",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"stacktrace",row:r,disabled:!1}})]}},{key:"createdTime",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"createdtime",row:r}})]}},{key:"endedTime",fn:function({column:s,row:r}){return[a("gd-tooltip",{attrs:{rowKey:"endedtime",row:r}})]}},{key:"operator",fn:function(){return[a("div",{staticClass:"gd-table-operator"},[a("div",{staticClass:"gd-table-operatorl"},[a("el-input",{staticClass:"table-operator-input",attrs:{placeholder:e.$i18nt("gd.log.eventId","\u4E8B\u4EF6id"),clearable:""},nativeOn:{keyup:function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"enter",13,s.key,"Enter")?null:e.refresh.apply(null,arguments)}},model:{value:e.queryParam.eventid,callback:function(s){e.$set(e.queryParam,"eventid",s)},expression:"queryParam.eventid"}}),a("div",{staticClass:"table-operator-search",on:{click:e.refresh}},[a("i",{staticClass:"el-input__icon el-icon-search"})])],1),a("div",{staticClass:"gd-table-operatorr"},[a("gd-btn-list",{attrs:{sysViewButtons:e.tableButtons},on:{functionName:e.doEvent}})],1)])]},proxy:!0},{key:"filtering",fn:function({colse:s,visible:r}){return[a("gd-table-queries-field",{attrs:{columns:e.tableQueries,height:e.getHeight,queryParam:e.queryParam,colse:s,visible:r},on:{save:e.saveQueries}})]}}])})],1)])},I=[],W=o.normalizeComponent(V,A,I,!1,null,null,null,null);const g=W.exports;g.install=function(t){t.component(g.name,g)};exports.GDpackage=i;exports.GDpackage$1=c;exports.GDpackage$2=d;exports.GDpackage$3=p;exports.GDpackage$4=g;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("./chartbi.
|
|
1
|
+
"use strict";const n=require("./chartbi.b5b6fdab.js");function i(a){return window.axios({url:"/sysMachine/use",method:"get",params:a})}function r(a){return window.axios({url:"/sysMachine/base",method:"get",params:a})}function o(a){return window.axios({url:"/sysMachine/network",method:"get",params:a})}const l={name:"GdMachine",data(){return{machineBaseInfo:{},machineNetworkInfo:{},machineUseInfo:{},loading:!0,size:"medium",isShow:!1,label_style:{"font-weight":"600",width:"18%","word-break":"keep-all"},content_style:{"min-width":"200px","word-break":"break-all"}}},computed:{},created(){this.loadMachineBaseInfo(),this.loadMachineUseInfo()},mounted(){this.timer=setInterval(this.refreshData,5*60*1e3)},methods:{loadMachineBaseInfo(){r().then(a=>{this.loading=!1,this.machineBaseInfo=a.data})},loadMachineUseInfo(){i().then(a=>{this.loading=!1,this.machineUseInfo=a.data})},loadMachineNetworkInfo(){o().then(a=>{this.loading=!1,this.machineNetworkInfo=a.data})},refreshData(){this.loadMachineUseInfo(),this.loadMachineNetworkInfo()}},beforeDestroy(){clearInterval(this.timer)}};var c=function(){var e=this,t=e._self._c;return t("div",{staticClass:"gd-page-viewq"},[t("el-row",{attrs:{gutter:12}},[t("el-col",{attrs:{span:12}},[t("el-card",{attrs:{shadow:"never",loading:e.loading}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$i18nt("gd.machine.systemInformation","\u7CFB\u7EDF\u4FE1\u606F")))])]),t("el-descriptions",{attrs:{title:"",column:1,border:"",size:e.size,"label-style":e.label_style,contentStyle:e.content_style}},[t("el-descriptions-item",{attrs:{label:e.$i18nt("gd.machine.host","\u4E3B\u673A\u540D\u79F0")}},[e._v(" "+e._s(e.machineBaseInfo.hostname)+" ")]),t("el-descriptions-item",{attrs:{label:e.$i18nt("gd.machine.operatingSystem","\u64CD\u4F5C\u7CFB\u7EDF")}},[e._v(" "+e._s(e.machineBaseInfo.systemos)+" ")]),t("el-descriptions-item",{attrs:{label:e.$i18nt("gd.machine.architecture","\u7CFB\u7EDF\u67B6\u6784")}},[e._v(" "+e._s(e.machineBaseInfo.osarchitecture)+" ")]),t("el-descriptions-item",{attrs:{label:e.$i18nt("gd.machine.framework","\u8FD0\u884C\u6846\u67B6")}},[e._v(" "+e._s(e.machineBaseInfo.frameworkdescription)+" ")]),t("el-descriptions-item",{attrs:{label:e.$i18nt("gd.machine.cpuCores","\u7CFB\u7EDF\u4FE1\u606F")}},[e._v(" "+e._s(e.machineBaseInfo.processorcount)+" ")])],1)],1)],1),t("el-col",{attrs:{span:12}},[t("el-card",{staticStyle:{"margin-bottom":"12px"},attrs:{shadow:"never",loading:e.loading}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",[e._v(e._s(e.$i18nt("gd.machine.networkInformation","\u7F51\u7EDC\u4FE1\u606F")))])]),t("el-descriptions",{attrs:{title:"",column:1,border:"",size:e.size,"label-style":e.label_style,contentStyle:e.content_style}},[t("el-descriptions-item",{attrs:{label:e.$i18nt("gd.machine.externalNetwork","\u5916\u7F51\u4FE1\u606F")}},[e._v(" "+e._s(e.machineBaseInfo.wanip)+" ")]),t("el-descriptions-item",{attrs:{label:e.$i18nt("gd.machine.iPv4Address","IPv4\u5730\u5740")}},[e._v(" "+e._s(e.machineBaseInfo.lanip)+" ")]),t("el-descriptions-item",{attrs:{label:e.$i18nt("gd.machine.cardMAC","\u7F51\u5361MAC")}},[e._v(" "+e._s(e.machineBaseInfo.ipmac)+" ")]),t("el-descriptions-item",{attrs:{label:e.$i18nt("gd.machine.trafficStatistics","\u6D41\u91CF\u7EDF\u8BA1")}},[e._v(" "+e._s(e.machineNetworkInfo.sendandreceived)+" ")]),t("el-descriptions-item",{attrs:{label:e.$i18nt("gd.machine.networkSpeed","\u7F51\u7EDC\u901F\u5EA6")}},[e._v(" "+e._s(e.machineNetworkInfo.networkspeed)+" ")])],1)],1)],1)],1),t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:24}},[t("el-card",{attrs:{shadow:"never",loading:e.loading}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("span",[e._v(" "+e._s(e.$i18nt("gd.machine.otherInformation","\u5176\u5B83\u4FE1\u606F"))+" ")])]),t("el-descriptions",{attrs:{title:"",column:1,border:"",size:e.size,"label-style":e.label_style,contentStyle:e.content_style}},[t("el-descriptions-item",{attrs:{label:e.$i18nt("gd.machine.runTime","\u8FD0\u884C\u65F6\u95F4")}},[e._v(" "+e._s(e.machineUseInfo.runtime)+" ")]),t("el-descriptions-item",{attrs:{label:e.$i18nt("gd.machine.cpu","CPU\u4F7F\u7528\u7387")}},[e._v(" "+e._s(e.machineUseInfo.cpurate)+"% ")]),t("el-descriptions-item",{attrs:{label:e.$i18nt("gd.machine.totalMemory","\u603B\u5185\u5B58")}},[e._v(" "+e._s(e.machineUseInfo.totalram)+" ")]),t("el-descriptions-item",{attrs:{label:e.$i18nt("gd.machine.memory","\u5185\u5B58\u4F7F\u7528\u7387")}},[e._v(" "+e._s(e.machineUseInfo.ramrate)+"% ")])],1)],1)],1)],1)],1)},d=[],m=n.normalizeComponent(l,c,d,!1,null,"d72322ae",null,null);const s=m.exports;s.install=function(a){a.component(s.name,s)};exports.GDpackage=s;
|