优化首页的统计逻辑,对接新的接口
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import { getAction, deleteAction, putAction, postAction, httpAction } from '@/api/manage'
|
||||
|
||||
//首页统计
|
||||
const getBuyAndSaleStatistics = (params)=>getAction("/depotHead/getBuyAndSaleStatistics",params);
|
||||
const buyOrSalePrice = (params)=>getAction("/depotItem/buyOrSalePrice",params);
|
||||
const getBuyAndSaleStatisticsByType = (params)=>getAction("/depotHead/getBuyAndSaleStatisticsByType",params);
|
||||
const getBuyPrice = (params)=>getAction("/depotItem/getBuyPrice",params);
|
||||
const getSalePrice = (params)=>getAction("/depotItem/getSalePrice",params);
|
||||
const getRetailPrice = (params)=>getAction("/depotItem/getRetailPrice",params);
|
||||
//租户管理
|
||||
const checkTenant = (params)=>getAction("/tenant/checkIsNameExist",params);
|
||||
const editTenant = (params)=>putAction("/tenant/update",params);
|
||||
@@ -113,8 +115,10 @@ const getBatchNumberList = (params)=>getAction("/depotItem/getBatchNumberList",p
|
||||
const findFinancialDetailByNumber = (params)=>getAction("/accountHead/getDetailByNumber",params);
|
||||
|
||||
export {
|
||||
getBuyAndSaleStatistics,
|
||||
buyOrSalePrice,
|
||||
getBuyAndSaleStatisticsByType,
|
||||
getBuyPrice,
|
||||
getSalePrice,
|
||||
getRetailPrice,
|
||||
checkTenant,
|
||||
editTenant,
|
||||
addRole,
|
||||
|
||||
Reference in New Issue
Block a user