(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-set-accountControl"],{"12e4":function(t,e,s){"use strict";s.r(e);var n=s("3d3d"),a=s.n(n);for(var i in n)["default"].indexOf(i)<0&&function(t){s.d(e,t,(function(){return n[t]}))}(i);e["default"]=a.a},"2e9c":function(t,e,s){"use strict";var n=s("8b40"),a=s.n(n);a.a},"3d3d":function(t,e,s){"use strict";s("6a54");var n=s("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(s("2634")),i=n(s("2fdc")),l={data:function(){return{userInfo:{LoginName:"",RealName:"",Mobile:"",Mail:"",QQ:"",Wechat:"",Address:"",Id:""}}},onLoad:function(){this.getUserInfo()},methods:{saveCompany:function(){var t=this,e={Address:this.userInfo.Address,LoginName:this.userInfo.LoginName,Mail:this.userInfo.Mail,Mobile:this.userInfo.Mobile,QQ:this.userInfo.QQ,RealName:this.userInfo.RealName,Wechat:this.userInfo.Wechat,id:this.userInfo.Id};this.$http.post("/user/UpdateAccountBasic",e).then((function(e){e.Check&&t.$msg("保存成功")}))},getUserInfo:function(){var t=this;return(0,i.default)((0,a.default)().mark((function e(){var s;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$http.post("/User/GetUserInfo",{token:uni.getStorageSync("token"),id:uni.getStorageSync("userId")});case 2:s=e.sent,s.Check&&(t.userInfo=s.Data,uni.setStorageSync("Address",t.userInfo.Address));case 4:case"end":return e.stop()}}),e)})))()}}};e.default=l},"3dc1":function(t,e,s){var n=s("c86c");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */uni-page-body[data-v-113183c1]{background:#f8f8f8}body.?%PAGE?%[data-v-113183c1]{background:#f8f8f8}.container[data-v-113183c1]{padding:%?20?%}.list-cell[data-v-113183c1]{display:flex;align-items:center;padding:%?20?% %?30?%;line-height:%?60?%;position:relative;background:#fff;justify-content:space-between}.list-cell.m-t[data-v-113183c1]{margin-top:%?16?%}.list-cell .cell-tit[data-v-113183c1]{flex:1;font-size:%?30?%;color:#303133;margin-right:%?10?%}.list-cell .cell-value[data-v-113183c1]{flex:1;font-size:%?30?%;color:#303133}.list-cell .cell-input[data-v-113183c1]{flex:1;font-size:%?30?%;color:#303133}.save-button[data-v-113183c1]{width:100%;margin-top:%?20?%;background-color:#fa436a;color:#fff;font-size:%?30?%;border:none;border-radius:%?8?%;padding:%?10?% 0}',""]),t.exports=e},"54a9":function(t,e,s){"use strict";s.r(e);var n=s("7e38"),a=s("12e4");for(var i in a)["default"].indexOf(i)<0&&function(t){s.d(e,t,(function(){return a[t]}))}(i);s("2e9c");var l=s("828b"),c=Object(l["a"])(a["default"],n["b"],n["c"],!1,null,"113183c1",null,!1,n["a"],void 0);e["default"]=c.exports},"7e38":function(t,e,s){"use strict";s.d(e,"b",(function(){return n})),s.d(e,"c",(function(){return a})),s.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("v-uni-view",{staticClass:"container"},[s("v-uni-form",{on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.saveCompany.apply(void 0,arguments)}}},[s("v-uni-view",{staticClass:"list-cell"},[s("v-uni-text",{staticClass:"cell-tit"},[t._v("用户账号")]),s("v-uni-text",{staticClass:"cell-value"},[t._v(t._s(t.userInfo.LoginName))])],1),s("v-uni-view",{staticClass:"list-cell"},[s("v-uni-text",{staticClass:"cell-tit"},[t._v("用户姓名")]),s("v-uni-input",{staticClass:"cell-input",attrs:{type:"text",placeholder:"请输入用户姓名"},model:{value:t.userInfo.RealName,callback:function(e){t.$set(t.userInfo,"RealName",e)},expression:"userInfo.RealName"}})],1),s("v-uni-view",{staticClass:"list-cell"},[s("v-uni-text",{staticClass:"cell-tit"},[t._v("联系电话")]),s("v-uni-input",{staticClass:"cell-input",attrs:{type:"text",placeholder:"请输入联系电话"},model:{value:t.userInfo.Mobile,callback:function(e){t.$set(t.userInfo,"Mobile",e)},expression:"userInfo.Mobile"}})],1),s("v-uni-view",{staticClass:"list-cell"},[s("v-uni-text",{staticClass:"cell-tit"},[t._v("邮箱")]),s("v-uni-input",{staticClass:"cell-input",attrs:{type:"email",placeholder:"请输入邮箱"},model:{value:t.userInfo.Mail,callback:function(e){t.$set(t.userInfo,"Mail",e)},expression:"userInfo.Mail"}})],1),s("v-uni-view",{staticClass:"list-cell"},[s("v-uni-text",{staticClass:"cell-tit"},[t._v("QQ")]),s("v-uni-input",{staticClass:"cell-input",attrs:{type:"text",placeholder:"请输入QQ号"},model:{value:t.userInfo.QQ,callback:function(e){t.$set(t.userInfo,"QQ",e)},expression:"userInfo.QQ"}})],1),s("v-uni-view",{staticClass:"list-cell"},[s("v-uni-text",{staticClass:"cell-tit"},[t._v("微信号")]),s("v-uni-input",{staticClass:"cell-input",attrs:{type:"text",placeholder:"请输入微信号"},model:{value:t.userInfo.Wechat,callback:function(e){t.$set(t.userInfo,"Wechat",e)},expression:"userInfo.Wechat"}})],1),s("v-uni-view",{staticClass:"list-cell"},[s("v-uni-text",{staticClass:"cell-tit"},[t._v("默认企业")]),s("v-uni-input",{staticClass:"cell-input",attrs:{type:"text",placeholder:"请输入默认企业"},model:{value:t.userInfo.Address,callback:function(e){t.$set(t.userInfo,"Address",e)},expression:"userInfo.Address"}})],1),s("v-uni-button",{staticClass:"save-button",attrs:{formType:"submit"}},[t._v("保存")])],1)],1)},a=[]},"8b40":function(t,e,s){var n=s("3dc1");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=s("967d").default;a("0c719d4f",n,!0,{sourceMap:!1,shadowMode:!1})}}]);