@pubinfo/module-rbac 2.1.10-beta.2 → 2.1.11
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/ComponentSelect-A7uGTuHW.js +3498 -0
- package/dist/{DynamicRoutesForm-DP_sq_Uu.js → DynamicRoutesForm-DSzy_bh5.js} +43 -42
- package/dist/HCheckList-ODQHidN8.js +37 -0
- package/dist/HoverCard-CmJCoa2b.js +44 -0
- package/dist/{IconSelect-CiLpc63Z.js → IconSelect-DouEg3xY.js} +89 -88
- package/dist/ImportExport-DisdLoY8.js +342 -0
- package/dist/{LayoutForm-Cp4bBrYl.js → LayoutForm-Bdfs5WeK.js} +35 -34
- package/dist/{MetaForm-CVSgktB_.js → MetaForm-CcDwS8vh.js} +6128 -6143
- package/dist/{OrgAndPosition-ClASobEv.js → OrgAndPosition-jDX7m0HD.js} +61 -60
- package/dist/{ResourceEdit-w8qh1MFO.js → ResourceEdit-0BYZRye_.js} +128 -127
- package/dist/{ResourceRelation-ChEwIbWM.js → ResourceRelation-CU-QpUhP.js} +25 -25
- package/dist/{ResourceRelation-D_j898zp.js → ResourceRelation-roz0a8Td.js} +35 -34
- package/dist/{RoleRelation-DzyVn5dk.js → RoleRelation-BQQFaum0.js} +28 -27
- package/dist/{RoleSelector-Cd6_RUsc.js → RoleSelector-gkar_UGG.js} +89 -89
- package/dist/{TenantEdit-BOvXk7BZ.js → TenantEdit-BsahDUlf.js} +94 -93
- package/dist/{UserAuthorization-DLeivbs7.js → UserAuthorization-2Fl4IGw7.js} +81 -80
- package/dist/{UserEdit-YKS1FVW_.js → UserEdit-CX3Qau8T.js} +102 -101
- package/dist/{animation_item-BU-LInxP.js → animation_item-DBOz2rcX.js} +20 -22
- package/dist/{blackWhiteList-CNQltBqC.js → blackWhiteList-DbG7JH8n.js} +69 -69
- package/dist/blackWhiteList.css +1 -1
- package/dist/breadcrumb_setting-DTR6CPZQ.js +108 -0
- package/dist/{browserType-Dn_hQtAN.js → browserType-B8A1Osvk.js} +11 -10
- package/dist/chunk-DiMWNkAf.js +18 -0
- package/dist/cloneDeep-CSOSavu3.js +6 -0
- package/dist/components/GroupSelector/index.vue.d.ts +7 -1
- package/dist/components/ResourceIcones/Select.vue.d.ts +2 -1
- package/dist/components/ResourceSelector/index.vue.d.ts +7 -1
- package/dist/components/RoleSelector/RoleSearch.vue.d.ts +9 -1
- package/dist/components/RoleSelector/RoleSelector.vue.d.ts +7 -1
- package/dist/{createAndEditDataPermission-CaOBJgoV.js → createAndEditDataPermission-8_KNLzJT.js} +49 -48
- package/dist/createAndEditDataPermission.css +1 -1
- package/dist/{data-permission-ZRQ-Aoib.js → data-permission-LpuDLDm0.js} +41 -41
- package/dist/{dayjs.min-sGDSMYRj.js → dayjs.min-Cb7gQFd4.js} +1 -1
- package/dist/{dictionary-CtGgtPfc.js → dictionary-CEaxjqZe.js} +46 -46
- package/dist/drawerBlackWhiteList-DXLdWurZ.js +120 -0
- package/dist/drawerDictionary-DYJTAZr6.js +126 -0
- package/dist/drawerDictionaryItem-BChXD2-q.js +138 -0
- package/dist/{drawerGroup-DEuiiDPP.js → drawerGroup-CdnZkZxi.js} +67 -66
- package/dist/drawerOrganization-CwtSFUj0.js +247 -0
- package/dist/drawerPosition-CfyfeQCN.js +166 -0
- package/dist/drawerRegion-DAwY_29K.js +183 -0
- package/dist/drawerRole-B7uCfHk-.js +154 -0
- package/dist/{drawerRole-Dv61PBZR.js → drawerRole-DK6DrinO.js} +77 -76
- package/dist/{drawerRole-DNDyOvXw.js → drawerRole-DrzMHL0O.js} +69 -68
- package/dist/{group-BbkZjv5e.js → group-CaOhkh72.js} +48 -48
- package/dist/group.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +613 -689
- package/dist/isEmpty-BjEzPyCa.js +12 -0
- package/dist/{itemlist-By-FV6pN.js → itemlist-CFwRUV2Y.js} +44 -44
- package/dist/json-asset-03f0a035.json +1 -0
- package/dist/json-asset-0ee63e7f.json +1 -0
- package/dist/json-asset-10eef4fe.json +1 -0
- package/dist/json-asset-13f452f1.json +1 -0
- package/dist/json-asset-14b7b290.json +1 -0
- package/dist/json-asset-15b8cef1.json +1 -0
- package/dist/json-asset-15f77960.json +1 -0
- package/dist/json-asset-1ae9b726.json +1 -0
- package/dist/json-asset-1b02359f.json +1 -0
- package/dist/json-asset-1ef286cd.json +1 -0
- package/dist/json-asset-23cfd18c.json +1 -0
- package/dist/json-asset-265a0a5d.json +1 -0
- package/dist/json-asset-28d57c49.json +1 -0
- package/dist/json-asset-2b54ed10.json +1 -0
- package/dist/json-asset-2bb6f642.json +1 -0
- package/dist/json-asset-2cdc07bd.json +1 -0
- package/dist/json-asset-31c58607.json +1 -0
- package/dist/json-asset-32884f23.json +1 -0
- package/dist/json-asset-32fca43a.json +1 -0
- package/dist/json-asset-3a75445b.json +1 -0
- package/dist/json-asset-3f27d67c.json +1 -0
- package/dist/json-asset-4189453f.json +1 -0
- package/dist/json-asset-4702b37c.json +1 -0
- package/dist/json-asset-520a5c68.json +1 -0
- package/dist/json-asset-56bea508.json +1 -0
- package/dist/json-asset-57c732a3.json +1 -0
- package/dist/json-asset-5be4a28f.json +1 -0
- package/dist/json-asset-5e6d7cfa.json +1 -0
- package/dist/json-asset-64e176c9.json +1 -0
- package/dist/json-asset-6583dca6.json +1 -0
- package/dist/json-asset-66c640c6.json +1 -0
- package/dist/json-asset-68393156.json +1 -0
- package/dist/json-asset-688465aa.json +1 -0
- package/dist/json-asset-6bf334f4.json +1 -0
- package/dist/json-asset-7b4f72ce.json +1 -0
- package/dist/json-asset-837ec087.json +1 -0
- package/dist/json-asset-838ac1ba.json +1 -0
- package/dist/json-asset-8465c2cf.json +1 -0
- package/dist/json-asset-9e9f04a4.json +1 -0
- package/dist/json-asset-a13964cb.json +1 -0
- package/dist/json-asset-ab93a057.json +1 -0
- package/dist/json-asset-abe308fc.json +1 -0
- package/dist/json-asset-b24f2cd3.json +1 -0
- package/dist/json-asset-bf00eaed.json +1 -0
- package/dist/json-asset-cb22efd7.json +1 -0
- package/dist/json-asset-cb953f20.json +1 -0
- package/dist/json-asset-cc209e34.json +1 -0
- package/dist/json-asset-cfdffceb.json +1 -0
- package/dist/json-asset-d33c0299.json +1 -0
- package/dist/json-asset-d430c8ca.json +1 -0
- package/dist/json-asset-d8cfa560.json +1 -0
- package/dist/json-asset-da91beb6.json +1 -0
- package/dist/json-asset-e2bdf85c.json +1 -0
- package/dist/json-asset-e34ad826.json +1 -0
- package/dist/json-asset-e80720aa.json +1 -0
- package/dist/json-asset-e894bc92.json +1 -0
- package/dist/json-asset-f28020f2.json +1 -0
- package/dist/json-asset-f71ebbf4.json +1 -0
- package/dist/json-asset-fb1f4917.json +1 -0
- package/dist/json-asset-ff2e97c4.json +1 -0
- package/dist/{layout_setting-BUAgQ1Bk.js → layout_setting-79srmFgJ.js} +11 -11
- package/dist/layout_setting.css +1 -1
- package/dist/{log-vjU7aBPR.js → log-BYris9iT.js} +6 -6
- package/dist/{loginHistoryDetail-C7GT2yME.js → loginHistoryDetail-CZnfmbbM.js} +24 -23
- package/dist/{login_history-D08W00Qu.js → login_history-BiwaLpxA.js} +33 -33
- package/dist/login_history.css +1 -1
- package/dist/menu_setting-C2GciMXz.js +155 -0
- package/dist/not-data-Bml86wdH.js +3 -0
- package/dist/{operateHistoryDetail-BaNJRfwy.js → operateHistoryDetail-HId-EZzy.js} +27 -26
- package/dist/{operate_history-kJwIuPg2.js → operate_history-sPd9IHMV.js} +33 -33
- package/dist/operate_history.css +1 -1
- package/dist/{organization-Cmj3DUXl.js → organization-Dv3FbKke.js} +1438 -1444
- package/dist/organization.css +1 -1
- package/dist/other_setting-oVuhA70c.js +213 -0
- package/dist/other_setting.css +1 -1
- package/dist/page_animation_setting-D0CtzyOZ.js +108 -0
- package/dist/page_animation_setting.css +1 -1
- package/dist/{page_w_setting-CD_HtSUv.js → page_w_setting-Q--ct16C.js} +11 -11
- package/dist/page_w_setting.css +1 -1
- package/dist/{position-CLpbgKGj.js → position-CCZ2MSMP.js} +41 -41
- package/dist/{region-Dd9pt_Si.js → region-D3mjqB8H.js} +62 -62
- package/dist/{resource-C7dXB0EE.js → resource-DaQ7CvM_.js} +69 -69
- package/dist/{role-JGtvRObt.js → role-4UgEw3nH.js} +49 -49
- package/dist/{role_group-CKOb_m63.js → role_group-hkRlCnyl.js} +41 -41
- package/dist/{safe_setting-G_ZP-jWQ.js → safe_setting-4fv3qNRZ.js} +85 -85
- package/dist/{setItem-yKhjmUh0.js → setItem-Vkcwkj-O.js} +33 -32
- package/dist/setItem.css +1 -1
- package/dist/tabbar_setting-DhrW4Jj5.js +139 -0
- package/dist/{tenant-BBiCJkU_.js → tenant-lWfGw2u1.js} +48 -48
- package/dist/{theme_setting-vhNDLlkc.js → theme_setting-CEb7UYQO.js} +47 -47
- package/dist/theme_setting.css +1 -1
- package/dist/toolbar_setting-znESrYgi.js +140 -0
- package/dist/useAppAndResource-B7FmNfKG.js +52 -0
- package/dist/{user-DvCyUhZW.js → user-BkUpcQC8.js} +96 -96
- package/dist/{vanilla-picker-DcG96G63.js → vanilla-picker-Byb6q187.js} +239 -239
- package/dist/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +5 -1
- package/dist/views/components/setItem.vue.d.ts +5 -1
- package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +5 -1
- package/dist/views/dictionary/components/drawerDictionary.vue.d.ts +5 -1
- package/dist/views/dictionary/components/drawerDictionaryItem.vue.d.ts +5 -1
- package/dist/views/group/components/drawerGroup.vue.d.ts +5 -1
- package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +8 -1
- package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +8 -1
- package/dist/views/organization/components/drawerOrganization.vue.d.ts +5 -1
- package/dist/views/organization/components/drawerRole.vue.d.ts +5 -1
- package/dist/views/other_setting/interface.d.ts +1 -2
- package/dist/views/position/components/drawerPosition.vue.d.ts +5 -1
- package/dist/views/region/components/drawerRegion.vue.d.ts +5 -1
- package/dist/views/resource/components/ImportExport.vue.d.ts +5 -1
- package/dist/views/resource/components/ResourceEdit.vue.d.ts +5 -1
- package/dist/views/role/components/drawerRole.vue.d.ts +5 -1
- package/dist/views/role_group/components/drawerRole.vue.d.ts +5 -1
- package/dist/views/tenant/components/TenantEdit.vue.d.ts +5 -1
- package/dist/views/user/components/UserAuthorization.vue.d.ts +5 -1
- package/dist/views/user/components/UserEdit.vue.d.ts +5 -1
- package/dist/watermark_setting-DYirSIAn.js +191 -0
- package/dist/watermark_setting.css +1 -1
- package/package.json +13 -13
- package/src/views/other_setting/index.vue +2 -2
- package/src/views/other_setting/interface.ts +1 -1
- package/dist/ComponentSelect-D0OCk6H1.js +0 -3572
- package/dist/ComponentSelect-WO-3S5rH.js +0 -2
- package/dist/DynamicRoutesForm-DjZ3eVLW.js +0 -4
- package/dist/HCheckList-B5Qk_HBI.js +0 -2
- package/dist/HCheckList-DLBewmPw.js +0 -36
- package/dist/HoverCard-69ZIOivd.js +0 -2
- package/dist/HoverCard-BDFcxxvk.js +0 -43
- package/dist/IconSelect-C_Gj5G4I.js +0 -3
- package/dist/ImportExport-CL5uPlby.js +0 -342
- package/dist/ImportExport-CPy2rvv7.js +0 -4
- package/dist/LayoutForm-QFjwakyQ.js +0 -4
- package/dist/MetaForm-Bb-um1Zo.js +0 -4
- package/dist/OrgAndPosition-DoiGY5xb.js +0 -2
- package/dist/ResourceEdit-BTaNdwC_.js +0 -10
- package/dist/ResourceRelation-BIOzTOKA.js +0 -2
- package/dist/RoleRelation-CyTcqRfZ.js +0 -2
- package/dist/TenantEdit-BlMmL6q5.js +0 -2
- package/dist/UserAuthorization-qGr1Sdat.js +0 -3
- package/dist/UserEdit-CwfyqNWf.js +0 -3
- package/dist/animation_item-GzGItm3s.js +0 -2
- package/dist/breadcrumb_setting-Ds-XJRR1.js +0 -108
- package/dist/browserType-BXTT4j6i.js +0 -2
- package/dist/chunk-Cpsc_9al.js +0 -18
- package/dist/cloneDeep-DDAtsK42.js +0 -7
- package/dist/createAndEditDataPermission-CChlLDUm.js +0 -5
- package/dist/drawerBlackWhiteList-BqIDyn2Q.js +0 -2
- package/dist/drawerBlackWhiteList-CkbZ_9PZ.js +0 -119
- package/dist/drawerDictionary-D911w7pC.js +0 -2
- package/dist/drawerDictionary-dMHs-6Cw.js +0 -125
- package/dist/drawerDictionaryItem-CbTa_qL-.js +0 -137
- package/dist/drawerDictionaryItem-DLUI5Yuc.js +0 -2
- package/dist/drawerGroup-CEEDMBg9.js +0 -3
- package/dist/drawerOrganization-CqEMD3gE.js +0 -246
- package/dist/drawerOrganization-mks5NMd9.js +0 -2
- package/dist/drawerPosition-Bd0s7qze.js +0 -165
- package/dist/drawerPosition-DwlTrlGA.js +0 -2
- package/dist/drawerRegion-DUbQAZuV.js +0 -182
- package/dist/drawerRegion-DwVzsZfT.js +0 -2
- package/dist/drawerRole-BNrbcSmr.js +0 -3
- package/dist/drawerRole-BxUIekjh.js +0 -3
- package/dist/drawerRole-CyA2oFht.js +0 -4
- package/dist/drawerRole-D5X7oHB_.js +0 -153
- package/dist/isEmpty-BvRqbmpu.js +0 -13
- package/dist/loginHistoryDetail-CkH5UUGU.js +0 -3
- package/dist/menu_setting-5Jet091Q.js +0 -155
- package/dist/not-data-Cx--tk_h.js +0 -2
- package/dist/not-data-tyTawN37.js +0 -2
- package/dist/operateHistoryDetail-CeVPJzD6.js +0 -3
- package/dist/other_setting-DQ70WnZK.js +0 -213
- package/dist/page_animation_setting-Lp6cMuFM.js +0 -108
- package/dist/routeSystem-DXMoWhFo.js +0 -2
- package/dist/setItem-Qa7UapHO.js +0 -4
- package/dist/tabbar_setting-B3kMhRNm.js +0 -139
- package/dist/toolbar_setting-DNBdxeGP.js +0 -140
- package/dist/useAppAndResource-CPL2VpOJ.js +0 -52
- package/dist/watermark_setting-CXp4Og0Y.js +0 -191
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Ft as basic } from "./index.js";
|
|
2
|
-
function postLogOperatePage(
|
|
3
|
-
return basic.Post("/log/operate/page",
|
|
2
|
+
function postLogOperatePage(e, t) {
|
|
3
|
+
return basic.Post("/log/operate/page", e, {
|
|
4
4
|
headers: { "Content-Type": "application/json" },
|
|
5
|
-
...
|
|
5
|
+
...t || {}
|
|
6
6
|
});
|
|
7
7
|
}
|
|
8
|
-
function postLogLoginPage(
|
|
9
|
-
return basic.Post("/log/login/page",
|
|
8
|
+
function postLogLoginPage(e, t) {
|
|
9
|
+
return basic.Post("/log/login/page", e, {
|
|
10
10
|
headers: { "Content-Type": "application/json" },
|
|
11
|
-
...
|
|
11
|
+
...t || {}
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
14
|
export { postLogOperatePage as n, postLogLoginPage as t };
|
|
@@ -1,68 +1,69 @@
|
|
|
1
|
+
import { r as __exportAll } from "./chunk-DiMWNkAf.js";
|
|
1
2
|
import { h as _plugin_vue_export_helper_default } from "./index.js";
|
|
2
|
-
import { t as browserType_default } from "./browserType-
|
|
3
|
+
import { t as browserType_default } from "./browserType-B8A1Osvk.js";
|
|
3
4
|
import { createBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, resolveComponent, toDisplayString, withCtx } from "vue";
|
|
4
5
|
import { Descriptions, DescriptionsItem, Drawer } from "ant-design-vue/es";
|
|
5
|
-
import './loginHistoryDetail.css';var _hoisted_1 = { class: "detail-info" },
|
|
6
|
+
import './loginHistoryDetail.css';var _hoisted_1 = { class: "detail-info" }, loginHistoryDetail_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
6
7
|
__name: "loginHistoryDetail",
|
|
7
8
|
props: {
|
|
8
9
|
visible: Boolean,
|
|
9
10
|
data: Object
|
|
10
11
|
},
|
|
11
12
|
emits: ["close"],
|
|
12
|
-
setup(e, { emit:
|
|
13
|
-
let
|
|
14
|
-
function
|
|
15
|
-
|
|
13
|
+
setup(e, { emit: t }) {
|
|
14
|
+
let n = t;
|
|
15
|
+
function r() {
|
|
16
|
+
n("close");
|
|
16
17
|
}
|
|
17
|
-
return (
|
|
18
|
-
let
|
|
19
|
-
return openBlock(), createBlock(
|
|
18
|
+
return (t, n) => {
|
|
19
|
+
let i = DescriptionsItem, a = Descriptions, o = Drawer;
|
|
20
|
+
return openBlock(), createBlock(o, {
|
|
20
21
|
open: e.visible,
|
|
21
22
|
title: "登录日志",
|
|
22
23
|
placement: "right",
|
|
23
24
|
width: 900,
|
|
24
25
|
"footer-style": { textAlign: "right" },
|
|
25
|
-
onClose:
|
|
26
|
+
onClose: r
|
|
26
27
|
}, {
|
|
27
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1, [createVNode(
|
|
28
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1, [createVNode(a, { column: 2 }, {
|
|
28
29
|
default: withCtx(() => [
|
|
29
|
-
createVNode(
|
|
30
|
+
createVNode(i, { label: "用户id" }, {
|
|
30
31
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.userId), 1)]),
|
|
31
32
|
_: 1
|
|
32
33
|
}),
|
|
33
|
-
createVNode(
|
|
34
|
+
createVNode(i, { label: "账号名" }, {
|
|
34
35
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.loginName), 1)]),
|
|
35
36
|
_: 1
|
|
36
37
|
}),
|
|
37
|
-
createVNode(
|
|
38
|
+
createVNode(i, { label: "用户姓名" }, {
|
|
38
39
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.realName), 1)]),
|
|
39
40
|
_: 1
|
|
40
41
|
}),
|
|
41
|
-
createVNode(
|
|
42
|
+
createVNode(i, { label: "登录组织名称" }, {
|
|
42
43
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.orgName), 1)]),
|
|
43
44
|
_: 1
|
|
44
45
|
}),
|
|
45
|
-
createVNode(
|
|
46
|
+
createVNode(i, { label: "登录IP" }, {
|
|
46
47
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.loginIp), 1)]),
|
|
47
48
|
_: 1
|
|
48
49
|
}),
|
|
49
|
-
createVNode(
|
|
50
|
+
createVNode(i, { label: "登录时间" }, {
|
|
50
51
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.loginTime), 1)]),
|
|
51
52
|
_: 1
|
|
52
53
|
}),
|
|
53
|
-
createVNode(
|
|
54
|
+
createVNode(i, { label: "登录类型" }, {
|
|
54
55
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.loginType), 1)]),
|
|
55
56
|
_: 1
|
|
56
57
|
}),
|
|
57
|
-
createVNode(
|
|
58
|
+
createVNode(i, { label: "操作设备/操作系统类型" }, {
|
|
58
59
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.deviceType), 1)]),
|
|
59
60
|
_: 1
|
|
60
61
|
}),
|
|
61
|
-
createVNode(
|
|
62
|
+
createVNode(i, { label: "登录浏览器" }, {
|
|
62
63
|
default: withCtx(() => [createVNode(browserType_default, { "browser-name": e.data?.browserName }, null, 8, ["browser-name"])]),
|
|
63
64
|
_: 1
|
|
64
65
|
}),
|
|
65
|
-
createVNode(
|
|
66
|
+
createVNode(i, { label: "登录是否成功" }, {
|
|
66
67
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.success ? "是" : "否"), 1)]),
|
|
67
68
|
_: 1
|
|
68
69
|
})
|
|
@@ -73,5 +74,5 @@ import './loginHistoryDetail.css';var _hoisted_1 = { class: "detail-info" }, log
|
|
|
73
74
|
}, 8, ["open"]);
|
|
74
75
|
};
|
|
75
76
|
}
|
|
76
|
-
}), [["__scopeId", "data-v-822a1086"]]);
|
|
77
|
-
export { loginHistoryDetail_default as t };
|
|
77
|
+
}), loginHistoryDetail_exports = /* @__PURE__ */ __exportAll({ default: () => loginHistoryDetail_default }), loginHistoryDetail_default = /* @__PURE__ */ _plugin_vue_export_helper_default(loginHistoryDetail_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-822a1086"]]);
|
|
78
|
+
export { loginHistoryDetail_exports as n, loginHistoryDetail_default as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as _plugin_vue_export_helper_default } from "./index.js";
|
|
2
|
-
import "./browserType-
|
|
3
|
-
import { t as loginHistoryDetail_default } from "./loginHistoryDetail-
|
|
4
|
-
import { t as postLogLoginPage } from "./log-
|
|
2
|
+
import "./browserType-B8A1Osvk.js";
|
|
3
|
+
import { t as loginHistoryDetail_default } from "./loginHistoryDetail-CZnfmbbM.js";
|
|
4
|
+
import { t as postLogLoginPage } from "./log-BYris9iT.js";
|
|
5
5
|
import { PubinfoIcon, useAuth } from "pubinfo";
|
|
6
6
|
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, onMounted, openBlock, ref, toDisplayString, unref, withCtx } from "vue";
|
|
7
7
|
import { Space } from "ant-design-vue/es";
|
|
@@ -20,7 +20,7 @@ import './login_history.css';var _hoisted_1 = {
|
|
|
20
20
|
name: "LoginHistory",
|
|
21
21
|
__name: "login_history",
|
|
22
22
|
setup(e) {
|
|
23
|
-
let { auth:
|
|
23
|
+
let { auth: u } = useAuth(), d = ref(), f = ref(!1), p = ref(), m = [
|
|
24
24
|
{
|
|
25
25
|
valueType: "a-input",
|
|
26
26
|
hideInTable: !0,
|
|
@@ -134,60 +134,60 @@ import './login_history.css';var _hoisted_1 = {
|
|
|
134
134
|
width: 100,
|
|
135
135
|
fixed: "right",
|
|
136
136
|
hideInTable() {
|
|
137
|
-
return !
|
|
137
|
+
return !u("login_history_view");
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
];
|
|
141
|
-
onMounted(
|
|
142
|
-
async function
|
|
143
|
-
let { current:
|
|
144
|
-
pageSize:
|
|
145
|
-
currentPage:
|
|
141
|
+
onMounted(g);
|
|
142
|
+
async function h(e) {
|
|
143
|
+
let { current: t, pageSize: r, loginName: i, loginTime: a, realName: o, orgName: s, loginIp: c } = e, l = {
|
|
144
|
+
pageSize: r,
|
|
145
|
+
currentPage: t,
|
|
146
146
|
doSearchTotal: !0
|
|
147
147
|
};
|
|
148
|
-
|
|
149
|
-
loginStartTime:
|
|
150
|
-
loginEndTime:
|
|
148
|
+
i && Object.assign(l, { loginName: i }), o && Object.assign(l, { realName: o }), s && Object.assign(l, { orgName: s }), c && Object.assign(l, { loginIp: c }), a && a.length === 2 && Object.assign(l, {
|
|
149
|
+
loginStartTime: a[0].format("YYYY-MM-DD HH:mm:ss"),
|
|
150
|
+
loginEndTime: a[1].format("YYYY-MM-DD HH:mm:ss")
|
|
151
151
|
});
|
|
152
|
-
let
|
|
152
|
+
let u = await postLogLoginPage(l);
|
|
153
153
|
return {
|
|
154
|
-
success:
|
|
155
|
-
data:
|
|
156
|
-
total:
|
|
154
|
+
success: u.success,
|
|
155
|
+
data: u.data?.records ?? [],
|
|
156
|
+
total: u.data?.total ?? 0
|
|
157
157
|
};
|
|
158
158
|
}
|
|
159
|
-
function
|
|
160
|
-
|
|
159
|
+
function g() {
|
|
160
|
+
d.value.reload();
|
|
161
161
|
}
|
|
162
|
-
function
|
|
163
|
-
|
|
162
|
+
function _(e) {
|
|
163
|
+
f.value = !0, p.value = e;
|
|
164
164
|
}
|
|
165
|
-
return (e,
|
|
166
|
-
let
|
|
165
|
+
return (e, n) => {
|
|
166
|
+
let i = PubinfoIcon, u = Space;
|
|
167
167
|
return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(ProTable), {
|
|
168
168
|
ref_key: "tableRef",
|
|
169
|
-
ref:
|
|
169
|
+
ref: d,
|
|
170
170
|
"row-key": "id",
|
|
171
|
-
request:
|
|
172
|
-
columns:
|
|
171
|
+
request: h,
|
|
172
|
+
columns: m,
|
|
173
173
|
"auto-height": "",
|
|
174
174
|
scroll: { x: 1e3 }
|
|
175
175
|
}, {
|
|
176
|
-
bodyCell: withCtx(({ column: e, record:
|
|
176
|
+
bodyCell: withCtx(({ column: e, record: t }) => [e.dataIndex === "success" ? (openBlock(), createElementBlock("div", _hoisted_2, [createElementVNode("i", { class: normalizeClass(["status-mark", [{ active: t.success }]]) }, null, 2), createElementVNode("span", _hoisted_3, toDisplayString(t.success ? "成功" : "失败"), 1)])) : createCommentVNode("", !0), e.dataIndex === "action" ? (openBlock(), createBlock(u, { key: 1 }, {
|
|
177
177
|
default: withCtx(() => [createElementVNode("a", {
|
|
178
178
|
class: "flex items-center",
|
|
179
|
-
onClick: () =>
|
|
180
|
-
}, [createVNode(
|
|
179
|
+
onClick: () => _(t)
|
|
180
|
+
}, [createVNode(i, {
|
|
181
181
|
name: "view",
|
|
182
182
|
class: "text-20px"
|
|
183
|
-
}),
|
|
183
|
+
}), n[1] ||= createElementVNode("span", { class: "ml-4px" }, "查看", -1)], 8, _hoisted_4)]),
|
|
184
184
|
_: 2
|
|
185
185
|
}, 1024)) : createCommentVNode("", !0)]),
|
|
186
186
|
_: 1
|
|
187
187
|
}, 512), createVNode(loginHistoryDetail_default, {
|
|
188
|
-
visible: unref(
|
|
189
|
-
data: unref(
|
|
190
|
-
onClose:
|
|
188
|
+
visible: unref(f),
|
|
189
|
+
data: unref(p),
|
|
190
|
+
onClose: n[0] ||= (e) => f.value = !1
|
|
191
191
|
}, null, 8, ["visible", "data"])]);
|
|
192
192
|
};
|
|
193
193
|
}
|
package/dist/login_history.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.status-mark[data-v-a52e4c4a]{--un-bg-opacity:1;background-color:rgb(174 174 174/var(--un-bg-opacity));border-radius:50%;width:.5rem;height:.5rem;margin-right:.25rem;display:inline-block}.status-mark.active[data-v-a52e4c4a]{background:#01d689}
|
|
1
|
+
.status-mark[data-v-a52e4c4a]{--un-bg-opacity:1;background-color:rgb(174 174 174/var(--un-bg-opacity)) ;border-radius:50%;width:.5rem;height:.5rem;margin-right:.25rem;display:inline-block}.status-mark.active[data-v-a52e4c4a]{background:#01d689}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { h as _plugin_vue_export_helper_default, l as postSysconfigAddOrEidtSysThemeStyleConfig } from "./index.js";
|
|
2
|
+
import { t as useSettingsStore } from "./stores-DPQF8JRt.js";
|
|
3
|
+
import "./animation_item-DBOz2rcX.js";
|
|
4
|
+
import "./HCheckList-ODQHidN8.js";
|
|
5
|
+
import { t as setItem_default } from "./setItem-Vkcwkj-O.js";
|
|
6
|
+
import { PubinfoIcon } from "pubinfo";
|
|
7
|
+
import { Fragment, createBlock, createElementBlock, createElementVNode, createVNode, defineComponent, openBlock, reactive, renderList, resolveComponent, toRef, unref } from "vue";
|
|
8
|
+
import { message } from "ant-design-vue";
|
|
9
|
+
import './menu_setting.css';var enableHotkeys_default$1 = new URL("json-asset-f28020f2.json", import.meta.url).href, enableSubMenuCollapseButton_default$1 = new URL("json-asset-abe308fc.json", import.meta.url).href, isRounded_default$1 = new URL("json-asset-56bea508.json", import.meta.url).href, menuActiveStyle_default$1 = new URL("json-asset-5be4a28f.json", import.meta.url).href, subMenuCollapse_default$1 = new URL("json-asset-6bf334f4.json", import.meta.url).href, subMenuUniqueOpened_default$1 = new URL("json-asset-2b54ed10.json", import.meta.url).href, enableHotkeys_default = new URL("json-asset-4702b37c.json", import.meta.url).href, enableSubMenuCollapseButton_default = new URL("json-asset-32fca43a.json", import.meta.url).href, isRounded_default = new URL("json-asset-10eef4fe.json", import.meta.url).href, menuActiveStyle_default = new URL("json-asset-cc209e34.json", import.meta.url).href, subMenuCollapse_default = new URL("json-asset-23cfd18c.json", import.meta.url).href, subMenuUniqueOpened_default = new URL("json-asset-14b7b290.json", import.meta.url).href, _hoisted_1 = {
|
|
10
|
+
"w-full": "",
|
|
11
|
+
"h-full": "",
|
|
12
|
+
"p-10px": ""
|
|
13
|
+
}, _hoisted_2 = { class: "w-full h-full bg-white overflow-y-auto p-10px flex flex-col box-border dark:bg-[#141414]" }, _hoisted_3 = { class: "h-[38px] pl-[16px] flex flex-row items-center bar-header" }, _hoisted_4 = {
|
|
14
|
+
class: "mt-[22px] grid grid-cols-3 gap-[20px] px-30px w-full h-0 max-w-1500px",
|
|
15
|
+
aspect: "[3/2] "
|
|
16
|
+
}, menu_setting_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
17
|
+
name: "MenuAnimationSetting",
|
|
18
|
+
__name: "index",
|
|
19
|
+
setup(e) {
|
|
20
|
+
let r = useSettingsStore(), i = toRef(r.globalSettings.menu, "menuMode"), a = [
|
|
21
|
+
{
|
|
22
|
+
icon: "i-jam-stop-sign",
|
|
23
|
+
value: ""
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
icon: ["head", "only-head"].includes(i.value) ? "i-ep-caret-top" : "i-ep-caret-left",
|
|
27
|
+
value: "arrow"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
icon: ["side", "only-side"].includes(i.value) ? "i-tabler-minus-vertical" : "i-tabler-minus",
|
|
31
|
+
value: "line"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
icon: "i-icon-park-outline-dot",
|
|
35
|
+
value: "dot"
|
|
36
|
+
}
|
|
37
|
+
], o = reactive([
|
|
38
|
+
{
|
|
39
|
+
type: "switch",
|
|
40
|
+
name: "次导航保持展开一个",
|
|
41
|
+
descripe: "开启该功能后,次导航只保持单个菜单的展开",
|
|
42
|
+
open: r.globalSettings.menu.subMenuUniqueOpened,
|
|
43
|
+
activeStyle: "",
|
|
44
|
+
lightData: subMenuUniqueOpened_default,
|
|
45
|
+
darkData: subMenuUniqueOpened_default$1
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
type: "switch",
|
|
49
|
+
name: "次导航是否折叠",
|
|
50
|
+
descripe: "",
|
|
51
|
+
open: r.globalSettings.menu.subMenuCollapse,
|
|
52
|
+
activeStyle: "",
|
|
53
|
+
lightData: subMenuCollapse_default,
|
|
54
|
+
darkData: subMenuCollapse_default$1
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
type: "switch",
|
|
58
|
+
name: "显示次导航折叠按钮",
|
|
59
|
+
descripe: "",
|
|
60
|
+
open: r.globalSettings.menu.enableSubMenuCollapseButton,
|
|
61
|
+
activeStyle: "",
|
|
62
|
+
lightData: enableSubMenuCollapseButton_default,
|
|
63
|
+
darkData: enableSubMenuCollapseButton_default$1
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
type: "switch",
|
|
67
|
+
name: "是否圆角",
|
|
68
|
+
descripe: "",
|
|
69
|
+
open: r.globalSettings.menu.isRounded,
|
|
70
|
+
activeStyle: "",
|
|
71
|
+
lightData: isRounded_default,
|
|
72
|
+
darkData: isRounded_default$1
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
type: "check",
|
|
76
|
+
name: "激活风格",
|
|
77
|
+
descripe: "",
|
|
78
|
+
open: !0,
|
|
79
|
+
activeStyle: r.globalSettings.menu.menuActiveStyle,
|
|
80
|
+
styleOptions: a,
|
|
81
|
+
lightData: menuActiveStyle_default,
|
|
82
|
+
darkData: menuActiveStyle_default$1
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
type: "switch",
|
|
86
|
+
name: "是否启用快捷键",
|
|
87
|
+
descripe: "",
|
|
88
|
+
open: r.globalSettings.menu.enableHotkeys,
|
|
89
|
+
activeStyle: "",
|
|
90
|
+
lightData: enableHotkeys_default,
|
|
91
|
+
darkData: enableHotkeys_default$1
|
|
92
|
+
}
|
|
93
|
+
]), s = "";
|
|
94
|
+
function c(e, t) {
|
|
95
|
+
switch (e) {
|
|
96
|
+
case 0:
|
|
97
|
+
r.globalSettings.menu.subMenuUniqueOpened = t, s = JSON.stringify({ menu: { subMenuUniqueOpened: t } });
|
|
98
|
+
break;
|
|
99
|
+
case 1:
|
|
100
|
+
r.globalSettings.menu.subMenuCollapse = t, s = JSON.stringify({ menu: { subMenuCollapse: t } });
|
|
101
|
+
break;
|
|
102
|
+
case 2:
|
|
103
|
+
r.globalSettings.menu.enableSubMenuCollapseButton = t, s = JSON.stringify({ menu: { enableSubMenuCollapseButton: t } });
|
|
104
|
+
break;
|
|
105
|
+
case 3:
|
|
106
|
+
r.globalSettings.menu.isRounded = t, s = JSON.stringify({ menu: { isRounded: t } });
|
|
107
|
+
break;
|
|
108
|
+
case 4:
|
|
109
|
+
r.globalSettings.menu.menuActiveStyle = t, s = JSON.stringify({ menu: { menuActiveStyle: t } });
|
|
110
|
+
break;
|
|
111
|
+
case 5:
|
|
112
|
+
r.globalSettings.menu.enableHotkeys = t, s = JSON.stringify({ menu: { enableHotkeys: t } });
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
l(s);
|
|
116
|
+
}
|
|
117
|
+
function l(e) {
|
|
118
|
+
postSysconfigAddOrEidtSysThemeStyleConfig({ content: e }).then((e) => {
|
|
119
|
+
e.success && message.success("设置成功");
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
return (e, t) => {
|
|
123
|
+
let n = PubinfoIcon;
|
|
124
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [createVNode(n, {
|
|
125
|
+
name: "icon_menu",
|
|
126
|
+
class: "text-base mr-[6px]",
|
|
127
|
+
size: 22
|
|
128
|
+
}), t[0] ||= createElementVNode("span", { class: "text-[16px] text-[#1d2129] dark:text-[#C9CDD4]" }, "导航栏", -1)]), createElementVNode("div", _hoisted_4, [(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(o), (e, t) => (openBlock(), createBlock(setItem_default, {
|
|
129
|
+
key: e.name,
|
|
130
|
+
class: "mb-20px",
|
|
131
|
+
aspect: "[9/6]",
|
|
132
|
+
name: e.name,
|
|
133
|
+
descripe: e.descripe,
|
|
134
|
+
open: e.open,
|
|
135
|
+
type: e.type,
|
|
136
|
+
"active-style": e.activeStyle,
|
|
137
|
+
"style-options": e.styleOptions,
|
|
138
|
+
"light-animation-data": e.lightData,
|
|
139
|
+
"dark-animation-data": e.darkData,
|
|
140
|
+
onChange: (e) => c(t, e)
|
|
141
|
+
}, null, 8, [
|
|
142
|
+
"name",
|
|
143
|
+
"descripe",
|
|
144
|
+
"open",
|
|
145
|
+
"type",
|
|
146
|
+
"active-style",
|
|
147
|
+
"style-options",
|
|
148
|
+
"light-animation-data",
|
|
149
|
+
"dark-animation-data",
|
|
150
|
+
"onChange"
|
|
151
|
+
]))), 128))])])]);
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
}), [["__scopeId", "data-v-189fafa9"]]);
|
|
155
|
+
export { menu_setting_default as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { r as __exportAll } from "./chunk-DiMWNkAf.js";
|
|
2
|
+
var not_data_exports = /* @__PURE__ */ __exportAll({ default: () => not_data_default }), not_data_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20fill='none'%20viewBox='0%200%20190%20170'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cmask%20id='a'%20width='190'%20height='170'%20x='0'%20y='0'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23D9D9D9'%20d='M0%200h190v170H0z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cg%20filter='url(%23b)'%3e%3cellipse%20cx='95'%20cy='84.706'%20fill='url(%23c)'%20fill-opacity='.8'%20rx='65'%20ry='64.706'%20shape-rendering='crispEdges'/%3e%3c/g%3e%3cg%20filter='url(%23d)'%3e%3crect%20width='146'%20height='98'%20x='22'%20y='35'%20fill='%23fff'%20rx='3.065'/%3e%3crect%20width='146'%20height='98'%20x='22'%20y='35'%20fill='url(%23e)'%20rx='3.065'/%3e%3c/g%3e%3crect%20width='101'%20height='6'%20x='58'%20y='78.706'%20fill='%23EEF2F6'%20opacity='.7'%20rx='1.022'/%3e%3crect%20width='101'%20height='6'%20x='58'%20y='90.706'%20fill='%23EEF2F6'%20opacity='.7'%20rx='1.022'/%3e%3crect%20width='101'%20height='6'%20x='58'%20y='102.706'%20fill='%23EEF2F6'%20opacity='.7'%20rx='1.022'/%3e%3crect%20width='101'%20height='6'%20x='58'%20y='114.706'%20fill='%23EEF2F6'%20opacity='.7'%20rx='1.022'/%3e%3crect%20width='101'%20height='6'%20x='58'%20y='54.706'%20fill='%23EEF2F6'%20opacity='.7'%20rx='1.022'/%3e%3crect%20width='101'%20height='6'%20x='58'%20y='66.706'%20fill='%23EEF2F6'%20opacity='.7'%20rx='1.022'/%3e%3crect%20width='9.254'%20height='4.083'%20x='66.193'%20y='39.46'%20fill='%23ADBACC'%20opacity='.499'%20rx='2.042'/%3e%3cpath%20fill='%23F2F4F6'%20d='M22%2044.188h28.789V133h-25.19C23.61%20133%2022%20131.629%2022%20129.938z'/%3e%3crect%20width='26.732'%20height='8.167'%20x='23.028'%20y='54.907'%20fill='%2306F'%20fill-opacity='.16'%20rx='1.022'/%3e%3crect%20width='20.563'%20height='3.063'%20x='26.112'%20y='57.458'%20fill='%23176DE6'%20rx='.511'/%3e%3cpath%20fill='%23176DE6'%20d='M23.028%2057.458h.223c.286%200%20.429%200%20.538.056a.5.5%200%200%201%20.223.223c.056.11.056.252.056.538v1.428c0%20.286%200%20.43-.056.539a.5.5%200%200%201-.223.223c-.11.055-.252.055-.538.055h-.141c-.029%200-.043%200-.054-.005a.05.05%200%200%201-.022-.022c-.006-.011-.006-.026-.006-.054z'/%3e%3crect%20width='14.394'%20height='3.063'%20x='26.112'%20y='49.291'%20fill='%23D8E0EB'%20rx='.511'/%3e%3crect%20width='14.394'%20height='3.063'%20x='26.112'%20y='65.625'%20fill='%23D8E0EB'%20rx='.511'/%3e%3crect%20width='14.394'%20height='3.063'%20x='26.112'%20y='73.792'%20fill='%23D8E0EB'%20rx='.511'/%3e%3crect%20width='14.394'%20height='3.063'%20x='26.112'%20y='81.958'%20fill='%23D8E0EB'%20rx='.511'/%3e%3crect%20width='14.394'%20height='3.063'%20x='26.112'%20y='90.125'%20fill='%23D8E0EB'%20rx='.511'/%3e%3crect%20width='14.394'%20height='3.063'%20x='26.112'%20y='98.292'%20fill='%23D8E0EB'%20rx='.511'/%3e%3crect%20width='12.338'%20height='3.063'%20x='26.112'%20y='126.875'%20fill='%23D8E0EB'%20rx='.511'/%3e%3cellipse%20cx='27.655'%20cy='39.594'%20fill='%23fff'%20opacity='.747'%20rx='1.542'%20ry='1.531'/%3e%3cellipse%20cx='33.824'%20cy='39.594'%20fill='%23fff'%20opacity='.747'%20rx='1.542'%20ry='1.531'/%3e%3cellipse%20cx='39.993'%20cy='39.594'%20fill='%23fff'%20opacity='.747'%20rx='1.542'%20ry='1.531'/%3e%3cg%20filter='url(%23f)'%3e%3cpath%20fill='%23fff'%20d='M22%2038.065A3.064%203.064%200%200%201%2025.064%2035h139.871A3.065%203.065%200%200%201%20168%2038.065v8.164H22z'/%3e%3cpath%20fill='url(%23g)'%20d='M22%2038.065A3.064%203.064%200%200%201%2025.064%2035h139.871A3.065%203.065%200%200%201%20168%2038.065v8.164H22z'/%3e%3c/g%3e%3crect%20width='21.592'%20height='3.063'%20x='30.226'%20y='39.083'%20fill='%23CFD8E5'%20opacity='.7'%20rx='1.022'/%3e%3crect%20width='8.225'%20height='3.063'%20x='151.549'%20y='39.083'%20fill='%23CFD8E5'%20opacity='.7'%20rx='1.022'/%3e%3ccircle%20cx='44.581'%20cy='25.29'%20r='1.935'%20fill='%23D9E8FD'/%3e%3ccircle%20cx='49.097'%20cy='22.064'%20r='1.29'%20fill='%23D9E8FD'/%3e%3ccircle%20cx='178.129'%20cy='96.903'%20r='3.871'%20fill='%23D9E8FD'/%3e%3ccircle%20cx='176.839'%20cy='86.581'%20r='1.29'%20fill='%23D9E8FD'/%3e%3cg%20filter='url(%23h)'%3e%3crect%20width='76'%20height='88'%20x='100'%20y='53'%20fill='%23fff'%20rx='3.065'/%3e%3crect%20width='76'%20height='88'%20x='100'%20y='53'%20fill='url(%23i)'%20rx='3.065'/%3e%3crect%20width='76'%20height='88'%20x='100'%20y='53'%20fill='%23F5F7FA'%20rx='3.065'/%3e%3crect%20width='76'%20height='88'%20x='100'%20y='53'%20stroke='%23E6E9ED'%20rx='3.065'/%3e%3c/g%3e%3crect%20width='64'%20height='21'%20x='106'%20y='60.706'%20fill='%23fff'%20rx='2'/%3e%3crect%20width='9'%20height='9'%20x='110'%20y='64.206'%20fill='%233AC27D'%20opacity='.15'%20rx='2'/%3e%3cpath%20fill='%2330B471'%20fill-rule='evenodd'%20d='M116.96%2066.175h-4.92a.33.33%200%200%200-.255.1.35.35%200%200%200-.097.262v4.338a.35.35%200%200%200%20.097.262c.067.07.16.105.255.1h4.92a.33.33%200%200%200%20.255-.1.35.35%200%200%200%20.097-.262v-4.338a.35.35%200%200%200-.097-.262.33.33%200%200%200-.255-.1m-2.46%203.615h-1.757v-.723h1.757zm-1.757-1.446h3.514v-.723h-3.514z'%20clip-rule='evenodd'/%3e%3crect%20width='3'%20height='3'%20x='109'%20y='75.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='114'%20y='75.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='119'%20y='75.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='124'%20y='75.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='129'%20y='75.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='134'%20y='75.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='164'%20y='75.706'%20fill='%23DADFE6'%20rx='.5'/%3e%3cpath%20fill='%23ADBACC'%20d='M123%2065.706a1%201%200%200%201%201-1h16a1%201%200%200%201%201%201v1a1%201%200%200%201-1%201h-16a1%201%200%200%201-1-1z'%20opacity='.498'/%3e%3cpath%20fill='%23E8EBF1'%20d='M123%2070.706a1%201%200%200%201%201-1h42a1%201%200%200%201%201%201v1a1%201%200%200%201-1%201h-42a1%201%200%200%201-1-1z'/%3e%3crect%20width='64'%20height='21'%20x='106'%20y='86.706'%20fill='%23fff'%20rx='2'/%3e%3crect%20width='9'%20height='9'%20x='110'%20y='90.206'%20fill='%231A78FF'%20opacity='.15'%20rx='2'/%3e%3cpath%20fill='%230070FF'%20d='m117.424%2096.28-.33-.117-2.241.808a1.04%201.04%200%200%201-.703%200l-2.244-.808-.33.118a.26.26%200%200%200-.17.24c0%20.108.068.204.17.24l2.836%201.023a.26.26%200%200%200%20.176%200l2.836-1.022a.26.26%200%200%200%20.17-.24.26.26%200%200%200-.17-.241z'/%3e%3cpath%20fill='%230070FF'%20d='m117.424%2094.747-.33-.118-2.241.807a1.04%201.04%200%200%201-.703%200l-2.244-.807-.33.118a.26.26%200%200%200-.17.24c0%20.108.068.204.17.24l2.836%201.023a.26.26%200%200%200%20.176%200l2.836-1.023a.26.26%200%200%200%20.17-.24.26.26%200%200%200-.17-.24'/%3e%3cpath%20fill='%230070FF'%20d='m117.424%2093.213-2.836-1.023a.26.26%200%200%200-.176%200l-2.836%201.023a.26.26%200%200%200-.17.24c0%20.108.068.204.17.24l2.836%201.023a.26.26%200%200%200%20.176%200l2.836-1.023a.26.26%200%200%200%20.17-.24.26.26%200%200%200-.17-.24'/%3e%3crect%20width='3'%20height='3'%20x='109'%20y='101.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='114'%20y='101.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='119'%20y='101.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='124'%20y='101.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='129'%20y='101.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='134'%20y='101.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='164'%20y='101.706'%20fill='%23DADFE6'%20rx='.5'/%3e%3cpath%20fill='%23ADBACC'%20d='M123%2091.706a1%201%200%200%201%201-1h20a1%201%200%200%201%201%201v1a1%201%200%200%201-1%201h-20a1%201%200%200%201-1-1z'%20opacity='.498'/%3e%3cpath%20fill='%23E8EBF1'%20d='M123%2096.706a1%201%200%200%201%201-1h38a1%201%200%200%201%201%201v1a1%201%200%200%201-1%201h-38a1%201%200%200%201-1-1z'%20opacity='.498'/%3e%3crect%20width='64'%20height='21'%20x='106'%20y='112.706'%20fill='%23fff'%20rx='2'/%3e%3crect%20width='9'%20height='9'%20x='110'%20y='116.206'%20fill='%23904EE2'%20opacity='.15'%20rx='2'/%3e%3cpath%20fill='%239046EB'%20d='M116.708%20120.306a.45.45%200%200%200-.408-.25h-1.585l.653-1.57a.424.424%200%200%200-.188-.532.46.46%200%200%200-.576.095l-2.25%202.596a.42.42%200%200%200-.062.461.46.46%200%200%200%20.408.249h1.585l-.653%201.57a.424.424%200%200%200%20.188.532.46.46%200%200%200%20.576-.094l2.25-2.597a.42.42%200%200%200%20.062-.46'/%3e%3crect%20width='3'%20height='3'%20x='109'%20y='127.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='114'%20y='127.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='119'%20y='127.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='124'%20y='127.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='129'%20y='127.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='134'%20y='127.706'%20fill='%23E6E9ED'%20fill-opacity='.8'%20rx='.5'/%3e%3crect%20width='3'%20height='3'%20x='164'%20y='127.706'%20fill='%23DADFE6'%20rx='.5'/%3e%3cpath%20fill='%23ADBACC'%20d='M123%20117.706a1%201%200%200%201%201-1h20a1%201%200%200%201%201%201v1a1%201%200%200%201-1%201h-20a1%201%200%200%201-1-1z'%20opacity='.498'/%3e%3cpath%20fill='%23E8EBF1'%20d='M123%20122.706a1%201%200%200%201%201-1h38a1%201%200%200%201%201%201v1a1%201%200%200%201-1%201h-38a1%201%200%200%201-1-1z'%20opacity='.498'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='c'%20x1='166.5'%20x2='61.117'%20y1='161.206'%20y2='19.248'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23C4DCFF'/%3e%3cstop%20offset='1'%20stop-color='%23F5F7FA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='e'%20x1='-46.531'%20x2='39.043'%20y1='81.461'%20y2='210.632'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F7F8FA'/%3e%3cstop%20offset='1'%20stop-color='%23fff'/%3e%3c/linearGradient%3e%3clinearGradient%20id='g'%20x1='-46.531'%20x2='-44.923'%20y1='40.324'%20y2='61.498'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F7F8FA'/%3e%3cstop%20offset='1'%20stop-color='%23fff'/%3e%3c/linearGradient%3e%3clinearGradient%20id='i'%20x1='64.326'%20x2='147.037'%20y1='94.72'%20y2='167.095'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23F7F8FA'/%3e%3cstop%20offset='1'%20stop-color='%23fff'/%3e%3c/linearGradient%3e%3cfilter%20id='b'%20width='150'%20height='152.412'%20x='20'%20y='15'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='8'/%3e%3cfeGaussianBlur%20stdDeviation='5'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.570833%200%200%200%200%200.749653%200%200%200%200%201%200%200%200%200.12%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_76_32712'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='3'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%201%200%200%200%200%201%200%200%200%200%201%200%200%200%200.25%200'/%3e%3cfeBlend%20in2='effect1_dropShadow_76_32712'%20result='effect2_dropShadow_76_32712'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect2_dropShadow_76_32712'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='d'%20width='156'%20height='108'%20x='17'%20y='32'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='2.5'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.504167%200%200%200%200%200.711918%200%200%200%200%201%200%200%200%200.1%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_76_32712'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_76_32712'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='f'%20width='154.172'%20height='19.401'%20x='17.914'%20y='32.957'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='2.043'/%3e%3cfeGaussianBlur%20stdDeviation='2.043'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.819608%200%200%200%200%200.85098%200%200%200%200%200.901961%200%200%200%200.3%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_76_32712'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_76_32712'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='h'%20width='87'%20height='99'%20x='94.5'%20y='49.5'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='2.5'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.504167%200%200%200%200%200.711918%200%200%200%200%201%200%200%200%200.2%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_76_32712'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_76_32712'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e";
|
|
3
|
+
export { not_data_exports as n, not_data_default as t };
|
|
@@ -1,80 +1,81 @@
|
|
|
1
|
+
import { r as __exportAll } from "./chunk-DiMWNkAf.js";
|
|
1
2
|
import { h as _plugin_vue_export_helper_default } from "./index.js";
|
|
2
|
-
import { t as browserType_default } from "./browserType-
|
|
3
|
+
import { t as browserType_default } from "./browserType-B8A1Osvk.js";
|
|
3
4
|
import { createBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, resolveComponent, toDisplayString, withCtx } from "vue";
|
|
4
5
|
import { Descriptions, DescriptionsItem, Drawer } from "ant-design-vue/es";
|
|
5
|
-
import './operateHistoryDetail.css';var _hoisted_1 = { class: "detail-info" },
|
|
6
|
+
import './operateHistoryDetail.css';var _hoisted_1 = { class: "detail-info" }, operateHistoryDetail_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
6
7
|
__name: "operateHistoryDetail",
|
|
7
8
|
props: {
|
|
8
9
|
visible: Boolean,
|
|
9
10
|
data: Object
|
|
10
11
|
},
|
|
11
12
|
emits: ["close"],
|
|
12
|
-
setup(e, { emit:
|
|
13
|
-
let
|
|
14
|
-
function
|
|
15
|
-
|
|
13
|
+
setup(e, { emit: t }) {
|
|
14
|
+
let n = t;
|
|
15
|
+
function r() {
|
|
16
|
+
n("close");
|
|
16
17
|
}
|
|
17
|
-
return (
|
|
18
|
-
let
|
|
19
|
-
return openBlock(), createBlock(
|
|
18
|
+
return (t, n) => {
|
|
19
|
+
let i = DescriptionsItem, a = Descriptions, o = Drawer;
|
|
20
|
+
return openBlock(), createBlock(o, {
|
|
20
21
|
open: e.visible,
|
|
21
22
|
title: "操作日志",
|
|
22
23
|
placement: "right",
|
|
23
24
|
width: 900,
|
|
24
25
|
"footer-style": { textAlign: "right" },
|
|
25
|
-
onClose:
|
|
26
|
+
onClose: r
|
|
26
27
|
}, {
|
|
27
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1, [createVNode(
|
|
28
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1, [createVNode(a, { column: 2 }, {
|
|
28
29
|
default: withCtx(() => [
|
|
29
|
-
createVNode(
|
|
30
|
+
createVNode(i, { label: "操作说明" }, {
|
|
30
31
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.title), 1)]),
|
|
31
32
|
_: 1
|
|
32
33
|
}),
|
|
33
|
-
createVNode(
|
|
34
|
+
createVNode(i, { label: "操作类型" }, {
|
|
34
35
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.operateType), 1)]),
|
|
35
36
|
_: 1
|
|
36
37
|
}),
|
|
37
|
-
createVNode(
|
|
38
|
+
createVNode(i, { label: "操作时间" }, {
|
|
38
39
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.operateTime), 1)]),
|
|
39
40
|
_: 1
|
|
40
41
|
}),
|
|
41
|
-
createVNode(
|
|
42
|
+
createVNode(i, { label: "操作模块" }, {
|
|
42
43
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.moduleName), 1)]),
|
|
43
44
|
_: 1
|
|
44
45
|
}),
|
|
45
|
-
createVNode(
|
|
46
|
+
createVNode(i, { label: "请求参数" }, {
|
|
46
47
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.requestParams), 1)]),
|
|
47
48
|
_: 1
|
|
48
49
|
}),
|
|
49
|
-
createVNode(
|
|
50
|
+
createVNode(i, { label: "请求方法" }, {
|
|
50
51
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.requestMethod), 1)]),
|
|
51
52
|
_: 1
|
|
52
53
|
}),
|
|
53
|
-
createVNode(
|
|
54
|
+
createVNode(i, { label: "请求地址" }, {
|
|
54
55
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.requestUri), 1)]),
|
|
55
56
|
_: 1
|
|
56
57
|
}),
|
|
57
|
-
createVNode(
|
|
58
|
+
createVNode(i, { label: "操作人IP" }, {
|
|
58
59
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.remoteAddr), 1)]),
|
|
59
60
|
_: 1
|
|
60
61
|
}),
|
|
61
|
-
createVNode(
|
|
62
|
+
createVNode(i, { label: "服务端IP" }, {
|
|
62
63
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.serverAddr), 1)]),
|
|
63
64
|
_: 1
|
|
64
65
|
}),
|
|
65
|
-
createVNode(
|
|
66
|
+
createVNode(i, { label: "是否异常" }, {
|
|
66
67
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.success ? "否" : "是"), 1)]),
|
|
67
68
|
_: 1
|
|
68
69
|
}),
|
|
69
|
-
createVNode(
|
|
70
|
+
createVNode(i, { label: "执行时间" }, {
|
|
70
71
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.executeTime) + "ms ", 1)]),
|
|
71
72
|
_: 1
|
|
72
73
|
}),
|
|
73
|
-
createVNode(
|
|
74
|
+
createVNode(i, { label: "操作设备/操作系统类型" }, {
|
|
74
75
|
default: withCtx(() => [createTextVNode(toDisplayString(e.data?.deviceType), 1)]),
|
|
75
76
|
_: 1
|
|
76
77
|
}),
|
|
77
|
-
createVNode(
|
|
78
|
+
createVNode(i, { label: "浏览器名称" }, {
|
|
78
79
|
default: withCtx(() => [createVNode(browserType_default, { "browser-name": e.data?.browserName }, null, 8, ["browser-name"])]),
|
|
79
80
|
_: 1
|
|
80
81
|
})
|
|
@@ -85,5 +86,5 @@ import './operateHistoryDetail.css';var _hoisted_1 = { class: "detail-info" }, o
|
|
|
85
86
|
}, 8, ["open"]);
|
|
86
87
|
};
|
|
87
88
|
}
|
|
88
|
-
}), [["__scopeId", "data-v-2d434ba5"]]);
|
|
89
|
-
export { operateHistoryDetail_default as t };
|
|
89
|
+
}), operateHistoryDetail_exports = /* @__PURE__ */ __exportAll({ default: () => operateHistoryDetail_default }), operateHistoryDetail_default = /* @__PURE__ */ _plugin_vue_export_helper_default(operateHistoryDetail_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-2d434ba5"]]);
|
|
90
|
+
export { operateHistoryDetail_exports as n, operateHistoryDetail_default as t };
|