webpackJsonp([56],{"6Wb0":function(e,t,a){(e.exports=a("UTlt")(!0)).push([e.i,'\n.real-desc[data-v-43c50acc]{text-align:left;padding-left:2.933vw;font-size:2.933vw;margin-top:3.067vw;margin-bottom:3.067vw;content:"viewport-units-buggyfill; padding-left: 2.933vw; font-size: 2.933vw; margin-top: 3.067vw; margin-bottom: 3.067vw"\n}',"",{version:3,sources:["/Users/gongyifeng/workcode/futureFed/sailClientApp/src/pages/form/realNameCheck.vue"],names:[],mappings:";AACA,4BAA4B,gBAAgB,qBAAqB,kBAAkB,mBAAmB,sBAAsB,0HAA0H;CACrP",file:"realNameCheck.vue",sourcesContent:['\n.real-desc[data-v-43c50acc]{text-align:left;padding-left:2.933vw;font-size:2.933vw;margin-top:3.067vw;margin-bottom:3.067vw;content:"viewport-units-buggyfill; padding-left: 2.933vw; font-size: 2.933vw; margin-top: 3.067vw; margin-bottom: 3.067vw"\n}'],sourceRoot:""}])},JlOX:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a("4YfN"),o=a.n(s),i=a("9rMa"),n=a("LzJq"),l=a("I3h8"),r={components:{sailPage:n.a},computed:o()({},Object(i.b)({loginInfo:function(e){return e.loginModule.loginInfo}})),data:function(){return{name:"",code:"",loading:!1}},methods:{bindSelf:function(){var e=this,t=this.$refs.name.value,a=this.$refs.code.value;if(18!==a.length)return l.f.fail({duration:1e3,message:"身份证号格式错误，请重填！"}),!1;this.loading=!0,"normal"===this.$route.params.flag&&this.$store.dispatch("updateUserModule/updateUser",{cardCode:a,headImg:this.loginInfo.headImg,nickname:this.loginInfo.nickname,updateFlag:3,userName:t}).then(function(s){e.loading=!1,s&&(e.$store.commit("loginModule/updateUserInfo",{cardCode:a,zhName:t,cappUserInfo:{userName:t}}),s.Toast.success({duration:1e3,message:"绑定身份证成功"}),e.$router.back())}),"auth"===this.$route.params.flag&&this.$store.dispatch("applyModule/applyLiveFirst",{cardCode:a,userName:t}).then(function(a){e.loading=!1,a?(e.$store.commit("loginModule/updateUserInfo",{cardCode:a.data.data.cardCodeFilter,zhName:t,cappUserInfo:{userName:t}}),a.Toast.success({duration:1e3,message:"绑定身份证成功"}),e.$router.push({path:"/applyCheckIn"})):e.$store.commit("loginModule/INIT_LOGIN_NAME_CART")})}}},c={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("sail-page",{attrs:{type:"realNameCheck",title:"实名认证",isHead:""}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("p",{directives:[{name:"show",rawName:"v-show",value:!e.loginInfo.cardCode,expression:"!loginInfo.cardCode"}],staticClass:"real-desc"},[e._v("需要进行实名认证方可申请入住")]),e._v(" "),a("div",{staticClass:"real-form",staticStyle:{"margin-top":"10px"}},[a("div",{staticClass:"weui-cells zero-top"},[a("div",{staticClass:"weui-cell"},[a("div",{staticClass:"weui-cell__hd"},[a("label",{staticClass:"weui-label"},[e._v("姓名")])]),e._v(" "),a("div",{staticClass:"weui-cell__bd"},[a("input",{ref:"name",staticClass:"weui-input",attrs:{disabled:e.loginInfo.zhName,type:"text",placeholder:"请输入姓名"},domProps:{value:e.loginInfo.zhName}})])]),e._v(" "),a("div",{staticClass:"weui-cell"},[a("div",{staticClass:"weui-cell__hd"},[a("label",{staticClass:"weui-label"},[e._v("身份证号")])]),e._v(" "),a("div",{staticClass:"weui-cell__bd"},[a("input",{ref:"code",staticClass:"weui-input",attrs:{disabled:e.loginInfo.cardCode,placeholder:"请输入身份证号"},domProps:{value:e.loginInfo.cardCode}})])])])]),e._v(" "),a("van-button",{staticClass:"submit-btn",attrs:{loading:e.loading,size:"large",disabled:!!e.loginInfo.cardCode},on:{click:e.bindSelf}},[e._v("确定")])],1)])},staticRenderFns:[]};var d=a("Z0/y")(r,c,!1,function(e){a("d+Bj"),a("O4Qw")},"data-v-43c50acc",null);t.default=d.exports},O4Qw:function(e,t,a){var s=a("6Wb0");"string"==typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);a("FIqI")("e0fe4676",s,!0,{})},YcQL:function(e,t,a){(e.exports=a("UTlt")(!0)).push([e.i,"","",{version:3,sources:[],names:[],mappings:"",file:"realNameCheck.vue",sourceRoot:""}])},"d+Bj":function(e,t,a){var s=a("YcQL");"string"==typeof s&&(s=[[e.i,s,""]]),s.locals&&(e.exports=s.locals);a("FIqI")("eb3de77a",s,!0,{})}});
//# sourceMappingURL=56.d969cb62b3a07a30e1a0.js.map