From 96cd6b48ba21bab160688b576656eb344cc9254a Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Wed, 4 Jun 2025 17:59:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/superStore/device.js | 6 +- src/api/superStore/orderShenhe.js | 19 +--- src/api/superStore/salesSummary.js | 19 +--- src/api/superStore/superOrder.js | 18 +-- src/views/dish/menu/index.vue | 6 +- src/views/superstore/doubleScreen/index.vue | 103 +++++++++--------- .../salesSummary/categorySalesSummary.vue | 20 ++-- .../salesSummary/productSalesSummary.vue | 11 +- 8 files changed, 80 insertions(+), 122 deletions(-) diff --git a/src/api/superStore/device.js b/src/api/superStore/device.js index 5bdd1f69..48a8c0fe 100644 --- a/src/api/superStore/device.js +++ b/src/api/superStore/device.js @@ -3,12 +3,12 @@ import request from '@/utils/request' // 通过区域Id查询超市 export function getSupermarketByAreaApi(data) { return request({ - url: '/smart-canteen/supermarket_info/getSupermarketList', - method: 'post', + url: '/smart-canteen/supermarket_info/list', + method: 'get', headers: { "merchant-id":"378915229716713472", }, - data: data + params: data }) } diff --git a/src/api/superStore/orderShenhe.js b/src/api/superStore/orderShenhe.js index 0c23deca..fa773277 100644 --- a/src/api/superStore/orderShenhe.js +++ b/src/api/superStore/orderShenhe.js @@ -1,27 +1,16 @@ import request from '@/utils/request' -// 系统区域权限树 -export function systemAreaTreeApi(data) { - return request({ - url: '/smart-canteen/api/v2/alloc/area/system-auth/tree', - method: 'post', - headers: { - "merchant-id":"378915229716713472", - }, - data: data - }) -} // 通过区域Id查询超市 export function getSupermarketByAreaApi(data) { return request({ - url: '/smart-canteen/api/v1/basics-supermarket/page-supermarket', - method: 'post', + url: '/smart-canteen/supermarket_info/list', + method: 'get', headers: { "merchant-id":"378915229716713472", }, - data: data + params: data }) -} + } // 通过区域Id查询食堂 export function getCanteenByAreaApi(data) { return request({ diff --git a/src/api/superStore/salesSummary.js b/src/api/superStore/salesSummary.js index 630dbdad..c9dbaf4e 100644 --- a/src/api/superStore/salesSummary.js +++ b/src/api/superStore/salesSummary.js @@ -1,26 +1,15 @@ import request from '@/utils/request' -// 系统区域权限树 -export function systemAreaTreeApi(data) { - return request({ - url: '/smart-canteen/api/v2/alloc/area/system-auth/tree', - method: 'post', - headers: { - "merchant-id":"378915229716713472", - }, - data: data - }) -} // 通过区域Id查询超市 export function getSupermarketByAreaApi(data) { return request({ - url: '/smart-canteen/api/v1/basics-supermarket/page-supermarket', - method: 'post', + url: '/smart-canteen/supermarket_info/list', + method: 'get', headers: { "merchant-id":"378915229716713472", }, - data: data + params: data }) -} + } // 原料类别 export function systemMaterialTreeApi(data) { diff --git a/src/api/superStore/superOrder.js b/src/api/superStore/superOrder.js index 562af61c..2a80812a 100644 --- a/src/api/superStore/superOrder.js +++ b/src/api/superStore/superOrder.js @@ -1,26 +1,14 @@ import request from '@/utils/request' -// 系统区域权限树 -export function systemAreaTreeApi(data) { - return request({ - url: '/smart-canteen/api/v2/alloc/area/system-auth/tree', - method: 'post', - headers: { - "merchant-id":"378915229716713472", - }, - data: data - }) -} - // 通过区域Id查询超市 export function getSupermarketByAreaApi(data) { return request({ - url: '/smart-canteen/api/v1/basics-supermarket/page-supermarket', - method: 'post', + url: '/smart-canteen/supermarket_info/list', + method: 'get', headers: { "merchant-id":"378915229716713472", }, - data: data + params: data }) } diff --git a/src/views/dish/menu/index.vue b/src/views/dish/menu/index.vue index 391a9b52..e1822409 100644 --- a/src/views/dish/menu/index.vue +++ b/src/views/dish/menu/index.vue @@ -105,7 +105,7 @@
-
+
{{ lastItem.dishesName }};
@@ -119,7 +119,7 @@
-
+
{{ lastItem.dishesName }}
@@ -134,7 +134,7 @@ - +