(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/xzdl"],{"03e3":function(e,n,t){"use strict";t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return o})),t.d(n,"a",(function(){}));var i=function(){var e=this,n=e.$createElement;e._self._c;e._isMounted||(e.e0=function(n){!e.loaded&&e.confirm()})},o=[]},"919e":function(e,n,t){"use strict";t.r(n);var i=t("03e3"),o=t("e041");for(var a in o)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(a);t("b88d");var d=t("f0c5"),c=Object(d["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=c.exports},b88d:function(e,n,t){"use strict";var i=t("c31c"),o=t.n(i);o.a},c31c:function(e,n,t){},e041:function(e,n,t){"use strict";t.r(n);var i=t("e3bf"),o=t.n(i);for(var a in i)["default"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(a);n["default"]=o.a},e3bf:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=t("5635"),o={components:{pickerAddress:function(){Promise.all([t.e("common/vendor"),t.e("components/wangding-pickerAddress/wangding-pickerAddress")]).then(function(){return resolve(t("89cb"))}.bind(null,t)).catch(t.oe)}},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"])},f799:function(e,n,t){"use strict";(function(e,n){var i=t("4ea4");t("3e39");i(t("66fd"));var o=i(t("919e"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])}},[["f799","common/runtime","common/vendor"]]]);