态势感知平台-开源生态与贡献价值全景基础设施覆盖率组件抽离

This commit is contained in:
d266377
2026-01-27 17:50:35 +08:00
parent f36602bab3
commit fa07a197f0
3 changed files with 332 additions and 175 deletions

View File

@@ -94,8 +94,6 @@ const excellentProjects = ref([
{ name: 'NextDenovo', desc: '高效且精确的长读长纠错与组装工具', org: '武汉希望组生物科技有限公司' }
]);
// 2. 2025武汉市优秀开源软件项目
const excellentProjects2025 = ref([
{ name: '调问DWSurvey', desc: '问卷表单', org: '极推科技(武汉)有限公司' },
@@ -170,10 +168,8 @@ const chartData = ref({
]
},
});
// 空数据标识
const isEmpty = ref({
university: false,
@@ -193,10 +189,6 @@ const chartInstances = ref<{ [key: string]: echarts.ECharts | null }>({
cweAttackSurfaceRadar: null
});
// ===================== 新增结束 =====================
// 初始化高校参与分布饼图
@@ -404,12 +396,6 @@ const initDeveloperChart = () => {
});
};
// 初始化武汉市语言与技术竞争趋势(折线图)
const initLanguageTechChart = () => {
const el = document.getElementById('languageTechChart');
@@ -480,8 +466,6 @@ const initCharts = () => {
ossCompass: chartData.value.ossCompass.data.every(item => item === 0),
developer: chartData.value.developer.data.every(item => item === 0),
languageTech: chartData.value.languageTech.series.every(s => s.data.every(d => d === 0)),
};
// 初始化各图表
@@ -490,7 +474,6 @@ const initCharts = () => {
if (!isEmpty.value.ossCompass) nextTick(() => initOssCompassChart());
if (!isEmpty.value.developer) nextTick(() => initDeveloperChart());
if (!isEmpty.value.languageTech) nextTick(() => initLanguageTechChart());
};
// 页面resize时重绘图表