【bug】参会人列表与查询修改
This commit is contained in:
@@ -10,9 +10,9 @@ const signUpApi = {
|
||||
//添加参会单位无权限接口
|
||||
addCompanyNoLimit:(params) => http.post(`${URL_CONFIG}company/payCompanyManagement/addMeeting`, params),
|
||||
// 选择联系人接口
|
||||
personList:(params) => http.get(`${URL_CONFIG}company/payContactsManagement/queryByCompany`, params),
|
||||
personList:(params) => http.get(`${URL_CONFIG}company/payContactsManagement/queryWXByCompany`, params),
|
||||
// 选择联系人的接口无权限
|
||||
personListNolimit:(params) => http.get(`${URL_CONFIG}/company/payContactsManagement/queryByCompanyMeeting`, params),
|
||||
personListNolimit:(params) => http.get(`${URL_CONFIG}/company/payContactsManagement/queryWXByCompany`, params),
|
||||
// 添加联系人接口
|
||||
addPerson: (params) => http.post(`${URL_CONFIG}company/payContactsManagement/add`, params),
|
||||
// 添加联系人接口无权限
|
||||
@@ -25,4 +25,4 @@ const signUpApi = {
|
||||
validateStandard:(params) => http.get('/meeting/internalMeetingSituation/checkMember',params)
|
||||
}
|
||||
|
||||
export default signUpApi
|
||||
export default signUpApi
|
||||
|
||||
@@ -10,8 +10,8 @@ Page({
|
||||
queryParam: {
|
||||
companyId: '',
|
||||
pageNo: 1,
|
||||
pageSize: 10,
|
||||
name: '',
|
||||
pageSize: 20,
|
||||
name:'',
|
||||
column:'createTime',
|
||||
order:'desc'
|
||||
},
|
||||
@@ -107,9 +107,9 @@ Page({
|
||||
dataSource: []
|
||||
})
|
||||
}
|
||||
if(res.result && res.result.length){
|
||||
if(res.result.records && res.result.records.length){
|
||||
this.setData({
|
||||
dataSource: [...this.data.dataSource, ...res.result]
|
||||
dataSource: [...this.data.dataSource, ...res.result.records]
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -129,9 +129,10 @@ Page({
|
||||
dataSource: []
|
||||
})
|
||||
}
|
||||
if(res.result && res.result.length){
|
||||
if(res.result.records && res.result.records.length){
|
||||
this.setData({
|
||||
dataSource: [...this.data.dataSource, ...res.result]
|
||||
dataSource: [...this.data.dataSource, ...res.result.records
|
||||
]
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -211,7 +212,7 @@ Page({
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom: function () {
|
||||
this.data.searchParams.pageNo++
|
||||
this.data.queryParam.pageNo++
|
||||
this.loadData()
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user