提交 3f6ae5ad 编写于 作者: chendeli's avatar chendeli

话题 禁用发布下线

上级 ba7f3673
......@@ -234,7 +234,8 @@ export default {
subject:this.objInfo.topic.subject,
content:this.objInfo.topic.content,
discussid:this.objInfo.topic.discussid || this.discussId,
id:this.objInfo.topic.id || null
id:this.objInfo.topic.id || null,
official:true
},
images:this.fileList
}
......
......@@ -67,8 +67,8 @@
</el-table-column>
<el-table-column label="操作" fixed="right" align="center" min-width="200">
<template slot-scope="scope">
<el-button type="primary" size="small" @click="edit(scope.row)">编辑</el-button> <el-button type="primary" v-if="scope.row.releaseStatus == 0" size="small" @click="optFun(scope.row)">发布</el-button>
<el-button type="primary" v-if="scope.row.releaseStatus == 1" size="small" @click="optFun(scope.row)">下线</el-button>
<el-button type="primary" size="small" @click="edit(scope.row)">编辑</el-button> <el-button type="primary" v-if="scope.row.releaseStatus == 0" size="small" @click="optFun(scope.row)" disabled>发布</el-button>
<el-button type="primary" v-if="scope.row.releaseStatus == 1" size="small" @click="optFun(scope.row)" disabled>下线</el-button>
<el-button disabled v-if="scope.$index == 0" type="info" size="small" @click="topicManage(scope.row)">置顶</el-button>
<el-button v-else type="primary" size="small" @click="topicManage(scope.row)">置顶</el-button>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册