import{u as O,H as f,i as S,a as $,b as T,c as B,d as N,e as V}from"./index.esm.min-siVe36hz.js";import{d as W,o as j,c as A,a as s,b as t,w as a,r as o,x as i,g as m,j as F,m as P,k as p,_ as R}from"./index-DIl-pxgT.js";const E={class:"page-container dashboard"},H={class:"stat-card card-shadow"},I={class:"stat-icon",style:{background:"#ecf5ff",color:"#409eff"}},q={class:"stat-info"},G={class:"stat-value"},J={class:"stat-card card-shadow"},K={class:"stat-icon",style:{background:"#f0f9eb",color:"#67c23a"}},M={class:"stat-info"},Q={class:"stat-value"},U={class:"stat-card card-shadow"},X={class:"stat-icon",style:{background:"#fdf6ec",color:"#e6a23c"}},Y={class:"stat-info"},Z={class:"stat-value"},ss={class:"stat-card card-shadow"},ts={class:"stat-icon",style:{background:"#fef0f0",color:"#f56c6c"}},es={class:"stat-info"},as={class:"stat-value"},os={class:"chart-card card-shadow"},ls={class:"chart-card card-shadow"},ns={class:"chart-card card-shadow"},ds=W({__name:"Dashboard",setup(is){O([S,$,T,B,N,V]);const c=P({dataSources:12,tables:3847,labeled:152340,sensitive:28931}),g=p({tooltip:{trigger:"item"},legend:{bottom:"0%",left:"center"},color:["#67c23a","#409eff","#e6a23c","#f56c6c","#909399"],series:[{type:"pie",radius:["40%","70%"],avoidLabelOverlap:!1,itemStyle:{borderRadius:6,borderColor:"#fff",borderWidth:2},label:{show:!1},data:[{value:35e3,name:"L1 公开级"},{value:62e3,name:"L2 内部级"},{value:48e3,name:"L3 敏感级"},{value:22e3,name:"L4 重要级"},{value:6931,name:"L5 核心级"}]}]}),v=p({tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"value"},yAxis:{type:"category",data:["车辆信息","理赔数据","渠道数据","财务数据","监管报送","内部管理","保单数据","客户数据"]},series:[{type:"bar",data:[8200,15600,4300,12100,2800,5600,22400,36700],itemStyle:{borderRadius:[0,4,4,0],color:"#409eff"}}]}),b=p([{name:"2024年数据分类分级专项",status:"labeling",progress:68,planned_end:"2024-08-30"},{name:"核心系统敏感数据梳理",status:"reviewing",progress:92,planned_end:"2024-07-15"},{name:"新核心上线数据定级",status:"scanning",progress:25,planned_end:"2024-09-20"}]);function h(n){return{created:"info",scanning:"warning",assigning:"",labeling:"primary",reviewing:"success",accepting:"success",published:"success"}[n]||"info"}function w(n){return{created:"已创建",scanning:"扫描中",assigning:"分配中",labeling:"打标中",reviewing:"审核中",accepting:"验收中",published:"已发布"}[n]||n}return(n,e)=>{const x=o("DataLine"),r=o("el-icon"),l=o("el-col"),y=o("FolderOpened"),L=o("DocumentChecked"),k=o("Warning"),u=o("el-row"),_=o("el-table-column"),z=o("el-tag"),D=o("el-progress"),C=o("el-table");return j(),A("div",E,[e[7]||(e[7]=s("h2",{class:"page-title"},"数据资产概览",-1)),t(u,{gutter:16,class:"stat-row"},{default:a(()=>[t(l,{xs:12,sm:12,md:6,lg:6},{default:a(()=>[s("div",H,[s("div",I,[t(r,{size:"28"},{default:a(()=>[t(x)]),_:1})]),s("div",q,[s("div",G,i(c.dataSources),1),e[0]||(e[0]=s("div",{class:"stat-label"},"数据源",-1))])])]),_:1}),t(l,{xs:12,sm:12,md:6,lg:6},{default:a(()=>[s("div",J,[s("div",K,[t(r,{size:"28"},{default:a(()=>[t(y)]),_:1})]),s("div",M,[s("div",Q,i(c.tables),1),e[1]||(e[1]=s("div",{class:"stat-label"},"数据表",-1))])])]),_:1}),t(l,{xs:12,sm:12,md:6,lg:6},{default:a(()=>[s("div",U,[s("div",X,[t(r,{size:"28"},{default:a(()=>[t(L)]),_:1})]),s("div",Y,[s("div",Z,i(c.labeled),1),e[2]||(e[2]=s("div",{class:"stat-label"},"已打标字段",-1))])])]),_:1}),t(l,{xs:12,sm:12,md:6,lg:6},{default:a(()=>[s("div",ss,[s("div",ts,[t(r,{size:"28"},{default:a(()=>[t(k)]),_:1})]),s("div",es,[s("div",as,i(c.sensitive),1),e[3]||(e[3]=s("div",{class:"stat-label"},"敏感数据(L4/L5)",-1))])])]),_:1})]),_:1}),t(u,{gutter:16,class:"chart-row"},{default:a(()=>[t(l,{xs:24,md:12},{default:a(()=>[s("div",os,[e[4]||(e[4]=s("div",{class:"chart-title"},"数据分级分布",-1)),t(m(f),{class:"chart",option:g.value,autoresize:""},null,8,["option"])])]),_:1}),t(l,{xs:24,md:12},{default:a(()=>[s("div",ls,[e[5]||(e[5]=s("div",{class:"chart-title"},"数据分类TOP8",-1)),t(m(f),{class:"chart",option:v.value,autoresize:""},null,8,["option"])])]),_:1})]),_:1}),t(u,{gutter:16,class:"chart-row"},{default:a(()=>[t(l,{xs:24},{default:a(()=>[s("div",ns,[e[6]||(e[6]=s("div",{class:"chart-title"},"项目进度",-1)),t(C,{data:b.value,stripe:"",size:"default"},{default:a(()=>[t(_,{prop:"name",label:"项目名称","min-width":"180"}),t(_,{prop:"status",label:"状态",width:"120"},{default:a(({row:d})=>[t(z,{type:h(d.status)},{default:a(()=>[F(i(w(d.status)),1)]),_:2},1032,["type"])]),_:1}),t(_,{prop:"progress",label:"进度",width:"200"},{default:a(({row:d})=>[t(D,{percentage:d.progress,status:d.progress===100?"success":""},null,8,["percentage","status"])]),_:1}),t(_,{prop:"planned_end",label:"计划完成时间",width:"160"})]),_:1},8,["data"])])]),_:1})]),_:1})])}}}),_s=R(ds,[["__scopeId","data-v-ad5b3874"]]);export{_s as default};
//# sourceMappingURL=Dashboard-CD-7Vaib.js.map
