gs-eant-comp 3.0.7 → 3.0.9
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/dist/gs-eant-comp.css +1 -1
- package/dist/gs-eant-comp.js +5213 -26
- package/dist/gs-eant-comp.umd.cjs +4 -18
- package/package.json +1 -1
- package/dist/Activate-CfIQc-Zp.js +0 -169
- package/dist/ActivateForm-Cfmxf7JB.js +0 -134
- package/dist/AuthCallbackCAS-CLg-ACaV.js +0 -26
- package/dist/AuthCallbackOauth-DlRCCsJV.js +0 -30
- package/dist/AutoTaskEList-wQ6PdTlr.js +0 -291
- package/dist/AutoTaskEditor-BHiZevKj.js +0 -275
- package/dist/AutoTaskLog-DDKrty5r.js +0 -48
- package/dist/AutoTaskViewer-CYvggIGV.js +0 -33
- package/dist/DepartmentEList-CF6bKecL.js +0 -209
- package/dist/DepartmentETable-mct60T1p.js +0 -135
- package/dist/DepartmentETree-e6bJiA4U.js +0 -46
- package/dist/DepartmentETree-vL3HbFkn.js +0 -44
- package/dist/DepartmentEditor-CU5XTCf2.js +0 -214
- package/dist/DepartmentUserEList-BvYeoku6.js +0 -171
- package/dist/DepartmentViewer-CXMXe42a.js +0 -34
- package/dist/FlowCenter-CdrOcmJ3.js +0 -52
- package/dist/IconPicker-BplgUQ5t.js +0 -129
- package/dist/IconSelect-NuAXvxVh.js +0 -70
- package/dist/LogETable-B28F96I_.js +0 -221
- package/dist/LogETable-BkLXbzIJ.js +0 -220
- package/dist/LogETable-D938B_TI.js +0 -231
- package/dist/LogEditor-5nlkOAyR.js +0 -136
- package/dist/LogEditor-C2rGmjR_.js +0 -130
- package/dist/LogEditor-Dde9DlwW.js +0 -138
- package/dist/LoginForm-B-DefUdK.js +0 -346
- package/dist/LoginLogViewer-BrlSaCPp.js +0 -33
- package/dist/LoginPageClassic-D2a8kWiH.js +0 -91
- package/dist/LoginPagePortal-Q-Lwwpbu.js +0 -140
- package/dist/LoginViewer-Dxx6tjuD.js +0 -39
- package/dist/MenuApi-DzYTJysM.js +0 -162
- package/dist/MenuDrag-tjmY7o1N.js +0 -108
- package/dist/MenuETable-BAgUF0iO.js +0 -415
- package/dist/MenuEditor-luvfizeH.js +0 -431
- package/dist/MenuViewer-CpGhh20J.js +0 -35
- package/dist/OauthCallback-B_GjYhqd.js +0 -30
- package/dist/OperationLogViewer-DR9PO9Ea.js +0 -32
- package/dist/RegisterForm-C1c1SEvn.js +0 -134
- package/dist/RoleETree-CKy46-Zn.js +0 -150
- package/dist/RoleEditor-CNS3Qk8w.js +0 -168
- package/dist/RoleFacePermission-DEpiV8Zt.js +0 -92
- package/dist/RoleInterfacePermissionETable-Co773S1r.js +0 -115
- package/dist/RoleInterfacePermissionTree-ClUoM85L.js +0 -90
- package/dist/RoleMenuPermissionTree-D5UQJvZR.js +0 -81
- package/dist/RoleUserAddEditor-BlvKzs8m.js +0 -164
- package/dist/RoleUserEList-My5QAm8G.js +0 -106
- package/dist/RoleUserETable-Os7RJeik.js +0 -189
- package/dist/RoleUserManagerViewer-BduFxkpG.js +0 -109
- package/dist/RoleV2Viewer-DQzjP589.js +0 -139
- package/dist/RoleViewer-Dcg3qCCk.js +0 -74
- package/dist/SystemLogViewer-CTYfCAD0.js +0 -33
- package/dist/TaskCenter-CiUnpJ8A.js +0 -251
- package/dist/TaskCenter_v1-D9AxQsFj.js +0 -55
- package/dist/UserEList-BZOI6u_o.js +0 -279
- package/dist/UserEditor-CMaL_euI.js +0 -330
- package/dist/UserViewer-DI_f9xYf.js +0 -55
- package/dist/iconfont-CXJEu-zK.js +0 -7
- package/dist/index-C3Fr-kGd.js +0 -7899
- package/dist/useExComponentActions-BBBV87vq.js +0 -18
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { defineComponent as T, resolveComponent as a, createElementBlock as C, openBlock as p, createVNode as i, withCtx as u, Fragment as R, renderList as $, createBlock as V, normalizeClass as B, normalizeStyle as E, createElementVNode as W, createTextVNode as j, ref as f, computed as F, watch as N, inject as m, reactive as A } from "vue";
|
|
2
|
-
import { useRequest as O } from "vue-request";
|
|
3
|
-
import { i as w } from "./iconfont-CXJEu-zK.js";
|
|
4
|
-
import { _ as U } from "./index-C3Fr-kGd.js";
|
|
5
|
-
const q = T({
|
|
6
|
-
setup() {
|
|
7
|
-
const e = f(
|
|
8
|
-
w.glyphs.map((n) => w.css_prefix_text + n.font_class).sort((n, l) => {
|
|
9
|
-
const P = n.endsWith("-fill") || n.endsWith("-fil"), S = l.endsWith("-fill") || l.endsWith("-fil");
|
|
10
|
-
return P && !S ? 1 : !P && S ? -1 : 0;
|
|
11
|
-
})
|
|
12
|
-
), o = f(""), d = 114, s = f(1), g = F(() => o.value ? e.value.filter((n) => n.includes(o.value)) : e.value), h = f([]), c = () => {
|
|
13
|
-
const n = (s.value - 1) * d, l = s.value * d;
|
|
14
|
-
h.value = g.value.slice(n, l);
|
|
15
|
-
};
|
|
16
|
-
N([o, s], () => {
|
|
17
|
-
console.log("搜索"), c();
|
|
18
|
-
});
|
|
19
|
-
const v = m("$API"), _ = m("refETable"), r = m("selectedRecord"), y = m("refIconPickerVisible"), { run: k } = O(
|
|
20
|
-
async (n) => {
|
|
21
|
-
const l = A(v.menu.update);
|
|
22
|
-
return l[l.method](n);
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
debounceInterval: 300,
|
|
26
|
-
manual: !0,
|
|
27
|
-
onSuccess: (n) => {
|
|
28
|
-
_.value.sync(), y.value.open = !1;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
), I = (n) => {
|
|
32
|
-
r.value.icon = n;
|
|
33
|
-
}, t = (n) => {
|
|
34
|
-
s.value = n, c();
|
|
35
|
-
}, b = () => {
|
|
36
|
-
r.value && k(r.value);
|
|
37
|
-
}, z = () => {
|
|
38
|
-
s.value = 1, c();
|
|
39
|
-
};
|
|
40
|
-
return c(), {
|
|
41
|
-
searchTerm: o,
|
|
42
|
-
filteredIcons: g,
|
|
43
|
-
paginatedIcons: h,
|
|
44
|
-
selectIcon: I,
|
|
45
|
-
handleOk: b,
|
|
46
|
-
currentPage: s,
|
|
47
|
-
pageSize: d,
|
|
48
|
-
handlePageChange: t,
|
|
49
|
-
handleSearch: z,
|
|
50
|
-
selectedRecord: r
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
}), x = { class: "d-flex flex-column h-100 justify-content-between align-items-center" }, L = { class: "d-flex justify-content-between align-items-center pe-3" };
|
|
54
|
-
function D(e, o, d, s, g, h) {
|
|
55
|
-
const c = a("a-input"), v = a("a-icon");
|
|
56
|
-
a("a-tooltip");
|
|
57
|
-
const _ = a("a-col"), r = a("a-row"), y = a("a-pagination"), k = a("a-button"), I = a("a-card");
|
|
58
|
-
return p(), C("div", x, [
|
|
59
|
-
i(I, {
|
|
60
|
-
class: "e-card rounded-0 w-100",
|
|
61
|
-
bodyStyle: { padding: "16px 16px" },
|
|
62
|
-
title: "图标"
|
|
63
|
-
}, {
|
|
64
|
-
extra: u(() => [
|
|
65
|
-
i(c, {
|
|
66
|
-
value: e.searchTerm,
|
|
67
|
-
"onUpdate:value": o[0] || (o[0] = (t) => e.searchTerm = t),
|
|
68
|
-
placeholder: "搜索图标",
|
|
69
|
-
size: "small",
|
|
70
|
-
onInput: e.handleSearch
|
|
71
|
-
}, null, 8, ["value", "onInput"])
|
|
72
|
-
]),
|
|
73
|
-
actions: u(() => [
|
|
74
|
-
W("div", L, [
|
|
75
|
-
i(y, {
|
|
76
|
-
total: e.filteredIcons.length,
|
|
77
|
-
pageSize: e.pageSize,
|
|
78
|
-
current: e.currentPage,
|
|
79
|
-
"onUpdate:current": o[1] || (o[1] = (t) => e.currentPage = t),
|
|
80
|
-
onChange: e.handlePageChange,
|
|
81
|
-
"show-size-changer": !1
|
|
82
|
-
}, null, 8, ["total", "pageSize", "current", "onChange"]),
|
|
83
|
-
i(k, {
|
|
84
|
-
type: "primary",
|
|
85
|
-
onClick: e.handleOk,
|
|
86
|
-
class: "rounded-0"
|
|
87
|
-
}, {
|
|
88
|
-
default: u(() => [...o[2] || (o[2] = [
|
|
89
|
-
j("选定", -1)
|
|
90
|
-
])]),
|
|
91
|
-
_: 1
|
|
92
|
-
}, 8, ["onClick"])
|
|
93
|
-
])
|
|
94
|
-
]),
|
|
95
|
-
default: u(() => [
|
|
96
|
-
i(r, { gutter: [16, 16] }, {
|
|
97
|
-
default: u(() => [
|
|
98
|
-
(p(!0), C(R, null, $(e.paginatedIcons, (t) => (p(), V(_, {
|
|
99
|
-
span: 4,
|
|
100
|
-
key: t,
|
|
101
|
-
class: "text-center cp",
|
|
102
|
-
onClick: (b) => e.selectIcon(t)
|
|
103
|
-
}, {
|
|
104
|
-
default: u(() => [
|
|
105
|
-
(p(), C("div", {
|
|
106
|
-
key: 1,
|
|
107
|
-
class: B(["w-100", { "bg-dark-subtle": e.selectedRecord.icon === t, "bg-light": e.selectedRecord.icon != t }])
|
|
108
|
-
}, [
|
|
109
|
-
i(v, {
|
|
110
|
-
type: t,
|
|
111
|
-
class: "py-1",
|
|
112
|
-
style: E({ fontSize: "18px", cursor: "pointer", color: e.selectedRecord.icon === t ? "#1890ff" : "#000" })
|
|
113
|
-
}, null, 8, ["type", "style"])
|
|
114
|
-
], 2))
|
|
115
|
-
]),
|
|
116
|
-
_: 2
|
|
117
|
-
}, 1032, ["onClick"]))), 128))
|
|
118
|
-
]),
|
|
119
|
-
_: 1
|
|
120
|
-
})
|
|
121
|
-
]),
|
|
122
|
-
_: 1
|
|
123
|
-
})
|
|
124
|
-
]);
|
|
125
|
-
}
|
|
126
|
-
const M = /* @__PURE__ */ U(q, [["render", D]]);
|
|
127
|
-
export {
|
|
128
|
-
M as default
|
|
129
|
-
};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { defineComponent as y, resolveComponent as c, createBlock as r, openBlock as i, withCtx as p, createElementVNode as u, createVNode as V, createTextVNode as S, toDisplayString as v, createCommentVNode as x, ref as d, computed as g } from "vue";
|
|
2
|
-
import { i as m } from "./iconfont-CXJEu-zK.js";
|
|
3
|
-
import { _ as w } from "./index-C3Fr-kGd.js";
|
|
4
|
-
const C = y({
|
|
5
|
-
name: "IconSelect",
|
|
6
|
-
props: {
|
|
7
|
-
modelValue: {
|
|
8
|
-
type: String,
|
|
9
|
-
default: ""
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
emits: ["update:modelValue"],
|
|
13
|
-
setup(e, { emit: f }) {
|
|
14
|
-
const l = m.css_prefix_text, a = d(
|
|
15
|
-
m.glyphs.map((o) => ({
|
|
16
|
-
label: l + o.font_class,
|
|
17
|
-
value: l + o.font_class
|
|
18
|
-
}))
|
|
19
|
-
), t = d(""), s = g(() => t.value ? a.value.filter(
|
|
20
|
-
(o) => o.label.toLowerCase().includes(t.value.toLowerCase())
|
|
21
|
-
) : a.value), n = (o) => {
|
|
22
|
-
t.value = o;
|
|
23
|
-
};
|
|
24
|
-
return {
|
|
25
|
-
modelValue: e.modelValue,
|
|
26
|
-
filteredIcons: s,
|
|
27
|
-
handleSearch: n
|
|
28
|
-
};
|
|
29
|
-
},
|
|
30
|
-
watch: {
|
|
31
|
-
modelValue(e) {
|
|
32
|
-
emit("update:modelValue", e);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}), I = { class: "bg-light px-3 py-1" };
|
|
36
|
-
function N(e, f, l, a, t, s) {
|
|
37
|
-
const n = c("a-icon"), o = c("a-select");
|
|
38
|
-
return i(), r(o, {
|
|
39
|
-
style: { width: "100%" },
|
|
40
|
-
placeholder: "select one icon",
|
|
41
|
-
options: e.filteredIcons,
|
|
42
|
-
"filter-option": !1,
|
|
43
|
-
onSearch: e.handleSearch,
|
|
44
|
-
"show-search": ""
|
|
45
|
-
}, {
|
|
46
|
-
suffixIcon: p(() => [
|
|
47
|
-
u("div", I, [
|
|
48
|
-
e.modelValue ? (i(), r(n, {
|
|
49
|
-
key: 0,
|
|
50
|
-
type: e.modelValue,
|
|
51
|
-
style: { fontSize: "18px", cursor: "pointer", color: "#1890ff" }
|
|
52
|
-
}, null, 8, ["type"])) : x("", !0)
|
|
53
|
-
])
|
|
54
|
-
]),
|
|
55
|
-
option: p(({ label: _, value: h }) => [
|
|
56
|
-
u("span", null, [
|
|
57
|
-
V(n, {
|
|
58
|
-
type: h,
|
|
59
|
-
style: { "margin-right": "8px" }
|
|
60
|
-
}, null, 8, ["type"]),
|
|
61
|
-
S(" " + v(_) + "111 ", 1)
|
|
62
|
-
])
|
|
63
|
-
]),
|
|
64
|
-
_: 1
|
|
65
|
-
}, 8, ["options", "onSearch"]);
|
|
66
|
-
}
|
|
67
|
-
const B = /* @__PURE__ */ w(C, [["render", N]]);
|
|
68
|
-
export {
|
|
69
|
-
B as default
|
|
70
|
-
};
|
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
import { defineComponent as D, resolveComponent as r, createElementBlock as h, openBlock as c, Fragment as $, createElementVNode as y, createVNode as t, withCtx as l, createBlock as v, createTextVNode as a, toDisplayString as i, ref as u, provide as f, inject as j, reactive as E } from "vue";
|
|
2
|
-
import I from "./LogEditor-C2rGmjR_.js";
|
|
3
|
-
import { _ as L } from "./index-C3Fr-kGd.js";
|
|
4
|
-
const q = D({
|
|
5
|
-
components: { LogEditor: I },
|
|
6
|
-
setup() {
|
|
7
|
-
const n = u();
|
|
8
|
-
f("refETable", n);
|
|
9
|
-
const o = u();
|
|
10
|
-
f("refEDrawer", o);
|
|
11
|
-
const b = j("$API"), z = E(b.logs.login.list);
|
|
12
|
-
f("apiObj", z);
|
|
13
|
-
const g = [
|
|
14
|
-
//{ title: "操作描述", dataIndex: "dzms" , width:120 },
|
|
15
|
-
], w = E({
|
|
16
|
-
fwyh: "",
|
|
17
|
-
dzlx: null
|
|
18
|
-
});
|
|
19
|
-
f("state", w);
|
|
20
|
-
const x = u([
|
|
21
|
-
{ value: "登录", text: "登录" },
|
|
22
|
-
{ value: "注销", text: "注销" }
|
|
23
|
-
]), p = u([
|
|
24
|
-
{ value: "200", text: "成功" },
|
|
25
|
-
{ value: "500", text: "失败" }
|
|
26
|
-
]), _ = () => {
|
|
27
|
-
n.value.search();
|
|
28
|
-
}, d = u();
|
|
29
|
-
return f("selectRowKey", d), {
|
|
30
|
-
columns: g,
|
|
31
|
-
refETable: n,
|
|
32
|
-
refEDrawer: o,
|
|
33
|
-
state: w,
|
|
34
|
-
dzlx: x,
|
|
35
|
-
zxzt: p,
|
|
36
|
-
search: _,
|
|
37
|
-
table_show: (m) => {
|
|
38
|
-
d.value = m, o.value.open = !0;
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
}), B = { class: "h-100 d-flex flex-column overflow-hidden bg-white" }, N = { key: 0 }, V = { key: 1 }, K = { class: "d-flex align-items-center" };
|
|
43
|
-
function O(n, o, b, z, g, w) {
|
|
44
|
-
const x = r("a-input"), p = r("a-icon"), _ = r("a-button"), d = r("a-tag"), s = r("a-table-column"), m = r("a-badge"), k = r("ETable"), C = r("LogEditor"), T = r("EDrawer");
|
|
45
|
-
return c(), h($, null, [
|
|
46
|
-
y("div", B, [
|
|
47
|
-
t(k, {
|
|
48
|
-
ref: "refETable",
|
|
49
|
-
columns: n.columns,
|
|
50
|
-
pageSize: 20
|
|
51
|
-
}, {
|
|
52
|
-
left: l(() => [...o[1] || (o[1] = [
|
|
53
|
-
a(" 登录日志 ", -1)
|
|
54
|
-
])]),
|
|
55
|
-
right: l(() => [
|
|
56
|
-
t(x, {
|
|
57
|
-
size: "small",
|
|
58
|
-
value: n.state.fwyh,
|
|
59
|
-
"onUpdate:value": o[0] || (o[0] = (e) => n.state.fwyh = e),
|
|
60
|
-
placeholder: "操作人员",
|
|
61
|
-
allowClear: !0,
|
|
62
|
-
class: "mb-0 rounded"
|
|
63
|
-
}, null, 8, ["value"]),
|
|
64
|
-
t(_, {
|
|
65
|
-
size: "small",
|
|
66
|
-
type: "primary",
|
|
67
|
-
onClick: n.search,
|
|
68
|
-
class: "rounded"
|
|
69
|
-
}, {
|
|
70
|
-
default: l(() => [
|
|
71
|
-
t(p, { type: "icon-search" })
|
|
72
|
-
]),
|
|
73
|
-
_: 1
|
|
74
|
-
}, 8, ["onClick"])
|
|
75
|
-
]),
|
|
76
|
-
default: l(() => [
|
|
77
|
-
t(s, {
|
|
78
|
-
title: "操作类型",
|
|
79
|
-
dataIndex: "dzlx",
|
|
80
|
-
width: 100,
|
|
81
|
-
filters: n.dzlx
|
|
82
|
-
}, {
|
|
83
|
-
default: l(({ record: e }) => [
|
|
84
|
-
e.dzlx == "注销" ? (c(), v(d, {
|
|
85
|
-
key: 0,
|
|
86
|
-
color: "orange",
|
|
87
|
-
class: "w-100 text-center"
|
|
88
|
-
}, {
|
|
89
|
-
default: l(() => [
|
|
90
|
-
a(i(e.dzlx), 1)
|
|
91
|
-
]),
|
|
92
|
-
_: 2
|
|
93
|
-
}, 1024)) : (c(), v(d, {
|
|
94
|
-
key: 1,
|
|
95
|
-
color: "blue",
|
|
96
|
-
class: "w-100 text-center"
|
|
97
|
-
}, {
|
|
98
|
-
default: l(() => [
|
|
99
|
-
a(i(e.dzlx), 1)
|
|
100
|
-
]),
|
|
101
|
-
_: 2
|
|
102
|
-
}, 1024))
|
|
103
|
-
]),
|
|
104
|
-
_: 1
|
|
105
|
-
}, 8, ["filters"]),
|
|
106
|
-
t(s, {
|
|
107
|
-
title: "登录用户",
|
|
108
|
-
width: 100
|
|
109
|
-
}, {
|
|
110
|
-
default: l(({ record: e }) => [
|
|
111
|
-
a(i(e.fwyh), 1)
|
|
112
|
-
]),
|
|
113
|
-
_: 1
|
|
114
|
-
}),
|
|
115
|
-
t(s, {
|
|
116
|
-
title: "请求方式",
|
|
117
|
-
width: 80
|
|
118
|
-
}, {
|
|
119
|
-
default: l(({ record: e }) => [
|
|
120
|
-
a(i(e.qqfs), 1)
|
|
121
|
-
]),
|
|
122
|
-
_: 1
|
|
123
|
-
}),
|
|
124
|
-
t(s, {
|
|
125
|
-
title: "主机",
|
|
126
|
-
width: 140
|
|
127
|
-
}, {
|
|
128
|
-
default: l(({ record: e }) => [
|
|
129
|
-
a(i(e.fwip), 1)
|
|
130
|
-
]),
|
|
131
|
-
_: 1
|
|
132
|
-
}),
|
|
133
|
-
t(s, {
|
|
134
|
-
title: "状态",
|
|
135
|
-
width: 80,
|
|
136
|
-
dataIndex: "zxzt",
|
|
137
|
-
filters: n.zxzt
|
|
138
|
-
}, {
|
|
139
|
-
default: l(({ record: e }) => [
|
|
140
|
-
e.zxzt == "500" ? (c(), h("span", N, [
|
|
141
|
-
t(m, { status: "error" }),
|
|
142
|
-
o[2] || (o[2] = a("失败", -1))
|
|
143
|
-
])) : (c(), h("span", V, [
|
|
144
|
-
t(m, { status: "processing" }),
|
|
145
|
-
o[3] || (o[3] = a("成功", -1))
|
|
146
|
-
]))
|
|
147
|
-
]),
|
|
148
|
-
_: 1
|
|
149
|
-
}, 8, ["filters"]),
|
|
150
|
-
t(s, {
|
|
151
|
-
title: "操作系统",
|
|
152
|
-
width: 100
|
|
153
|
-
}, {
|
|
154
|
-
default: l(({ record: e }) => [
|
|
155
|
-
a(i(e.czxt), 1)
|
|
156
|
-
]),
|
|
157
|
-
_: 1
|
|
158
|
-
}),
|
|
159
|
-
t(s, {
|
|
160
|
-
title: "浏览器",
|
|
161
|
-
width: 100
|
|
162
|
-
}, {
|
|
163
|
-
default: l(({ record: e }) => [
|
|
164
|
-
a(i(e.llq), 1)
|
|
165
|
-
]),
|
|
166
|
-
_: 1
|
|
167
|
-
}),
|
|
168
|
-
t(s, {
|
|
169
|
-
title: "操作日期",
|
|
170
|
-
dataIndex: "fwsj",
|
|
171
|
-
width: 150,
|
|
172
|
-
ellipsis: "true",
|
|
173
|
-
sorter: { multiple: 1 }
|
|
174
|
-
}, {
|
|
175
|
-
default: l(({ record: e }) => [
|
|
176
|
-
a(i(e.fwsj), 1)
|
|
177
|
-
]),
|
|
178
|
-
_: 1
|
|
179
|
-
}),
|
|
180
|
-
t(s, {
|
|
181
|
-
title: "操作",
|
|
182
|
-
fixed: "right",
|
|
183
|
-
width: 80
|
|
184
|
-
}, {
|
|
185
|
-
default: l(({ record: e }) => [
|
|
186
|
-
y("span", K, [
|
|
187
|
-
t(_, {
|
|
188
|
-
type: "link",
|
|
189
|
-
size: "small",
|
|
190
|
-
onClick: (R) => n.table_show(e.key)
|
|
191
|
-
}, {
|
|
192
|
-
default: l(() => [
|
|
193
|
-
t(p, { type: "icon-eye" }),
|
|
194
|
-
o[4] || (o[4] = a("详细", -1))
|
|
195
|
-
]),
|
|
196
|
-
_: 1
|
|
197
|
-
}, 8, ["onClick"])
|
|
198
|
-
])
|
|
199
|
-
]),
|
|
200
|
-
_: 1
|
|
201
|
-
})
|
|
202
|
-
]),
|
|
203
|
-
_: 1
|
|
204
|
-
}, 8, ["columns"])
|
|
205
|
-
]),
|
|
206
|
-
t(T, {
|
|
207
|
-
ref: "refEDrawer",
|
|
208
|
-
size: "large",
|
|
209
|
-
closable: !1
|
|
210
|
-
}, {
|
|
211
|
-
default: l(() => [
|
|
212
|
-
t(C)
|
|
213
|
-
]),
|
|
214
|
-
_: 1
|
|
215
|
-
}, 512)
|
|
216
|
-
], 64);
|
|
217
|
-
}
|
|
218
|
-
const P = /* @__PURE__ */ L(q, [["render", O], ["__scopeId", "data-v-fd56a066"]]);
|
|
219
|
-
export {
|
|
220
|
-
P as default
|
|
221
|
-
};
|
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
import { defineComponent as D, resolveComponent as i, createElementBlock as x, openBlock as c, Fragment as I, createElementVNode as y, createVNode as t, withCtx as l, createBlock as v, createTextVNode as a, toDisplayString as r, ref as u, provide as f, inject as $, reactive as E } from "vue";
|
|
2
|
-
import j from "./LogEditor-Dde9DlwW.js";
|
|
3
|
-
import { _ as L } from "./index-C3Fr-kGd.js";
|
|
4
|
-
const q = D({
|
|
5
|
-
components: { LogEditor: j },
|
|
6
|
-
setup() {
|
|
7
|
-
const n = u();
|
|
8
|
-
f("refETable", n);
|
|
9
|
-
const o = u();
|
|
10
|
-
f("refEDrawer", o);
|
|
11
|
-
const z = $("$API"), b = E(z.logs.sys.list);
|
|
12
|
-
f("apiObj", b);
|
|
13
|
-
const g = [
|
|
14
|
-
{ title: "操作描述", dataIndex: "dzms", width: 120 }
|
|
15
|
-
], w = E({
|
|
16
|
-
fwyh: "",
|
|
17
|
-
dzlx: null
|
|
18
|
-
});
|
|
19
|
-
f("state", w);
|
|
20
|
-
const h = u([
|
|
21
|
-
{ value: "新增", text: "新增" },
|
|
22
|
-
{ value: "修改", text: "修改" },
|
|
23
|
-
{ value: "删除", text: "删除" }
|
|
24
|
-
]), p = u([
|
|
25
|
-
{ value: "200", text: "成功" },
|
|
26
|
-
{ value: "500", text: "失败" }
|
|
27
|
-
]), _ = () => {
|
|
28
|
-
n.value.search();
|
|
29
|
-
}, d = u();
|
|
30
|
-
return f("selectRowKey", d), {
|
|
31
|
-
columns: g,
|
|
32
|
-
refETable: n,
|
|
33
|
-
refEDrawer: o,
|
|
34
|
-
state: w,
|
|
35
|
-
dzlx: h,
|
|
36
|
-
zxzt: p,
|
|
37
|
-
search: _,
|
|
38
|
-
table_show: (m) => {
|
|
39
|
-
d.value = m, o.value.open = !0;
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
}), B = { class: "h-100 d-flex flex-column overflow-hidden bg-white" }, N = { key: 0 }, V = { key: 1 }, K = { class: "d-flex align-items-center" };
|
|
44
|
-
function O(n, o, z, b, g, w) {
|
|
45
|
-
const h = i("a-input"), p = i("a-icon"), _ = i("a-button"), d = i("a-tag"), s = i("a-table-column"), m = i("a-badge"), k = i("ETable"), C = i("LogEditor"), T = i("EDrawer");
|
|
46
|
-
return c(), x(I, null, [
|
|
47
|
-
y("div", B, [
|
|
48
|
-
t(k, {
|
|
49
|
-
ref: "refETable",
|
|
50
|
-
columns: n.columns,
|
|
51
|
-
pageSize: 20
|
|
52
|
-
}, {
|
|
53
|
-
left: l(() => [...o[1] || (o[1] = [
|
|
54
|
-
a(" 操作日志 ", -1)
|
|
55
|
-
])]),
|
|
56
|
-
right: l(() => [
|
|
57
|
-
t(h, {
|
|
58
|
-
size: "small",
|
|
59
|
-
value: n.state.fwyh,
|
|
60
|
-
"onUpdate:value": o[0] || (o[0] = (e) => n.state.fwyh = e),
|
|
61
|
-
placeholder: "操作人员",
|
|
62
|
-
allowClear: !0,
|
|
63
|
-
class: "mb-0 rounded"
|
|
64
|
-
}, null, 8, ["value"]),
|
|
65
|
-
t(_, {
|
|
66
|
-
size: "small",
|
|
67
|
-
type: "primary",
|
|
68
|
-
onClick: n.search,
|
|
69
|
-
class: "rounded"
|
|
70
|
-
}, {
|
|
71
|
-
default: l(() => [
|
|
72
|
-
t(p, { type: "icon-search" })
|
|
73
|
-
]),
|
|
74
|
-
_: 1
|
|
75
|
-
}, 8, ["onClick"])
|
|
76
|
-
]),
|
|
77
|
-
default: l(() => [
|
|
78
|
-
t(s, {
|
|
79
|
-
title: "操作类型",
|
|
80
|
-
dataIndex: "dzlx",
|
|
81
|
-
width: 100,
|
|
82
|
-
filters: n.dzlx
|
|
83
|
-
}, {
|
|
84
|
-
default: l(({ record: e }) => [
|
|
85
|
-
e.dzlx == "删除" ? (c(), v(d, {
|
|
86
|
-
key: 0,
|
|
87
|
-
color: "orange"
|
|
88
|
-
}, {
|
|
89
|
-
default: l(() => [
|
|
90
|
-
a(r(e.dzlx), 1)
|
|
91
|
-
]),
|
|
92
|
-
_: 2
|
|
93
|
-
}, 1024)) : (c(), v(d, {
|
|
94
|
-
key: 1,
|
|
95
|
-
color: "blue"
|
|
96
|
-
}, {
|
|
97
|
-
default: l(() => [
|
|
98
|
-
a(r(e.dzlx), 1)
|
|
99
|
-
]),
|
|
100
|
-
_: 2
|
|
101
|
-
}, 1024))
|
|
102
|
-
]),
|
|
103
|
-
_: 1
|
|
104
|
-
}, 8, ["filters"]),
|
|
105
|
-
t(s, {
|
|
106
|
-
title: "操作人员",
|
|
107
|
-
width: 100
|
|
108
|
-
}, {
|
|
109
|
-
default: l(({ record: e }) => [
|
|
110
|
-
a(r(e.fwyh), 1)
|
|
111
|
-
]),
|
|
112
|
-
_: 1
|
|
113
|
-
}),
|
|
114
|
-
t(s, {
|
|
115
|
-
title: "请求方式",
|
|
116
|
-
width: 80
|
|
117
|
-
}, {
|
|
118
|
-
default: l(({ record: e }) => [
|
|
119
|
-
a(r(e.qqfs), 1)
|
|
120
|
-
]),
|
|
121
|
-
_: 1
|
|
122
|
-
}),
|
|
123
|
-
t(s, {
|
|
124
|
-
title: "主机",
|
|
125
|
-
width: 140
|
|
126
|
-
}, {
|
|
127
|
-
default: l(({ record: e }) => [
|
|
128
|
-
a(r(e.fwip), 1)
|
|
129
|
-
]),
|
|
130
|
-
_: 1
|
|
131
|
-
}),
|
|
132
|
-
t(s, {
|
|
133
|
-
title: "状态",
|
|
134
|
-
width: 120,
|
|
135
|
-
dataIndex: "zxzt",
|
|
136
|
-
filters: n.zxzt
|
|
137
|
-
}, {
|
|
138
|
-
default: l(({ record: e }) => [
|
|
139
|
-
e.zxzt == "500" ? (c(), x("span", N, [
|
|
140
|
-
t(m, { status: "error" }),
|
|
141
|
-
o[2] || (o[2] = a("失败", -1))
|
|
142
|
-
])) : (c(), x("span", V, [
|
|
143
|
-
t(m, { status: "processing" }),
|
|
144
|
-
o[3] || (o[3] = a("成功", -1))
|
|
145
|
-
]))
|
|
146
|
-
]),
|
|
147
|
-
_: 1
|
|
148
|
-
}, 8, ["filters"]),
|
|
149
|
-
t(s, {
|
|
150
|
-
title: "操作系统",
|
|
151
|
-
width: 100
|
|
152
|
-
}, {
|
|
153
|
-
default: l(({ record: e }) => [
|
|
154
|
-
a(r(e.czxt), 1)
|
|
155
|
-
]),
|
|
156
|
-
_: 1
|
|
157
|
-
}),
|
|
158
|
-
t(s, {
|
|
159
|
-
title: "浏览器",
|
|
160
|
-
width: 100
|
|
161
|
-
}, {
|
|
162
|
-
default: l(({ record: e }) => [
|
|
163
|
-
a(r(e.llq), 1)
|
|
164
|
-
]),
|
|
165
|
-
_: 1
|
|
166
|
-
}),
|
|
167
|
-
t(s, {
|
|
168
|
-
title: "操作日期",
|
|
169
|
-
dataIndex: "fwsj",
|
|
170
|
-
width: 150,
|
|
171
|
-
ellipsis: "true",
|
|
172
|
-
sorter: { multiple: 1 }
|
|
173
|
-
}, {
|
|
174
|
-
default: l(({ record: e }) => [
|
|
175
|
-
a(r(e.fwsj), 1)
|
|
176
|
-
]),
|
|
177
|
-
_: 1
|
|
178
|
-
}),
|
|
179
|
-
t(s, {
|
|
180
|
-
title: "操作",
|
|
181
|
-
fixed: "right",
|
|
182
|
-
width: 80
|
|
183
|
-
}, {
|
|
184
|
-
default: l(({ record: e }) => [
|
|
185
|
-
y("span", K, [
|
|
186
|
-
t(_, {
|
|
187
|
-
type: "link",
|
|
188
|
-
size: "small",
|
|
189
|
-
onClick: (R) => n.table_show(e.key)
|
|
190
|
-
}, {
|
|
191
|
-
default: l(() => [
|
|
192
|
-
t(p, { type: "icon-eye" }),
|
|
193
|
-
o[4] || (o[4] = a("详细", -1))
|
|
194
|
-
]),
|
|
195
|
-
_: 1
|
|
196
|
-
}, 8, ["onClick"])
|
|
197
|
-
])
|
|
198
|
-
]),
|
|
199
|
-
_: 1
|
|
200
|
-
})
|
|
201
|
-
]),
|
|
202
|
-
_: 1
|
|
203
|
-
}, 8, ["columns"])
|
|
204
|
-
]),
|
|
205
|
-
t(T, {
|
|
206
|
-
ref: "refEDrawer",
|
|
207
|
-
size: "large",
|
|
208
|
-
closable: !1
|
|
209
|
-
}, {
|
|
210
|
-
default: l(() => [
|
|
211
|
-
t(C)
|
|
212
|
-
]),
|
|
213
|
-
_: 1
|
|
214
|
-
}, 512)
|
|
215
|
-
], 64);
|
|
216
|
-
}
|
|
217
|
-
const P = /* @__PURE__ */ L(q, [["render", O], ["__scopeId", "data-v-06a18298"]]);
|
|
218
|
-
export {
|
|
219
|
-
P as default
|
|
220
|
-
};
|