@pubinfo-pr/module-rbac 0.203.4 → 0.203.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.
Files changed (306) hide show
  1. package/dist/{ComponentSelect-A7uGTuHW.js → ComponentSelect-CYmAgdm3.js} +998 -963
  2. package/dist/DynamicRoutesForm-CMF3oh8h.js +171 -0
  3. package/dist/HCheckList-CAhQwX7m.js +39 -0
  4. package/dist/HoverCard-B-uU48hF.js +46 -0
  5. package/dist/IconSelect-CvxGRN_O.js +719 -0
  6. package/dist/ImportExport-CzZssb7_.js +345 -0
  7. package/dist/ImportExport-b1SnWRLj.js +6 -0
  8. package/dist/LayoutForm-Bpdyi_2o.js +129 -0
  9. package/dist/MetaForm-ZLzLz68d.js +39037 -0
  10. package/dist/OrgAndPosition-B0RE1Vc_.js +187 -0
  11. package/dist/OrgSelector-C2rPIonI.js +4877 -0
  12. package/dist/OrgSelector.css +1 -0
  13. package/dist/ResourceEdit-9fvxbd0K.js +383 -0
  14. package/dist/ResourceEdit-BMqfJ3aQ.js +13 -0
  15. package/dist/ResourceRelation-BrluMHdX.js +81 -0
  16. package/dist/ResourceRelation-IJvXnlpo.js +95 -0
  17. package/dist/RoleRelation-DuRuQG08.js +82 -0
  18. package/dist/RoleSelector-BTNYbcC6.js +282 -0
  19. package/dist/TenantEdit-Df3gZKLA.js +249 -0
  20. package/dist/UserAuthorization-DX7jNDDe.js +237 -0
  21. package/dist/UserEdit-BLb0n7WM.js +322 -0
  22. package/dist/_baseClone-C7vkGgsW.js +138 -0
  23. package/dist/_initCloneObject-r-eWKqzl.js +531 -0
  24. package/dist/add-child-DPb_m2by.js +4 -0
  25. package/dist/{animation_item-DBOz2rcX.js → animation_item-Coe-B0jQ.js} +24 -19
  26. package/dist/assist-BRMYD-oT.js +89 -0
  27. package/dist/authority-B9wtmsQd.js +4 -0
  28. package/dist/authorize-DxrutyIG.js +4 -0
  29. package/dist/blackWhiteList-d6TVsK48.js +214 -0
  30. package/dist/blacklist-disable-BKSw91qq.js +4 -0
  31. package/dist/blacklist-enable-CIB1fOHT.js +4 -0
  32. package/dist/breadcrumb_setting-DMbvWP5t.js +111 -0
  33. package/dist/browser-chrome-CM60RcrG.js +4 -0
  34. package/dist/browser-edge-4LBRzooM.js +4 -0
  35. package/dist/browser-ie-BF-wqbf6.js +4 -0
  36. package/dist/browser-other-iXJH-9iL.js +4 -0
  37. package/dist/browser-safari-CIpt0yPc.js +4 -0
  38. package/dist/browserType-Bik20-72.js +28 -0
  39. package/dist/chunk-WQLz0Won.js +20 -0
  40. package/dist/cloneDeep-REaxTPsZ.js +8 -0
  41. package/dist/createAndEditDataPermission-OunqmBu_.js +438 -0
  42. package/dist/data-permission-2pzeFLxP.js +159 -0
  43. package/dist/{dayjs.min-Cb7gQFd4.js → dayjs.min-CJunOGCc.js} +5 -3
  44. package/dist/dictionary-DGqlAhRk.js +182 -0
  45. package/dist/dist-DxAYQq3U.js +21 -0
  46. package/dist/drawerBlackWhiteList-VxyjaBkA.js +123 -0
  47. package/dist/drawerDictionary-DhAB-LV9.js +129 -0
  48. package/dist/drawerDictionaryItem-DYsJzZ2f.js +141 -0
  49. package/dist/drawerGroup-CTO8Lmbb.js +189 -0
  50. package/dist/drawerOrganization-DWhTc1fB.js +253 -0
  51. package/dist/drawerPosition-BmM9mLlP.js +169 -0
  52. package/dist/drawerRegion-BD-xc1x2.js +189 -0
  53. package/dist/drawerRole-B348x40k.js +214 -0
  54. package/dist/drawerRole-CgAPM-0g.js +172 -0
  55. package/dist/drawerRole-Cjp9iDsa.js +157 -0
  56. package/dist/edit-Drp8yjRe.js +4 -0
  57. package/dist/enum-CG0P82pn.js +6 -0
  58. package/dist/{enum-3E_sUqRF.js → enum-CR5ztb5v2.js} +15 -14
  59. package/dist/enum-CYCebJeC.js +62 -0
  60. package/dist/enum-DS4SGhiF.js +6 -0
  61. package/dist/enum-zdKA3Jy-.js +23 -0
  62. package/dist/group-C6Rj3K5I.js +178 -0
  63. package/dist/icard-BULUUV5m.js +4 -0
  64. package/dist/icon_animation-DuEY1FMm.js +4 -0
  65. package/dist/icon_breadcrumb-Y788iP_T.js +4 -0
  66. package/dist/icon_copyright-C1BER6kq.js +4 -0
  67. package/dist/icon_jt-ICOdrIF6.js +4 -0
  68. package/dist/icon_layout-D_wV9rX3.js +4 -0
  69. package/dist/icon_mainpage-Cz6_cxpJ.js +4 -0
  70. package/dist/icon_menu-y7SblUoR.js +4 -0
  71. package/dist/icon_page_size-BjwT656E.js +4 -0
  72. package/dist/icon_position_type-CPxcDgmM.js +4 -0
  73. package/dist/icon_safe_manage-CoqVRBLl.js +4 -0
  74. package/dist/icon_screen_scale-DURlkq3C.js +4 -0
  75. package/dist/icon_system_manage-BLXs2CQg.js +4 -0
  76. package/dist/icon_tabbar-_0QWhSBV.js +4 -0
  77. package/dist/icon_toolbar-BXpfu0iq.js +4 -0
  78. package/dist/icon_topbar-DrwvB8Jw.js +4 -0
  79. package/dist/icon_watermark-DwNqjAiA.js +4 -0
  80. package/dist/index.css +1 -1
  81. package/dist/index.js +588 -6776
  82. package/dist/isEmpty-2rx9iUQv.js +14 -0
  83. package/dist/isEqual-CNeQLaCM.js +474 -0
  84. package/dist/itemlist-BGe-z1IR.js +159 -0
  85. package/dist/json-asset-03f0a035.json +1 -0
  86. package/dist/json-asset-0ee63e7f.json +1 -0
  87. package/dist/json-asset-10eef4fe.json +1 -0
  88. package/dist/json-asset-13f452f1.json +1 -0
  89. package/dist/json-asset-14b7b290.json +1 -0
  90. package/dist/json-asset-15b8cef1.json +1 -0
  91. package/dist/json-asset-15f77960.json +1 -0
  92. package/dist/json-asset-1ae9b726.json +1 -0
  93. package/dist/json-asset-1b02359f.json +1 -0
  94. package/dist/json-asset-1ef286cd.json +1 -0
  95. package/dist/json-asset-23cfd18c.json +1 -0
  96. package/dist/json-asset-265a0a5d.json +1 -0
  97. package/dist/json-asset-28d57c49.json +1 -0
  98. package/dist/json-asset-2b54ed10.json +1 -0
  99. package/dist/json-asset-2bb6f642.json +1 -0
  100. package/dist/json-asset-2cdc07bd.json +1 -0
  101. package/dist/json-asset-31c58607.json +1 -0
  102. package/dist/json-asset-32884f23.json +1 -0
  103. package/dist/json-asset-32fca43a.json +1 -0
  104. package/dist/json-asset-3a75445b.json +1 -0
  105. package/dist/json-asset-3f27d67c.json +1 -0
  106. package/dist/json-asset-4189453f.json +1 -0
  107. package/dist/json-asset-4702b37c.json +1 -0
  108. package/dist/json-asset-520a5c68.json +1 -0
  109. package/dist/json-asset-56bea508.json +1 -0
  110. package/dist/json-asset-57c732a3.json +1 -0
  111. package/dist/json-asset-5be4a28f.json +1 -0
  112. package/dist/json-asset-5e6d7cfa.json +1 -0
  113. package/dist/json-asset-64e176c9.json +1 -0
  114. package/dist/json-asset-6583dca6.json +1 -0
  115. package/dist/json-asset-66c640c6.json +1 -0
  116. package/dist/json-asset-68393156.json +1 -0
  117. package/dist/json-asset-688465aa.json +1 -0
  118. package/dist/json-asset-6bf334f4.json +1 -0
  119. package/dist/json-asset-7b4f72ce.json +1 -0
  120. package/dist/json-asset-837ec087.json +1 -0
  121. package/dist/json-asset-838ac1ba.json +1 -0
  122. package/dist/json-asset-8465c2cf.json +1 -0
  123. package/dist/json-asset-9e9f04a4.json +1 -0
  124. package/dist/json-asset-a13964cb.json +1 -0
  125. package/dist/json-asset-ab93a057.json +1 -0
  126. package/dist/json-asset-abe308fc.json +1 -0
  127. package/dist/json-asset-b24f2cd3.json +1 -0
  128. package/dist/json-asset-bf00eaed.json +1 -0
  129. package/dist/json-asset-cb22efd7.json +1 -0
  130. package/dist/json-asset-cb953f20.json +1 -0
  131. package/dist/json-asset-cc209e34.json +1 -0
  132. package/dist/json-asset-cfdffceb.json +1 -0
  133. package/dist/json-asset-d33c0299.json +1 -0
  134. package/dist/json-asset-d430c8ca.json +1 -0
  135. package/dist/json-asset-d8cfa560.json +1 -0
  136. package/dist/json-asset-da91beb6.json +1 -0
  137. package/dist/json-asset-e2bdf85c.json +1 -0
  138. package/dist/json-asset-e34ad826.json +1 -0
  139. package/dist/json-asset-e80720aa.json +1 -0
  140. package/dist/json-asset-e894bc92.json +1 -0
  141. package/dist/json-asset-f28020f2.json +1 -0
  142. package/dist/json-asset-f71ebbf4.json +1 -0
  143. package/dist/json-asset-fb1f4917.json +1 -0
  144. package/dist/json-asset-ff2e97c4.json +1 -0
  145. package/dist/layout_setting-Cds3TCHc.js +71 -0
  146. package/dist/log-DOMU9MyH.js +18 -0
  147. package/dist/log-center-BrGlNhMd.js +4 -0
  148. package/dist/loginHistoryDetail-Coba_ajy.js +80 -0
  149. package/dist/{login_history-BiwaLpxA.js → login_history-CrXkEsHb.js} +38 -35
  150. package/dist/menu_setting-Br5dOEUk.js +158 -0
  151. package/dist/not-data-C-MacYF3.js +5 -0
  152. package/dist/operateHistoryDetail-DfDQL5BF.js +92 -0
  153. package/dist/{operate_history-sPd9IHMV.js → operate_history-BtHgPhmF.js} +38 -35
  154. package/dist/org-main-BRMBumDm.js +4 -0
  155. package/dist/org-unmain-0BHnrNdD.js +4 -0
  156. package/dist/organization-BbFERZ1l.js +15411 -0
  157. package/dist/other_setting-D92SlFvl.js +216 -0
  158. package/dist/page_animation_setting-Cy2R0vZy.js +111 -0
  159. package/dist/page_w_setting-DryWrqcx.js +66 -0
  160. package/dist/position-B1bqGly6.js +169 -0
  161. package/dist/rbac-B59CVHDt.js +460 -0
  162. package/dist/region-B_n1KXMG.js +182 -0
  163. package/dist/remove-BTME2Fhs.js +4 -0
  164. package/dist/request-7X2hpUru.js +5 -0
  165. package/dist/resource-CPNNd1l0.js +275 -0
  166. package/dist/resource-app-D8to3Lkn.js +4 -0
  167. package/dist/resource-btn-Cz-A_EQF.js +4 -0
  168. package/dist/resource-dynamic-BUqWxUiU.js +4 -0
  169. package/dist/resource-index-D2roT002.js +4 -0
  170. package/dist/resource-menu-BRER68rK.js +4 -0
  171. package/dist/resource-micro-Hyucl9de.js +4 -0
  172. package/dist/resource-nonmenu-7FcPEpHv.js +4 -0
  173. package/dist/role-CMd7WDRC.js +195 -0
  174. package/dist/role_group-DHh2s911.js +174 -0
  175. package/dist/safe_setting-CuTBmUve.js +225 -0
  176. package/dist/setItem-BwXZ5Uqx.js +4 -0
  177. package/dist/setItem-DlhIkIgh.js +78 -0
  178. package/dist/setting-manage-UHelpLrr.js +4 -0
  179. package/dist/stores-C-zbXsms.js +2 -0
  180. package/dist/tabbar_setting-CjW9LGPp.js +142 -0
  181. package/dist/tenant-B_vgufMG.js +180 -0
  182. package/dist/theme-check-mark-DRzx4sTs.js +4 -0
  183. package/dist/theme-title-BRvQ_qPg.js +4 -0
  184. package/dist/theme_setting-DMP0_nZ1.js +114 -0
  185. package/dist/toolbar_setting-ClxxvA7R.js +143 -0
  186. package/dist/useAppAndResource-D6WnpUPR.js +55 -0
  187. package/dist/user-BhytPqnx.js +348 -0
  188. package/dist/{vanilla-picker-Byb6q187.js → vanilla-picker-2HFham9c.js} +61 -59
  189. package/dist/view-Cridj7u2.js +4 -0
  190. package/dist/view-lBxqXfPW.js +114 -0
  191. package/dist/watermark_setting-b3vBYWwY.js +194 -0
  192. package/dist/zddata-CnvPWtIW.js +4 -0
  193. package/dist/zy_checked-C25HQlnr.js +4 -0
  194. package/dist/zy_default-B7RKtyqy.js +4 -0
  195. package/package.json +3 -3
  196. package/dist/DynamicRoutesForm-DSzy_bh5.js +0 -169
  197. package/dist/HCheckList-ODQHidN8.js +0 -37
  198. package/dist/HoverCard-CmJCoa2b.js +0 -44
  199. package/dist/IconSelect-DouEg3xY.js +0 -717
  200. package/dist/ImportExport-DisdLoY8.js +0 -342
  201. package/dist/LayoutForm-Bdfs5WeK.js +0 -125
  202. package/dist/MetaForm-CcDwS8vh.js +0 -38902
  203. package/dist/OrgAndPosition-jDX7m0HD.js +0 -184
  204. package/dist/ResourceEdit-0BYZRye_.js +0 -381
  205. package/dist/ResourceRelation-CU-QpUhP.js +0 -76
  206. package/dist/ResourceRelation-roz0a8Td.js +0 -91
  207. package/dist/RoleRelation-BQQFaum0.js +0 -79
  208. package/dist/RoleSelector-gkar_UGG.js +0 -275
  209. package/dist/TenantEdit-BsahDUlf.js +0 -246
  210. package/dist/UserAuthorization-2Fl4IGw7.js +0 -233
  211. package/dist/UserEdit-CX3Qau8T.js +0 -320
  212. package/dist/add-child-CFHHkjfg.js +0 -2
  213. package/dist/authority-L7SfiMdP.js +0 -2
  214. package/dist/authorize-qMpV_BXT.js +0 -2
  215. package/dist/blackWhiteList-DbG7JH8n.js +0 -211
  216. package/dist/blacklist-disable-BT6Xx-JG.js +0 -2
  217. package/dist/blacklist-enable-CJ6DK_V2.js +0 -2
  218. package/dist/breadcrumb_setting-Dx2Li6xt.js +0 -108
  219. package/dist/browser-chrome-DuAegVCe.js +0 -2
  220. package/dist/browser-edge-DzkWdXRd.js +0 -2
  221. package/dist/browser-ie-DZ9g_MXr.js +0 -2
  222. package/dist/browser-other-BmkifoYq.js +0 -2
  223. package/dist/browser-safari-CXrCuF2a.js +0 -2
  224. package/dist/browserType-B8A1Osvk.js +0 -26
  225. package/dist/chunk-DiMWNkAf.js +0 -18
  226. package/dist/cloneDeep-CSOSavu3.js +0 -6
  227. package/dist/createAndEditDataPermission-8_KNLzJT.js +0 -431
  228. package/dist/data-permission-LpuDLDm0.js +0 -152
  229. package/dist/dictionary-CEaxjqZe.js +0 -179
  230. package/dist/drawerBlackWhiteList-DXLdWurZ.js +0 -120
  231. package/dist/drawerDictionary-DYJTAZr6.js +0 -126
  232. package/dist/drawerDictionaryItem-BChXD2-q.js +0 -138
  233. package/dist/drawerGroup-CdnZkZxi.js +0 -185
  234. package/dist/drawerOrganization-CwtSFUj0.js +0 -247
  235. package/dist/drawerPosition-CfyfeQCN.js +0 -166
  236. package/dist/drawerRegion-DAwY_29K.js +0 -183
  237. package/dist/drawerRole-B7uCfHk-.js +0 -154
  238. package/dist/drawerRole-DK6DrinO.js +0 -209
  239. package/dist/drawerRole-DrzMHL0O.js +0 -167
  240. package/dist/edit-fZ7h_z_Z.js +0 -2
  241. package/dist/enum-3mYayxff.js +0 -61
  242. package/dist/enum-Cr7uWnB2.js +0 -23
  243. package/dist/enum-D2UEJsrC.js +0 -4
  244. package/dist/group-CaOhkh72.js +0 -172
  245. package/dist/icard-H-d9Pip-.js +0 -2
  246. package/dist/icon_animation-BCdRKkE5.js +0 -2
  247. package/dist/icon_breadcrumb-BR6LK8hP.js +0 -2
  248. package/dist/icon_copyright-BfWn1s6t.js +0 -2
  249. package/dist/icon_jt-DOMTq9De.js +0 -2
  250. package/dist/icon_layout-DKqAThpM.js +0 -2
  251. package/dist/icon_mainpage-CXB9JMGv.js +0 -2
  252. package/dist/icon_menu-BYQtWV-Q.js +0 -2
  253. package/dist/icon_page_size-r-z4oHWp.js +0 -2
  254. package/dist/icon_position_type-JDFdklRh.js +0 -2
  255. package/dist/icon_safe_manage-BDTIOduB.js +0 -2
  256. package/dist/icon_screen_scale-vEaAdr9S.js +0 -2
  257. package/dist/icon_system_manage-CkhQtieE.js +0 -2
  258. package/dist/icon_tabbar-DZNj-h-p.js +0 -2
  259. package/dist/icon_toolbar-BBYhGmEf.js +0 -2
  260. package/dist/icon_topbar-Bc379eaS.js +0 -2
  261. package/dist/icon_watermark-CTP8r-e2.js +0 -2
  262. package/dist/isEmpty-BjEzPyCa.js +0 -12
  263. package/dist/itemlist-CFwRUV2Y.js +0 -156
  264. package/dist/layout_setting-79srmFgJ.js +0 -68
  265. package/dist/log-BYris9iT.js +0 -14
  266. package/dist/log-center-CGT-BGAN.js +0 -2
  267. package/dist/loginHistoryDetail-CZnfmbbM.js +0 -78
  268. package/dist/menu_setting-ChueWHs4.js +0 -155
  269. package/dist/not-data-Bml86wdH.js +0 -3
  270. package/dist/operateHistoryDetail-HId-EZzy.js +0 -90
  271. package/dist/org-main-DnftBa38.js +0 -2
  272. package/dist/org-unmain-ByMarqFw.js +0 -2
  273. package/dist/organization-Dv3FbKke.js +0 -15316
  274. package/dist/other_setting-BEV_UK0g.js +0 -213
  275. package/dist/page_animation_setting-Cp5OnFpd.js +0 -108
  276. package/dist/page_w_setting-Q--ct16C.js +0 -63
  277. package/dist/position-CCZ2MSMP.js +0 -166
  278. package/dist/region-D3mjqB8H.js +0 -179
  279. package/dist/remove-DfZZBE2T.js +0 -2
  280. package/dist/resource-DaQ7CvM_.js +0 -271
  281. package/dist/resource-app-QSLZ7Hts.js +0 -2
  282. package/dist/resource-btn-BcB4xMgR.js +0 -2
  283. package/dist/resource-dynamic-D69oEbaO.js +0 -2
  284. package/dist/resource-index-BIHr3PZY.js +0 -2
  285. package/dist/resource-menu-0JSNn7S7.js +0 -2
  286. package/dist/resource-micro-CcX_pmaJ.js +0 -2
  287. package/dist/resource-nonmenu-DFItasMT.js +0 -2
  288. package/dist/role-4UgEw3nH.js +0 -192
  289. package/dist/role_group-hkRlCnyl.js +0 -171
  290. package/dist/safe_setting-4fv3qNRZ.js +0 -221
  291. package/dist/setItem-Vkcwkj-O.js +0 -77
  292. package/dist/setting-manage-C9whamLP.js +0 -2
  293. package/dist/stores-DPQF8JRt.js +0 -2
  294. package/dist/tabbar_setting-kbuTvrLB.js +0 -139
  295. package/dist/tenant-lWfGw2u1.js +0 -177
  296. package/dist/theme-check-mark-DG4oWCQN.js +0 -2
  297. package/dist/theme-title-BCYnl2jK.js +0 -2
  298. package/dist/theme_setting-CEb7UYQO.js +0 -111
  299. package/dist/toolbar_setting-BG-k2UFc.js +0 -140
  300. package/dist/useAppAndResource-B7FmNfKG.js +0 -52
  301. package/dist/user-BkUpcQC8.js +0 -339
  302. package/dist/view-Bnu34EJT.js +0 -2
  303. package/dist/watermark_setting-Cl2EtPAa.js +0 -191
  304. package/dist/zddata-Ceyga3_2.js +0 -2
  305. package/dist/zy_checked-DvD7k9F8.js +0 -2
  306. package/dist/zy_default-DJ2tB3Fo.js +0 -2
@@ -1,26 +1,28 @@
1
- import { h as _plugin_vue_export_helper_default } from "./index.js";
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
- import { PubinfoIcon, useAuth } from "pubinfo-pr";
6
- import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, onMounted, openBlock, ref, toDisplayString, unref, withCtx } from "vue";
7
- import { Space } from "ant-design-vue/es";
8
- import { ProTable } from "@pubinfo/pro-components";
9
- import './login_history.css';var _hoisted_1 = {
1
+ import "./request-7X2hpUru.js";
2
+ import { h as e } from "./index.js";
3
+ import "./browserType-Bik20-72.js";
4
+ import { t } from "./loginHistoryDetail-Coba_ajy.js";
5
+ import { t as n } from "./log-DOMU9MyH.js";
6
+ import { PubinfoIcon as r, useAuth as i } from "pubinfo-pr";
7
+ import { createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, onMounted as f, openBlock as p, ref as m, toDisplayString as h, unref as g, withCtx as _ } from "vue";
8
+ import { Space as v } from "ant-design-vue/es";
9
+ import { ProTable as y } from "@pubinfo/pro-components";
10
+ import './login_history.css';//#region src/views/log_center/login_history.vue?vue&type=script&setup=true&lang.tsx
11
+ var b = {
10
12
  "w-full": "",
11
13
  "h-full": "",
12
14
  "py-10px": "",
13
15
  "px-10px": "",
14
16
  flex: "",
15
17
  "flex-col": ""
16
- }, _hoisted_2 = {
18
+ }, x = {
17
19
  key: 0,
18
20
  class: "flex items-center"
19
- }, _hoisted_3 = { class: "ml-4px" }, _hoisted_4 = ["onClick"], login_history_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
21
+ }, S = { class: "ml-4px" }, C = ["onClick"], w = /* @__PURE__ */ e(/* @__PURE__ */ u({
20
22
  name: "LoginHistory",
21
23
  __name: "login_history",
22
24
  setup(e) {
23
- let { auth: u } = useAuth(), d = ref(), f = ref(!1), p = ref(), m = [
25
+ let { auth: u } = i(), w = m(), T = m(!1), E = m(), D = [
24
26
  {
25
27
  valueType: "a-input",
26
28
  hideInTable: !0,
@@ -138,8 +140,8 @@ import './login_history.css';var _hoisted_1 = {
138
140
  }
139
141
  }
140
142
  ];
141
- onMounted(g);
142
- async function h(e) {
143
+ f(k);
144
+ async function O(e) {
143
145
  let { current: t, pageSize: r, loginName: i, loginTime: a, realName: o, orgName: s, loginIp: c } = e, l = {
144
146
  pageSize: r,
145
147
  currentPage: t,
@@ -149,47 +151,48 @@ import './login_history.css';var _hoisted_1 = {
149
151
  loginStartTime: a[0].format("YYYY-MM-DD HH:mm:ss"),
150
152
  loginEndTime: a[1].format("YYYY-MM-DD HH:mm:ss")
151
153
  });
152
- let u = await postLogLoginPage(l);
154
+ let u = await n(l);
153
155
  return {
154
156
  success: u.success,
155
157
  data: u.data?.records ?? [],
156
158
  total: u.data?.total ?? 0
157
159
  };
158
160
  }
159
- function g() {
160
- d.value.reload();
161
+ function k() {
162
+ w.value.reload();
161
163
  }
162
- function _(e) {
163
- f.value = !0, p.value = e;
164
+ function A(e) {
165
+ T.value = !0, E.value = e;
164
166
  }
165
167
  return (e, n) => {
166
- let i = PubinfoIcon, u = Space;
167
- return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(ProTable), {
168
+ let i = r, u = v;
169
+ return p(), s("div", b, [l(g(y), {
168
170
  ref_key: "tableRef",
169
- ref: d,
171
+ ref: w,
170
172
  "row-key": "id",
171
- request: h,
172
- columns: m,
173
+ request: O,
174
+ columns: D,
173
175
  "auto-height": "",
174
176
  scroll: { x: 1e3 }
175
177
  }, {
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
- default: withCtx(() => [createElementVNode("a", {
178
+ bodyCell: _(({ column: e, record: t }) => [e.dataIndex === "success" ? (p(), s("div", x, [c("i", { class: d(["status-mark", [{ active: t.success }]]) }, null, 2), c("span", S, h(t.success ? "成功" : "失败"), 1)])) : o("", !0), e.dataIndex === "action" ? (p(), a(u, { key: 1 }, {
179
+ default: _(() => [c("a", {
178
180
  class: "flex items-center",
179
- onClick: () => _(t)
180
- }, [createVNode(i, {
181
+ onClick: () => A(t)
182
+ }, [l(i, {
181
183
  name: "view",
182
184
  class: "text-20px"
183
- }), n[1] ||= createElementVNode("span", { class: "ml-4px" }, "查看", -1)], 8, _hoisted_4)]),
185
+ }), n[1] ||= c("span", { class: "ml-4px" }, "查看", -1)], 8, C)]),
184
186
  _: 2
185
- }, 1024)) : createCommentVNode("", !0)]),
187
+ }, 1024)) : o("", !0)]),
186
188
  _: 1
187
- }, 512), createVNode(loginHistoryDetail_default, {
188
- visible: unref(f),
189
- data: unref(p),
190
- onClose: n[0] ||= (e) => f.value = !1
189
+ }, 512), l(t, {
190
+ visible: g(T),
191
+ data: g(E),
192
+ onClose: n[0] ||= (e) => T.value = !1
191
193
  }, null, 8, ["visible", "data"])]);
192
194
  };
193
195
  }
194
196
  }), [["__scopeId", "data-v-a52e4c4a"]]);
195
- export { login_history_default as default };
197
+ //#endregion
198
+ export { w as default };
@@ -0,0 +1,158 @@
1
+ import "./request-7X2hpUru.js";
2
+ import { h as e, l as t } from "./index.js";
3
+ import { t as n } from "./stores-C-zbXsms.js";
4
+ import "./animation_item-Coe-B0jQ.js";
5
+ import "./HCheckList-CAhQwX7m.js";
6
+ import { t as r } from "./setItem-DlhIkIgh.js";
7
+ import { PubinfoIcon as i } from "pubinfo-pr";
8
+ import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, openBlock as d, reactive as f, renderList as p, toRef as m, unref as h } from "vue";
9
+ import { message as g } from "ant-design-vue";
10
+ import './menu_setting.css';//#region src/assets/lottie/menu/dark/enableHotkeys.json?url
11
+ var _ = new URL("json-asset-f28020f2.json", import.meta.url).href, v = new URL("json-asset-abe308fc.json", import.meta.url).href, y = new URL("json-asset-56bea508.json", import.meta.url).href, b = new URL("json-asset-5be4a28f.json", import.meta.url).href, x = new URL("json-asset-6bf334f4.json", import.meta.url).href, S = new URL("json-asset-2b54ed10.json", import.meta.url).href, C = new URL("json-asset-4702b37c.json", import.meta.url).href, w = new URL("json-asset-32fca43a.json", import.meta.url).href, T = new URL("json-asset-10eef4fe.json", import.meta.url).href, E = new URL("json-asset-cc209e34.json", import.meta.url).href, D = new URL("json-asset-23cfd18c.json", import.meta.url).href, O = new URL("json-asset-14b7b290.json", import.meta.url).href, k = {
12
+ "w-full": "",
13
+ "h-full": "",
14
+ "p-10px": ""
15
+ }, A = { class: "w-full h-full bg-white overflow-y-auto p-10px flex flex-col box-border dark:bg-[#141414]" }, j = { class: "h-[38px] pl-[16px] flex flex-row items-center bar-header" }, M = {
16
+ class: "mt-[22px] grid grid-cols-3 gap-[20px] px-30px w-full h-0 max-w-1500px",
17
+ aspect: "[3/2] "
18
+ }, N = /* @__PURE__ */ e(/* @__PURE__ */ u({
19
+ name: "MenuAnimationSetting",
20
+ __name: "index",
21
+ setup(e) {
22
+ let u = n(), N = m(u.globalSettings.menu, "menuMode"), P = [
23
+ {
24
+ icon: "i-jam-stop-sign",
25
+ value: ""
26
+ },
27
+ {
28
+ icon: ["head", "only-head"].includes(N.value) ? "i-ep-caret-top" : "i-ep-caret-left",
29
+ value: "arrow"
30
+ },
31
+ {
32
+ icon: ["side", "only-side"].includes(N.value) ? "i-tabler-minus-vertical" : "i-tabler-minus",
33
+ value: "line"
34
+ },
35
+ {
36
+ icon: "i-icon-park-outline-dot",
37
+ value: "dot"
38
+ }
39
+ ], F = f([
40
+ {
41
+ type: "switch",
42
+ name: "次导航保持展开一个",
43
+ descripe: "开启该功能后,次导航只保持单个菜单的展开",
44
+ open: u.globalSettings.menu.subMenuUniqueOpened,
45
+ activeStyle: "",
46
+ lightData: O,
47
+ darkData: S
48
+ },
49
+ {
50
+ type: "switch",
51
+ name: "次导航是否折叠",
52
+ descripe: "",
53
+ open: u.globalSettings.menu.subMenuCollapse,
54
+ activeStyle: "",
55
+ lightData: D,
56
+ darkData: x
57
+ },
58
+ {
59
+ type: "switch",
60
+ name: "显示次导航折叠按钮",
61
+ descripe: "",
62
+ open: u.globalSettings.menu.enableSubMenuCollapseButton,
63
+ activeStyle: "",
64
+ lightData: w,
65
+ darkData: v
66
+ },
67
+ {
68
+ type: "switch",
69
+ name: "是否圆角",
70
+ descripe: "",
71
+ open: u.globalSettings.menu.isRounded,
72
+ activeStyle: "",
73
+ lightData: T,
74
+ darkData: y
75
+ },
76
+ {
77
+ type: "check",
78
+ name: "激活风格",
79
+ descripe: "",
80
+ open: !0,
81
+ activeStyle: u.globalSettings.menu.menuActiveStyle,
82
+ styleOptions: P,
83
+ lightData: E,
84
+ darkData: b
85
+ },
86
+ {
87
+ type: "switch",
88
+ name: "是否启用快捷键",
89
+ descripe: "",
90
+ open: u.globalSettings.menu.enableHotkeys,
91
+ activeStyle: "",
92
+ lightData: C,
93
+ darkData: _
94
+ }
95
+ ]), I = "";
96
+ function L(e, t) {
97
+ switch (e) {
98
+ case 0:
99
+ u.globalSettings.menu.subMenuUniqueOpened = t, I = JSON.stringify({ menu: { subMenuUniqueOpened: t } });
100
+ break;
101
+ case 1:
102
+ u.globalSettings.menu.subMenuCollapse = t, I = JSON.stringify({ menu: { subMenuCollapse: t } });
103
+ break;
104
+ case 2:
105
+ u.globalSettings.menu.enableSubMenuCollapseButton = t, I = JSON.stringify({ menu: { enableSubMenuCollapseButton: t } });
106
+ break;
107
+ case 3:
108
+ u.globalSettings.menu.isRounded = t, I = JSON.stringify({ menu: { isRounded: t } });
109
+ break;
110
+ case 4:
111
+ u.globalSettings.menu.menuActiveStyle = t, I = JSON.stringify({ menu: { menuActiveStyle: t } });
112
+ break;
113
+ case 5:
114
+ u.globalSettings.menu.enableHotkeys = t, I = JSON.stringify({ menu: { enableHotkeys: t } });
115
+ break;
116
+ }
117
+ R(I);
118
+ }
119
+ function R(e) {
120
+ t({ content: e }).then((e) => {
121
+ e.success && g.success("设置成功");
122
+ });
123
+ }
124
+ return (e, t) => {
125
+ let n = i;
126
+ return d(), s("div", k, [c("div", A, [c("div", j, [l(n, {
127
+ name: "icon_menu",
128
+ class: "text-base mr-[6px]",
129
+ size: 22
130
+ }), t[0] ||= c("span", { class: "text-[16px] text-[#1d2129] dark:text-[#C9CDD4]" }, "导航栏", -1)]), c("div", M, [(d(!0), s(a, null, p(h(F), (e, t) => (d(), o(r, {
131
+ key: e.name,
132
+ class: "mb-20px",
133
+ aspect: "[9/6]",
134
+ name: e.name,
135
+ descripe: e.descripe,
136
+ open: e.open,
137
+ type: e.type,
138
+ "active-style": e.activeStyle,
139
+ "style-options": e.styleOptions,
140
+ "light-animation-data": e.lightData,
141
+ "dark-animation-data": e.darkData,
142
+ onChange: (e) => L(t, e)
143
+ }, null, 8, [
144
+ "name",
145
+ "descripe",
146
+ "open",
147
+ "type",
148
+ "active-style",
149
+ "style-options",
150
+ "light-animation-data",
151
+ "dark-animation-data",
152
+ "onChange"
153
+ ]))), 128))])])]);
154
+ };
155
+ }
156
+ }), [["__scopeId", "data-v-189fafa9"]]);
157
+ //#endregion
158
+ export { N as default };
@@ -0,0 +1,5 @@
1
+ import { r as e } from "./chunk-WQLz0Won.js";
2
+ //#region src/assets/icons/not-data.svg
3
+ var t = /* @__PURE__ */ e({ default: () => n }), n = "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";
4
+ //#endregion
5
+ export { t as n, n as t };
@@ -0,0 +1,92 @@
1
+ import { r as e } from "./chunk-WQLz0Won.js";
2
+ import { h as t } from "./index.js";
3
+ import { t as n } from "./browserType-Bik20-72.js";
4
+ import { createBlock as r, createElementVNode as i, createTextVNode as a, createVNode as o, defineComponent as s, openBlock as c, toDisplayString as l, withCtx as u } from "vue";
5
+ import { Descriptions as d, DescriptionsItem as f, Drawer as p } from "ant-design-vue/es";
6
+ import './operateHistoryDetail.css';//#region src/views/log_center/components/operateHistoryDetail.vue?vue&type=script&setup=true&lang.ts
7
+ var m = { class: "detail-info" }, h = /* @__PURE__ */ s({
8
+ __name: "operateHistoryDetail",
9
+ props: {
10
+ visible: Boolean,
11
+ data: Object
12
+ },
13
+ emits: ["close"],
14
+ setup(e, { emit: t }) {
15
+ let s = t;
16
+ function h() {
17
+ s("close");
18
+ }
19
+ return (t, s) => {
20
+ let g = f, _ = d, v = p;
21
+ return c(), r(v, {
22
+ open: e.visible,
23
+ title: "操作日志",
24
+ placement: "right",
25
+ width: 900,
26
+ "footer-style": { textAlign: "right" },
27
+ onClose: h
28
+ }, {
29
+ default: u(() => [i("div", m, [o(_, { column: 2 }, {
30
+ default: u(() => [
31
+ o(g, { label: "操作说明" }, {
32
+ default: u(() => [a(l(e.data?.title), 1)]),
33
+ _: 1
34
+ }),
35
+ o(g, { label: "操作类型" }, {
36
+ default: u(() => [a(l(e.data?.operateType), 1)]),
37
+ _: 1
38
+ }),
39
+ o(g, { label: "操作时间" }, {
40
+ default: u(() => [a(l(e.data?.operateTime), 1)]),
41
+ _: 1
42
+ }),
43
+ o(g, { label: "操作模块" }, {
44
+ default: u(() => [a(l(e.data?.moduleName), 1)]),
45
+ _: 1
46
+ }),
47
+ o(g, { label: "请求参数" }, {
48
+ default: u(() => [a(l(e.data?.requestParams), 1)]),
49
+ _: 1
50
+ }),
51
+ o(g, { label: "请求方法" }, {
52
+ default: u(() => [a(l(e.data?.requestMethod), 1)]),
53
+ _: 1
54
+ }),
55
+ o(g, { label: "请求地址" }, {
56
+ default: u(() => [a(l(e.data?.requestUri), 1)]),
57
+ _: 1
58
+ }),
59
+ o(g, { label: "操作人IP" }, {
60
+ default: u(() => [a(l(e.data?.remoteAddr), 1)]),
61
+ _: 1
62
+ }),
63
+ o(g, { label: "服务端IP" }, {
64
+ default: u(() => [a(l(e.data?.serverAddr), 1)]),
65
+ _: 1
66
+ }),
67
+ o(g, { label: "是否异常" }, {
68
+ default: u(() => [a(l(e.data?.success ? "否" : "是"), 1)]),
69
+ _: 1
70
+ }),
71
+ o(g, { label: "执行时间" }, {
72
+ default: u(() => [a(l(e.data?.executeTime) + "ms ", 1)]),
73
+ _: 1
74
+ }),
75
+ o(g, { label: "操作设备/操作系统类型" }, {
76
+ default: u(() => [a(l(e.data?.deviceType), 1)]),
77
+ _: 1
78
+ }),
79
+ o(g, { label: "浏览器名称" }, {
80
+ default: u(() => [o(n, { "browser-name": e.data?.browserName }, null, 8, ["browser-name"])]),
81
+ _: 1
82
+ })
83
+ ]),
84
+ _: 1
85
+ })])]),
86
+ _: 1
87
+ }, 8, ["open"]);
88
+ };
89
+ }
90
+ }), g = /* @__PURE__ */ e({ default: () => _ }), _ = /* @__PURE__ */ t(h, [["__scopeId", "data-v-2d434ba5"]]);
91
+ //#endregion
92
+ export { g as n, _ as t };
@@ -1,26 +1,28 @@
1
- import { h as _plugin_vue_export_helper_default } from "./index.js";
2
- import "./browserType-B8A1Osvk.js";
3
- import { t as operateHistoryDetail_default } from "./operateHistoryDetail-HId-EZzy.js";
4
- import { n as postLogOperatePage } from "./log-BYris9iT.js";
5
- import { PubinfoIcon, useAuth } from "pubinfo-pr";
6
- import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, onMounted, openBlock, ref, toDisplayString, unref, withCtx } from "vue";
7
- import { Space } from "ant-design-vue/es";
8
- import { ProTable } from "@pubinfo/pro-components";
9
- import './operate_history.css';var _hoisted_1 = {
1
+ import "./request-7X2hpUru.js";
2
+ import { h as e } from "./index.js";
3
+ import "./browserType-Bik20-72.js";
4
+ import { t } from "./operateHistoryDetail-DfDQL5BF.js";
5
+ import { n } from "./log-DOMU9MyH.js";
6
+ import { PubinfoIcon as r, useAuth as i } from "pubinfo-pr";
7
+ import { createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, onMounted as f, openBlock as p, ref as m, toDisplayString as h, unref as g, withCtx as _ } from "vue";
8
+ import { Space as v } from "ant-design-vue/es";
9
+ import { ProTable as y } from "@pubinfo/pro-components";
10
+ import './operate_history.css';//#region src/views/log_center/operate_history.vue?vue&type=script&setup=true&lang.tsx
11
+ var b = {
10
12
  "w-full": "",
11
13
  "h-full": "",
12
14
  "py-10px": "",
13
15
  "px-10px": "",
14
16
  flex: "",
15
17
  "flex-col": ""
16
- }, _hoisted_2 = {
18
+ }, x = {
17
19
  key: 0,
18
20
  class: "flex items-center"
19
- }, _hoisted_3 = { class: "ml-4px" }, _hoisted_4 = ["onClick"], operate_history_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
21
+ }, S = { class: "ml-4px" }, C = ["onClick"], w = /* @__PURE__ */ e(/* @__PURE__ */ u({
20
22
  name: "OperateHistory",
21
23
  __name: "operate_history",
22
24
  setup(e) {
23
- let { auth: u } = useAuth(), d = ref(), f = ref(!1), p = ref(), m = [
25
+ let { auth: u } = i(), w = m(), T = m(!1), E = m(), D = [
24
26
  {
25
27
  valueType: "a-input",
26
28
  hideInTable: !0,
@@ -133,8 +135,8 @@ import './operate_history.css';var _hoisted_1 = {
133
135
  }
134
136
  }
135
137
  ];
136
- onMounted(g);
137
- async function h(e) {
138
+ f(k);
139
+ async function O(e) {
138
140
  let { current: t, pageSize: r, moduleName: i, realName: a, loginName: o, orgName: s, operateTime: c } = e, l = {
139
141
  pageSize: r,
140
142
  currentPage: t,
@@ -144,47 +146,48 @@ import './operate_history.css';var _hoisted_1 = {
144
146
  operateStartTime: c[0].format("YYYY-MM-DD HH:mm:ss"),
145
147
  operateEndTime: c[1].format("YYYY-MM-DD HH:mm:ss")
146
148
  });
147
- let u = await postLogOperatePage(l);
149
+ let u = await n(l);
148
150
  return {
149
151
  success: u.success,
150
152
  data: u.data?.records ?? [],
151
153
  total: u.data?.total ?? 0
152
154
  };
153
155
  }
154
- function g() {
155
- d.value.reload();
156
+ function k() {
157
+ w.value.reload();
156
158
  }
157
- function _(e) {
158
- f.value = !0, p.value = e;
159
+ function A(e) {
160
+ T.value = !0, E.value = e;
159
161
  }
160
162
  return (e, n) => {
161
- let i = PubinfoIcon, u = Space;
162
- return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(ProTable), {
163
+ let i = r, u = v;
164
+ return p(), s("div", b, [l(g(y), {
163
165
  ref_key: "tableRef",
164
- ref: d,
166
+ ref: w,
165
167
  "row-key": "id",
166
- request: h,
167
- columns: m,
168
+ request: O,
169
+ columns: D,
168
170
  "auto-height": "",
169
171
  scroll: { x: 1e3 }
170
172
  }, {
171
- 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 }, {
172
- default: withCtx(() => [createElementVNode("a", {
173
+ bodyCell: _(({ column: e, record: t }) => [e.dataIndex === "success" ? (p(), s("div", x, [c("i", { class: d(["status-mark", [{ active: t.success }]]) }, null, 2), c("span", S, h(t.success ? "正常" : "异常"), 1)])) : o("", !0), e.dataIndex === "action" ? (p(), a(u, { key: 1 }, {
174
+ default: _(() => [c("a", {
173
175
  class: "flex items-center",
174
- onClick: () => _(t)
175
- }, [createVNode(i, {
176
+ onClick: () => A(t)
177
+ }, [l(i, {
176
178
  name: "view",
177
179
  class: "text-20px"
178
- }), n[1] ||= createElementVNode("span", { class: "ml-4px" }, "查看", -1)], 8, _hoisted_4)]),
180
+ }), n[1] ||= c("span", { class: "ml-4px" }, "查看", -1)], 8, C)]),
179
181
  _: 2
180
- }, 1024)) : createCommentVNode("", !0)]),
182
+ }, 1024)) : o("", !0)]),
181
183
  _: 1
182
- }, 512), createVNode(operateHistoryDetail_default, {
183
- visible: unref(f),
184
- data: unref(p),
185
- onClose: n[0] ||= (e) => f.value = !1
184
+ }, 512), l(t, {
185
+ visible: g(T),
186
+ data: g(E),
187
+ onClose: n[0] ||= (e) => T.value = !1
186
188
  }, null, 8, ["visible", "data"])]);
187
189
  };
188
190
  }
189
191
  }), [["__scopeId", "data-v-a30b4755"]]);
190
- export { operate_history_default as default };
192
+ //#endregion
193
+ export { w as default };
@@ -0,0 +1,4 @@
1
+ //#region src/assets/icons/org-main.svg
2
+ var e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2024%2025'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3crect%20width='20'%20height='20'%20x='1.759'%20y='2.005'%20fill='%23165DFF'%20rx='10'/%3e%3cpath%20fill='%23fff'%20d='M16%2013.005h-1.25l-1.25-2.15c.3-.15.5-.5.5-.85v-2c0-.55-.45-1-1-1h-2c-.55%200-1%20.45-1%201v2c0%20.35.2.65.5.85l-1.25%202.15H8c-.55%200-1%20.45-1%201v2c0%20.55.45%201%201%201h2c.55%200%201-.45%201-1v-.65h2v.65c0%20.55.45%201%201%201h2c.55%200%201-.45%201-1v-2c0-.55-.45-1-1-1m-5%201.6v-.6c0-.5-.4-.95-.9-1l1.15-2h1.45l1.15%202c-.5.05-.9.45-.9%201v.6z'/%3e%3c/svg%3e";
3
+ //#endregion
4
+ export { e as default };
@@ -0,0 +1,4 @@
1
+ //#region src/assets/icons/org-unmain.svg
2
+ var e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2024%2025'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3crect%20width='20'%20height='20'%20x='1.759'%20y='2.005'%20fill='%23C9CDD4'%20rx='10'/%3e%3cpath%20fill='%23fff'%20d='M16%2013.005h-1.25l-1.25-2.15c.3-.15.5-.5.5-.85v-2c0-.55-.45-1-1-1h-2c-.55%200-1%20.45-1%201v2c0%20.35.2.65.5.85l-1.25%202.15H8c-.55%200-1%20.45-1%201v2c0%20.55.45%201%201%201h2c.55%200%201-.45%201-1v-.65h2v.65c0%20.55.45%201%201%201h2c.55%200%201-.45%201-1v-2c0-.55-.45-1-1-1m-5%201.6v-.6c0-.5-.4-.95-.9-1l1.15-2h1.45l1.15%202c-.5.05-.9.45-.9%201v.6z'/%3e%3c/svg%3e";
3
+ //#endregion
4
+ export { e as default };