(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3615acbe"],{1562:function(t,e,a){},5723:function(t,e,a){"use strict";a.d(e,"a",(function(){return r})),a.d(e,"d",(function(){return s})),a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o}));var n=a("66df"),r=function(t){return n["a"].request({method:"post",url:"api/platform.php?s=Platform.User.Profile",data:t})},s=function(t){return n["a"].request({method:"post",url:"api/platform.php?s=Platform.User.UpdateProfile",data:t})},i=function(t){return n["a"].request({method:"post",url:"api/admin.php?s=Admin.User.GetLastestLoginRecord",data:t})},o=function(t){return n["a"].request({method:"post",url:"api/platform.php?s=Platform.User.AlterPass",data:t})}},"5a9c":function(t,e,a){t.exports=a.p+"img/headImg.8b4031b9.jpg"},"8ee9":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"main"},[a("h3",[t._v(t._s(t.$t("personal_info")))]),a("div",{staticClass:"content"},[a("header",{staticClass:"header"},[a("img",{attrs:{src:t.avatar}}),a("span",{staticClass:"username"},[t._v(t._s(t.nickname))]),a("Button",{on:{click:t.setInfo}},[t._v(t._s(t.$t("modify_personal_info"))+" >>")])],1),a("Table",{attrs:{columns:t.columns1,data:t.data1,"show-header":!1,width:"660"}})],1)])},r=[],s=a("5a9c"),i=a.n(s),o=a("5723"),u=a("c276"),c={name:"accountInfo",data:function(){return{token:Object(u["h"])(),columns1:[{title:"Name",key:"name",align:"center",width:250},{title:"value",key:"value"}],data1:[],memberLevelArr:[],memberStatusArr:[this.$t("disable"),this.$t("enable")],nickname:"",avatar:i.a}},created:function(){this.getInfo()},methods:{setInfo:function(){this.$router.push({name:"accountSettings"})},getInfo:function(){var t=this,e=new FormData;e.append("access_token",this.token),Object(o["a"])(e).then((function(e){var a=e.data.profile;t.data1=[{name:t.$t("account_level")+":",value:t.memberLevelArr[a.member_level]},{name:t.$t("account")+":",value:a.username},{name:t.$t("account_nickname")+":",value:a.nickname},{name:t.$t("tel")+":",value:a.mobile||"-"},{name:t.$t("email")+":",value:a.email||"-"},{name:t.$t("sign_up_time")+":",value:a.register_time},{name:t.$t("account_status")+":",value:a.member_status?t.memberStatusArr[a.member_status]:"-"}],t.avatar=a.avatar||i.a,t.nickname=a.nicknames}))}}},m=c,l=(a("b4f4"),a("2877")),f=Object(l["a"])(m,n,r,!1,null,"16860099",null);e["default"]=f.exports},b4f4:function(t,e,a){"use strict";var n=a("1562"),r=a.n(n);r.a}}]);