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
This diff is collapsed.
...@@ -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