(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesClient/official/clientApply"],{"42a4":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=t("8797");function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function i(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?o(Object(t),!0).forEach((function(n){c(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function c(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var a=function(){t.e("components/app-result").then(function(){return resolve(t("9325"))}.bind(null,t)).catch(t.oe)},u=function(){t.e("components/plugin/list-cell").then(function(){return resolve(t("1861"))}.bind(null,t)).catch(t.oe)},l=function(){Promise.all([t.e("common/vendor"),t.e("components/app-uploader")]).then(function(){return resolve(t("f4e1"))}.bind(null,t)).catch(t.oe)},f=function(){t.e("components/app-formRadio-btn").then(function(){return resolve(t("c6ee"))}.bind(null,t)).catch(t.oe)},s=t("90f4"),p={name:"ClientApply",components:{appResult:a,TuiListCell:u,AppUploader:l,appFormRadioBtn:f},data:function(){return{form:{name:"",main:1,licenseNo:"",license:""},selectOptions:[{name:"零售",id:1},{name:"培训",id:2}]}},methods:{resultData:function(e){this.form.license=e.smallUrl},formSubmit:function(e){var n=this,t=[{name:"name",rule:["required"],msg:["请填写昵称"]}],r=this.form,o=s.validation(r,t);o?this.$msg(o):setTimeout((function(){n.confirmFn()}))},confirmFn:function(){var e=this;(0,r.applyRegister)(i(i({},this.form),{},{style:this.option.style||0,from:2})).then((function(n){e.$util.pageTo({url:"/pagesClient/official/clientApply",type:2})}))}}};n.default=p},"48a5":function(e,n,t){"use strict";(function(e){t("6cdc");r(t("e3ac"));var n=r(t("a8ac"));function r(e){return e&&e.__esModule?e:{default:e}}e(n.default)}).call(this,t("1480")["createPage"])},"68d8":function(e,n,t){"use strict";t.r(n);var r=t("42a4"),o=t.n(r);for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);n["default"]=o.a},"998a":function(e,n,t){"use strict";var r=t("e8a8"),o=t.n(r);o.a},"9c3d":function(e,n,t){"use strict";var r;t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return i})),t.d(n,"a",(function(){return r}));var o=function(){var e=this,n=e.$createElement;e._self._c},i=[]},a8ac:function(e,n,t){"use strict";t.r(n);var r=t("9c3d"),o=t("68d8");for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);t("998a");var c,a=t("41a2"),u=Object(a["a"])(o["default"],r["b"],r["c"],!1,null,"7a8d09d6",null,!1,r["a"],c);n["default"]=u.exports},e8a8:function(e,n,t){}},[["48a5","common/runtime","common/vendor"]]]);