BasicLayout-6511eb6b.js 24 KB

1
  1. import{c as o,A as b,d as P,u as le,a as S,r as h,o as f,b as p,w as i,e as c,f as u,t as V,g as ae,h as d,i as x,_ as ee,j as B,P as oe,k as ie,l as ce,K as ue,m as L}from"./index-a3c67351.js";var se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M952 474H829.8C812.5 327.6 696.4 211.5 550 194.2V72c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v122.2C327.6 211.5 211.5 327.6 194.2 474H72c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h122.2C211.5 696.4 327.6 812.5 474 829.8V952c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V829.8C696.4 812.5 812.5 696.4 829.8 550H952c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM512 756c-134.8 0-244-109.2-244-244s109.2-244 244-244 244 109.2 244 244-109.2 244-244 244z"}},{tag:"path",attrs:{d:"M512 392c-32.1 0-62.1 12.4-84.8 35.2-22.7 22.7-35.2 52.7-35.2 84.8s12.5 62.1 35.2 84.8C449.9 619.4 480 632 512 632s62.1-12.5 84.8-35.2C619.4 574.1 632 544 632 512s-12.5-62.1-35.2-84.8A118.57 118.57 0 00512 392z"}}]},name:"aim",theme:"outlined"};const de=se;function N(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},r=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),r.forEach(function(l){fe(n,l,t[l])})}return n}function fe(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var w=function(e,t){var r=N({},e,t.attrs);return o(b,N({},r,{icon:de}),null)};w.displayName="AimOutlined";w.inheritAttrs=!1;const pe=w;var me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"};const ge=me;function Y(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},r=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),r.forEach(function(l){ve(n,l,t[l])})}return n}function ve(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var z=function(e,t){var r=Y({},e,t.attrs);return o(b,Y({},r,{icon:ge}),null)};z.displayName="BellOutlined";z.inheritAttrs=!1;const he=z;var be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M380 704h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8zm340-123a40 40 0 1080 0 40 40 0 10-80 0zm239-167.6L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM840 517v237H184V517l15.6-43h624.8l15.6 43zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM224 581a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"car",theme:"outlined"};const Oe=be;function E(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},r=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),r.forEach(function(l){ye(n,l,t[l])})}return n}function ye(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var j=function(e,t){var r=E({},e,t.attrs);return o(b,E({},r,{icon:Oe}),null)};j.displayName="CarOutlined";j.inheritAttrs=!1;const _e=j;var xe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"database",theme:"outlined"};const $e=xe;function U(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},r=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),r.forEach(function(l){Pe(n,l,t[l])})}return n}function Pe(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var C=function(e,t){var r=U({},e,t.attrs);return o(b,U({},r,{icon:$e}),null)};C.displayName="DatabaseOutlined";C.inheritAttrs=!1;const Se=C;var we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z"}}]},name:"desktop",theme:"outlined"};const ze=we;function I(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},r=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),r.forEach(function(l){je(n,l,t[l])})}return n}function je(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var H=function(e,t){var r=I({},e,t.attrs);return o(b,I({},r,{icon:ze}),null)};H.displayName="DesktopOutlined";H.inheritAttrs=!1;const Ce=H;var He={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm376 116c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216zm107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5zM761 656h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-23.1-31.9a7.92 7.92 0 00-6.5-3.3H573c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.9-5.3.1-12.7-6.4-12.7zM440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"file-done",theme:"outlined"};const Me=He;function R(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},r=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),r.forEach(function(l){De(n,l,t[l])})}return n}function De(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var M=function(e,t){var r=R({},e,t.attrs);return o(b,R({},r,{icon:Me}),null)};M.displayName="FileDoneOutlined";M.inheritAttrs=!1;const q=M;var Ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"};const Fe=Ae;function Q(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},r=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),r.forEach(function(l){Te(n,l,t[l])})}return n}function Te(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var D=function(e,t){var r=Q({},e,t.attrs);return o(b,Q({},r,{icon:Fe}),null)};D.displayName="FileTextOutlined";D.inheritAttrs=!1;const W=D;var ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"};const Ve=ke;function G(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},r=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),r.forEach(function(l){Be(n,l,t[l])})}return n}function Be(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var A=function(e,t){var r=G({},e,t.attrs);return o(b,G({},r,{icon:Ve}),null)};A.displayName="HomeOutlined";A.inheritAttrs=!1;const Le=A;var Ne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z"}}]},name:"logout",theme:"outlined"};const Ye=Ne;function J(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},r=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),r.forEach(function(l){Ee(n,l,t[l])})}return n}function Ee(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var F=function(e,t){var r=J({},e,t.attrs);return o(b,J({},r,{icon:Ye}),null)};F.displayName="LogoutOutlined";F.inheritAttrs=!1;const Ue=F;var Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z"}}]},name:"team",theme:"outlined"};const Re=Ie;function X(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},r=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),r.forEach(function(l){qe(n,l,t[l])})}return n}function qe(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var T=function(e,t){var r=X({},e,t.attrs);return o(b,X({},r,{icon:Re}),null)};T.displayName="TeamOutlined";T.inheritAttrs=!1;const Qe=T;var We={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"};const Ge=We;function Z(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},r=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),r.forEach(function(l){Je(n,l,t[l])})}return n}function Je(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var k=function(e,t){var r=Z({},e,t.attrs);return o(b,Z({},r,{icon:Ge}),null)};k.displayName="UserOutlined";k.inheritAttrs=!1;const te=k,Xe={style:{height:"100%",display:"flex","align-items":"center"}},Ze={style:{height:"25px",padding:"0px 13px 0px 19px",width:"126px",overflow:"hidden"}},Ke={style:{padding:"0px 16px",display:"flex",height:"100%","align-items":"center"}},et={style:{"margin-right":"30px"}},tt={style:{color:"initial"},href:"#/large-screen",target:"_blank"},nt={style:{"margin-right":"40px"}},rt={style:{"text-align":"right","margin-right":"14px","font-family":"PingFangSC, PingFang SC"}},lt={style:{"font-size":"14px",color:"#333333","font-weight":"bold"}},at={style:{"font-size":"12px",color:"#999999"}},ot=P({__name:"CusHeader",setup(n){const e=le(),t=S(),r=l=>{console.log(l),e.isLogin=!1,t.push("/login")};return(l,m)=>{const O=h("a-image"),g=h("a-avatar"),a=h("a-menu-item"),s=h("a-menu"),y=h("a-dropdown"),$=h("a-layout-header");return f(),p($,{style:{background:"#fff",padding:"0",height:"55px","line-height":"normal","border-bottom":"1px solid #eee"}},{default:i(()=>[c("div",Xe,[c("div",Ze,[o(O,{style:{"max-height":"100%",width:"auto"},height:"100%",preview:!1,src:"/static/images/logo.png"})]),m[2]||(m[2]=c("div",{style:{"font-size":"19px","font-weight":"bold","font-family":"'Microsoft YaHei', '微软雅黑', sans-serif"}},"驼人物联网平台",-1)),m[3]||(m[3]=c("div",{style:{"flex-grow":"1"}},null,-1)),c("div",Ke,[c("div",et,[c("a",tt,[o(u(Ce),{style:{"font-size":"20px"}})])]),c("div",nt,[o(u(he),{style:{"font-size":"20px"}})]),m[1]||(m[1]=c("div",{style:{width:"1px","background-color":"#ccc",height:"100%","margin-right":"20px"}},null,-1)),c("div",rt,[c("div",lt,[c("span",null,V(u(e).username),1)]),c("div",at,[c("span",null,V(u(e).mobile),1)])]),c("div",null,[o(y,{trigger:"click",placement:"bottomLeft"},{overlay:i(()=>[o(s,null,{default:i(()=>[o(a,{onClick:r},{icon:i(()=>[o(u(Ue))]),default:i(()=>[m[0]||(m[0]=c("span",null,"退出登录",-1))]),_:1})]),_:1})]),default:i(()=>[o(g,{size:35,style:{"background-color":"#1890ff"}},{icon:i(()=>[o(u(te))]),_:1})]),_:1})])])])]),_:1})}}}),it=P({__name:"CusMenu",props:["path"],setup(n){const e=n;ae(()=>e.path,(g,a)=>{console.log("menu watch",g,a);let s=g;g.includes("/"+d+"/device/detail")?s="/"+d+"/device":g.includes("/"+d+"/product/detail")?s="/"+d+"/product":g.includes("/"+d+"/product/common")?s="/"+d+"/product":g.includes("/"+d+"/user/detail")&&(s="/"+d+"/user"),l.value=[s]});const t=S(),r=x([]),l=x([]),m=x(!1),O=g=>{const a=g.key;console.log(a),t.push(a)};return(g,a)=>{const s=h("a-menu-item"),y=h("a-menu"),$=h("a-layout-sider");return f(),p($,{collapsed:m.value,"onUpdate:collapsed":a[2]||(a[2]=_=>m.value=_),trigger:null,collapsible:"",style:{"background-color":"#FAFAFA","border-right":"1px solid #eee"}},{default:i(()=>[o(y,{openKeys:r.value,"onUpdate:openKeys":a[0]||(a[0]=_=>r.value=_),selectedKeys:l.value,"onUpdate:selectedKeys":a[1]||(a[1]=_=>l.value=_),mode:"inline",onSelect:O},{default:i(()=>[a[13]||(a[13]=c("div",{style:{height:"12px"}},null,-1)),(f(),p(s,{key:"/"+u(d)+"/index"},{icon:i(()=>[o(u(Le))]),default:i(()=>[a[3]||(a[3]=c("span",null,"首页",-1))]),_:1})),a[14]||(a[14]=c("div",{style:{padding:"23px 0px 11px 20px","font-family":"PingFangSC, PingFang SC","font-weight":"400","font-size":"12px",color:"#939393","line-height":"17px","text-align":"justify","font-style":"normal"}},[c("span",null,"设备接入")],-1)),(f(),p(s,{key:"/"+u(d)+"/product"},{icon:i(()=>[o(u(q))]),default:i(()=>[a[4]||(a[4]=c("span",null,"产品",-1))]),_:1})),(f(),p(s,{key:"/"+u(d)+"/device"},{icon:i(()=>[o(u(_e))]),default:i(()=>[a[5]||(a[5]=c("span",null,"设备",-1))]),_:1})),(f(),p(s,{key:"/"+u(d)+"/device/log"},{icon:i(()=>[o(u(q))]),default:i(()=>[a[6]||(a[6]=c("span",null,"设备日志",-1))]),_:1})),a[15]||(a[15]=c("div",{style:{padding:"23px 0px 11px 20px","font-family":"PingFangSC, PingFang SC","font-weight":"400","font-size":"12px",color:"#939393","line-height":"17px","text-align":"justify","font-style":"normal"}},[c("span",null,"系统管理")],-1)),(f(),p(s,{key:"/"+u(d)+"/user"},{icon:i(()=>[o(u(te))]),default:i(()=>[a[7]||(a[7]=c("span",null,"用户管理",-1))]),_:1})),(f(),p(s,{key:"/"+u(d)+"/role"},{icon:i(()=>[o(u(Qe))]),default:i(()=>[a[8]||(a[8]=c("span",null,"角色管理",-1))]),_:1})),(f(),p(s,{key:"/"+u(d)+"/permission"},{icon:i(()=>[o(u(Se))]),default:i(()=>[a[9]||(a[9]=c("span",null,"资源管理",-1))]),_:1})),(f(),p(s,{key:"/"+u(d)+"/operate/log"},{icon:i(()=>[o(u(W))]),default:i(()=>[a[10]||(a[10]=c("span",null,"操作日志",-1))]),_:1})),(f(),p(s,{key:"/"+u(d)+"/station"},{icon:i(()=>[o(u(pe))]),default:i(()=>[a[11]||(a[11]=c("span",null,"基站管理",-1))]),_:1})),(f(),p(s,{key:"/"+u(d)+"/registered/log"},{icon:i(()=>[o(u(W))]),default:i(()=>[a[12]||(a[12]=c("span",null,"注册日志",-1))]),_:1}))]),_:1},8,["openKeys","selectedKeys"])]),_:1},8,["collapsed"])}}});const ct=ee(it,[["__scopeId","data-v-ed037dcb"]]);var ut={locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"};const st=ut;var dt={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]};const ne=dt;var re={lang:B({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},st),timePickerLocale:B({},ne)};re.lang.ok="确定";const K=re;var v="${label}不是一个有效的${type}",ft={locale:"zh-cn",Pagination:oe,DatePicker:K,TimePicker:ne,Calendar:K,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:v,method:v,array:v,object:v,number:v,date:v,boolean:v,integer:v,float:v,regexp:v,email:v,url:v,hex:v},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"}};const pt=ft,mt=P({__name:"BasicLayout",setup(n){const e=S(),t=x();return ie(()=>{console.log("layout mounted"),t.value=e.currentRoute.value.path}),ce(()=>{console.log("layout updated"),t.value=e.currentRoute.value.path}),(r,l)=>{const m=h("router-view"),O=h("a-config-provider"),g=h("a-layout-content"),a=h("a-layout");return f(),p(a,{style:{height:"100vh",overflow:"hidden"}},{default:i(()=>[o(u(ot)),o(a,{id:"components-layout"},{default:i(()=>[o(u(ct),{path:t.value},null,8,["path"]),o(a,{style:{"background-color":"#fff"}},{default:i(()=>[o(g,{class:"tr-content",style:{flex:"1","overflow-y":"auto","overflow-x":"hidden",background:"#fff"}},{default:i(()=>[o(O,{locale:u(pt)},{default:i(()=>[o(m,null,{default:i(({Component:s,route:y})=>[y.meta.keepAlive?(f(),p(ue,{key:0},[(f(),p(L(s)))],1024)):(f(),p(L(s),{key:1}))]),_:1})]),_:1},8,["locale"])]),_:1})]),_:1})]),_:1})]),_:1})}}});const vt=ee(mt,[["__scopeId","data-v-5c801f26"]]);export{vt as default};