meterSize.js 1.9 KB
/**
 * Created by JiangMin on 2016/3/22.
 * 测量尺码管理
 */
exports.domain = require('../config/common.js').domain;

exports.res = [

    //主界面
    {
        route: '/meterManage/meterSize/index', //访问路由
        method: 'GET', //方法
        view: 'pages/meterManage/meterSize', //视图
        src: '/meterManage/meterSize' //控制层
    },
    //api请求数据
    {
        route: '/meterManage/productSize/queryProdSizeList',
        method: 'POST',
        url: '/productSize/queryProdSizeList',
        params: [{
            name: "page",
            type: "number"
        }, {
            name: "productSkn",
            type: "number"
        }, {
            name: "brandId",
            type: "number"
        }, {
            name: "productSku",
            type: "number"
        }, {
            name: "maxSortId",
            type: "number"
        }, {
            name: "arriveStartTime",
            type: "number"
        }, {
            name: "arriveEndTime",
            type: "number"
        }, {
            name: "isMeasure",
            type: "string"
        }]
    }, {
        route: '/meterManage/productSize/saveProdSizeInfo',
        method: 'POST',
        url: '/productSize/saveProdSizeInfo',
        params: [{
            name: "productSkn",
            type: "number"
        }, {
            name: "sizeInfoList",
            type: "string"
        }, {
            name: "productSizeReferList",
            type: "string"
        }, {
            name: "noMeasureIds",
            type: "string"
        }]
    }, {
        route: '/meterManage/brand/getSelectItems',
        method: 'POST',
        url: '/brand/getSelectItems',
        params: []
    }, { //添加页面
        route: '/meterManage/meterSize/add', //访问路由
        method: 'GET', //方法
        view: 'pages/meterManage/addSizeInfo', //视图
        src: '/meterManage/addSizeInfo' //控制层
    }
];