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 @@ - +