修改视频排序

This commit is contained in:
@fawn-nine
2024-06-11 13:12:19 +08:00
parent 53697d0582
commit 71d4b2782c
3 changed files with 94 additions and 4 deletions

View File

@@ -142,6 +142,10 @@
@click.native="handleCreateProduct(scope.row.id)"
>创建商品</el-dropdown-item
>
<el-dropdown-item
@click.native="migrate(scope.row)"
>迁移本部</el-dropdown-item
>
</el-dropdown-menu>
</el-dropdown>
</div>
@@ -234,6 +238,25 @@ export default {
this.dataListLoading = false;
});
},
migrate(item){
// 课程迁移
console.log(item)
this.$confirm('您正在进行课程迁移操作, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
// this.$message({
// type: 'success',
// message: '删除成功!'
// });
}).catch(() => {
// this.$message({
// type: 'info',
// message: '已取消删除'
// });
})
},
// 每页数
sizeChangeHandle(val) {
this.pageSize = val;