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
b7114190
Commit
b7114190
authored
Jun 16, 2021
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改删除项目提示语
parent
4141f861
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
254 additions
and
254 deletions
+254
-254
breadcrumb.vue
src/components/breadcrumb.vue
+61
-61
menu.js
src/config/menu.js
+184
-184
add.vue
src/page/content/learn/project/add.vue
+5
-5
index.vue
src/page/content/learn/project/index.vue
+2
-2
learn.js
src/router/learn.js
+2
-2
No files found.
src/components/breadcrumb.vue
View file @
b7114190
<
template
>
<div
class=
"breadcrumb-wrapper"
>
<i
class=
"icon-loc"
></i>
<span
class=
"breadcrumb__item active"
@
click=
"goIndex"
>
<span>
首页
</span>
<i
class=
"el-icon-arrow-right"
></i>
</span>
<span
class=
"breadcrumb__item"
>
<span>
{{
currentPageName
}}
</span>
</span>
</div>
</
template
>
<
script
>
export
default
{
data
(){
return
{
currentPageName
:
''
}
},
mounted
(){
this
.
currentPageName
=
this
.
$route
.
meta
.
title
},
methods
:{
goIndex
(){
this
.
$router
.
push
(
'/index'
)
}
},
watch
:{
$route
()
{
this
.
currentPageName
=
this
.
$route
.
meta
.
title
console
.
log
(
this
.
$route
)
}
}
}
</
script
>
<
style
lang=
"less"
scoped
>
.breadcrumb-wrapper{
width: 100%;
height: 36px;
line-height: 36px;
padding-left: 20px;
background-color:@party-white;
.icon-loc{
display: inline-block;
width: 15px;
height: 16px;
margin-right: 10px;
vertical-align: middle;
background: url("~@/assets/login/loc.png") no-repeat;
background-size: cover;
}
.breadcrumb__item{
span{
color: #151515;
}
&.active{
cursor: pointer;
}
}
}
<
template
>
<div
class=
"breadcrumb-wrapper"
>
<i
class=
"icon-loc"
></i>
<span
class=
"breadcrumb__item active"
@
click=
"goIndex"
>
<span>
首页
</span>
<i
class=
"el-icon-arrow-right"
></i>
</span>
<span
class=
"breadcrumb__item"
>
<span>
{{
currentPageName
}}
</span>
</span>
</div>
</
template
>
<
script
>
export
default
{
data
(){
return
{
currentPageName
:
''
}
},
mounted
(){
this
.
currentPageName
=
this
.
$route
.
meta
.
title
},
methods
:{
goIndex
(){
this
.
$router
.
push
(
'/index'
)
}
},
watch
:{
$route
()
{
this
.
currentPageName
=
this
.
$route
.
meta
.
title
console
.
log
(
this
.
$route
)
}
}
}
</
script
>
<
style
lang=
"less"
scoped
>
.breadcrumb-wrapper{
width: 100%;
height: 36px;
line-height: 36px;
padding-left: 20px;
background-color:@party-white;
.icon-loc{
display: inline-block;
width: 15px;
height: 16px;
margin-right: 10px;
vertical-align: middle;
background: url("~@/assets/login/loc.png") no-repeat;
background-size: cover;
}
.breadcrumb__item{
span{
color: #151515;
}
&.active{
cursor: pointer;
}
}
}
</
style
>
\ No newline at end of file
src/config/menu.js
View file @
b7114190
export
const
menuList
=
[
{
name
:
'内容管理'
,
icon
:
'icon-headContent'
,
avatar
:
'content_head_picture.png'
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'展板管理'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'版权方管理'
,
icon
:
'icon-copyrights'
,
color
:
'index-red'
,
avatar
:
''
,
url
:
'/displayCopyright'
},
{
name
:
'分类管理'
,
icon
:
'icon-classify'
,
color
:
'index-blue'
,
avatar
:
''
,
url
:
'/displayclassify'
},
{
name
:
'内容管理'
,
icon
:
'icon-content'
,
color
:
'index-green'
,
avatar
:
''
,
url
:
'/displayContent'
},
]
},
{
name
:
'视频管理'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'版权方管理'
,
icon
:
'icon-copyrights'
,
color
:
'index-red'
,
avatar
:
''
,
url
:
'/videoCopyright'
},
{
name
:
'分类管理'
,
icon
:
'icon-classify'
,
color
:
'index-blue'
,
avatar
:
''
,
url
:
'/videoclassify'
},
{
name
:
'内容管理'
,
icon
:
'icon-content'
,
color
:
'index-green'
,
avatar
:
''
,
url
:
'/videoContent'
},
{
name
:
'视频汇出'
,
icon
:
'icon-plane'
,
color
:
'index-purple'
,
avatar
:
''
,
url
:
'/videoRemit'
},
]
},
{
name
:
'平台学习内容制作'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'学习项目管理'
,
icon
:
'icon-data'
,
color
:
'index-blue'
,
avatar
:
''
,
url
:
'/learnProject'
},
{
name
:
'学习内容制作'
,
icon
:
'icon-pen'
,
color
:
'index-pink'
,
avatar
:
''
,
url
:
'/learnContent'
},
]
},
]
},
{
name
:
'审核管理'
,
icon
:
'icon-headAudit'
,
avatar
:
'audit_head_picture.png'
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'内容及账号审核'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'视频审核'
,
icon
:
'icon-video'
,
color
:
'index-blue'
,
url
:
'/checkVideo'
},
{
name
:
'展板审核'
,
icon
:
'icon-screen'
,
color
:
'index-green'
,
url
:
'/checkDisplay'
},
{
name
:
'学习
内容审核'
,
icon
:
'icon-magnifier'
,
color
:
'index-pink'
,
url
:
'/checkLearn'
},
{
name
:
'账号禁用审核'
,
icon
:
'icon-disable'
,
color
:
'index-red'
,
url
:
'/recheck'
}
]
}
]
},
{
name
:
'单位用户管理'
,
icon
:
'icon-headUser'
,
avatar
:
'user_head_picture.png'
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'互动管理'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'互动内容'
,
icon
:
'icon-interaction'
,
color
:
'index-purple'
,
url
:
'/interactive'
}
]
},
{
name
:
'账号管理'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'账号管理'
,
icon
:
'icon-account'
,
color
:
'index-blue'
,
url
:
'/unitAdmin'
}
]
}
]
},
{
name
:
'机顶盒管理'
,
icon
:
'icon-headStb'
,
avatar
:
'stb_head_picture.png'
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'机顶盒信息及运维管理'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'基础信息管理'
,
icon
:
'icon-radio'
,
color
:
'index-pink'
,
url
:
'/STBbase'
},
{
name
:
'运维信息管理'
,
icon
:
'icon-message'
,
color
:
'index-blue'
,
url
:
'/STBoperation'
},
{
name
:
'运维账号管理'
,
icon
:
'icon-gear'
,
color
:
'index-pink'
,
url
:
'/stbAccount'
}
]
},
{
name
:
'APP管理'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'版本管理'
,
icon
:
'icon-appversion'
,
color
:
'index-red'
,
url
:
'/appversion'
},
{
name
:
'界面自定义'
,
icon
:
'icon-interface'
,
color
:
'index-pink'
,
url
:
'/pagecustom'
}
]
}
]
},
{
name
:
'统计数据'
,
icon
:
'icon-headStatistics'
,
avatar
:
'statistics_head_picture.png'
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'统计图表'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'统计概览'
,
icon
:
'icon-overview'
,
color
:
'index-purple'
,
url
:
'/overview'
},
{
name
:
'互动统计'
,
icon
:
'icon-interaction'
,
color
:
'index-green'
,
url
:
'/interaction'
},
{
name
:
'趋势分析'
,
icon
:
'icon-tend'
,
color
:
'index-pink'
,
url
:
'/tend'
}
]
},
{
name
:
'统计账号'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'统计用户管理'
,
icon
:
'icon-statisticsUser'
,
color
:
'index-blue'
,
url
:
'/statisticalUser'
}
]
},
]
},
{
name
:
'系统管理'
,
icon
:
'icon-headSystem'
,
avatar
:
'system_head_picture.png'
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'机构及信息管理'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'机构管理'
,
icon
:
'icon-organ'
,
color
:
'index-green'
,
url
:
'/organ'
},
{
name
:
'日志管理'
,
icon
:
'icon-log'
,
color
:
'index-pink'
,
url
:
'/log'
},
{
name
:
'平台用户管理'
,
icon
:
'icon-platUser'
,
color
:
'index-blue'
,
url
:
'/users'
},
{
name
:
'修改密码'
,
icon
:
'icon-lock'
,
color
:
'index-red'
,
url
:
'/changePwd'
},
]
}
]
},
export
const
menuList
=
[
{
name
:
'内容管理'
,
icon
:
'icon-headContent'
,
avatar
:
'content_head_picture.png'
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'展板管理'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'版权方管理'
,
icon
:
'icon-copyrights'
,
color
:
'index-red'
,
avatar
:
''
,
url
:
'/displayCopyright'
},
{
name
:
'分类管理'
,
icon
:
'icon-classify'
,
color
:
'index-blue'
,
avatar
:
''
,
url
:
'/displayclassify'
},
{
name
:
'内容管理'
,
icon
:
'icon-content'
,
color
:
'index-green'
,
avatar
:
''
,
url
:
'/displayContent'
},
]
},
{
name
:
'视频管理'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'版权方管理'
,
icon
:
'icon-copyrights'
,
color
:
'index-red'
,
avatar
:
''
,
url
:
'/videoCopyright'
},
{
name
:
'分类管理'
,
icon
:
'icon-classify'
,
color
:
'index-blue'
,
avatar
:
''
,
url
:
'/videoclassify'
},
{
name
:
'内容管理'
,
icon
:
'icon-content'
,
color
:
'index-green'
,
avatar
:
''
,
url
:
'/videoContent'
},
{
name
:
'视频汇出'
,
icon
:
'icon-plane'
,
color
:
'index-purple'
,
avatar
:
''
,
url
:
'/videoRemit'
},
]
},
{
name
:
'平台学习内容制作'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'学习项目管理'
,
icon
:
'icon-data'
,
color
:
'index-blue'
,
avatar
:
''
,
url
:
'/learnProject'
},
{
name
:
'学习内容制作'
,
icon
:
'icon-pen'
,
color
:
'index-pink'
,
avatar
:
''
,
url
:
'/learnContent'
},
]
},
]
},
{
name
:
'审核管理'
,
icon
:
'icon-headAudit'
,
avatar
:
'audit_head_picture.png'
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'内容及账号审核'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'视频审核'
,
icon
:
'icon-video'
,
color
:
'index-blue'
,
url
:
'/checkVideo'
},
{
name
:
'展板审核'
,
icon
:
'icon-screen'
,
color
:
'index-green'
,
url
:
'/checkDisplay'
},
{
name
:
'学习
项目及学习内容审核'
,
icon
:
'icon-magnifier'
,
color
:
'index-pink'
,
url
:
'/checkLearn'
},
{
name
:
'账号禁用审核'
,
icon
:
'icon-disable'
,
color
:
'index-red'
,
url
:
'/recheck'
}
]
}
]
},
{
name
:
'单位用户管理'
,
icon
:
'icon-headUser'
,
avatar
:
'user_head_picture.png'
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'互动管理'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'互动内容'
,
icon
:
'icon-interaction'
,
color
:
'index-purple'
,
url
:
'/interactive'
}
]
},
{
name
:
'账号管理'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'账号管理'
,
icon
:
'icon-account'
,
color
:
'index-blue'
,
url
:
'/unitAdmin'
}
]
}
]
},
{
name
:
'机顶盒管理'
,
icon
:
'icon-headStb'
,
avatar
:
'stb_head_picture.png'
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'机顶盒信息及运维管理'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'基础信息管理'
,
icon
:
'icon-radio'
,
color
:
'index-pink'
,
url
:
'/STBbase'
},
{
name
:
'运维信息管理'
,
icon
:
'icon-message'
,
color
:
'index-blue'
,
url
:
'/STBoperation'
},
{
name
:
'运维账号管理'
,
icon
:
'icon-gear'
,
color
:
'index-pink'
,
url
:
'/stbAccount'
}
]
},
{
name
:
'APP管理'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'版本管理'
,
icon
:
'icon-appversion'
,
color
:
'index-red'
,
url
:
'/appversion'
},
{
name
:
'界面自定义'
,
icon
:
'icon-interface'
,
color
:
'index-pink'
,
url
:
'/pagecustom'
}
]
}
]
},
{
name
:
'统计数据'
,
icon
:
'icon-headStatistics'
,
avatar
:
'statistics_head_picture.png'
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'统计图表'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'统计概览'
,
icon
:
'icon-overview'
,
color
:
'index-purple'
,
url
:
'/overview'
},
{
name
:
'互动统计'
,
icon
:
'icon-interaction'
,
color
:
'index-green'
,
url
:
'/interaction'
},
{
name
:
'趋势分析'
,
icon
:
'icon-tend'
,
color
:
'index-pink'
,
url
:
'/tend'
}
]
},
{
name
:
'统计账号'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'统计用户管理'
,
icon
:
'icon-statisticsUser'
,
color
:
'index-blue'
,
url
:
'/statisticalUser'
}
]
},
]
},
{
name
:
'系统管理'
,
icon
:
'icon-headSystem'
,
avatar
:
'system_head_picture.png'
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'机构及信息管理'
,
icon
:
''
,
avatar
:
''
,
color
:
''
,
url
:
''
,
children
:
[
{
name
:
'机构管理'
,
icon
:
'icon-organ'
,
color
:
'index-green'
,
url
:
'/organ'
},
{
name
:
'日志管理'
,
icon
:
'icon-log'
,
color
:
'index-pink'
,
url
:
'/log'
},
{
name
:
'平台用户管理'
,
icon
:
'icon-platUser'
,
color
:
'index-blue'
,
url
:
'/users'
},
{
name
:
'修改密码'
,
icon
:
'icon-lock'
,
color
:
'index-red'
,
url
:
'/changePwd'
},
]
}
]
},
]
\ No newline at end of file
src/page/content/learn/project/add.vue
View file @
b7114190
...
...
@@ -359,8 +359,8 @@ export default {
},
getExhibitionBoardTable
()
{
const
param
=
{
boardCopyrightOwnerIdList
:
this
.
ruleForm
.
copyrightOwnerIdList
,
exhibitionBoardCatIdList
:
this
.
ruleForm
.
exhibitionBoardCatIdList
boardCopyrightOwnerIdList
:
this
.
ruleForm
.
copyrightOwnerIdList
.
toString
()
,
exhibitionBoardCatIdList
:
this
.
ruleForm
.
exhibitionBoardCatIdList
.
toString
()
};
this
.
getTableData
(
param
,
"update"
);
},
...
...
@@ -480,9 +480,9 @@ export default {
.
then
(
res
=>
{
if
(
res
.
data
.
resultCode
===
"200"
){
if
(
this
.
userType
===
'1'
){
this
.
$message
({
type
:
"success"
,
message
:
"新增学习内容
申请已提交,待审核!"
});
this
.
$message
({
type
:
"success"
,
message
:
"新增学习项目
申请已提交,待审核!"
});
}
else
{
this
.
$message
({
type
:
"success"
,
message
:
"新增成功!"
});
this
.
$message
({
type
:
"success"
,
message
:
"新增成功!"
});
}
history
.
go
(
-
1
);
}
else
{
...
...
@@ -514,7 +514,7 @@ export default {
.
then
(
res
=>
{
if
(
res
.
data
.
resultCode
===
"200"
){
if
(
this
.
userType
===
'1'
){
this
.
$message
({
type
:
"success"
,
message
:
"修改学习内容申请已提交,待审核!"
});
this
.
$message
({
type
:
"success"
,
message
:
res
.
data
.
message
});
}
else
{
this
.
$message
({
type
:
"success"
,
message
:
"修改成功!"
});
}
...
...
src/page/content/learn/project/index.vue
View file @
b7114190
...
...
@@ -64,7 +64,7 @@
<
template
slot-scope=
"scope"
width=
"220"
>
<div
class=
"table-btn-group"
>
<el-tooltip
content=
"修改"
placement=
"top"
>
<el-button
circle
@
click=
"openEdit(scope.row)"
>
<el-button
circle
:disabled=
"scope.row.auditStatus !== 'APPROVED_FINAL' && scope.row.auditStatus !== 'REFUSED'"
@
click=
"openEdit(scope.row)"
>
<i
class=
"icon-table icon-edit"
></i>
</el-button>
</el-tooltip>
...
...
@@ -358,7 +358,7 @@ export default {
// 删除
handleDelete
(
row
)
{
let
_this
=
this
;
this
.
$confirm
(
"
此操作将永久删除, 是否继续?
"
,
"提示"
,
{
this
.
$confirm
(
"
删除项目后对应的学习内容也会被删除!
"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
...
...
src/router/learn.js
View file @
b7114190
...
...
@@ -236,11 +236,11 @@ export let learnRoute = [
},
{
path
:
'/checkLearn'
,
name
:
'
平台
学习内容审核'
,
name
:
'
学习项目及
学习内容审核'
,
component
:
()
=>
import
(
'@/page/check/learn/index'
),
meta
:
{
showBreadcrumb
:
true
,
title
:
'
平台
学习内容审核'
,
title
:
'
学习项目及
学习内容审核'
,
}
},
{
...
...
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