|
@ -52,7 +52,8 @@ Page({ |
|
|
pageSize: this.data.pageSize, |
|
|
pageSize: this.data.pageSize, |
|
|
timestamp: getTimestamp(), |
|
|
timestamp: getTimestamp(), |
|
|
actType: 0, |
|
|
actType: 0, |
|
|
qkdat: true |
|
|
qkdat: true, |
|
|
|
|
|
selectedTab:this.data.selectedTab |
|
|
} |
|
|
} |
|
|
this.selectComponent("#state-0").getActivityList(parms) |
|
|
this.selectComponent("#state-0").getActivityList(parms) |
|
|
}, |
|
|
}, |
|
@ -106,7 +107,8 @@ Page({ |
|
|
pageSize: this.data.pageSize, |
|
|
pageSize: this.data.pageSize, |
|
|
timestamp: getTimestamp(), |
|
|
timestamp: getTimestamp(), |
|
|
actType: 0,//活动列表类型(0-招募令,1-精彩活动)
|
|
|
actType: 0,//活动列表类型(0-招募令,1-精彩活动)
|
|
|
qkdat: true |
|
|
qkdat: true, |
|
|
|
|
|
selectedTab:e.currentTarget.dataset.tab |
|
|
} |
|
|
} |
|
|
this.selectComponent("#state-0").getActivityList(parms) |
|
|
this.selectComponent("#state-0").getActivityList(parms) |
|
|
} else if (e.currentTarget.dataset.tab == 'tab1') { |
|
|
} else if (e.currentTarget.dataset.tab == 'tab1') { |
|
@ -120,7 +122,6 @@ Page({ |
|
|
pageIndex: this.data.indexPage, |
|
|
pageIndex: this.data.indexPage, |
|
|
pageSize: this.data.pageSize, |
|
|
pageSize: this.data.pageSize, |
|
|
} |
|
|
} |
|
|
console.log('志愿者列表传值:'+JSON.stringify(parms)) |
|
|
|
|
|
this.volunteerlist(parms) |
|
|
this.volunteerlist(parms) |
|
|
} else if (e.currentTarget.dataset.tab == 'tab2') { |
|
|
} else if (e.currentTarget.dataset.tab == 'tab2') { |
|
|
this.setData({ |
|
|
this.setData({ |
|
@ -132,7 +133,8 @@ Page({ |
|
|
pageSize: this.data.pageSize, |
|
|
pageSize: this.data.pageSize, |
|
|
timestamp: getTimestamp(), |
|
|
timestamp: getTimestamp(), |
|
|
actType: 1,//活动列表类型(0-招募令,1-精彩活动)
|
|
|
actType: 1,//活动列表类型(0-招募令,1-精彩活动)
|
|
|
qkdat: true |
|
|
qkdat: true, |
|
|
|
|
|
selectedTab:e.currentTarget.dataset.tab |
|
|
} |
|
|
} |
|
|
this.selectComponent("#state-2").getActivityList(parms) |
|
|
this.selectComponent("#state-2").getActivityList(parms) |
|
|
} else if (e.currentTarget.dataset.tab == 'tab3') { |
|
|
} else if (e.currentTarget.dataset.tab == 'tab3') { |
|
@ -157,7 +159,8 @@ Page({ |
|
|
pageSize: 10, |
|
|
pageSize: 10, |
|
|
timestamp: getTimestamp(), |
|
|
timestamp: getTimestamp(), |
|
|
actType: 0, |
|
|
actType: 0, |
|
|
actId: this.data.actId |
|
|
actId: this.data.actId, |
|
|
|
|
|
selectedTab:this.data.selectedTab |
|
|
} |
|
|
} |
|
|
this.selectComponent("#state-0").updateActivityList(params) |
|
|
this.selectComponent("#state-0").updateActivityList(params) |
|
|
} else if (this.data.selectedTab === 'tab2') { |
|
|
} else if (this.data.selectedTab === 'tab2') { |
|
@ -166,7 +169,8 @@ Page({ |
|
|
pageSize: 10, |
|
|
pageSize: 10, |
|
|
timestamp: getTimestamp(), |
|
|
timestamp: getTimestamp(), |
|
|
actType: 1, |
|
|
actType: 1, |
|
|
actId: this.data.actId |
|
|
actId: this.data.actId, |
|
|
|
|
|
selectedTab:this.data.selectedTab |
|
|
} |
|
|
} |
|
|
this.selectComponent("#state-2").updateActivityList(params) |
|
|
this.selectComponent("#state-2").updateActivityList(params) |
|
|
} |
|
|
} |
|
@ -279,7 +283,8 @@ Page({ |
|
|
pageIndex: this.data.indexPage, |
|
|
pageIndex: this.data.indexPage, |
|
|
pageSize: this.data.pageSize, |
|
|
pageSize: this.data.pageSize, |
|
|
timestamp: getTimestamp(), |
|
|
timestamp: getTimestamp(), |
|
|
actType: 0 |
|
|
actType: 0, |
|
|
|
|
|
selectedTab:this.data.selectedTab |
|
|
} |
|
|
} |
|
|
this.selectComponent("#state-0").getActivityList(parms) |
|
|
this.selectComponent("#state-0").getActivityList(parms) |
|
|
}else if(this.data.selectedTab == 'tab1'){ |
|
|
}else if(this.data.selectedTab == 'tab1'){ |
|
@ -299,7 +304,8 @@ Page({ |
|
|
pageIndex: this.data.indexPage, |
|
|
pageIndex: this.data.indexPage, |
|
|
pageSize: this.data.pageSize, |
|
|
pageSize: this.data.pageSize, |
|
|
timestamp: getTimestamp(), |
|
|
timestamp: getTimestamp(), |
|
|
actType: 1 |
|
|
actType: 1, |
|
|
|
|
|
selectedTab:this.data.selectedTab |
|
|
} |
|
|
} |
|
|
this.selectComponent("#state-2").getActivityList(parms) |
|
|
this.selectComponent("#state-2").getActivityList(parms) |
|
|
} |
|
|
} |
|
|