1import{C as a}from"./Index-bd33c8e4.js";import{a as t}from"./stats-df2db06c.js";import{d as s,r as e,u as r,E as i,o,c as d,a as m,J as p,L as n,G as c,x as l,X as u,Y as j,e as g,_ as f}from"./main-c6f84ac9.js";import x from"./BarStats-c04f79e0.js";/* empty css */import"./dayjs-3566fa47.js";import"./createForOfIteratorHelper-34537a71.js";import"./SwapRightOutlined-03c894fe.js";import"./useMergedState-cc250efd.js";import"./useMemo-867c0feb.js";import"./useState-6459b8c2.js";import"./index-81b7d78c.js";import"./index-34daed4f.js";const I=a=>(u("data-v-8d30a94c"),a=a(),j(),a),k={class:"chart"},y=I((()=>g("img",{src:"/assets/dept-use-stats-icon-4c314cc3.svg",style:{"margin-right":"6px"}},null,-1))),_={key:0,class:"nodata"},h=I((()=>g("div",{class:"squre"},null,-1))),v=f(s({name:"DeptUseStatsCard",props:{params:null},emits:["click"],setup(s,{expose:u,emit:j}){const g=s,f=e({data:[]});r();const I=(a,t)=>{j("click",{deptId:a.deptId,deptName:a.keyName})};return i((async()=>{})),u({refresh:async()=>{const a=await t({organizationId:g.params.deptId,startTimestamp:g.params.startTimestamp,endTimestamp:g.params.endTimestamp});f.data=a.map((a=>({keyName:a.organization_name,cost:a.total_quota,deptId:a.organization_id})))}}),(t,s)=>(o(),d("div",k,[m(a,{title:t.$t("center.statics.deptConsumeRank")},{icon:p((()=>[y])),default:p((()=>[m(x,{data:f.data,"bar-color":"#4ade80",onClick:I},null,8,["data"]),0==f.data.length?(o(),d("div",_,[h,n(" "+c(t.$t("center.statics.noData")),1)])):l("",!0)])),_:1},8,["title"])]))}}),[["__scopeId","data-v-8d30a94c"]]);export{v as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.