-
- {{ record.status === 1 ? '禁用' : '启用' }}
-
{{ record.isTop === 1 ? '取消置顶' : '置顶' }}
@@ -132,22 +134,15 @@
const columns = ref([
{ title: '用户名称', dataIndex: 'userName', ellipsis: true, width: 120 },
+ { title: '类型', dataIndex: 'commentType', ellipsis: true, width: 80 },
{ title: '文章标题', dataIndex: 'articleTitle', ellipsis: false, width: 200, customRender: ({ text }) => h('div', { style: { 'white-space': 'pre-wrap', 'word-break': 'break-all', 'line-height': '1.4' } }, text || '-') },
{ title: '评论状态', dataIndex: 'status', ellipsis: true, width: 80, customRender: ({ text }) => h('a-tag', {
color: text === 1 ? 'success' : 'error'
}, text === 1 ? '正常' : '禁用') },
- { title: '是否敏感词', dataIndex: 'isSensitive', ellipsis: true, width: 80, customRender: ({ text }) => h('a-tag', {
- color: text === 1 ? 'error' : 'success'
- }, text === 1 ? '是' : '否') },
{ title: '是否置顶', dataIndex: 'isTop', ellipsis: true, width: 80, customRender: ({ text }) => h('a-tag', {
color: text === 1 ? 'processing' : 'default'
}, text === 1 ? '是' : '否') },
- { title: '点赞数量', dataIndex: 'likeNum', ellipsis: true, width: 80 },
- { title: '是否作者评论', dataIndex: 'isAuthor', ellipsis: true, width: 100, customRender: ({ text }) => h('a-tag', {
- color: text === 1 ? 'magenta' : 'default'
- }, text === 1 ? '是' : '否') },
{ title: '评论内容', dataIndex: 'content', ellipsis: false, width: 200, customRender: ({ text }) => h('div', { style: { 'white-space': 'pre-wrap', 'word-break': 'break-all', 'line-height': '1.4' } }, text || '-') },
- { title: '评论内容(原版)', dataIndex: 'contentWord', ellipsis: false, width: 200, customRender: ({ text }) => h('div', { style: { 'white-space': 'pre-wrap', 'word-break': 'break-all', 'line-height': '1.4' } }, text || '-') },
{ title: '评论图片', dataIndex: 'commentImage', ellipsis: false, width: 150, customRender: ({ text }) => {
if (!text) return h('span', '-');
const images = text.split(',').filter(img => img.trim());
diff --git a/src/views/business/user-comment-clinical-video/user-comment-clinical-video-list.vue b/src/views/business/user-comment-clinical-video/user-comment-clinical-video-list.vue
index a5e935e..b3d2665 100644
--- a/src/views/business/user-comment-clinical-video/user-comment-clinical-video-list.vue
+++ b/src/views/business/user-comment-clinical-video/user-comment-clinical-video-list.vue
@@ -71,11 +71,13 @@
:row-selection="{ selectedRowKeys: selectedRowKeyList, onChange: onSelectChange }"
>
+
+
+ {{ record.parentId ? '回复' : '评论' }}
+
+
-
- {{ record.status === 1 ? '禁用' : '启用' }}
-
{{ record.isTop === 1 ? '取消置顶' : '置顶' }}
@@ -132,22 +134,15 @@
const columns = ref([
{ title: '用户名称', dataIndex: 'userName', ellipsis: true, width: 120 },
+ { title: '类型', dataIndex: 'commentType', ellipsis: true, width: 80 },
{ title: '视频标题', dataIndex: 'videoTitle', ellipsis: false, width: 200, customRender: ({ text }) => h('div', { style: { 'white-space': 'pre-wrap', 'word-break': 'break-all', 'line-height': '1.4' } }, text || '-') },
{ title: '评论状态', dataIndex: 'status', ellipsis: true, width: 80, customRender: ({ text }) => h('a-tag', {
color: text === 1 ? 'success' : 'error'
}, text === 1 ? '正常' : '禁用') },
- { title: '是否敏感词', dataIndex: 'isSensitive', ellipsis: true, width: 80, customRender: ({ text }) => h('a-tag', {
- color: text === 1 ? 'error' : 'success'
- }, text === 1 ? '是' : '否') },
{ title: '是否置顶', dataIndex: 'isTop', ellipsis: true, width: 80, customRender: ({ text }) => h('a-tag', {
color: text === 1 ? 'processing' : 'default'
}, text === 1 ? '是' : '否') },
- { title: '点赞数量', dataIndex: 'likeNum', ellipsis: true, width: 80 },
- { title: '是否作者评论', dataIndex: 'isAuthor', ellipsis: true, width: 100, customRender: ({ text }) => h('a-tag', {
- color: text === 1 ? 'magenta' : 'default'
- }, text === 1 ? '是' : '否') },
{ title: '评论内容', dataIndex: 'content', ellipsis: false, width: 200, customRender: ({ text }) => h('div', { style: { 'white-space': 'pre-wrap', 'word-break': 'break-all', 'line-height': '1.4' } }, text || '-') },
- { title: '评论内容(原版)', dataIndex: 'contentWord', ellipsis: false, width: 200, customRender: ({ text }) => h('div', { style: { 'white-space': 'pre-wrap', 'word-break': 'break-all', 'line-height': '1.4' } }, text || '-') },
{ title: '评论图片', dataIndex: 'commentImage', ellipsis: false, width: 150, customRender: ({ text }) => {
if (!text) return h('span', '-');
const images = text.split(',').filter(img => img.trim());
diff --git a/src/views/business/user-comment-exchange/user-comment-exchange-list.vue b/src/views/business/user-comment-exchange/user-comment-exchange-list.vue
index 3d259e8..b014ee7 100644
--- a/src/views/business/user-comment-exchange/user-comment-exchange-list.vue
+++ b/src/views/business/user-comment-exchange/user-comment-exchange-list.vue
@@ -71,11 +71,13 @@
:row-selection="{ selectedRowKeys: selectedRowKeyList, onChange: onSelectChange }"
>
+
+
+ {{ record.parentId ? '回复' : '评论' }}
+
+
-
- {{ record.status === 1 ? '禁用' : '启用' }}
-
{{ record.isTop === 1 ? '取消置顶' : '置顶' }}
@@ -132,22 +134,15 @@
const columns = ref([
{ title: '用户名称', dataIndex: 'userName', ellipsis: true, width: 120 },
+ { title: '类型', dataIndex: 'commentType', ellipsis: true, width: 80 },
{ title: '交流标题', dataIndex: 'exchangeTitle', ellipsis: false, width: 200, customRender: ({ text }) => h('div', { style: { 'white-space': 'pre-wrap', 'word-break': 'break-all', 'line-height': '1.4' } }, text || '-') },
{ title: '评论状态', dataIndex: 'status', ellipsis: true, width: 80, customRender: ({ text }) => h('a-tag', {
color: text === 1 ? 'success' : 'error'
}, text === 1 ? '正常' : '禁用') },
- { title: '是否敏感词', dataIndex: 'isSensitive', ellipsis: true, width: 80, customRender: ({ text }) => h('a-tag', {
- color: text === 1 ? 'error' : 'success'
- }, text === 1 ? '是' : '否') },
{ title: '是否置顶', dataIndex: 'isTop', ellipsis: true, width: 80, customRender: ({ text }) => h('a-tag', {
color: text === 1 ? 'processing' : 'default'
}, text === 1 ? '是' : '否') },
- { title: '点赞数量', dataIndex: 'likeNum', ellipsis: true, width: 80 },
- { title: '是否作者评论', dataIndex: 'isAuthor', ellipsis: true, width: 100, customRender: ({ text }) => h('a-tag', {
- color: text === 1 ? 'magenta' : 'default'
- }, text === 1 ? '是' : '否') },
{ title: '评论内容', dataIndex: 'content', ellipsis: false, width: 200, customRender: ({ text }) => h('div', { style: { 'white-space': 'pre-wrap', 'word-break': 'break-all', 'line-height': '1.4' } }, text || '-') },
- { title: '评论内容(原版)', dataIndex: 'contentWord', ellipsis: false, width: 200, customRender: ({ text }) => h('div', { style: { 'white-space': 'pre-wrap', 'word-break': 'break-all', 'line-height': '1.4' } }, text || '-') },
{ title: '评论图片', dataIndex: 'commentImage', ellipsis: false, width: 150, customRender: ({ text }) => {
if (!text) return h('span', '-');
const images = text.split(',').filter(img => img.trim());