【修改】首页对齐展示
This commit is contained in:
@@ -70,7 +70,7 @@ const columns = [
|
|||||||
{
|
{
|
||||||
title: '',
|
title: '',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 150,
|
width: 100,
|
||||||
dataIndex: 'indexName',
|
dataIndex: 'indexName',
|
||||||
scopedSlots: {customRender: 'text'}
|
scopedSlots: {customRender: 'text'}
|
||||||
},
|
},
|
||||||
@@ -167,8 +167,8 @@ export default {
|
|||||||
option = {
|
option = {
|
||||||
color:['#069F99','#FFA17A'],
|
color:['#069F99','#FFA17A'],
|
||||||
grid: {
|
grid: {
|
||||||
left: '0%',
|
left: '4%',
|
||||||
right: '2%',
|
right: '0%',
|
||||||
bottom: '3%',
|
bottom: '3%',
|
||||||
containLabel: true
|
containLabel: true
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ const columns = [
|
|||||||
{
|
{
|
||||||
title: '',
|
title: '',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 150,
|
width: 100,
|
||||||
dataIndex: 'indexName',
|
dataIndex: 'indexName',
|
||||||
scopedSlots: {customRender: 'text'}
|
scopedSlots: {customRender: 'text'}
|
||||||
},
|
},
|
||||||
@@ -161,8 +161,8 @@ export default {
|
|||||||
option = {
|
option = {
|
||||||
color: ['#069F99', '#FFA17A'],
|
color: ['#069F99', '#FFA17A'],
|
||||||
grid: {
|
grid: {
|
||||||
left: '0%',
|
left: '3%',
|
||||||
right: '2%',
|
right: '0%',
|
||||||
bottom: '3%',
|
bottom: '3%',
|
||||||
containLabel: true
|
containLabel: true
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
bordered
|
bordered
|
||||||
rowKey="projectId"
|
rowKey="projectId"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:scroll="{x: 1500}"
|
:scroll="{x: 1100}"
|
||||||
:dataSource="dataSource"
|
:dataSource="dataSource"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
@@ -74,7 +74,7 @@ const columns = [
|
|||||||
{
|
{
|
||||||
title: '',
|
title: '',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 150,
|
width: 90,
|
||||||
dataIndex: 'indexName',
|
dataIndex: 'indexName',
|
||||||
scopedSlots: {customRender: 'text'}
|
scopedSlots: {customRender: 'text'}
|
||||||
},
|
},
|
||||||
@@ -200,8 +200,8 @@ export default {
|
|||||||
right: '2%'
|
right: '2%'
|
||||||
},
|
},
|
||||||
grid: {
|
grid: {
|
||||||
left: '0%',
|
left: '2.4%',
|
||||||
right: '2%',
|
right: '0%',
|
||||||
bottom: '3%',
|
bottom: '3%',
|
||||||
containLabel: true
|
containLabel: true
|
||||||
},
|
},
|
||||||
@@ -218,7 +218,7 @@ export default {
|
|||||||
color: '#999999'
|
color: '#999999'
|
||||||
},
|
},
|
||||||
type: 'category',
|
type: 'category',
|
||||||
boundaryGap: true,
|
boundaryGap: ['30%','20%'],
|
||||||
// 刻度线设置
|
// 刻度线设置
|
||||||
axisTick: {
|
axisTick: {
|
||||||
show: false
|
show: false
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
bordered
|
bordered
|
||||||
rowKey="projectId"
|
rowKey="projectId"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:scroll="{x: 1500}"
|
:scroll="{x: 1100}"
|
||||||
:dataSource="dataSource"
|
:dataSource="dataSource"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
@@ -74,7 +74,7 @@ const columns = [
|
|||||||
{
|
{
|
||||||
title: '',
|
title: '',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 150,
|
width: 110,
|
||||||
dataIndex: 'indexName',
|
dataIndex: 'indexName',
|
||||||
scopedSlots: {customRender: 'text'}
|
scopedSlots: {customRender: 'text'}
|
||||||
},
|
},
|
||||||
@@ -83,7 +83,7 @@ MonthDataTotal.map(tt => {
|
|||||||
columns.push({
|
columns.push({
|
||||||
title: tt.name,
|
title: tt.name,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 100,
|
width: 125,
|
||||||
dataIndex: tt.key,
|
dataIndex: tt.key,
|
||||||
scopedSlots: {customRender: 'allMoney'}
|
scopedSlots: {customRender: 'allMoney'}
|
||||||
})
|
})
|
||||||
@@ -201,8 +201,8 @@ export default {
|
|||||||
right: '2%'
|
right: '2%'
|
||||||
},
|
},
|
||||||
grid: {
|
grid: {
|
||||||
left: '0%',
|
left: '2.4%',
|
||||||
right: '2%',
|
right: '0%',
|
||||||
bottom: '3%',
|
bottom: '3%',
|
||||||
containLabel: true
|
containLabel: true
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user