|
|
@@ -99,6 +99,7 @@ Page({ |
|
|
|
listDetail.createdOn = listDetail.createdOn.replaceAll('/', '-'); |
|
|
|
if (typeof listDetail.type == 'string') { |
|
|
|
listDetail.type = listDetail.type.split(','); |
|
|
|
// console.log(listDetail.type) |
|
|
|
} |
|
|
|
this.setData({ |
|
|
|
currentData: listDetail, |
|
|
@@ -130,7 +131,7 @@ Page({ |
|
|
|
this.getListData(); |
|
|
|
} |
|
|
|
}).catch(err => { |
|
|
|
console.log(error, 'error appletLogin') |
|
|
|
console.log(err, 'error appletLogin') |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 切换收藏 |
|
|
@@ -176,6 +177,9 @@ Page({ |
|
|
|
// 获取list数据 |
|
|
|
getListData() { |
|
|
|
let { page, size, type, currentData } = this.data; |
|
|
|
if(typeof type == 'object'){ |
|
|
|
type = type.join(','); |
|
|
|
} |
|
|
|
$request.get('/businessCommunicationDemand/getDemandByKeywordOrType.action', |
|
|
|
{ page, size, type, isInterest: 1, demandId: currentData.businessCommunicationDemandId } |
|
|
|
).then(res => { |