启程易购后端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qicheng_shop_backend/public/system/js/chunk-7f36030a.ae06fbcc.js

1 line
43 KiB

9 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7f36030a"],{"063b":function(t,a,e){},1096:function(t,a,e){"use strict";e("063b")},6533:function(t,a,e){},"6a43":function(t,a,e){},"747f":function(t,a,e){"use strict";e("6533")},9406:function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"divBox",staticStyle:{background:"#F0F2F5"}},[e("base-info",{ref:"baseInfo",staticClass:"mb15"}),t._v(" "),e("todo-panel",{ref:"todoPanel"}),t._v(" "),e("to-day",{staticClass:"mb15"}),t._v(" "),e("user-data",{staticClass:"mb15"}),t._v(" "),e("user-from")],1)},i=[],n=e("db72"),r=e("0c6d");function o(){return r["a"].get("statistics/main")}function l(){return r["a"].get("statistics/order")}function c(){return r["a"].get("statistics/order_num")}function u(){return r["a"].get("statistics/order_user")}function d(t){return r["a"].get("statistics/merchant_stock",t)}function p(t){return r["a"].get("statistics/merchant_rate",t)}function m(t){return r["a"].get("statistics/merchant_visit",t)}function h(t){return r["a"].get("statistics/user",t)}function v(t){return r["a"].get("statistics/user_rate",t)}function f(t){return r["a"].get("statistics/user_data",t)}function _(){return r["a"].get("statistics/get_admin_count")}function g(t){return r["a"].get("statistics/get_merchant_top",t)}var y=e("f955"),C=e("2f62"),b=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"box-card statistics"},[t.statisticsData?e("el-row",{staticClass:"panel-group",attrs:{gutter:14}},[e("el-col",{staticClass:"content",attrs:{span:6}},[e("div",{staticClass:"card-panel"},[e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[e("span",{staticClass:"card-order"},[t._v("新增用户")]),t._v(" "),e("span",{staticClass:"card-date"},[t._v("今日")])]),t._v(" "),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.statisticsData.today.userNum,duration:3e3}}),t._v(" "),e("div",{staticClass:"card-panel-compared"},[t._v(" \n 周环比:\n "),e("i",{class:Number(t.statisticsData.lastWeekRate.userNum)>=0?"up":"down"},[t._v("\n "+t._s(t.statisticsData.lastWeekRate.userNum?(100*t.statisticsData.lastWeekRate.userNum*1e3/1e3).toFixed(2):0)+"%")]),t._v(" "),e("i",{class:Number(t.statisticsData.lastWeekRate.userNum)>=0?"el-icon-caret-top":"el-icon-caret-bottom"})]),t._v(" "),e("div",{staticClass:"card-panel-date"},[e("span",{staticClass:"date_text"},[t._v("昨日数据")]),t._v(" "),e("span",{staticClass:"date_num"},[t._v(t._s(t.statisticsData.yesterday.userNum))])])],1)])]),t._v(" "),e("el-col",{staticClass:"content",attrs:{span:6}},[e("div",{staticClass:"card-panel"},[e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[e("span",{staticClass:"card-order"},[t._v("浏览量")]),t._v(" "),e("span",{staticClass:"card-date"},[t._v("今日")])]),t._v(" "),e("count-to",{staticClass:"card-panel-num",attrs:{"start-val":0,"end-val":t.statisticsData.today.visitNum,duration:3e3}}),t._v(" "),e("div",{staticClass:"card-panel-compared"},[t._v(" \n 周环比:\n "),e("i",{class:Number(t.statisticsData.lastWeekRate.visitNum)>=0?"up":"down"},[t._v(t._s(t.statisticsData.lastWeekRate.visitNum?(100*t.statisticsData.lastWeekRate.visitNum*1e3/1e3).toFixed(2):0)+"%")]),t._v(" "),e("i",{class:Number(t.statisticsData.lastWeekRate.visitNum)>=0?"el-icon-caret-top":"el-icon-caret-bottom"})]),t._v(" "),e("div",{staticClass:"card-panel-date"},[e("span",{staticClass:"date_text"},[t._v("昨日数据")]),t._v(" "),e("span",{staticClass:"date_num"},[t._v(t._s(t.statisticsData.yesterday.visitNum))])])],1)])]),t._v(" "),e("el-col",{staticClass:"content",attrs:{span:6}},[e("div",{staticClass:"card-panel"},[e("div",{staticClass:"card-panel-description"},[e("div",{staticClass:"card-panel-text"},[e("span",{staticClass:"card-order"},[t._v("访客数")]),t._v(" "),e("span",{staticClass:"card-date"},[t._v("