This commit is contained in:
yanran200730
2023-02-21 13:50:22 +08:00
parent c3674e7e5a
commit 180e43924a

View File

@@ -29,17 +29,16 @@
:current.sync="search.current"
:size.sync="search.size"
@getList="getList">
<el-table-column slot="comment" label="评论数" align="center">
<el-table-column slot="comment" label="评论数" align="center" v-if="permissions('app_appcontentcomment_detail')">
<template slot-scope="{ row }">
<div class="table-options">
<el-button type="text" @click="toComment(row.id)">{{ row.msgCount }}</el-button>
</div>
</template>
</el-table-column>
<el-table-column slot="options" width="200px" fixed="right" label="操作" align="center">
<el-table-column slot="options" width="160px" fixed="right" label="操作" align="center">
<template slot-scope="{ row }">
<div class="table-options">
<el-button type="text" @click="toComment(row.id)">评论管理</el-button>
<el-button type="text" @click="toAdd(row.id)">编辑</el-button>
<el-button type="text" @click="toDetail(row.id)">详情</el-button>
<el-button type="text" @click="remove(row.id)">删除</el-button>