...
|
...
|
@@ -32,34 +32,13 @@ exports.res = [ |
|
|
url: '/erpproduct/brands/index',
|
|
|
isJsonRaw: true,
|
|
|
params: [
|
|
|
{
|
|
|
name: 'brandId',
|
|
|
type: 'Number'
|
|
|
},
|
|
|
{
|
|
|
name: 'status',
|
|
|
type: 'Number'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandLevel',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'startTime',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'endTime',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'page',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'size',
|
|
|
type: 'Number'
|
|
|
}
|
|
|
{name: 'brandId',type: 'Number'},
|
|
|
{name: 'status', type: 'Number'},
|
|
|
{name: 'brandLevel',type: 'string'},
|
|
|
{name: 'startTime',type: 'string'},
|
|
|
{name: 'endTime',type: 'string'},
|
|
|
{name: 'page',type: 'Number'},
|
|
|
{name: 'size',type: 'Number'}
|
|
|
]
|
|
|
}, {
|
|
|
//品牌管理 -> 编辑/关闭/开启品牌ajax
|
...
|
...
|
@@ -68,78 +47,24 @@ exports.res = [ |
|
|
url: '/erpproduct/brands/editBrand',
|
|
|
isJsonRaw: true,
|
|
|
params: [
|
|
|
{
|
|
|
name: 'id',
|
|
|
type: 'Number'
|
|
|
},
|
|
|
{
|
|
|
name: 'status',
|
|
|
type: 'Number'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandName',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandNameEn',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandDomain',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandIco',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandLevel',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'promotionLevel',
|
|
|
type: 'Number'
|
|
|
},
|
|
|
{
|
|
|
name: 'mainCategory',
|
|
|
type: 'Number'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandHeadstream',
|
|
|
type: 'Number'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandTypes',
|
|
|
type: 'Number'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandUrl',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandIntro',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandOutline',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandFounder',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandStyle',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandNature',
|
|
|
type: 'Number'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandTonality',
|
|
|
type: 'string'
|
|
|
}
|
|
|
{name: 'id',type: 'Number'},
|
|
|
{name: 'status',type: 'Number'},
|
|
|
{name: 'brandName',type: 'string'},
|
|
|
{name: 'brandNameEn',type: 'string'},
|
|
|
{name: 'brandDomain',type: 'string'},
|
|
|
{name: 'brandIco',type: 'string'},
|
|
|
{name: 'brandLevel',type: 'string'},
|
|
|
{name: 'promotionLevel',type: 'Number'},
|
|
|
{name: 'mainCategory',type: 'Number'},
|
|
|
{name: 'brandHeadstream',type: 'Number'},
|
|
|
{name: 'brandTypes',type: 'Number'},
|
|
|
{name: 'brandUrl',type: 'string'},
|
|
|
{name: 'brandIntro',type: 'string'},
|
|
|
{name: 'brandOutline',type: 'string'},
|
|
|
{name: 'brandFounder',type: 'string'},
|
|
|
{name: 'brandStyle',type: 'string'},
|
|
|
{name: 'brandNature',type: 'Number'},
|
|
|
{name: 'brandTonality',type: 'string'}
|
|
|
]
|
|
|
}, {
|
|
|
route: '/erpproduct/brands/edit/:brandId',
|
...
|
...
|
@@ -164,79 +89,31 @@ exports.res = [ |
|
|
src:'/brand/edit',
|
|
|
noApi:true,
|
|
|
data:{
|
|
|
action:'/erpproduct/brand/add',
|
|
|
action:'/erpproduct/ajax/brands/add',
|
|
|
data:{}
|
|
|
}
|
|
|
}, {
|
|
|
route: '/erpproduct/brand/add',
|
|
|
route: '/erpproduct/ajax/brands/add',
|
|
|
method: 'POST',
|
|
|
url: '/erpproduct/brands/addBrand',
|
|
|
isJsonRaw: true,
|
|
|
params:[
|
|
|
{
|
|
|
name: 'brandName',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandNameEn',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandDomain',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandIco',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandLevel',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'promotionLevel',
|
|
|
type: 'Number'
|
|
|
},
|
|
|
{
|
|
|
name: 'mainCategory',
|
|
|
type: 'Number'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandHeadstream',
|
|
|
type: 'Number'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandTypes',
|
|
|
type: 'Number'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandUrl',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandIntro',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandOutline',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandFounder',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandStyle',
|
|
|
type: 'string'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandNature',
|
|
|
type: 'Number'
|
|
|
},
|
|
|
{
|
|
|
name: 'brandTonality',
|
|
|
type: 'string'
|
|
|
}
|
|
|
{name: 'brandName',type: 'string'},
|
|
|
{name: 'brandNameEn',type: 'string'},
|
|
|
{name: 'brandDomain',type: 'string'},
|
|
|
{name: 'brandIco',type: 'string'},
|
|
|
{name: 'brandLevel',type: 'string'},
|
|
|
{name: 'promotionLevel',type: 'Number'},
|
|
|
{name: 'mainCategory',type: 'Number'},
|
|
|
{name: 'brandHeadstream',type: 'Number'},
|
|
|
{name: 'brandTypes',type: 'Number'},
|
|
|
{name: 'brandUrl',type: 'string'},
|
|
|
{name: 'brandIntro',type: 'string'},
|
|
|
{name: 'brandOutline',type: 'string'},
|
|
|
{name: 'brandFounder',type: 'string'},
|
|
|
{name: 'brandStyle',type: 'string'},
|
|
|
{name: 'brandNature',type: 'Number'},
|
|
|
{name: 'brandTonality',type: 'string'}
|
|
|
]
|
|
|
}
|
|
|
] |
|
|
\ No newline at end of file |
...
|
...
|
|