diff --git a/.env.development b/.env.development
index 2d88d40..e47a783 100644
--- a/.env.development
+++ b/.env.development
@@ -3,11 +3,11 @@ ENV = 'development'
# http://192.168.1.43:8324/admin
# http://mer.crmeb.net/admin
# base api
-VUE_APP_BASE_API = 'http://192.168.1.18:8080'
+VUE_APP_BASE_API = 'http://192.168.1.12:8080'
# VUE_APP_BASE_API = 'https://api.tropjoin.com/'
# socket 连接地址
-VUE_APP_WS_URL = 'ws://http://192.168.1.18:8080'
+VUE_APP_WS_URL = 'ws://http://192.168.1.12:8080'
# VUE_APP_WS_URL = 'ws://https://api.tropjoin.com/'
# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
diff --git a/src/api/home.js b/src/api/home.js
index 11528c6..76b7577 100644
--- a/src/api/home.js
+++ b/src/api/home.js
@@ -12,6 +12,12 @@ export function statisticsApi() {
export function statisticsOrderApi() {
return request.get('statistics/order')
}
+/**
+ * @description 每日统计
+ */
+export function statisticsDayApi(data) {
+ return request.get('statistics/day', data)
+}
/**
* @description 当日订单数
*/
diff --git a/src/router/index.js b/src/router/index.js
index 9c0e4ff..9e9429d 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -72,6 +72,12 @@ export const constantRoutes = [
component: () => import("@/views/user-consumption/index"),
name: "user-consumption",
meta: { title: "用户消费统计" }
+ },
+ {
+ path: `${roterPre}/daily-statistics`,
+ component: () => import("@/views/daily-statistics/index"),
+ name: "daily-statistics",
+ meta: { title: "每日统计" }
}
]
},
diff --git a/src/views/daily-statistics/components/DayData.vue b/src/views/daily-statistics/components/DayData.vue
new file mode 100644
index 0000000..62d2f4e
--- /dev/null
+++ b/src/views/daily-statistics/components/DayData.vue
@@ -0,0 +1,358 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/daily-statistics/index.vue b/src/views/daily-statistics/index.vue
new file mode 100644
index 0000000..bc3bc10
--- /dev/null
+++ b/src/views/daily-statistics/index.vue
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/product/productExamine/index.vue b/src/views/product/productExamine/index.vue
index 88fe3a5..bba41f5 100644
--- a/src/views/product/productExamine/index.vue
+++ b/src/views/product/productExamine/index.vue
@@ -434,6 +434,7 @@
+