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