Commit b7114190 authored by Your Name's avatar Your Name

修改删除项目提示语

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