<template>
<el-table-column :prop="tableHeader.columnName" :label="tableHeader.columnComment" :key="tableHeader.id" :show-overflow-tooltip="true">
<template v-for="item in tableHeader.colConfigSaveDtoList" >
<el-table-column v-else :prop="item.columnName" :label="item.columnComment" :key="item.id" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span v-if="item.dictType">{{scope.row[item.columnName] | getCommonDictionary(item.dictType)}}</span>
<span v-else>
<span>{{scope.row[item.columnName]}}</span>
</span>
</template>
</el-table-column>
</template>
</el-table-column></template>
<script>
export default {
name:'myTableColumn',
data(){
return { }
},
props:{
tableHeader:Object
},
methods:{
},
}
</script>