From ea56ac859281a5a65f0474b462e16ae9a16885ac Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Mon, 26 May 2025 17:15:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E8=B6=85=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/superStore/superUitId.js | 22 ++------ src/views/superstore/super/index.vue | 56 +++++--------------- src/views/superstore/superUitId/index.vue | 62 +++++------------------ 3 files changed, 32 insertions(+), 108 deletions(-) diff --git a/src/api/superStore/superUitId.js b/src/api/superStore/superUitId.js index 79ec51bd..24751ac2 100644 --- a/src/api/superStore/superUitId.js +++ b/src/api/superStore/superUitId.js @@ -1,21 +1,9 @@ -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 - }) -} +import request from '@/utils/request' // 单位列表-分页 export function drpUnitPageListApi(data) { return request({ - url: '/smart-canteen/supermarket_unit/list', + url: '/smart-canteen/supply_product_unit/list', method: 'get', headers: { "merchant-id":"378915229716713472", @@ -27,7 +15,7 @@ export function drpUnitPageListApi(data) { // 单位列表-新增 export function addDrpUnitApi(data) { return request({ - url: '/smart-canteen/supermarket_unit', + url: '/smart-canteen/supply_product_unit', method: 'post', headers: { "merchant-id":"378915229716713472", @@ -39,7 +27,7 @@ export function addDrpUnitApi(data) { // 单位列表-编辑 export function editDrpUnitApi(data) { return request({ - url: '/smart-canteen/supermarket_unit/edit', + url: '/smart-canteen/supply_product_unit/edit', method: 'post', headers: { "merchant-id":"378915229716713472", @@ -51,7 +39,7 @@ export function editDrpUnitApi(data) { // 单位列表-删除 export function removeDrpUnitApi(unitId) { return request({ - url: '/smart-canteen/supermarket_unit/del/'+unitId, + url: '/smart-canteen/supply_product_unit/del/'+unitId, method: 'post', headers: { "merchant-id":"378915229716713472", diff --git a/src/views/superstore/super/index.vue b/src/views/superstore/super/index.vue index e8d1d7ef..4850e2d0 100644 --- a/src/views/superstore/super/index.vue +++ b/src/views/superstore/super/index.vue @@ -95,7 +95,7 @@ - + @@ -115,10 +115,7 @@ clearable @change="handleTreeChange2" > - - - - + @@ -131,18 +128,10 @@ - - - - + + - - - + - - - - - + + @@ -191,9 +174,7 @@ - - - + @@ -209,9 +190,7 @@ - - - + - - - + - - - - - - + - + + diff --git a/src/views/superstore/superUitId/index.vue b/src/views/superstore/superUitId/index.vue index f722e841..4cc60088 100644 --- a/src/views/superstore/superUitId/index.vue +++ b/src/views/superstore/superUitId/index.vue @@ -1,16 +1,6 @@ - - + + + - - + -