提交 6cc6e692 authored 作者: Your Name's avatar Your Name

fix(创新示范): 2021年第三季度数据更正

上级 19dc00e5
......@@ -76,13 +76,15 @@
<!-- 年度 -->
<el-col class="year-items">
<div class="years" align="middle">
<div class="years" align="middle" >
<span
v-for="(item, index) in years"
:key="item.label"
:class="{
active: index === curYearIndex,
disabed: index === 0
}"
@click="yearHandle(item.value, index)"
>{{ item.label }}</span
>
......@@ -163,6 +165,8 @@ export default defineComponent({
},
methods: {
yearHandle(value: String, index: number) {
if(index === 0) return;
this.$store.commit("SET_CUR_DATA_TYPE", value);
this.curYearIndex = index;
},
......@@ -330,5 +334,10 @@ export default defineComponent({
color: #4198ff;
}
}
.disabed{
// background:#f5f5f5 !important;
cursor: not-allowed !important;
color: #ccc !important;
}
}
</style>
......@@ -7,10 +7,11 @@ export default {
}]
},
"typeTwo": {
count: 0,
count: 155,
cityData: [{
value: [],
value: [75, 37, 4, 17, 8, 10, 1, 1, 0, 0, 2],
}]
},
"typeThree": {
......
......@@ -65,7 +65,7 @@ export default defineComponent({
watch: {
seriesData() {
this.enterprises.showLoading();
this.enterprises.setOption(this.optionCity);
this.enterprises.setOption(this.optionCity, true);
this.enterprises.hideLoading();
},
},
......
......@@ -35,32 +35,32 @@ export default {
"typeTwo": {
cardItems: [{
label: "联合科研攻关投入金额",
value: 0
value: 136.85
},
{
label: "联合科研攻关投入金额增长率",
value: 0,
value: "74%",
},
],
seriesData: [{
label: "数字军工(网络、人工智能)",
value: 0
value: 100.51
},
{
label: "海洋",
value: 0
value: 6.46
},
{
label: "太空",
value: 0
value: 9.65
},
{
label: "生物",
value: 0
value: 6.23
},
{
label: "核电",
value: 0
value: 13.6
},
]
},
......@@ -72,7 +72,7 @@ export default {
},
{
label: "联合科研攻关投入金额增长率",
value: 0,
value: "10%",
},
],
seriesData: [{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论