goods.priceManage.js 712 Bytes
module.exports=function(app) {
	/*变价管理列表页面*/
	app.get("/goods/price/index","goods.priceManage.Index","price_queryAuditAuthority",function (authority,req,res) {
		console.info(authority);
		this.$extend={
			moduleName:'商品管理',
			pageName:'变价管理',
			auditAuthority:authority.data
		}
	});

	/*列表头部各个审核状态的数量*/
	app.post("/goods/price/ajax/auditCount","price_getProductPriceCountByState");

	/*列表数据*/
	app.post("/goods/price/queryProductPriceManageList","price_queryProductPriceManageList");

	/*通过*/
	app.post("/goods/price/pass","price_auditPassProductPrice");

	/*驳回*/
	app.post("/goods/price/reject","price_auditRejectProductPrice");
	
}