Files
aiot-platform-ui/apps/web-antd/dist/js/index-Cm1dW55Z.js

3 lines
13 KiB
JavaScript
Raw Normal View History

2026-04-07 23:09:46 +08:00
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/index-nazUBhj_.js","js/bootstrap-LRVGLqq_.js","jse/index-index-NearNHEt.js","css/bootstrap-DJvdVnru.css","js/index-CkjANQDE.js"])))=>i.map(i=>d[i]);
var xe=Object.defineProperty,Oe=Object.defineProperties;var Pe=Object.getOwnPropertyDescriptors;var ve=Object.getOwnPropertySymbols;var $e=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable;var me=(f,n,o)=>n in f?xe(f,n,{enumerable:!0,configurable:!0,writable:!0,value:o}):f[n]=o,fe=(f,n)=>{for(var o in n||(n={}))$e.call(n,o)&&me(f,o,n[o]);if(ve)for(var o of ve(n))je.call(n,o)&&me(f,o,n[o]);return f},pe=(f,n)=>Oe(f,Pe(n));var p=(f,n,o)=>new Promise((A,L)=>{var g=S=>{try{h(o.next(S))}catch(N){L(N)}},w=S=>{try{h(o.throw(S))}catch(N){L(N)}},h=S=>S.done?A(S.value):Promise.resolve(S.value).then(g,w);h((o=o.apply(f,n)).next())});import{m as Ve,b9 as c,cf as R,aa as x,w as Ke,v as He,aW as ze,ab as I,b2 as i,bJ as d,ae as t,j as r,u as s,ad as v,I as ee,bb as ye,ac as E,bp as u,ai as Y,aR as K,cT as _e,aT as ge,bW as O}from"../jse/index-index-NearNHEt.js";import{au as Ge,bQ as he,D as Ue,ay as H,an as ae,S as We,bZ as Se,b_ as z,bu as be,az as Te,ax as Je,ac as Qe}from"./bootstrap-LRVGLqq_.js";import{f as Fe,L as ke,a as Xe,g as Me}from"./data-DcmDNjV_.js";import Ze from"./area-stay-chart-DtgqtTZX.js";import{e as qe,T as ea}from"./trajectory-gantt-area-kJP8Psxe.js";import aa from"./badge-status-card-5OGPnBxx.js";import ta from"./stats-cards-CRfNZNHU.js";import la from"./trend-chart-CxB8EdQD.js";import{_ as sa}from"./page.vue_vue_type_script_setup_true_lang-BOJZ0VTf.js";import"./use-echarts-Dug0Cz6_.js";import"./index-BE_nvmAp.js";import"./relativeTime-BZ98P6N-.js";import"./zh-cn-BrnvNhqm.js";const na={class:"trajectory-page"},oa={class:"filter-bar"},ia={class:"filter-item"},ra={class:"badge-option"},da={class:"badge-option-name"},ua={key:0,class:"badge-option-person"},ca={class:"filter-item"},va={class:"filter-actions"},ma={class:"detail-card bg-card"},fa={class:"detail-card-header"},pa={class:"detail-card-title"},ya={class:"table-total"},_a={class:"view-switcher"},ga={key:1},ha={class:"table-wrapper"},Sa={class:"trajectory-table"},ba={key:0,style:{width:"120px"}},Ta={key:0},ka=["colspan"],Ma={class:"cell-center"},Ra={key:0},Ia={class:"cell-center"},Aa={key:1},Da={class:"cell-center"},Ea={key:1},Ya={class:"cell-center"},La={key:1},wa={key:0,class:"table-pagination"},Na={class:"pagination-info"},Ca={class:"pagination-buttons"},Ba={class:"page-num"},te=!1,xa=10*1e3,Oa=5*60*1e3,Pa=Ve({name:"OpsTrajectory",__name:"index",setup(f){const n=c(void 0),o=c(R()),A=c([]),L=c(!1),g=c(!1),w=c(null),h=c([]),S=c(null),N=c([]),le=c([]),y=c(1),T=c(20),C=c("area"),G=x(()=>o.value.format("YYYY-MM-DD")),D=x(()=>n.value!==void 0),Re=x(()=>o.value.isSame(R(),"day")),se=x(()=>{const l=(y.value-1)*T.value;return h.value.slice(l,l+T.value)}),B=x(()=>h.value.length);let P=null,$=null;function Ie(){P&&(clearInterval(P),P=null)}function Ae(){$&&(clearInterval($),$=null)}function U(){Ie(),Ae()}let W=null;function De(l){W&&clearTimeout(W),W=setTimeout(()=>p(null,null,function*(){L.value=!0;try{const{getBadgeList:e}=yield O(()=>p(null,null,function*(){const{getBadgeList:a}=yield import("./index-nazUBhj_.js");return{getBadgeList:a}}),__vite__mapDeps([0,1,2,3]));A.value=yield e(l||void 0)}catch(e){A.value=[]}finally{L.value=!1}}),300)}const ne=[{deviceId:31,nickname:"工牌1号",deviceKey:"09207455611"},{deviceId:32,nickname:"工牌2号",deviceKey:"09207455612"},{deviceId:33,nickname:"工牌3号",deviceKey:"09207455613"},{deviceId:34,nickname:"工牌4号",deviceKey:"09207455614"},{deviceId:35,nickname:"工牌5号",deviceKey:"09207455615"},{deviceId:36,nickname:"工牌6号",deviceKey:"09207455616"}];function $a(){const l=o.value.format("YYYY-MM-DD"),e=[{id:1301,name:"男卫",building:"A栋",floor:1},{id:1302,name:"女卫",building:"A栋",floor:1},{id:1309,name:"男卫",building:"B栋",floor:2},{id:1310,name:"女卫",building:"B栋",floor:2},{id:1320,name:"大堂",building:"A栋",floor:1},{id:1321,name:"走廊",building:"B栋",floor:1}],a=[];let k=173;const m=R(),b=["SIGNAL_LOSS","AREA_SWITCH","SIGNAL_LOSS"];for(const _ of ne){const F=e.toSorted(()=>Math.random()-.5).slice(0,2+Math.floor(Math.random()*2));let M=R(`${l} 07:30:00`).add(Math.f