Authored by 王钱钧

修改静态文件功能bug。

@@ -61,18 +61,22 @@ var g = new common.grid({ @@ -61,18 +61,22 @@ var g = new common.grid({
61 return "<p>" + ENUM.FileTypeEnum[item.fileType] + "</p>"; 61 return "<p>" + ENUM.FileTypeEnum[item.fileType] + "</p>";
62 } 62 }
63 }, 63 },
64 - //{  
65 - // display: '审核返币',  
66 - // render: function (item) {  
67 - // return "<p>" + ENUM.RewardEnum[item.shareReward] + "</p>";  
68 - // }  
69 - //},  
70 - //{  
71 - // display: '推荐状态',  
72 - // render: function (item) {  
73 - // return "<p>" + ENUM.RecommendEnum[item.recomReward] + "</p>";  
74 - // }  
75 - //}, 64 +
  65 + {
  66 + display: '链接',
  67 + render: function (item) {
  68 +
  69 + var _url = 'http://www.yohobuy.com/special/';
  70 +
  71 + if (item.id && item.pageTitle) {
  72 + _url += item.id + '_' + item.pageTitle + '.html';
  73 + } else {
  74 + _url = '';
  75 + }
  76 +
  77 + return '<a href="'+_url+'"> '+_url+' </a>';
  78 + }
  79 + },
76 80
77 { 81 {
78 display: "添加时间", 82 display: "添加时间",
@@ -23,7 +23,7 @@ var config = { @@ -23,7 +23,7 @@ var config = {
23 //domain:'http://172.16.6.157:8080/yohobuy-platform-web',//葛超 23 //domain:'http://172.16.6.157:8080/yohobuy-platform-web',//葛超
24 // domain: 'http://192.168.102.216:8086/platform', 24 // domain: 'http://192.168.102.216:8086/platform',
25 domain: 'http://192.168.102.202:8088/platform', 25 domain: 'http://192.168.102.202:8088/platform',
26 - //domain: 'http://192.168.102.202:8088/platform', 26 + //domain: 'http://172.16.6.133:8088/platform',
27 //domain:'http://172.16.6.120:8088/platform',//曹艳 27 //domain:'http://172.16.6.120:8088/platform',//曹艳
28 //domain:'http://172.16.6.231:8080/platform',//王伟 28 //domain:'http://172.16.6.231:8080/platform',//王伟
29 //domain: 'http://172.16.6.239:8080', //孙杰翔 29 //domain: 'http://172.16.6.239:8080', //孙杰翔