Commit b7114190 authored by Your Name's avatar Your Name

修改删除项目提示语

parent 4141f861
<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
This diff is collapsed.
......@@ -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: "修改成功!" });
}
......
......@@ -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",
......
......@@ -236,11 +236,11 @@ export let learnRoute = [
},
{
path: '/checkLearn',
name: '平台学习内容审核',
name: '学习项目及学习内容审核',
component: () => import('@/page/check/learn/index'),
meta: {
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