(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6525304b"],{"166c":function(t,e,a){},"1a66":function(t,e,a){"use strict";a("7eea")},2909:function(t,e,a){"use strict";a.d(e,"a",(function(){return c}));var s=a("6b75");function i(t){if(Array.isArray(t))return Object(s["a"])(t)}a("a4d3"),a("e01a"),a("d3b7"),a("d28b"),a("3ca3"),a("ddb0"),a("a630");function n(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}var r=a("06c5");function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(t){return i(t)||n(t)||Object(r["a"])(t)||o()}},4871:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"upload-img"},[s("el-dialog",{attrs:{visible:t.show,width:"430px","close-on-click-modal":!1,title:t.$t("k646fb19f")+"("+t.imageList.length+"/3)",center:""},on:{"update:visible":function(e){t.show=e}}},[s("div",{staticClass:"content"},[s("p",{staticClass:"pls"},[t._v(t._s(t.$t("kc673aa95")))]),s("div",{staticClass:"upload-box"},[t.show?s("PicUpload",{ref:"picUpload",on:{handleChangeImage:t.pushImage}}):t._e(),s("p",[t._v(t._s(t.$t("k1e076c1c")))])],1),s("div",{staticClass:"btn",class:{active:t.imageList.length},on:{click:function(e){return t.onSubmit()}}},[t._v(t._s(t.$t("k9e53c664")))]),s("div",{staticClass:"warn"},[s("img",{attrs:{src:a("904c"),alt:""}}),s("p",[t._v(t._s(t.$t("k40298c72")))])])])])],1)},i=[],n=a("2909"),r=(a("a15b"),a("d3b7"),a("6062"),a("3ca3"),a("ddb0"),function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"uploader-container"},[a("el-upload",{ref:"upload",staticClass:"avatar-uploader",class:{hideBtn:t.hideBtn},attrs:{headers:t.headers,action:t.$common.getHost()+t.$api.upload,"list-type":"picture-card","on-success":t.handleSuccess,"before-upload":t.beforeAvatarUpload,limit:3,multiple:!0,data:{type:3}},scopedSlots:t._u([{key:"file",fn:function(e){var s=e.file;return a("div",{staticClass:"img-p"},[s.response?a("img",{staticClass:"el-upload-list__item-thumbnail",attrs:{src:t.$config.imgHost+s.response.data.url},on:{click:function(e){return t.handlePictureCardPreview(s.response.data.url)}}}):t._e(),a("div",{staticClass:"remove",on:{click:function(e){return t.handleRemove(s,s.response.data.url)}}},[a("i",{staticClass:"el-icon-error"})])])}}])},[a("i",{staticClass:"el-icon-plus avatar-uploader-icon"})]),a("el-dialog",{attrs:{visible:t.dialogVisible,modal:!1,width:"30%"},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("img",{attrs:{width:"100%",src:t.$config.imgHost+t.dialogImageUrl,alt:""}})])],1)}),o=[],c=(a("159b"),a("b0c0"),a("a434"),a("4de4"),a("caad"),a("2532"),a("ba9f")),u={data:function(){return{imageUrlList:[],headers:{contentType:"multipart/form-data",clientCode:window.clientCode,pc:1,lang:this.$common.getLocale()||window.locale,clientItem:window.childCode,skinCode:window.theme,appId:window.theme,Authorization:this.$common.getToken()},dialogImageUrl:"",dialogVisible:!1,showBtn:!0,hideBtn:!1}},methods:{handleDownload:function(){},handleRemove:function(t,e){var a=this;0===this.$refs.upload.uploadFiles.length&&retrun,this.$refs.upload.uploadFiles.forEach((function(e,s){t.name===e.name&&t.url===e.url&&a.$refs.upload.uploadFiles.splice(s,1)})),this.imageUrlList=this.imageUrlList.filter((function(t){return!t.includes(e)})),this.$emit("handleChangeImage",this.imageUrlList),this.hideBtn=this.imageUrlList.length>=3},handlePictureCardPreview:function(t){},handleSuccess:function(t,e,a){this.imageUrlList.push(e.response.data.url),this.$emit("handleChangeImage",this.imageUrlList),this.hideBtn=this.imageUrlList.length>=3},beforeAvatarUpload:function(t){var e=t.size/1024/1024<10;if(!e)return this.$message.error(this.$t("kb330e0b")),!1;var a=-1===["image/png","image/jpg","image/jpeg"].indexOf(t.type);return a?(this.$message.error(this.$t("k1d612e49")),!1):new Promise((function(e){c["compressAccurately"](t,500).then((function(t){e(t)}))}))}}},l=u,d=(a("a4b3"),a("2877")),p=Object(d["a"])(l,r,o,!1,null,null,null),h=p.exports,f={components:{PicUpload:h},props:{pzVisible:{type:Boolean,default:!1}},data:function(){return{imageList:[]}},computed:{show:{get:function(){return this.pzVisible},set:function(t){this.$emit("update:pzVisible",t)}}},watch:{show:function(){this.imageList=[]}},mounted:function(){},methods:{closeDialg:function(){this.show=!1},pushImage:function(t){this.imageList=t},onSubmit:function(){if(0!=this.imageList.length){var t=Object(n["a"])(new Set(this.imageList)).join(",");this.$emit("uploadSubmit",t)}else this.$message({message:this.$t("k163f51"),type:"warning"})}}},g=f,b=(a("1a66"),Object(d["a"])(g,s,i,!1,null,null,null));e["a"]=b.exports},"53fb":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"customer-report",attrs:{"element-loading-spinner":"el-icon-loading"}},[a("div",{staticClass:"customer-report-tabs"},t._l(t.configs,(function(e,s){return a("div",{key:s,staticClass:"customer-report-tab",class:t.activeIndex==e.id?"active-report-tab":"",on:{click:function(a){return t.changeTab(e)}}},[t._v(t._s(e.name))])})),0),a("div",{staticClass:"customer-report-dates"},[a("span",[t._v(t._s(t.$t("k1d97224a")))]),t._l(t.dates,(function(e,s){return a("div",{key:s,staticClass:"customer-report-date",class:t.activeDate==s?"active-report-date":"",on:{click:function(a){return t.changeDate(e,s)}}},[t._v(t._s(e.name))])}))],2),a("el-table",{staticStyle:{width:"100%","line-height":"30px"},attrs:{size:"mini",data:t.tableData}},[t._l(t.configs[t.activeIndex-1].tableConfig,(function(t,e){return a("el-table-column",{key:e,attrs:{prop:t.prop,label:t.label,"min-width":t.width}})})),a("el-table-column",{attrs:{"show-overflow-tooltip":"",prop:"orderNo",label:t.$t("kcb425fc0"),align:"center",resizable:!1},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticStyle:{display:"flex","align-items":"center"}},[a("el-button",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:e.row.orderNo,expression:"scope.row.orderNo",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:function(e){return t.onCopyResult("success")},expression:"(type) => onCopyResult('success')",arg:"success"},{name:"clipboard",rawName:"v-clipboard:error",value:function(e){return t.onCopyResult("error")},expression:"(type) => onCopyResult('error')",arg:"error"}],staticClass:"copybutton",staticStyle:{"margin-right":"5px"},attrs:{size:"mini",type:"text"}},[t._v(t._s(t.$t("k13ae6a93")))]),a("el-tooltip",{attrs:{effect:"dark",content:e.row.orderNo,placement:"top-start"}},[a("span",{staticClass:"betNo"},[t._v(t._s(e.row.orderNo))])])],1)]}}])}),a("el-table-column",{attrs:{prop:"createdAt",label:t.$t("k89a5db6e"),align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.$common.format(e.row.createdAt)))])]}}])}),a("el-table-column",{attrs:{prop:"typeText",label:t.typeOrMode,align:"center"}}),a("el-table-column",{attrs:{prop:"amount",label:t.$t("k320fdb17"),align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v("￥"+t._s(t.$common.setNumFixed(e.row.amount,2)))])]}}])}),t.water?t._e():a("el-table-column",{attrs:{label:t.$t("k759fb403"),align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==t.activeIndex?a("span",{staticClass:"btn-status",class:t.getBtnClass(e.row.statusText)},[t._v(" "+t._s(e.row.statusText)+" ")]):a("span",{style:{color:e.row.statusColor}},[t._v(t._s(e.row.statusText))]),1==t.activeIndex?a("div",{staticClass:"detail-btn",on:{click:function(a){return t.goDetail(e.row.orderNo)}}},[t._v(t._s(t.$t("kf1b166e7"))+" >")]):t._e()]}}],null,!1,3751042767)}),1==t.activeIndex?a("el-table-column",{attrs:{label:t.$t("kfe731dfc"),align:"center",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{directives:[{name:"show",rawName:"v-show",value:e.row.statusText==t.$t("k2967b5af")||e.row.statusText==t.$t("kdaadf00")||e.row.statusText==t.$t("k5416e708"),expression:"scope.row.statusText == $t('k2967b5af') || scope.row.statusText == $t('kdaadf00') || scope.row.statusText == $t('k5416e708')"}],staticClass:"btn-cancel",attrs:{type:"info",size:"mini"},on:{click:function(a){return t.onRevoke(e.row.orderNo)}}},[t._v(t._s(t.$t("k46b6840f")))]),a("el-button",{directives:[{name:"show",rawName:"v-show",value:(e.row.statusText==t.$t("k2967b5af")||e.row.statusText==t.$t("kdaadf00")||e.row.statusText==t.$t("k5416e708"))&&1!=e.row.isUploadCertificate&&1==e.row.showUploadFlag,expression:"(scope.row.statusText == $t('k2967b5af') || scope.row.statusText == $t('kdaadf00') || scope.row.statusText == $t('k5416e708')) && scope.row.isUploadCertificate!=1 && scope.row.showUploadFlag == 1"}],staticClass:"btn-upload",attrs:{type:"success",size:"mini"},on:{click:function(a){return t.showUpload(e.row)}}},[t._v(t._s(t.$t("k6b9e8d74")))])]}}],null,!1,3655314878)}):t._e(),t.water?a("el-table-column",{attrs:{label:t.$t("kf1b166e7"),align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.toDetails(1,e.row)}}},[t._v(t._s(t.$t("kf1b166e7")))])]}}],null,!1,1936082570)}):t._e()],2),a("el-pagination",{staticStyle:{"text-align":"right"},attrs:{"current-page":t.page.currentPage,"page-size":t.page.pageSize,"hide-on-single-page":!0,layout:"pager",total:t.page.total,"pager-count":5},on:{"current-change":t.getDatas}}),a("el-dialog",{attrs:{title:this.$t("k3aec939e"),visible:t.dialogVisible,width:"800px"},on:{"update:visible":function(e){t.dialogVisible=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.dialoagLoading,expression:"dialoagLoading"}],staticClass:"reback-dialog-table"},[a("div",{staticClass:"reback-dialog-tr"},[a("div",{staticClass:"reback-dialog-td"},[t._v(t._s(t.$t("k7edf331d")))]),a("div",{staticClass:"reback-dialog-td"},[t._v(t._s(t.$t("k9f72ec1a")))]),a("div",{staticClass:"reback-dialog-td"},[t._v(t._s(t.$t("k1d8e5439")))]),a("div",{staticClass:"reback-dialog-td"},[t._v(t._s(t.$t("k79bb7a39")))]),a("div",{staticClass:"reback-dialog-td"},[t._v(t._s(t.$t("k6ec6a445")))])]),t._l(t.dialogForm,(function(e,s){return a("div",{key:s,staticClass:"reback-dialog-tr"},[a("div",{staticClass:"reback-dialog-td"},[t._v(t._s(t.$common.format(e.createdAt)))]),a("div",{staticClass:"reback-dialog-td"},[t._v(t._s(e.vendorName))]),a("div",{staticClass:"reback-dialog-td"},[t._v(t._s(e.gameName))]),a("div",{staticClass:"reback-dialog-td"},[t._v(t._s(t.$common.setNumFixed(e.effectiveBet,2)))]),a("div",{staticClass:"reback-dialog-td"},[t._v(t._s(t.$common.setNumFixed(e.rebateAmount,2)))])])}))],2),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.dialogVisible=!1}}},[t._v(t._s(t.$t("k6979f213")))])],1)]),a("UploadImg",{attrs:{pzVisible:t.pzVisible},on:{"update:pzVisible":function(e){t.pzVisible=e},"update:pz-visible":function(e){t.pzVisible=e},uploadSubmit:t.uploadSubmit}})],1)},i=[],n=(a("a9e3"),a("d81d"),a("ac1f"),a("1276"),a("a15b"),a("4871")),r={components:{UploadImg:n["a"]},data:function(){return{dialoagLoading:!1,dialogVisible:!1,dialogForm:{},loading:!1,activeIndex:1,isShowSteps:0,configs:[{id:1,name:this.$t("k78dbf48f"),tableConfig:[]},{id:2,name:this.$t("kc85bc8d4"),tableConfig:[]},{id:3,name:this.$t("k6b1e447f"),tableConfig:[]},{id:4,name:this.$t("k9c7647e9"),tableConfig:[]},{id:5,name:this.$t("k32cd2060"),tableConfig:[]}],activeDate:0,dates:[],tableData:[],page:{currentPage:1,pageSize:10,total:0},typeOrMode:"",water:!1,pzVisible:!1,orderNo:""}},created:function(){this.initDate();var t=this.$route.query;t&&t.tab&&(this.activeIndex=Number(t.tab)),this.getDatas()},methods:{getBtnClass:function(t){switch(t){case this.$t("k2967b5af"):case this.$t("k5416e708"):return"s1";case this.$t("k2fbf9f97"):return"s2";case this.$t("k3a85b6fb"):return"s3";case this.$t("ka057491"):return"s4";default:return"s5"}},toDetails:function(t,e){var a=this;this.dialogVisible=!0,this.dialoagLoading=!0,this.$http.post(this.$api.getDetailByBetNo,{betNo:e.betNo}).then((function(t){a.dialoagLoading=!1,t.code?a.dialogForm={}:a.dialogForm=t.data}))},getDatas:function(t){var e=this;this.page.currentPage=t||1,this.tableData=[],setTimeout((function(){switch(e.activeIndex){case 1:e.getDatas1();break;case 2:e.getDatas2();break;case 3:e.getDatas3();break;case 4:e.getDatas4();break;case 5:e.getDatas5();break}}),0)},getDatas1:function(){var t=this,e=this,a={createdAtBegin:this.dates[this.activeDate].start||"",createdAtEnd:this.dates[this.activeDate].end||"",memberId:this.$common.getUser().user_id||"",currentPage:this.page.currentPage,pageSize:this.page.pageSize};this.loading=!0,this.$http.post(this.$api.rechargeList,a,!0).then((function(a){t.loading=!1,a.code||(a.data.content.map((function(e){switch(e.typeText=e.payTypeName,e.status){case 0:1==e.isUploadCertificate?e.statusText=t.$t("k5416e708"):e.statusText=t.$t("k2967b5af");break;case 1:1==e.isUploadCertificate?e.statusText=t.$t("k5416e708"):e.statusText=t.$t("kdaadf00"),e.statusColor="#ce8922";break;case 2:e.statusText=t.$t("k2fbf9f97"),e.statusColor="green";break;case 3:e.statusText=t.$t("k3a85b6fb"),e.statusColor="red";break;case 4:e.statusText=t.$t("kfd6d2d3d"),e.statusColor="#aaa";break;case 5:e.statusText=t.$t("ka057491");break;default:e.statusText=""}})),t.tableData=a.data.content||[],t.page.total=a.data.totalRecords||0,e.typeOrMode=e.$t("kb9fed7d1"),e.water=!1)}))},getDatas2:function(){var t=this,e=this,a={createdAtBegin:this.dates[this.activeDate].start||"",createdAtEnd:this.dates[this.activeDate].end||"",memberName:this.$common.getUser().username||"",currentPage:this.page.currentPage,pageSize:this.page.pageSize};this.loading=!0,this.$http.post(this.$api.bankTransfer,a,!0).then((function(a){t.loading=!1,a.code||(a.data.content.map((function(a){switch(a.status){case 0:a.statusText=t.$t("k2967b5af");break;case 1:a.statusText=t.$t("kdaadf00"),a.statusColor="#ce8922";break;case 2:a.statusText=t.$t("k2fbf9f97"),a.statusColor="green";break;case 3:a.statusText=t.$t("k3a85b6fb"),a.statusColor="red";break;case 4:a.statusText=t.$t("kfd6d2d3d"),a.statusColor="#aaa";break;case 5:a.statusText=t.$t("ka057491");break;default:a.statusText=""}switch(a.type){case"alipay":a.typeText=e.$t("keb31d7a6");break;case"wechat":a.typeText=e.$t("ke6cb6c44");break;case"wechath5":a.typeText=e.$t("kd3a2b9a5");break;case"zfbh5":a.typeText=e.$t("k55df155d");break;case"unionclound":a.typeText=e.$t("k16981aa7");break;case"union":a.typeText=e.$t("k651c782b");break;case"other":a.typeText=e.$t("k5d485480");break}})),t.tableData=a.data.content||[],t.page.total=a.data.totalRecords||0,e.typeOrMode=e.$t("kb9fed7d1"),e.water=!1)}))},getDatas3:function(){var t=this,e=this,a={createdAtBegin:this.dates[this.activeDate].start||"",createdAtEnd:this.dates[this.activeDate].end||"",id:this.$common.getUser().user_id,currentPage:this.page.currentPage,pageSize:this.page.pageSize};this.$http.post(this.$api.withdrawalsRecords,a,!0).then((function(a){t.loading=!1,a.code||(a.data.content.map((function(t){if(43===t.type)switch(t.status){case 0:t.statusText=e.$t("k4cf33970");break;case 1:case 5:case 6:case 7:t.statusText=e.$t("kfc1391c9"),t.statusColor="#ce8922";break;case 2:t.statusText=e.$t("kcf7519bf"),t.statusColor="green";break;case 3:t.statusText=e.$t("kda4f30d3"),t.statusColor="error";break;case 4:t.statusText=e.$t("kb1dedda3"),t.statusColor="#aaa";break}else switch(t.status){case 0:t.statusText=e.$t("k3b7e58fb");break;case 1:t.statusText=e.$t("ke9a47c1f"),t.statusColor="#ce8922";break;case 2:t.statusText=e.$t("k5a57b913"),t.statusColor="green";break;case 3:t.statusText=e.$t("k4f6d907f"),t.statusColor="red";break;case 4:t.statusText=e.$t("kb1dedda3"),t.statusColor="#aaa";break}switch(t.type){case 8:t.typeText=e.$t("k25b1ca00");break;case 10:t.typeText=e.$t("kc7b85452");break;case 43:t.typeText=e.$t("k7d22ce91");break;case 47:t.typeText=e.$t("kea733fe3");break}})),t.tableData=a.data.content||[],t.page.total=a.data.totalRecords||0,e.typeOrMode=e.$t("k593451f9"),e.water=!1)}))},getDatas4:function(){var t=this,e=this,a={memberId:this.$common.getUser().user_id,currentPage:this.page.currentPage,pageSize:this.page.pageSize,startTime:this.dates[this.activeDate].start||"",endTime:this.dates[this.activeDate].end||""};this.$http.post(this.$api.rebates,a,!0).then((function(a){t.loading=!1,a.code||(a.data.list.map((function(e){switch(e.orderNo=e.betNo,e.amount=e.rebateAmount,e.type){case 16:e.typeText=t.$t("k8e8810ca");break;case 18:e.typeText=t.$t("k45d145ff");break;default:e.typeText=t.$t("k322f1827")}})),t.tableData=a.data.list||[],t.page.total=a.data.total||0,e.typeOrMode=e.$t("kac8b78a8"),e.water=!0)}))},getDatas5:function(){var t=this,e=this,a={currentPage:this.page.currentPage,pageSize:this.page.pageSize,createdAtStart:this.dates[this.activeDate].start||"",createdAtEnd:this.dates[this.activeDate].end||""};this.$http.post(this.$api.getList,a,!0).then((function(a){t.loading=!1,a.code||(a.data.content.map((function(t){if(42===t.type)switch(t.status){case 0:t.statusText=e.$t("k4cf33970");break;case 1:case 5:case 6:case 7:t.statusText=e.$t("kfc1391c9"),t.statusColor="#ce8922";break;case 2:t.statusText=e.$t("k43fcaf94"),t.statusColor="green";break;case 3:t.statusText=e.$t("k56c686f8"),t.statusColor="red";break;case 4:t.statusText=e.$t("kb1dedda3"),t.statusColor="#aaa";break}else switch(t.status){case 0:t.statusText=e.$t("k763a1e2f"),t.statusColor="#ce8922";break;case 1:t.statusText=e.$t("kf5543e44"),t.statusColor="#aaa";break;case 2:t.statusText=e.$t("k43fcaf94"),t.statusColor="green";break;case 3:t.statusText=e.$t("k56c686f8"),t.statusColor="red";break}switch(t.type){case 6:t.typeText=e.$t("k9126c75b");break;case 7:t.typeText=e.$t("k4cb01ede");break;case 11:t.typeText=e.$t("k7f043337");break;case 12:t.typeText=e.$t("k119b3c69");break;case 13:t.typeText=e.$t("kf067e297");break;case 14:t.typeText=e.$t("k83341334");break;case 15:t.typeText=e.$t("k93c0ba85");break;case 20:t.typeText=e.$t("keeb07916");break;case 21:t.typeText=e.$t("k948a6726");break;case 22:t.typeText=e.$t("k51278953");break;case 23:t.typeText=e.$t("k6580c013");break;case 25:t.typeText=e.$t("k132cac65");break;case 26:t.typeText=e.$t("kfafad0ca");break;case 27:t.typeText=e.$t("ke2260b50");break;case 28:t.typeText=e.$t("k57c4f27b");break;case 31:t.typeText=e.$t("k55b7bab0");break;case 32:t.typeText=e.$t("k8fe3f7c6");break;case 33:t.typeText=e.$t("k4fd58707");break;case 34:t.typeText=e.$t("k5c47f6f5");break;case 35:t.typeText=e.$t("kad4d51c0");break;case 36:t.typeText=e.$t("kab72d63c");break;case 42:t.typeText=e.$t("ka8b48c02");break;case 44:t.typeText=e.$t("kd14b6465");break;case 45:t.typeText=e.$t("k6d21580c");break;case 46:t.typeText=e.$t("k31f601cf");break;case 50:t.typeText=e.$t("k686459bc");break;case 51:t.typeText=e.$t("k6e23c48");break;case 52:t.typeText=e.$t("k3d009778");break;case 53:t.typeText=e.$t("k5acc2c4c");break;case 62:t.typeText=e.$t("k3e296f32");break;case 63:t.typeText=e.$t("k70a7b94c");break;case 64:t.typeText=e.$t("kcd3080af");break;case 65:t.typeText=e.$t("ke86c1182");break;case 66:t.typeText=e.$t("k43d479b2");break;case 67:t.typeText=e.$t("kf6ed35b0");break;case 68:t.typeText=e.$t("kfda6902e");break;case 69:t.typeText=e.$t("k20d646cb");break;case 70:t.typeText=e.$t("kef92a9e9");break;case 71:t.typeText=e.$t("k369ebbf5");break;case 72:t.typeText=e.$t("ka611aa4a");break;case 99:t.typeText=e.$t("k34de9ae8");break}})),t.tableData=a.data.content||[],t.page.total=a.data.totalRecords||0,e.typeOrMode=e.$t("k67d68dd1"),e.water=!1)}))},changeTab:function(t){var e=this;this.activeIndex=t.id,this.page={currentPage:1,pageSize:10,total:0},this.$nextTick((function(){e.getDatas()}))},changeDate:function(t,e){var a=this;this.activeDate=e,this.page={currentPage:1,pageSize:10,total:0},this.$nextTick((function(){a.getDatas()}))},initDate:function(){var t=this,e=new Date,a=e.getMonth()+1>9?e.getMonth()+1:"0"+(e.getMonth()+1),s=e.getFullYear()+"/"+a+"/"+e.getDate(),i=[{date:s,name:r(s),start:o(s),end:c(s)}];function n(t){var e=t.split("/");return"01"==e[1]?(e[1]="12",e[0]=Number(e[0])-1):(e[1]=Number(e[1])-1,e[1]<10&&(e[1]="0"+e[1])),e.join("/")}function r(t){var e=t.split("/");return e[0]+"/"+e[1]}function o(t){var e=t.split("/");return e[0]+"-"+e[1]+"-01 00:00:00"}function c(e){var a=e.split("/");Number(a[1])>=12?(a[0]=Number(a[0])+1,a[1]="01"):(a[1]=Number(a[1])+1,a[1]<10&&(a[1]="0"+a[1]));var s=Date.parse(new Date(a[0]+"-"+a[1]+"-01 00:00:00"));return t.$common.format(s-1e3,"yyyy-MM-dd HH:mm:ss")}i.push({date:n(s),name:r(n(s)),start:o(n(s)),end:c(n(s))}),i.push({date:n(n(s)),name:r(n(n(s))),start:o(n(n(s))),end:c(n(n(s)))}),this.dates=i},onCopyResult:function(t){"success"===t?this.$message({message:this.$t("kc85b087d"),type:"success"}):this.$message({message:this.$t("kbdc7c75"),type:"error"})},onRevoke:function(t){var e=this;this.$confirm(this.$t("kce3037de"),this.$t("k8eaba178"),{confirmButtonText:this.$t("k7949a3e0"),cancelButtonText:this.$t("k743575b6"),customClass:"cancelbox",showClose:!1,center:!0,closeOnClickModal:!1}).then((function(){})).catch((function(){e.$http.post(e.$api.cancelOrder2,{orderNo:t}).then((function(t){0===t.code?e.$message({message:e.$t("kbac2eb27"),type:"success"}):e.$message({message:t.msg,type:"warning"}),e.getDatas1()}))}))},goDetail:function(t){this.$router.push({name:"orderDetail",query:{query:encodeURIComponent(JSON.stringify({orderNo:t}))}})},showUpload:function(t){this.orderNo=t.orderNo,this.pzVisible=!0},uploadSubmit:function(t){var e=this,a={orderNo:this.orderNo,certificateUrl:t};this.$http.post(this.$api.uploadCertificate,a).then((function(t){0===t.code?(e.$message({message:e.$t("k6821dbeb"),type:"success"}),e.pzVisible=!1):e.$message({message:t.msg,type:"warning"}),e.getDatas1()}))}}},o=r,c=(a("e654"),a("2877")),u=Object(c["a"])(o,s,i,!1,null,"0a5d9920",null);e["default"]=u.exports},6062:function(t,e,a){"use strict";var s=a("6d61"),i=a("6566");t.exports=s("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),i)},6566:function(t,e,a){"use strict";var s=a("9bf2").f,i=a("7c73"),n=a("e2cc"),r=a("0366"),o=a("19aa"),c=a("2266"),u=a("7dd0"),l=a("2626"),d=a("83ab"),p=a("f183").fastKey,h=a("69f3"),f=h.set,g=h.getterFor;t.exports={getConstructor:function(t,e,a,u){var l=t((function(t,s){o(t,l,e),f(t,{type:e,index:i(null),first:void 0,last:void 0,size:0}),d||(t.size=0),void 0!=s&&c(s,t[u],{that:t,AS_ENTRIES:a})})),h=g(e),b=function(t,e,a){var s,i,n=h(t),r=m(t,e);return r?r.value=a:(n.last=r={index:i=p(e,!0),key:e,value:a,previous:s=n.last,next:void 0,removed:!1},n.first||(n.first=r),s&&(s.next=r),d?n.size++:t.size++,"F"!==i&&(n.index[i]=r)),t},m=function(t,e){var a,s=h(t),i=p(e);if("F"!==i)return s.index[i];for(a=s.first;a;a=a.next)if(a.key==e)return a};return n(l.prototype,{clear:function(){var t=this,e=h(t),a=e.index,s=e.first;while(s)s.removed=!0,s.previous&&(s.previous=s.previous.next=void 0),delete a[s.index],s=s.next;e.first=e.last=void 0,d?e.size=0:t.size=0},delete:function(t){var e=this,a=h(e),s=m(e,t);if(s){var i=s.next,n=s.previous;delete a.index[s.index],s.removed=!0,n&&(n.next=i),i&&(i.previous=n),a.first==s&&(a.first=i),a.last==s&&(a.last=n),d?a.size--:e.size--}return!!s},forEach:function(t){var e,a=h(this),s=r(t,arguments.length>1?arguments[1]:void 0,3);while(e=e?e.next:a.first){s(e.value,e.key,this);while(e&&e.removed)e=e.previous}},has:function(t){return!!m(this,t)}}),n(l.prototype,a?{get:function(t){var e=m(this,t);return e&&e.value},set:function(t,e){return b(this,0===t?0:t,e)}}:{add:function(t){return b(this,t=0===t?0:t,t)}}),d&&s(l.prototype,"size",{get:function(){return h(this).size}}),l},setStrong:function(t,e,a){var s=e+" Iterator",i=g(e),n=g(s);u(t,e,(function(t,e){f(this,{type:s,target:t,state:i(t),kind:e,last:void 0})}),(function(){var t=n(this),e=t.kind,a=t.last;while(a&&a.removed)a=a.previous;return t.target&&(t.last=a=a?a.next:t.state.first)?"keys"==e?{value:a.key,done:!1}:"values"==e?{value:a.value,done:!1}:{value:[a.key,a.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),a?"entries":"values",!a,!0),l(e)}}},"6d61":function(t,e,a){"use strict";var s=a("23e7"),i=a("da84"),n=a("94ca"),r=a("6eeb"),o=a("f183"),c=a("2266"),u=a("19aa"),l=a("861d"),d=a("d039"),p=a("1c7e"),h=a("d44e"),f=a("7156");t.exports=function(t,e,a){var g=-1!==t.indexOf("Map"),b=-1!==t.indexOf("Weak"),m=g?"set":"add",v=i[t],y=v&&v.prototype,w=v,$={},x=function(t){var e=y[t];r(y,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(b&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return b&&!l(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(b&&!l(t))&&e.call(this,0===t?0:t)}:function(t,a){return e.call(this,0===t?0:t,a),this})},k=n(t,"function"!=typeof v||!(b||y.forEach&&!d((function(){(new v).entries().next()}))));if(k)w=a.getConstructor(e,t,g,m),o.REQUIRED=!0;else if(n(t,!0)){var T=new w,C=T[m](b?{}:-0,1)!=T,_=d((function(){T.has(1)})),A=p((function(t){new v(t)})),D=!b&&d((function(){var t=new v,e=5;while(e--)t[m](e,e);return!t.has(-0)}));A||(w=e((function(e,a){u(e,w,t);var s=f(new v,e,w);return void 0!=a&&c(a,s[m],{that:s,AS_ENTRIES:g}),s})),w.prototype=y,y.constructor=w),(_||D)&&(x("delete"),x("has"),g&&x("get")),(D||C)&&x(m),b&&y.clear&&delete y.clear}return $[t]=w,s({global:!0,forced:w!=v},$),h(w,t),b||a.setStrong(w,t,g),w}},"7eea":function(t,e,a){},"8fb3":function(t,e,a){},"904c":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAARCAYAAADUryzEAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHsSURBVHgBpVNNbtNQEJ4Z26olWsmVICgrwg3MLg0LvEQopYELJDkB9ARVT1BxgroXQAEi1B1mQZplbtDHqlKJFC+6yI/zhnmvOHIdAa06UhRr3vd975s3MwD3DCwnzqMo2NyadeTzBQKGzJACsmLAT5Uvg/ifAr+a9QiRjhmgBswJIiqTZ+YaIEYCVkvm/cf9s96awPj187YAY0PMXO5We0NVFL9o1WtuhsdWCLHz8POPk5XAxUs59OhcBE4q/bPOiiSOzH+1P0zy3GVzJxaBvWyhn1VPh4pM0vPoQGyrG2RzI9I385u8bTzJ85678V6wqeuJGwmatKJAEoZ4CLeI7V6SIvAHMR9N5MEpy6ahOZgvF6Mi0Ac/XZE+Dn4WzzKH7SNON6chsZYXl3jge5PyTfCfcDSZMkH9DcCguzILwRpxTgE4AEvSilzXt9ZnM35TBgq5DYxtU2vpalu2f+WPyFqV3ruE74rAy1eN0DyUqISm1iKfgA6k//F2kqS2jWZwpBPBcmt+lIMqXwcjUwJo3i/OwXi3YSd14ejDa5f5jbv1DgJJb7mXLYR0WppEO2ym9xiJQDffixu7MG7utDTiEZpdANkF+LMLILtwTVTIuvuo4GhtG3M3BLjHjDULstsI36+cjfjpLdp7p/gNuDTQLbh9lsIAAAAASUVORK5CYII="},a434:function(t,e,a){"use strict";var s=a("23e7"),i=a("23cb"),n=a("a691"),r=a("50c4"),o=a("7b0b"),c=a("65f0"),u=a("8418"),l=a("1dde"),d=l("splice"),p=Math.max,h=Math.min,f=9007199254740991,g="Maximum allowed length exceeded";s({target:"Array",proto:!0,forced:!d},{splice:function(t,e){var a,s,l,d,b,m,v=o(this),y=r(v.length),w=i(t,y),$=arguments.length;if(0===$?a=s=0:1===$?(a=0,s=y-w):(a=$-2,s=h(p(n(e),0),y-w)),y+a-s>f)throw TypeError(g);for(l=c(v,s),d=0;d<s;d++)b=w+d,b in v&&u(l,d,v[b]);if(l.length=s,a<s){for(d=w;d<y-s;d++)b=d+s,m=d+a,b in v?v[m]=v[b]:delete v[m];for(d=y;d>y-s+a;d--)delete v[d-1]}else if(a>s)for(d=y-s;d>w;d--)b=d+s-1,m=d+a-1,b in v?v[m]=v[b]:delete v[m];for(d=0;d<a;d++)v[d+w]=arguments[d+2];return v.length=y-s+a,l}})},a4b3:function(t,e,a){"use strict";a("166c")},ba9f:function(t,e,a){t.exports=a("c229")},bb2f:function(t,e,a){var s=a("d039");t.exports=!s((function(){return Object.isExtensible(Object.preventExtensions({}))}))},c229:function(t,e,a){!function(e,a){t.exports=a()}(0,(function(){return function(t){var e={};function a(s){if(e[s])return e[s].exports;var i=e[s]={i:s,l:!1,exports:{}};return t[s].call(i.exports,i,i.exports,a),i.l=!0,i.exports}return a.m=t,a.c=e,a.d=function(t,e,s){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(a.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)a.d(s,i,function(e){return t[e]}.bind(null,i));return s},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=0)}([function(t,e,a){"use strict";var s;function i(t){return["image/png","image/jpeg","image/gif"].some(e=>e===t)}a.r(e),a.d(e,"canvastoDataURL",(function(){return r})),a.d(e,"canvastoFile",(function(){return o})),a.d(e,"dataURLtoFile",(function(){return u})),a.d(e,"dataURLtoImage",(function(){return l})),a.d(e,"downloadFile",(function(){return d})),a.d(e,"filetoDataURL",(function(){return p})),a.d(e,"imagetoCanvas",(function(){return f})),a.d(e,"urltoBlob",(function(){return g})),a.d(e,"urltoImage",(function(){return b})),a.d(e,"compress",(function(){return v})),a.d(e,"compressAccurately",(function(){return y})),a.d(e,"EImageType",(function(){return s})),function(t){t.PNG="image/png",t.JPEG="image/jpeg",t.GIF="image/gif"}(s||(s={}));var n=function(t,e,a,s){return new(a||(a=Promise))((function(i,n){function r(t){try{c(s.next(t))}catch(t){n(t)}}function o(t){try{c(s.throw(t))}catch(t){n(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof a?e:new a((function(t){t(e)}))).then(r,o)}c((s=s.apply(t,e||[])).next())}))};function r(t,e=.92,a=s.JPEG){return n(this,void 0,void 0,(function*(){return i(a)||(a=s.JPEG),t.toDataURL(a,e)}))}function o(t,e=.92,a=s.JPEG){return new Promise(s=>t.toBlob(t=>s(t),a,e))}var c=function(t,e,a,s){return new(a||(a=Promise))((function(i,n){function r(t){try{c(s.next(t))}catch(t){n(t)}}function o(t){try{c(s.throw(t))}catch(t){n(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof a?e:new a((function(t){t(e)}))).then(r,o)}c((s=s.apply(t,e||[])).next())}))};function u(t,e){return c(this,void 0,void 0,(function*(){const a=t.split(",");let s=a[0].match(/:(.*?);/)[1];const n=atob(a[1]);let r=n.length;const o=new Uint8Array(r);for(;r--;)o[r]=n.charCodeAt(r);return i(e)&&(s=e),new Blob([o],{type:s})}))}function l(t){return new Promise((e,a)=>{const s=new Image;s.onload=()=>e(s),s.onerror=()=>a(new Error("dataURLtoImage(): dataURL is illegal")),s.src=t})}function d(t,e){const a=document.createElement("a");a.href=window.URL.createObjectURL(t),a.download=e||Date.now().toString(36),document.body.appendChild(a);const s=document.createEvent("MouseEvents");s.initEvent("click",!1,!1),a.dispatchEvent(s),document.body.removeChild(a)}function p(t){return new Promise(e=>{const a=new FileReader;a.onloadend=t=>e(t.target.result),a.readAsDataURL(t)})}var h=function(t,e,a,s){return new(a||(a=Promise))((function(i,n){function r(t){try{c(s.next(t))}catch(t){n(t)}}function o(t){try{c(s.throw(t))}catch(t){n(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof a?e:new a((function(t){t(e)}))).then(r,o)}c((s=s.apply(t,e||[])).next())}))};function f(t,e={}){return h(this,void 0,void 0,(function*(){const a=Object.assign({},e),s=document.createElement("canvas"),i=s.getContext("2d");let n,r;for(const t in a)Object.prototype.hasOwnProperty.call(a,t)&&(a[t]=Number(a[t]));if(a.scale){const e=a.scale>0&&a.scale<10?a.scale:1;r=t.width*e,n=t.height*e}else r=a.width||a.height*t.width/t.height||t.width,n=a.height||a.width*t.height/t.width||t.height;switch([5,6,7,8].some(t=>t===a.orientation)?(s.height=r,s.width=n):(s.height=n,s.width=r),a.orientation){case 3:i.rotate(180*Math.PI/180),i.drawImage(t,-s.width,-s.height,s.width,s.height);break;case 6:i.rotate(90*Math.PI/180),i.drawImage(t,0,-s.width,s.height,s.width);break;case 8:i.rotate(270*Math.PI/180),i.drawImage(t,-s.height,0,s.height,s.width);break;case 2:i.translate(s.width,0),i.scale(-1,1),i.drawImage(t,0,0,s.width,s.height);break;case 4:i.translate(s.width,0),i.scale(-1,1),i.rotate(180*Math.PI/180),i.drawImage(t,-s.width,-s.height,s.width,s.height);break;case 5:i.translate(s.width,0),i.scale(-1,1),i.rotate(90*Math.PI/180),i.drawImage(t,0,-s.width,s.height,s.width);break;case 7:i.translate(s.width,0),i.scale(-1,1),i.rotate(270*Math.PI/180),i.drawImage(t,-s.height,0,s.height,s.width);break;default:i.drawImage(t,0,0,s.width,s.height)}return s}))}function g(t){return fetch(t).then(t=>t.blob())}function b(t){return new Promise((e,a)=>{const s=new Image;s.onload=()=>e(s),s.onerror=()=>a(new Error("urltoImage(): Image failed to load, please check the image URL")),s.src=t})}var m=function(t,e,a,s){return new(a||(a=Promise))((function(i,n){function r(t){try{c(s.next(t))}catch(t){n(t)}}function o(t){try{c(s.throw(t))}catch(t){n(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof a?e:new a((function(t){t(e)}))).then(r,o)}c((s=s.apply(t,e||[])).next())}))};function v(t,e={}){return m(this,void 0,void 0,(function*(){if(!(t instanceof Blob))throw new Error("compress(): First arg must be a Blob object or a File object.");if("object"!=typeof e&&(e=Object.assign({quality:e})),e.quality=Number(e.quality),Number.isNaN(e.quality))return t;const a=yield p(t);let n=a.split(",")[0].match(/:(.*?);/)[1],o=s.JPEG;i(e.type)&&(o=e.type,n=e.type);const c=yield l(a),d=yield f(c,Object.assign({},e)),h=yield r(d,e.quality,o),g=yield u(h,n);return g.size>t.size?t:g}))}function y(t,e={}){return m(this,void 0,void 0,(function*(){if(!(t instanceof Blob))throw new Error("compressAccurately(): First arg must be a Blob object or a File object.");if("object"!=typeof e&&(e=Object.assign({size:e})),e.size=Number(e.size),Number.isNaN(e.size))return t;if(1024*e.size>t.size)return t;e.accuracy=Number(e.accuracy),(!e.accuracy||e.accuracy<.8||e.accuracy>.99)&&(e.accuracy=.95);const a=e.size*(2-e.accuracy)*1024,n=1024*e.size,o=e.size*e.accuracy*1024,c=yield p(t);let d=c.split(",")[0].match(/:(.*?);/)[1],h=s.JPEG;i(e.type)&&(h=e.type,d=e.type);const g=yield l(c),b=yield f(g,Object.assign({},e));let m,v=.5;const y=[null,null];for(let t=1;t<=7;t++){m=yield r(b,v,h);const e=.75*m.length;if(7===t){(a<e||o>e)&&(m=[m,...y].filter(t=>t).sort((t,e)=>Math.abs(.75*t.length-n)-Math.abs(.75*e.length-n))[0]);break}if(a<e)y[1]=m,v-=Math.pow(.5,t+1);else{if(!(o>e))break;y[0]=m,v+=Math.pow(.5,t+1)}}const w=yield u(m,d);return w.size>t.size?t:w}))}}])}))},e654:function(t,e,a){"use strict";a("8fb3")},f183:function(t,e,a){var s=a("d012"),i=a("861d"),n=a("5135"),r=a("9bf2").f,o=a("90e3"),c=a("bb2f"),u=o("meta"),l=0,d=Object.isExtensible||function(){return!0},p=function(t){r(t,u,{value:{objectID:"O"+l++,weakData:{}}})},h=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!n(t,u)){if(!d(t))return"F";if(!e)return"E";p(t)}return t[u].objectID},f=function(t,e){if(!n(t,u)){if(!d(t))return!0;if(!e)return!1;p(t)}return t[u].weakData},g=function(t){return c&&b.REQUIRED&&d(t)&&!n(t,u)&&p(t),t},b=t.exports={REQUIRED:!1,fastKey:h,getWeakData:f,onFreeze:g};s[u]=!0}}]);