</el-table>
:key="tableKeyAdd"
:data="temp.schedulRulesItemList"
:header-cell-class-name="star"
>
<el-table-column label="规则成员" align="center" width="160">
<template slot-scope="{row, $index}">
<el-form-item label-width="0" :prop="'schedulRulesItemList.' + $index + '.ids'" :rules="{ required: true, message: '', trigger: 'change'}">
<el-select v-if="row.idType == 0" v-model="row.ids" multiple placeholder="请选择" style="width:100%">
<el-option v-for="item in termPeopleList" :key="item.userId" :label="item.userName" :value="item.userId" />
</el-select>
</el-form-item>
</template>
</el-table-column>
</el-table-column>
</el-table>
star({ row, rowIndex, column, columnIndex }) {
if (columnIndex === 1 ) {
return 'star'
}
}
```
网友评论