Commit 500fe819 by Zllgogo

no message

parent e6628d8f
......@@ -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
......
......@@ -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']
}
}
......
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