45 lines
1.3 KiB
Vue
45 lines
1.3 KiB
Vue
<template>
|
|
<div style="flex: 2;" class="aaa">
|
|
<Container name="本日生产良品率" size="small" style="">
|
|
<ScrollBoard :config = "config" width='575px' height='300px'/>
|
|
</Container>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import Container from '../components/Container';
|
|
import ScrollBoard from '../components/ScrollBoard'
|
|
export default {
|
|
name: 'YieldRate',
|
|
components: { Container, ScrollBoard },
|
|
data() {
|
|
return {
|
|
config: {
|
|
header: ['序号', '设备名称', '设备编码','设备状态','是否故障'],
|
|
// headerHeight: '17',
|
|
headerBGC: 'rgba(32, 55, 96, 0.8)',
|
|
oddRowBGC: 'rgba(32, 55, 96, 0.8)',
|
|
evenRowBGC: 'rgba(14, 32, 62, 0.8)',
|
|
columnWidth: [60],
|
|
align: ['center'],
|
|
data: [
|
|
[1, '设备1', '行1列3', '', ''],
|
|
[2, '设备2', '行2列3', '', ''],
|
|
[3, '设备3', '行3列3', '', ''],
|
|
[4, '设备4', '行4列3', '', ''],
|
|
[5, '设备5', '行5列3', '', ''],
|
|
[6, '设备6', '行6列3', '', ''],
|
|
[7, '设备7', '行7列3', '', ''],
|
|
[8, '设备8', '行8列3', '', ''],
|
|
[9, '设备9', '行9列3', '', ''],
|
|
[10, '设备10', '行10列3', '', '']
|
|
],
|
|
rowNum: 10
|
|
}
|
|
}
|
|
},
|
|
methods: {
|
|
}
|
|
}
|
|
</script>
|
|
<style lang='scss'>
|
|
</style> |