| | |
| | | <template slot-scope="scope"> |
| | | <div class="operation"> |
| | | <span @click="handleOpera(scope.row, 'view')">查看</span> |
| | | <span class="line">|</span> |
| | | <span @click="handleOpera(scope.row, 'update')">修改</span> |
| | | <span class="line">|</span> |
| | | <span @click="handleDelete(scope.row)">删除</span> |
| | | <span v-if="mystatus === 2" class="line">|</span> |
| | | <span v-if="mystatus === 2" @click="handleOpera(scope.row, 'update')">修改</span> |
| | | <span v-if="mystatus === 2" class="line">|</span> |
| | | <span v-if="mystatus === 2" @click="handleDelete(scope.row)">删除</span> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | }); |
| | | this.mystatus = idx + 1; |
| | | this.statusArr[1] = this.typeList[idx].value; |
| | | this.searchContent = this.typeList[idx].value; |
| | | this.searchVideoList(); |
| | | }, |
| | | // 设置表格斑马纹 |
| | | tableRowClassName({ row, rowIndex }) { |