import{av as B,aw as x}from"./index.17037962789732.js";import"./index.170379627897319.js";import"./index.170379627897327.js";import I from"./ProductChooseDialog.1703796278973.js";import{_ as E}from"./DeviceChooseDialog.vue_vue_type_script_setup_true_lang.1703796278973.js";import h from"./BootCardSmall.1703796278973.js";import w from"./DeviceCountCard.1703796278973.js";import F from"./BasicCountCard.1703796278973.js";import V from"./PlatformPicCard.1703796278973.js";import v from"./StepCard.1703796278973.js";import{u as L}from"./permission.1703796278973.js";import{h as $}from"./system.1703796278973.js";import{d as C,k as f,o as p,x as j,b as e,a,z as P,u as s,c as k,M as b,B as _}from"./vue.1703796278973.js";const N={class:"comprehensive-home-conatiner"},A=P("div",{style:{width:"100%",height:"24px"}},null,-1),J={class:"dialog"},M=C({name:"ComprehensiveHome"}),te=C({...M,setup(R){const{jumpPage:g}=$(),d=L().hasPermission,c=o=>d(`device/Product:${o}`),m=o=>d(`device/Instance:${o}`),U=o=>d(`rule-engine/Instance:${o}`),D=[{english:"STEP1",label:"创建产品",link:"device/Product",auth:c("add"),image:"/images/home/guide-home1.png",params:{save:!0}},{english:"STEP2",label:"创建设备",link:"device/Instance",auth:m("add"),image:"/images/home/guide-home1.png",params:{type:"add"}},{english:"STEP3",label:"规则引擎",link:"rule-engine/Instance",auth:U("add"),image:"/images/home/guide-home3.png",params:{save:!0}}],y=[{title:"创建产品",details:"产品是设备的集合，通常指一组具有相同功能的设备。物联设备必须通过产品进行接入方式配置。",iconUrl:"/images/home/bottom-4.png",linkUrl:"device/Product",auth:c("add"),params:{save:!0}},{title:"配置产品接入方式",details:"通过产品对同一类型的设备进行统一的接入方式配置。请参照设备铭牌说明选择匹配的接入方式。",iconUrl:"/images/home/bottom-1.png",linkUrl:"device/Product/Detail",auth:c("update"),onClick:()=>{l.value=!0}},{title:"添加测试设备",details:"添加单个设备，用于验证产品模型是否配置正确。",iconUrl:"/images/home/bottom-5.png",linkUrl:"device/Instance",auth:m("add"),params:{type:"add"}},{title:"功能调试",details:"对添加的测试设备进行功能调试，验证能否连接到平台，设备功能是否配置正确。",iconUrl:"/images/home/bottom-2.png",linkUrl:"device/Instance/Detail",auth:m("update"),onClick:()=>{n.value=!0}},{title:"批量添加设备",details:"批量添加同一产品下的设备",iconUrl:"/images/home/bottom-3.png",linkUrl:"device/Instance",auth:m("import"),params:{type:"import"}}],S=[{english:"STEP1",label:"设备接入配置",link:"link/AccessConfig",image:"/images/home/guide-home4.png"},{english:"STEP2",label:"日志排查",link:"Log",params:{tab:"system"},image:"/images/home/guide-home5.png"},{english:"STEP3",label:"实时监控",link:"link/DashBoard",image:"/images/home/guide-home6.png"}],T=[{title:"协议管理",details:"根据业务需求自定义开发对应的产品（设备模型）接入协议，并上传到平台。",iconUrl:"/images/home/Frame4528.png",linkUrl:"link/Protocol"},{title:"证书管理",details:"统一维护平台内的证书，用于数据通信加密。",iconUrl:"/images/home/Frame4528.png",linkUrl:"link/Certificate"},{title:"网络组件",details:"根据不同的传输类型配置平台底层网络组件相关参数。",iconUrl:"/images/home/Frame4528.png",linkUrl:"link/Type"},{title:"设备接入网关",details:"根据不同的传输类型，关联消息协议，配置设备接入网关相关参数。",iconUrl:"/images/home/Frame4528(1).png",linkUrl:"link/AccessConfig"},{title:"日志管理",details:"监控系统日志，及时处理系统异常。",iconUrl:"/images/home/Frame4528.png",linkUrl:"Log",params:{tab:"system"}}],l=f(!1),n=f(!1);return(o,i)=>{const r=B,u=x;return p(),j("div",N,[e(u,{gutter:24,class:"top",style:{"margin-bottom":"24px"}},{default:a(()=>[e(r,{span:6,class:"left"},{default:a(()=>[e(h,{cardData:D,cardTitle:"物联网引导"}),A,e(h,{cardData:S,cardTitle:"运维引导"})]),_:1}),e(r,{span:18,class:"right"},{default:a(()=>[e(u,{gutter:24},{default:a(()=>[e(r,{span:12},{default:a(()=>[e(w)]),_:1}),e(r,{span:12},{default:a(()=>[e(F)]),_:1}),e(r,{span:24,style:{"margin-top":"24px"}},{default:a(()=>[e(V,{image:"/images/home/content1.svg"})]),_:1})]),_:1})]),_:1})]),_:1}),e(v,{cardTitle:"设备接入推荐步骤",tooltip:"不同的设备因为通信协议的不同，存在接入步骤的差异",dataList:y,style:{"margin-bottom":"24px"}}),e(v,{cardTitle:"运维管理推荐步骤",tooltip:"请根据业务需要对下述步骤进行选择性操作。",dataList:T}),P("div",J,[s(l)?(p(),k(I,{key:0,visible:s(l),"onUpdate:visible":i[0]||(i[0]=t=>b(l)?l.value=t:null),onConfirm:i[1]||(i[1]=t=>s(g)("device/Product/Detail",{id:t,tab:"Device"}))},null,8,["visible"])):_("",!0),s(n)?(p(),k(E,{key:1,visible:s(n),"onUpdate:visible":i[2]||(i[2]=t=>b(n)?n.value=t:null),onConfirm:i[3]||(i[3]=t=>s(g)("device/Instance/Detail",{id:t,tab:"Diagnose"}))},null,8,["visible"])):_("",!0)])])}}});export{te as _};
