Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
national_museum_vod
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qzhxx
national_museum_vod
Commits
827127c5
Commit
827127c5
authored
May 17, 2021
by
qzhxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更换学习详情展板排序接口
parent
6e5a18e3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
10 deletions
+15
-10
details.vue
src/page/content/learn/content/details.vue
+15
-10
No files found.
src/page/content/learn/content/details.vue
View file @
827127c5
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
<span>
{{
(
page
.
currentPage
-
1
)
*
10
+
scope
.
$index
+
1
}}
</span>
<span>
{{
(
page
.
currentPage
-
1
)
*
10
+
scope
.
$index
+
1
}}
</span>
</
template
>
-->
</
template
>
-->
</el-table-column>
</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=
"操作"
>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
...
@@ -115,15 +115,15 @@ export default {
...
@@ -115,15 +115,15 @@ export default {
tableData
:
[
tableData
:
[
{
{
id
:
"1"
,
id
:
"1"
,
name
:
"
1
"
name
:
""
},
},
{
{
id
:
"2"
,
id
:
"2"
,
name
:
"
2
"
name
:
""
},
},
{
{
id
:
"3"
,
id
:
"3"
,
name
:
"
3
"
name
:
""
}
}
],
],
activeNames
:
[
"1"
,
"2"
,
"3"
],
activeNames
:
[
"1"
,
"2"
,
"3"
],
...
@@ -258,20 +258,25 @@ export default {
...
@@ -258,20 +258,25 @@ export default {
_this
_this
.
$https
({
.
$https
({
method
:
"put"
,
method
:
"put"
,
url
:
"learningContentBoard/sort"
,
// url: "learningContentBoard/sort",
url
:
"learningContentBoard/sortById"
,
authType
:
this
.
backToken
authType
:
this
.
backToken
},
},
_this
.
$qs
.
stringify
({
_this
.
$qs
.
stringify
({
id
:
this
.
$route
.
query
.
id
,
sourceId
:
sourceId
,
sourceId
:
sourceId
,
targetId
:
targetId
targetId
:
targetId
}))
}))
.
then
(
.
then
(
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
===
"200"
){
this
.
$message
({
this
.
$message
({
type
:
"success"
,
type
:
"success"
,
message
:
"成功!"
message
:
"成功!"
});
});
_this
.
Search
();
}
else
{
this
.
$message
({
type
:
"error"
,
message
:
res
.
data
.
message
});
}
},
},
error
=>
{
error
=>
{
this
.
$message
({
this
.
$message
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment