chunk-53af4ed8.f89ba2f9.js 11 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-53af4ed8"],{"2c3e":function(t,e,n){var a=n("83ab"),r=n("9f7f").MISSED_STICKY,i=n("c6b6"),o=n("edd0"),c=n("69f3").get,s=RegExp.prototype,u=TypeError;a&&r&&o(s,"sticky",{configurable:!0,get:function(){if(this!==s){if("RegExp"===i(this))return!!c(this).sticky;throw new u("Incompatible receiver, RegExp required")}}})},"4d63":function(t,e,n){var a=n("83ab"),r=n("cfe9"),i=n("e330"),o=n("94ca"),c=n("7156"),s=n("9112"),u=n("7c73"),l=n("241c").f,d=n("3a9b"),f=n("44e7"),g=n("577e"),m=n("90d8"),p=n("9f7f"),h=n("aeb0"),b=n("cb2d"),v=n("d039"),y=n("1a2d"),w=n("69f3").enforce,x=n("2626"),_=n("b622"),O=n("fce3"),j=n("107c"),k=_("match"),V=r.RegExp,S=V.prototype,E=r.SyntaxError,R=i(S.exec),M=i("".charAt),C=i("".replace),L=i("".indexOf),$=i("".slice),D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,T=/a/g,A=(n=new V(I)!==I,p.MISSED_STICKY),P=p.UNSUPPORTED_Y;_=a&&(!n||A||O||j||v((function(){return T[k]=!1,V(I)!==I||V(T)===T||"/a/i"!==String(V(I,"i"))})));if(o("RegExp",_)){for(var q=function(t,e){var n,a,r=d(S,this),i=f(t),o=void 0===e,l=[],p=t;if(!r&&i&&o&&t.constructor===q)return t;if((i||d(S,t))&&(t=t.source,o)&&(e=m(p)),t=void 0===t?"":g(t),e=void 0===e?"":g(e),p=t,i=e=O&&"dotAll"in I&&(n=!!e&&-1<L(e,"s"))?C(e,/s/g,""):e,A&&"sticky"in I&&(a=!!e&&-1<L(e,"y"))&&P&&(e=C(e,/y/g,"")),j&&(t=(o=(t=>{for(var e,n=t.length,a=0,r="",i=[],o=u(null),c=!1,s=!1,l=0,d="";a<=n;a++){if("\\"===(e=M(t,a)))e+=M(t,++a);else if("]"===e)c=!1;else if(!c)switch(!0){case"["===e:c=!0;break;case"("===e:if(r+=e,"?:"===$(t,a+1,a+3))continue;R(D,$(t,a+1))&&(a+=2,s=!0),l++;continue;case">"===e&&s:if(""===d||y(o,d))throw new E("Invalid capture group name");o[d]=!0,s=!(i[i.length]=[d,l]),d="";continue}s?d+=e:r+=e}return[r,i]})(t))[0],l=o[1]),o=c(V(t,e),r?this:S,q),(n||a||l.length)&&(e=w(o),n&&(e.dotAll=!0,e.raw=q((t=>{for(var e,n=t.length,a=0,r="",i=!1;a<=n;a++)"\\"===(e=M(t,a))?r+=e+M(t,++a):i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),r+=e):r+="[\\s\\S]";return r})(t),i)),a&&(e.sticky=!0),l.length)&&(e.groups=l),t!==p)try{s(o,"source",""===p?"(?:)":p)}catch(t){}return o},N=l(V),U=0;N.length>U;)h(q,V,N[U++]);(S.constructor=q).prototype=S,b(r,"RegExp",q,{constructor:!0})}x("RegExp")},"61f7":function(t,e,n){n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return s})),n.d(e,"b",(function(){return u}));var a=n("ade3"),r=n("5530");function i(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var n,a,r={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(n in r)new RegExp("(".concat(n,")")).test(e)&&(a=r[n]+"",e=e.replace(RegExp.$1,1===RegExp.$1.length?a:("00"+a).substr(a.length)));return e}n("99af"),n("13d5"),n("e9f5"),n("9485"),n("b64b"),n("d3b7"),n("4d63"),n("c607"),n("ac1f"),n("2c3e"),n("00b4"),n("25f0"),n("5319"),n("498a");var o={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"};function c(t,e){t.message=function(t){return e.replace("%s",t||"")}}function s(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return Object(r.a)({required:!0,message:t,type:"string"},e)}function u(t){return l.pattern(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,t)}c(s,"请输入%s"),c(u,"%s格式不正确");var l=Object.keys(o).reduce((function(t,e){return t[e]=function(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},o="range"===e?{min:t[0],max:t[1]}:Object(a.a)({},e,t);return Object(r.a)(Object(r.a)({message:n.replace(":".concat(e),"range"===e?"".concat(t[0],"-").concat(t[1]):t),type:"string"},o),i)},c(t[e],o[e]),t}),{})},"7e078":function(t,e,n){n.r(e),n("b0c0");var a=n("c14f"),r=n("1da1"),i=n("5530"),o=(n("a15b"),n("4e82"),n("2f62")),c=n("bbbc"),s=n("61f7"),u=n("1031");i={name:"agent_extra",data:function(){return{grid:{xl:7,lg:7,md:12,sm:24,xs:24},total:0,total2:0,statusList:[{status_name:"事业部",id:"1"},{status_name:"代理商",id:"2"},{status_name:"员工",id:"3"}],userLists:[],formInline:{uid:0,proportion:0,image:""},timeVal:[],FromData:null,loading:!1,current:0,formValidate:{page:1,limit:15,time:"",type:"1",sort:"",order:""},staffModal:!1,clerkReqData:{uid:0,page:1,limit:15},clerkLists:[],pickerOptions:u.a}},filters:{formatDate:function(t){if(0!==t)return t=new Date(1e3*t),Object(s.a)(t,"yyyy-MM-dd hh:mm")}},computed:Object(i.a)(Object(i.a)({},Object(o.d)("media",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:"70px"},labelPosition:function(){return this.isMobile?"top":"right"}}),mounted:function(){this.getList()},methods:{onchangeTime:function(t){this.timeVal=t||[],this.getList()},userSearchs:function(){this.formValidate.page=1,this.getList()},getList:function(){var t=this;this.loading=!0,this.formValidate.time=this.timeVal[0]&&this.timeVal?this.timeVal.join("-"):"",Object(c.g)(this.formValidate).then((()=>{var e=Object(r.a)(Object(a.a)().m((function e(n){var r;return Object(a.a)().w((function(e){for(;;)switch(e.n){case 0:r=n.data,t.userLists=r.list,t.total=r.count,t.loading=!1;case 1:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.loading=!1,t.$message.error(e.msg)}))},pageChange:function(t){this.formValidate.page=t,this.getList()},handleSortChange:function(t){var e=t.prop;t=t.order;this.formValidate.sort=e,this.formValidate.order="ascending"===t?"asc":"desc",this.getList()}}},n("a8b3"),o=n("2877"),n=Object(o.a)(i,(function(){var t=this,e=t._self._c;return e("div",[e("el-card",{staticClass:"ivu-mt",attrs:{bordered:!1,shadow:"never","body-style":{padding:0}}},[e("div",{staticClass:"padding-add"},[e("el-form",{ref:"formValidate",attrs:{model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition,inline:""},nativeOn:{submit:function(t){t.preventDefault()}}},[e("el-form-item",{attrs:{label:"时间范围:"}},[e("el-date-picker",{staticClass:"mr20",staticStyle:{width:"250px"},attrs:{clearable:"",type:"daterange",format:"yyyy/MM/dd","value-format":"yyyy/MM/dd","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":t.pickerOptions},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}})],1),e("el-form-item",[e("el-button",{directives:[{name:"db-click",rawName:"v-db-click"}],attrs:{type:"primary"},on:{click:t.userSearchs}},[t._v("查询")])],1)],1)],1)]),e("el-card",{staticClass:"ivu-mt mt16",attrs:{bordered:!1,shadow:"never","body-style":{padding:"0 20px 20px"}}},[e("el-row",{staticClass:"ivu-mt box-wrapper"},[e("el-col",{ref:"rightBox",attrs:{xs:24,sm:24}},[e("el-tabs",{on:{"tab-click":t.userSearchs},model:{value:t.formValidate.type,callback:function(e){t.$set(t.formValidate,"type",e)},expression:"formValidate.type"}},t._l(t.statusList,(function(t,n){return e("el-tab-pane",{key:n,attrs:{label:t.status_name,name:t.id}})})),1),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"table",attrs:{data:t.userLists,"highlight-current-row":"","no-formValidate-text":"暂无数据","no-filtered-formValidate-text":"暂无筛选结果"},on:{"sort-change":t.handleSortChange}},[e("el-table-column",{attrs:{label:"用户UID",width:"150"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("span",[t._v(t._s(n.row.uid))])]}}])}),e("el-table-column",{attrs:{label:"头像","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(t){return[e("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.row.avatar,expression:"scope.row.avatar"}]})])]}}])}),e("el-table-column",{attrs:{label:"名称","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("div",{staticClass:"acea-row"},[e("div",{domProps:{textContent:t._s(n.row.name)}})])]}}])}),e("el-table-column",{attrs:{label:"订单数","min-width":"150",sortable:"custom","sort-orders":["ascending","descending"],prop:"order_sum"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("span",[t._v(t._s(n.row.order_sum))])]}}])}),e("el-table-column",{attrs:{label:"订单金额","min-width":"150",sortable:"custom","sort-orders":["ascending","descending"],prop:"order_sum_price"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("span",[t._v(t._s(n.row.order_sum_price))])]}}])})],1),e("div",{staticClass:"acea-row row-right page"},[t.total?e("pagination",{attrs:{total:t.total,page:t.formValidate.page,limit:t.formValidate.limit},on:{"update:page":function(e){return t.$set(t.formValidate,"page",e)},"update:limit":function(e){return t.$set(t.formValidate,"limit",e)},pagination:t.getList}}):t._e()],1)],1)],1)],1)],1)}),[],!1,null,"81dccf28",null);e.default=n.exports},a858:function(t,e,n){},a8b3:function(t,e,n){n("a858")},bbbc:function(t,e,n){n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"r",(function(){return o})),n.d(e,"q",(function(){return c})),n.d(e,"i",(function(){return s})),n.d(e,"k",(function(){return u})),n.d(e,"j",(function(){return l})),n.d(e,"s",(function(){return d})),n.d(e,"m",(function(){return f})),n.d(e,"f",(function(){return g})),n.d(e,"g",(function(){return m})),n.d(e,"a",(function(){return p})),n.d(e,"e",(function(){return h})),n.d(e,"l",(function(){return b})),n.d(e,"d",(function(){return v})),n.d(e,"h",(function(){return y})),n.d(e,"p",(function(){return w})),n.d(e,"o",(function(){return x})),n.d(e,"n",(function(){return _})),n("99af");var a=n("6b6c");function r(t){return Object(a.a)({url:"agent/index",method:"get",params:t})}function i(t){return Object(a.a)({url:"agent/spread",method:"PUT",data:t})}function o(t){return Object(a.a)({url:"agent/statistics",method:"get",params:t})}function c(t,e){return Object(a.a)({url:t,method:"get",params:e})}function s(t){return Object(a.a)({url:"agent/look_code",method:"get",params:t})}function u(t){return Object(a.a)({url:"agent/look_xcx_code",method:"get",params:t})}function l(t){return Object(a.a)({url:"agent/look_h5_code",method:"get",params:t})}function d(t){return Object(a.a)({url:"export/userAgent",method:"get",params:t})}function f(t){return Object(a.a)({url:"agent/division/list",method:"get",params:t})}function g(t){return Object(a.a)({url:"agent/division/agent_apply/list",method:"get",params:t})}function m(t){return Object(a.a)({url:"agent/division/statistics",method:"get",params:t})}function p(t){return Object(a.a)({url:"agent/division/agent/create/".concat(t),method:"get"})}function h(t,e){return Object(a.a)({url:"agent/division/examine_apply/".concat(t,"/").concat(e),method:"get"})}function b(t){return Object(a.a)({url:"agent/division/create/".concat(t),method:"get"})}function v(t){return Object(a.a)({url:"agent/division/down_list",method:"get",params:t})}function y(t){return Object(a.a)({url:"agent/division/set_status/".concat(t.status,"/").concat(t.id),method:"put"})}function w(t){return Object(a.a)({url:"agent/division/staff/create/".concat(t),method:"get"})}function x(t){return Object(a.a)({url:"agent/spread/apply/list",method:"get",params:t})}function _(t,e,n,r){return Object(a.a)({url:"agent/spread/apply/examine/".concat(t,"/").concat(e,"/").concat(n),method:"post",data:r})}},c607:function(t,e,n){var a=n("83ab"),r=n("fce3"),i=n("c6b6"),o=n("edd0"),c=n("69f3").get,s=RegExp.prototype,u=TypeError;a&&r&&o(s,"dotAll",{configurable:!0,get:function(){if(this!==s){if("RegExp"===i(this))return!!c(this).dotAll;throw new u("Incompatible receiver, RegExp required")}}})}}]);