| | |
| | | :row-class-name="tableRowClassName"> |
| | | <el-table-column type="selection" :min-width="5"> |
| | | </el-table-column> |
| | | <el-table-column v-for="(item,idx) in option.group" :key="item.prop" :label="item.label" |
| | | <el-table-column v-for="item in option.group" :key="item.prop" :label="item.label" |
| | | :prop="item.prop" :min-width="item['min-width'] ? item['item.min-width']:'10'"> |
| | | <template slot-scope="scope"> |
| | | <div v-if="item.type === 'text'"> |
| | |
| | | </slot> |
| | | <slot name="status" v-else-if="item.type === 'status'" :info="scope"> |
| | | </slot> |
| | | <div class=""></div> |
| | | <slot name='time' v-else-if="item.type === 'time'" :timeobj="scope"> |
| | | |
| | | </slot> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |