|
|
@@ -50,7 +50,7 @@ class VoteListTeacher extends Component {
|
|
|
|
|
|
document.title = '投票助手'
|
|
|
const that = this
|
|
|
- console.log(this.props.listState)
|
|
|
+ // console.log(this.props.listState)
|
|
|
|
|
|
this.mySwiper = new Swiper('.swiper-container', {
|
|
|
autoplay: false,
|
|
|
@@ -162,11 +162,12 @@ class VoteListTeacher extends Component {
|
|
|
}
|
|
|
|
|
|
fetchPost(API.voteListTeacher, {
|
|
|
- userId: this.props.userInfo.user.userFunId,
|
|
|
- voteType: '1',
|
|
|
+ teacherId: this.props.userInfo.user.userFunId,
|
|
|
+ voteType:1,
|
|
|
pageIndex: mReleaseIndex,
|
|
|
pageSize: mPageSize
|
|
|
}).then(response => {
|
|
|
+ console.log('loadReleaseList',response)
|
|
|
if (response && response.data && response.data.create.length > 0) {
|
|
|
response.data.create.forEach((item, index) => {
|
|
|
let voteBean = {}
|
|
|
@@ -233,10 +234,11 @@ class VoteListTeacher extends Component {
|
|
|
|
|
|
fetchPost(API.voteListTeacher, {
|
|
|
teacherId: this.props.userInfo.user.userFunId,
|
|
|
- voteType: '1',
|
|
|
+ voteType: 1,
|
|
|
pageIndex: mReceiveIndex,
|
|
|
pageSize: mPageSize
|
|
|
}).then(response => {
|
|
|
+ console.log('loadReceiveList',response)
|
|
|
if (response && response.data && response.data.notify.length > 0) {
|
|
|
response.data.notify.forEach((item, index) => {
|
|
|
let voteBean = {}
|