暂存
This commit is contained in:
parent
ec13daa698
commit
6b6e66327c
@ -480,11 +480,7 @@ const updateFundingChart = () => {
|
|||||||
|
|
||||||
fundingChart.setOption({
|
fundingChart.setOption({
|
||||||
legend: {
|
legend: {
|
||||||
selected: {
|
selected: {}
|
||||||
'博士': fundingLegendStatus.value[0],
|
|
||||||
'硕士': fundingLegendStatus.value[1],
|
|
||||||
'学士': fundingLegendStatus.value[2]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -496,11 +492,7 @@ const updateOutputChart = () => {
|
|||||||
|
|
||||||
outputChart.setOption({
|
outputChart.setOption({
|
||||||
legend: {
|
legend: {
|
||||||
selected: {
|
selected: {}
|
||||||
'博士': outputLegendStatus.value[0],
|
|
||||||
'硕士': outputLegendStatus.value[1],
|
|
||||||
'学士': outputLegendStatus.value[1]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -754,9 +746,9 @@ const fetchPaperData = async () => {
|
|||||||
// 更新学术产出数据
|
// 更新学术产出数据
|
||||||
outputData.value = {
|
outputData.value = {
|
||||||
months: monthNames,
|
months: monthNames,
|
||||||
doctor: data.data.time.map(item => item[0]).reverse(), // 添加reverse()
|
doctor: data.data.time.map(item => item[2]).reverse(), // 添加reverse()
|
||||||
master: data.data.time.map(item => item[1]).reverse(), // 添加reverse()
|
master: data.data.time.map(item => item[1]).reverse(), // 添加reverse()
|
||||||
bachelor: data.data.time.map(item => item[2]).reverse() // 添加reverse()
|
bachelor: data.data.time.map(item => item[0]).reverse() // 添加reverse()
|
||||||
};
|
};
|
||||||
updateOutputChart();
|
updateOutputChart();
|
||||||
|
|
||||||
@ -1091,9 +1083,9 @@ const initCharts = () => {
|
|||||||
data: ['博士', '硕士', '学士'],
|
data: ['博士', '硕士', '学士'],
|
||||||
textStyle: { color: '#fff' },
|
textStyle: { color: '#fff' },
|
||||||
selected: {
|
selected: {
|
||||||
'博士': outputLegendStatus.value[0],
|
'博士': outputLegendStatus.value[2],
|
||||||
'硕士': outputLegendStatus.value[1],
|
'硕士': outputLegendStatus.value[1],
|
||||||
'学士': outputLegendStatus.value[1],
|
'学士': outputLegendStatus.value[0],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
grid: { left: '3%', right: '12%', bottom: '3%', containLabel: true },
|
grid: { left: '3%', right: '12%', bottom: '3%', containLabel: true },
|
||||||
@ -1212,9 +1204,9 @@ const initCharts = () => {
|
|||||||
textStyle: { color: '#fff' },
|
textStyle: { color: '#fff' },
|
||||||
data: ['博士', '硕士', '学士'],
|
data: ['博士', '硕士', '学士'],
|
||||||
selected: {
|
selected: {
|
||||||
'博士': fundingLegendStatus.value[0],
|
'博士': fundingLegendStatus.value[2],
|
||||||
'硕士': fundingLegendStatus.value[1],
|
'硕士': fundingLegendStatus.value[1],
|
||||||
'学士': fundingLegendStatus.value[2]
|
'学士': fundingLegendStatus.value[0]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
series: [
|
series: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user