食谱计划页面、逻辑优化
This commit is contained in:
@ -51,3 +51,13 @@ export function exportCustomer(query) {
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询客户信息详细
|
||||
export function getCustomerAndSignByPhone(query) {
|
||||
return request({
|
||||
url: '/custom/customer/getCustomerAndSignByPhone',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -58,3 +58,12 @@ export function getOptions() {
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 查询销售订单详细
|
||||
export function getInfoDetail(query) {
|
||||
return request({
|
||||
url: '/custom/order/getInfoDetail',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
36
stdiet-ui/src/api/custom/recipesPlan.js
Normal file
36
stdiet-ui/src/api/custom/recipesPlan.js
Normal file
@ -0,0 +1,36 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询食谱计划列表
|
||||
export function listRecipesPlan(query) {
|
||||
return request({
|
||||
url: '/recipes/recipesPlan/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询食谱计划详细
|
||||
export function getRecipesPlan(id) {
|
||||
return request({
|
||||
url: '/recipes/recipesPlan/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 修改食谱计划
|
||||
export function updateRecipesPlan(data) {
|
||||
return request({
|
||||
url: '/recipes/recipesPlan',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 导出食谱计划
|
||||
export function exportRecipesPlan(query) {
|
||||
return request({
|
||||
url: '/recipes/recipesPlan/export',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user