From d5d98601dd0d5827fbc7e503735ecc35b6d6b8f2 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Thu, 02 Dec 2021 09:56:52 +0800
Subject: [PATCH] 版本修复
---
src/views/article/articleWords.vue | 57 +++++++++++----------------------------------------------
1 files changed, 11 insertions(+), 46 deletions(-)
diff --git a/src/views/article/articleWords.vue b/src/views/article/articleWords.vue
index 48bf111..5441d31 100644
--- a/src/views/article/articleWords.vue
+++ b/src/views/article/articleWords.vue
@@ -30,39 +30,13 @@
@click="handleDelete"
>删 除
</el-button>
- <el-button
- type="danger"
- size="small"
- icon="el-icon-s-order"
- plain
- @click="kqcomment"
- >开启评论
- </el-button>
- <el-button
- type="danger"
- size="small"
- icon="el-icon-s-release"
- plain
- @click="gbcomment"
- >关闭评论
- </el-button>
-
</template>
- <template slot-scope="{type,size,row }" slot="menu">
- <el-button v-if="row.publish == '1'" icon="el-icon-close" :size="size" :type="type" @click.stop="updateFb(row)">
- 撤销
- </el-button>
- <el-button v-if="row.publish == '0'" icon="el-icon-check" :size="size" :type="type" @click.stop="updateFb(row)">
- 发布
- </el-button>
- </template>
-
- <template slot-scope="{ row }" slot="publish">
+ <template slot-scope="{ row }" slot="iswords">
<el-tag
>{{
- row.publish == "1" ? "已发布" : row.publish == "0" ? "未发布" : "未发布"
+ row.iswords == "1" ? "是" : row.iswords == "0" ? "否" : "是"
}}
</el-tag>
</template>
@@ -208,41 +182,32 @@
valueFormat: "yyyy-MM-dd HH:mm:ss",
},
{
- label: "发布状态",
- prop: "publish",
+ label: "敏感词预警",
+ prop: "iswords",
searchSpan: 3,
width: 80,
value: "0",
slot: true,
- search: true,
type: "select",
dicData: [
{
- label: "未发布",
+ label: "否",
value: "0",
},
{
- label: "已发布",
+ label: "是",
value: "1",
}
],
},
{
- label: "评论区",
+ label: "敏感词提取",
+ prop: "wordsContent",
+ },
+ {
+ label: "预警次数",
prop: "iscomment",
width: 80,
- slot: true,
- type: "select",
- dicData: [
- {
- label: "关闭",
- value: "0",
- },
- {
- label: "开启",
- value: "1",
- }
- ],
},
{
label: "视频",
--
Gitblit v1.9.3