no message

Former-commit-id: 4bfe822510fad9d3caab87f4ff29ce200740555e
Former-commit-id: 0336d2c16b1a871375b0d94720c950640397e10d
Former-commit-id: d8acf08adce671df5fefe8eaf573defd2f6e424f
This commit is contained in:
李杨
2018-02-19 12:04:59 +08:00
parent 4042d5f46d
commit 0c95fc37dc
5 changed files with 117 additions and 1 deletions

View File

@@ -43,6 +43,13 @@
<G2NightingaleRoseBase :ref="chart[5].refName" v-bind="chart[5]"></G2NightingaleRoseBase>
</el-card>
</GridItem>
<!-- 卡片 -->
<GridItem v-bind="layout.layout[6]" @resized="handleResized(chart[6].refName)">
<el-card class="header-in">
<ChartCardHeader slot="header" @refresh="handleRefreshData(6)" title="近年行情"></ChartCardHeader>
<G2RadarBase :ref="chart[6].refName" v-bind="chart[6]"></G2RadarBase>
</el-card>
</GridItem>
</GridLayout>
</Container>
</template>
@@ -87,6 +94,12 @@ export default {
refName: 'G2NightingaleRoseBase',
data: [],
padding: [40, 40, 40, 40]
},
{
api: {url: '/api/chart/G2Radar', data: {type: 'base'}},
refName: 'G2RadarBase',
data: [],
padding: [30, 30, 30, 30]
}
],
layout: {
@@ -97,7 +110,8 @@ export default {
{'x': 8, 'y': 0, 'w': 4, 'h': 7, 'i': '2'},
{'x': 0, 'y': 7, 'w': 4, 'h': 7, 'i': '3'},
{'x': 4, 'y': 7, 'w': 4, 'h': 7, 'i': '4'},
{'x': 8, 'y': 7, 'w': 4, 'h': 7, 'i': '5'}
{'x': 8, 'y': 7, 'w': 4, 'h': 7, 'i': '5'},
{'x': 0, 'y': 14, 'w': 4, 'h': 7, 'i': '6'}
],
colNum: 12,
rowHeight: 30,