chunk-eadeb24c.6f4f81ed.js 25 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-eadeb24c"],{"4fcd":function(t,e,n){"use strict";var r=n("a144");n.n(r).a},"5dd9":function(t,e,n){"use strict";var r=n("fd59");n.n(r).a},"61f7":function(t,e,n){"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(n,!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var n={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(var r in n)if(new RegExp("(".concat(r,")")).test(e)){var a=n[r]+"";e=e.replace(RegExp.$1,1===RegExp.$1.length?a:o(a))}return e}function o(t){return("00"+t).substr(t.length)}n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return l})),n.d(e,"b",(function(){return d}));var c={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"},u=function(t,e){t.message=function(t){return e.replace("%s",t||"")}};function l(t){return a({required:!0,message:t,type:"string"},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}function d(t){return p.pattern(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,t)}u(l,"请输入%s"),u(d,"%s格式不正确");var p=Object.keys(c).reduce((function(t,e){return t[e]=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s="range"===e?{min:t[0],max:t[1]}:i({},e,t);return a({message:n.replace(":".concat(e),"range"===e?"".concat(t[0],"-").concat(t[1]):t),type:"string"},s,{},r)},u(t[e],c[e]),t}),{})},8688:function(t,e,n){"use strict";n.r(e);var r=n("a34a"),a=n.n(r),i=n("2f62"),s=n("a584"),o=n("c71e"),c=n("9901"),u=n("a6b9"),l=n("61f7");function d(t,e,n,r,a,i,s){try{var o=t[i](s),c=o.value}catch(t){return void n(t)}o.done?e(c):Promise.resolve(c).then(r,a)}function p(t){return function(){var e=this,n=arguments;return new Promise((function(r,a){var i=t.apply(e,n);function s(t){d(i,r,a,s,o,"next",t)}function o(t){d(i,r,a,s,o,"throw",t)}s(void 0)}))}}function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var m={name:"",components:{Cardbox:s.a,Echarts:o.a,echartsFrom:c.a},props:{},data:function(){return{active:1,active2:3,options:{shortcuts:[{text:"今天",value:function(){var t=new Date,e=new Date;return e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),[e,t]}},{text:"昨天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),[e,t]}},{text:"最近7天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-6))),[e,t]}},{text:"最近30天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-29))),[e,t]}},{text:"上月",value:function(){var t=new Date,e=new Date,n=new Date(e.getFullYear(),e.getMonth(),0).getDate();return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth()-1,1))),t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth()-1,n))),[e,t]}},{text:"本月",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),[e,t]}},{text:"本年",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),0,1))),[e,t]}}]},formValidate:{supplier_id:"",data:""},timeVal:[],optionData:{},infoList:{},infoList2:{},loading:!1,loading2:!1,style:{height:"400px"},styles:{height:"400px"},columns:[{title:"序号",type:"index",width:60,align:"center"},{title:"来源",key:"name",minWidth:80,align:"center"},{title:"金额",width:100,key:"value",align:"center"},{title:"占比率",slot:"percent",minWidth:180,align:"center"}],tabList:[],tabList2:[],cardLists:[],supplierColumns:[{title:"供应商信息",key:"supplier_name",align:"left"},{title:"订单金额",key:"order_price",align:"left"},{title:"订单数",key:"order_count",align:"left"},{title:"退款金额",key:"refund_order_price",align:"left"},{title:"退款订单数",key:"refund_order_count",align:"left"}],supplierName:[],supplierList:[],page:{total:0,pageNum:1,pageSize:10}}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(n,!0).forEach((function(e){f(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(i.e)("admin/layout",["isMobile"]),{labelWidth:function(){return this.isMobile?void 0:96},labelPosition:function(){return this.isMobile?"top":"right"}}),watch:{},created:function(){this.homeHeader(),this.getSupplierList(),this.homeOrder(),this.orderChannel(),this.orderType(),this.homeSupplier();var t=new Date,e=new Date;e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-29))),this.timeVal=[e,t],this.formValidate.data=Object(l.a)(e,"yyyy/MM/dd")+"-"+Object(l.a)(t,"yyyy/MM/dd")},mounted:function(){},methods:{onchangeTime:function(t){this.timeVal=t,this.formValidate.data=this.timeVal[0]?this.timeVal.join("-"):"",this.homeHeader(),this.homeOrder(),this.orderChannel(),this.orderType(),this.homeSupplier()},selectChange:function(){this.homeHeader(),this.homeOrder(),this.orderChannel(),this.orderType(),this.homeSupplier()},pageChange:function(t){this.page.pageNum=t,thie.homeSupplier()},limitChange:function(t){this.page.pageSize=t,this.homeSupplier()},one:function(t){this.active=t},activeTwo:function(t){this.active2=t},getSupplierList:function(){var t=this;Object(u.o)().then(function(){var e=p(a.a.mark((function e(n){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.supplierName=n.data;case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))},homeHeader:function(){var t=this;Object(u.r)(this.formValidate).then(function(){var e=p(a.a.mark((function e(n){var r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=["pay_price","pay_count","refund_price","refund_count"],t.cardLists.map((function(t,e){t.count=n.data[r[e]]}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))},homeOrder:function(){var t=this;Object(u.s)(this.formValidate).then(function(){var e=p(a.a.mark((function e(n){var r,i,s,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=n.data.series.map((function(t){return t.name})),i=n.data.xAxis,s=["#5B8FF9","#5AD8A6","#FFAB2B","#5D7092"],o=[],n.data.series.map((function(t,e){o.push({name:t.name,type:"line",data:t.data,itemStyle:{normal:{color:s[e]}},smooth:0})})),t.optionData={tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{x:"center",data:r},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},toolbox:{show:!0,right:"2%",feature:{saveAsImage:{name:"营业趋势_"+Object(l.a)(new Date(Number((new Date).getTime())),"yyyyMMddhhmmss")}}},xAxis:{type:"category",boundaryGap:!0,axisLabel:{interval:0,rotate:40,textStyle:{color:"#000000"}},data:i},yAxis:{type:"value",axisLine:{show:!1},axisTick:{show:!1},axisLabel:{textStyle:{color:"#7F8B9C"}},splitLine:{show:!0,lineStyle:{color:"#F5F7F9"}}},series:o},t.spinShow=!1;case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))},orderChannel:function(){var t=this;this.loading=!0,Object(u.u)(this.formValidate).then(function(){var e=p(a.a.mark((function e(n){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.infoList=n.data,t.tabList=n.data.list,t.loading=!1;case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))},orderType:function(){var t=this;this.loading2=!0,Object(u.x)(this.formValidate).then(function(){var e=p(a.a.mark((function e(n){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.infoList2=n.data,t.tabList2=n.data.list,t.loading2=!1;case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))},homeSupplier:function(){var t=this;Object(u.t)(this.formValidate).then(function(){var e=p(a.a.mark((function e(n){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.supplierList=n.data,t.page.total=t.supplierList.length;case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))}}},g=(n("4fcd"),n("2877")),b=Object(g.a)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":"",padding:0}},[n("Form",{ref:"formValidate",staticClass:"formValidate mt20 card",attrs:{"label-width":t.labelWidth,"label-position":t.labelPosition,model:t.formValidate,inline:""}},[n("FormItem",{attrs:{label:"时间选择:"}},[n("DatePicker",{staticClass:"input-add",attrs:{editable:!1,clearable:"",value:t.timeVal,format:"yyyy/MM/dd",type:"datetimerange",placement:"bottom-start",placeholder:"自定义时间",options:t.options},on:{"on-change":t.onchangeTime}})],1),n("FormItem",{attrs:{label:"供应商:"}},[n("Select",{staticClass:"input-add",attrs:{clearable:""},on:{"on-change":t.selectChange},model:{value:t.formValidate.supplier_id,callback:function(e){t.$set(t.formValidate,"supplier_id",e)},expression:"formValidate.supplier_id"}},t._l(t.supplierName,(function(e){return n("Option",{key:e.id,attrs:{value:e.id}},[t._v(t._s(e.supplier_name))])})),1)],1)],1)],1),n("Cardbox",{attrs:{cardLists:t.cardLists}}),n("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[n("h3",[t._v("营业趋势")]),t.optionData?n("Echarts",{attrs:{styles:t.style,height:"100%",width:"100%","option-data":t.optionData}}):t._e()],1),n("Row",{staticClass:"ivu-mt",attrs:{gutter:24}},[n("Col",{attrs:{xl:12,lg:12,md:24,sm:24,xs:24}},[n("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[n("div",{staticClass:"acea-row row-between-wrapper"},[n("h3",{staticClass:"header-title"},[t._v("订单来源统计")]),n("div",{staticClass:"change-style"},[n("div",{staticClass:"change_type",class:{active:1==t.active},on:{click:function(e){return t.one(1)}}},[n("Icon",{attrs:{type:"ios-pie"}})],1),n("div",{staticClass:"change_type",class:{active:2==t.active},on:{click:function(e){return t.one(2)}}},[n("Icon",{attrs:{type:"ios-apps"}})],1)])]),n("div",{staticClass:"ech-box"},[1==t.active?n("echarts-from",{attrs:{infoList:t.infoList,echartsTitle:"circle",styles:t.styles}}):n("Table",{ref:"selection",attrs:{columns:t.columns,data:t.tabList,loading:t.loading,height:"400","no-data-text":"暂无数据","highlight-row":"","no-filtered-data-text":"暂无筛选结果"},scopedSlots:t._u([{key:"percent",fn:function(e){var r=e.row;return[n("div",{staticClass:"percent-box"},[n("div",{staticClass:"line"},[n("div",{staticClass:"bg"}),n("div",{staticClass:"percent",style:"width:"+r.percent+"%;"})]),n("div",{staticClass:"num"},[t._v(t._s(r.percent)+"%")])])]}}])})],1)])],1),n("Col",{attrs:{xl:12,lg:12,md:24,sm:24,xs:24}},[n("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[n("div",{staticClass:"acea-row row-between-wrapper"},[n("h3",{staticClass:"header-title"},[t._v("订单类型分析")]),n("div",{staticClass:"change-style"},[n("div",{staticClass:"change_type",class:{active:3==t.active2},on:{click:function(e){return t.activeTwo(3)}}},[n("Icon",{attrs:{type:"ios-pie"}})],1),n("div",{staticClass:"change_type",class:{active:4==t.active2},on:{click:function(e){return t.activeTwo(4)}}},[n("Icon",{attrs:{type:"ios-apps"}})],1)])]),n("div",{staticClass:"ech-box"},[3==t.active2?n("echarts-from",{ref:"visitChart",attrs:{infoList:t.infoList2,echartsTitle:"circle",styles:t.styles}}):n("Table",{ref:"selection",attrs:{columns:t.columns,data:t.tabList2,"no-data-text":"暂无数据",loading:t.loading,height:"400","highlight-row":"","no-filtered-data-text":"暂无筛选结果"},scopedSlots:t._u([{key:"percent",fn:function(e){var r=e.row;return[n("div",{staticClass:"percent-box"},[n("div",{staticClass:"line"},[n("div",{staticClass:"bg"}),n("div",{staticClass:"percent",style:"width:"+r.percent+"%;"})]),n("div",{staticClass:"num"},[t._v(t._s(r.percent)+"%")])])]}}])})],1)])],1)],1),n("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[n("h3",{staticClass:"supplier"},[t._v("供应商数据统计")]),n("Table",{ref:"selection",attrs:{columns:t.supplierColumns,data:t.supplierList,"no-data-text":"暂无数据","highlight-row":"",loading:t.loading,"no-filtered-data-text":"暂无筛选结果"}}),n("div",{staticClass:"acea-row row-right page"},[n("Page",{attrs:{total:t.page.total,current:t.page.pageNum,"show-elevator":"","show-total":"","page-size":t.page.pageSize,"show-sizer":""},on:{"on-change":t.pageChange,"on-page-size-change":t.limitChange}})],1)],1)],1)}),[],!1,null,"815d2a5e",null);e.default=b.exports},"8dd3":function(t,e,n){"use strict";var r=n("b93c");n.n(r).a},9901:function(t,e,n){"use strict";var r=n("313e"),a=n.n(r),i={name:"index",props:{infoList:{type:Object,default:null},styles:{type:Object,default:null},series:Array,echartsTitle:{type:String,default:""},yAxisData:{type:Array,default:function(){return[]}},bingXdata:Array},data:function(){return{infoLists:this.infoList,seriesArray:this.series}},watch:{infoList:{handler:function(t,e){this.infoLists=t,this.handleSetVisitChart()},deep:!0},series:{handler:function(t,e){this.seriesArray=t,this.handleSetVisitChart()},deep:!0}},computed:{echarts:function(){return"echarts"+Math.ceil(100*Math.random())}},mounted:function(){var t=this,e=this;e.$nextTick((function(){e.handleSetVisitChart(),window.addEventListener("resize",t.wsFunc)}))},methods:{wsFunc:function(){this.myChart.resize()},handleSetVisitChart:function(){var t=this;this.myChart=a.a.init(document.getElementById(this.echarts));var e=null;e="circle"===this.echartsTitle?{tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},legend:{orient:"vertical",left:"left",data:this.infoLists.bing_xdata||[]},series:[{name:"",type:"pie",radius:"60%",center:["50%","50%"],data:this.infoLists.bing_data||[],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]}:"circle1"===this.echartsTitle?{tooltip:{trigger:"item",formatter:"{b} : {c} ({d}%)"},legend:{icon:"circle",top:"5%",left:"center",fontSize:"12",data:this.infoLists.bing_xdata||[]},series:[{name:"访问来源",type:"pie",radius:["30%","60%"],avoidLabelOverlap:!1,label:{show:!0,formatter:"{d}%",position:"inner",fontSize:"12"},emphasis:{label:{show:!0,fontSize:"15",fontWeight:"bold"}},labelLine:{show:!1},data:this.infoLists.bing_data||[]}]}:"inlie"===this.echartsTitle?{tooltip:{trigger:"axis"},toolbox:{},legend:{icon:"line",left:"left",fontWeight:"100",data:this.infoLists.legend||[]},color:["#1495EB","#00CC66","#F9D249","#ff9900","#9860DF"],grid:{left:16,right:25,bottom:10,top:40,containLabel:!0},xAxis:[{type:"category",axisLine:{lineStyle:{color:"#D7DDE4"}},axisTick:{alignWithLabel:!0,lineStyle:{color:"#D7DDE4"}},splitLine:{show:!1,lineStyle:{color:"#F5F7F9"}},axisLabel:{interval:0,rotate:40,textStyle:{color:"#7F8B9C"}},data:this.infoLists.xAxis}],yAxis:this.yAxisData.length?this.yAxisData:{axisLine:{show:!1},axisTick:{show:!1},axisLabel:{textStyle:{color:"#7F8B9C"}},splitLine:{show:!0,lineStyle:{color:"#F5F7F9"}},type:"value"},series:this.seriesArray}:{tooltip:{trigger:"axis"},toolbox:{},legend:{data:this.infoLists.legend||[]},color:["#1495EB","#00CC66","#F9D249","#ff9900","#9860DF"],grid:{left:16,right:25,bottom:10,top:40,containLabel:!0},xAxis:[{type:"category",axisLine:{lineStyle:{color:"#D7DDE4"}},axisTick:{alignWithLabel:!0,lineStyle:{color:"#D7DDE4"}},splitLine:{show:!1,lineStyle:{color:"#F5F7F9"}},axisLabel:{interval:0,rotate:40,textStyle:{color:"#7F8B9C"}},data:this.infoLists.xAxis}],yAxis:this.yAxisData.length?this.yAxisData:{axisLine:{show:!1},axisTick:{show:!1},axisLabel:{textStyle:{color:"#7F8B9C"}},splitLine:{show:!0,lineStyle:{color:"#F5F7F9"}},type:"value"},series:this.seriesArray},setTimeout((function(){t.wsFunc(),t.myChart.setOption(e,!0)}),200)},handleResize:function(){this.myChart.resize()}},beforeDestroy:function(){window.removeEventListener("resize",this.wsFunc),this.myChart&&(this.myChart.dispose(),this.myChart=null)}},s=(n("8dd3"),n("2877")),o=Object(s.a)(i,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("div",{staticClass:"styles",style:this.styles,attrs:{id:this.echarts}})])}),[],!1,null,"e03fd378",null);e.a=o.exports},a144:function(t,e,n){},a584:function(t,e,n){"use strict";var r;function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i=(a(r={name:"cards",data:function(){return{}},props:{cardLists:Array}},"data",(function(){return{}})),a(r,"methods",{}),a(r,"created",(function(){})),r),s=(n("5dd9"),n("2877")),o=Object(s.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Row",{staticClass:"ivu-mt",attrs:{type:"flex",align:"middle",gutter:16}},t._l(t.cardLists,(function(e,r){return n("Col",{key:r,staticClass:"ivu-mb",attrs:{xs:24,sm:24,md:24,lg:12,xl:8,xxl:{span:e.col}}},[n("Card",{staticClass:"card_cent",attrs:{shadow:"",padding:0}},[n("div",{staticClass:"card_box"},[n("div",{staticClass:"card_box_cir",class:{one:r%5==0,two:r%5==1,three:r%5==2,four:r%5==3,five:r%5==4}},[n("div",{staticClass:"card_box_cir1",class:{one1:r%5==0,two1:r%5==1,three1:r%5==2,four1:r%5==3,five1:r%5==4}},[e.type?n("span",{staticClass:"iconfont",class:e.className}):n("Icon",{attrs:{type:e.className}})],1)]),n("div",{staticClass:"card_box_txt"},[n("span",{staticClass:"sp1",domProps:{textContent:t._s(e.count||0)}}),n("span",{staticClass:"sp2",domProps:{textContent:t._s(e.name)}})])])])],1)})),1)],1)}),[],!1,null,"4e72687f",null);e.a=o.exports},a6b9:function(t,e,n){"use strict";n.d(e,"J",(function(){return a})),n.d(e,"n",(function(){return i})),n.d(e,"a",(function(){return s})),n.d(e,"y",(function(){return o})),n.d(e,"z",(function(){return c})),n.d(e,"o",(function(){return u})),n.d(e,"h",(function(){return l})),n.d(e,"b",(function(){return d})),n.d(e,"v",(function(){return p})),n.d(e,"c",(function(){return h})),n.d(e,"B",(function(){return f})),n.d(e,"j",(function(){return m})),n.d(e,"l",(function(){return g})),n.d(e,"w",(function(){return b})),n.d(e,"r",(function(){return y})),n.d(e,"s",(function(){return v})),n.d(e,"u",(function(){return w})),n.d(e,"x",(function(){return x})),n.d(e,"K",(function(){return D})),n.d(e,"t",(function(){return C})),n.d(e,"k",(function(){return O})),n.d(e,"m",(function(){return j})),n.d(e,"q",(function(){return _})),n.d(e,"A",(function(){return L})),n.d(e,"g",(function(){return F})),n.d(e,"f",(function(){return S})),n.d(e,"p",(function(){return T})),n.d(e,"i",(function(){return k})),n.d(e,"F",(function(){return M})),n.d(e,"G",(function(){return E})),n.d(e,"I",(function(){return P})),n.d(e,"d",(function(){return A})),n.d(e,"H",(function(){return V})),n.d(e,"e",(function(){return $})),n.d(e,"C",(function(){return z})),n.d(e,"E",(function(){return B})),n.d(e,"L",(function(){return I})),n.d(e,"D",(function(){return Y}));var r=n("b6bd");function a(t){return Object(r.a)({url:"supplier/supplier",method:"get",params:t})}function i(t){return Object(r.a)({url:"/supplier/supplier/".concat(t),method:"get"})}function s(t){return Object(r.a)({url:"supplier/supplier",method:"post",data:t})}function o(t,e){return Object(r.a)({url:"supplier/supplier/".concat(t),method:"put",data:e})}function c(t,e){return Object(r.a)({url:"/supplier/supplier/set_status/".concat(t,"/").concat(e),method:"put"})}function u(t){return Object(r.a)({url:"/supplier/list",method:"get",params:t})}function l(t){return Object(r.a)({url:"/supplier/order/list",method:"get",params:t})}function d(t){return Object(r.a)({url:"/supplier/order/deliver_remind/".concat(t.supplier_id,"/").concat(t.id),method:"put"})}function p(t){return Object(r.a)({url:"/supplier/order/info/".concat(t),method:"get"})}function h(t){return Object(r.a)({url:"/supplier/order/distribution_info",method:"get",params:{ids:t}})}function f(t,e){return Object(r.a)({url:"/supplier/order/split_order/"+t,method:"get",params:e})}function m(t){return Object(r.a)({url:"/supplier/order/status/".concat(t.id),method:"get",params:t.datas})}function g(t){return Object(r.a)({url:"/supplier/order/refund/".concat(t),method:"get"})}function b(t){return Object(r.a)({url:"/supplier/refund/list",method:"get",params:t})}function y(t){return Object(r.a)({url:"/supplier/home/header",method:"get",params:t})}function v(t){return Object(r.a)({url:"/supplier/home/order",method:"get",params:t})}function w(t){return Object(r.a)({url:"/supplier/home/order_channel",method:"get",params:t})}function x(t){return Object(r.a)({url:"/supplier/home/order_type",method:"get",params:t})}function D(t){return Object(r.a)({url:"/supplier/supplier/login/".concat(t),method:"get"})}function C(t){return Object(r.a)({url:"/supplier/home/supplier",method:"get",params:t})}function O(t){return Object(r.a)({url:"/supplier/refund/detail/".concat(t),method:"get"})}function j(t){return Object(r.a)({url:"/supplier/refund/refund/".concat(t),method:"get"})}function _(t){return Object(r.a)({url:"/supplier/order/no_refund/".concat(t),method:"get"})}function L(t){return Object(r.a)({url:"/supplier/order/refund_integral/".concat(t),method:"get"})}function F(t){return Object(r.a)({url:"/supplier/order/distribution/".concat(t),method:"get"})}function S(t){return Object(r.a)({url:"/supplier/apply/list",method:"get",params:t})}function T(t){return Object(r.a)({url:"/supplier/apply/verify/form/".concat(t),method:"get"})}function k(t){return Object(r.a)({url:"/supplier/apply/mark/form/".concat(t),method:"get"})}function M(t){return Object(r.a)({url:"/supplier/flowing_water/fund_record_info",method:"get",params:t})}function E(t){return Object(r.a)({url:"/supplier/flowing_water/list",method:"get",params:t})}function P(t,e){return Object(r.a)({url:"/supplier/flowing_water/mark/".concat(t),method:"put",params:e})}function A(t){return Object(r.a)({url:"/export/supplierWaterExport",method:"get",params:t})}function V(t){return Object(r.a)({url:"/supplier/flowing_water/fund_record",method:"get",params:t})}function $(t){return Object(r.a)({url:"/export/supplierWaterRecord",method:"get",params:t})}function z(t){return Object(r.a)({url:"/supplier/extract/list",method:"get",params:t})}function B(t,e){return Object(r.a)({url:"/supplier/extract/verify/".concat(t),method:"post",data:e})}function I(t){return Object(r.a)({url:"/supplier/extract/transfer/".concat(t),method:"get"})}function Y(t,e){return Object(r.a)({url:"/supplier/extract/mark/".concat(t),method:"post",data:e})}},b93c:function(t,e,n){},c71e:function(t,e,n){"use strict";var r=n("313e"),a=n.n(r),i={name:"Index",props:{styles:{type:Object,default:null},optionData:{type:Object,default:null}},data:function(){return{myChart:null}},computed:{echarts:function(){return"echarts"+Math.ceil(100*Math.random())}},watch:{optionData:{handler:function(t,e){this.handleSetVisitChart()},deep:!0}},mounted:function(){var t=this,e=this;e.$nextTick((function(){e.handleSetVisitChart(),window.addEventListener("resize",t.wsFunc)}))},beforeDestroy:function(){window.removeEventListener("resize",this.wsFunc),this.myChart&&(this.myChart.dispose(),this.myChart=null)},methods:{wsFunc:function(){this.myChart.resize()},handleSetVisitChart:function(){var t;this.myChart=a.a.init(document.getElementById(this.echarts)),t=this.optionData,this.myChart.setOption(t,!0)}}},s=n("2877"),o=Object(s.a)(i,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("div",{style:this.styles,attrs:{id:this.echarts}})])}),[],!1,null,"458f4634",null);e.a=o.exports},fd59:function(t,e,n){}}]);