post改成get请求

This commit is contained in:
jjLv 2025-09-01 09:33:55 +08:00
parent 7794157c7a
commit f24a312af6
9 changed files with 156 additions and 186 deletions

View File

@ -52,15 +52,11 @@ export function getDishesByTypePageApi(data) {
export function getCurrentRecipeListApi(data) {
return request({
url: '/smart-canteen/cook_recipe/currentList',
method: 'post',
method: 'get',
headers: {
//"merchant-id":"378915229716713472",
},
data: data,
params:{
pageNum:data.pageNum,
pageSize:data.pageSize
}
data,
})
}
// 获取所有菜谱-分页

View File

@ -24,15 +24,12 @@ export function getMaterialListApi(data) {
export function getStockMaterialListApi(data) {
return request({
url: '/smart-canteen/api/v1/drpinventory/list',
method: 'post',
method: 'get',
headers: {
//"merchant-id":"378915229716713472",
},
data: data,
params:{
pageNum:data.pageNum,
pageSize:data.pageSize
}
data,
})
}

View File

@ -130,15 +130,11 @@ export function delPurchaseContractApi(data) {
export function goodsInquiryPageApi(data) {
return request({
url: '/smart-canteen/ims_inquiry/list',
method: 'post',
method: 'get',
headers: {
//"merchant-id":"378915229716713472",
},
data:data,
params:{
pageNum:data.pageNum,
pageSize:data.pageSize
}
data,
})
}
//获取采购询价分页详情
@ -319,15 +315,11 @@ export function delProductionPlanApi(data) {
export function purchasePlanPageApi(data) {
return request({
url: '/smart-canteen/ims_purchase_plan/list',
method: 'post',
method: 'get',
headers: {
//"merchant-id":"378915229716713472",
},
data:data,
params:{
pageNum:data.pageNum,
pageSize:data.pageSize
}
data
})
}
//获取采购计划分页详情

View File

@ -24,15 +24,11 @@ export function getMaterialListApi(data) {
export function getStockMaterialListApi(data) {
return request({
url: '/smart-canteen/api/v1/drpinventory/list',
method: 'post',
method: 'get',
headers: {
//"merchant-id":"378915229716713472",
},
data: data,
params:{
pageNum:data.pageNum,
pageSize:data.pageSize
}
data,
})
}

View File

@ -89,15 +89,12 @@ export function supplierPageApi(data) {
export function getStockMaterialListApi(data) {
return request({
url: '/smart-canteen/api/v1/drpinventory/list',
method: 'post',
method: 'get',
headers: {
//"merchant-id":"378915229716713472",
},
data: data,
params:{
pageNum:data.pageNum,
pageSize:data.pageSize
}
data,
})
}

View File

@ -5,11 +5,7 @@ import request from '@/utils/request'
export function getKitchenDeviceSensorRecordListApi(data) {
return request({
url: '/smart-canteen/kitchen_device_sensor_record/list',
method: 'post',
data: data,
params:{
pageNum:data.pageNum,
pageSize:data.pageSize
}
method: 'get',
data
})
}

View File

@ -157,15 +157,11 @@ export function reportDeptIncomeListApi(data) {
export function reportUserIncomeListApi(data) {
return request({
url: '/smart-canteen/report/acc/user/income-outcome',
method: 'post',
method: 'get',
headers: {
//"merchant-id":"378915229716713472",
},
data: data,
params:{
pageNum:data.pageNum,
pageSize:data.pageSize
}
data,
})
}

View File

@ -515,6 +515,7 @@
getCanteenByAreaApi({
"areaId":this.queryParams.areaId,"canteenType": 1
}).then((response) => {
const aa = 3;
this.canteenOptions=response.rows||[]
this.queryParams.canteenId=this.$route.query.canteenId
getStallByCanteenApi({
@ -803,4 +804,3 @@
</style>