(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-36408497"],{"3b50":function(t,n,i){},"4f61":function(t,n,i){},a123:function(t,n,i){"use strict";i("4f61")},d864:function(t,n,i){"use strict";i.r(n);var e=function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("div",{staticClass:"bind"},[i("nav-back-bar",{attrs:{title:t.$t("login.bindDev")}}),i("div",{staticClass:"bind-container"},[i("div",{staticClass:"select-wrap"},[i("div",{staticClass:"select-wrap-inner"},[i("div",{staticClass:"left-label"},[t._v(t._s(t.$t("login.deviceType")))]),i("div",{staticClass:"right-desc"},[t._v(" GF-3K "),i("van-icon",{staticStyle:{top:"2px"},attrs:{name:"arrow-down"}})],1)])]),i("p",{staticClass:"user-tip"},[t._v(" "+t._s(t.$t("login.inputVehicleSn"))),i("b",[t._v("*")])]),i("phone-input",{attrs:{label:t.$t("login.deviceid")},model:{value:t.deviceid,callback:function(n){t.deviceid=n},expression:"deviceid"}}),i("div",{staticClass:"bind-btn"},[i("van-button",{staticStyle:{width:"100%","margin-top":"20px"},attrs:{round:"",type:"info"},on:{click:t.onBinding}},[t._v(" "+t._s(t.$t("login.bind"))+" ")])],1)],1)],1)},a=[],s=(i("ac1f"),i("5319"),i("f5fa")),o=i("4678"),c=i("b562"),r={data:function(){return{deviceid:""}},methods:{onBinding:function(){var t=this,n=this.userName,i=this.token,e=this.deviceid;Object(c["a"])(n,e,i).then((function(n){var i=n.status;0==i?t.$router.replace({name:"home"}):1==i?t.$toast.fail(t.$t("tips.deviceNotFound")):2==i?t.$toast.fail(t.$t("tips.bindPasswordNotMatch")):3==i?t.$toast.fail(t.$t("tips.notAllowBind")):3==i?t.$toast.fail(t.$t("tips.onlyNormalUserCouldBind")):t.$toast.fail(t.$t("tips.bindFailed"))})).catch((function(n){t.$toast.fail(t.$t("tips.networkError"))}))}},computed:{token:function(){return this.$store.state.token},userName:function(){return this.$store.state.userName}},components:{NavBackBar:s["a"],PhoneInput:o["a"]}},l=r,d=(i("a123"),i("2877")),f=Object(d["a"])(l,e,a,!1,null,"85628612",null),u=f.exports;n["default"]=u},de6c:function(t,n,i){"use strict";i("3b50")},f5fa:function(t,n,i){"use strict";var e=function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("div",{staticClass:"nav-back-bar"},[i("van-nav-bar",{scopedSlots:t._u([{key:"left",fn:function(){return[i("van-icon",{staticStyle:{color:"#ffffff"},attrs:{name:t.icon,size:"18"},on:{click:t.onClickLeft}})]},proxy:!0},{key:"title",fn:function(){return[i("span",{staticStyle:{color:"#ffffff","font-size":"20px"},domProps:{textContent:t._s(t.title)}})]},proxy:!0}])})],1)},a=[],s={name:"NavBackBar",props:{title:{type:String,default:""},icon:{type:String,default:"cross"}},data:function(){return{}},methods:{onClickLeft:function(){this.$router.back()}}},o=s,c=(i("de6c"),i("2877")),r=Object(c["a"])(o,e,a,!1,null,"b680e24e",null),l=r.exports;n["a"]=l}}]);