修改视频排序
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user