Authored by xuhongyun

Build project

@@ -2,22 +2,22 @@ module.exports = function (app){ @@ -2,22 +2,22 @@ module.exports = function (app){
2 app.get("/shop/shopCategory/index", "shop.ShopCategory.Index", function (req,res){ 2 app.get("/shop/shopCategory/index", "shop.ShopCategory.Index", function (req,res){
3 this.$extend={ 3 this.$extend={
4 moduleName:"店铺管理", 4 moduleName:"店铺管理",
5 - pageName:"店铺销售类目管理" 5 + pageName:"店铺商品分类"
6 } 6 }
7 }); 7 });
8 8
9 app.get("/shop/shopCategory/index/:shopId", "shop.ShopCategory.Index", function (req,res){ 9 app.get("/shop/shopCategory/index/:shopId", "shop.ShopCategory.Index", function (req,res){
10 this.$extend={ 10 this.$extend={
11 moduleName:"店铺管理", 11 moduleName:"店铺管理",
12 - pageName:"店铺销售类目管理" 12 + pageName:"店铺商品分类"
13 } 13 }
14 }); 14 });
15 15
16 app.get("/shop/shopCategory/edit/:shopId/:categoryId/", "shop.ShopCategory.Edit", ["shopCategory_selectShopNameById", "shopCategory_selectCategoryNameById"], function (rs1, rs2){ 16 app.get("/shop/shopCategory/edit/:shopId/:categoryId/", "shop.ShopCategory.Edit", ["shopCategory_selectShopNameById", "shopCategory_selectCategoryNameById"], function (rs1, rs2){
17 this.$extend={ 17 this.$extend={
18 moduleName:"店铺管理", 18 moduleName:"店铺管理",
19 - pageName:"店铺销售类目管理",  
20 - subPageName:"店铺销售类目编辑", 19 + pageName:"店铺商品分类",
  20 + subPageName:"店铺商品分类编辑",
21 shopName: rs1.data, 21 shopName: rs1.data,
22 categoryName: rs2.data 22 categoryName: rs2.data
23 } 23 }
@@ -26,19 +26,26 @@ module.exports = function (app){ @@ -26,19 +26,26 @@ module.exports = function (app){
26 app.get("/shop/shopCategory/info/:shopId/:categoryId/", "shop.ShopCategory.Info", ["shopCategory_selectShopNameById", "shopCategory_selectCategoryNameById"], function (rs1, rs2){ 26 app.get("/shop/shopCategory/info/:shopId/:categoryId/", "shop.ShopCategory.Info", ["shopCategory_selectShopNameById", "shopCategory_selectCategoryNameById"], function (rs1, rs2){
27 this.$extend={ 27 this.$extend={
28 moduleName:"店铺管理", 28 moduleName:"店铺管理",
29 - pageName:"店铺销售类目管理",  
30 - subPageName:"店铺销售类目详情", 29 + pageName:"店铺商品分类",
  30 + subPageName:"店铺商品分类详情",
31 shopName: rs1.data, 31 shopName: rs1.data,
32 categoryName: rs2.data 32 categoryName: rs2.data
33 } 33 }
34 }); 34 });
35 35
  36 + app.get("/shop/shopCategory/batch", "shop.ShopCategory.Batch", function (req,res){
  37 + this.$extend={
  38 + moduleName:"店铺管理",
  39 + pageName:"批量设置"
  40 + }
  41 + });
  42 +
36 /*****************************Vue单页面写法*****************************/ 43 /*****************************Vue单页面写法*****************************/
37 44
38 app.vue("/shop/shopCategory", "shop.ShopCategory", function (req,res){ 45 app.vue("/shop/shopCategory", "shop.ShopCategory", function (req,res){
39 this.$extend={ 46 this.$extend={
40 moduleName:"店铺管理", 47 moduleName:"店铺管理",
41 - pageName:"店铺销售类目管理" 48 + pageName:"店铺商品分类"
42 } 49 }
43 }); 50 });
44 51
@@ -60,7 +60,7 @@ module.exports={ @@ -60,7 +60,7 @@ module.exports={
60 {name:"shopId",type:"Number"}, 60 {name:"shopId",type:"Number"},
61 {name:"categoryId",type:"Number"}, 61 {name:"categoryId",type:"Number"},
62 {name:"productSKN",type:"Number"}, 62 {name:"productSKN",type:"Number"},
63 - {name:"factoryCode",type:"String"}, 63 + {name:"productName",type:"String"},
64 {name:"page",type:"Number"} 64 {name:"page",type:"Number"}
65 ] 65 ]
66 }, 66 },
@@ -72,7 +72,7 @@ module.exports={ @@ -72,7 +72,7 @@ module.exports={
72 {name:"shopId",type:"Number"}, 72 {name:"shopId",type:"Number"},
73 {name:"categoryId",type:"Number"}, 73 {name:"categoryId",type:"Number"},
74 {name:"productSKN",type:"Number"}, 74 {name:"productSKN",type:"Number"},
75 - {name:"factoryCode",type:"String"}, 75 + {name:"productName",type:"String"},
76 {name:"page",type:"Number"} 76 {name:"page",type:"Number"}
77 ] 77 ]
78 }, 78 },