Commit bf6121ed authored by 徐一鸣's avatar 徐一鸣

服务管控页面

parent 62416662
...@@ -82,13 +82,14 @@ export default { ...@@ -82,13 +82,14 @@ export default {
itemWidth: 10, itemWidth: 10,
itemHeight: 10, itemHeight: 10,
orient: "horizontal", orient: "horizontal",
backgroundColor: "#f4f7fc" // backgroundColor: "#f4f7fc"
}, },
color:self.colors, color:self.colors,
grid: { grid: {
left: "1%", top: 35,
right: "4%", left: 10,
bottom: "3%", right: 30,
bottom: 0,
containLabel: true containLabel: true
}, },
xAxis: [ xAxis: [
......
...@@ -114,7 +114,7 @@ export default { ...@@ -114,7 +114,7 @@ export default {
type: "pie", type: "pie",
clockWise: false, clockWise: false,
radius: [65, 70], radius: [65, 70],
center: ["50%", "50%"], center: ["50%", "48%"],
hoverAnimation: false, hoverAnimation: false,
itemStyle: { itemStyle: {
normal: { normal: {
...@@ -157,7 +157,7 @@ export default { ...@@ -157,7 +157,7 @@ export default {
show: false show: false
}, },
legend: { legend: {
bottom: -5, bottom: 0,
left: "center", left: "center",
itemWidth: 10, itemWidth: 10,
itemHeight: 10, itemHeight: 10,
......
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
color: this.zzfw ? color2 : color, color: this.zzfw ? color2 : color,
legend: { legend: {
show: yarr.length >= 2, //是否显示图例 show: yarr.length >= 2, //是否显示图例
right: "center", // right: "center",
bottom: 0, bottom: 0,
itemWidth: 10, itemWidth: 10,
itemHeight: 10, itemHeight: 10,
......
...@@ -62,14 +62,14 @@ ...@@ -62,14 +62,14 @@
:data="mult_data_state" :data="mult_data_state"
:show_center_data="false" :show_center_data="false"
:bar_width="10" :bar_width="10"
style="height:200px; margin-top:0" style="height:200px;margin-top:0;"
></gkmultiple-circle> ></gkmultiple-circle>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<line-chart <line-chart
:data="line_data" :data="line_data"
:zzfw="true" :zzfw="true"
style="height:200px;width:400px" style="height:200px;"
:showShadow="false" :showShadow="false"
></line-chart> ></line-chart>
</el-col> </el-col>
...@@ -82,7 +82,10 @@ ...@@ -82,7 +82,10 @@
:show_header="true" :show_header="true"
title="应用构建数量排名" title="应用构建数量排名"
> >
<doubleLine :data="doubleData"></doubleLine> <doubleLine
:data="doubleData"
style="margin-top: -20px;"
></doubleLine>
</block-radius> </block-radius>
</el-col> </el-col>
</el-row> </el-row>
...@@ -253,11 +256,11 @@ export default { ...@@ -253,11 +256,11 @@ export default {
], ],
seriesData: [ seriesData: [
{ {
name: "服务数量", name: "含敏感字段的服务",
data: [300, 400, 350, 280, 480, 520, 500, 460], data: [300, 400, 350, 280, 480, 520, 500, 460],
}, },
{ {
name: "应用数量", name: "不含敏感字段的服务",
data: [300, 350, 400, 280, 320, 450, 400, 350], data: [300, 350, 400, 280, 320, 450, 400, 350],
}, },
], ],
......
...@@ -62,14 +62,14 @@ ...@@ -62,14 +62,14 @@
:data="mult_data_state" :data="mult_data_state"
:show_center_data="false" :show_center_data="false"
:bar_width="10" :bar_width="10"
style="height:200px; margin-top:0" style="height:200px;margin-top:0;"
></gkmultiple-circle> ></gkmultiple-circle>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<line-chart <line-chart
:data="line_data" :data="line_data"
:zzfw="true" :zzfw="true"
style="height:200px;width:400px" style="height:200px;"
:showShadow="false" :showShadow="false"
></line-chart> ></line-chart>
</el-col> </el-col>
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
:show_header="true" :show_header="true"
title="应用构建数量排名" title="应用构建数量排名"
> >
<doubleLine :data="doubleData"></doubleLine> <doubleLine :data="doubleData" style="margin-top: -20px;"></doubleLine>
</block-radius> </block-radius>
</el-col> </el-col>
</el-row> </el-row>
...@@ -253,11 +253,11 @@ export default { ...@@ -253,11 +253,11 @@ export default {
], ],
seriesData: [ seriesData: [
{ {
name: "服务数量", name: "含敏感字段的服务",
data: [300, 400, 350, 280, 480, 520, 500, 460], data: [300, 400, 350, 280, 480, 520, 500, 460],
}, },
{ {
name: "应用数量", name: "不含敏感字段的服务",
data: [300, 350, 400, 280, 320, 450, 400, 350], data: [300, 350, 400, 280, 320, 450, 400, 350],
}, },
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment