1 line
8.8 KiB
JavaScript
1 line
8.8 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-promoter-index"],{"172d":function(t,e,a){t.exports=a.p+"static/img/bg-linear.5a23c023.png"},"17af":function(t,e,a){"use strict";a.r(e);var i=a("6989"),n=a("26da");for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);a("64d4");var o=a("f0c5"),d=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"f9d59c54",null,!1,i["a"],void 0);e["default"]=d.exports},"1de5":function(t,e,a){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"26da":function(t,e,a){"use strict";a.r(e);var i=a("58bb"),n=a.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);e["default"]=n.a},"58bb":function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("c7eb")),r=i(a("1da1")),o=i(a("5530")),d=a("26cb"),s=a("2110"),l={name:"Register",data:function(){return{loading:!1,nickname:""}},computed:(0,o.default)({},(0,d.mapGetters)(["tenantInfo","userInfo"])),methods:{onRegister:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var a;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loading=!0,e.prev=1,e.next=4,(0,s.registerPromoter)({nickname:t.nickname,mobile:t.userInfo.mobile,status:1,sourceType:2});case 4:a=e.sent,t.$util.Tips({title:0===a.code?"注册成功":a.msg},{tab:1,url:"/pages/member_application/index"}),e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](1),t.$util.Tips({title:e.t0});case 11:return e.prev=11,t.loading=!1,e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[1,8,11,14]])})))()}}};e.default=l},"64d4":function(t,e,a){"use strict";var i=a("b387"),n=a.n(i);n.a},6989:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"login-wrapper"},[t._m(0),a("v-uni-view",{staticClass:"title"},[t._v("注册推广员")]),a("div",{staticClass:"whiteBg"},[a("div",{staticClass:"list"},[a("v-uni-form",{on:{submit:function(e){e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.submit.apply(void 0,arguments)}}},[a("div",{staticClass:"item"},[a("div",{staticClass:"acea-row row-middle"},[a("v-uni-text",{staticClass:"label"},[t._v("所属公司")]),a("v-uni-input",{staticClass:"texts",attrs:{type:"text",disabled:!0,value:t.tenantInfo.name||"--"}})],1)]),a("div",{staticClass:"item"},[a("div",{staticClass:"acea-row row-middle"},[a("v-uni-text",{staticClass:"label"},[t._v("手机号")]),a("v-uni-input",{staticClass:"texts",attrs:{type:"text",value:t.userInfo.mobile||"--",disabled:!0}})],1)]),a("div",{staticClass:"item"},[a("div",{staticClass:"acea-row row-middle"},[a("v-uni-text",{staticClass:"label"},[t._v("姓名")]),a("v-uni-input",{staticClass:"texts",attrs:{type:"text",maxlength:"100",placeholder:"请输入"},model:{value:t.nickname,callback:function(e){t.nickname=e},expression:"nickname"}})],1)])])],1),a("v-uni-button",{staticClass:"logon",attrs:{disabled:t.loading,loading:t.loading},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onRegister.apply(void 0,arguments)}}},[t._v("注册推广员")])],1),a("div",{staticClass:"bottom"})],1)},n=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"logo-wrap"},[e("img",{staticStyle:{width:"105rpx",height:"105rpx"},attrs:{src:"/static/images/mallLogo.png"}}),e("img",{staticStyle:{width:"233rpx",height:"43rpx"},attrs:{src:"/static/images/mall.png"}})])}]},"7cb6":function(t,e,a){var i=a("24fb"),n=a("1de5"),r=a("172d");e=i(!1);var o=n(r);e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方<E4B889><E696B9>
|