Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cxsfjx_project_echarts
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
邓文彬
cxsfjx_project_echarts
Commits
f8a0e5da
提交
f8a0e5da
authored
12月 01, 2021
作者:
邓文彬
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(资源开放共享): UI优化
上级
eb73949c
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
21 行增加
和
66 行删除
+21
-66
index.vue
src/views/dataCenter/resourceShare/index.vue
+2
-11
index.vue
src/views/dataCenter/resourceShare/model/Activity/index.vue
+5
-32
index.vue
src/views/dataCenter/resourceShare/model/Facility/index.vue
+6
-13
index.vue
...ews/dataCenter/resourceShare/model/PlatformInfo/index.vue
+2
-2
index.vue
src/views/dataCenter/resourceShare/model/TargetBar/index.vue
+1
-1
index.vue
...ews/dataCenter/resourceShare/model/TotalContrac/index.vue
+5
-7
没有找到文件。
src/views/dataCenter/resourceShare/index.vue
浏览文件 @
f8a0e5da
...
...
@@ -11,12 +11,7 @@
<TotalContrac
/>
</el-col>
<el-col
:span=
"11"
:offset=
"1"
>
<Activity
echartsId=
"activityBar"
echartsTitle=
"军地需求对接活动情况"
echartsDesText=
""
:cardItems=
"extendCardItems"
/>
<Activity
/>
</el-col>
</el-row>
</el-col>
...
...
@@ -32,11 +27,7 @@
<el-col
class=
"map-left"
:span=
"8"
>
<div
class=
"business-extend footer-item card-item"
>
<Facility
echartsId=
"industryDistribute"
echartsTitle=
"军工科研设备设施开放共享情况"
:cardItems=
"industryCardItems"
/>
<Facility
/>
</div>
</el-col>
</el-row>
...
...
src/views/dataCenter/resourceShare/model/Activity/index.vue
浏览文件 @
f8a0e5da
...
...
@@ -11,7 +11,7 @@
<div
class=
"text"
>
合同成交额分布情况
</div>
</div>
<div
:id=
"echartsId
"
class=
"bar-echarts-line"
></div>
<div
id=
"activityBar
"
class=
"bar-echarts-line"
></div>
</
template
>
<
script
lang=
"ts"
>
import
{
defineComponent
}
from
"vue"
;
...
...
@@ -40,35 +40,6 @@ const xAxisCity = [
* 军地需求对接活动数量
*/
export
default
defineComponent
({
props
:
{
echartsTitle
:
{
type
:
String
,
required
:
true
,
},
echartsDesText
:
{
type
:
String
,
required
:
true
,
},
cardItems
:
{
type
:
Array
,
required
:
true
,
dafault
:
()
=>
[],
},
echartsData
:
{
type
:
Array
,
// required: true,
dafault
:
()
=>
[],
},
echartsAxisValue
:
{
type
:
Array
,
// required: true,
dafault
:
()
=>
[],
},
echartsId
:
{
type
:
String
,
required
:
true
,
},
},
components
:
{
MapTitle
,
},
...
...
@@ -144,6 +115,8 @@ export default defineComponent({
yAxis
:
{
type
:
"value"
,
name
:
"金额(万元)"
,
splitNumber
:
4
// min: 10000
},
xAxis
:
{
type
:
"category"
,
...
...
@@ -155,7 +128,7 @@ export default defineComponent({
},
methods
:
{
initEcharts
()
{
const
dom
=
document
.
getElementById
(
this
.
echartsId
);
const
dom
=
document
.
getElementById
(
"activityBar"
);
MAP_ECHARTS
=
echarts
.
init
(
dom
);
MAP_ECHARTS
.
setOption
(
this
.
optionBar
);
this
.
mapEcharts
=
MAP_ECHARTS
;
...
...
@@ -214,7 +187,7 @@ export default defineComponent({
<
style
lang=
"scss"
scoped
>
.bar-echarts-line
{
flex
:
1
;
height
:
calc
(
100%
-
1
5
0px
);
height
:
calc
(
100%
-
1
8
0px
);
box-sizing
:
border-box
;
}
.activity-describes
{
...
...
src/views/dataCenter/resourceShare/model/Facility/index.vue
浏览文件 @
f8a0e5da
<
template
>
<MapTitle
:text=
"echartsTitle
"
/>
<MapTitle
text=
"军工科研设备设施开放共享情况
"
/>
<div
:id=
"echartsId
"
class=
"facility-echarts-line"
></div>
<div
id=
"industryDistribute
"
class=
"facility-echarts-line"
></div>
</
template
>
<
script
lang=
"ts"
>
import
{
defineComponent
}
from
"vue"
;
...
...
@@ -19,14 +19,7 @@ const xAxisValue = ["2018年", "2019年", "2020年", "2021年"];
*/
export
default
defineComponent
({
props
:
{
echartsTitle
:
{
type
:
String
,
required
:
true
,
},
echartsId
:
{
type
:
String
,
required
:
true
,
},
},
components
:
{
MapTitle
,
...
...
@@ -91,8 +84,8 @@ export default defineComponent({
},
},
grid
:
{
left
:
"
2
%"
,
right
:
"
10
%"
,
left
:
"
3
%"
,
right
:
"
5
%"
,
bottom
:
"3%"
,
containLabel
:
true
,
},
...
...
@@ -112,7 +105,7 @@ export default defineComponent({
},
methods
:
{
initEcharts
()
{
const
dom
=
document
.
getElementById
(
this
.
echartsId
);
const
dom
=
document
.
getElementById
(
"industryDistribute"
);
MAP_ECHARTS
=
echarts
.
init
(
dom
);
MAP_ECHARTS
.
setOption
(
this
.
optionBar
);
this
.
mapEcharts
=
MAP_ECHARTS
;
...
...
src/views/dataCenter/resourceShare/model/PlatformInfo/index.vue
浏览文件 @
f8a0e5da
...
...
@@ -108,8 +108,8 @@ export default defineComponent({
legend
:
{},
grid
:
{
top
:
"12%"
,
left
:
"
2
%"
,
right
:
"
2
%"
,
left
:
"
1
%"
,
right
:
"
1
%"
,
bottom
:
"3%"
,
containLabel
:
true
,
},
...
...
src/views/dataCenter/resourceShare/model/TargetBar/index.vue
浏览文件 @
f8a0e5da
...
...
@@ -82,7 +82,7 @@ export default defineComponent({
grid
:
{
top
:
0
,
left
:
"-5%"
,
right
:
"
5
%"
,
right
:
"
0
%"
,
bottom
:
"3%"
,
containLabel
:
true
,
},
...
...
src/views/dataCenter/resourceShare/model/TotalContrac/index.vue
浏览文件 @
f8a0e5da
...
...
@@ -100,9 +100,8 @@ export default defineComponent({
optionBar
()
{
const
seriesBar
=
{
type
:
"pie"
,
radius
:
[
20
,
140
],
radius
:
[
"38%"
,
"90%"
],
roseType
:
"radius"
,
// radius: [20, 140],
radius
:
[
'40%'
,
'70%'
],
itemStyle
:
{
borderRadius
:
0
,
},
...
...
@@ -137,7 +136,7 @@ export default defineComponent({
return
{
tooltip
:
{
trigger
:
"item"
,
//
trigger: "item",
},
grid
:
{
...
...
@@ -279,15 +278,14 @@ export default defineComponent({
color
:
#333
;
}
.pie-value
{
// margin-top: 5px;
padding-left
:
20px
;
font-size
:
12
px
;
font-size
:
20
px
;
color
:
#999
;
display
:
flex
;
align-items
:
center
;
color
:
#4198ff
;
font-size
:
18px
;
span
{
margin-left
:
5px
;
font-size
:
12px
;
color
:
rgba
(
153
,
153
,
153
,
1
);
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论