Commit 827127c5 authored by qzhxx's avatar qzhxx

更换学习详情展板排序接口

parent 6e5a18e3
......@@ -67,7 +67,7 @@
<span>{{ (page.currentPage - 1) * 10 + scope.$index + 1 }}</span>
</template> -->
</el-table-column>
<el-table-column show-overflow-tooltip label="版权方名称" prop="name"></el-table-column>
<el-table-column show-overflow-tooltip label="展板名称" prop="name"></el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button
......@@ -115,15 +115,15 @@ export default {
tableData: [
{
id: "1",
name: "1"
name: ""
},
{
id: "2",
name: "2"
name: ""
},
{
id: "3",
name: "3"
name: ""
}
],
activeNames: ["1","2","3"],
......@@ -258,20 +258,25 @@ export default {
_this
.$https({
method: "put",
url: "learningContentBoard/sort",
// url: "learningContentBoard/sort",
url: "learningContentBoard/sortById",
authType: this.backToken
},
_this.$qs.stringify({
id:this.$route.query.id,
sourceId:sourceId,
targetId:targetId
}))
.then(
res => {
if(res.data.resultCode === "200"){
this.$message({
type: "success",
message: "成功!"
});
_this.Search();
}else{
this.$message({ type: "error", message: res.data.message });
}
},
error => {
this.$message({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment