| | |
| | | @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> |
| | |
| | | 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: "视频", |