chunk-24d25092.4dba82fb.js 4.4 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-24d25092"],{"13d5":function(e,t,a){"use strict";var n=a("23e7"),i=a("d58f").left,r=a("a640"),o=a("1212"),l=a("9adc"),c=!l&&o>79&&o<83,u=c||!r("reduce");n({target:"Array",proto:!0,forced:u},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},1965:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"new-app-container layout-vertical"},[a("YMTableSearch",{attrs:{loading:e.loading,"search-form":e.searchForm},on:{onValueChange:e.onValueChange,submit:e.onSubmit}}),a("YMTable",{ref:"table",attrs:{"table-key":2,index:!0,selection:!1,"table-options":e.tableOptions,columns:e.columns,"show-summary":!1,apis:e.apis,loading:e.loading,"custom-style":{height:"calc(100vh - 150px)"}}})],1)},i=[],r=a("5530"),o=(a("99af"),a("a15b"),a("d81d"),a("13d5"),a("e9f5"),a("ab43"),a("9485"),a("b64b"),a("d3b7"),{name:"LotteryList",data:function(){return{loading:!1,queryData:{},searchForm:[{label:"类型",type:"select",prop:"type",clearable:!0,placeholder:"请选择类型",options:[{label:"新澳门六合彩",value:1},{label:"澳门六合彩",value:3},{label:"极速六合彩",value:4},{label:"香港六合彩",value:2}]},{label:"期号",type:"input",prop:"issue",clearable:!0,placeholder:"请输入期号"},{label:"开奖号码",type:"input",prop:"open_code",clearable:!0,placeholder:"如: 24,19"},{label:"开奖时间",type:"datetimerange",prop:"timeRange",clearable:!0,valueFormat:"timestamp"}],columns:[{label:"期号",prop:"issue",minWidth:"120"},{label:"类型",prop:"type",minWidth:"120",method:function(e){return 1===e.type?"新澳门六合彩":3===e.type?"澳门六合彩":2===e.type?"香港六合彩":4===e.type?"极速六合彩":e.type}},{label:"开奖号码",prop:"open_code",minWidth:"300",html:!0,method:function(e){if(!e.open_code)return"--";var t=e.open_code.split(",");return t.map((function(e,a){var n=a===t.length-1,i=n?"#F56C6C":"#409EFF";return'<span style="\n display: inline-block;\n width: 28px;\n height: 28px;\n line-height: 28px;\n text-align: center;\n background-color: '.concat(i,';\n color: #fff;\n border-radius: 50%;\n margin-right: 8px;\n font-weight: bold;\n font-size: 14px;\n ">').concat(e,"</span>")})).join("")}},{label:"开奖时间",prop:"open_time",minWidth:"180"}],apis:{list:{url:"lhcLottery/list",dataParam:"data.data",resultParam:"data",init:!1}},tableOptions:{add:{show:!1},edit:{show:!1},delete:{show:!1}}}},mounted:function(){this.onSubmit()},methods:{onValueChange:function(e){},onSubmit:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object(r["a"])({},e);t.timeRange&&2===t.timeRange.length?(t.start_time=Math.floor(t.timeRange[0]/1e3),t.end_time=Math.floor(t.timeRange[1]/1e3)):(t.start_time=void 0,t.end_time=void 0),delete t.timeRange;var a=Object.keys(t).reduce((function(e,a){return""!==t[a]&&null!==t[a]&&void 0!==t[a]&&(e[a]=t[a]),e}),{});this.queryData=a,this.$refs.table&&this.$refs.table.getList(this.queryData)}}}),l=o,c=(a("76b9"),a("2877")),u=Object(c["a"])(l,n,i,!1,null,"dde8194c",null);t["default"]=u.exports},"76b9":function(e,t,a){"use strict";a("85a8")},"85a8":function(e,t,a){},9485:function(e,t,a){"use strict";var n=a("23e7"),i=a("2266"),r=a("59ed"),o=a("825a"),l=a("46c4"),c=a("2a62"),u=a("f99f"),s=a("2ba4"),d=a("d039"),p=TypeError,h=d((function(){[].keys().reduce((function(){}),void 0)})),f=!h&&u("reduce",p);n({target:"Iterator",proto:!0,real:!0,forced:h||f},{reduce:function(e){o(this);try{r(e)}catch(d){c(this,"throw",d)}var t=arguments.length<2,a=t?void 0:arguments[1];if(f)return s(f,this,t?[e]:[e,a]);var n=l(this),u=0;if(i(n,(function(n){t?(t=!1,a=n):a=e(a,n,u),u++}),{IS_RECORD:!0}),t)throw new p("Reduce of empty iterator with no initial value");return a}})},d58f:function(e,t,a){"use strict";var n=a("59ed"),i=a("7b0b"),r=a("44ad"),o=a("07fa"),l=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(t,a,u,s){var d=i(t),p=r(d),h=o(d);if(n(a),0===h&&u<2)throw new l(c);var f=e?h-1:0,b=e?-1:1;if(u<2)while(1){if(f in p){s=p[f],f+=b;break}if(f+=b,e?f<0:h<=f)throw new l(c)}for(;e?f>=0:h>f;f+=b)f in p&&(s=a(s,p[f],f,d));return s}};e.exports={left:u(!1),right:u(!0)}}}]);