import{a as f}from"./dev.1703796278973.js";import{d as l,k as h,p as y,m as I,r as b,o as d,x as p,z as e,A as o,u as t,F as x,h as F,b as r,G as g,H as D}from"./vue.1703796278973.js";import{_ as k}from"./_plugin-vue_export-helper.1703796278973.js";import"./system.1703796278973.js";import"./comm.1703796278973.js";import"./index.17037962789732.js";import"./index.17037962789733.js";import"./dayjs.min.1703796278973.js";import"./isArray.1703796278973.js";import"./editor.api.1703796278973.js";import"./preload-helper.1703796278973.js";import"./monaco.contribution.1703796278973.js";import"./index.170379627897332.js";import"./index.170379627897315.js";import"./index.170379627897333.js";import"./index.170379627897334.js";import"./default.1703796278973.js";import"./permission.1703796278973.js";import"./consts.1703796278973.js";import"./404.1703796278973.js";const _=c=>(g("data-v-55568b7c"),c=c(),D(),c),z={class:"device-info"},A={class:"title"},O={class:"subtitle"},S={class:"tag-container"},B={class:"brand"},q={class:"desc"},w=_(()=>e("span",{class:"label"},"所属位置：",-1)),C={class:"value"},E={class:"desc"},N=_(()=>e("span",{class:"label"},"售后联系人：",-1)),V={class:"value"},j={class:"desc"},G=_(()=>e("span",{class:"label"},"联系电话：",-1)),H={class:"value"},L=l({name:"DeviceInfo"}),M=l({...L,props:{ndata:{type:Object,default:()=>{}}},setup(c){const m=c,s=h({});return y(()=>{}),I(()=>m.ndata,a=>{a&&a.deviceId&&f(a.productType,a.deviceId).then(async n=>{console.log("===queryDevInfo==",n),n.success&&(s.value=n==null?void 0:n.result)})},{immediate:!0,deep:!0}),(a,n)=>{const i=b("AIcon");return d(),p("div",z,[e("span",A,o(t(s)?t(s).name:""),1),e("span",O,"/ "+o(t(s)?t(s).code:""),1),e("div",S,[(d(!0),p(x,null,F(t(s).tag,(u,v)=>(d(),p("div",{key:v},o(u),1))),128))]),e("div",B,"品牌: "+o(t(s).brand),1),e("div",q,[r(i,{type:"EnvironmentOutlined",style:{"font-size":"16px",color:"#4277FF"}}),w,e("span",C,o(t(s).serverAddr),1)]),e("div",E,[r(i,{type:"UserOutlined",style:{"font-size":"16px",color:"#4277FF"}}),N,e("span",V,o(t(s).custodian),1)]),e("div",j,[r(i,{type:"PhoneOutlined",style:{"font-size":"16px",color:"#4277FF"}}),G,e("span",H,o(t(s).phone),1)])])}}});const de=k(M,[["__scopeId","data-v-55568b7c"]]);export{de as default};
