2024-05-31 18:03:15 +08:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
// 门店列表列表
|
|
|
|
export function apiSystemStoreLists(params: any) {
|
|
|
|
return request.get({ url: '/system_store/systemstore/lists', params })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 添加门店列表
|
|
|
|
export function apiSystemStoreAdd(params: any) {
|
|
|
|
return request.post({ url: '/system_store/systemstore/add', params })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 编辑门店列表
|
|
|
|
export function apiSystemStoreEdit(params: any) {
|
|
|
|
return request.post({ url: '/system_store/systemstore/edit', params })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 删除门店列表
|
|
|
|
export function apiSystemStoreDelete(params: any) {
|
|
|
|
return request.post({ url: '/system_store/systemstore/delete', params })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 门店列表详情
|
|
|
|
export function apiSystemStoreDetail(params: any) {
|
|
|
|
return request.get({ url: '/system_store/systemstore/detail', params })
|
2024-06-01 18:01:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// 根据商品来源获取门店
|
|
|
|
export function apiSourceProductStoreLists(params: any) {
|
|
|
|
return request.get({ url: '/system_store/systemstore/source_product_store_lists', params })
|
2024-06-03 18:09:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// 根据商品来源更新门店
|
|
|
|
export function apiSourceProductUpdateStore(params: any) {
|
|
|
|
return request.post({ url: '/system_store/systemstore/source_product_update_store', params })
|
2024-06-04 18:17:33 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// 根据商品编辑门店库存
|
|
|
|
export function apiStoreBranchProductEdit(params: any) {
|
|
|
|
return request.post({ url: '/store_branch_product/StoreBranchProduct/edit', params })
|
2024-06-05 18:08:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// 根据商品编辑门店库存
|
|
|
|
export function apiStoreBranchProductEditPrice(params: any) {
|
|
|
|
return request.post({ url: '/store_branch_product/StoreBranchProduct/edit_price', params })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 运营概况-头部统计
|
|
|
|
export function apiSystemStoreStatisticsHeader(params: any) {
|
2024-06-06 18:16:08 +08:00
|
|
|
return request.get({ url: '/system_store/SystemStoreStatistics/header', params })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 运营概况-营业趋势
|
|
|
|
export function apiSystemStoreStatisticsOperate(params: any) {
|
|
|
|
return request.get({ url: '/system_store/SystemStoreStatistics/operate', params })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 运营概况-交易/类型数据
|
|
|
|
export function apiSystemStoreStatisticsOrderChart(params: any) {
|
|
|
|
return request.get({ url: '/system_store/SystemStoreStatistics/orderChart', params })
|
|
|
|
}
|
|
|
|
|
|
|
|
// 运营概况-门店业绩
|
|
|
|
export function apiSystemStoreStatisticsStore(params: any) {
|
|
|
|
return request.get({ url: '/system_store/SystemStoreStatistics/store', params })
|
2024-05-31 18:03:15 +08:00
|
|
|
}
|