|
@@ -103,7 +103,7 @@ exports.init = function() { |
|
@@ -103,7 +103,7 @@ exports.init = function() { |
103
|
},
|
103
|
},
|
104
|
columns:[
|
104
|
columns:[
|
105
|
{display:"批次号", name:"batchNo", render: function(item) {
|
105
|
{display:"批次号", name:"batchNo", render: function(item) {
|
106
|
- return '<a href="/couponinfo/' + item.id + '">' + item.batchNo + '</a>';
|
106
|
+ return '<a href="/coupon/info/' + item.id + '">' + item.batchNo + '</a>';
|
107
|
}},
|
107
|
}},
|
108
|
{display:"基本信息",name:"name", render: function(item) {
|
108
|
{display:"基本信息",name:"name", render: function(item) {
|
109
|
return '<p>名称:' + item.name + '</p><p>次数' + item.limitTimes + '</p><p>部门:' + item.reqDepartment + '</p>';
|
109
|
return '<p>名称:' + item.name + '</p><p>次数' + item.limitTimes + '</p><p>部门:' + item.reqDepartment + '</p>';
|
|
@@ -124,7 +124,7 @@ exports.init = function() { |
|
@@ -124,7 +124,7 @@ exports.init = function() { |
124
|
console.log(this);
|
124
|
console.log(this);
|
125
|
var HtmArr=[];
|
125
|
var HtmArr=[];
|
126
|
if(btnAuthority.look){
|
126
|
if(btnAuthority.look){
|
127
|
- HtmArr.push('<a href="/couponinfo/'+ items.id+'" class="btn btn-info btn-xs">查看详情</a>');
|
127
|
+ HtmArr.push('<a href="/coupon/info/'+ items.id+'" class="btn btn-info btn-xs">查看详情</a>');
|
128
|
}
|
128
|
}
|
129
|
if(items.status == 0){
|
129
|
if(items.status == 0){
|
130
|
HtmArr.push('<a class="btn btn-primary btn-xs apply-success" data-id="'+ items.id+'" href="javascript:;">通过</a>');
|
130
|
HtmArr.push('<a class="btn btn-primary btn-xs apply-success" data-id="'+ items.id+'" href="javascript:;">通过</a>');
|
|
@@ -135,7 +135,7 @@ exports.init = function() { |
|
@@ -135,7 +135,7 @@ exports.init = function() { |
135
|
HtmArr.push('<a class="btn btn-danger btn-xs apply-cancel" data-id="'+ items.id+'" href="javascript:;">作废</a>');
|
135
|
HtmArr.push('<a class="btn btn-danger btn-xs apply-cancel" data-id="'+ items.id+'" href="javascript:;">作废</a>');
|
136
|
}
|
136
|
}
|
137
|
if(items.status == 2){
|
137
|
if(items.status == 2){
|
138
|
- HtmArr.push('<a class="btn btn-info btn-xs apply-modify" data-id="'+ items.id+'" href="/couponupdate/'+ items.id+'">修改</a>');
|
138
|
+ HtmArr.push('<a class="btn btn-info btn-xs apply-modify" data-id="'+ items.id+'" href="/coupon/update/'+ items.id+'">修改</a>');
|
139
|
}
|
139
|
}
|
140
|
return HtmArr.join('');
|
140
|
return HtmArr.join('');
|
141
|
}}
|
141
|
}}
|