王总上门按摩后台代码
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.
shangmenanmo/public/h6/static/js/user-pages-salesman-apply.3...

1 line
6.9 KiB

2 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-salesman-apply"],{"24aa":function(t,e,n){"use strict";n.r(e);var a=n("6304"),i=n("b4b3");for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);var r=n("828b"),u=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"0d8123dc",null,!1,a["a"],void 0);e["default"]=u.exports},6304:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isLoad?n("v-uni-view",{staticClass:"apply-pages"},[t.options.admin_id&&-1!=t.salesman_status||!t.options.admin_id&&[1,2,3].includes(t.salesman_status)?n("v-uni-view",{staticClass:"page-height"},[n("abnor",{attrs:{percent:"150%",title:t.title[t.salesman_status],tip:t.tipArr[t.salesman_status],button:t.buttonArr[t.salesman_status],image:t.image[t.salesman_status],tipMax:4==t.salesman_status?"690rpx":""},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}}})],1):[n("v-uni-view",{staticClass:"apply-form"},[n("v-uni-view",{staticClass:"fill-base mt-md radius-16"},[n("v-uni-view",{staticClass:"flex-between pl-lg pr-lg b-1px-b"},[n("v-uni-view",{staticClass:"item-text"},[t._v("您的姓名")]),n("v-uni-input",{staticClass:"item-input flex-1",attrs:{type:"text",maxlength:"20",placeholder:t.rule[0].errorMsg},model:{value:t.form.user_name,callback:function(e){t.$set(t.form,"user_name",e)},expression:"form.user_name"}})],1),n("v-uni-view",{staticClass:"flex-between pl-lg pr-lg b-1px-b"},[n("v-uni-view",{staticClass:"item-text"},[t._v("手机号码")]),n("v-uni-input",{staticClass:"item-input flex-1",attrs:{type:"text",placeholder:t.rule[1].errorMsg},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}})],1)],1)],1),n("v-uni-view",{staticClass:"space-max-footer"}),n("fix-bottom-button",{attrs:{text:[{text:"确定申请",type:"confirm",isAuth:!0}],bgColor:"#fff"},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.submit.apply(void 0,arguments)}}})]],2):t._e()},i=[]},"85d3":function(t,e,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("fd3c");var i=a(n("9b1b")),s=a(n("2634")),r=a(n("2fdc")),u=n("8f59"),o={components:{},data:function(){return{isLoad:!1,options:{},tipArr:{1:[{text:"您已经成功提交申请",color:0},{text:"审核将在3个工作日内出结果,请耐心等待",color:0}],2:[{text:"恭喜您,审核通过!",color:0},{text:"您已具备业务员资格,快去分享体验吧~",color:0}],3:[{text:"请联系平台管理人员询问原因",color:0}],4:[{text:"请联系平台管理人员询问失败原因",color:0}]},buttonArr:{1:[{text:"个人中心",type:"cancel"}],2:[{text:"去分享",type:"confirm"}],3:[{text:"个人中心",type:"cancel"}],4:[{text:"再次申请",type:"confirm"},{text:"个人中心",type:"cancel"}]},title:{"-1":"申请业务员",1:"等待审核",2:"",3:"取消授权",4:"申请失败"},image:{1:"https://lbqny.migugu.com/admin/public/apply_wait.jpg",2:"https://lbqny.migugu.com/admin/public/apply_suc.jpg",3:"https://lbqny.migugu.com/admin/public/apply_fail.jpg",4:"https://lbqny.migugu.com/admin/public/apply_fail.jpg"},salesman_status:-1,form:{id:0,admin_id:0,user_name:"",phone:""},rule:[{name:"user_name",checkType:"isNotNull",errorMsg:"请输入您的真实姓名",regType:2},{name:"phone",checkType:"isMobile",errorMsg:"请输入常用手机号码"}],lockTap:!1}},computed:(0,u.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},userInfo:function(t){return t.user.userInfo}}),onLoad:function(t){var e=this;return(0,r.default)((0,s.default)().mark((function n(){var a,i,r,u,o;return(0,s.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.$util.showLoading(),a=t,i=a.admin_id,r=void 0===i?0:i,!r){