| | |
| | | <el-dropdown trigger="click" @command="handleCommand"> |
| | | <i class="el-icon-more-outline" id="more"></i> |
| | | <el-dropdown-menu slot="dropdown"> |
| | | <el-dropdown-item :command="{ command: 'openCamera', id: scope.row.id }">打开摄像头</el-dropdown-item> |
| | | <el-dropdown-item :command="{ command: 'mute', id: scope.row.id }">静音</el-dropdown-item> |
| | | <el-dropdown-item :command="{ command: 'openCamera', id: scope.row.id }">打开/关闭摄像头</el-dropdown-item> |
| | | <el-dropdown-item :command="{ command: 'mute', id: scope.row.id }">静音/取消静音</el-dropdown-item> |
| | | <el-dropdown-item :command="{ command: 'kickOut', id: scope.row.id }">踢出</el-dropdown-item> |
| | | </el-dropdown-menu> |
| | | </el-dropdown> |
| | |
| | | </el-table-column> |
| | | </el-table> |
| | | <el-button class="link-left" type="primary" size="small" @click="muteEveryone">全体静音</el-button> |
| | | <el-button class="link-left" type="primary" size="small" @click="videoEveryone">全体关闭摄像头</el-button> |
| | | </el-row> |
| | | </div> |
| | | </div> |
| | |
| | | }, |
| | | methods: { |
| | | muteEveryone() { |
| | | this.jitsiApi.executeCommand('muteEveryone', 'audio'); |
| | | }, |
| | | videoEveryone() { |
| | | this.jitsiApi.executeCommand('muteEveryone', 'video'); |
| | | }, |
| | | handleCommand(command) { |