Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cxsfjx_project_echarts
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
邓文彬
cxsfjx_project_echarts
Commits
58bf8b02
提交
58bf8b02
authored
11月 16, 2021
作者:
Your Name
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(创新示范): 导航栏增加年度切换
上级
f71b7a56
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
8 行增加
和
117 行删除
+8
-117
index.vue
src/views/dataCenter/army/model/StrongArmy/index.vue
+3
-36
index.vue
src/views/dataCenter/industrial/model/TargetBar/index.vue
+4
-46
index.vue
src/views/dataCenter/innovation/model/Outline/index.vue
+1
-35
没有找到文件。
src/views/dataCenter/army/model/StrongArmy/index.vue
浏览文件 @
58bf8b02
...
@@ -3,19 +3,7 @@
...
@@ -3,19 +3,7 @@
<div
class=
"echarts-search"
>
<div
class=
"echarts-search"
>
<div
class=
"title"
>
各市服务强军兴军创新指标情况
</div>
<div
class=
"title"
>
各市服务强军兴军创新指标情况
</div>
<el-row
class=
""
justify=
"space-between"
>
<div
class=
"years"
align=
"middle"
>
<span
v-for=
"(item, index) in years"
:key=
"item"
:class=
"
{
active: index === curYearIndex,
}"
@click="yearHandle(index)"
>
{{
item
}}
年
</span
>
</div>
</el-row>
</div>
</div>
<div
id=
"TargetBar"
class=
"target-bar"
></div>
<div
id=
"TargetBar"
class=
"target-bar"
></div>
...
@@ -56,8 +44,6 @@ export default defineComponent({
...
@@ -56,8 +44,6 @@ export default defineComponent({
{
label
:
"规模以上企业收入及增长率"
,
value
:
3
},
{
label
:
"规模以上企业收入及增长率"
,
value
:
3
},
{
label
:
"国防科工产值"
,
value
:
4
},
{
label
:
"国防科工产值"
,
value
:
4
},
],
],
years
:
[
2019
,
2020
,
"2021上半"
],
curYearIndex
:
2
,
mapEcharts
:
null
,
mapEcharts
:
null
,
};
};
},
},
...
@@ -116,9 +102,7 @@ export default defineComponent({
...
@@ -116,9 +102,7 @@ export default defineComponent({
mapEcharts
.
setOption
(
this
.
optionBar
);
mapEcharts
.
setOption
(
this
.
optionBar
);
this
.
mapEcharts
=
mapEcharts
;
this
.
mapEcharts
=
mapEcharts
;
},
},
yearHandle
(
index
:
number
)
{
this
.
curYearIndex
=
index
;
},
},
},
unmounted
()
{
unmounted
()
{
if
(
!
this
.
mapEcharts
)
{
if
(
!
this
.
mapEcharts
)
{
...
@@ -147,24 +131,7 @@ export default defineComponent({
...
@@ -147,24 +131,7 @@ export default defineComponent({
margin
:
12px
0
;
margin
:
12px
0
;
font-size
:
14px
;
font-size
:
14px
;
}
}
.years
{
display
:
flex
;
align-items
:
center
;
background
:
#f4f6f9
;
border-radius
:
5px
;
overflow
:
hidden
;
span
{
padding
:
0
12px
;
height
:
32px
;
line-height
:
32px
;
font-size
:
12px
;
color
:
#333
;
}
.active
{
background-color
:
#4198ff
;
color
:
#fff
;
}
}
}
}
.target-bar
{
.target-bar
{
...
...
src/views/dataCenter/industrial/model/TargetBar/index.vue
浏览文件 @
58bf8b02
...
@@ -3,29 +3,7 @@
...
@@ -3,29 +3,7 @@
<div
class=
"echarts-search"
>
<div
class=
"echarts-search"
>
<div
class=
"title"
>
各市产业融合创新指标情况
</div>
<div
class=
"title"
>
各市产业融合创新指标情况
</div>
<el-row
class=
""
justify=
"space-between"
>
<div
class=
"years"
align=
"middle"
>
<span
v-for=
"(item, index) in years"
:key=
"item"
:class=
"
{
active: index === curYearIndex,
}"
@click="yearHandle(index)"
>
{{
item
}}
年
</span
>
</div>
<!--
<el-select
v-model=
"value"
size=
"small"
placeholder=
"请选择"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
-->
</el-row>
</div>
</div>
<div
id=
"TargetBar"
class=
"target-bar"
></div>
<div
id=
"TargetBar"
class=
"target-bar"
></div>
...
@@ -66,8 +44,7 @@ export default defineComponent({
...
@@ -66,8 +44,7 @@ export default defineComponent({
{
label
:
"规模以上企业收入及增长率"
,
value
:
3
},
{
label
:
"规模以上企业收入及增长率"
,
value
:
3
},
{
label
:
"国防科工产值"
,
value
:
4
},
{
label
:
"国防科工产值"
,
value
:
4
},
],
],
years
:
[
2019
,
2020
,
"2021上半"
],
curYearIndex
:
2
,
mapEcharts
:
null
,
mapEcharts
:
null
,
};
};
},
},
...
@@ -129,9 +106,7 @@ export default defineComponent({
...
@@ -129,9 +106,7 @@ export default defineComponent({
mapEcharts
.
setOption
(
this
.
optionBar
);
mapEcharts
.
setOption
(
this
.
optionBar
);
this
.
mapEcharts
=
mapEcharts
;
this
.
mapEcharts
=
mapEcharts
;
},
},
yearHandle
(
index
:
number
)
{
this
.
curYearIndex
=
index
;
},
},
},
unmounted
()
{
unmounted
()
{
if
(
!
this
.
mapEcharts
)
{
if
(
!
this
.
mapEcharts
)
{
...
@@ -160,24 +135,7 @@ export default defineComponent({
...
@@ -160,24 +135,7 @@ export default defineComponent({
margin
:
10px
0
;
margin
:
10px
0
;
font-size
:
14px
;
font-size
:
14px
;
}
}
.years
{
display
:
flex
;
align-items
:
center
;
background
:
#f4f6f9
;
border-radius
:
5px
;
overflow
:
hidden
;
span
{
padding
:
0
12px
;
height
:
32px
;
line-height
:
32px
;
font-size
:
12px
;
color
:
#333
;
}
.active
{
background-color
:
#4198ff
;
color
:
#fff
;
}
}
}
}
.target-bar
{
.target-bar
{
...
...
src/views/dataCenter/innovation/model/Outline/index.vue
浏览文件 @
58bf8b02
...
@@ -3,19 +3,6 @@
...
@@ -3,19 +3,6 @@
<MapTitle
text=
"军民协同创新总览"
/>
<MapTitle
text=
"军民协同创新总览"
/>
<div
class=
"describes"
>
<div
class=
"describes"
>
<div
class=
"text"
>
各市军民协同创新指标情况
</div>
<div
class=
"text"
>
各市军民协同创新指标情况
</div>
<el-row
class=
""
justify=
"space-between"
>
<div
class=
"years"
align=
"middle"
>
<span
v-for=
"(item, index) in years"
:key=
"item"
:class=
"
{
active: index === curYearIndex,
}"
@click="yearHandle(index)"
>
{{
item
}}
年
</span
>
</div>
</el-row>
</div>
</div>
<div
id=
"synergyInnovation"
class=
"line"
></div>
<div
id=
"synergyInnovation"
class=
"line"
></div>
...
@@ -52,8 +39,6 @@ export default defineComponent({
...
@@ -52,8 +39,6 @@ export default defineComponent({
setup
()
{},
setup
()
{},
data
()
{
data
()
{
return
{
return
{
years
:
[
2019
,
2020
,
"2021上半"
],
curYearIndex
:
2
,
mapEcharts
:
null
,
mapEcharts
:
null
,
};
};
},
},
...
@@ -146,26 +131,7 @@ export default defineComponent({
...
@@ -146,26 +131,7 @@ export default defineComponent({
.describes
{
.describes
{
margin
:
0
10px
5px
0
;
margin
:
0
10px
5px
0
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
.years
{
margin-bottom
:
15px
;
display
:
flex
;
align-items
:
center
;
overflow
:
hidden
;
span
{
margin-right
:
10px
;
padding
:
0
12px
;
height
:
32px
;
line-height
:
32px
;
font-size
:
12px
;
color
:
#333
;
background
:
#f4f6f9
;
border-radius
:
5px
;
}
.active
{
background-color
:
#4198ff
;
color
:
#fff
;
}
}
.text
{
.text
{
color
:
#4198ff
;
color
:
#4198ff
;
margin
:
10px
0
;
margin
:
10px
0
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论