评论次数

This commit is contained in:
yanran200730
2023-02-20 11:02:21 +08:00
parent 5bac0e1183
commit 68bdd92126

View File

@@ -29,10 +29,10 @@
:current.sync="search.current"
:size.sync="search.size"
@getList="getList">
<el-table-column slot="tags" label="标签">
<el-table-column slot="comment" label="评论数" align="center">
<template slot-scope="{ row }">
<div class="table-tags">
<el-tag type="info" v-for="(item, index) in row.tags" size="small" :key="index">{{ item }}</el-tag>
<div class="table-options">
<el-button type="text" @click="toComment(row.id)">{{ row.msgCount }}</el-button>
</div>
</template>
</el-table-column>
@@ -80,9 +80,9 @@
{ prop: 'examineStatus', label: '状态', align: 'center', format: v => this.dict.getLabel('auditStatus', v) },
{ prop: 'examineOpinion', label: '审核意见', align: 'center' },
{ prop: 'viewCount', label: '浏览次数', align: 'center' },
{ slot: 'comment', label: '评论次数', align: 'center' },
{ prop: 'createUserName', label: '发布人', align: 'center' },
{ prop: 'createTime', label: '发布时间', align: 'center' },
{ slot: 'options', label: '操作', align: 'center' }
{ prop: 'createTime', label: '发布时间', align: 'center' }
],
areaName: '',
unitName: '',