【bug】 分标委详情显示最近两个已报名与可报名的会议
This commit is contained in:
@@ -44,7 +44,8 @@ Page({
|
|||||||
icon: 'loading'
|
icon: 'loading'
|
||||||
})
|
})
|
||||||
this.data.id = options.id
|
this.data.id = options.id
|
||||||
MeetingApi.meetingList({caseCommitteeId: this.data.id, meetingSignUpType: 2, column: 'createTime', order: 'desc'}).then(res=>{
|
// meetingSignUpType: 2,
|
||||||
|
MeetingApi.meetingList({caseCommitteeId: this.data.id, column: 'createTime', order: 'desc'}).then(res=>{
|
||||||
if(res.success){
|
if(res.success){
|
||||||
if(res.result.records && res.result.records.length <= 2){
|
if(res.result.records && res.result.records.length <= 2){
|
||||||
this.setData({
|
this.setData({
|
||||||
|
|||||||
@@ -46,7 +46,8 @@ Page({
|
|||||||
icon: 'loading'
|
icon: 'loading'
|
||||||
})
|
})
|
||||||
this.data.id = options.id
|
this.data.id = options.id
|
||||||
MeetingApi.meetingList({councilId: this.data.id, meetingSignUpType: 2, column: 'createTime', order: 'desc'}).then(res=>{
|
// meetingSignUpType: 2, 可报名的 会议 或者已报名的会议
|
||||||
|
MeetingApi.meetingList({councilId: this.data.id, column: 'createTime', order: 'desc'}).then(res=>{
|
||||||
if(res.success){
|
if(res.success){
|
||||||
if(res.result.records && res.result.records.length <= 2){
|
if(res.result.records && res.result.records.length <= 2){
|
||||||
this.setData({
|
this.setData({
|
||||||
|
|||||||
Reference in New Issue
Block a user