Authored by liuyue

vip

... ... @@ -4,199 +4,198 @@ exports.domain = require('../config/common.js').domain;
//商品管理路由配置
exports.res = [
{route: '/-p-l-a-t-f-o-r-m/1',method:"GET"}//此模块不上
// {
// //商品审核
// route: '/supplier/baseaudit/index',
// method: 'GET',
// view: 'pages/goods/index',
// noApi:true,
// data: {
// bottons:'{"detail":true}',
// gridurl:'/goods/review/getList',
// searchStatus: [
// {name:"未审核",value:"100"},
// {name:"已通过",value:"200"},
// {name:"驳回",value:"300"}
// ],
// searchJIT: true,
// pageTitle:"商品审核"
// },
// src:'/goods/index'
// },
// {
// route: '/goods/review/getList',
// method: 'POST',
// url: '/goods/review/getReviewList',
// isJsonRaw:true,
// params: [
// {name: 'skn', type: 'String'},
// {name: 'brandName', type: 'String'},
// {name: 'storeName', type: 'String'},
// {name: 'status', type: 'String'},
// {name: 'jit', type: 'String'}
// ]
// }, {
// //价格管理 -> 代销变价页面渲染
// route: '/goods/pricechange/index',
// method: 'GET',
// view: 'pages/goods/index',
// src:'/goods/index',
// noApi:true,
// data: {
// headerTab: {
// changePrice: true
// },
// secondTitle: '价格管理',
// pageTitle: '代销变价',
// filter: {
// skn: true,
// store: true,
// brand: true,
// supplier: true,
// jit: true,
// onStatus: true,
// stock:true,
// gender: true,
// aCate: true
// },
// bulkImport: true, //批量导入
// bottons:'{"edit":true,"columnsHidisFr":true}',
// gridurl:'/goods/price/list',
// domain: exports.domain,
// download: '/common/batchUpdatePrice.xlsx'
// }
// }, {
// //代销变价 -> 列表数据
// route: '/goods/price/list',
// method: 'POST',
// url: '/product/queryProductPriceList',
// isJsonRaw:true,
// params: [
// {name: 'product_skn', type: 'Number'},
// {name: 'shop_id', type: 'Number'},
// {name: 'brand_id', type: 'Number'},
// {name: 'supplier_id', type: 'Number'},
// {name: 'is_jit', type: 'String'},
// {name: 'is_auditing', type: 'Number'},
// {name: 'stock', type: 'Number'},
// {name: 'gender', type: 'Number'},
// {name: 'max_sort_id', type: 'Number'},
// {name: 'middle_sort_id', type: 'Number'},
// {name: 'small_sort_id', type: 'Number'},
// {name: 'page', type: 'Number'},
// {name: 'size', type: 'Number'}
// ]
// }, {
// //代销变价 -> 获得单个变价详情
// route: '/goods/getPrice',
// method: 'POST',
// url: '/product/getProductPrice',
// isJsonRaw: true,
// params: [
// {name: 'param', type: 'Number'}
// ]
// }, {
// //查询店铺列表接口
// route: '/goods/query/shop',
// method: 'POST',
// url: '/ShopsRest/queryAllShops',
// isJsonRaw: true,
// params: []
// }, {
// //查询品牌列表接口
// route: '/goods/query/brand',
// method: 'POST',
// url: '/erpproduct/brands/queryAllBrands',
// isJsonRaw: true,
// params: []
// }, {
// //查询供应商列表接口
// route: '/goods/query/supplier',
// method: 'POST',
// url: '/supplier/supplier/queryAllSupplier',
// isJsonRaw: true,
// params: []
// }, {
// //查询一级类目列表接口
// route: '/goods/query/maxSort',
// method: 'POST',
// url: '/product/queryAllMaxSortList',
// isJsonRaw: true,
// params: []
// }, {
// //单个变价接口
// route: '/goods/updatePrice',
// method: 'POST',
// url: '/product/updateProductPrice',
// isJsonRaw: true,
// params: [
// {name: 'product_skn', type: 'number'},
// {name: 'sales_price', type: 'number'},
// {name: 'vip_discount_type', type: 'number'},
// {name: 'return_coin', type: 'number'},
// {name: 'vip_price', type: 'number'},
// {name: 'vip1_price', type: 'number'},
// {name: 'vip2_price', type: 'number'},
// {name: 'vip3_price', type: 'number'}
// ]
// }, {
// //批量变价接口
// route: '/goods/batchUpdatePrice',
// method: 'POST',
// url: '/product/batchUpdateProductPrice',
// isJsonRaw: true,
// params: [
// {name: 'batchList', type: 'String'}
// ]
// }, {
// //价格管理 -> 品牌合作模式页面渲染
// route: '/goods/brandCooperation/index',
// method: 'GET',
// view: 'pages/goods/index',
// src:'/goods/brand-cooperation',
// noApi:true,
// data: {
// headerTab: {
// brandCooperation: true
// },
// secondTitle: '价格管理',
// pageTitle: '品牌合作模式设置',
// filter: {
// brandInput: true,
// brandCooperation: true,
// brandCooperationSet: true
// },
// bulkImport: true,
// bottons:'{"edit":true,"columnsHidisFr":true}',
// gridurl:'/goods/brandCooperation/list',
// domain: exports.domain,
// download: '/common/brandCooperation.xlsx'
// }
// }, {
// //品牌合作模式 -> 列表数据
// route: '/goods/brandCooperation/list',
// method: 'POST',
// url: '/brandCooperation/queryBrandCooperationList',
// isJsonRaw:true,
// params: [
// {name: 'cooperateTypeId', type: 'Number'},
// {name: 'brandName', type: 'String'},
// {name: 'setFlag', type: 'Number'},
// {name: 'page', type: 'Number'},
// {name: 'size', type: 'Number'}
// ]
// }, {
// //品牌合作模式 -> 修改合作模式
// route: '/goods/brandCooperation/update',
// method: 'POST',
// url: '/brandCooperation/saveBrandCooperation',
// isJsonRaw:true,
// params: [
// {name: 'id', type: 'Number'},
// {name: 'cooperateTypeId', type: 'String'},
// {name: 'brandId', type: 'Number'}
// ]
// }
{
//商品审核
route: '/supplier/baseaudit/index',
method: 'GET',
view: 'pages/goods/index',
noApi:true,
data: {
bottons:'{"detail":true}',
gridurl:'/goods/review/getList',
searchStatus: [
{name:"未审核",value:"100"},
{name:"已通过",value:"200"},
{name:"驳回",value:"300"}
],
searchJIT: true,
pageTitle:"商品审核"
},
src:'/goods/index'
},
{
route: '/goods/review/getList',
method: 'POST',
url: '/goods/review/getReviewList',
isJsonRaw:true,
params: [
{name: 'skn', type: 'String'},
{name: 'brandName', type: 'String'},
{name: 'storeName', type: 'String'},
{name: 'status', type: 'String'},
{name: 'jit', type: 'String'}
]
}, {
//价格管理 -> 代销变价页面渲染
route: '/goods/pricechange/index',
method: 'GET',
view: 'pages/goods/index',
src:'/goods/index',
noApi:true,
data: {
headerTab: {
changePrice: true
},
secondTitle: '价格管理',
pageTitle: '代销变价',
filter: {
skn: true,
store: true,
brand: true,
supplier: true,
jit: true,
onStatus: true,
stock:true,
gender: true,
aCate: true
},
bulkImport: true, //批量导入
bottons:'{"edit":true,"columnsHidisFr":true}',
gridurl:'/goods/price/list',
domain: exports.domain,
download: '/common/batchUpdatePrice.xlsx'
}
}, {
//代销变价 -> 列表数据
route: '/goods/price/list',
method: 'POST',
url: '/product/queryProductPriceList',
isJsonRaw:true,
params: [
{name: 'product_skn', type: 'Number'},
{name: 'shop_id', type: 'Number'},
{name: 'brand_id', type: 'Number'},
{name: 'supplier_id', type: 'Number'},
{name: 'is_jit', type: 'String'},
{name: 'is_auditing', type: 'Number'},
{name: 'stock', type: 'Number'},
{name: 'gender', type: 'Number'},
{name: 'max_sort_id', type: 'Number'},
{name: 'middle_sort_id', type: 'Number'},
{name: 'small_sort_id', type: 'Number'},
{name: 'page', type: 'Number'},
{name: 'size', type: 'Number'}
]
}, {
//代销变价 -> 获得单个变价详情
route: '/goods/getPrice',
method: 'POST',
url: '/product/getProductPrice',
isJsonRaw: true,
params: [
{name: 'param', type: 'Number'}
]
}, {
//查询店铺列表接口
route: '/goods/query/shop',
method: 'POST',
url: '/ShopsRest/queryAllShops',
isJsonRaw: true,
params: []
}, {
//查询品牌列表接口
route: '/goods/query/brand',
method: 'POST',
url: '/erpproduct/brands/queryAllBrands',
isJsonRaw: true,
params: []
}, {
//查询供应商列表接口
route: '/goods/query/supplier',
method: 'POST',
url: '/supplier/supplier/queryAllSupplier',
isJsonRaw: true,
params: []
}, {
//查询一级类目列表接口
route: '/goods/query/maxSort',
method: 'POST',
url: '/product/queryAllMaxSortList',
isJsonRaw: true,
params: []
}, {
//单个变价接口
route: '/goods/updatePrice',
method: 'POST',
url: '/product/updateProductPrice',
isJsonRaw: true,
params: [
{name: 'product_skn', type: 'number'},
{name: 'sales_price', type: 'number'},
{name: 'vip_discount_type', type: 'number'},
{name: 'return_coin', type: 'number'},
{name: 'vip_price', type: 'number'},
{name: 'vip1_price', type: 'number'},
{name: 'vip2_price', type: 'number'},
{name: 'vip3_price', type: 'number'}
]
}, {
//批量变价接口
route: '/goods/batchUpdatePrice',
method: 'POST',
url: '/product/batchUpdateProductPrice',
isJsonRaw: true,
params: [
{name: 'batchList', type: 'String'}
]
}, {
//价格管理 -> 品牌合作模式页面渲染
route: '/goods/brandCooperation/index',
method: 'GET',
view: 'pages/goods/index',
src:'/goods/brand-cooperation',
noApi:true,
data: {
headerTab: {
brandCooperation: true
},
secondTitle: '价格管理',
pageTitle: '品牌合作模式设置',
filter: {
brandInput: true,
brandCooperation: true,
brandCooperationSet: true
},
bulkImport: true,
bottons:'{"edit":true,"columnsHidisFr":true}',
gridurl:'/goods/brandCooperation/list',
domain: exports.domain,
download: '/common/brandCooperation.xlsx'
}
}, {
//品牌合作模式 -> 列表数据
route: '/goods/brandCooperation/list',
method: 'POST',
url: '/brandCooperation/queryBrandCooperationList',
isJsonRaw:true,
params: [
{name: 'cooperateTypeId', type: 'Number'},
{name: 'brandName', type: 'String'},
{name: 'setFlag', type: 'Number'},
{name: 'page', type: 'Number'},
{name: 'size', type: 'Number'}
]
}, {
//品牌合作模式 -> 修改合作模式
route: '/goods/brandCooperation/update',
method: 'POST',
url: '/brandCooperation/saveBrandCooperation',
isJsonRaw:true,
params: [
{name: 'id', type: 'Number'},
{name: 'cooperateTypeId', type: 'String'},
{name: 'brandId', type: 'Number'}
]
}
];
\ No newline at end of file
... ...
... ... @@ -3,216 +3,215 @@ exports.domain = 'http://172.16.6.240:8088/platform';
//路由配置
exports.res = [
{route: '/-p-l-a-t-f-o-r-m/2',method:"GET"}//此模块上线将此删除
// {
// //【限购商品】页面渲染
// route: '/limit/product/index',
// method: 'GET',
// view: 'pages/limit/index',
// isJsonRaw:true,
// src: '/product/limit'
// }, {
// // 【限购商品】ajax分页
// route: '/limit/product/page',
// method: 'POST',
// url: '/limitProduct/getLimitProductList',
// isJsonRaw:true,
// params: [
// {
// name: 'hotFlag',
// type: 'Number'
// },{
// name: 'saleFlag',
// type: 'Number'
// },{
// name: 'showFlag',
// type: 'Number'
// },{
// name: 'productName',
// type: 'String'
// },{
// name: 'productSkn',
// type: 'String'
// },{
// name: 'page',
// type: 'Number'
// },{
// name: 'size',
// type: 'Number'
// }
{
//【限购商品】页面渲染
route: '/limit/product/index',
method: 'GET',
view: 'pages/limit/index',
isJsonRaw:true,
src: '/product/limit'
}, {
// 【限购商品】ajax分页
route: '/limit/product/page',
method: 'POST',
url: '/limitProduct/getLimitProductList',
isJsonRaw:true,
params: [
{
name: 'hotFlag',
type: 'Number'
},{
name: 'saleFlag',
type: 'Number'
},{
name: 'showFlag',
type: 'Number'
},{
name: 'productName',
type: 'String'
},{
name: 'productSkn',
type: 'String'
},{
name: 'page',
type: 'Number'
},{
name: 'size',
type: 'Number'
}
// ]
// },{
// // 【限购商品】添加页面渲染
// route: '/limit/product/add',
// method: 'GET',
// view: 'pages/limit/add',
// src: '/product/limit-add',
// isJsonRaw:true,
// data: {
// data: {},
// action: '/limit/product/add'
// }
// },{
// // 【限购商品】ajax添加
// route: '/limit/product/add',
// method: 'POST',
// url: '/limitProduct/addLimitProduct',
// isJsonRaw:true,
// params: [
// {
// name: 'productName',
// type: 'String'
// },
// {
// name: 'attachmentContent',
// type: 'String'
// },
// {
// name: 'batchNo',
// type: 'Number'
// },{
// name: 'saleTime',
// type: 'String'
// },{
// name: 'hotFlag',
// type: 'Number'
// },{
// name:'orderBy',
// type: 'Number'
// },{
// name: 'notSaleOrderBy',
// type: 'Number'
// }
// ]
]
},{
// 【限购商品】添加页面渲染
route: '/limit/product/add',
method: 'GET',
view: 'pages/limit/add',
src: '/product/limit-add',
isJsonRaw:true,
data: {
data: {},
action: '/limit/product/add'
}
},{
// 【限购商品】ajax添加
route: '/limit/product/add',
method: 'POST',
url: '/limitProduct/addLimitProduct',
isJsonRaw:true,
params: [
{
name: 'productName',
type: 'String'
},
{
name: 'attachmentContent',
type: 'String'
},
{
name: 'batchNo',
type: 'Number'
},{
name: 'saleTime',
type: 'String'
},{
name: 'hotFlag',
type: 'Number'
},{
name:'orderBy',
type: 'Number'
},{
name: 'notSaleOrderBy',
type: 'Number'
}
]
// }, {
// route: '/limit/edit/:id',
// method: 'GET',
// view: 'pages/limit/add',
// url: '/limitProduct/getLimitProduct',
// isJsonRaw:true,
// data:{
// action:"/limit/update",
// type:"update"
// },
// src:'/product/limit-add',
// params:[
// {name:"id",type:"String"}
// ]
// }, {
// route: '/limit/update',
// method: 'POST',
// url: '/limitProduct/updateLimitProduct',
// isJsonRaw: true,
// params: [
// {
// name: 'id',
// type: 'Number'
// },
// {
// name: 'productName',
// type: 'String'
// },
// {
// name: 'attachmentContent',
// type: 'String'
// },
// {
// name: 'batchNo',
// type: 'Number'
// },{
// name: 'saleTime',
// type: 'String'
// },{
// name: 'hotFlag',
// type: 'Number'
// },{
// name:'orderBy',
// type: 'Number'
// },{
// name: 'notSaleOrderBy',
// type: 'Number'
// }, {
// name: 'dayFlag',
// type: 'Number'
// }
// ]
// }, {
// route: '/limit/ajax/getCodeCount',
// method: 'POST',
// url: '/limitProduct/getCountByStatus',
// isJsonRaw: true,
// params: [
// {
// name: 'hotFlag',
// type: 'Number'
// },{
// name: 'saleFlag',
// type: 'Number'
// },{
// name: 'showFlag',
// type: 'Number'
// },{
// name: 'productName',
// type: 'String'
// },{
// name: 'productSkn',
// type: 'String'
// }
// ]
// }, {
// route: '/limit/audit',
// method: 'POST',
// url: '/limitProduct/auditLimitProduct',
// isJsonRaw: true,
// params: [
// {
// name: 'id',
// type: 'Number'
// },
// {
// name: 'showFlag',
// type: 'Number'
// },
// {
// name: 'hotFlag',
// type: 'Number'
// },
// {
// name: 'orderBy',
// type: 'Number'
// },
// {
// name: 'notSaleOrderBy',
// type: 'Number'
// }
// ]
// }, {
// route: '/limit/delete',
// method: 'POST',
// url: '/limitProduct/deleteLimitProduct',
// isJsonRaw: true,
// params: [
// {
// name: 'id',
// type: 'Number'
// }
// ]
// }, {
// route: '/limit/checkBatch',
// method: 'POST',
// url: '/limitProduct/checkBatchNoExist',
// isJsonRaw: true,
// params: [
// {
// name: 'batchNo',
// type: 'Number'
// },
// {
// name: 'id',
// type: 'Number'
// }
// ]
// }
}, {
route: '/limit/edit/:id',
method: 'GET',
view: 'pages/limit/add',
url: '/limitProduct/getLimitProduct',
isJsonRaw:true,
data:{
action:"/limit/update",
type:"update"
},
src:'/product/limit-add',
params:[
{name:"id",type:"String"}
]
}, {
route: '/limit/update',
method: 'POST',
url: '/limitProduct/updateLimitProduct',
isJsonRaw: true,
params: [
{
name: 'id',
type: 'Number'
},
{
name: 'productName',
type: 'String'
},
{
name: 'attachmentContent',
type: 'String'
},
{
name: 'batchNo',
type: 'Number'
},{
name: 'saleTime',
type: 'String'
},{
name: 'hotFlag',
type: 'Number'
},{
name:'orderBy',
type: 'Number'
},{
name: 'notSaleOrderBy',
type: 'Number'
}, {
name: 'dayFlag',
type: 'Number'
}
]
}, {
route: '/limit/ajax/getCodeCount',
method: 'POST',
url: '/limitProduct/getCountByStatus',
isJsonRaw: true,
params: [
{
name: 'hotFlag',
type: 'Number'
},{
name: 'saleFlag',
type: 'Number'
},{
name: 'showFlag',
type: 'Number'
},{
name: 'productName',
type: 'String'
},{
name: 'productSkn',
type: 'String'
}
]
}, {
route: '/limit/audit',
method: 'POST',
url: '/limitProduct/auditLimitProduct',
isJsonRaw: true,
params: [
{
name: 'id',
type: 'Number'
},
{
name: 'showFlag',
type: 'Number'
},
{
name: 'hotFlag',
type: 'Number'
},
{
name: 'orderBy',
type: 'Number'
},
{
name: 'notSaleOrderBy',
type: 'Number'
}
]
}, {
route: '/limit/delete',
method: 'POST',
url: '/limitProduct/deleteLimitProduct',
isJsonRaw: true,
params: [
{
name: 'id',
type: 'Number'
}
]
}, {
route: '/limit/checkBatch',
method: 'POST',
url: '/limitProduct/checkBatchNoExist',
isJsonRaw: true,
params: [
{
name: 'batchNo',
type: 'Number'
},
{
name: 'id',
type: 'Number'
}
]
}
];
... ...
... ... @@ -2,76 +2,75 @@ exports.domain = require('../config/common.js').domain;
exports.res = [
{route: '/-p-l-a-t-f-o-r-m/5',method:"GET"}//此模块上线将此删除
// {
// // 产品管理【颜色】页面渲染
// route: '/erpproduct/color/index',
// method: 'GET',
// view: 'pages/product/color',
// //url:'/productColor/queryProductColors'
// src: '/product/color',
// isJsonRaw:true
// },{
// // 获取颜色列表
// route: '/erpproduct/product/colorList',
// method: 'POST',
// url: '/productColor/queryProductColors', //接口的url
// isJsonRaw:true
// },{
// // 获取单个颜色
// route: '/erpproduct/product/getColor',
// method: 'POST',
// url:"/productColor/queryProductColor",
// isJsonRaw:true,
// params:[
// {name: 'id', type: 'Number'}
// ]
// },{
// // 新增颜色页面渲染
// route: '/erpproduct/product/addColor',
// method: 'GET',
// view:'pages/product/addColor',
// src:'/product/color-add',
// data:{
// url:'/erpproduct/product/saveColor'
// }
// },{
// // 新增颜色
// route: '/erpproduct/product/saveColor',
// method: 'POST',
// url:"/productColor/addProductColor",
// isJsonRaw:true,
// params:[
// {name: 'colorName', type: 'String'},
// {name: 'colorCode', type: 'String'},
// {name: 'colorValue', type: 'String'}
// ]
// },{
// // 打开修改颜色页面
// route: '/erpproduct/product/addColor/:param',
// method: 'GET',
// url:"/productColor/queryProductColor",
// view:'pages/product/addColor',
// isJsonRaw:true,
// params:[
// {name:'param',type:'Number'}
// ],
// data:{
// url:'/erpproduct/product/updatColor'
// },
// src:'/product/color-add'
// },{
// // 修改颜色
// route: '/erpproduct/product/updatColor',
// method: 'POST',
// url:"/productColor/updateProductColor",
// isJsonRaw:true,
// params:[
// {name: 'id', type: 'Number'},
// {name: 'colorName', type: 'String'},
// {name: 'colorCode', type: 'String'},
// {name: 'colorValue', type: 'String'}
// ]
// }
{
// 产品管理【颜色】页面渲染
route: '/erpproduct/color/index',
method: 'GET',
view: 'pages/product/color',
//url:'/productColor/queryProductColors'
src: '/product/color',
isJsonRaw:true
},{
// 获取颜色列表
route: '/erpproduct/product/colorList',
method: 'POST',
url: '/productColor/queryProductColors', //接口的url
isJsonRaw:true
},{
// 获取单个颜色
route: '/erpproduct/product/getColor',
method: 'POST',
url:"/productColor/queryProductColor",
isJsonRaw:true,
params:[
{name: 'id', type: 'Number'}
]
},{
// 新增颜色页面渲染
route: '/erpproduct/product/addColor',
method: 'GET',
view:'pages/product/addColor',
src:'/product/color-add',
data:{
url:'/erpproduct/product/saveColor'
}
},{
// 新增颜色
route: '/erpproduct/product/saveColor',
method: 'POST',
url:"/productColor/addProductColor",
isJsonRaw:true,
params:[
{name: 'colorName', type: 'String'},
{name: 'colorCode', type: 'String'},
{name: 'colorValue', type: 'String'}
]
},{
// 打开修改颜色页面
route: '/erpproduct/product/addColor/:param',
method: 'GET',
url:"/productColor/queryProductColor",
view:'pages/product/addColor',
isJsonRaw:true,
params:[
{name:'param',type:'Number'}
],
data:{
url:'/erpproduct/product/updatColor'
},
src:'/product/color-add'
},{
// 修改颜色
route: '/erpproduct/product/updatColor',
method: 'POST',
url:"/productColor/updateProductColor",
isJsonRaw:true,
params:[
{name: 'id', type: 'Number'},
{name: 'colorName', type: 'String'},
{name: 'colorCode', type: 'String'},
{name: 'colorValue', type: 'String'}
]
}
]
... ...
... ... @@ -2,57 +2,56 @@ exports.domain = require('../config/common.js').domain;
exports.res = [
{route: '/-p-l-a-t-f-o-r-m/6',method:"GET"}//此模块上线将此删除
// {
// // 产品管理【尺寸】页面渲染
// route: '/erpproduct/size/index',
// method: 'GET',
// view: 'pages/product/siezChart',
// //url:'/prohejiaduct/querySizeList',
// isJsonRaw:true,
// //params: [
// // {name: 'page', type: 'Number',def:1},
// // {name: 'size', type: 'Number',def:10}
// //],
// src: '/product/sizeChart'
// },{
// // 产品管理【尺寸】页面分页渲染
// route: '/erpproduct/sizeattribute/sizeList',
// method: 'POST',
// url:'/product/querySizeList',
// isJsonRaw:true,
// params: [
// {name: 'page', type: 'Number'},
// {name: 'size', type: 'Number',def:10}
// ],
// src: '/product/sizeChart'
// },{
// // 获取单个尺码
// route: '/erpproduct/size/getSize',
// method: 'POST',
// url:"/product/getSize",
// isJsonRaw:true,
// params:[
// {name: 'id', type: 'Number'}
// ]
// },{
// // 新增尺码
// route: '/erpproduct/size/addSize',
// method: 'POST',
// url:"/product/addSize",
// isJsonRaw:true,
// params:[
// {name: 'sizeName', type: 'String'}
// ]
// },{
// // 修改尺码
// route: '/erpproduct/size/updateSize',
// method: 'POST',
// url:"/product/updateSize",
// isJsonRaw:true,
// params:[
// {name: 'id', type: 'Number'},
// {name: 'sizeName', type: 'String'}
// ]
// }
{
// 产品管理【尺寸】页面渲染
route: '/erpproduct/size/index',
method: 'GET',
view: 'pages/product/siezChart',
//url:'/prohejiaduct/querySizeList',
isJsonRaw:true,
//params: [
// {name: 'page', type: 'Number',def:1},
// {name: 'size', type: 'Number',def:10}
//],
src: '/product/sizeChart'
},{
// 产品管理【尺寸】页面分页渲染
route: '/erpproduct/sizeattribute/sizeList',
method: 'POST',
url:'/product/querySizeList',
isJsonRaw:true,
params: [
{name: 'page', type: 'Number'},
{name: 'size', type: 'Number',def:10}
],
src: '/product/sizeChart'
},{
// 获取单个尺码
route: '/erpproduct/size/getSize',
method: 'POST',
url:"/product/getSize",
isJsonRaw:true,
params:[
{name: 'id', type: 'Number'}
]
},{
// 新增尺码
route: '/erpproduct/size/addSize',
method: 'POST',
url:"/product/addSize",
isJsonRaw:true,
params:[
{name: 'sizeName', type: 'String'}
]
},{
// 修改尺码
route: '/erpproduct/size/updateSize',
method: 'POST',
url:"/product/updateSize",
isJsonRaw:true,
params:[
{name: 'id', type: 'Number'},
{name: 'sizeName', type: 'String'}
]
}
]
... ...
... ... @@ -6,74 +6,73 @@
exports.domain = require('../config/common.js').domain;
//路由配置
exports.res = [
{route: '/-p-l-a-t-f-o-r-m/7',method:"GET"}//此模块上线将此删除
// {
// //搜索词页面渲染
// route: '/operations/terms/index',
// method: 'GET',
// view: 'pages/searchWords/index',
// src: '/searchWords/index',
// isJsonRaw: true,
// data: {
// filter: true
// }
// },
// //搜索词列表
// {
// route: '/operation/terms/searchWordsList',
// method: 'POST',
// url: '/searchWords/querySearchWords',
// isJsonRaw: true,
// params: [
// {name: 'page', type: 'Number', def: '1'},
// {name: 'size', type: 'Number', def: '10'},
// {name: 'type', type: 'Number'},
// {name: 'channelIds', type: 'String'},
// {name: 'startTime', type: 'String'},
// {name: 'endTime', type: 'String'},
// {name: 'content', type: 'String'},
// {name: 'status', type: 'Number'},
// ]
// },
{
//搜索词页面渲染
route: '/operations/terms/index',
method: 'GET',
view: 'pages/searchWords/index',
src: '/searchWords/index',
isJsonRaw: true,
data: {
filter: true
}
},
//搜索词列表
{
route: '/operation/terms/searchWordsList',
method: 'POST',
url: '/searchWords/querySearchWords',
isJsonRaw: true,
params: [
{name: 'page', type: 'Number', def: '1'},
{name: 'size', type: 'Number', def: '10'},
{name: 'type', type: 'Number'},
{name: 'channelIds', type: 'String'},
{name: 'startTime', type: 'String'},
{name: 'endTime', type: 'String'},
{name: 'content', type: 'String'},
{name: 'status', type: 'Number'},
]
},
// {
// //添加搜索词
// route: '/operations/terms/add',
// method: 'POST',
// url: '/searchWords/addSearchWords',
// isJsonRaw: true,
// params: [
// {name: 'type', type: 'Number'},
// {name: 'content', type: 'String'},
// {name: 'channelIds', type: 'String'},
// {name: 'url', type: 'String'},
// {name: 'startTime', type: 'String'},
// {name: 'endTime', type: 'String'},
// {name: 'content', type: 'String'},
// {name: 'goodsNum', type: 'Number'},
// {name: 'sort', type: 'Number'}
// ]
// },
{
//添加搜索词
route: '/operations/terms/add',
method: 'POST',
url: '/searchWords/addSearchWords',
isJsonRaw: true,
params: [
{name: 'type', type: 'Number'},
{name: 'content', type: 'String'},
{name: 'channelIds', type: 'String'},
{name: 'url', type: 'String'},
{name: 'startTime', type: 'String'},
{name: 'endTime', type: 'String'},
{name: 'content', type: 'String'},
{name: 'goodsNum', type: 'Number'},
{name: 'sort', type: 'Number'}
]
},
// {
// //搜索词修改
// route: '/operations/terms/modify',
// method: 'POST',
// url: '/searchWords/updateSearchWords',
// isJsonRaw: true,
// params: [
// {name: 'id', type: 'Number'},
// {name: 'type', type: 'Number'},
// {name: 'content', type: 'String'},
// {name: 'channelIds', type: 'String'},
// {name: 'url', type: 'String'},
// {name: 'startTime', type: 'String'},
// {name: 'endTime', type: 'String'},
// {name: 'content', type: 'String'},
// {name: 'goodsNum', type: 'Number'},
// {name: 'sort', type: 'Number'},
// {name: 'status', type: 'Number'},
{
//搜索词修改
route: '/operations/terms/modify',
method: 'POST',
url: '/searchWords/updateSearchWords',
isJsonRaw: true,
params: [
{name: 'id', type: 'Number'},
{name: 'type', type: 'Number'},
{name: 'content', type: 'String'},
{name: 'channelIds', type: 'String'},
{name: 'url', type: 'String'},
{name: 'startTime', type: 'String'},
{name: 'endTime', type: 'String'},
{name: 'content', type: 'String'},
{name: 'goodsNum', type: 'Number'},
{name: 'sort', type: 'Number'},
{name: 'status', type: 'Number'},
// ]
// }
]
}
];
... ...
... ... @@ -5,39 +5,38 @@
exports.domain = require('../config/common.js').domain;
//路由配置
exports.res = [
{route: '/-p-l-a-t-f-o-r-m/8',method:"GET"}//此模块上线将此删除
// {
// //产品管理【品类列表】页面渲染
// route: '/erpproduct/sizeattribute/index',
// method: 'GET',
// view: 'pages/product/size-property',
// src: '/product/size-property',
// isJsonRaw:true
// }, {
// route: '/erpproduct/sizeattribute/propertyList',
// method: 'POST',
// url: '/product/querySizeAttributeList', //接口的url
// isJsonRaw:true,
// params:[
// {name: 'page', type: 'Number', def: '1'}, //页码
// {name: 'size', type: 'Number', def : '10'} //每页条数
// ]
// }, {
// route: '/erpproduct/sizeattribute/propertyAdd', // 添加尺码属性
// method: 'POST',
// url: '/product/addSizeAttribute', //接口的url
// isJsonRaw:true,
// params:[
// {name: 'attributeName', type: 'String'} //名称
// ]
// }, {
// route: '/erpproduct/sizeattribute/propertyModify', // 修改尺码属性
// method: 'POST',
// url: '/product/updateSizeAttribute', //接口的url
// isJsonRaw:true,
// params:[
// {name: 'id', type: 'Number'}, //id
// {name: 'attributeName', type: 'String'} //名称
// ]
// }
{
//产品管理【品类列表】页面渲染
route: '/erpproduct/sizeattribute/index',
method: 'GET',
view: 'pages/product/size-property',
src: '/product/size-property',
isJsonRaw:true
}, {
route: '/erpproduct/sizeattribute/propertyList',
method: 'POST',
url: '/product/querySizeAttributeList', //接口的url
isJsonRaw:true,
params:[
{name: 'page', type: 'Number', def: '1'}, //页码
{name: 'size', type: 'Number', def : '10'} //每页条数
]
}, {
route: '/erpproduct/sizeattribute/propertyAdd', // 添加尺码属性
method: 'POST',
url: '/product/addSizeAttribute', //接口的url
isJsonRaw:true,
params:[
{name: 'attributeName', type: 'String'} //名称
]
}, {
route: '/erpproduct/sizeattribute/propertyModify', // 修改尺码属性
method: 'POST',
url: '/product/updateSizeAttribute', //接口的url
isJsonRaw:true,
params:[
{name: 'id', type: 'Number'}, //id
{name: 'attributeName', type: 'String'} //名称
]
}
];
\ No newline at end of file
... ...
... ... @@ -2,109 +2,108 @@ exports.domain =require('../config/common.js').domain;
//路由配置
exports.res = [
{route: '/-p-l-a-t-f-o-r-m/9',method:"GET"}//此模块上线将此删除
// {
// route: '/erpproduct/sortsize/index',
// method: 'GET',
// view: 'pages/sortsize/index',
// url: '/product/queryAllProductSortList',
// isJsonRaw:true,
// data: {
// addTitle:"添加尺码",
// model:'{"name":"尺码"}',
// gridurl:"/erpproduct/sortsize/ajax/index"
// },
// src:'/sortsize/index'
// },{
// route: '/erpproduct/sortsize/ajax/index',
// method: 'POST',
// url: '/product/querySizeListBySortId',
// isJsonRaw:true,
// params:[
// {name:"sortId",type:"number"}
// ]
// },
// {//添加尺码接口【验证通过】
// route: '/erpproduct/sortsize/ajax/add',
// method: 'POST',
// url: '/product/addSortSize',
// isJsonRaw:true,
// params:[
// {name:"sortId",type:"number"},
// {name:"sizeId",type:"number"},
// {name:"orderBy",type:"number"}
// ]
// },
// {//尺码模糊查询【验证通过】
// route:'/erpproduct/sortsize/ajax/automatic',
// method:'POST',
// url: '/product/querySizeByNameForSelect',
// isJsonRaw: true,
// params:[
// {name:"idName",type:"String"}
// ]
// },
// {//删除单个品类尺码接口【待验证】
// route: '/erpproduct/sortsize/ajax/delete',
// method: 'POST',
// url: '/product/deleteSortSize',
// isJsonRaw:true,
// params:[
// {name:"sortId",type:"number"},
// {name:"sizeId",type:"number"}
// ]
// },
// //************************品类尺码属性管理*****************************
// {
// route: '/erpproduct/sortattribute/index',
// method: 'GET',
// view: 'pages/sortsize/index',
// url: '/product/queryAllProductSortList',
// isJsonRaw:true,
// data: {
// addTitle:"添加尺码属性",
// model:'{"name":"尺码属性"}',
// gridurl:"/erpproduct/sortattribute/ajax/index"
// },
// src:'/sortsize/attri'
// },{
// //获取品类关联尺码属性列表【验证通过】
// route: '/erpproduct/sortattribute/ajax/index',
// method: 'POST',
// url: '/sortAttribute/queryList',
// isJsonRaw:true,
// params:[
// {name:"page",type:"number"},
// {name:"size",type:"number"},
// {name:"sortId",type:"number"}
// ]
// },{//删除品类关联尺码属性接口【待验证】
// route: '/erpproduct/sortattribute/ajax/delete',
// method: 'POST',
// url: '/sortAttribute/delete',
// isJsonRaw:true,
// params:[
// {name:"sortId",type:"number"},
// {name:"attributeId",type:"number"}
// ]
// },
// {//添加品类关联尺码属性接口【待验证】
// route: '/erpproduct/sortattribute/ajax/add',
// method: 'POST',
// url: '/sortAttribute/add',
// isJsonRaw:true,
// params:[
// {name:"sortId",type:"number"},
// {name:"attributeId",type:"number"},
// {name:"orderBy",type:"number"}
// ]
// },{//添加品类关联尺码属性接口【验证通过】
// route: '/erpproduct/sortattribute/ajax/automatic',
// method: 'POST',
// url: '/product/querySizeAttributesByName',
// isJsonRaw:true,
// params:[
// {name:"idName",type:"String"}
// ]
// }
{
route: '/erpproduct/sortsize/index',
method: 'GET',
view: 'pages/sortsize/index',
url: '/product/queryAllProductSortList',
isJsonRaw:true,
data: {
addTitle:"添加尺码",
model:'{"name":"尺码"}',
gridurl:"/erpproduct/sortsize/ajax/index"
},
src:'/sortsize/index'
},{
route: '/erpproduct/sortsize/ajax/index',
method: 'POST',
url: '/product/querySizeListBySortId',
isJsonRaw:true,
params:[
{name:"sortId",type:"number"}
]
},
{//添加尺码接口【验证通过】
route: '/erpproduct/sortsize/ajax/add',
method: 'POST',
url: '/product/addSortSize',
isJsonRaw:true,
params:[
{name:"sortId",type:"number"},
{name:"sizeId",type:"number"},
{name:"orderBy",type:"number"}
]
},
{//尺码模糊查询【验证通过】
route:'/erpproduct/sortsize/ajax/automatic',
method:'POST',
url: '/product/querySizeByNameForSelect',
isJsonRaw: true,
params:[
{name:"idName",type:"String"}
]
},
{//删除单个品类尺码接口【待验证】
route: '/erpproduct/sortsize/ajax/delete',
method: 'POST',
url: '/product/deleteSortSize',
isJsonRaw:true,
params:[
{name:"sortId",type:"number"},
{name:"sizeId",type:"number"}
]
},
//************************品类尺码属性管理*****************************
{
route: '/erpproduct/sortattribute/index',
method: 'GET',
view: 'pages/sortsize/index',
url: '/product/queryAllProductSortList',
isJsonRaw:true,
data: {
addTitle:"添加尺码属性",
model:'{"name":"尺码属性"}',
gridurl:"/erpproduct/sortattribute/ajax/index"
},
src:'/sortsize/attri'
},{
//获取品类关联尺码属性列表【验证通过】
route: '/erpproduct/sortattribute/ajax/index',
method: 'POST',
url: '/sortAttribute/queryList',
isJsonRaw:true,
params:[
{name:"page",type:"number"},
{name:"size",type:"number"},
{name:"sortId",type:"number"}
]
},{//删除品类关联尺码属性接口【待验证】
route: '/erpproduct/sortattribute/ajax/delete',
method: 'POST',
url: '/sortAttribute/delete',
isJsonRaw:true,
params:[
{name:"sortId",type:"number"},
{name:"attributeId",type:"number"}
]
},
{//添加品类关联尺码属性接口【待验证】
route: '/erpproduct/sortattribute/ajax/add',
method: 'POST',
url: '/sortAttribute/add',
isJsonRaw:true,
params:[
{name:"sortId",type:"number"},
{name:"attributeId",type:"number"},
{name:"orderBy",type:"number"}
]
},{//添加品类关联尺码属性接口【验证通过】
route: '/erpproduct/sortattribute/ajax/automatic',
method: 'POST',
url: '/product/querySizeAttributesByName',
isJsonRaw:true,
params:[
{name:"idName",type:"String"}
]
}
]
\ No newline at end of file
... ...