(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tabbar/user/user"],{78:function(e,n,t){"use strict";(function(e,n){var r=t(4);t(26);r(t(25));var o=r(t(79));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t(1)["default"],t(2)["createPage"])},79:function(e,n,t){"use strict";t.r(n);var r=t(80),o=t(82);for(var u in o)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(u);t(84);var a,c=t(32),s=Object(c["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],a);s.options.__file="pages/tabbar/user/user.vue",n["default"]=s.exports},80:function(e,n,t){"use strict";t.r(n);var r=t(81);t.d(n,"render",(function(){return r["render"]})),t.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(n,"components",(function(){return r["components"]}))},81:function(e,n,t){"use strict";var r;t.r(n),t.d(n,"render",(function(){return o})),t.d(n,"staticRenderFns",(function(){return a})),t.d(n,"recyclableRender",(function(){return u})),t.d(n,"components",(function(){return r}));try{r={uImage:function(){return t.e("uview-ui/components/u-image/u-image").then(t.bind(null,179))},uModal:function(){return t.e("uview-ui/components/u-modal/u-modal").then(t.bind(null,193))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件")}var o=function(){var e=this,n=e.$createElement;e._self._c},u=!1,a=[];o._withStripped=!0},82:function(e,n,t){"use strict";t.r(n);var r=t(83),o=t.n(r);for(var u in r)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(u);n["default"]=o.a},83:function(e,n,t){"use strict";(function(e){var r=t(4);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=r(t(43)),u=r(t(45)),a={data:function(){return{name:"",phone:"",list:["修改密码","退出登录"],show:!1,content:"确定要退出登录吗？"}},onShow:function(){this.getUserInfoFn()},methods:{goPage:function(e){switch(e){case 0:this.$u.route("/pages/alterPassword/alterPassword");break;case 1:this.show=!0;break;default:console.log("Unknown fruit");break}},getUserInfoFn:function(){var e=this;return(0,u.default)(o.default.mark((function n(){var t;return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$u.api.getUserInfo();case 2:t=n.sent,e.name=t.data.name,e.phone=t.data.mobile,e.$u.vuex("userRoles",t.data.roles),e.$u.vuex("userDepartment",t.data.department),console.log(e.userRoles);case 8:case"end":return n.stop()}}),n)})))()},outLogin:function(){e.removeStorageSync("token"),e.removeStorageSync("lifeData"),this.$u.route({type:"reLaunch",url:"/pages/login/login"})}}};n.default=a}).call(this,t(2)["default"])},84:function(e,n,t){"use strict";t.r(n);var r=t(85),o=t.n(r);for(var u in r)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(u);n["default"]=o.a},85:function(e,n,t){}},[[78,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/tabbar/user/user.js.map