import{aG as f,aA as m,bB as t,bm as g,c as h,b3 as _,aF as e,a9 as T,aa as E,ab as w,aC as k,bd as F,ad as C,aE as l,bj as o,ai as D,F as x,G as B,ac as L}from"./index-DrvLDslf.js";/* empty css             *//* empty css                    *//* empty css                        *//* empty css                     *//* empty css                  */import"./el-tooltip-l0sNRNKZ.js";/* empty css                    *//* empty css                        *//* empty css               */import{C as O}from"./ConfigPageBase-CPF7i-FB.js";/* empty css               *//* empty css                *//* empty css                  */import"./PermissionGuard-BxagL6-4.js";import"./reflection-Dr3WM5Rz.js";const X=f({__name:"FleetLifecycleView",setup(A){return(z,I)=>{const s=w,p=C,d=E,n=T,r=B,i=x,b=L;return _(),m(O,{section:"fleet",title:"车队全生命周期",description:"分区域/跨楼层/多车协作；OTA、批量操作、网络诊断（FleetLifecycleConfig）",defaults:g(h)},{default:t(({payload:a})=>[e(b,{"model-value":"groups"},{default:t(()=>[e(n,{name:"groups",label:"车队分组"},{default:t(()=>[e(d,{data:a.groups,size:"small",border:""},{default:t(()=>[e(s,{label:"ID",prop:"id",width:"100"}),e(s,{label:"名称",prop:"name",width:"140"}),e(s,{label:"楼层",prop:"floor",width:"80"}),e(s,{label:"区域",prop:"region",width:"80"}),e(s,{label:"车辆"},{default:t(u=>[(_(!0),k(D,null,F(u.row.carIds,c=>(_(),m(p,{key:c,size:"small",style:{margin:"2px"}},{default:t(()=>[l(o(c),1)]),_:2},1024))),128))]),_:1})]),_:1},8,["data"])]),_:2},1024),e(n,{name:"ota",label:"OTA 升级"},{default:t(()=>[e(i,{column:2,border:""},{default:t(()=>[e(r,{label:"启用"},{default:t(()=>[l(o(a.ota.enabled?"是":"否"),1)]),_:2},1024),e(r,{label:"批次大小"},{default:t(()=>[l(o(a.ota.batchSize),1)]),_:2},1024),e(r,{label:"失败回滚"},{default:t(()=>[l(o(a.ota.rollbackOnFail?"是":"否"),1)]),_:2},1024)]),_:2},1024)]),_:2},1024),e(n,{name:"batch",label:"批量操作"},{default:t(()=>[e(i,{column:2,border:""},{default:t(()=>[e(r,{label:"需确认"},{default:t(()=>[l(o(a.batchOps.confirmationRequired?"是":"否"),1)]),_:2},1024),e(r,{label:"最大批量"},{default:t(()=>[l(o(a.batchOps.maxBatch),1)]),_:2},1024)]),_:2},1024)]),_:2},1024),e(n,{name:"diag",label:"网络诊断"},{default:t(()=>[e(i,{column:2,border:""},{default:t(()=>[e(r,{label:"RTT 阈值 (ms)"},{default:t(()=>[l(o(a.networkDiag.rttThresholdMs),1)]),_:2},1024),e(r,{label:"丢包阈值"},{default:t(()=>[l(o(a.networkDiag.packetLossThreshold),1)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:1},8,["defaults"])}}});export{X as default};
