Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yuyixcx
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
yuyixcx
Commits
4b6797a8
Commit
4b6797a8
authored
Jan 06, 2025
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
b328c2eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2643 additions
and
4 deletions
+2643
-4
package-lock.json
package-lock.json
+2632
-2
enterpriseInfo.ts
src/biz/enterpriseInfo.ts
+11
-2
No files found.
package-lock.json
View file @
4b6797a8
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/biz/enterpriseInfo.ts
View file @
4b6797a8
...
@@ -83,11 +83,20 @@ export async function homePage(eId:string) {
...
@@ -83,11 +83,20 @@ export async function homePage(eId:string) {
}
}
canBaoInfo
.
sort
(
(
a
,
b
)
=>
{
return
new
Date
(
b
.
annual
).
valueOf
()
-
new
Date
(
a
.
annual
).
valueOf
()});
canBaoInfo
.
sort
(
(
a
,
b
)
=>
{
return
new
Date
(
b
.
annual
).
valueOf
()
-
new
Date
(
a
.
annual
).
valueOf
()});
let
zhengCeInfo
=
await
selectData
(
OPERATIONALDATATYPE
.
查询单个
,
TABLENAME
.
政策表
,
{
isPermanent
:
1
},
[
"title"
]);
//只返回前五条
let
zhengCeInfo
=
await
selectData
(
OPERATIONALDATATYPE
.
查询多个
,
TABLENAME
.
政策表
,
{
isPermanent
:
1
},
{},
1
,
5
);
let
zhengCeList
=
[];
zhengCeInfo
.
forEach
(
info
=>
{
let
{
poId
,
title
,
source
,
createTimeMs
,
coverImg
}
=
info
;
zhengCeList
.
push
(
{
poId
,
title
,
source
,
createTimeMs
:
moment
(
createTimeMs
).
format
(
"YYYY-MM-DD"
),
coverImg
:
coverImg
?
JSON
.
parse
(
coverImg
)[
0
]
:
''
});
})
let
dataInfo
=
{
let
dataInfo
=
{
name
:
enterpriseInfo
.
enterpriseName
,
name
:
enterpriseInfo
.
enterpriseName
,
chongYeRenYuan
,
chongYeRenYuan
,
zhengCeList
:
[
zhengCeInfo
.
title
]
,
zhengCeList
:
zhengCeList
,
manage
:{
manage
:{
lastYear
:{
BI
:
"未填报"
,
TXP
:
"未填报"
,
RD
:
"未填报"
},
lastYear
:{
BI
:
"未填报"
,
TXP
:
"未填报"
,
RD
:
"未填报"
},
thisYear
:{
BI
:
"未填报"
,
TXP
:
"未填报"
,
RD
:
"未填报"
}
thisYear
:{
BI
:
"未填报"
,
TXP
:
"未填报"
,
RD
:
"未填报"
}
...
...
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