From 63ad2c3598400370dd7da5534659fd7e768a0a4a Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Mon, 16 May 2022 17:29:46 +0800
Subject: [PATCH] 地址替换
---
src/views/article/articleWords.vue | 59 ++++++++++++-----------------------------------------------
1 files changed, 12 insertions(+), 47 deletions(-)
diff --git a/src/views/article/articleWords.vue b/src/views/article/articleWords.vue
index 48bf111..8fca665 100644
--- a/src/views/article/articleWords.vue
+++ b/src/views/article/articleWords.vue
@@ -22,7 +22,7 @@
>
<template slot="menuLeft">
<el-button
- type="danger"
+
size="small"
icon="el-icon-delete"
plain
@@ -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