import{aE as x,aF as A}from"./index.17037962789732.js";import"./index.1703796278973310.js";import{_ as C}from"./index.vue_vue_type_script_setup_true_name_PermissionButton_lang.1703796278973.js";import{u as N}from"./product.17037962789738.js";import P from"./index.1703796278973155.js";import{a as m}from"./dayjs.min.1703796278973.js";import{d as S,O as E,k as c,r as _,o as M,x as T,b as e,a as t,z as p,t as n,A as r,u as s,F as g}from"./vue.1703796278973.js";import{h as B}from"./system.1703796278973.js";const H={style:{display:"flex"}},I=p("h3",null,"配置信息",-1),J=S({__name:"indev",setup(j){B();const o=N(),f=E(),i=c(),b=c(2),h=c("编辑"),v=()=>{i.value.show(o.current)},y=()=>{o.tabActiveKey="Device"},D=()=>{o.refresh(f.params.id)};return(F,R)=>{const k=_("AIcon"),l=C,d=_("Ellipsis"),a=x,Y=A;return M(),T(g,null,[e(Y,{bordered:""},{title:t(()=>[p("div",H,[I,e(l,{type:"link",onClick:v,hasPermission:"device/Product:update"},{icon:t(()=>[e(k,{type:"EditOutlined"})]),_:1})])]),default:t(()=>[e(a,{label:"ID"},{default:t(()=>[e(d,null,{default:t(()=>[n(r(s(o).current.id),1)]),_:1})]),_:1}),e(a,{label:"产品分类"},{default:t(()=>[e(d,null,{default:t(()=>[n(r(s(o).current.classifiedName),1)]),_:1})]),_:1}),e(a,{label:"设备类型"},{default:t(()=>{var u;return[n(r((u=s(o).current.deviceType)==null?void 0:u.text),1)]}),_:1}),e(a,{label:"接入方式"},{default:t(()=>[e(l,{type:"link",onClick:y,hasPermission:"device/Product:update"},{default:t(()=>[n(r(s(o).current.accessName?s(o).current.accessName:"配置接入方式"),1)]),_:1})]),_:1}),e(a,{label:"创建时间"},{default:t(()=>[n(r(s(m)(s(o).current.createTime).format("YYYY-MM-DD HH:mm:ss")),1)]),_:1}),e(a,{label:"更新时间"},{default:t(()=>[n(r(s(m)(s(o).current.modifyTime).format("YYYY-MM-DD HH:mm:ss")),1)]),_:1}),e(a,{label:"说明",span:3},{default:t(()=>[n(r(s(o).current.describe),1)]),_:1})]),_:1}),e(P,{ref_key:"saveRef",ref:i,isAdd:s(b),title:s(h),onSuccess:D},null,8,["isAdd","title"])],64)}}});export{J as _};
