(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6fe1c55d"],{1447:function(e,t,n){"use strict";var o=n("04c2"),a=n("203c"),r=n("db2f"),i=n("62f1"),l=n("ed14"),u=n("d5f7"),c=n("8dda"),s=n("00c3"),d=n("56ce"),f=TypeError,h=d((function(){[].keys().reduce((function(){}),void 0)})),m=!h&&c("reduce",f);o({target:"Iterator",proto:!0,real:!0,forced:h||m},{reduce:function(e){i(this);try{r(e)}catch(d){u(this,"throw",d)}var t=arguments.length<2,n=t?void 0:arguments[1];if(m)return s(m,this,t?[e]:[e,n]);var o=l(this),c=0;if(a(o,(function(o){t?(t=!1,n=o):n=e(n,o,c),c++}),{IS_RECORD:!0}),t)throw new f("Reduce of empty iterator with no initial value");return n}})},"3bea":function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"new-app-container layout-vertical"},[n("YMTableSearch",{attrs:{loading:e.loading,"search-form":e.searchForm},on:{onValueChange:e.onValueChange,submit:e.onSubmit}}),n("YMTable",{ref:"table",attrs:{"table-key":1,index:!0,selection:!1,"table-options":e.tableOptions,"edit-form":e.editForm,"edit-config":e.editConfig,columns:e.columns,"rows-actions":e.rowsActions,"show-summary":!1,apis:e.apis,loading:e.loading,"custom-style":{height:"calc(100vh - 150px)"}}}),n("Dialog",{ref:"dialog",attrs:{dialogActions:{width:"480px"}},on:{confirm:e.confirm}},[n("template",{slot:"content"},[n("el-form",{attrs:{"label-width":"80px"}},[n("el-form-item",{attrs:{label:"预开奖",rules:[{required:!0,message:"请输入预开奖"}]}},[n("el-input",{staticStyle:{width:"280px"},attrs:{placeholder:"开奖号码取值范围：0-27",autocomplete:"off"},model:{value:e.form.he,callback:function(t){e.$set(e.form,"he",t)},expression:"form.he"}})],1)],1)],1)],2)],1)},a=[],r=(n("b15b"),n("637a"),n("17ee"),n("b138"),n("865d"),n("8f26"),n("1447"),n("4786"),n("0401"),n("9039")),i=n("7e1e"),l=[{value:0,label:"草稿"},{value:1,label:"投注中"},{value:2,label:"封盘"},{value:3,label:"开奖"}],u={components:{Dialog:r["a"]},data:function(){var e=this;return{loading:!1,visibleBasicDrawer:!1,renderContent:"",queryData:{},form:{},searchForm:[{label:"期号",type:"input",prop:"issue_no",clearable:!1}],columns:[{label:"期号",prop:"issue_no",link:!0,click:function(t){e.$router.push({name:"order",query:{issue_no:t.issue_no}})}},{label:"状态",prop:"status",method:function(e){var t;return null===(t=l.find((function(t){return t.value===e.status})))||void 0===t?void 0:t.label}},{label:"组合",prop:"combo"},{label:"结果",method:function(e){var t,n,o=null!==(t=null===e||void 0===e||null===(n=e.winning_numbers)||void 0===n?void 0:n.split(","))&&void 0!==t?t:[];if(!o.length)return"--";var a=o.reduce((function(e,t){return Number(e)+Number(t)}),0),r=o.join("+");return"".concat(r,"=").concat(a)}},{label:"预开奖号码",prop:"advance_code",method:function(e){return 0===e.advance_code?"0":e.advance_code||"--"}},{label:"开奖时间",prop:"end_time"}],rowsActions:[{key:"open",label:"预开奖",vIF:function(e){return 1===e.status},method:function(t){e.form={issue_no:t.issue_no,he:""},e.$refs.dialog.open()}}],apis:{list:{url:"pcIssue",dataParam:"data.data",resultParam:"data",init:!1}},tableOptions:{add:{show:!1}},editForm:[{body:[]}],editConfig:{size:"small"}}},created:function(){},mounted:function(){this.onSubmit()},methods:{handleSubmit:function(e){console.log("提交数据:",e)},confirm:function(){var e=this;Object(i["ab"])(this.form).then((function(t){0===t.code&&(e.$message.success("设置成功"),e.onSubmit(e.queryData),e.$refs.dialog.close())})).catch((function(){e.$message.error("设置失败")}))},onValueChange:function(e){},onSubmit:function(e){this.queryData=e,this.$refs.table.getList(e)}}},c=u,s=n("1805"),d=Object(s["a"])(c,o,a,!1,null,null,null);t["default"]=d.exports},"865d":function(e,t,n){"use strict";var o=n("04c2"),a=n("f370").left,r=n("d1da"),i=n("4de2"),l=n("c3c0"),u=!l&&i>79&&i<83,c=u||!r("reduce");o({target:"Array",proto:!0,forced:c},{reduce:function(e){var t=arguments.length;return a(this,e,t,t>1?arguments[1]:void 0)}})},f370:function(e,t,n){"use strict";var o=n("db2f"),a=n("9bf4"),r=n("71cd"),i=n("57ad"),l=TypeError,u="Reduce of empty array with no initial value",c=function(e){return function(t,n,c,s){var d=a(t),f=r(d),h=i(d);if(o(n),0===h&&c<2)throw new l(u);var m=e?h-1:0,b=e?-1:1;if(c<2)while(1){if(m in f){s=f[m],m+=b;break}if(m+=b,e?m<0:h<=m)throw new l(u)}for(;e?m>=0:h>m;m+=b)m in f&&(s=n(s,f[m],m,d));return s}};e.exports={left:c(!1),right:c(!0)}}}]);