| | |
| | | if (res.data.code == 0) { |
| | | (res.data.data.content).forEach(e => { |
| | | (e.createTime) = app.formatDate(e.createTime) |
| | | e.startTime ? (e.startTime) = app.formatDate(e.startTime) : '' |
| | | e.endTime ? (e.endTime) = app.formatDate(e.endTime || '') : "" |
| | | switch (e.activityType) { |
| | | case 'act_1': |
| | | e.activityType = '南检活动'; |
| | |
| | | var activityType = this.data.dataSet[id].activityType; |
| | | var signStatus = this.data.dataSet[id].signStatus; |
| | | var id = this.data.dataSet[id].id; |
| | | |
| | | |
| | | console.log(activityType) |
| | | console.log(signStatus); |
| | | if (activityType == "法治培训") { |
| | |
| | | }) |
| | | } else if (activityType == "南检活动") { |
| | | wx.navigateTo({ |
| | | url: '../scanEvildoing/scanEvildoing?id=' + businessId, |
| | | url: '../activityDetail/activityDetail?id=' + id + '&signStatus=' + signStatus, |
| | | }) |
| | | } else if (activityType == "基地参观") { |
| | | wx.navigateTo({ |