Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cxsfjx_project_echarts
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
邓文彬
cxsfjx_project_echarts
Commits
0482053e
提交
0482053e
authored
11月 17, 2021
作者:
Your Name
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(五大建设体系): 图表优化
上级
240078dd
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
99 行增加
和
82 行删除
+99
-82
head.vue
src/layout/head.vue
+2
-2
index.vue
src/views/dataCenter/ConctructSystem/index.vue
+10
-20
index.vue
...iews/dataCenter/ConctructSystem/model/Munitions/index.vue
+1
-0
index.vue
...views/dataCenter/ConctructSystem/model/Platform/index.vue
+2
-2
index.vue
...nter/ConctructSystem/model/ScientificInvestment/index.vue
+60
-37
index.vue
src/views/dataCenter/army/model/StrongArmy/index.vue
+2
-2
index.vue
src/views/dataCenter/innovation/model/Munitions/index.vue
+1
-1
index.vue
src/views/dataCenter/innovation/model/Outline/index.vue
+1
-1
index.vue
src/views/dataCenter/innovation/model/Platform/index.vue
+5
-13
index.vue
...ataCenter/innovation/model/ScientificInvestment/index.vue
+3
-4
mock.js
src/views/dataCenter/map/model/Performance/mock.js
+12
-0
没有找到文件。
src/layout/head.vue
浏览文件 @
0482053e
...
...
@@ -106,7 +106,7 @@ export default defineComponent({
activeIndex
:
0
,
secondIndex
:
0
,
curRouteHistoy
:
[],
years
:
[
2019
,
2020
,
"2021上半
"
],
years
:
[
"2020年第四季度"
,
"2021年第二季度"
,
"2021上半年
"
],
curYearIndex
:
2
,
};
},
...
...
@@ -294,7 +294,7 @@ export default defineComponent({
display
:
flex
;
align-items
:
center
;
padding
:
0
12px
;
font-size
:
1
2
px
;
font-size
:
1
4
px
;
height
:
inherit
;
color
:
#949494
;
justify-content
:
center
;
...
...
src/views/dataCenter/ConctructSystem/index.vue
浏览文件 @
0482053e
...
...
@@ -30,15 +30,19 @@
<el-col
:span=
"12"
>
<div
class=
"card-item"
>
<MapTitle
text=
"工作运行与政策制度体系"
/>
<div
class=
"card-item-xbox"
v-for=
"(citys,idx) in city"
:key=
"idx"
>
<div
class=
"xbox-tit"
>
{{
citys
.
tit
}}
</div>
<div
class=
"card-item-xbox"
v-for=
"(citys,
idx) in city"
:key=
"idx"
>
<div
class=
"xbox-tit"
>
{{
citys
.
tit
}}
</div>
<div
class=
"xbox-content user_line"
>
<div
class=
"Progress"
>
<p>
{{
citys
.
municipal
}}
</p>
<el-progress
type=
"circle"
:percentage=
"citys.municipalnum"
:width=
"iswidth"
></el-progress>
<p>
{{
citys
.
municipal
}}
</p>
<el-progress
type=
"circle"
:percentage=
"citys.municipalnum"
:width=
"iswidth"
></el-progress>
</div>
<div
class=
"Progress"
>
<p>
{{
citys
.
county
}}
</p>
<p>
{{
citys
.
county
}}
</p>
<el-progress
type=
"circle"
:percentage=
"citys.countynum"
...
...
@@ -48,20 +52,6 @@
</div>
</div>
</div>
<!--
<div
class=
"Coverage"
>
<div
class=
"Coverage_left user_line"
>
<div
class=
"Coverage_text"
>
{{
citys
.
tit
}}
</div>
<div
class=
"Progress"
>
<el-progress
type=
"circle"
:percentage=
"citys.num"
:width=
"iswidth"
></el-progress>
</div>
</div>
</div>
-->
<!--
<Industrial
echartsId=
"technologyInfo"
echartsTitle=
"工作运行与政策制度体系"
:cardItems=
"industryCardItems"
/>
-->
</div>
</el-col>
</el-row>
...
...
@@ -154,7 +144,7 @@ export default defineComponent({
}
}
.xbox-content
{
width
:
546px
;
//
width: 546px;
height
:
150px
;
// padding: 0px 60px;
box-sizing
:
border-box
;
...
...
src/views/dataCenter/ConctructSystem/model/Munitions/index.vue
浏览文件 @
0482053e
...
...
@@ -220,6 +220,7 @@ export default defineComponent({
margin-top
:
10px
;
}
.frequency
{
font-size
:
20px
;
color
:
rgba
(
65
,
152
,
255
,
1
);
font-weight
:
500
;
}
...
...
src/views/dataCenter/ConctructSystem/model/Platform/index.vue
浏览文件 @
0482053e
<
template
>
<div
class=
"synergy-innovation-platform"
>
<MapTitle
text=
"融办主任
(市县领导兼)
主持召开主任会议情况"
/>
<MapTitle
text=
"融办主任主持召开主任会议情况"
/>
<div
class=
"echarts-search"
>
<div
class=
"card-items"
>
<div
class=
"item"
>
<span>
今年以来融办主任
(市县领导兼)
主持召开主任会议次数
</span>
<span>
今年以来融办主任主持召开主任会议次数
</span>
<div
class=
"value-des"
>
<span>
112
</span>
次
</div>
...
...
src/views/dataCenter/ConctructSystem/model/ScientificInvestment/index.vue
浏览文件 @
0482053e
...
...
@@ -7,24 +7,14 @@
<div
class=
"item"
v-for=
"(item, index) in cardItems"
:key=
"item.text"
>
<span>
{{
item
.
label
}}
</span>
<div
class=
"value-des"
>
<span>
{{
item
.
value
||
"--"
}}
</span
>
人
<!--
{{
index
===
0
?
"人"
:
"%"
}}
-->
<span>
{{
item
.
value
||
"--"
}}
</span
>
人
</div>
</div>
</div>
</div>
<div
id=
"pie"
class=
"target-bar"
></div>
<!--
<el-col
:span=
"11"
>
<div
class=
"list-item"
v-for=
"(item, index) in pieList"
:key=
"item.label"
>
<el-row
align=
"middle"
>
<div
class=
"square"
:style=
"
{ background: pieColor[`level_${index + 1}`] }">
</div>
{{
item
.
label
}}
</el-row>
<div
class=
"pie-value"
>
{{
item
.
value
}}
%
</div>
</div>
</el-col>
-->
</div>
</
template
>
<
script
lang=
"ts"
>
...
...
@@ -76,19 +66,62 @@ export default defineComponent({
const
pieData
=
PIE_LIST
.
map
((
item
,
index
)
=>
{
return
{
value
:
item
.
value
,
name
:
item
.
label
,
itemStyle
:
{
color
:
PieColor
[
`level_
${
index
+
1
}
`
],
},
tooltip
:
{
borderColor
:
"none"
,
className
:
"business-pie-tooltip"
,
formatter
:
`<div class="business-pie-tooltip">
<span class='title'>
${
item
.
label
}
</span>:
<br />
<div class='pie-text'>
<span>
${
item
.
value
}
</span>人
</div>
</div>`
,
label
:
{
show
:
true
,
position
:
"outside"
,
formatter
:
(
params
)
=>
{
const
{
data
}
=
params
;
return
(
"{percent|"
+
params
.
value
+
"}人
\
n{cir"
+
params
.
dataIndex
+
"|●}
\
n{name|"
+
params
.
name
+
"}"
);
},
align
:
"center"
,
padding
:
[
0
,
-
100
,
0
,
-
100
],
rich
:
{
name
:
{
color
:
"rgba(36, 36, 36, 1)"
,
fontSize
:
13
,
align
:
"center"
,
},
percent
:
{
fontFamily
:
"DIN"
,
fontWeight
:
500
,
fontSize
:
22
,
color
:
"#1D91F5"
,
align
:
"center"
,
},
small
:
{
fontSize
:
12
,
color
:
"#999"
},
cir0
:
{
fontSize
:
15
,
opacity
:
1
,
color
:
PieColor
[
`level_
${
index
+
1
}
`
],
padding
:
[
-
5
,
92
,
0
,
92
],
},
cir1
:
{
fontSize
:
15
,
opacity
:
1
,
color
:
PieColor
[
`level_
${
index
+
1
}
`
],
padding
:
[
-
5
,
92
,
0
,
92
],
},
},
},
labelLine
:
{
length
:
27
,
length2
:
50
,
show
:
true
,
color
:
'#00ffff'
},
};
});
...
...
@@ -96,27 +129,17 @@ export default defineComponent({
return
{
tooltip
:
{
trigger
:
"item"
,
show
:
false
,
},
series
:
[
{
name
:
"Access From"
,
type
:
"pie"
,
radius
:
[
"48%"
,
"80%"
],
avoidLabelOverlap
:
false
,
label
:
{
show
:
false
,
position
:
"center"
,
},
emphasis
:
{
label
:
{
show
:
false
,
fontSize
:
"20"
,
formatter
:
"营业额(万元)
\
n
\
n{c}"
,
},
},
labelLine
:
{
show
:
false
,
},
// data: pieData,
data
:
pieData
,
},
],
...
...
src/views/dataCenter/army/model/StrongArmy/index.vue
浏览文件 @
0482053e
...
...
@@ -65,7 +65,7 @@ export default defineComponent({
},
legend
:
{},
grid
:
{
left
:
"-
5
%"
,
left
:
"-
2
%"
,
right
:
"5%"
,
bottom
:
"5%"
,
containLabel
:
true
,
...
...
@@ -136,7 +136,7 @@ export default defineComponent({
.target-bar
{
flex
:
1
;
height
:
calc
(
100%
-
12
0px
);
height
:
calc
(
100%
-
4
0px
);
min-height
:
260px
;
box-sizing
:
border-box
;
margin-top
:
10px
;
...
...
src/views/dataCenter/innovation/model/Munitions/index.vue
浏览文件 @
0482053e
...
...
@@ -119,7 +119,7 @@ export default defineComponent({
legend
:
{},
grid
:
{
top
:
"10%"
,
left
:
"
5
%"
,
left
:
"
1
%"
,
right
:
"2%"
,
bottom
:
"3%"
,
containLabel
:
true
,
...
...
src/views/dataCenter/innovation/model/Outline/index.vue
浏览文件 @
0482053e
...
...
@@ -130,7 +130,7 @@ export default defineComponent({
.synergy-innovation
{
.line
{
flex
:
1
;
height
:
250
px
;
height
:
375
px
;
box-sizing
:
border-box
;
}
.btn
{
...
...
src/views/dataCenter/innovation/model/Platform/index.vue
浏览文件 @
0482053e
...
...
@@ -31,20 +31,12 @@ import MapTitle from "@/components/mapTitle/index.vue";
import
*
as
echarts
from
"echarts"
;
import
{
Aim
}
from
"@element-plus/icons"
;
const
xAxisCity
=
[
"杭州"
,
"宁波"
,
"温州"
,
"湖州"
,
"嘉兴"
,
"绍兴"
,
"金华"
,
"衢州"
,
"舟山"
,
"台州"
,
"丽水"
,
"2018年"
,
"2019年"
,
"2020年"
,
];
const
cityData
=
{
value
:
[
225
,
160
,
170
,
140
,
145
,
75
,
125
,
100
,
70
,
40
,
60
],
value
:
[
225
,
160
,
170
,
],
};
/**
...
...
@@ -93,7 +85,7 @@ export default defineComponent({
let
html
=
``
;
html
+=
`<div class="munition-echart ">
<span class=" title color_1">
${
params
[
0
].
axisValue
}
市
</span>
<span class=" title color_1">
${
params
[
0
].
axisValue
}
</span>
<br />
<span class="text text-color_1">
${
params
[
0
].
data
.
value
}
</span>个
</div>
...
...
src/views/dataCenter/innovation/model/ScientificInvestment/index.vue
浏览文件 @
0482053e
...
...
@@ -14,21 +14,20 @@
</div>
<el-row
:gutter=
"10"
type=
"flex"
>
<el-col
:span=
"1
3
"
>
<el-col
:span=
"1
1
"
>
<div
id=
"pie"
class=
"economic-construct"
></div>
</el-col>
<el-col
:span=
"1
1
"
>
<el-col
:span=
"1
3
"
>
<div
class=
"list-item"
v-for=
"(item, index) in pieList"
:key=
"item.label"
>
<el-row
align=
"middle"
>
<div
class=
"square"
:style=
"
{ background: pieColor[`level_${index + 1}`] }">
</div>
{{
item
.
label
}}
<span>
{{
item
.
label
}}
</span>
</el-row>
<div
class=
"pie-value"
>
{{
item
.
value
}}
<span>
亿元
</span>
</div>
<!--
<span></span>
-->
</div>
</el-col>
</el-row>
...
...
src/views/dataCenter/map/model/Performance/mock.js
0 → 100644
浏览文件 @
0482053e
export
default
{
"1"
:
{
},
"2"
:
{
},
"3"
:
{
}
}
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论