<el-table class="lin_height" :data="tableData" @selection-change="handleSelectionChange" @sort-change='sortChange' :default-sort="{prop: 'applyDate', order: 'asc'}" >
<template v-for="(item,index) in ip_list">
<el-table-column :show-overflow-tooltip="true" :min-width="item.minWidth" align="center"
:type="item.selection" :prop="item.prop" :label="item.label" :sortable="item.sortable"
:selectable="item.selectInit"
>
</el-table-column>
</template>
</el-table>
<script>
methods: {
//已提交验证
selectInit(row,index){
console.log(row)
if(row.flowStatus=="已提交"){
return false //不可勾选
}else{
return true //可勾选
}
},
}
</script>