webpackJsonp([67],{"0Q/I":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("4YfN"),i=a.n(s),n=a("LzJq"),o=a("9rMa"),l=a("I3h8");var r={components:{sailPage:n.a},computed:i()({},Object(o.b)({loginInfo:function(t){return t.loginModule.loginInfo}}),{lastPage:function(){return localStorage.getItem("lastPage").indexOf("MyPage")>-1}}),mounted:function(){},data:function(){return{isLoading:!1,userInfo:{userName:"",cardCode:""}}},methods:{back:function(){this.$router.back()},jump:function(){this.$router.push({path:"/MyPage"})},submit:function(){var t=this,e=this.$refs.name.value,a=this.$refs.code.value;return e?a&&18===a.length?(this.isLoading=!0,this.userInfo={userName:e,cardCode:a},void this.$store.dispatch("bindHouseModule/bindHouseFirst",this.userInfo).then(function(e){if(t.isLoading=!1,e){if(e.Toast.success({duration:1e3,message:"实名认证成功"}),t.$store.commit("loginModule/INIT_LOGIN_INFO",e.data.data.loginInfo),function(t){var e;for(e in t)return!1;return!0}(e.data.data.houseInfo))return void t.$router.push({path:"/switchBindHouse"});t.$store.commit("bindHouseModule/INIT_BIND_HOUSE_INFO",e.data.data),t.$router.push({path:"/autoBindHouse"})}})):(l.f.fail({duration:1e3,message:"身份证号格式错误，请重填！"}),!1):(l.f.fail({duration:1e3,message:"请填写姓名！"}),!1)}}},u={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("sail-page",{attrs:{type:"realNameCheck",title:"绑定房"}},[a("div",{attrs:{slot:"content"},slot:"content"},[a("van-nav-bar",{attrs:{title:"绑定房","left-arrow":"","right-text":t.loginInfo.zhName||t.lastPage?"":"跳过"},on:{"click-left":t.back,"click-right":t.jump}}),t._v(" "),a("p",{staticClass:"real-desc"},[t._v("进行实名认证可直接绑定房源")]),t._v(" "),a("div",{staticClass:"real-form"},[a("div",{staticClass:"weui-cells zero-top"},[a("div",{staticClass:"weui-cell"},[a("div",{staticClass:"weui-cell__hd"},[a("label",{staticClass:"weui-label"},[t._v("姓名")])]),t._v(" "),a("div",{staticClass:"weui-cell__bd"},[a("input",{ref:"name",staticClass:"weui-input",attrs:{disabled:t.loginInfo.zhName,type:"text",placeholder:"请输入姓名"},domProps:{value:t.loginInfo.zhName}})])]),t._v(" "),a("div",{staticClass:"weui-cell"},[a("div",{staticClass:"weui-cell__hd"},[a("label",{staticClass:"weui-label"},[t._v("身份证号")])]),t._v(" "),a("div",{staticClass:"weui-cell__bd"},[a("input",{ref:"code",staticClass:"weui-input",attrs:{disabled:t.loginInfo.cardCode,placeholder:"请输入身份证号码"},domProps:{value:t.loginInfo.cardCode}})])])])]),t._v(" "),a("van-button",{staticClass:"submit-btn",attrs:{loading:t.isLoading,size:"large"},on:{click:t.submit}},[t._v("确定")])],1)])},staticRenderFns:[]};var c=a("Z0/y")(r,u,!1,function(t){a("ZOeM"),a("CUZx")},"data-v-1525a2b6",null);e.default=c.exports},CUZx:function(t,e,a){var s=a("NGny");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);a("FIqI")("68abd262",s,!0,{})},NGny:function(t,e,a){(t.exports=a("UTlt")(!0)).push([t.i,'\n.real-desc[data-v-1525a2b6]{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/bindHouseCheck.vue"],names:[],mappings:";AACA,4BAA4B,gBAAgB,qBAAqB,kBAAkB,mBAAmB,sBAAsB,0HAA0H;CACrP",file:"bindHouseCheck.vue",sourcesContent:['\n.real-desc[data-v-1525a2b6]{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:""}])},ZOeM:function(t,e,a){var s=a("gG9/");"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);a("FIqI")("3eaa1a39",s,!0,{})},"gG9/":function(t,e,a){(t.exports=a("UTlt")(!0)).push([t.i,"","",{version:3,sources:[],names:[],mappings:"",file:"bindHouseCheck.vue",sourceRoot:""}])}});
//# sourceMappingURL=67.fd974609330e82e242e8.js.map