You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
2.7 KiB
JavaScript

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/my/index"],{"17aa":function(t,n,e){"use strict";var o=e("65ba"),a=e.n(o);a.a},"2c94":function(t,n,e){"use strict";(function(t,n){var o=e("4ea4");e("260f");o(e("66fd"));var a=o(e("39e2"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(a.default)}).call(this,e("bc2e")["default"],e("543d")["createPage"])},"39e2":function(t,n,e){"use strict";e.r(n);var o=e("7569"),a=e("4077");for(var i in a)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(i);e("17aa");var c=e("f0c5"),r=Object(c["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=r.exports},4077:function(t,n,e){"use strict";e.r(n);var o=e("b256"),a=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i);n["default"]=a.a},"65ba":function(t,n,e){},7569:function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var o=function(){var t=this.$createElement;this._self._c},a=[]},b256:function(t,n,e){"use strict";(function(t){var o=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("b1c2"),i=(e("b434"),o(e("3f96")),{data:function(){return{title:"我的",myInfo:{phone:"13800008888",cartId:"230202199000010097"},userInfo:{},phoneFlag:!0,cardIdFlag:!0,listArray:[{icon:"../../static/images/my/my-medal-icon.png",title:"我的证书",linkHref:"/pages/studyRecord/index"},{icon:"../../static/images/my/study-record-icon.png",title:"选调培训记录"},{icon:"../../static/images/my/logout-icon.png",title:"退出当前帐号"}],phone:"",cartId:""}},components:{mHeader:function(){Promise.all([e.e("common/vendor"),e.e("pages/components/mHeader/index")]).then(function(){return resolve(e("1d12"))}.bind(null,e)).catch(e.oe)}},created:function(){this._getUserInfo()},methods:{_getUserInfo:function(){this.userInfo=this.$store.state.userInfo},handlerPhoneStatus:function(){this.phoneFlag=!this.phoneFlag,this.phoneFlag?this.myInfo.phone=this.phone:(this.phone=this.myInfo.phone,this.myInfo.phone=(0,a.formatPhone)(this.myInfo.phone))},handlerCartIdStatus:function(){this.cardIdFlag=!this.cardIdFlag,this.cardIdFlag?this.myInfo.cartId=this.cartId:(this.cartId=this.myInfo.cartId,this.myInfo.cartId=(0,a.formatIdcard)(this.myInfo.cartId))},handlerTo:function(n){n?t.navigateTo({url:n}):this.logout()},logout:function(){var n=this;t.showModal({title:"提示",content:"确定要退出吗?",success:function(e){e.confirm&&(n.$store.commit("GET_TOKEN",""),n.$store.commit("GET_USER_INFO",{}),t.clearStorage(),t.reLaunch({url:"/pages/login/index"}))}})}}});n.default=i}).call(this,e("543d")["default"])}},[["2c94","common/runtime","common/vendor"]]]);