require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/user_cancellation/index"],{"3f25":function(e,n,t){"use strict";t.r(n);var i=t("46e0"),a=t("dfdf");for(var c in a)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(c);t("e1ea");var o=t("828b"),r=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"323565ac",null,!1,i["a"],void 0);n["default"]=r.exports},"46e0":function(e,n,t){"use strict";t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){}));var i=function(){var e=this,n=e.$createElement;e._self._c;e._isMounted||(e.e0=function(n){e.inAnimation=!1},e.e1=function(n){e.isCancellation=!1},e.e2=function(n){e.isCancellation=!1},e.e3=function(n){e.showTeamDesc=!1},e.e4=function(n){e.showTeamDesc=!1},e.e5=function(n){e.showPriceDesc=!1},e.e6=function(n){e.showPriceDesc=!1})},a=[]},"5dbc":function(e,n,t){"use strict";(function(e){var i=t("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(t("89cc")),c=t("92f9"),o={mixins:[a.default],components:{tuiModal:function(){t.e("components/tui-modal/index").then(function(){return resolve(t("6b9f"))}.bind(null,t)).catch(t.oe)}},data:function(){return{isCancellation:!1,agreementData:"",protocol:!1,inAnimation:!1,showTeamDesc:!1,showPriceDesc:!1,teamName:""}},onLoad:function(){this.getAgreement()},onShow:function(){e.removeStorageSync("form_type_cart")},methods:{ChangeIsDefault:function(e){this.$set(this,"protocol",!this.protocol)},getAgreement:function(){var e=this;(0,c.getUserAgreement)("cancel").then((function(n){e.agreementData=n.data}))},next:function(){this.protocol?this.getTeamInfo():this.$util.Tips({title:"请先阅读隐私协议"})},cancelUser:function(){var n=this;(0,c.cancelUser)().then((function(t){n.$store.commit("LOGOUT"),e.reLaunch({url:"/pages/index/index"})})).catch((function(e){return n.$util.Tips({title:e})}))},privacy:function(n){e.navigateTo({url:"/pages/users/privacy/index?type="+n})},getTeamInfo:function(){var e=this;(0,c.divisionTeamInfoApi)().then((function(n){var t=n.data||{};if([1,2,3].includes(Number(t.role_type||0))){var i={1:t.team.name,2:t.member.name,3:t.member.name};e.teamName=i[Number(t.role_type)],e.showTeamDesc=!0}else(0,c.getUserInfo)().then((function(n){Number(n.data.brokerage_price)?e.showPriceDesc=!0:e.isCancellation=!0}))}))}}};n.default=o}).call(this,t("df3c")["default"])},"73ab":function(e,n,t){},dfdf:function(e,n,t){"use strict";t.r(n);var i=t("5dbc"),a=t.n(i);for(var c in i)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(c);n["default"]=a.a},e1ea:function(e,n,t){"use strict";var i=t("73ab"),a=t.n(i);a.a},ec1c:function(e,n,t){"use strict";(function(e,n){var i=t("47a9");t("f076");i(t("3240"));var a=i(t("3f25"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(a.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])}},[["ec1c","common/runtime","common/vendor"]]]);