<template>
    <el-table :data='tableData' style='width: 100%' border size='medium' height='400'>
        <el-table-column header-align='center' align='center' label='设备标识' width='180'>
            <template slot-scope='scope'>
                <el-tag style='margin-left: 5px;' v-for='(item ,index) in scope.row.b' :key='index'>{{item}}</el-tag>
                <el-tag style='margin-left: 5px;' type='warning'>324#</el-tag>
            </template>
        </el-table-column>
        <el-table-column sortable header-align='center' align='center' label='原始点位描述' width='180' prop='a'></el-table-column>
        <el-table-column header-align='center' align='center' prop='c' label='位置标签'></el-table-column>、
        <el-table-column header-align='center' align='center' prop='d' label='备注'></el-table-column>
    </el-table>
</template>

<script>
export default {
    data() {
        return {
            tableData: [
                {
                    a: '1-14遥控测试',
                    b: ['电梯厅', '1F'],
                    c: '电器',
                    d: '12313#fs'
                },
                {
                    a: '1-14遥控测试',
                    b: ['电梯厅', '1F'],
                    c: '电器',
                    d: '12313#fs'
                },
                {
                    a: '1-14遥控测试',
                    b: ['电梯厅', '1F'],
                    c: '电器',
                    d: '12313#fs'
                },
                {
                    a: '1-14遥控测试',
                    b: ['电梯厅', '1F'],
                    c: '电器',
                    d: '12313#fs'
                },
                {
                    a: '1-14遥控测试',
                    b: ['电梯厅', '1F'],
                    c: '电器',
                    d: '12313#fs'
                },
                {
                    a: '1-14遥控测试',
                    b: ['电梯厅', '1F'],
                    c: '电器',
                    d: '12313#fs'
                },
                {
                    a: '1-14遥控测试',
                    b: ['电梯厅', '1F'],
                    c: '电器',
                    d: '12313#fs'
                },
                {
                    a: '1-14遥控测试',
                    b: ['电梯厅', '1F'],
                    c: '电器',
                    d: '12313#fs'
                },
                {
                    a: '1-14遥控测试',
                    b: ['电梯厅', '1F'],
                    c: '电器',
                    d: '12313#fs'
                },
                {
                    a: '1-14遥控测试',
                    b: ['电梯厅', '1F'],
                    c: '电器',
                    d: '12313#fs'
                }
            ]
        }
    }
}
</script>

<style>
</style>
