1import{T as y,H as g}from"./components.1efb2731.js";import{u as w}from"./useFormatNumber.bc400663.js";import{u as x}from"./useFetchApi.1c6adf86.js";import{u as v}from"./auth.6accc8bf.js";import{A as N,r as d,y as C,o as $,c as A,a as u,w as _,g as n,t as e,b as t,u as l,F as D}from"./entry.c29f2f03.js";import"./useTokenize.9050899f.js";const F={class:"page-wrapper"},T={class:"page-title"},k={class:"container-fluid profile-info"},B={class:"row",style:{width:"600px"}},H={class:"col-12"},S={style:{display:"flex","flex-direction":"row","align-items":"flex-end","justify-content":"center",color:"white","background-color":"green",padding:"0px","border-radius":"4px","box-shadow":"0px 2px 5px grey"}},V=t("i",{class:"bi bi-person-vcard",style:{"font-size":"30px",color:"white","margin-right":"10px"}},null,-1),I={style:{color:"white"}},j={class:"profile-table table"},z={style:{"text-align":"left"}},E=t("th",{scope:"row"},[t("i",{class:"bi bi-person-video"}),n(" CID:")],-1),G={style:{"text-align":"left"}},L={scope:"row"},q=t("i",{class:"bi bi-person-circle"},null,-1),J={style:{"text-align":"left"}},K={scope:"row"},M=t("i",{class:"bi bi-geo-alt-fill"},null,-1),O={style:{"text-align":"left"}},P={scope:"row"},Q=t("i",{class:"bi bi-telephone-fill"},null,-1),et=N({__name:"profile",async setup(R){let a,r;const p=v(),{formatCid:h}=w(),c=d(!1),s=d(),m=async()=>{c.value=!0;const{data:o}=await x(`Customer/GetDefultCustomer?phoneNumber=${p.uid}`);var i=o.value;i.success&&(s.value=i.data),c.value=!1};return[a,r]=C(()=>m()),await a,r(),(o,i)=>{const f=y,b=g;return $(),A(D,null,[u(b,null,{default:_(()=>[u(f,null,{default:_(()=>[n(e(o.$t("profile")),1)]),_:1})]),_:1}),t("div",F,[t("div",T,[t("span",null,e(o.$t("welcome"))+" : "+e(l(s).customerName),1)]),t("div",k,[t("div",B,[t("div",H,[t("div",S,[V,t("h4",I,e(o.$t("your_information")),1)]),t("table",j,[t("tbody",z,[t("tr",null,[E,t("td",null,e(l(h)(l(s).customerId)),1)])]),t("tbody",G,[t("tr",null,[t("th",L,[q,n(e(o.$t("name")),1)]),t("td",null,e(l(s).customerName),1)])]),t("tbody",J,[t("tr",null,[t("th",K,[M,n(" "+e(o.$t("location")),1)]),t("td",null,e(l(s).customerLocation),1)])]),t("tbody",O,[t("tr",null,[t("th",P,[Q,n(" "+e(o.$t("phone_num")),1)]),t("td",null,e(l(s).phoneNumber),1)])])])])])])])],64)}}});export{et as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.