|
|
@ -77,9 +77,16 @@ Component({ |
|
|
if (message.what == 10 && app.globalData.isVIP == 1) { |
|
|
if (message.what == 10 && app.globalData.isVIP == 1) { |
|
|
// this.setData({ token: app.globalData.token })
|
|
|
// this.setData({ token: app.globalData.token })
|
|
|
// this.onRefreshList()
|
|
|
// this.onRefreshList()
|
|
|
} |
|
|
|
|
|
if(message.what == 1001){ |
|
|
|
|
|
|
|
|
} else if(message.what == 1001){ |
|
|
this.setData({ kg: app.globalData.kg }) |
|
|
this.setData({ kg: app.globalData.kg }) |
|
|
|
|
|
} else if(message.what == 888){ |
|
|
|
|
|
this.setData({ |
|
|
|
|
|
orderList2: [], |
|
|
|
|
|
['form[0].pageNum']: 1, |
|
|
|
|
|
['loading[0]']: true, |
|
|
|
|
|
['finished[0]']: false |
|
|
|
|
|
}) |
|
|
|
|
|
this.fetchAgentList() |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
stopTouchMove: function(e){ |
|
|
stopTouchMove: function(e){ |
|
|
@ -176,7 +183,6 @@ Component({ |
|
|
}) |
|
|
}) |
|
|
this.fetchAgentList() |
|
|
this.fetchAgentList() |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
fetchMoreList: function(){ |
|
|
fetchMoreList: function(){ |
|
|
if(this.data.tabIndex == 1){ |
|
|
if(this.data.tabIndex == 1){ |
|
|
|