|
@@ -30,6 +30,7 @@ Page({ |
|
|
this.getList(0) |
|
|
this.getList(0) |
|
|
}, |
|
|
}, |
|
|
getList(key) { |
|
|
getList(key) { |
|
|
|
|
|
var that = this |
|
|
Http.get({ |
|
|
Http.get({ |
|
|
url: config.api.couponOrderList, |
|
|
url: config.api.couponOrderList, |
|
|
data: { |
|
|
data: { |
|
@@ -43,7 +44,7 @@ Page({ |
|
|
res.data.list.map(file => { |
|
|
res.data.list.map(file => { |
|
|
file.expiredTime = format.formatTime(file.expiredTime, 'yyyy-MM-dddd hh:mm:ss') |
|
|
file.expiredTime = format.formatTime(file.expiredTime, 'yyyy-MM-dddd hh:mm:ss') |
|
|
}) |
|
|
}) |
|
|
this.setData({ |
|
|
|
|
|
|
|
|
that.setData({ |
|
|
list: res.data.list |
|
|
list: res.data.list |
|
|
}) |
|
|
}) |
|
|
},function(error){ |
|
|
},function(error){ |
|
|