report.report.js 5 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:{
                page:{type:Number},
                size:{type:Number},
                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}
            }
        },

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

        getShopTopArea:{
            title:"地域分布",
            domain:"{{bigdata}}",
            url:"/chart/getShopTopArea",
            params:{
                shopId:{type: Number},
                dateId:{type: Number}
            }
        },

        getConsumeAna:{
            title:"消费水平",
            domain:"{{bigdata}}",
            url:"/chart/getConsumeAna",
            params:{
                shopId:{type: Number},
                dateId:{type: Number}
            }
        },

        getUserAna:{
            title:"会员分布",
            domain:"{{bigdata}}",
            url:"/chart/getUserAna",
            params:{
                shopId:{type: Number},
                dateId:{type: Number}
            }
        }
    }
}