整理

上级 4525804c
......@@ -4773,7 +4773,7 @@
{ type: 2, name: '评论已满' },
{ type: 3, name: '禁言' },
{ type: 4, name: '评论太快' },
{ type: 5, name: '评论已经到了45' },
{ type: 5, name: '评论已经到了42' },
{ type: 8, name: '其他错误' },
{ type: 9, name: '评论成功' },
],
......@@ -5121,7 +5121,7 @@
;(this.pageSize = e), this.userPage()
},
getTagType: function (e) {
return '未处理' == e ? 'info' : '已经点过赞' == e || '已经收藏过' == e || '已经评论过' == e ? 'success' : '文章状态不能点赞' == e || '收藏已满' == e || '收藏夹不存在' == e || '评论已满' == e || '禁言' == e || '评论已经到了45' == e ? 'danger' : '点赞成功' == e || '收藏成功' == e || '评论成功' == e ? 'success' : '点赞已满' == e || '参数缺失' == e || '其他错误' == e || '取消点赞' == e || '评论太快' == e ? 'warning' : void 0
return '未处理' == e ? 'info' : '已经点过赞' == e || '已经收藏过' == e || '已经评论过' == e ? 'success' : '文章状态不能点赞' == e || '收藏已满' == e || '收藏夹不存在' == e || '评论已满' == e || '禁言' == e || '评论已经到了42' == e ? 'danger' : '点赞成功' == e || '收藏成功' == e || '评论成功' == e ? 'success' : '点赞已满' == e || '参数缺失' == e || '其他错误' == e || '取消点赞' == e || '评论太快' == e ? 'warning' : void 0
},
autoReply: function () {
var e = this
......@@ -7947,7 +7947,7 @@
{ type: 2, name: '评论已满' },
{ type: 3, name: '禁言' },
{ type: 4, name: '评论太快' },
{ type: 5, name: '评论已经到了45' },
{ type: 5, name: '评论已经到了42' },
{ type: 8, name: '其他错误' },
{ type: 9, name: '评论成功' },
],
......@@ -8309,7 +8309,7 @@
;(this.pageSize = e), this.articleInfoPage()
},
getTagType: function (e) {
return '未处理' == e ? 'info' : '已经点过赞' == e || '已经收藏过' == e || '已经评论过' == e ? 'success' : '文章状态不能点赞' == e || '收藏已满' == e || '收藏夹不存在' == e || '评论已满' == e || '禁言' == e || '评论已经到了45' == e ? 'danger' : '点赞成功' == e || '收藏成功' == e || '评论成功' == e ? 'success' : '点赞已满' == e || '参数缺失' == e || '其他错误' == e || '取消点赞' == e || '评论太快' == e ? 'warning' : void 0
return '未处理' == e ? 'info' : '已经点过赞' == e || '已经收藏过' == e || '已经评论过' == e ? 'success' : '文章状态不能点赞' == e || '收藏已满' == e || '收藏夹不存在' == e || '评论已满' == e || '禁言' == e || '评论已经到了42' == e ? 'danger' : '点赞成功' == e || '收藏成功' == e || '评论成功' == e ? 'success' : '点赞已满' == e || '参数缺失' == e || '其他错误' == e || '取消点赞' == e || '评论太快' == e ? 'warning' : void 0
},
},
},
......@@ -8527,7 +8527,7 @@
{ type: 2, name: '评论已满' },
{ type: 3, name: '禁言' },
{ type: 4, name: '评论太快' },
{ type: 5, name: '评论已经到了45' },
{ type: 5, name: '评论已经到了42' },
{ type: 8, name: '其他错误' },
{ type: 9, name: '评论成功' },
],
......@@ -8630,7 +8630,7 @@
this.tripletDayInfoPage(), location.reload()
},
getTagType: function (e) {
return '未处理' == e ? 'info' : '已经点过赞' == e || '已经收藏过' == e || '已经评论过' == e ? 'success' : '文章状态不能点赞' == e || '收藏已满' == e || '收藏夹不存在' == e || '评论已满' == e || '禁言' == e || '评论已经到了45' == e ? 'danger' : '点赞成功' == e || '收藏成功' == e || '评论成功' == e ? 'success' : '点赞已满' == e || '参数缺失' == e || '其他错误' == e || '取消点赞' == e || '评论太快' == e ? 'warning' : void 0
return '未处理' == e ? 'info' : '已经点过赞' == e || '已经收藏过' == e || '已经评论过' == e ? 'success' : '文章状态不能点赞' == e || '收藏已满' == e || '收藏夹不存在' == e || '评论已满' == e || '禁言' == e || '评论已经到了42' == e ? 'danger' : '点赞成功' == e || '收藏成功' == e || '评论成功' == e ? 'success' : '点赞已满' == e || '参数缺失' == e || '其他错误' == e || '取消点赞' == e || '评论太快' == e ? 'warning' : void 0
},
handleCurrentChange: function (e) {
;(this.currentPage = e), this.tripletDayInfoPage()
......
此差异已折叠。
......@@ -282,7 +282,7 @@ export default {
{ type: 2, name: '评论已满' },
{ type: 3, name: '禁言' },
{ type: 4, name: '评论太快' },
{ type: 5, name: '评论已经到了45' },
{ type: 5, name: '评论已经到了42' },
{ type: 8, name: '其他错误' },
{ type: 9, name: '评论成功' },
],
......@@ -605,7 +605,7 @@ export default {
return 'info'
} else if (statusName == '已经点过赞' || statusName == '已经收藏过' || statusName == '已经评论过') {
return 'success'
} else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了45') {
} else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了42') {
return 'danger'
} else if (statusName == '点赞成功' || statusName == '收藏成功' || statusName == '评论成功') {
return 'success'
......
......@@ -296,7 +296,7 @@ export default {
{ type: 2, name: '评论已满' },
{ type: 3, name: '禁言' },
{ type: 4, name: '评论太快' },
{ type: 5, name: '评论已经到了45' },
{ type: 5, name: '评论已经到了42' },
{ type: 8, name: '其他错误' },
{ type: 9, name: '评论成功' },
],
......@@ -617,7 +617,7 @@ export default {
return 'info'
} else if (statusName == '已经点过赞' || statusName == '已经收藏过' || statusName == '已经评论过') {
return 'success'
} else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了45') {
} else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了42') {
return 'danger'
} else if (statusName == '点赞成功' || statusName == '收藏成功' || statusName == '评论成功') {
return 'success'
......
......@@ -50,7 +50,6 @@
<el-tag :type="getTagType(scope.row.commentStatusName)">{{ scope.row.commentStatusName }}</el-tag>
</template>
</el-table-column>
</el-table>
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" :page-sizes="[8, 50, 100, 200, 400]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total"></el-pagination>
</el-main>
......@@ -154,7 +153,7 @@ export default {
{ type: 2, name: '评论已满' },
{ type: 3, name: '禁言' },
{ type: 4, name: '评论太快' },
{ type: 5, name: '评论已经到了45' },
{ type: 5, name: '评论已经到了42' },
{ type: 8, name: '其他错误' },
{ type: 9, name: '评论成功' },
],
......@@ -248,7 +247,7 @@ export default {
return 'info'
} else if (statusName == '已经点过赞' || statusName == '已经收藏过' || statusName == '已经评论过') {
return 'success'
} else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了45') {
} else if (statusName == '文章状态不能点赞' || statusName == '收藏已满' || statusName == '收藏夹不存在' || statusName == '评论已满' || statusName == '禁言' || statusName == '评论已经到了42') {
return 'danger'
} else if (statusName == '点赞成功' || statusName == '收藏成功' || statusName == '评论成功') {
return 'success'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册