diff --git a/.env.development b/.env.development index 2ce64d6..729fd45 100644 --- a/.env.development +++ b/.env.development @@ -10,6 +10,7 @@ VITE_APP_BASE_API=/dev-api # VITE_APP_API_URL=https://cashier.sxczgkj.com/ # 正式 VITE_APP_API_URL=http://192.168.1.42/ # 本地 VITE_APP_API_PHP_URL=http://192.168.1.42:8000 #php抖音美团测试环境 + VITE_APP_API_PHP_IMPORT_URL=http://192.168.1.42:8789 #本地php批量导入 # WebSocket 端点(不配置则关闭),线上 ws://api.youlai.tech/ws ,本地 ws://localhost:8989/ws diff --git a/src/api/order/order.ts b/src/api/order/order.ts index f1c38a6..24a0e03 100644 --- a/src/api/order/order.ts +++ b/src/api/order/order.ts @@ -72,6 +72,23 @@ const OrderApi = { data }); }, + // 查询财务报表 + financeSts(params: any) { + return request({ + url: `${Order_BaseUrl}/admin/finance/sts`, + method: "get", + params + }); + }, + // 导出财务报表 + financeExport(params: any) { + return request({ + url: `${Order_BaseUrl}/admin/finance/export`, + method: "get", + params, + responseType: 'blob' + }); + }, }; export default OrderApi; diff --git a/src/components/CURD/PageContent.vue b/src/components/CURD/PageContent.vue index 01a9cc0..6b202d3 100644 --- a/src/components/CURD/PageContent.vue +++ b/src/components/CURD/PageContent.vue @@ -3,68 +3,49 @@
-
+
+ +
@@ -89,68 +70,36 @@
- + @@ -264,21 +194,15 @@