Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yuyiViewServer
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
yuyiViewServer
Commits
500fe819
Commit
500fe819
authored
Apr 15, 2025
by
Zllgogo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
e6628d8f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
qyszhx.ts
src/data/db/qyszhx.ts
+2
-3
zhyy.ts
src/data/db/zhyy.ts
+11
-10
No files found.
src/data/db/qyszhx.ts
View file @
500fe819
...
...
@@ -524,7 +524,7 @@ function get租房补贴(企业资质信息, 企业专利信息, 参保记录信
// 检查社保状态
let
shebaoCompleted
=
false
;
参保记录信息
.
forEach
(
info
=>
{
参保记录信息
[
0
].
enterprise_canbaos
.
forEach
(
info
=>
{
if
(
info
.
zhuanKe
||
info
.
benKe
||
info
.
shuoshi
||
info
.
boShi
||
info
.
boshiyishang
)
{
shebaoCompleted
=
true
;
}
...
...
@@ -813,7 +813,6 @@ async function get企业员工画像(data) {
}
})
}
})
}
}
...
...
@@ -946,7 +945,7 @@ function get服务需求(data) {
})
let
fwxq
=
{
融资金额
:
newestFinancing
.
financingAmount
,
融资金额
:
`
${
newestFinancing
.
financingAmount
}
万元`
,
融资轮次
:
changeEnumValue
(
FINANCINGROUNDS
,
newestFinancing
.
financingRounds
),
融资时间
:
"-"
,
投资机构
:
newestFinancing
.
investmentInstitutionsName
...
...
src/data/db/zhyy.ts
View file @
500fe819
...
...
@@ -91,11 +91,7 @@ export async function getZhyy() {
// 企业服务:{dataList:[], titleList:['key', 'value']},
// 企业服务类型:{dataList:[], titleList:['key', 'value']},
// };
/**
* 企业服务todo——2024年,切换
*/
let
year
=
2025
;
// 默认显示2024年的数据,可以通过参数传递来动态改变
let
serviceData
=
await
getServiceDataByYear
(
year
);
let
fhColumn
=
[
"industry"
,
"eId"
];
//获取所有企业孵化信息
...
...
@@ -331,7 +327,7 @@ export async function getZhyy() {
}
/**
* 企业服务todo
——2024年,切换
* 企业服务todo
*/
let
fuWuCount
=
0
;
//服务数
let
fuWuQiYeCountMap
=
{};
//服务覆盖企业
...
...
@@ -355,6 +351,9 @@ export async function getZhyy() {
}
});
let
fuWuQiYeCount
=
Object
.
keys
(
fuWuQiYeCountMap
).
length
;
//服务覆盖企业
// 计算服务覆盖企业占比
let
fuWuQiYeCountPercentage
=
fuWuCount
>
0
?
((
fuWuQiYeCount
/
fuWuCount
)
*
100
).
toFixed
(
2
)
:
0
;
let
fuWuQiYeTypeList
=
[];
...
...
@@ -483,7 +482,8 @@ export async function getZhyy() {
];
let
企业服务
=
[
{
key
:
"服务数"
,
value
:
fuWuCount
},
{
key
:
"服务覆盖企业"
,
value
:
fuWuQiYeCount
},
// { key: "服务覆盖企业", value: fuWuQiYeCount },
{
key
:
"服务覆盖企业"
,
value
:
`
${
fuWuQiYeCountPercentage
}
%`
},
];
...
...
@@ -632,13 +632,14 @@ export async function getZhyy() {
在孵企业营收占比
:
{
dataList
:
在孵企业营收占比
,
title
:
[
"key"
,
"value"
]
},
企业服务
:
{
dataList
:
[
{
key
:
"服务数"
,
value
:
serviceData
.
fuWuCount
},
{
key
:
"服务覆盖企业"
,
value
:
serviceData
.
fuWuQiYeCount
}
{
key
:
"服务数"
,
value
:
fuWuCount
},
// { key: "服务覆盖企业", value:fuWuQiYeCount }
{
key
:
"服务覆盖企业"
,
value
:
`
${
fuWuQiYeCountPercentage
}
%`
}
],
titleList
:
[
'key'
,
'value'
]
},
企业服务类型
:
{
dataList
:
serviceData
.
fuWuQiYeTypeList
,
dataList
:
fuWuQiYeTypeList
,
titleList
:
[
'key'
,
'value'
]
}
}
...
...
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