import{P as e,S as s}from"./common-utils-8H8K2JPG.js";import{_ as a,u as t,b as o,aP as i}from"./common-store-e_1WBubm.js";import{u as n}from"./useScreenshot-nTmXL8uf.js";import{H as r}from"./Header-hbN0HDAk.js";import{U as l,G as u,r as m,b as d,q as v,u as c,h as p,F as f,e as g,I as j,s as S,o as _,t as y,x as I}from"./vendor-jA_NIjzi.js";import"./vendor-crypto-Vtl7-GZS.js";import"./vendor-mqtt-lYGapirz.js";import"./vendor-html2canvas-6F43d9AR.js";/* empty css              */import"./SvgIcon-unOD6nfS.js";const h={class:"systemSetting"},b={id:"capture",class:"systemSetting-userInfo"},w={class:"systemSetting-userInfo-item-left"},x={class:"value"},G={class:"systemSetting-button"},L=a({__name:"index",setup(a){const{t:L}=l(),P=t(),k=o(),q=u((()=>P.userinfo)),H=m([]),N=u((()=>{var s,a,t,o;return[{id:0,name:L("会员账号"),value:null==(a=null==(s=H.value)?void 0:s[0])?void 0:a.userName},{id:1,name:L("设备型号"),value:null==(o=null==(t=H.value)?void 0:t[0])?void 0:o.osVersion},{id:2,name:L("登陆端口"),value:document.title},{id:3,name:L("登录IP"),value:q.value.ip},{id:4,name:L("系统版本"),value:"v1.0.5_test_06091500"},{id:6,name:L("当前时间"),value:e(new Date)}]}));return(async()=>{try{k.showGlobalLoading();const e=await i({pageNo:1,pageSize:1,userId:P.userinfo.userId,status:1});if(!e.success)return e.message&&S(e.message);H.value=e.data.records,k.clearGlobalLoading()}catch(e){if(e.message)return k.clearGlobalLoading(),S(e.message)}})(),(e,a)=>{const t=s;return _(),d("div",h,[v(r,{title:c(L)("系统与装置"),isRightShow:!1},null,8,["title"]),p("div",b,[(_(!0),d(f,null,g(N.value,(e=>(_(),d("div",{class:"systemSetting-userInfo-item",key:e.id},[p("div",w,y(e.name),1),p("div",x,y(e.value),1)])))),128))]),p("div",G,[v(t,{onClick:a[0]||(a[0]=e=>c(n)("#capture",!0))},{default:j((()=>[I(y(c(L)("一键截图")),1)])),_:1})])])}}},[["__scopeId","data-v-190a9228"],["__file","index.vue"]]);export{L as default};
