feat: 添加权限管理和管理员状态功能

新增权限数组和管理员状态标识,用于控制用户权限和界面展示
This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-11-19 14:25:47 +08:00
parent ed89dd7448
commit e789543139
103 changed files with 919 additions and 818 deletions

View File

@@ -3678,7 +3678,7 @@ function klona(x) {
const inlineAppConfig = {
"nuxt": {
"buildId": "5647ec10-bcce-49c6-9ad9-4b62d89c4e5e"
"buildId": "c8c97d42-8838-497d-9888-ccc46f8e5444"
}
};
@@ -4966,201 +4966,222 @@ const assets = {
"size": 2238,
"path": "../public/favicon.ico"
},
"/_nuxt/cross-icon.rxrWBGt_.js": {
"/_nuxt/cross-icon.rmq8AwS8.js": {
"type": "application/javascript",
"etag": "\"1cf6b-vGYyqTPV/7avjTlpatW40neS0fw\"",
"mtime": "2025-09-08T09:13:08.597Z",
"size": 118635,
"path": "../public/_nuxt/cross-icon.rxrWBGt_.js"
"etag": "\"1da65-bMA95YlmyYHErP/gxwpBRppXumk\"",
"mtime": "2025-11-19T06:22:40.771Z",
"size": 121445,
"path": "../public/_nuxt/cross-icon.rmq8AwS8.js"
},
"/_nuxt/cross-icon.zBxWVjBs.css": {
"/_nuxt/cross-icon.vxnxxNER.css": {
"type": "text/css; charset=utf-8",
"etag": "\"344e-XZT/mYzLxlrPWGKJleYi5RweCFw\"",
"mtime": "2025-09-08T09:13:08.595Z",
"etag": "\"344e-X6uq4V8EutxAezLcCoFtY0y36Q0\"",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 13390,
"path": "../public/_nuxt/cross-icon.zBxWVjBs.css"
"path": "../public/_nuxt/cross-icon.vxnxxNER.css"
},
"/_nuxt/discuss-black-icon.wLUPcZh0.png": {
"type": "image/png",
"etag": "\"440f-niodjfXE9hwDnJwPq37rJ8NutPQ\"",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 17423,
"path": "../public/_nuxt/discuss-black-icon.wLUPcZh0.png"
},
"/_nuxt/el-button.gO5Z1ARE.css": {
"type": "text/css; charset=utf-8",
"etag": "\"6d7f-lcwIDJ63sgON1Y3ALN0NRMT2BYg\"",
"mtime": "2025-09-08T09:13:08.595Z",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 28031,
"path": "../public/_nuxt/el-button.gO5Z1ARE.css"
},
"/_nuxt/el-button.JmSUKHwe.js": {
"/_nuxt/el-button.SRW5a1HJ.js": {
"type": "application/javascript",
"etag": "\"11344-+Ckmu2C109KyuvMCH2li5/2ubls\"",
"mtime": "2025-09-08T09:13:08.597Z",
"size": 70468,
"path": "../public/_nuxt/el-button.JmSUKHwe.js"
"etag": "\"11348-dJFoC7pGQWOMLMdsdiKHFEfOlu4\"",
"mtime": "2025-11-19T06:22:40.771Z",
"size": 70472,
"path": "../public/_nuxt/el-button.SRW5a1HJ.js"
},
"/_nuxt/empty-icon.smkaMoHI.png": {
"type": "image/png",
"etag": "\"17df-ZbUVuzPJ5DAL9B9xteitdPCiUxY\"",
"mtime": "2025-09-08T09:13:08.595Z",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 6111,
"path": "../public/_nuxt/empty-icon.smkaMoHI.png"
},
"/_nuxt/entry.4SmQ3ef1.js": {
"type": "application/javascript",
"etag": "\"257f7-Vt/erzp/t7MjVZPFGPMrtGniCQA\"",
"mtime": "2025-11-19T06:22:40.771Z",
"size": 153591,
"path": "../public/_nuxt/entry.4SmQ3ef1.js"
},
"/_nuxt/entry.BQ2EHXV0.css": {
"type": "text/css; charset=utf-8",
"etag": "\"8d5-c4iulIcQ5kYRCKNGfqr3VO0KYoU\"",
"mtime": "2025-09-08T09:13:08.595Z",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 2261,
"path": "../public/_nuxt/entry.BQ2EHXV0.css"
},
"/_nuxt/entry.vA5qQQcd.js": {
"/_nuxt/error-404.3kEuyPyF.js": {
"type": "application/javascript",
"etag": "\"2576a-HTvenU815ecmnwT/aEAebgSwn8Y\"",
"mtime": "2025-09-08T09:13:08.597Z",
"size": 153450,
"path": "../public/_nuxt/entry.vA5qQQcd.js"
},
"/_nuxt/error-404.J1SXL3Xf.js": {
"type": "application/javascript",
"etag": "\"1992-1RwzpDpMJp8LSq/psBar3VmCwD0\"",
"mtime": "2025-09-08T09:13:08.596Z",
"etag": "\"1992-Bdc34YeGLigbMv6KUK3NYZOezVk\"",
"mtime": "2025-11-19T06:22:40.771Z",
"size": 6546,
"path": "../public/_nuxt/error-404.J1SXL3Xf.js"
"path": "../public/_nuxt/error-404.3kEuyPyF.js"
},
"/_nuxt/error-404.qFGwA4uS.css": {
"type": "text/css; charset=utf-8",
"etag": "\"e26-9UI2Z985OY4ttYcbyiWh91cxpnM\"",
"mtime": "2025-09-08T09:13:08.595Z",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 3622,
"path": "../public/_nuxt/error-404.qFGwA4uS.css"
},
"/_nuxt/error-500.oP9v20ed.js": {
"/_nuxt/error-500.C2wJzPtr.js": {
"type": "application/javascript",
"etag": "\"7b3-6WRNpIKGXeHQaJ9gFYo7vIy80S4\"",
"mtime": "2025-09-08T09:13:08.596Z",
"etag": "\"7b3-ojp4UvWOxYEspEmAjRgMbeRU5mM\"",
"mtime": "2025-11-19T06:22:40.769Z",
"size": 1971,
"path": "../public/_nuxt/error-500.oP9v20ed.js"
"path": "../public/_nuxt/error-500.C2wJzPtr.js"
},
"/_nuxt/error-500.V0P2JAtD.css": {
"type": "text/css; charset=utf-8",
"etag": "\"79e-ByRo+49BgcevWdRjJy3CMx2IA5k\"",
"mtime": "2025-09-08T09:13:08.595Z",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 1950,
"path": "../public/_nuxt/error-500.V0P2JAtD.css"
},
"/_nuxt/index.1ctlseI0.js": {
"type": "application/javascript",
"etag": "\"151-K+yRC50f2BzaB36f1tOOZRUDNfE\"",
"mtime": "2025-09-08T09:13:08.596Z",
"size": 337,
"path": "../public/_nuxt/index.1ctlseI0.js"
"/_nuxt/essence-icon.ZZKddE6Q.png": {
"type": "image/png",
"etag": "\"11bfc-R8tTditBrTQRSgcVf8VeYof4tQE\"",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 72700,
"path": "../public/_nuxt/essence-icon.ZZKddE6Q.png"
},
"/_nuxt/index.8gEoU_2k.css": {
"/_nuxt/index.jyY40K5G.css": {
"type": "text/css; charset=utf-8",
"etag": "\"1037-idQd630k/C98PdvAdk2xZ4AwN9A\"",
"mtime": "2025-09-08T09:13:08.595Z",
"etag": "\"1037-mUaSaRWpHVeox3HKBy9DX1hpffQ\"",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 4151,
"path": "../public/_nuxt/index.8gEoU_2k.css"
"path": "../public/_nuxt/index.jyY40K5G.css"
},
"/_nuxt/index.Ccj3oQtY.js": {
"/_nuxt/index.MW-SVMtu.js": {
"type": "application/javascript",
"etag": "\"24986-4NIwUHJVm00rxEJS/BuBSt5Ly/k\"",
"mtime": "2025-09-08T09:13:08.597Z",
"size": 149894,
"path": "../public/_nuxt/index.Ccj3oQtY.js"
"etag": "\"151-j2vQh/gl0nXkxHl2ON1mieM5vsc\"",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 337,
"path": "../public/_nuxt/index.MW-SVMtu.js"
},
"/_nuxt/index.Regz8Orv.js": {
"/_nuxt/index.n5cjFuV_.js": {
"type": "application/javascript",
"etag": "\"3608-QDv+AmzJ2VLrenYqWY0LvZGX9Zo\"",
"mtime": "2025-09-08T09:13:08.591Z",
"size": 13832,
"path": "../public/_nuxt/index.Regz8Orv.js"
"etag": "\"22e3-0X8lpkSXLPcHxqGn373IGn1TJQM\"",
"mtime": "2025-11-19T06:22:40.771Z",
"size": 8931,
"path": "../public/_nuxt/index.n5cjFuV_.js"
},
"/_nuxt/index.xDbslpFM.css": {
"type": "text/css; charset=utf-8",
"etag": "\"74a9-66ptri4zMYRhD/ijz+n2/iKoGPE\"",
"mtime": "2025-09-08T09:13:08.596Z",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 29865,
"path": "../public/_nuxt/index.xDbslpFM.css"
},
"/_nuxt/index.ZQUMEpGa.js": {
"type": "application/javascript",
"etag": "\"24987-5usvvMuJWy7POrIqGXaJJmj9MnQ\"",
"mtime": "2025-11-19T06:22:40.772Z",
"size": 149895,
"path": "../public/_nuxt/index.ZQUMEpGa.js"
},
"/_nuxt/logo-icon.fQ3LbI4i.png": {
"type": "image/png",
"etag": "\"8d1d-YZYdbCulYrGuoQi7QbaoOuzZCyY\"",
"mtime": "2025-09-08T09:13:08.595Z",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 36125,
"path": "../public/_nuxt/logo-icon.fQ3LbI4i.png"
},
"/_nuxt/masonry._szKs7Dv.js": {
"/_nuxt/masonry.EyNQ_Npj.js": {
"type": "application/javascript",
"etag": "\"5925-a1j2AoWZrhdJepDzbvz+Vx3nuTk\"",
"mtime": "2025-09-08T09:13:08.596Z",
"etag": "\"5925-PoxpMrrkA6WJpnDnfXlKLbCxEXo\"",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 22821,
"path": "../public/_nuxt/masonry._szKs7Dv.js"
"path": "../public/_nuxt/masonry.EyNQ_Npj.js"
},
"/_nuxt/no-discussion.k0-uWmju.png": {
"type": "image/png",
"etag": "\"2dea5-I8P5QXciTaBjL/JKCmPKRaVuijY\"",
"mtime": "2025-09-08T09:13:08.595Z",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 188069,
"path": "../public/_nuxt/no-discussion.k0-uWmju.png"
},
"/_nuxt/recommend-icon.0GP3eJC5.png": {
"type": "image/png",
"etag": "\"105a3-4ZeFoVCq90BCNhXGQ+Q7zAS8QXQ\"",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 66979,
"path": "../public/_nuxt/recommend-icon.0GP3eJC5.png"
},
"/_nuxt/rubbish-icon.u4wE_KJZ.svg": {
"type": "image/svg+xml",
"etag": "\"17e6-D1z+W/WQr2oe5tDQaenVnIoxvvY\"",
"mtime": "2025-09-08T09:13:08.595Z",
"mtime": "2025-11-19T06:22:40.766Z",
"size": 6118,
"path": "../public/_nuxt/rubbish-icon.u4wE_KJZ.svg"
},
"/_nuxt/tick-black.6t5CTRQZ.css": {
"/_nuxt/tick-black.eSqF89u6.css": {
"type": "text/css; charset=utf-8",
"etag": "\"2f14-l83LXm7KEIqppbfRL1R+8tjks+4\"",
"mtime": "2025-09-08T09:13:08.596Z",
"size": 12052,
"path": "../public/_nuxt/tick-black.6t5CTRQZ.css"
"etag": "\"2f1f-u1ziG/TDDINfillETlobT7KO7NQ\"",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 12063,
"path": "../public/_nuxt/tick-black.eSqF89u6.css"
},
"/_nuxt/tick-black.qZ0l0A8q.js": {
"/_nuxt/tick-black.wBgF_Q33.js": {
"type": "application/javascript",
"etag": "\"dddb-2PZyUB5eWI7ZEpdSyIc6XQpSKac\"",
"mtime": "2025-09-08T09:13:08.596Z",
"size": 56795,
"path": "../public/_nuxt/tick-black.qZ0l0A8q.js"
"etag": "\"ef1a-D9pUt8HNCvRW1FNoas03a9rjVSU\"",
"mtime": "2025-11-19T06:22:40.771Z",
"size": 61210,
"path": "../public/_nuxt/tick-black.wBgF_Q33.js"
},
"/_nuxt/vue.f36acd1f.RRpuWnMP.js": {
"/_nuxt/vue.f36acd1f.LhX-dNCo.js": {
"type": "application/javascript",
"etag": "\"18c-7kqcL8NLK2SVAibKYXR+TuvhO4I\"",
"mtime": "2025-09-08T09:13:08.596Z",
"size": 396,
"path": "../public/_nuxt/vue.f36acd1f.RRpuWnMP.js"
"etag": "\"18b-7sY8su9ExJEby30eLfzYB+HlK1I\"",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 395,
"path": "../public/_nuxt/vue.f36acd1f.LhX-dNCo.js"
},
"/_nuxt/_id_.l29g9WSR.css": {
"/_nuxt/_id_.5QHKCzGo.css": {
"type": "text/css; charset=utf-8",
"etag": "\"9585-Ya7L5uOE9xksFyiysQCJ9dMexd8\"",
"mtime": "2025-09-08T09:13:08.595Z",
"size": 38277,
"path": "../public/_nuxt/_id_.l29g9WSR.css"
"etag": "\"9631-WnmR7MUNHs2RnH/FNZac2H8TET8\"",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 38449,
"path": "../public/_nuxt/_id_.5QHKCzGo.css"
},
"/_nuxt/_id_.xXDVcd5M.js": {
"/_nuxt/_id_.sfwNbzEZ.js": {
"type": "application/javascript",
"etag": "\"172e8-wP5YvKEl1OLmCTBFXOQaOo+WboU\"",
"mtime": "2025-09-08T09:13:08.597Z",
"size": 94952,
"path": "../public/_nuxt/_id_.xXDVcd5M.js"
"etag": "\"15f23-LWkb+sUkuv+oEGm6OI85XD0JMes\"",
"mtime": "2025-11-19T06:22:40.771Z",
"size": 89891,
"path": "../public/_nuxt/_id_.sfwNbzEZ.js"
},
"/_nuxt/_plugin-vue_export-helper.x3n3nnut.js": {
"type": "application/javascript",
"etag": "\"5b-eFCz/UrraTh721pgAl0VxBNR1es\"",
"mtime": "2025-09-08T09:13:08.595Z",
"mtime": "2025-11-19T06:22:40.768Z",
"size": 91,
"path": "../public/_nuxt/_plugin-vue_export-helper.x3n3nnut.js"
},
"/_nuxt/builds/latest.json": {
"type": "application/json",
"etag": "\"47-J9SzqJPNtYgzeWkVBQiJJoQvi6Y\"",
"mtime": "2025-09-08T09:13:14.589Z",
"etag": "\"47-DBuEAnjOmYxMkOL36vSsS2VCFBA\"",
"mtime": "2025-11-19T06:22:45.028Z",
"size": 71,
"path": "../public/_nuxt/builds/latest.json"
},
"/_nuxt/builds/meta/5647ec10-bcce-49c6-9ad9-4b62d89c4e5e.json": {
"/_nuxt/builds/meta/c8c97d42-8838-497d-9888-ccc46f8e5444.json": {
"type": "application/json",
"etag": "\"8b-E35TTPTg9YZA1xOf9alahOZFkto\"",
"mtime": "2025-09-08T09:13:14.590Z",
"etag": "\"8b-PiBTB0RsbhVPCGWknvzYpaaNtRo\"",
"mtime": "2025-11-19T06:22:45.029Z",
"size": 139,
"path": "../public/_nuxt/builds/meta/5647ec10-bcce-49c6-9ad9-4b62d89c4e5e.json"
"path": "../public/_nuxt/builds/meta/c8c97d42-8838-497d-9888-ccc46f8e5444.json"
}
};