first commit
This commit is contained in:
1
webs/vue761/static/js/403-1748b4aa.js
Normal file
1
webs/vue761/static/js/403-1748b4aa.js
Normal file
File diff suppressed because one or more lines are too long
1
webs/vue761/static/js/404-e7df62c2.js
Normal file
1
webs/vue761/static/js/404-e7df62c2.js
Normal file
File diff suppressed because one or more lines are too long
1
webs/vue761/static/js/500-d170aff0.js
Normal file
1
webs/vue761/static/js/500-d170aff0.js
Normal file
File diff suppressed because one or more lines are too long
2
webs/vue761/static/js/APN-f88518cb.js
Normal file
2
webs/vue761/static/js/APN-f88518cb.js
Normal file
File diff suppressed because one or more lines are too long
1
webs/vue761/static/js/AT-8aa8be1f.js
Normal file
1
webs/vue761/static/js/AT-8aa8be1f.js
Normal file
File diff suppressed because one or more lines are too long
1
webs/vue761/static/js/Band-cd8112db.js
Normal file
1
webs/vue761/static/js/Band-cd8112db.js
Normal file
File diff suppressed because one or more lines are too long
1
webs/vue761/static/js/DataPlan-520fdf52.js
Normal file
1
webs/vue761/static/js/DataPlan-520fdf52.js
Normal file
File diff suppressed because one or more lines are too long
1
webs/vue761/static/js/Line-a64496a4.js
Normal file
1
webs/vue761/static/js/Line-a64496a4.js
Normal file
@@ -0,0 +1 @@
|
||||
import{_ as o}from"./Line.vue_vue_type_script_setup_true_lang-dc4534b9.js";import"./app-803627bb.js";import"./index-4789ca0a.js";export{o as default};
|
||||
@@ -0,0 +1 @@
|
||||
import{u}from"./app-803627bb.js";import{d as f,as as d,p as h,n as y,bj as x,U as r,o as b,c as g,bk as k}from"./index-4789ca0a.js";const D=f({__name:"Line",props:{up:{},down:{},time:{}},setup(i){const o=i,{isDark:s}=d(),l=h(()=>s.value?"dark":"default"),n=y(null),{setOptions:c,getInstance:m,resize:p}=x(n,{theme:l});return c({tooltip:{trigger:"axis",axisPointer:{type:"shadow"},formatter:function(e){var t=e[0].name+"<br>";return e.forEach(function(a){t+=a.seriesName+": "+a.value+" KB<br>"}),t}},grid:{bottom:"20px",right:"10px"},legend:{right:!0,data:["上传","下载"]},calculable:!0,animation:!0,animationDuration:1e3,animationEasing:"cubicOut",animationDelay:200,xAxis:[{triggerEvent:!0,type:"category",splitLine:{show:!1},axisTick:{show:!1},data:[]}],yAxis:[{triggerEvent:!0,type:"value",splitLine:{show:!1},axisLabel:{margin:5},axisLine:{show:!0}}],dataZoom:[{type:"slider",show:!1,realtime:!0,startValue:0,endValue:24}],series:[{name:"上传",type:"line",symbolSize:10,symbol:"circle",color:"#53a7ff",smooth:!0,markPoint:{label:{color:"#fff"},data:[{type:"max",name:"最大值"},{type:"min",name:"最小值"}]},data:[]},{name:"下载",type:"line",symbolSize:10,symbol:"circle",color:"#f56c6c",smooth:!0,markPoint:{label:{color:"#fff"},data:[{type:"max",name:"最大值"},{type:"min",name:"最小值"}]},data:[]}],addTooltip:!0},{name:"click",callback:e=>{}},{name:"contextmenu",callback:e=>{}},{type:"zrender",name:"click",callback:e=>{}}),r(()=>u().getSidebarStatus,()=>{k(600).then(()=>p())}),r([o.time,o.up,o.down],e=>{const t=m(),a={xAxis:[{data:e[0]}],series:[{data:e[1]},{data:e[2]}]};t.setOption(a)}),(e,t)=>(b(),g("div",{ref_key:"lineChartRef",ref:n,style:{width:"100%",height:"35vh"}},null,512))}});export{D as _};
|
||||
1
webs/vue761/static/js/Other-77d356cb.js
Normal file
1
webs/vue761/static/js/Other-77d356cb.js
Normal file
File diff suppressed because one or more lines are too long
1
webs/vue761/static/js/Pie-43b5fa14.js
Normal file
1
webs/vue761/static/js/Pie-43b5fa14.js
Normal file
@@ -0,0 +1 @@
|
||||
import{_ as o}from"./Pie.vue_vue_type_script_setup_true_lang-3d154c5f.js";import"./app-803627bb.js";import"./index-4789ca0a.js";import"./fun-3edebd8d.js";export{o as default};
|
||||
@@ -0,0 +1 @@
|
||||
import{u as I}from"./app-803627bb.js";import{d as _,as as w,p as S,n as B,bj as U,U as z,P as C,o as E,c as F,bk as O}from"./index-4789ca0a.js";import{c as D,a as p}from"./fun-3edebd8d.js";const H=_({__name:"Pie",props:{unit:{},size:{},percent:{},Enable:{},Used:{},Used_time:{}},setup(h){const u=h,{isDark:g}=w(),m=S(()=>g.value?"dark":"light"),l=B(null),{setOptions:f,getInstance:v,resize:x}=U(l,{theme:m});return f({tooltip:{trigger:"item"},legend:{icon:"circle",right:!0},series:[{name:"流量统计",type:"pie",top:"20%",radius:"80%",center:["50%","50%"],color:["#e6a23c","#53a7ff","#f56c6c"],data:[{value:0,name:"已使用"},{value:0,name:"未使用"},{value:0,name:"提醒值"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},{name:"click",callback:i=>{}},{type:"zrender",name:"click",callback:i=>{}}),z(()=>I().getSidebarStatus,()=>{O(600).then(()=>x())}),C(()=>{let i,a,o,n,{unit:c,size:r,percent:s,Enable:y,Used:b,Used_time:k}=u;if(y=="0")return;c=="data"?(n=b,r=D(r).toString(),i=(parseInt(r)*.02).toString(),a=(parseInt(r)*(parseInt(s)/100)).toString(),o=parseInt(r)-parseInt(n)):(n=parseInt(k)/3600,i=(parseInt(r)*.02).toString(),a=(parseInt(r)*(parseInt(s)/100)).toString(),o=parseInt(r)-parseInt(n));const d=v(),$={tooltip:{trigger:"item",formatter:function(e){var t=`${e.name}`;if(c=="data")e.name==="提醒值"?(t+=`<div style="display: flex; align-items: center;"><div style="width: 10px; height: 10px; background-color: ${e.color}; border-radius: 50%; margin-right: 5px;"></div>`,t+=`${p(a)} (${s}%)`):(t+=`<div style="display: flex; align-items: center;"><div style="width: 10px; height: 10px; background-color: ${e.color}; border-radius: 50%; margin-right: 5px;"></div>`,t+=`${p(e.value)} (${e.percent}%)`);else if(e.name==="提醒值"){t+=`<div style="display: flex; align-items: center;"><div style="width: 10px; height: 10px; background-color: ${e.color}; border-radius: 50%; margin-right: 5px;"></div>`;try{t+=`${parseInt(a).toFixed(2)}h (${s}%)`}catch{t+=`${a}h (${s}%)`}}else t+=`<div style="display: flex; align-items: center;"><div style="width: 10px; height: 10px; background-color: ${e.color}; border-radius: 50%; margin-right: 5px;"></div>`,t+=`${e.value.toFixed(2)}h (${e.percent.toFixed(2)}%)`;return t}},series:[{data:[{value:n,name:"已使用"},{value:o,name:"未使用"},{value:i,name:"提醒值"}]}]};d&&d.setOption($)}),(i,a)=>(E(),F("div",{ref_key:"pieChartRef",ref:l,style:{width:"100%",height:"35vh"}},null,512))}});export{H as _};
|
||||
1
webs/vue761/static/js/WifiBand-e88f78c8.js
Normal file
1
webs/vue761/static/js/WifiBand-e88f78c8.js
Normal file
File diff suppressed because one or more lines are too long
1
webs/vue761/static/js/app-803627bb.js
Normal file
1
webs/vue761/static/js/app-803627bb.js
Normal file
@@ -0,0 +1 @@
|
||||
import{l as r,a7 as a,a8 as i,m as o,$ as u,s as d}from"./index-4789ca0a.js";const n=r({id:"pure-app",state:()=>{var e,t;return{sidebar:{opened:((e=a().getItem(`${i()}layout`))==null?void 0:e.sidebarStatus)??o().SidebarStatus,withoutAnimation:!1,isClickCollapse:!1},layout:((t=a().getItem(`${i()}layout`))==null?void 0:t.layout)??o().Layout,device:u()?"mobile":"desktop"}},getters:{getSidebarStatus(e){return e.sidebar.opened},getDevice(e){return e.device}},actions:{TOGGLE_SIDEBAR(e,t){const s=a().getItem(`${i()}layout`);e&&t?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!0,s.sidebarStatus=!0):!e&&t?(this.sidebar.withoutAnimation=!0,this.sidebar.opened=!1,s.sidebarStatus=!1):!e&&!t&&(this.sidebar.withoutAnimation=!1,this.sidebar.opened=!this.sidebar.opened,this.sidebar.isClickCollapse=!this.sidebar.opened,s.sidebarStatus=this.sidebar.opened),a().setItem(`${i()}layout`,s)},async toggleSideBar(e,t){await this.TOGGLE_SIDEBAR(e,t)},toggleDevice(e){this.device=e},setLayout(e){this.layout=e}}});function p(){return n(d)}export{p as u};
|
||||
91
webs/vue761/static/js/dark-2f78cd7b.js
Normal file
91
webs/vue761/static/js/dark-2f78cd7b.js
Normal file
File diff suppressed because one or more lines are too long
1
webs/vue761/static/js/el-message-box-ecaf3f80.js
Normal file
1
webs/vue761/static/js/el-message-box-ecaf3f80.js
Normal file
File diff suppressed because one or more lines are too long
1
webs/vue761/static/js/frameView-15e277ee.js
Normal file
1
webs/vue761/static/js/frameView-15e277ee.js
Normal file
@@ -0,0 +1 @@
|
||||
import{d as u,n as o,Y as v,f as a,t as p,b as g,w as h,o as w,c as x,g as V,J as k,_ as R}from"./index-4789ca0a.js";const y={class:"frame","element-loading-text":"加载中..."},B=["src"],E=u({name:"FrameView",__name:"frameView",setup(S){var f,_,l;const r=o(!0),t=v(),c=o(""),i=o(null);(f=a(t.meta))!=null&&f.frameSrc&&(c.value=(_=a(t.meta))==null?void 0:_.frameSrc),((l=a(t.meta))==null?void 0:l.frameLoading)===!1&&n();function n(){r.value=!1}function m(){k(()=>{const e=a(i);if(!e)return;const s=e;s.attachEvent?s.attachEvent("onload",()=>{n()}):e.onload=()=>{n()}})}return p(()=>{m()}),(e,s)=>{const d=g("loading");return h((w(),x("div",y,[V("iframe",{src:c.value,class:"frame-iframe",ref_key:"frameRef",ref:i},null,8,B)])),[[d,r.value]])}}});const L=R(E,[["__scopeId","data-v-d038a369"]]);export{L as default};
|
||||
1
webs/vue761/static/js/fun-3edebd8d.js
Normal file
1
webs/vue761/static/js/fun-3edebd8d.js
Normal file
@@ -0,0 +1 @@
|
||||
const o=e=>{let r=new Date(e*1e3),s=r.getUTCHours().toString().padStart(2,"0"),t=r.getUTCMinutes().toString().padStart(2,"0"),n=r.getUTCSeconds().toString().padStart(2,"0");return`${s}:${t}:${n}`},c=e=>{const[r,s]=e.split("_"),t=parseInt(r);switch(s){case"1":return`${t}MB`;case"1024":return`${t}GB`;case"1048576":return`${t}TB`;default:return`${t}`}},u=e=>{if(!e)return"";const r=/(\d+)(\w+)/,s=e.match(r);if(!s||s.length!==3)return e;const t=parseInt(s[1]),n=s[2];let a=0;switch(n){case"MB":a=1;break;case"GB":a=1024;break;case"TB":a=1048576;break;default:return e}return`${t}_${a}`},l=e=>(e/1024).toFixed(2),i=e=>{if(!e)return"0 B";let r=parseFloat(e);const s=["B","KB","MB","GB","TB"];let t=0;for(;r>=1024&&t<s.length-1;)r/=1024,t++;return`${r.toFixed(2)} ${s[t]}`},B=e=>{let r={TB:1099511627776,GB:1073741824,MB:1048576,KB:1024,B:1},s=/^(\d+(?:\.\d+)?)\s*(\w+)$/i,t=e.match(s);if(!t)return 0;let n=parseFloat(t[1]),a=t[2].toUpperCase();return r[a]?n*r[a]:0};export{i as a,o as b,B as c,l as d,u as e,c as f};
|
||||
1
webs/vue761/static/js/iframe-4052e7f5.js
Normal file
1
webs/vue761/static/js/iframe-4052e7f5.js
Normal file
@@ -0,0 +1 @@
|
||||
import{d as t,n as r,t as o,Y as f,o as _,c,g as n,f as m,_ as u}from"./index-4789ca0a.js";const l={class:"frame"},d=["src"],i=t({name:"Yiframe",__name:"iframe",setup(p){let e=r("");return o(()=>{const a=f(),s=r(a.query.url);e.value=s.value}),(a,s)=>(_(),c("div",l,[n("iframe",{src:m(e),class:"frame-iframe",ref:"frameRef"},null,8,d)]))}});const x=u(i,[["__scopeId","data-v-b4ff0d6f"]]);export{x as default};
|
||||
1
webs/vue761/static/js/index-296c76cc.js
Normal file
1
webs/vue761/static/js/index-296c76cc.js
Normal file
File diff suppressed because one or more lines are too long
1
webs/vue761/static/js/index-3803e010.js
Normal file
1
webs/vue761/static/js/index-3803e010.js
Normal file
File diff suppressed because one or more lines are too long
1
webs/vue761/static/js/index-4240c5de.js
Normal file
1
webs/vue761/static/js/index-4240c5de.js
Normal file
File diff suppressed because one or more lines are too long
122
webs/vue761/static/js/index-4789ca0a.js
Normal file
122
webs/vue761/static/js/index-4789ca0a.js
Normal file
File diff suppressed because one or more lines are too long
1
webs/vue761/static/js/index-5bf01742.js
Normal file
1
webs/vue761/static/js/index-5bf01742.js
Normal file
File diff suppressed because one or more lines are too long
1
webs/vue761/static/js/index-77a971e1.js
Normal file
1
webs/vue761/static/js/index-77a971e1.js
Normal file
File diff suppressed because one or more lines are too long
10
webs/vue761/static/js/index-c54c197b.js
Normal file
10
webs/vue761/static/js/index-c54c197b.js
Normal file
File diff suppressed because one or more lines are too long
1
webs/vue761/static/js/list-7bc7854f.js
Normal file
1
webs/vue761/static/js/list-7bc7854f.js
Normal file
@@ -0,0 +1 @@
|
||||
import{T as h}from"./index-296c76cc.js";import{d as w,n as i,t as g,M as x,r as a,b as _,o as l,c as I,e,j as o,w as p,i as d,f as n}from"./index-4789ca0a.js";const M=w({name:"connect",__name:"list",setup(k){let s=i(),c=i(!0);return g(()=>{x("cmd=station_list",!0).then(r=>{c.value=!1,s.value=r.station_list})}),(r,B)=>{const t=a("el-table-column"),m=a("el-table"),u=a("el-card"),f=a("el-col"),v=a("el-row"),b=_("loading"),y=_("motion");return l(),I("div",null,[e(v,{gutter:24},{default:o(()=>[p((l(),d(f,{xs:24,sm:24,md:24,lg:24,xl:24,class:"mb-[5px]",initial:{opacity:0,y:100},enter:{opacity:1,y:0,transition:{delay:200}}},{default:o(()=>[p((l(),d(u,{shadow:"never"},{header:o(()=>[e(n(h),{className:"type-it1",values:["WIFI连接列表"],cursor:!1,speed:60})]),default:o(()=>[e(m,{data:n(s),style:{width:"100%"}},{default:o(()=>[e(t,{prop:"ip_addr",label:"IP地址"}),e(t,{prop:"hostname",label:"主机名","default-value":"未知"}),e(t,{prop:"mac_addr",label:"Mac地址"}),e(t,{prop:"dev_type",label:"接入方式"}),e(t,{prop:"ip_type",label:"IP分配"})]),_:1},8,["data"])]),_:1})),[[b,n(c)]])]),_:1})),[[y]])]),_:1})])}}});export{M as default};
|
||||
1
webs/vue761/static/js/redirect-006b572e.js
Normal file
1
webs/vue761/static/js/redirect-006b572e.js
Normal file
@@ -0,0 +1 @@
|
||||
import{d as c,u as s,f as p,c as u,o as _}from"./index-4789ca0a.js";const l=c({name:"Redirect",__name:"redirect",setup(i){const{currentRoute:r,replace:t}=s(),{params:a,query:n}=p(r),{path:e}=a,o=Array.isArray(e)?e.join("/"):e;return t({path:"/"+o,query:n}),(m,d)=>(_(),u("div"))}});export{l as default};
|
||||
1
webs/vue761/static/js/route-4999269c.js
Normal file
1
webs/vue761/static/js/route-4999269c.js
Normal file
File diff suppressed because one or more lines are too long
1
webs/vue761/static/js/sms-33fff586.js
Normal file
1
webs/vue761/static/js/sms-33fff586.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user