提交 454d4310 编写于 作者: changdi.hao's avatar changdi.hao

设置用户话题为无法更改

上级 ca492c0d
...@@ -65,15 +65,19 @@ ...@@ -65,15 +65,19 @@
</el-table-column> </el-table-column>
<el-table-column prop="modifiedtime" label="修改日期" min-width="100" align="center"></el-table-column> <el-table-column prop="modifiedtime" label="修改日期" min-width="100" align="center"></el-table-column>
<el-table-column prop="status" label="状态" min-width="80" align="center"> <el-table-column prop="status" label="状态" min-width="80" align="center">
<template slot-scope="scope"> <template slot-scope="scope" v-if="!scope.row.official">
<span>已发布</span>
</template>
<template slot-scope="scope" v-else>
<span>{{ scope.row.releaseStatus == 1 ? '已发布' : '未发布'}}</span> <span>{{ scope.row.releaseStatus == 1 ? '已发布' : '未发布'}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" fixed="right" align="center" min-width="200"> <el-table-column label="操作" fixed="right" align="center" min-width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" size="small" @click="edit(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 == 1" size="small" @click="optFun(scope.row)" >下线</el-button> <el-button type="primary" v-if="!scope.row.official" size="small" @click="optFun(scope.row)" disabled>下线</el-button>
<el-button type="primary" v-else size="small" @click="optFun(scope.row)" >发布</el-button> <el-button type="primary" v-if="scope.row.releaseStatus == 1 && scope.row.official" size="small" @click="optFun(scope.row)" >下线</el-button>
<el-button type="primary" v-if="scope.row.releaseStatus != 1 && scope.row.official" size="small" @click="optFun(scope.row)" >发布</el-button>
<el-button v-if="scope.row.toporder == 0" type="primary" size="small" @click="topicManage(scope.row,'置顶')">置顶</el-button> <el-button v-if="scope.row.toporder == 0" type="primary" size="small" @click="topicManage(scope.row,'置顶')">置顶</el-button>
<el-button v-else type="primary" size="small" @click="topicManage(scope.row,'取消置顶')">取消置顶</el-button> <el-button v-else type="primary" size="small" @click="topicManage(scope.row,'取消置顶')">取消置顶</el-button>
</template> </template>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册