niucloud-admin/niucloud/public/admin/assets/personal-56944477.js
2023-11-15 15:57:04 +08:00

2 lines
3.0 KiB
JavaScript

/* empty css *//* empty css *//* empty css */import{a as b,E}from"./el-form-item-1b16c9fc.js";/* empty css *//* empty css */import{j as y}from"./index-7eafba5f.js";import{t as n}from"./index-0ca94763.js";import{c as I}from"./common-c3be41fd.js";import{a as F}from"./vue-router-48fdc1e3.js";import{E as C}from"./index-cf9a2dd7.js";import{E as U}from"./index-888853cf.js";import{E as k}from"./index-9ecd3f93.js";import{v as B}from"./directive-64fb15dc.js";import{d as N,O as j,r as c,M as R,f as D,g as s,B as m,u as o,y as t,x as a,e as P,$ as V}from"./plugin-vue_export-helper-85a4d40b.js";import{_ as L}from"./_plugin-vue_export-helper-c27b6911.js";import"./event-f85d77b0.js";import"./index-bcd7a424.js";import"./_baseClone-3dbf39d6.js";import"./index-e513479b.js";import"./el-main-86eb724f.js";import"./index-b9e5f5cb.js";import"./el-overlay-08181e74.js";import"./index-313cd2ce.js";import"./focus-trap-64c402c5.js";import"./index-1ad115d7.js";import"./index-de1d3b53.js";/* empty css *//* empty css *//* empty css */import"./index-d469ae66.js";import"./index-e27c3bb0.js";import"./index-c5914bde.js";import"./index-4d8f36c6.js";import"./index-ebc73046.js";import"./index-344f0086.js";import"./debounce-6c3123a6.js";import"./position-37364850.js";const M={class:"main-container w-full px-[64px] pt-[64px] bg-white"},O={class:"flex justify-between items-center h-[32px] mb-4"},S={class:"text-[20px]"},$={class:"image-slot bg-[#c0c4cc] flex items-center justify-center w-[70px] h-[70px] rounded-full"},q=N({__name:"personal",setup(z){const _=F();let e=j({head_img:"",real_name:"",original_password:"",password:"",password_copy:"",username:""});const d=c(),i=c(!0);(()=>{i.value=!0,y().then(p=>{i.value=!1;let r=p.data;e.head_img=r.head_img,e.real_name=r.real_name,e.original_password=r.original_password,e.password=r.password,e.password_copy=r.password,e.username=r.username}).catch(()=>{i.value=!1})})();const f=()=>{_.push("/user/edit_center")};return(p,r)=>{const u=V("UserFilled"),x=C,g=U,l=b,h=E,v=k,w=B;return R((P(),D("div",M,[s("div",O,[s("span",S,m(o(n)("personal")),1),s("span",{class:"text-[14px] text-[#999] cursor-pointer",onClick:f},m(o(n)("editPersonal")),1)]),t(v,{class:"box-card !border-none",shadow:"never"},{default:a(()=>[t(h,{model:o(e),"label-width":"90px",ref_key:"formRef",ref:d,class:"page-form"},{default:a(()=>[t(l,{label:o(n)("headImg")},{default:a(()=>[t(g,{class:"w-[70px] h-[70px]",src:o(I)(o(e).head_img),fit:"contain"},{error:a(()=>[s("div",$,[t(x,{class:"text-[#fff] text-[35px]"},{default:a(()=>[t(u)]),_:1})])]),_:1},8,["src"])]),_:1},8,["label"]),t(l,{label:o(n)("userName")},{default:a(()=>[s("div",null,m(o(e).username),1)]),_:1},8,["label"]),t(l,{label:o(n)("realName")},{default:a(()=>[s("div",null,m(o(e).real_name),1)]),_:1},8,["label"])]),_:1},8,["model"])]),_:1})])),[[w,i.value]])}}});const ke=L(q,[["__scopeId","data-v-aa41c4a8"]]);export{ke as default};