1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-5a11c384"],{2813:function(t,e,n){},"2e12":function(t,e,n){},"380c":function(t,e,n){"use strict";n("b27e")},"3db8":function(t,e,n){"use strict";n("2e12")},8593:function(t,e,n){"use strict";n.d(e,"i",(function(){return i})),n.d(e,"g",(function(){return a})),n.d(e,"h",(function(){return s})),n.d(e,"db",(function(){return o})),n.d(e,"m",(function(){return c})),n.d(e,"k",(function(){return u})),n.d(e,"l",(function(){return l})),n.d(e,"j",(function(){return d})),n.d(e,"L",(function(){return f})),n.d(e,"D",(function(){return h})),n.d(e,"K",(function(){return m})),n.d(e,"I",(function(){return b})),n.d(e,"F",(function(){return g})),n.d(e,"G",(function(){return p})),n.d(e,"H",(function(){return v})),n.d(e,"J",(function(){return y})),n.d(e,"Z",(function(){return _})),n.d(e,"fb",(function(){return O})),n.d(e,"s",(function(){return j})),n.d(e,"c",(function(){return x})),n.d(e,"e",(function(){return C})),n.d(e,"b",(function(){return w})),n.d(e,"d",(function(){return k})),n.d(e,"f",(function(){return S})),n.d(e,"w",(function(){return L})),n.d(e,"u",(function(){return T})),n.d(e,"v",(function(){return D})),n.d(e,"Q",(function(){return F})),n.d(e,"P",(function(){return z})),n.d(e,"R",(function(){return P})),n.d(e,"Y",(function(){return A})),n.d(e,"o",(function(){return E})),n.d(e,"n",(function(){return $})),n.d(e,"U",(function(){return G})),n.d(e,"q",(function(){return N})),n.d(e,"t",(function(){return R})),n.d(e,"V",(function(){return B})),n.d(e,"a",(function(){return I})),n.d(e,"A",(function(){return V})),n.d(e,"cb",(function(){return M})),n.d(e,"E",(function(){return U})),n.d(e,"rb",(function(){return q})),n.d(e,"qb",(function(){return J})),n.d(e,"M",(function(){return X})),n.d(e,"O",(function(){return W})),n.d(e,"B",(function(){return H})),n.d(e,"S",(function(){return K})),n.d(e,"T",(function(){return Q})),n.d(e,"x",(function(){return Y})),n.d(e,"ab",(function(){return Z})),n.d(e,"y",(function(){return tt})),n.d(e,"bb",(function(){return et})),n.d(e,"p",(function(){return nt})),n.d(e,"C",(function(){return rt})),n.d(e,"z",(function(){return it})),n.d(e,"W",(function(){return at})),n.d(e,"lb",(function(){return st})),n.d(e,"nb",(function(){return ot})),n.d(e,"kb",(function(){return ct})),n.d(e,"ob",(function(){return ut})),n.d(e,"mb",(function(){return lt})),n.d(e,"r",(function(){return dt})),n.d(e,"pb",(function(){return ft})),n.d(e,"gb",(function(){return ht})),n.d(e,"eb",(function(){return mt})),n.d(e,"hb",(function(){return bt})),n.d(e,"X",(function(){return gt})),n.d(e,"jb",(function(){return pt})),n.d(e,"N",(function(){return vt})),n.d(e,"ib",(function(){return yt})),n("99af");var r=n("6b6c");function i(t){return Object(r.a)({url:"setting/config_class",method:"get",params:t})}function a(t){return Object(r.a)({url:"setting/config_class/create",method:"get"})}function s(t){return Object(r.a)({url:"setting/config_class/".concat(t,"/edit"),method:"get"})}function o(t){return Object(r.a)({url:"setting/config_class/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function c(t){return Object(r.a)({url:"setting/config",method:"get",params:t})}function u(t){return Object(r.a)({url:"setting/config/create",method:"get",params:t})}function l(t){return Object(r.a)({url:"/setting/config/".concat(t,"/edit"),method:"get"})}function d(t,e){return Object(r.a)({url:"setting/config/set_status/".concat(t,"/").concat(e),method:"PUT"})}function f(t){return Object(r.a)({url:"setting/group",method:"get",params:t})}function h(t){return Object(r.a)({url:t.url,method:t.method,data:t.datas})}function m(t){return Object(r.a)({url:"setting/group/".concat(t),method:"get"})}function b(t,e){return Object(r.a)({url:e,method:"get",params:t})}function g(t,e){return Object(r.a)({url:e,method:"get",params:t})}function p(t,e){return Object(r.a)({url:e,method:"get",params:t})}function v(t,e){return Object(r.a)({url:e,method:"get",params:t})}function y(t){return Object(r.a)({url:t,method:"PUT"})}function _(t){return Object(r.a)({url:"system/log/search_admin",method:"GET"})}function O(t){return Object(r.a)({url:"system/log",method:"GET",params:t})}function j(){return Object(r.a)({url:"system/file",method:"GET"})}function x(){return Object(r.a)({url:"system/backup",method:"GET"})}function C(t){return Object(r.a)({url:"system/backup/read",method:"GET",params:t})}function w(t){return Object(r.a)({url:"system/backup/backup",method:"put",data:t})}function k(t){return Object(r.a)({url:"system/backup/optimize",method:"put",data:t})}function S(t){return Object(r.a)({url:"system/backup/repair",method:"put",data:t})}function L(t){return Object(r.a)({url:"system/backup/file_list",method:"GET"})}function T(t){return Object(r.a)({url:"backup/download",method:"get",params:t})}function D(t){return Object(r.a)({url:"system/backup/import",method:"POST",data:t})}function F(t){return Object(r.a)({url:"system/file/login",method:"POST",data:t})}function z(t){return Object(r.a)({url:"system/file/opendir",method:"GET",params:t,file_edit:!0})}function P(t){return Object(r.a)({url:"system/file/openfile",method:"GET",params:t,file_edit:!0})}function A(t){return Object(r.a)({url:"system/file/savefile?fileToken=".concat(t.fileToken),method:"post",data:t,file_edit:!0})}function E(t){return Object(r.a)({url:"system/file/createFolder",method:"GET",params:t,file_edit:!0})}function $(t){return Object(r.a)({url:"system/file/createFile",method:"GET",params:t,file_edit:!0})}function G(t){return Object(r.a)({url:"system/file/rename",method:"GET",params:t,file_edit:!0})}function N(t){return Object(r.a)({url:"system/file/delFolder",method:"GET",params:t,file_edit:!0})}function R(t){return Object(r.a)({url:"system/file/mark",method:"get",params:t,file_edit:!0})}function B(t){return Object(r.a)({url:"system/replace_site_url",method:"post",data:t})}function I(){return Object(r.a)({url:"auth",method:"get"})}function V(){return Object(r.a)({url:"setting/get_kf_adv",method:"get"})}function M(t){return Object(r.a)({url:"setting/set_kf_adv",method:"post",data:t})}function U(){return Object(r.a)({url:"setting/group_all",method:"get"})}function q(t){return Object(r.a)({url:"system/version_list",method:"get",params:t})}function J(t){return Object(r.a)({url:"system/version_crate/".concat(t),method:"get"})}function X(t){return Object(r.a)({url:"setting/group_data/save_all",method:"POST",data:t})}function W(t){return Object(r.a)({url:"diy/open_adv/add",method:"POST",data:t})}function H(){return Object(r.a)({url:"diy/open_adv/info",method:"get"})}function K(t){return Object(r.a)({url:"setting/config/get_system/".concat(t),method:"get"})}function Q(t){return Object(r.a)({url:"setting/config/save_basics",method:"POST",data:t})}function Y(){return Object(r.a)({url:"setting/get_user_agreement",method:"get"})}function Z(t){return Object(r.a)({url:"setting/set_user_agreement",method:"post",data:t})}function tt(t){return Object(r.a)({url:"setting/get_agreement/".concat(t),method:"get"})}function et(t,e){return Object(r.a)({url:"setting/save_agreement",method:"post",data:t})}function nt(t){return Object(r.a)({url:"crmeb_product",method:"get",params:t})}function rt(){return Object(r.a)({url:"setting/get_version",method:"get"})}function it(){return Object(r.a)({url:"copyright",method:"get"})}function at(t){return Object(r.a)({url:"copyright",method:"post",data:t})}function st(t){return Object(r.a)({url:"/system/upgrade/list",method:"get",params:t})}function ot(){return Object(r.a)({url:"/system/upgrade_progress",method:"get"})}function ct(){return Object(r.a)({url:"/system/upgrade/agreement",method:"get"})}function ut(){return Object(r.a)({url:"/system/upgrade_status",method:"get"})}function lt(t){return Object(r.a)({url:"/system/upgrade_log/list",method:"get",params:t})}function dt(t){return Object(r.a)({url:"/system/upgrade_download/"+t,method:"POST"})}function ft(t){return Object(r.a)({url:"/system/upgradeable/list",method:"get",params:t})}function ht(t){return Object(r.a)({url:"system/crontab/list",params:t})}function mt(t,e){return Object(r.a)({url:"system/crontab/set_open/".concat(t,"/").concat(e)})}function bt(t){return Object(r.a)({url:"system/crontab/info/".concat(t)})}function gt(t){return Object(r.a)({url:"system/crontab/save",method:"post",data:t})}function pt(t){return Object(r.a)({url:"system/database/update_mark",method:"post",data:t})}function vt(t,e){return Object(r.a)({url:"system/file/mark/save?fileToken=".concat(t),method:"post",data:e})}function yt(){return Object(r.a)({url:"system/crontab/mark"})}},"8e4f":function(t,e,n){"use strict";n("2813")},9901:function(t,e,n){"use strict";var r=n("313e"),i=n.n(r);r={name:"index",props:{infoList:{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(){this.myChart=i.a.init(document.getElementById(this.echarts));var t=null;t="circle"===this.echartsTitle?{tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},legend:{orient:"vertical",left:"right",data:this.infoLists.bing_xdata||[]},series:[{name:"访问来源",type:"pie",radius:"70%",center:["50%","60%"],data:this.infoLists.bing_data||[],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]}:{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};this.myChart.setOption(t,!0)},handleResize:function(){this.myChart.resize()}},beforeDestroy:function(){window.removeEventListener("resize",this.wsFunc),this.myChart&&(this.myChart.dispose(),this.myChart=null)}},n=n("2877"),n=Object(n.a)(r,(function(){var t=this._self._c;return t("div",[t("div",{staticStyle:{height:"300px"},attrs:{id:this.echarts}})])}),[],!1,null,"00217dc6",null);e.a=n.exports},b27e:function(t,e,n){},d0be:function(t,e,n){},d2f3:function(t,e,n){"use strict";n("d0be")},e6ee:function(t,e,n){},ec6c:function(t,e,n){"use strict";n("e6ee")},f75a:function(t,e,n){"use strict";n.r(e),n("a9e3");var r=n("c7eb"),i=n("1da1"),a=n("6b6c"),s={data:function(){return{infoList:[],grid:{xl:6,lg:6,md:12,sm:12,xs:24},excessStyle:{color:"#f56a00",backgroundColor:"#fde3cf"},avatarList:[]}},methods:{getStatistics:function(){var t=this;Object(a.a)({url:"home/header",method:"get"}).then(function(){var e=Object(i.a)(Object(r.a)().mark((function e(n){var i;return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=n.data,t.infoList=i.info;case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$message.error(e.msg)}))}},mounted:function(){this.getStatistics()}},o=(n("d2f3"),n("2877")),c=(s=Object(o.a)(s,(function(){var t=this,e=t._self._c;return e("el-row",{attrs:{gutter:16}},t._l(t.infoList,(function(n,r){return e("el-col",t._b({key:r,staticClass:"ivu-mb"},"el-col",t.grid,!1),[e("el-card",{attrs:{shadow:"never",padding:0}},[e("p",{attrs:{slot:"header"},slot:"header"},[e("span",{domProps:{textContent:t._s(n.title)}}),e("el-tag",{staticStyle:{float:"right"},attrs:{type:"success"}},[t._v(t._s(n.date))])],1),e("div",[e("div",{staticClass:"number"},[t._v(t._s(n.today))]),e("div",{staticClass:"ivu-pt-8",staticStyle:{height:"42px"}},[e("span",[t._v("昨日 "+t._s(n.yesterday))]),e("span",{staticClass:"ivu-mr"},[t._v("\n 日环比 "+t._s(Number(n.today_ratio))+"%\n "),e("i",{staticClass:"iconColor",class:[0<=Number(n.today_ratio)?" ":"on",0<=Number(n.today_ratio)?"el-icon-caret-top":"el-icon-caret-bottom\n"]})])]),e("el-divider"),e("div",{staticClass:"total"},[e("el-row",[e("el-col",{attrs:{span:12}},[t._v(t._s(n.total_name))]),e("el-col",{staticClass:"ivu-text-right",attrs:{span:12}},[t._v(t._s(n.total))])],1)],1)],1)])],1)})),1)}),[],!1,null,"3ecb94ed",null).exports,{data:function(){return{grid:{xl:3,lg:3,md:6,sm:6,xs:12}}}}),u=(c=(n("ec6c"),Object(o.a)(c,(function(){var t=this,e=t._self._c;return e("el-row",{staticClass:"dashboard-console-grid",attrs:{gutter:16}},[e("el-col",t._b({directives:[{name:"auth",rawName:"v-auth",value:["admin-user-user-index"],expression:"['admin-user-user-index']"}],staticClass:"ivu-mb"},"el-col",t.grid,!1),[e("el-card",{attrs:{shadow:"never"}},[e("router-link",{attrs:{to:{path:t.$routeProStr+"/user/list"}}},[e("div",{staticClass:"icon"},[e("i",{staticClass:"iconfont iconyonghuguanli",staticStyle:{color:"#0256ff"}})]),e("p",[t._v("用户管理")])])],1)],1),e("el-col",t._b({directives:[{name:"auth",rawName:"v-auth",value:["setting-system-config"],expression:"['setting-system-config']"}],staticClass:"ivu-mb"},"el-col",t.grid,!1),[e("el-card",{attrs:{shadow:"never"}},[e("router-link",{attrs:{to:{path:t.$routeProStr+"/setting/system_config"}}},[e("div",{staticClass:"icon"},[e("i",{staticClass:"iconfont iconxitongshezhi",staticStyle:{color:"#9fdb1d"}})]),e("p",[t._v("系统设置")])])],1)],1),e("el-col",t._b({directives:[{name:"auth",rawName:"v-auth",value:["admin-store-storeProuduct-index"],expression:"['admin-store-storeProuduct-index']"}],staticClass:"ivu-mb"},"el-col",t.grid,!1),[e("el-card",{attrs:{shadow:"never"}},[e("router-link",{attrs:{to:{path:t.$routeProStr+"/product/product_list"}}},[e("div",{staticClass:"icon"},[e("i",{staticClass:"iconfont iconshangpin",staticStyle:{color:"#0fc6c2"}})]),e("p",[t._v("商品")])])],1)],1),e("el-col",t._b({directives:[{name:"auth",rawName:"v-auth",value:["admin-order-storeOrder-index"],expression:"['admin-order-storeOrder-index']"}],staticClass:"ivu-mb"},"el-col",t.grid,!1),[e("el-card",{attrs:{shadow:"never"}},[e("router-link",{attrs:{to:{path:t.$routeProStr+"/order/list"}}},[e("div",{staticClass:"icon"},[e("i",{staticClass:"iconfont icondingdanguanli",staticStyle:{color:"#b37feb"}})]),e("p",[t._v("订单管理")])])],1)],1),e("el-col",t._b({directives:[{name:"auth",rawName:"v-auth",value:["setting-sms"],expression:"['setting-sms']"}],staticClass:"ivu-mb"},"el-col",t.grid,!1),[e("el-card",{attrs:{shadow:"never"}},[e("router-link",{attrs:{to:{path:t.$routeProStr+"/setting/sms/sms_config/index"}}},[e("div",{staticClass:"icon"},[e("i",{staticClass:"iconfont iconduanxinpeizhi",staticStyle:{color:"#f7ba1e"}})]),e("p",[t._v("短信配置")])])],1)],1),e("el-col",t._b({directives:[{name:"auth",rawName:"v-auth",value:["cms-article-index"],expression:"['cms-article-index']"}],staticClass:"ivu-mb"},"el-col",t.grid,!1),[e("el-card",{attrs:{shadow:"never"}},[e("router-link",{attrs:{to:{path:t.$routeProStr+"/cms/article/index"}}},[e("div",{staticClass:"icon"},[e("i",{staticClass:"iconfont iconwenzhangguanli",staticStyle:{color:"#7da2ff"}})]),e("p",[t._v("文章管理")])])],1)],1),e("el-col",t._b({directives:[{name:"auth",rawName:"v-auth",value:["agent-agent-manage"],expression:"['agent-agent-manage']"}],staticClass:"ivu-mb"},"el-col",t.grid,!1),[e("el-card",{attrs:{shadow:"never"}},[e("router-link",{attrs:{to:{path:t.$routeProStr+"/agent/agent_manage/index"}}},[e("div",{staticClass:"icon"},[e("i",{staticClass:"iconfont iconfenxiaoguanli",staticStyle:{color:"#ff7d00"}})]),e("p",[t._v("分销管理")])])],1)],1),e("el-col",t._b({directives:[{name:"auth",rawName:"v-auth",value:["marketing-store_coupon-index"],expression:"['marketing-store_coupon-index']"}],staticClass:"ivu-mb"},"el-col",t.grid,!1),[e("el-card",{attrs:{shadow:"never"}},[e("router-link",{attrs:{to:{path:t.$routeProStr+"/marketing/store_coupon_issue/index"}}},[e("div",{staticClass:"icon"},[e("i",{staticClass:"iconfont iconyouhuiquan4",staticStyle:{color:"#0fc6c2"}})]),e("p",[t._v("优惠券")])])],1)],1)],1)}),[],!1,null,null,null).exports),n("9901")),l={components:{echartsFrom:u.a},data:function(){return{infoList:null,visitDate:"thirtyday",series:[],yAxisData:[]}},methods:{getStatistics:function(){var t=this,e={cycle:this.visitDate};e=e,Object(a.a)({url:"home/order",method:"get",params:e}).then(function(){var e=Object(i.a)(Object(r.a)().mark((function e(n){return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.infoList=n.data||{},t.series=t.infoList.series||[],t.yAxisData=[{type:"value",name:"金额",axisLine:{show:!1},axisTick:{show:!1},axisLabel:{textStyle:{color:"#7F8B9C"}},splitLine:{show:!0,lineStyle:{color:"#F5F7F9"}}},{type:"value",name:"数量",axisLine:{show:!1},axisTick:{show:!1},axisLabel:{textStyle:{color:"#7F8B9C"}},splitLine:{show:!0,lineStyle:{color:"#F5F7F9"}}}];case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$message.error(e.msg)}))},handleChangeVisitType:function(){this.getStatistics()},handleResize:function(){this.infoList&&this.$refs.visitChart.handleResize()}},created:function(){this.getStatistics()}},d=(l=(n("3db8"),Object(o.a)(l,(function(){var t=this,e=t._self._c;return e("div",{on:{resize:t.handleResize}},[e("el-row",{attrs:{gutter:24}},[e("el-col",{staticClass:"ivu-mb",attrs:{san:"24"}},[e("el-card",{staticClass:"dashboard-console-visit",attrs:{bordered:!1,shadow:"never"}},[e("div",[e("el-row",{attrs:{justify:"center",align:"middle"}},[e("el-col",{staticClass:"card-title",attrs:{span:8}},[e("el-avatar",{staticStyle:{color:"var(--prev-color-primary)","background-color":"#e6f7ff"},attrs:{icon:"el-icon-s-marketing",size:"small"}}),e("h4",{staticClass:"ivu-pl-8"},[t._v("订单")])],1),e("el-col",{staticClass:"ivu-text-right",attrs:{span:16}},[e("el-radio-group",{staticClass:"ivu-mr-8",attrs:{type:"button"},on:{input:t.handleChangeVisitType},model:{value:t.visitDate,callback:function(e){t.visitDate=e},expression:"visitDate"}},[e("el-radio-button",{attrs:{label:"thirtyday"}},[t._v("30天")]),e("el-radio-button",{attrs:{label:"week"}},[t._v("周")]),e("el-radio-button",{attrs:{label:"month"}},[t._v("月")]),e("el-radio-button",{attrs:{label:"year"}},[t._v("年")])],1)],1)],1)],1),t.infoList?e("echarts-from",{ref:"visitChart",attrs:{series:t.series,infoList:t.infoList,yAxisData:t.yAxisData}}):t._e()],1)],1)],1)],1)}),[],!1,null,"2def1cc0",null).exports),u={name:"user-chart",components:{echartsFrom:u.a},data:function(){return{line:"line",circle:"circle",infoList:{},series:[],xData:[],y1Data:[],y2Data:[],lists:[],bing_data:[],bing_xdata:[]}},methods:{getStatistics:function(){var t=this;Object(a.a)({url:"home/user",method:"get"}).then(function(){var e=Object(i.a)(Object(r.a)().mark((function e(n){return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.infoList=n.data,t.series=[{data:n.data.series,name:"人数(人)",type:"line",tooltip:!0,smooth:!0,symbol:"none",areaStyle:{normal:{opacity:.2}}}],t.bing_data=n.bing_data,t.bing_xdata=n.bing_xdata;case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$message.error(e.msg)}))},getRank:function(){var t=this;Object(a.a)({url:"home/rank",method:"get"}).then(function(){var e=Object(i.a)(Object(r.a)().mark((function e(n){var i;return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=n.data,t.lists=i.list;case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$message.error(e.msg)}))},handleResize:function(){this.infoList&&0!==this.series.length&&this.$refs.userChart.handleResize(),this.infoList&&this.$refs.visitChart.handleResize()}},mounted:function(){this.getStatistics(),this.getRank()},beforeDestroy:function(){this.visitChart&&(this.visitChart.dispose(),this.visitChart=null)}},u=(n("8e4f"),Object(o.a)(u,(function(){var t=this,e=t._self._c;return e("div",{on:{resize:t.handleResize}},[e("el-row",{attrs:{gutter:16}},[e("el-col",{staticClass:"ivu-mb dashboard-console-visit",attrs:{xl:16,lg:12,md:24,sm:24,xs:24}},[e("el-card",{attrs:{bordered:!1,shadow:"never"}},[e("div",{staticClass:"card-title"},[e("el-avatar",{staticStyle:{color:"var(--prev-color-primary)","background-color":"#e6f7ff"},attrs:{icon:"el-icon-user-solid",size:"small"}}),e("h4",{staticClass:"ivu-pl-8"},[t._v("用户")])],1),t.infoList&&0!==t.series.length?e("echarts-from",{ref:"userChart",attrs:{echartsTitle:t.line,infoList:t.infoList,series:t.series}}):t._e()],1)],1),e("el-col",{attrs:{xl:8,lg:12,md:24,sm:24,xs:24}},[e("el-card",{staticClass:"dashboard-console-visit",attrs:{bordered:!1,shadow:"never"}},[e("div",{staticClass:"card-title"},[e("el-avatar",{staticStyle:{color:"var(--prev-color-primary)","background-color":"#e6f7ff"},attrs:{icon:"el-icon-s-marketing",size:"small"}}),e("h4",{staticClass:"ivu-pl-8"},[t._v("购买用户统计")])],1),e("echarts-from",{ref:"visitChart",attrs:{infoList:t.infoList,echartsTitle:t.circle}})],1)],1)],1)],1)}),[],!1,null,"64bc3a88",null).exports),n("8593"));s={name:"index",components:{baseInfo:s,gridMenu:c,visitChart:l,userChart:u},data:function(){return{openImage:!1,visitType:"day",visitDate:[new Date,new Date],force_reminder:null}},mounted:function(){this.getAuth()},methods:{getAuth:function(){var t=this;Object(d.a)().then((function(e){e=e.data||{},t.force_reminder=e.force_reminder,e.auth_code&&e.auth&&(t.authCode=e.auth_code,t.auth=!0),t.openImage=!0})).catch((function(t){}))},clear:function(){this.openImage=!1}}},n("380c"),c=Object(o.a)(s,(function(){var t=this._self._c;return t("div",[t("base-info",{ref:"baseInfo"}),t("grid-menu"),t("visit-chart",{ref:"visitChart"}),t("user-chart",{ref:"userChart"})],1)}),[],!1,null,null,null);e.default=c.exports}}]);
|