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.
1 lines
14 KiB
1 lines
14 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-646bef04"],{"0662":function(t,e,a){},"295b":function(t,e,a){"use strict";a("0662")},"2c3e":function(t,e,a){"use strict";var s=a("83ab"),i=a("9f7f").MISSED_STICKY,n=a("c6b6"),r=a("edd0"),o=a("69f3").get,l=RegExp.prototype,c=TypeError;s&&i&&r(l,"sticky",{configurable:!0,get:function(){if(this!==l){if("RegExp"===n(this))return!!o(this).sticky;throw new c("Incompatible receiver, RegExp required")}}})},"3fbd":function(t,e,a){},"4d63":function(t,e,a){"use strict";var s=a("83ab"),i=a("da84"),n=a("e330"),r=a("94ca"),o=a("7156"),l=a("9112"),c=a("241c").f,u=a("3a9b"),d=a("44e7"),f=a("577e"),m=a("90d8"),h=a("9f7f"),p=a("aeb0"),g=a("cb2d"),b=a("d039"),v=a("1a2d"),w=a("69f3").enforce,_=a("2626"),x=a("b622"),y=a("fce3"),k=a("107c"),S=x("match"),z=i.RegExp,O=z.prototype,V=i.SyntaxError,C=n(O.exec),j=n("".charAt),L=n("".replace),E=n("".indexOf),R=n("".slice),$=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,M=/a/g,N=/a/g,D=(a=new z(M)!==M,h.MISSED_STICKY),I=h.UNSUPPORTED_Y;x=s&&(!a||D||y||k||b((function(){return N[S]=!1,z(M)!==M||z(N)===N||"/a/i"!==String(z(M,"i"))})));if(r("RegExp",x)){for(var T=function(t,e){var a,s,i=u(O,this),n=d(t),r=void 0===e,c=[],h=t;if(!i&&n&&r&&t.constructor===T)return t;if((n||u(O,t))&&(t=t.source,r)&&(e=m(h)),t=void 0===t?"":f(t),e=void 0===e?"":f(e),h=t,n=e=y&&"dotAll"in M&&(a=!!e&&-1<E(e,"s"))?L(e,/s/g,""):e,D&&"sticky"in M&&(s=!!e&&-1<E(e,"y"))&&I&&(e=L(e,/y/g,"")),k&&(t=(r=function(t){for(var e,a=t.length,s=0,i="",n=[],r={},o=!1,l=!1,c=0,u="";s<=a;s++){if("\\"===(e=j(t,s)))e+=j(t,++s);else if("]"===e)o=!1;else if(!o)switch(!0){case"["===e:o=!0;break;case"("===e:C($,R(t,s+1))&&(s+=2,l=!0),i+=e,c++;continue;case">"===e&&l:if(""===u||v(r,u))throw new V("Invalid capture group name");r[u]=!0,l=!(n[n.length]=[u,c]),u="";continue}l?u+=e:i+=e}return[i,n]}(t))[0],c=r[1]),r=o(z(t,e),i?this:O,T),(a||s||c.length)&&(e=w(r),a&&(e.dotAll=!0,e.raw=T(function(t){for(var e,a=t.length,s=0,i="",n=!1;s<=a;s++)"\\"===(e=j(t,s))?i+=e+j(t,++s):n||"."!==e?("["===e?n=!0:"]"===e&&(n=!1),i+=e):i+="[\\s\\S]";return i}(t),n)),s&&(e.sticky=!0),c.length)&&(e.groups=c),t!==h)try{l(r,"source",""===h?"(?:)":h)}catch(t){}return r},A=c(z),P=0;A.length>P;)p(T,z,A[P++]);(O.constructor=T).prototype=O,g(i,"RegExp",T,{constructor:!0})}_("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 c}));var s=a("ade3"),i=a("5530");function n(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var a,s,i={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(a in i)new RegExp("(".concat(a,")")).test(e)&&(s=i[a]+"",e=e.replace(RegExp.$1,1===RegExp.$1.length?s:("00"+s).substr(s.length)));return e}a("ac1f"),a("00b4"),a("5319"),a("4d63"),a("c607"),a("2c3e"),a("25f0"),a("498a"),a("d3b7"),a("13d5"),a("b64b"),a("99af");var r={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"};function o(t,e){t.message=function(t){return e.replace("%s",t||"")}}function l(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)({required:!0,message:t,type:"string"},e)}function c(t){return u.pattern(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,t)}o(l,"请输入%s"),o(c,"%s格式不正确");var u=Object.keys(r).reduce((function(t,e){return t[e]=function(t){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r="range"===e?{min:t[0],max:t[1]}:Object(s.a)({},e,t);return Object(i.a)(Object(i.a)({message:a.replace(":".concat(e),"range"===e?"".concat(t[0],"-").concat(t[1]):t),type:"string"},r),n)},o(t[e],r[e]),t}),{})},a404:function(t,e,a){"use strict";a("3fbd")},a584:function(t,e,a){"use strict";a("b0c0");var s={name:"cards",data:function(){return{colsize:{xl:4,lg:8,md:12}}},props:{cardLists:Array},methods:{},created:function(){switch(this.cardLists.length){case 1:this.colsize.xl=24,this.colsize.lg=24,this.colsize.md=24;break;case 2:this.colsize.xl=12,this.colsize.lg=12,this.colsize.md=12;break;case 3:this.colsize.xl=8,this.colsize.lg=8,this.colsize.md=8;break;case 4:this.colsize.xl=6,this.colsize.lg=6,this.colsize.md=12;break;case 5:this.colsize.xl=8,this.colsize.lg=8,this.colsize.md=12;break;default:this.colsize.xl=4,this.colsize.lg=8,this.colsize.md=12}4==this.cardLists.length?this.colsize.lg=6:4==this.cardLists.length&&(this.colsize.lg=8)}};a("295b"),a=a("2877"),a=Object(a.a)(s,(function(){var t=this,e=t._self._c;return e("div",[e("el-row",{staticClass:"ivu-mt",attrs:{align:"middle",gutter:24}},t._l(t.cardLists,(function(a,s){return e("el-col",{key:s,staticClass:"ivu-mb",attrs:{xl:a.col||t.colsize.xl,lg:t.colsize.lg,md:t.colsize.md,sm:24,xs:24}},[e("el-card",{staticClass:"card_cent",attrs:{shadow:"never"}},[e("div",{staticClass:"card_box"},[e("div",{staticClass:"card_box_cir",class:{one:s%5==0,two:s%5==1,three:s%5==2,four:s%5==3,five:s%5==4}},[e("div",{staticClass:"card_box_cir1",class:{one1:s%5==0,two1:s%5==1,three1:s%5==2,four1:s%5==3,five1:s%5==4}},[e("span",{staticClass:"iconfont",class:a.className})])]),e("div",{staticClass:"card_box_txt"},[e("span",{staticClass:"sp1",domProps:{textContent:t._s(a.count||0)}}),e("span",{staticClass:"sp2",domProps:{textContent:t._s(a.name)}})])])])],1)})),1)],1)}),[],!1,null,"0eb9e1a0",null);e.a=a.exports},c607:function(t,e,a){"use strict";var s=a("83ab"),i=a("fce3"),n=a("c6b6"),r=a("edd0"),o=a("69f3").get,l=RegExp.prototype,c=TypeError;s&&i&&r(l,"dotAll",{configurable:!0,get:function(){if(this!==l){if("RegExp"===n(this))return!!o(this).dotAll;throw new c("Incompatible receiver, RegExp required")}}})},de26:function(t,e,a){"use strict";a.r(e);var s=a("c7eb"),i=a("1da1"),n=a("5530"),r=(a("a15b"),a("a584")),o=a("2f62"),l=a("61f7"),c=a("b7be");r={name:"combinalist",filters:{formatDate:function(t){if(0!==t)return t=new Date(1e3*t),Object(l.a)(t,"yyyy-MM-dd hh:mm")}},components:{cardsData:r.a},data:function(){return{cardLists:[],modals:!1,pickerOptions:this.$timeOptions,loading:!1,formValidate:{status:"",data:"",page:1,limit:15},tableList:[],total:0,timeVal:[],loading2:!1,tabList3:[],rows:{}}},computed:Object(n.a)(Object(n.a)({},Object(o.d)("media",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:"80px"},labelPosition:function(){return this.isMobile?"top":"right"}}),created:function(){this.getList(),this.getStatistics()},methods:{getStatistics:function(){var t=this;Object(c.pb)().then(function(){var e=Object(i.a)(Object(s.a)().mark((function e(a){var i;return Object(s.a)().wrap((function(e){for(;;)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(c.Z)(t.id).then(function(){var t=Object(i.a)(Object(s.a)().mark((function t(a){var i;return Object(s.a)().wrap((function(t){for(;;)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?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(c.m)(this.formValidate).then(function(){var e=Object(i.a)(Object(s.a)().mark((function e(a){var i;return Object(s.a)().wrap((function(e){for(;;)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()}}},a("a404"),n=a("2877"),o=Object(n.a)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"article-manager"},[e("el-card",{staticClass:"ivu-mt ivu-mb-16",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",editable:!1,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",{attrs:{label:"拼团状态:"}},[e("el-select",{staticClass:"form_content_width",attrs:{placeholder:"请选择",clearable:""},on:{change:t.userSearchs},model:{value:t.formValidate.status,callback:function(e){t.$set(t.formValidate,"status",e)},expression:"formValidate.status"}},[e("el-option",{attrs:{value:1,label:"进行中"}}),e("el-option",{attrs:{value:2,label:"已完成"}}),e("el-option",{attrs:{value:3,label:"未完成"}})],1)],1)],1)],1)]),0<=t.cardLists.length?e("cards-data",{attrs:{cardLists:t.cardLists}}):t._e(),e("el-card",{staticClass:"ivu-mt",attrs:{bordered:!1,shadow:"never"}},[e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.tableList,"highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"}},[e("el-table-column",{attrs:{label:"头像","min-width":"90"},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":"150"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(a.row.nickname+" / "+a.row.uid))])]}}])}),e("el-table-column",{attrs:{label:"开团时间","min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(t._f("formatDate")(a.row.add_time)))])]}}])}),e("el-table-column",{attrs:{label:"拼团商品","min-width":"180"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(a.row.title+" / "+a.row.cid))])]}}])}),e("el-table-column",{attrs:{label:"几人团","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(a.row.people))])]}}])}),e("el-table-column",{attrs:{label:"几人参加","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(a.row.count_people))])]}}])}),e("el-table-column",{attrs:{label:"结束时间","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(t._f("formatDate")(a.row.stop_time)))])]}}])}),e("el-table-column",{attrs:{label:"状态","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-tag",{directives:[{name:"show",rawName:"v-show",value:1===a.row.status,expression:"scope.row.status === 1"}],attrs:{type:"info"}},[t._v("进行中")]),e("el-tag",{directives:[{name:"show",rawName:"v-show",value:2===a.row.status,expression:"scope.row.status === 2"}]},[t._v("已完成")]),e("el-tag",{directives:[{name:"show",rawName:"v-show",value:3===a.row.status,expression:"scope.row.status === 3"}],attrs:{type:"warning"}},[t._v("未完成")])]}}])}),e("el-table-column",{attrs:{label:"操作",fixed:"right",width:"100"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("a",{on:{click:function(e){return t.Info(a.row)}}},[t._v("查看详情")])]}}])})],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),e("el-dialog",{staticClass:"tableBox",attrs:{visible:t.modals,title:"查看详情","close-on-click-modal":!1,width:"720px"},on:{"update:visible":function(e){t.modals=e}}},[e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading2,expression:"loading2"}],ref:"selection",attrs:{data:t.tabList3,"empty-text":"暂无数据","highlight-current-row":"","max-height":"600",size:"small"}},[e("el-table-column",{attrs:{label:"ID",width:"80"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(a.row.id))])]}}])}),e("el-table-column",{attrs:{label:"用户名称","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(a.row.nickname+" / "+a.row.uid))])]}}])}),e("el-table-column",{attrs:{label:"用户头像","min-width":"150"},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":"100"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(a.row.order_id))])]}}])}),e("el-table-column",{attrs:{label:"金额","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(a.row.total_price))])]}}])}),e("el-table-column",{attrs:{label:"订单状态","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-tag",{directives:[{name:"show",rawName:"v-show",value:0!=a.row.is_refund,expression:"scope.row.is_refund != 0"}]},[t._v("已退款")]),e("el-tag",{directives:[{name:"show",rawName:"v-show",value:0===a.row.is_refund,expression:"scope.row.is_refund === 0"}],attrs:{type:"danger"}},[t._v("未退款")])]}}])})],1)],1)],1)}),[],!1,null,"16a342c6",null);e.default=o.exports}}]); |