report.js 4.17 KB

module.exports={
    namespace:"report",
    apis:{
        /*************************************经营总览*************************************/

        getShopBusinessOverview:{
            title: "获取店铺的经营指标:一个自然日内有效订单商品件数、有效订单商品金额",
            domain:"{bigdata}",
            url: "/bigdata/getShopBusinessOverview",
            params:{
                dateId:{type:String}
            }
        },
        
        getShopBrandRank:{
            title: "获取店铺的品牌排名,当前等级、排名、上升名词",
            domain:"{bigdata}",
            url: "/bigdata/getShopBrandRank",
            params:{
                dateId:{type:String}
            }
        },
        
        getOrdersGoodsAccountRptList:{
            title:"对账结算",
            domain:"{bigdata}",
            url: "/shop/getOrdersGoodsAccountRptList"
        },

        /*************************************商品销售报表*************************************/

        getOrdersGoodsRptList:{
            title:'销售统计',
            domain:'{bigdata}',
            url:'/shop/getOrdersGoodsRptList',
            params:{
                page:{type:Number},
                size:{type:Number},
                type:{type:Number},
                reqTime:{type:String},
                beginTime:{type:String},
                endTime:{type:String},
                productSkn:{type:Number},
                productSkc:{type:Number},
                productSku:{type:Number},
                factoryCode:{type:String},
                sortId:{type:Number}
            }
        },
        
        getReturnGoodsRptList:{
            title:'退货统计',
            domain:'{bigdata}',
            url:'/shop/getReturnGoodsRptList',
            params:{
                page:{type:Number},
                size:{type:Number},
                type:{type:Number},
                reqTime:{type:String},
                beginTime:{type:String},
                endTime:{type:String},
                productSkn:{type:Number},
                productSkc:{type:Number},
                productSku:{type:Number},
                factoryCode:{type:String},
                sortId:{type:Number}
            }
        },

        /*************************************出入库报表*************************************/

        getStorageInRptList:{
            title:'发货入库统计',
            domain:'{bigdata}',
            url:'/shop/getStorageInRptList',
            params:{
                page:{type:Number},
                size:{type:Number},
                beginTime:{type:String},
                endTime:{type:String},
                productSkn:{type:Number},
                productSkc:{type:Number},
                productSku:{type:Number},
                factoryCode:{type:String},
                sortId:{type:Number}
            }
        },
        
        getStorageOutRptList:{
            title:'请退出库统计',
            domain:'{bigdata}',
            url:'/shop/getStorageOutRptList',
            params:{
                page:{type:Number},
                size:{type:Number},
                beginTime:{type:String},
                endTime:{type:String},
                productSkn:{type:Number},
                productSkc:{type:Number},
                productSku:{type:Number},
                factoryCode:{type:String},
                sortId:{type:Number}
            }
        },

        /*************************************库存报表*************************************/

        getStorageStatisticsList:{
            title:"查询库存列表",
            domain:"{bigdata}",
            url:"/bigdata/getStorageStatisticsList",
            params:{
                productSkn:{type: Number},
                factory_code:{type: String},
                productSku:{type: Number},
                shopId:{type: Number},
                brandId:{type: Number},
                maxSortId:{type: Number},
                middleSortId:{type: Number},
                smallSortId:{type: Number}
            }
        }

        /*************************************会员画像*************************************/
    }
}