x-php-Admin/dist/static/js/715.1b8e7a12.js

1 line
2.9 KiB
JavaScript
Raw Normal View History

2023-12-25 08:08:40 +00:00
"use strict";(self["webpackChunkx_php_admin"]=self["webpackChunkx_php_admin"]||[]).push([[715],{2715:function(e,l,a){a.r(l),a.d(l,{default:function(){return n}});var u=a(6808);const m=(0,u._)("div",{class:"el-form-item-msg"},"账号信息用于登录,系统不允许修改",-1);function o(e,l,a,o,t,d){const r=(0,u.up)("el-input"),n=(0,u.up)("el-form-item"),s=(0,u.up)("x-upload"),p=(0,u.up)("el-option"),i=(0,u.up)("el-select"),f=(0,u.up)("x-item"),c=(0,u.up)("el-button"),b=(0,u.up)("el-form"),V=(0,u.up)("el-card");return(0,u.wg)(),(0,u.j4)(V,{shadow:"never",header:"个人信息",style:{margin:"10px"}},{default:(0,u.w5)((()=>[(0,u.Wm)(b,{ref:"form",model:t.user,"label-width":"120px",style:{"margin-top":"10px"}},{default:(0,u.w5)((()=>[(0,u.Wm)(n,{label:"账号"},{default:(0,u.w5)((()=>[(0,u.Wm)(r,{modelValue:t.user.username,"onUpdate:modelValue":l[0]||(l[0]=e=>t.user.username=e),disabled:""},null,8,["modelValue"]),m])),_:1}),(0,u.Wm)(n,{label:"头像"},{default:(0,u.w5)((()=>[(0,u.Wm)(s,{modelValue:t.user.avatar,"onUpdate:modelValue":l[1]||(l[1]=e=>t.user.avatar=e),icon:"el-icon-avatar",cropper:!0,compress:1,aspectRatio:1},null,8,["modelValue"])])),_:1}),(0,u.Wm)(n,{label:"姓名"},{default:(0,u.w5)((()=>[(0,u.Wm)(r,{modelValue:t.user.nickname,"onUpdate:modelValue":l[2]||(l[2]=e=>t.user.nickname=e)},null,8,["modelValue"])])),_:1}),(0,u.Wm)(n,{label:"邮箱"},{default:(0,u.w5)((()=>[(0,u.Wm)(r,{modelValue:t.user.email,"onUpdate:modelValue":l[3]||(l[3]=e=>t.user.email=e)},null,8,["modelValue"])])),_:1}),(0,u.Wm)(n,{label:"手机号"},{default:(0,u.w5)((()=>[(0,u.Wm)(r,{modelValue:t.user.mobile,"onUpdate:modelValue":l[4]||(l[4]=e=>t.user.mobile=e)},null,8,["modelValue"])])),_:1}),(0,u.Wm)(n,{label:"性别"},{default:(0,u.w5)((()=>[(0,u.Wm)(i,{modelValue:t.user.gender,"onUpdate:modelValue":l[5]||(l[5]=e=>t.user.gender=e),placeholder:"请选择"},{default:(0,u.w5)((()=>[(0,u.Wm)(p,{label:"保密",value:"0"}),(0,u.Wm)(p,{label:"男",value:"1"}),(0,u.Wm)(p,{label:"女",value:"2"})])),_:1},8,["modelValue"])])),_:1}),(0,u.Wm)(n,{label:"个性签名"},{default:(0,u.w5)((()=>[(0,u.Wm)(r,{modelValue:t.user.about,"onUpdate:modelValue":l[6]||(l[6]=e=>t.user.about=e),type:"textarea"},null,8,["modelValue"])])),_:1}),((0,u.wg)(!0),(0,u.iD)(u.HY,null,(0,u.Ko)(t.form,((e,a)=>((0,u.wg)(),(0,u.j4)(n,{label:e.label,key:a},{default:(0,u.w5)((()=>[(0,u.Wm)(f,{item:e,modelValue:t.user,"onUpdate:modelValue":l[7]||(l[7]=e=>t.user=e)},null,8,["item","modelValue"])])),_:2},1032,["label"])))),128)),(0,u.Wm)(n,null,{default:(0,u.w5)((()=>[(0,u.Wm)(c,{type:"primary",onClick:d.submit},{default:(0,u.w5)((()=>[(0,u.Uk)("保存")])),_:1},8,["onClick"])])),_:1})])),_:1},8,["model"])])),_:1})}var t={props:{data:{type:Object,default:()=>({})}},components:{},data(){return{user:{},form:[],token:null}},watch:{},mounted(){},methods:{updateParentValue(e){console.log(e),alert("fdsafa")},submit(){alert(1)}}},d=a(8700);const r=(0,d.Z)(t,[["render",o]]);var n=r}}]);