公司小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
7.1 KiB

3 years ago
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/CooperationApply/CooperationApply"],{"13ca":function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return a})),t.d(n,"a",(function(){return r}));var r={uNavbar:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-navbar/u-navbar")]).then(t.bind(null,"17d2"))},uForm:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-form/u-form")]).then(t.bind(null,"aa1a"))},uFormItem:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-form-item/u-form-item")]).then(t.bind(null,"a3a3"))},uIcon:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(t.bind(null,"602e"))},pickRegions:function(){return Promise.all([t.e("common/vendor"),t.e("components/pick-regions/pick-regions")]).then(t.bind(null,"d93e"))},uParse:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-parse/u-parse")]).then(t.bind(null,"c3d9"))},uPopup:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-popup/u-popup")]).then(t.bind(null,"490c"))},UploadSuccess:function(){return t.e("components/UploadSuccess/UploadSuccess").then(t.bind(null,"4abf"))}},o=function(){var e=this,n=e.$createElement,t=(e._self._c,e.getTitleText()),r=e.isAgree.toString();e._isMounted||(e.e0=e.rules["person.name"].validator,e.e1=e.rules["person.referrer"].validator),e.$mp.data=Object.assign({},{$root:{m0:t,g0:r}})},a=[]},2546:function(e,n,t){"use strict";t.r(n);var r=t("597f"),o=t.n(r);for(var a in r)"default"!==a&&function(e){t.d(n,e,(function(){return r[e]}))}(a);n["default"]=o.a},"597f":function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=a(t("a34a")),o=t("7f93");function a(e){return e&&e.__esModule?e:{default:e}}function i(e,n,t,r,o,a,i){try{var u=e[a](i),s=u.value}catch(c){return void t(c)}u.done?n(s):Promise.resolve(s).then(r,o)}function u(e){return function(){var n=this,t=arguments;return new Promise((function(r,o){var a=e.apply(n,t);function u(e){i(a,r,o,u,s,"next",e)}function s(e){i(a,r,o,u,s,"throw",e)}u(void 0)}))}}var s=function(){t.e("components/UploadSuccess/UploadSuccess").then(function(){return resolve(t("4abf"))}.bind(null,t)).catch(t.oe)},c=getApp().globalData.Player,l=getApp().globalData.Define,p={note:"",partnerinfo:{},partnerstatus:0,toppic:{}},d={components:{UploadSuccess:s},onLoad:function(){e.showLoading({});getApp().globalData.agreementData;this.$utils.getAgreementData();var n=this;(0,o.post)("pages/getbecpartner",{}).then((function(t){var r,o,a;e.hideLoading();var i=l.onNetMessage(t);if(i){n.pageData=i;var u=i.partnerstatus,s=getApp().globalData.mainPageData;s.partnerstatus=u,console.log("合作申请页面信息:",i);var c=i.partnerinfo,p=n.person;p.name=null!==(r=c.name)&&void 0!==r?r:"",p.phone=null!==(o=c.phone)&&void 0!==o?o:"",p.referrer=null!==(a=c.recommender)&&void 0!==a?a:"";var d=c.province,f=c.city,m=c.area;d&&""!=d&&(n.defaultRegion=[d,f,m],p.address=d+" "+f+" "+m),i.partnerstatus>0&&(n.isAgree=!0,console.log("强制改变当前选中状态"))}}))},data:function(){var n=this;return{pageData:p,isAgree:!1,isShowUpload:!1,person:{name:"",phone:c.phone,address:"",referrer:""},rules:{"person.name":{type:"string",required:!0,message:"请输入您的姓名",validator:function(e){n.person.name=e.detail.value}},"person.phone":{type:"string",required:!0,message:"请输入您的联系电话",validator:function(t){var r=e.$u.test.mobile(t.detail.value);return r?n.person.phone=t.detail.value:(e.$u.toast("请输入正确的电话号码!"),n.person.phone=""),r}},"person.address":{type:"string",required:!1,message:"请选择您的地址"},"person.referrer":{type:"string",required:!1,message:"请输入推荐人电话号码",validator:function(t){var r=e.$u.test.mobile(t.detail.value);return r?n.person.referrer=t.detail.value:(e.$u.toast("请输入正确的电话号码!"),n.