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 line
12 KiB
1 line
12 KiB
4 months ago
|
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-02954874"],{"4fdf":function(t,e,r){},"61f7":function(t,e,r){"use strict";function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(r,!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(r).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var r={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(var a in r)if(new RegExp("(".concat(a,")")).test(e)){var n=r[a]+"";e=e.replace(RegExp.$1,1===RegExp.$1.length?n:o(n))}return e}function o(t){return("00"+t).substr(t.length)}r.d(e,"a",(function(){return s})),r.d(e,"c",(function(){return u})),r.d(e,"b",(function(){return f}));var c={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"},l=function(t,e){t.message=function(t){return e.replace("%s",t||"")}};function u(t){return n({required:!0,message:t,type:"string"},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}function f(t){return m.pattern(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,t)}l(u,"请输入%s"),l(f,"%s格式不正确");var m=Object.keys(c).reduce((function(t,e){return t[e]=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s="range"===e?{min:t[0],max:t[1]}:i({},e,t);return n({message:r.replace(":".concat(e),"range"===e?"".concat(t[0],"-").concat(t[1]):t),type:"string"},s,{},a)},l(t[e],c[e]),t}),{})},"82f1":function(t,e,r){"use strict";r.r(e);var a=r("a34a"),n=r.n(a),i=r("b7be"),s=r("2f62"),o=r("61f7"),c=r("2e83"),l=r("d708");function u(t,e,r,a,n,i,s){try{var o=t[i](s),c=o.value}catch(t){return void r(t)}o.done?e(c):Promise.resolve(c).then(a,n)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(a,n){var i=t.apply(e,r);function s(t){u(i,a,n,s,o,"next",t)}function o(t){u(i,a,n,s,o,"throw",t)}s(void 0)}))}}function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function p(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var d={name:"index",filters:{formatDate:function(t){if(0!==t){var e=new Date(1e3*t);return Object(o.a)(e,"yyyy-MM-dd hh:mm")}},filterStatus:function(t){var e=Date.parse(new Date)/1e3;return t.start_time<e&&t.stop_time>e&&1==t.is_show?"活动进行中":t.stop_time<e&&1==t.status?"活动已结束":"活动未开始"}},data:function(){return{roterPre:l.a.roterPre,loading:!1,grid:{xl:7,lg:7,md:12,sm:24,xs:24},formValidate:{start_status:"",is_show:"",store_name:"",page:1,limit:15},value:"",columns1:[{title:"ID",key:"id",width:80},{title:"拼团图片",slot:"image",minWidth:90},{title:"拼团名称",slot:"title",minWidth:150},{title:"日常售价",key:"ot_price",minWidth:100},{title:"拼团价",key:"price",minWidth:120},{title:"拼团人数",key:"count_people",minWidth:80},{title:"参与人数",key:"count_people_all",minWidth:80},{title:"成团数量",key:"count_people_pink",minWidth:80},{title:"限量",key:"quota_show",minWidth:80},{title:"限量剩余",key:"quota",minWidth:100},{title:"活动状态",slot:"start_name",minWidth:100},{title:"结束时间",slot:"stop_time",minWidth:150},{title:"状态",slot:"is_show",minWidth:120},{title:"操
|