chunk-43c3262e.6b688865.js 14 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-43c3262e"],{"02fe":function(t,e,a){},"2c3e":function(t,e,a){var i=a("da84"),r=a("83ab"),n=a("9f7f").MISSED_STICKY,s=a("c6b6"),o=a("edd0"),c=a("69f3").get,l=RegExp.prototype,u=i.TypeError;r&&n&&o(l,"sticky",{configurable:!0,get:function(){if(this!==l){if("RegExp"===s(this))return!!c(this).sticky;throw u("Incompatible receiver, RegExp required")}}})},3970:function(t,e,a){},"4d63":function(t,e,a){var i=a("83ab"),r=a("da84"),n=a("e330"),s=a("94ca"),o=a("7156"),c=a("9112"),l=a("241c").f,u=a("3a9b"),d=a("44e7"),f=a("577e"),m=a("90d8"),v=a("9f7f"),h=a("aeb0"),g=a("cb2d"),p=a("d039"),b=a("1a2d"),w=a("69f3").enforce,x=a("2626"),y=a("b622"),_=a("fce3"),k=a("107c"),C=y("match"),V=r.RegExp,R=V.prototype,O=r.SyntaxError,E=n(R.exec),j=n("".charAt),L=n("".replace),S=n("".indexOf),M=n("".slice),T=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,$=/a/g,I=/a/g,D=new V($)!==$,W=v.MISSED_STICKY,N=v.UNSUPPORTED_Y,P=i&&(!D||W||_||k||p((function(){return I[C]=!1,V($)!=$||V(I)==I||"/a/i"!=V($,"i")}))),A=function(t){for(var e,a=t.length,i=0,r="",n=!1;i<=a;i++)e=j(t,i),"\\"!==e?n||"."!==e?("["===e?n=!0:"]"===e&&(n=!1),r+=e):r+="[\\s\\S]":r+=e+j(t,++i);return r},z=function(t){for(var e,a=t.length,i=0,r="",n=[],s={},o=!1,c=!1,l=0,u="";i<=a;i++){if(e=j(t,i),"\\"===e)e+=j(t,++i);else if("]"===e)o=!1;else if(!o)switch(!0){case"["===e:o=!0;break;case"("===e:E(T,M(t,i+1))&&(i+=2,c=!0),r+=e,l++;continue;case">"===e&&c:if(""===u||b(s,u))throw new O("Invalid capture group name");s[u]=!0,n[n.length]=[u,l],c=!1,u="";continue}c?u+=e:r+=e}return[r,n]};if(s("RegExp",P)){for(var F=function(t,e){var a,i,r,n,s,l,v=u(R,this),h=d(t),g=void 0===e,p=[],b=t;if(!v&&h&&g&&t.constructor===F)return t;if((h||u(R,t))&&(t=t.source,g&&(e=m(b))),t=void 0===t?"":f(t),e=void 0===e?"":f(e),b=t,_&&"dotAll"in $&&(i=!!e&&S(e,"s")>-1,i&&(e=L(e,/s/g,""))),a=e,W&&"sticky"in $&&(r=!!e&&S(e,"y")>-1,r&&N&&(e=L(e,/y/g,""))),k&&(n=z(t),t=n[0],p=n[1]),s=o(V(t,e),v?this:R,F),(i||r||p.length)&&(l=w(s),i&&(l.dotAll=!0,l.raw=F(A(t),a)),r&&(l.sticky=!0),p.length&&(l.groups=p)),t!==b)try{c(s,"source",""===b?"(?:)":b)}catch(x){}return s},Y=l(V),q=0;Y.length>q;)h(F,V,Y[q++]);R.constructor=F,F.prototype=R,g(r,"RegExp",F,{constructor:!0})}x("RegExp")},"61f7":function(t,e,a){"use strict";a.d(e,"a",(function(){return n})),a.d(e,"c",(function(){return l})),a.d(e,"b",(function(){return u}));var i=a("fc11"),r=a("f3f3");a("ac1f"),a("00b4"),a("5319"),a("4d63"),a("c607"),a("2c3e"),a("25f0"),a("498a"),a("d3b7"),a("b64b"),a("99af");function n(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var a={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(var i in a)if(new RegExp("(".concat(i,")")).test(e)){var r=a[i]+"";e=e.replace(RegExp.$1,1===RegExp.$1.length?r:s(r))}return e}function s(t){return("00"+t).substr(t.length)}var o={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"};var c=function(t,e){t.message=function(t){return e.replace("%s",t||"")}};function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(r["a"])({required:!0,message:t,type:"string"},e)}function u(t){return d.pattern(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,t)}c(l,"请输入%s"),c(u,"%s格式不正确");var d=Object.keys(o).reduce((function(t,e){return t[e]=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s="range"===e?{min:t[0],max:t[1]}:Object(i["a"])({},e,t);return Object(r["a"])(Object(r["a"])({message:a.replace(":".concat(e),"range"===e?"".concat(t[0],"-").concat(t[1]):t),type:"string"},s),n)},c(t[e],o[e]),t}),{})},7443:function(t,e,a){"use strict";var i=a("02fe"),r=a.n(i);r.a},"9bc0":function(t,e,a){"use strict";var i=a("3970"),r=a.n(i);r.a},a15b:function(t,e,a){"use strict";var i=a("23e7"),r=a("e330"),n=a("44ad"),s=a("fc6a"),o=a("a640"),c=r([].join),l=n!=Object,u=o("join",",");i({target:"Array",proto:!0,forced:l||!u},{join:function(t){return c(s(this),void 0===t?",":t)}})},a584:function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Row",{staticClass:"ivu-mt",attrs:{type:"flex",align:"middle",gutter:10}},t._l(t.cardLists,(function(e,i){return a("Col",{key:i,staticClass:"ivu-mb",attrs:{xl:e.col,lg:6,md:12,sm:24,xs:24}},[a("Card",{staticClass:"card_cent",attrs:{shadow:"",padding:0}},[a("div",{staticClass:"card_box"},[a("div",{staticClass:"card_box_cir",class:{one:i%5==0,two:i%5==1,three:i%5==2,four:i%5==3,five:i%5==4}},[a("div",{staticClass:"card_box_cir1",class:{one1:i%5==0,two1:i%5==1,three1:i%5==2,four1:i%5==3,five1:i%5==4}},[a("Icon",{attrs:{type:e.className}})],1)]),a("div",{staticClass:"card_box_txt"},[a("span",{staticClass:"sp1",domProps:{textContent:t._s(e.count||0)}}),a("span",{staticClass:"sp2",domProps:{textContent:t._s(e.name)}})])])])],1)})),1)],1)},r=[],n={name:"cards",data:function(){return{}},props:{cardLists:Array},methods:{},created:function(){}},s=n,o=(a("7443"),a("2877")),c=Object(o["a"])(s,i,r,!1,null,"e3e38522",null);e["a"]=c.exports},c607:function(t,e,a){var i=a("da84"),r=a("83ab"),n=a("fce3"),s=a("c6b6"),o=a("edd0"),c=a("69f3").get,l=RegExp.prototype,u=i.TypeError;r&&n&&o(l,"dotAll",{configurable:!0,get:function(){if(this!==l){if("RegExp"===s(this))return!!c(this).dotAll;throw u("Incompatible receiver, RegExp required")}}})},de26:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"article-manager"},[a("div",{staticClass:"i-layout-page-header"},[a("div",{staticClass:"i-layout-page-header"},[a("span",{staticClass:"ivu-page-header-title"},[t._v(t._s(t.$route.meta.title))])])]),t.cardLists.length>=0?a("cards-data",{attrs:{cardLists:t.cardLists}}):t._e(),a("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[a("Form",{ref:"formValidate",attrs:{model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[a("Row",{attrs:{type:"flex",gutter:24}},[a("Col",{attrs:{span:"24"}},[a("FormItem",{attrs:{label:"时间选择:"}},[a("RadioGroup",{staticClass:"mr",attrs:{type:"button"},on:{"on-change":function(e){return t.selectChange(t.formValidate.data)}},model:{value:t.formValidate.data,callback:function(e){t.$set(t.formValidate,"data",e)},expression:"formValidate.data"}},t._l(t.fromList.fromTxt,(function(e,i){return a("Radio",{key:i,attrs:{label:e.val}},[t._v(t._s(e.text))])})),1),a("DatePicker",{staticStyle:{width:"200px"},attrs:{editable:!1,value:t.timeVal,format:"yyyy/MM/dd",type:"daterange",placement:"bottom-end",placeholder:"请选择时间"},on:{"on-change":t.onchangeTime}})],1)],1),a("Col",t._b({},"Col",t.grid,!1),[a("FormItem",{attrs:{label:"拼团状态:"}},[a("Select",{attrs:{placeholder:"请选择",clearable:""},on:{"on-change":t.userSearchs},model:{value:t.formValidate.status,callback:function(e){t.$set(t.formValidate,"status",e)},expression:"formValidate.status"}},[a("Option",{attrs:{value:1}},[t._v("进行中")]),a("Option",{attrs:{value:2}},[t._v("已完成")]),a("Option",{attrs:{value:3}},[t._v("未完成")])],1)],1)],1)],1)],1),a("Table",{staticClass:"mt25",attrs:{columns:t.columns1,data:t.tableList,loading:t.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"avatar",fn:function(t){var e=t.row;t.index;return[a("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.avatar,expression:"row.avatar"}]})])]}},{key:"nickname",fn:function(e){var i=e.row;e.index;return[a("span",[t._v(" "+t._s(i.nickname+" / "+i.uid))])]}},{key:"title",fn:function(e){var i=e.row;e.index;return[a("span",[t._v(" "+t._s(i.title+" / "+i.cid))])]}},{key:"add_time",fn:function(e){var i=e.row;e.index;return[a("span",[t._v(" "+t._s(t._f("formatDate")(i.add_time)))])]}},{key:"stop_time",fn:function(e){var i=e.row;e.index;return[a("span",[t._v(" "+t._s(t._f("formatDate")(i.stop_time)))])]}},{key:"status",fn:function(e){var i=e.row;e.index;return[a("Tag",{directives:[{name:"show",rawName:"v-show",value:1===i.status,expression:"row.status === 1"}],attrs:{color:"blue"}},[t._v("进行中")]),a("Tag",{directives:[{name:"show",rawName:"v-show",value:2===i.status,expression:"row.status === 2"}],attrs:{color:"cyan"}},[t._v("已完成")]),a("Tag",{directives:[{name:"show",rawName:"v-show",value:3===i.status,expression:"row.status === 3"}],attrs:{color:"volcano"}},[t._v("未完成")])]}},{key:"action",fn:function(e){var i=e.row;e.index;return[a("a",{on:{click:function(e){return t.Info(i)}}},[t._v("查看详情")])]}}])}),a("div",{staticClass:"acea-row row-right page"},[a("Page",{attrs:{total:t.total,current:t.formValidate.page,"show-elevator":"","show-total":"","page-size":t.formValidate.limit},on:{"on-change":t.pageChange}})],1)],1),a("Modal",{staticClass:"tableBox",attrs:{scrollable:"","footer-hide":"",closable:"",title:"查看详情","mask-closable":!1,width:"750"},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[a("Table",{ref:"selection",attrs:{columns:t.columns2,data:t.tabList3,loading:t.loading2,"no-data-text":"暂无数据","highlight-row":"","max-height":"600",size:"small","no-filtered-data-text":"暂无筛选结果"},scopedSlots:t._u([{key:"nickname",fn:function(e){var i=e.row;e.index;return[a("span",[t._v(" "+t._s(i.nickname+" / "+i.uid))])]}},{key:"avatar",fn:function(t){var e=t.row;t.index;return[a("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.avatar,expression:"row.avatar"}]})])]}},{key:"action",fn:function(e){var i=e.row;e.index;return[a("Tag",{directives:[{name:"show",rawName:"v-show",value:0!=i.is_refund,expression:"row.is_refund != 0"}],attrs:{color:"volcano"}},[t._v("已退款")]),a("Tag",{directives:[{name:"show",rawName:"v-show",value:0===i.is_refund,expression:"row.is_refund === 0"}],attrs:{color:"cyan"}},[t._v("未退款")])]}}])})],1)],1)},r=[],n=a("c964"),s=a("f3f3"),o=(a("a15b"),a("96cf"),a("a584")),c=a("2f62"),l=a("61f7"),u=a("b7be"),d={name:"combinalist",filters:{formatDate:function(t){if(0!==t){var e=new Date(1e3*t);return Object(l["a"])(e,"yyyy-MM-dd hh:mm")}}},components:{cardsData:o["a"]},data:function(){return{cardLists:[],modals:!1,fromList:{title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"今天",val:"today"},{text:"昨天",val:"yesterday"},{text:"最近7天",val:"lately7"},{text:"最近30天",val:"lately30"},{text:"本月",val:"month"},{text:"本年",val:"year"}]},grid:{xl:7,lg:10,md:12,sm:12,xs:24},loading:!1,formValidate:{status:"",data:"",page:1,limit:15},columns1:[{title:"头像",slot:"avatar",minWidth:150},{title:"开团团长",slot:"nickname",minWidth:150},{title:"开团时间",slot:"add_time",minWidth:150},{title:"拼团商品",slot:"title",minWidth:400},{title:"几人团",key:"people",minWidth:120},{title:"几人参加",key:"count_people",minWidth:100},{title:"结束时间",slot:"stop_time",minWidth:150},{title:"状态",slot:"status",minWidth:100},{title:"操作",slot:"action",fixed:"right",minWidth:170}],tableList:[],total:0,timeVal:[],loading2:!1,tabList3:[],columns2:[{title:"ID",key:"id",width:80},{title:"用户名称",slot:"nickname",minWidth:100},{title:"用户头像",slot:"avatar"},{title:"订单编号",key:"order_id"},{title:"金额",key:"price"},{title:"订单状态",slot:"action"}],rows:{}}},computed:Object(s["a"])(Object(s["a"])({},Object(c["e"])("media",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:75},labelPosition:function(){return this.isMobile?"top":"right"}}),created:function(){this.getList(),this.getStatistics()},methods:{getStatistics:function(){var t=this;Object(u["ob"])().then(function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(a){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:i=a.data,t.cardLists=i.res;case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))},Info:function(t){var e=this;this.modals=!0,this.rows=t,Object(u["Z"])(t.id).then(function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(a){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:i=a.data,e.tabList3=i.list,e.loading=!1;case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.loading=!1,e.$Message.error(t.msg)}))},onchangeTime:function(t){this.timeVal=t,""===this.timeVal[0]?this.formValidate.data="":this.formValidate.data=this.timeVal.join("-"),this.formValidate.page=1,this.getList()},selectChange:function(t){this.formValidate.page=1,this.formValidate.data=t,this.timeVal=[],this.getList()},getList:function(){var t=this;this.loading=!0,this.formValidate.status=this.formValidate.status||"",Object(u["l"])(this.formValidate).then(function(){var e=Object(n["a"])(regeneratorRuntime.mark((function e(a){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:i=a.data,t.tableList=i.list,t.total=a.data.count,t.loading=!1;case 4:case"end":return e.stop()}}),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()},userSearchs:function(){this.formValidate.page=1,this.getList()}}},f=d,m=(a("9bc0"),a("2877")),v=Object(m["a"])(f,i,r,!1,null,"ea3e0a74",null);e["default"]=v.exports},edd0:function(t,e,a){var i=a("13d2"),r=a("9bf2");t.exports=function(t,e,a){return a.get&&i(a.get,e,{getter:!0}),a.set&&i(a.set,e,{setter:!0}),r.f(t,e,a)}}}]);