Commit 49d78d9d by chenjinjing

no message

parent 434c724f
......@@ -27,7 +27,10 @@ export async function get在孵企业面积() {
let 雨艺孵化器dbList = await selectData(OPERATIONALDATATYPE.查询单个, TABLENAME.羽翼孵化器, {}, []);
let 孵化器总面积 = parseFloat(雨艺孵化器dbList.totalArea);
let 在孵企业面积占比 = ((在孵企业面积 / 孵化器总面积) * 100).toFixed(2) + "%";
let zfqymjzb = ((在孵企业面积 / 孵化器总面积) * 100)
let 在孵企业面积占比 = "0%"
if (zfqymjzb >= 100) 在孵企业面积占比 = "100%"
else 在孵企业面积占比 = zfqymjzb.toFixed(2) + "%";
return {孵化器总面积, 在孵企业面积, 在孵企业面积占比};
}
......
......@@ -283,6 +283,8 @@ export async function getZhyy() {
}
let 政策速递详情 = [];
政策速递dbList.forEach( info => {
// if (info.isPermanent == 1 || info.closeTimeMs > getMySqlMs()) { //判断在有效期内的
// }
let policyType = changeEnumValue(POLICYTYPE, info.policyType);
政策类型次数[policyType] += 1;
政策速递详情.push(info.title);
......
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