Commit 0efbefa7 by lixinming

no message

parent d0caa2a1
......@@ -258,10 +258,14 @@ export async function pinPaiXiangMuBanner() {
/**banner */
let localBanners = [BANNERPOSITION.品牌项目_hghbanner01, BANNERPOSITION.品牌项目_hghbanner02, BANNERPOSITION.品牌项目_hghbanner03];
let bannerData = await find(TABLEENUM.banner管理, {location:{"$in":localBanners}, display:STATE.} );
bannerData.forEach(info => {
let {imgUrl, articleTitle, desc, articleUrl} = info;
result.bannerList.push({imgUrl, title:articleTitle, desc, articleUrl});
});
for (let i= 0; i <bannerData.length; i++ ) {
let {imgUrl, articleTitle, desc, articleUrl} = bannerData[i];
let articleInfo = await findOnce(TABLEENUM.文章管理, {id:articleTitle}, ["id", "title"]);
let articleTitleStr = articleInfo && articleInfo.id ? articleInfo.title : '';
result.bannerList.push({imgUrl, title:articleTitleStr, desc, articleUrl});
}
return result;
}
......
......@@ -252,26 +252,25 @@ export enum NATION {
* 参加会议成员 participant
*/
export enum CODPARTICIPANT {
会议成员1 = 1,
会议成员2,
会议成员3,
会议成员4,
会议成员5,
会议成员6,
会议成员7,
会议成员8,
会议成员9
所有人 = 1,
单位会员,
个人会员,
个人理事,
个人常务理事,
专家会员,
单位理事,
单位常务理事
}
/**
* 委员名单
*/
export enum COMMITTEEMEMBER {
委员1 = 1,
委员2,
委员3
}
// /**
// * 委员名单
// */
// export enum COMMITTEEMEMBER {
// 委员1 = 1,
// 委员2,
// 委员3
// }
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment