| | |
| | | <el-table-column prop="Title" label="机车号"></el-table-column> |
| | | <el-table-column label="视频数量"> |
| | | <template slot-scope="scope"> |
| | | <div>{{ scope.row.LKGList.length }}</div> |
| | | <div>{{ scope.row.VideoList.length }}</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | <template slot-scope="scope"> |
| | | <div |
| | | class="video-item" |
| | | v-for="video in scope.row.LKGList" |
| | | v-for="video in scope.row.VideoList" |
| | | :key="video.ID" |
| | | > |
| | | {{ video.VideoName }} |
| | |
| | | checkedCount > 0 && checkedCount < this.personList.length; |
| | | }, |
| | | cancelDistribute(row) { |
| | | let arr = row.LKGList.map(x => x.ID); |
| | | let arr = row.VideoList.map(x => x.ID); |
| | | cancelMission({ LkgIDs: arr }).then((res) => { |
| | | if (res.success) { |
| | | this.$notify({ |
| | |
| | | this.renderTaskTable(); |
| | | }, |
| | | taskTableSelection(val) { |
| | | let arr = val.map((item) => item.LKGList.map((x) => x.ID)); |
| | | let arr = val.map((item) => item.VideoList.map((x) => x.ID)); |
| | | this.taskVideoChecked = arr; |
| | | }, |
| | | renderTaskTable() { |
| | |
| | | .video-list { |
| | | margin-top: 14px; |
| | | text-align: left; |
| | | height: 420px; |
| | | overflow: auto; |
| | | .el-checkbox-group { |
| | | margin-bottom: 20px; |
| | | .el-checkbox__label { |