Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wenHuaBu_adminServer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node_server
wenHuaBu_adminServer
Commits
0efbefa7
Commit
0efbefa7
authored
Mar 31, 2024
by
lixinming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
d0caa2a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
21 deletions
+24
-21
officialWebsite.ts
src/biz/officialWebsite.ts
+8
-4
enum.ts
src/config/enum.ts
+16
-17
No files found.
src/biz/officialWebsite.ts
View file @
0efbefa7
...
@@ -258,10 +258,14 @@ export async function pinPaiXiangMuBanner() {
...
@@ -258,10 +258,14 @@ export async function pinPaiXiangMuBanner() {
/**banner */
/**banner */
let
localBanners
=
[
BANNERPOSITION
.
品牌项目
_hghbanner01
,
BANNERPOSITION
.
品牌项目
_hghbanner02
,
BANNERPOSITION
.
品牌项目
_hghbanner03
];
let
localBanners
=
[
BANNERPOSITION
.
品牌项目
_hghbanner01
,
BANNERPOSITION
.
品牌项目
_hghbanner02
,
BANNERPOSITION
.
品牌项目
_hghbanner03
];
let
bannerData
=
await
find
(
TABLEENUM
.
banner
管理
,
{
location
:{
"$in"
:
localBanners
},
display
:
STATE
.
是
}
);
let
bannerData
=
await
find
(
TABLEENUM
.
banner
管理
,
{
location
:{
"$in"
:
localBanners
},
display
:
STATE
.
是
}
);
bannerData
.
forEach
(
info
=>
{
let
{
imgUrl
,
articleTitle
,
desc
,
articleUrl
}
=
info
;
for
(
let
i
=
0
;
i
<
bannerData
.
length
;
i
++
)
{
result
.
bannerList
.
push
({
imgUrl
,
title
:
articleTitle
,
desc
,
articleUrl
});
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
;
return
result
;
}
}
...
...
src/config/enum.ts
View file @
0efbefa7
...
@@ -252,26 +252,25 @@ export enum NATION {
...
@@ -252,26 +252,25 @@ export enum NATION {
* 参加会议成员 participant
* 参加会议成员 participant
*/
*/
export
enum
CODPARTICIPANT
{
export
enum
CODPARTICIPANT
{
会议成员
1
=
1
,
所有人
=
1
,
会议成员
2
,
单位会员
,
会议成员
3
,
个人会员
,
会议成员
4
,
个人理事
,
会议成员
5
,
个人常务理事
,
会议成员
6
,
专家会员
,
会议成员
7
,
单位理事
,
会议成员
8
,
单位常务理事
会议成员
9
}
}
/**
/
/ /
**
* 委员名单
//
* 委员名单
*/
//
*/
export
enum
COMMITTEEMEMBER
{
//
export enum COMMITTEEMEMBER {
委员
1
=
1
,
//
委员1 = 1,
委员
2
,
//
委员2,
委员
3
//
委员3
}
//
}
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment