(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/xzdl"],{"0ac8":function(e,n,t){"use strict";t.r(n);var i=t("ce2c"),a=t.n(i);for(var o in i)"default"!==o&&function(e){t.d(n,e,(function(){return i[e]}))}(o);n["default"]=a.a},2230:function(e,n,t){"use strict";var i;t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return o})),t.d(n,"a",(function(){return i}));var a=function(){var e=this,n=e.$createElement;e._self._c;e._isMounted||(e.e0=function(n){!e.loaded&&e.confirm()})},o=[]},"4d83":function(e,n,t){"use strict";(function(e){t("30ba");i(t("66fd"));var n=i(t("8487"));function i(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t("543d")["createPage"])},8487:function(e,n,t){"use strict";t.r(n);var i=t("2230"),a=t("0ac8");for(var o in a)"default"!==o&&function(e){t.d(n,e,(function(){return a[e]}))}(o);t("c261");var c,d=t("f0c5"),r=Object(d["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],c);n["default"]=r.exports},b935:function(e,n,t){},c261:function(e,n,t){"use strict";var i=t("b935"),a=t.n(i);a.a},ce2c:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=t("f9a9"),a=function(){Promise.all([t.e("common/vendor"),t.e("components/wangding-pickerAddress/wangding-pickerAddress")]).then(function(){return resolve(t("1e43"))}.bind(null,t)).catch(t.oe)},o={components:{pickerAddress:a},data:function(){return{loaded:!1,addressDetail:"",chooseLevel:"请选择",leveleId:"",levelList:[{name:"vip代理",id:1},{name:"区域代理",id:2}],addressData:{name:"",mobile:"",address:{province:"",city:"",district:""},area:"",default:!1}}},onLoad:function(){},onShow:function(){},onReachBottom:function(){},onReady:function(){},methods:{bindlevel:function(e){this.chooseLevel=this.levelList[e.detail.value].name,this.leveleId=this.levelList[e.detail.value].id},onCityClick:function(e){var n=e.data,t=this.addressData.address;t.province=n[0],t.city=n[1],t.district=n[2],this.addressDetail=n.join("")},confirm:function(){var n=this;return"请选择"==n.chooseLevel?n.$api.msg("请选择升级身份"):""==n.addressDetail?n.$api.msg("请选择代理区域"):(n.loaded=!0,void(0,i.sqdl)({type:n.leveleId,address:n.addressDetail}).then((function(n){e.showToast({title:"提交成功",duration:2e3}),setTimeout((function(){e.switchTab({url:"/pages/user/user"})}),1500)})).catch((function(e){console.log(e),n.loaded=!1})))}}};n.default=o}).call(this,t("543d")["default"])}},[["4d83","common/runtime","common/vendor"]]]);