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
6508bf10
Commit
6508bf10
authored
Jun 04, 2021
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
展板版权方、内容管理删除提示
parent
9634ca70
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
670 additions
and
669 deletions
+670
-669
index.vue
src/page/content/video/content/index.vue
+670
-669
No files found.
src/page/content/video/content/index.vue
View file @
6508bf10
...
@@ -516,46 +516,51 @@ export default {
...
@@ -516,46 +516,51 @@ export default {
});
});
},
},
// 根据视频内容id查询被引用的展板
// 根据视频内容id查询被引用的展板
getUseBoard
(
id
){
// getUseBoard(id){
this
// this
.
$https
({
// .$https({
method
:
"get"
,
// method: "get",
url
:
"videoContent/getExhibitionBoardById/"
+
id
,
// url: "videoContent/getExhibitionBoardById/" + id,
authType
:
this
.
backToken
// authType: this.backToken
})
// })
.
then
(
// .then(
res
=>
{
// res => {
if
(
res
.
data
.
resultCode
===
"200"
){
// if(res.data.resultCode === "200"){
// console.log(res.data.data,'wwwww')
// // console.log(res.data.data,'wwwww')
let
data
=
res
.
data
.
data
// let data = res.data.data
if
(
data
){
// if(data){
data
=
'当前视频已被展板('
+
res
.
data
.
data
+
')所使用,'
// data = '当前视频已被展板(' + res.data.data + ')所使用,'
}
else
{
// }else{
data
=
'当前视频无引用展板,'
// data = '当前视频无引用展板,'
}
// }
console
.
log
(
data
)
// console.log(data)
this
.
openDel
(
id
,
data
)
// this.openDel(id,data)
}
else
{
// }else{
this
.
$message
({
type
:
"error"
,
message
:
res
.
data
.
message
});
// this.$message({ type: "error", message: res.data.message });
}
// }
},
// },
error
=>
{
// error => {
this
.
$message
({
// this.$message({
type
:
"fail"
,
// type: "fail",
message
:
"删除失败!"
+
error
.
response
.
data
// message: "删除失败!" + error.response.data
});
// });
}
// }
);
// );
},
// },
//
//
// 删除弹出确认窗口
// 删除弹出确认窗口
openDel
(
id
,
data
){
openDel
(
id
){
// alert(data)
// alert(data)
const
dataMsg
=
data
// const dataMsg = data
},
// 删除
handleDelete
(
row
)
{
var
id
=
row
.
id
let
_this
=
this
;
let
_this
=
this
;
this
.
$confirm
(
dataMsg
+
"此操作将永久删除, 是否继续?"
,
"提示"
,
{
this
.
$confirm
(
"此操作将永久删除, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
type
:
"warning"
...
@@ -587,10 +592,6 @@ export default {
...
@@ -587,10 +592,6 @@ export default {
})
})
.
catch
(()
=>
{});
.
catch
(()
=>
{});
},
},
// 删除
handleDelete
(
row
)
{
this
.
getUseBoard
(
row
.
id
)
},
// 批量操作
// 批量操作
handleSelectionChange
(
selection
)
{
handleSelectionChange
(
selection
)
{
...
...
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