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
49d78d9d
Commit
49d78d9d
authored
May 17, 2025
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
434c724f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
out.ts
src/data/db/out.ts
+4
-1
zhyy.ts
src/data/db/zhyy.ts
+2
-0
No files found.
src/data/db/out.ts
View file @
49d78d9d
...
@@ -27,7 +27,10 @@ export async function get在孵企业面积() {
...
@@ -27,7 +27,10 @@ export async function get在孵企业面积() {
let
雨艺孵化器
dbList
=
await
selectData
(
OPERATIONALDATATYPE
.
查询单个
,
TABLENAME
.
羽翼孵化器
,
{},
[]);
let
雨艺孵化器
dbList
=
await
selectData
(
OPERATIONALDATATYPE
.
查询单个
,
TABLENAME
.
羽翼孵化器
,
{},
[]);
let
孵化器总面积
=
parseFloat
(
雨艺孵化器
dbList
.
totalArea
);
let
孵化器总面积
=
parseFloat
(
雨艺孵化器
dbList
.
totalArea
);
let
在孵企业面积占比
=
((
在孵企业面积
/
孵化器总面积
)
*
100
).
toFixed
(
2
)
+
"%"
;
let
zfqymjzb
=
((
在孵企业面积
/
孵化器总面积
)
*
100
)
let
在孵企业面积占比
=
"0%"
if
(
zfqymjzb
>=
100
)
在孵企业面积占比
=
"100%"
else
在孵企业面积占比
=
zfqymjzb
.
toFixed
(
2
)
+
"%"
;
return
{
孵化器总面积
,
在孵企业面积
,
在孵企业面积占比
};
return
{
孵化器总面积
,
在孵企业面积
,
在孵企业面积占比
};
}
}
...
...
src/data/db/zhyy.ts
View file @
49d78d9d
...
@@ -283,6 +283,8 @@ export async function getZhyy() {
...
@@ -283,6 +283,8 @@ export async function getZhyy() {
}
}
let
政策速递详情
=
[];
let
政策速递详情
=
[];
政策速递
dbList
.
forEach
(
info
=>
{
政策速递
dbList
.
forEach
(
info
=>
{
// if (info.isPermanent == 1 || info.closeTimeMs > getMySqlMs()) { //判断在有效期内的
// }
let
policyType
=
changeEnumValue
(
POLICYTYPE
,
info
.
policyType
);
let
policyType
=
changeEnumValue
(
POLICYTYPE
,
info
.
policyType
);
政策类型次数
[
policyType
]
+=
1
;
政策类型次数
[
policyType
]
+=
1
;
政策速递详情
.
push
(
info
.
title
);
政策速递详情
.
push
(
info
.
title
);
...
...
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