(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e36407fc"],{"16e0":function(t,e,n){"use strict";n.d(e,"m",(function(){return a})),n.d(e,"v",(function(){return i})),n.d(e,"Q",(function(){return u})),n.d(e,"U",(function(){return c})),n.d(e,"h",(function(){return s})),n.d(e,"f",(function(){return d})),n.d(e,"w",(function(){return f})),n.d(e,"P",(function(){return p})),n.d(e,"O",(function(){return l})),n.d(e,"S",(function(){return m})),n.d(e,"x",(function(){return g})),n.d(e,"F",(function(){return b})),n.d(e,"E",(function(){return v})),n.d(e,"L",(function(){return y})),n.d(e,"k",(function(){return h})),n.d(e,"G",(function(){return x})),n.d(e,"H",(function(){return T})),n.d(e,"C",(function(){return C})),n.d(e,"B",(function(){return k})),n.d(e,"I",(function(){return I})),n.d(e,"D",(function(){return O})),n.d(e,"y",(function(){return N})),n.d(e,"K",(function(){return _})),n.d(e,"A",(function(){return w})),n.d(e,"J",(function(){return j})),n.d(e,"z",(function(){return A})),n.d(e,"u",(function(){return E})),n.d(e,"q",(function(){return D})),n.d(e,"p",(function(){return P})),n.d(e,"T",(function(){return S})),n.d(e,"r",(function(){return F})),n.d(e,"t",(function(){return $})),n.d(e,"s",(function(){return L})),n.d(e,"g",(function(){return R})),n.d(e,"b",(function(){return q})),n.d(e,"e",(function(){return U})),n.d(e,"M",(function(){return M})),n.d(e,"c",(function(){return B})),n.d(e,"N",(function(){return G})),n.d(e,"d",(function(){return V})),n.d(e,"i",(function(){return W})),n.d(e,"V",(function(){return J})),n.d(e,"a",(function(){return X})),n.d(e,"l",(function(){return Y})),n.d(e,"n",(function(){return K})),n.d(e,"j",(function(){return Q})),n.d(e,"o",(function(){return z})),n.d(e,"R",(function(){return H})),n.d(e,"Y",(function(){return Z})),n.d(e,"Z",(function(){return tt})),n.d(e,"X",(function(){return et})),n.d(e,"W",(function(){return nt}));var r=n("284b"),o=n("f121"),a=o["a"]+"/admin/dealer/invitation-code/excel/excelDownload",i=function(t){return r["a"].post("/admin/dealer/invitation-code/queryDealerInvitationCodeResult",t)},u=function(t){return r["a"].post("/admin/dealer/invitation-code/saveDealerInvitationCode",t)},c=function(t){return r["a"].post("/admin/dealer/invitation-code/updDealerInvitationCode",t)},s=function(t){return r["a"].get("/admin/dealer/invitation-code/getDealerInvitationCodeResult",{params:t})},d=function(){return r["a"].get("/admin/agent/select/users")},f=function(t){return r["a"].get("/admin/dealer/invitation-code/disabled",{params:t})},p=function(t){return r["a"].post("/admin/dealer/invitation-code/queryDealerInvitationRecordResult",t)},l=function(t){return r["a"].post("/adminv2/dealer/queryInvitationCode",t)},m=function(t){return r["a"].post("/admin/files/getQRCodeBase64",t)},g=function(t){return r["a"].post("/admin/dealer/invitation-record/setStatus",t)},b=function(t){return r["a"].post("/admin/dealer/invitation-code/generateDealerInvitationCode",t)},v=function(t){return r["a"].post("/admin/dealer/invitation-code/queryAgentDealerInvitationRecordResult",t)},y=function(t){return r["a"].get("/admin/agent/goods/lists/".concat(t.agentUserId),{params:t})},h=function(t){return r["a"].post("/admin/course/info/tab/queryCourseInfoAll",t)},x=function(t){return r["a"].post("/admin/member/tab",t)},T=function(t){return r["a"].post("/adminv2/member/lists",t)},C=function(t){return r["a"].post("/adminv2/member/enable",t)},k=function(t){return r["a"].post("/adminv2/member/disable",t)},I=function(t){return r["a"].post("/admin/member/record",t)},O=function(t){return r["a"].get("/admin/member/invalidate",{params:t})},N=function(t){return r["a"].post("/adminv2/member/add",t)},_=function(t){return r["a"].post("/adminv2/member/update",t)},w=function(t){return r["a"].post("/adminv2/member/detail",t)},j=function(t){return r["a"].post("/admin/member/sort",t)},A=function(t){return r["a"].post("/admin/member/delay",t)},E=function(t){return r["a"].post("/admin/agent/users",t)},D=function(t){return r["a"].post("/admin/agent/enable/".concat(t.agentUserId),t)},P=function(t){return r["a"].post("/admin/agent/disable/".concat(t.agentUserId),t)},S=function(t){return r["a"].post("/admin/sys/user/tab",t)},F=function(t){return r["a"].get("/admin/agent/select/label",{params:t})},$=function(t){return r["a"].get("/admin/agent/user/info/".concat(t.agentUserId),{params:t})},L=function(t){return r["a"].post("/admin/agent/setting",t)},R=function(t){return r["a"].post("/admin/agent/update",t)},q=function(t){return r["a"].post("/admin/agent",t)},U=o["a"]+"/admin/agent/export",M=function(t){return r["a"].get("/admin/agent/order/codes/".concat(t.agentUserId),{params:t})},B=function(t){return r["a"].post("/admin/agent/configs",t)},G=function(t){return r["a"].get("/admin/agent/config/".concat(t.id),{params:t})},V=function(t){return r["a"].post("/admin/agent/config/update/".concat(t.id),t)},W=function(t){return r["a"].post("/adminv2/getCouponList",t)},J=function(t){return r["a"].post("/adminv2/upCouponStatus",t)},X=function(t){return r["a"].post("/adminv2/addCoupon",t)},Y=function(t){return r["a"].post("/adminv2/editCoupon",t)},K=function(t){return r["a"].post("/adminv2/getCouponInfo",t)},Q=function(t){return r["a"].post("/adminv2/getCouponUseInfo",t)},z=function(t){return r["a"].post("/adminv2/getMemberAppShow ",t)},H=function(t){return r["a"].post("/adminv2/setMemberAppShow ",t)},Z=function(t){return r["a"].post("/adminv2/shoptask/lists",t)},tt=function(t){return r["a"].post("/adminv2/shoptask/removed",t)},et=function(t){return r["a"].post("/adminv2/shoptask/getOne",t)},nt=function(t){return r["a"].post("/adminv2/shoptask/edit",t)}},"3efb":function(t,e,n){},"432b":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("5530"),o=n("2f62"),a={computed:Object(r["a"])({},Object(o["b"])({sideCollapsed:function(t){return t.app.sideCollapsed}}))}},"4de4":function(t,e,n){"use strict";var r=n("23e7"),o=n("b727").filter,a=n("1dde"),i=a("filter");r({target:"Array",proto:!0,forced:!i},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},5530:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n("b64b"),n("a4d3"),n("4de4"),n("e439"),n("159b"),n("dbb4");var r=n("ade3");function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e2)if(s=b(s),e=s.charCodeAt(0),43===e||45===e){if(n=s.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(s.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=s.slice(2),i=a.length,u=0;uo)return NaN;return parseInt(a,r)}return+s};if(a(v,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var C,k=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof k&&(x?f((function(){h.valueOf.call(n)})):c(n)!=v)?s(new y(T(e)),n,k):T(e)},I=r?l(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),O=0;I.length>O;O++)u(y,C=I[O])&&!u(k,C)&&g(k,C,m(y,C));k.prototype=h,h.constructor=k,i(o,v,k)}},ade3:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},aecc:function(t,e,n){"use strict";n("3efb")},b64b:function(t,e,n){var r=n("23e7"),o=n("7b0b"),a=n("df75"),i=n("d039"),u=i((function(){a(1)}));r({target:"Object",stat:!0,forced:u},{keys:function(t){return a(o(t))}})},dbb4:function(t,e,n){var r=n("23e7"),o=n("83ab"),a=n("56ef"),i=n("fc6a"),u=n("06cf"),c=n("8418");r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){var e,n,r=i(t),o=u.f,s=a(r),d={},f=0;while(s.length>f)n=o(r,e=s[f++]),void 0!==n&&c(d,e,n);return d}})},de9a:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._m(0),n("a-form-model",{ref:"ruleForm",attrs:{model:t.form,rules:t.rules,labelAlign:"left","label-col":{span:2},"wrapper-col":{span:8}}},[n("a-form-model-item",{attrs:{label:"代理等级",prop:"agentName"}},[n("a-input",{attrs:{placeholder:"请输入代理等级名称"},model:{value:t.form.agentName,callback:function(e){t.$set(t.form,"agentName",e)},expression:"form.agentName"}})],1),n("a-form-model-item",{attrs:{label:"代理类型",prop:"proxyType"}},[n("a-radio-group",{attrs:{name:"radioGroup",value:t.form.proxyType},on:{change:t.proxyTypeChange}},[n("a-radio",{attrs:{value:1}},[t._v(" 按区域 ")])],1)],1),n("a-form-model-item",{attrs:{label:"选择区域",prop:"regionType"}},[n("a-select",{staticStyle:{width:"200px"},attrs:{"show-search":"",disabled:0!=t.$route.params.id,placeholder:"点击选择主讲老师","option-filter-prop":"children",getPopupContainer:function(e){return e.parentNode||t.document.body}},on:{change:t.regionTypeChange},model:{value:t.form.regionType,callback:function(e){t.$set(t.form,"regionType",e)},expression:"form.regionType"}},t._l(t.regionTypeArr,(function(e){return n("a-select-option",{key:e.labelNo,attrs:{value:e.labelNo}},[t._v(" "+t._s(e.labelText)+" ")])})),1)],1),n("a-form-model-item",{attrs:{label:"佣金类型",prop:"proxyType"}},[n("a-radio-group",{attrs:{name:"radioGroup",value:t.form.commissionType},on:{change:t.commissionTypeChange}},[n("a-radio",{attrs:{value:1}},[t._v(" 每单固定金额 ")])],1)],1),n("a-form-model-item",{attrs:{label:"佣金金额",prop:"commission"}},[n("a-input-number",{staticStyle:{width:"120px"},attrs:{maxLength:"5",min:0,max:99999.99,precision:2,placeholder:"请输入价格"},model:{value:t.form.commission,callback:function(e){t.$set(t.form,"commission",e)},expression:"form.commission"}}),t._v(" 元 ")],1),n("a-form-model-item",{attrs:{label:"说明",prop:"remark"}},[n("a-textarea",{attrs:{rows:5,maxLength:300},model:{value:t.form.remark,callback:function(e){t.$set(t.form,"remark",e)},expression:"form.remark"}}),n("span",{staticClass:"form_span"},[t._v(t._s(t.form.remark.length)+"/300")])],1)],1),n("FooterToolBar",{attrs:{collapsed:t.sideCollapsed}},[n("a-button",{staticClass:"margin_right60",on:{click:t.backClick}},[t._v("返回")]),n("a-button",{attrs:{type:"primary",loading:t.keepLoading,disabled:t.keepLoading},on:{click:t.keepClick}},[t._v("保存")])],1)],1)},o=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{staticClass:"title"},[n("span"),t._v("基本信息")])}],a=n("432b"),i=n("5a70"),u=n("f64c"),c=n("16e0"),s={mixins:[a["a"]],components:{FooterToolBar:i["a"]},created:function(){this.form.id=this.$route.params.id,"0"!=this.form.id&&this.ProxyConfigDetailFn(this.form.id)},data:function(){return{keepLoading:!1,regionTypeArr:[{labelNo:1,labelText:"省"},{labelNo:2,labelText:"市"},{labelNo:3,labelText:"区"}],form:{id:"",agentName:"",remark:"",proxyType:1,commissionType:1,regionType:1,commission:""},rules:{agentName:[{required:!0,message:"输入的内容不能为空",trigger:"blur"}],proxyType:[{required:!0}],commissionType:[{required:!0}],commission:[{required:!0,message:"输入的内容不能为空",trigger:"blur"}]}}},methods:{proxyTypeChange:function(t){this.form.proxyType=t.target.value},regionTypeChange:function(t){this.regionType=t,console.log(this.regionType)},commissionTypeChange:function(t){this.form.commissionType=t.target.value},backClick:function(){this.$router.go(-1)},keepClick:function(){var t=this;this.keepLoading=!0,setTimeout((function(){t.keepLoading=!1}),3e3),this.$refs.ruleForm.validate((function(e){e?Object(c["d"])(t.form).then((function(e){var n=e.code;e.data;200==n&&(0!=t.$route.params.id?u["a"].success("编辑成功"):u["a"].success("添加成功"),localStorage.setItem("proxyActiveKey","2"),t.$router.push("/marketingCenter/proxyManage"))})):u["a"].error("还有必填项未完成")}))},ProxyConfigDetailFn:function(t){var e=this;Object(c["N"])({id:t}).then((function(t){var n=t.code,r=t.data;200==n&&(e.form=r,e.form.proxyType=1,e.form.commissionType=1)}))}}},d=s,f=(n("aecc"),n("2877")),p=Object(f["a"])(d,r,o,!1,null,"616e409e",null);e["default"]=p.exports},e439:function(t,e,n){var r=n("23e7"),o=n("d039"),a=n("fc6a"),i=n("06cf").f,u=n("83ab"),c=o((function(){i(1)})),s=!u||c;r({target:"Object",stat:!0,forced:s,sham:!u},{getOwnPropertyDescriptor:function(t,e){return i(a(t),e)}})},e481:function(t,e,n){"use strict";n("9940")}}]); //# sourceMappingURL=chunk-e36407fc.129594cc.js.map