1 |
- webpackJsonp([62],{"2Xbv":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});e("OWWB");var s=e("1fWZ"),o=(e("i0mo"),e("Hkar")),n=(e("iQ6B"),e("H6W6")),r=(e("n90r"),e("dJne")),i=e("7+uW"),c=e("TIfe");i.a.use(s.a).use(o.a).use(n.a).use(r.a);var l={name:"accountSet",data:function(){return{account_info:this.$store.getters.account_info,option:[{text:"账号注销",value:1}],show:!1,password:""}},methods:{plus_menu:function(t){t&&(this.password="",this.show=!0)},verify:function(){var t=this;if(!this.password)return this.$toast("请输入密码"),!1;this.$toast.loading({mask:!0,message:"正在验证..."});var a={tel:this.account_info.tel,password:this.password,custom_prompt:"密码错误"};this.$axiosUser("post","/api/pro/login",{data:Object(c.s)(a)},"v2").then(function(a){1==a.data.code&&t.$router.push({name:"verify"})}).finally(function(a){t.$toast.clear()})}}},u={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"per-info__container"},[e("van-nav-bar",{staticClass:"headerbar no-down-icon",attrs:{title:"账号管理","left-text":"返回","left-arrow":""},on:{"click-left":t.$route_back}},[e("template",{staticClass:"department_right_nav",slot:"right"},[e("van-dropdown-menu",{staticClass:"head_dropdown_menu",attrs:{duration:"0.3",text:"text"}},[e("van-dropdown-item",{attrs:{title:"更多",options:t.option},on:{change:t.plus_menu}})],1)],1)],2),t._v(" "),e("van-cell-group",[e("van-cell",{attrs:{title:"修改密码",to:"change_pwd","is-link":""}})],1),t._v(" "),e("van-dialog",{attrs:{"show-cancel-button":""},on:{confirm:t.verify},model:{value:t.show,callback:function(a){t.show=a},expression:"show"}},[e("div",{staticClass:"text"},[e("div",[t._v("操作前需要验证你的登录密码")]),t._v(" "),e("div",[t._v('如果忘了原密码,请退出登录,点击"忘记密码",使用短信验证码重新登录后设置新密码。')])]),t._v(" "),e("van-cell-group",[e("van-field",{attrs:{label:"原密码",placeholder:"请输入原密码",type:"password"},model:{value:t.password,callback:function(a){t.password=a},expression:"password"}})],1)],1)],1)},staticRenderFns:[]};var d=e("VU/8")(l,u,!1,function(t){e("rSAm")},"data-v-b926f5c8",null);a.default=d.exports},rSAm:function(t,a){}});
|