| 1 |
- import{c as r,A as b,d as S,u as te,a as w,r as _,o as m,b as h,w as o,e as c,f as i,t as A,g as ne,h as f,i as x,E as ae,p as le,j as re,_ as Z,k as T,P as oe,l as ce,m as ie,n as se,q as ue,K as de,s as B}from"./index-bed2942a.js";import{S as pe}from"./SettingOutlined-bde5cbae.js";var fe={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 me=fe;function V(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},a=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),a.forEach(function(l){he(n,l,t[l])})}return n}function he(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 a=V({},e,t.attrs);return r(b,V({},a,{icon:me}),null)};j.displayName="BellOutlined";j.inheritAttrs=!1;const ge=j;var _e={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 ve=_e;function E(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},a=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),a.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 M=function(e,t){var a=E({},e,t.attrs);return r(b,E({},a,{icon:ve}),null)};M.displayName="CarOutlined";M.inheritAttrs=!1;const ye=M;var Oe={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 $e=Oe;function N(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},a=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),a.forEach(function(l){xe(n,l,t[l])})}return n}function xe(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var Y=function(e,t){var a=N({},e,t.attrs);return r(b,N({},a,{icon:$e}),null)};Y.displayName="DesktopOutlined";Y.inheritAttrs=!1;const Pe=Y;var Se={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 we=Se;function U(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},a=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),a.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 C=function(e,t){var a=U({},e,t.attrs);return r(b,U({},a,{icon:we}),null)};C.displayName="FileDoneOutlined";C.inheritAttrs=!1;const I=C;var Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M841 370c3-3.3 2.7-8.3-.6-11.3a8.24 8.24 0 00-5.3-2.1h-72.6c-2.4 0-4.6 1-6.1 2.8L633.5 504.6a7.96 7.96 0 01-13.4-1.9l-63.5-141.3a7.9 7.9 0 00-7.3-4.7H380.7l.9-4.7 8-42.3c10.5-55.4 38-81.4 85.8-81.4 18.6 0 35.5 1.7 48.8 4.7l14.1-66.8c-22.6-4.7-35.2-6.1-54.9-6.1-103.3 0-156.4 44.3-175.9 147.3l-9.4 49.4h-97.6c-3.8 0-7.1 2.7-7.8 6.4L181.9 415a8.07 8.07 0 007.8 9.7H284l-89 429.9a8.07 8.07 0 007.8 9.7H269c3.8 0 7.1-2.7 7.8-6.4l89.7-433.1h135.8l68.2 139.1c1.4 2.9 1 6.4-1.2 8.8l-180.6 203c-2.9 3.3-2.6 8.4.7 11.3 1.5 1.3 3.4 2 5.3 2h72.7c2.4 0 4.6-1 6.1-2.8l123.7-146.7c2.8-3.4 7.9-3.8 11.3-1 .9.8 1.6 1.7 2.1 2.8L676.4 784c1.3 2.8 4.1 4.7 7.3 4.7h64.6a8.02 8.02 0 007.2-11.5l-95.2-198.9c-1.4-2.9-.9-6.4 1.3-8.8L841 370z"}}]},name:"function",theme:"outlined"};const Ye=Me;function q(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},a=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),a.forEach(function(l){Ce(n,l,t[l])})}return n}function Ce(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 a=q({},e,t.attrs);return r(b,q({},a,{icon:Ye}),null)};z.displayName="FunctionOutlined";z.inheritAttrs=!1;const ze=z;var He={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 De=He;function R(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},a=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),a.forEach(function(l){Le(n,l,t[l])})}return n}function Le(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 a=R({},e,t.attrs);return r(b,R({},a,{icon:De}),null)};H.displayName="HomeOutlined";H.inheritAttrs=!1;const ke=H;var Fe={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 Ae=Fe;function W(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},a=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),a.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 a=W({},e,t.attrs);return r(b,W({},a,{icon:Ae}),null)};D.displayName="LogoutOutlined";D.inheritAttrs=!1;const Be=D;var Ve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M442.3 677.6l199.4-156.7a11.3 11.3 0 000-17.7L442.3 346.4c-7.4-5.8-18.3-.6-18.3 8.8v313.5c0 9.4 10.9 14.7 18.3 8.9z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"play-square",theme:"outlined"};const Ee=Ve;function G(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},a=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),a.forEach(function(l){Ne(n,l,t[l])})}return n}function Ne(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}var L=function(e,t){var a=G({},e,t.attrs);return r(b,G({},a,{icon:Ee}),null)};L.displayName="PlaySquareOutlined";L.inheritAttrs=!1;const Ue=L;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 qe=Ie;function Q(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},a=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),a.forEach(function(l){Re(n,l,t[l])})}return n}function Re(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 a=Q({},e,t.attrs);return r(b,Q({},a,{icon:qe}),null)};k.displayName="TeamOutlined";k.inheritAttrs=!1;const We=k;var Ge={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 Qe=Ge;function J(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},a=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(a=a.concat(Object.getOwnPropertySymbols(t).filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable}))),a.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 F=function(e,t){var a=J({},e,t.attrs);return r(b,J({},a,{icon:Qe}),null)};F.displayName="UserOutlined";F.inheritAttrs=!1;const Xe=F,Ze={style:{height:"100%",display:"flex","align-items":"center"}},Ke={style:{height:"25px",padding:"0px 13px 0px 19px",width:"126px",overflow:"hidden"}},et=c("div",{style:{"font-size":"19px","font-weight":"bold","font-family":"'Microsoft YaHei', '微软雅黑', sans-serif"}},"网络泵终端数据处理系统",-1),tt=c("div",{style:{"flex-grow":"1"}},null,-1),nt={style:{padding:"0px 16px",display:"flex",height:"100%","align-items":"center"}},at={style:{"margin-right":"30px"}},lt={style:{color:"initial"},href:"#/large-screen",target:"_blank"},rt={style:{"margin-right":"40px"}},ot=c("div",{style:{width:"1px","background-color":"#ccc",height:"100%","margin-right":"20px"}},null,-1),ct={style:{"text-align":"right","margin-right":"14px","font-family":"PingFangSC, PingFang SC"}},it={style:{"font-size":"14px",color:"#333333","font-weight":"bold"}},st={style:{"font-size":"12px",color:"#999999"}},ut=c("span",null,"退出登录",-1),dt=S({__name:"CusHeader",setup(n){const e=te(),t=w(),a=l=>{console.log(l),t.push("/login")};return(l,y)=>{const d=_("a-image"),p=_("a-avatar"),s=_("a-menu-item"),u=_("a-menu"),O=_("a-dropdown"),P=_("a-layout-header");return m(),h(P,{style:{background:"#fff",padding:"0",height:"55px","line-height":"normal","border-bottom":"1px solid #eee"}},{default:o(()=>[c("div",Ze,[c("div",Ke,[r(d,{style:{"max-height":"100%",width:"auto"},height:"100%",preview:!1,src:"/static/images/logo.png"})]),et,tt,c("div",nt,[c("div",at,[c("a",lt,[r(i(Pe),{style:{"font-size":"20px"}})])]),c("div",rt,[r(i(ge),{style:{"font-size":"20px"}})]),ot,c("div",ct,[c("div",it,[c("span",null,A(i(e).username),1)]),c("div",st,[c("span",null,A(i(e).mobile),1)])]),c("div",null,[r(O,{trigger:"click",placement:"bottomLeft"},{overlay:o(()=>[r(u,null,{default:o(()=>[r(s,{onClick:a},{icon:o(()=>[r(i(Be))]),default:o(()=>[ut]),_:1})]),_:1})]),default:o(()=>[r(p,{size:35,style:{"background-color":"#1890ff"}},{icon:o(()=>[r(i(Xe))]),_:1})]),_:1})])])])]),_:1})}}}),v=n=>(le("data-v-a6b1b5c5"),n=n(),re(),n),pt=v(()=>c("div",{style:{height:"12px"}},null,-1)),ft=v(()=>c("span",null,"首页",-1)),mt=v(()=>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)),ht=v(()=>c("span",null,"产品",-1)),gt=v(()=>c("span",null,"设备",-1)),_t=v(()=>c("span",null,"设备日志",-1)),vt=v(()=>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)),bt=v(()=>c("span",null,"日志监控",-1)),yt=v(()=>c("span",null,"脚本管理",-1)),Ot=v(()=>c("span",null,"错误日志",-1)),$t=v(()=>c("span",null,"修改密码",-1)),xt=v(()=>c("span",null,"关于我们",-1)),Pt=S({__name:"CusMenu",props:["path"],setup(n){const e=n;ne(()=>e.path,(p,s)=>{console.log("menu watch",p,s);let u=p;p.includes("/"+f+"/device/detail")?u="/"+f+"/device":p.includes("/"+f+"/product/detail")?u="/"+f+"/product":p.includes("/"+f+"/product/common")&&(u="/"+f+"/product"),l.value=[u]});const t=w(),a=x([]),l=x([]),y=x(!1),d=p=>{const s=p.key;console.log(s),t.push(s)};return(p,s)=>{const u=_("a-menu-item"),O=_("a-menu"),P=_("a-layout-sider");return m(),h(P,{collapsed:y.value,"onUpdate:collapsed":s[2]||(s[2]=$=>y.value=$),trigger:null,collapsible:"",style:{"background-color":"#FAFAFA","border-right":"1px solid #eee"}},{default:o(()=>[r(O,{style:{height:"100%"},openKeys:a.value,"onUpdate:openKeys":s[0]||(s[0]=$=>a.value=$),selectedKeys:l.value,"onUpdate:selectedKeys":s[1]||(s[1]=$=>l.value=$),mode:"inline",onSelect:d},{default:o(()=>[pt,(m(),h(u,{key:"/"+i(f)},{icon:o(()=>[r(i(ke))]),default:o(()=>[ft]),_:1})),mt,(m(),h(u,{key:"/"+i(f)+"/product"},{icon:o(()=>[r(i(I))]),default:o(()=>[ht]),_:1})),(m(),h(u,{key:"/"+i(f)+"/device"},{icon:o(()=>[r(i(ye))]),default:o(()=>[gt]),_:1})),(m(),h(u,{key:"/"+i(f)+"/device/log"},{icon:o(()=>[r(i(I))]),default:o(()=>[_t]),_:1})),vt,(m(),h(u,{key:"/"+i(f)+"/data/log"},{icon:o(()=>[r(i(Ue))]),default:o(()=>[bt]),_:1})),(m(),h(u,{key:"/"+i(f)+"/script"},{icon:o(()=>[r(i(ze))]),default:o(()=>[yt]),_:1})),(m(),h(u,{key:"/"+i(f)+"/error/log"},{icon:o(()=>[r(i(ae))]),default:o(()=>[Ot]),_:1})),(m(),h(u,{key:"/"+i(f)+"/setting/changepassword"},{icon:o(()=>[r(i(pe))]),default:o(()=>[$t]),_:1})),(m(),h(u,{key:"/"+i(f)+"/about"},{icon:o(()=>[r(i(We))]),default:o(()=>[xt]),_:1}))]),_:1},8,["openKeys","selectedKeys"])]),_:1},8,["collapsed"])}}});const St=Z(Pt,[["__scopeId","data-v-a6b1b5c5"]]);var wt={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 jt=wt;var Mt={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]};const K=Mt;var ee={lang:T({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},jt),timePickerLocale:T({},K)};ee.lang.ok="确定";const X=ee;var g="${label}不是一个有效的${type}",Yt={locale:"zh-cn",Pagination:oe,DatePicker:X,TimePicker:K,Calendar:X,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:g,method:g,array:g,object:g,number:g,date:g,boolean:g,integer:g,float:g,regexp:g,email:g,url:g,hex:g},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 Ct=Yt;var zt={exports:{}};(function(n,e){(function(t,a){n.exports=a(ce)})(ie,function(t){function a(d){return d&&typeof d=="object"&&"default"in d?d:{default:d}}var l=a(t),y={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(d,p){return p==="W"?d+"周":d+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(d,p){var s=100*d+p;return s<600?"凌晨":s<900?"早上":s<1100?"上午":s<1300?"中午":s<1800?"下午":"晚上"}};return l.default.locale(y,null,!0),y})})(zt);const Ht=S({__name:"BasicLayout",setup(n){const e=w(),t=x();return se(()=>{console.log("layout mounted"),t.value=e.currentRoute.value.path}),ue(()=>{console.log("layout updated"),t.value=e.currentRoute.value.path}),(a,l)=>{const y=_("router-view"),d=_("a-config-provider"),p=_("a-layout-content"),s=_("a-layout");return m(),h(s,{style:{height:"100vh",overflow:"hidden"}},{default:o(()=>[r(i(dt)),r(s,{id:"components-layout"},{default:o(()=>[r(i(St),{path:t.value},null,8,["path"]),r(s,{style:{"background-color":"#fff"}},{default:o(()=>[r(p,{class:"tr-content",style:{flex:"1","overflow-y":"auto","overflow-x":"hidden",background:"#fff"}},{default:o(()=>[r(d,{locale:i(Ct)},{default:o(()=>[r(y,null,{default:o(({Component:u,route:O})=>[O.meta.keepAlive?(m(),h(de,{key:0},[(m(),h(B(u)))],1024)):(m(),h(B(u),{key:1}))]),_:1})]),_:1},8,["locale"])]),_:1})]),_:1})]),_:1})]),_:1})}}});const kt=Z(Ht,[["__scopeId","data-v-619364e1"]]);export{kt as default};
|