内容发布新增审核功能

This commit is contained in:
yanran200730
2022-03-18 14:30:56 +08:00
parent af65ba44ab
commit e67e0fbb82
6 changed files with 43 additions and 15 deletions

View File

@@ -17,7 +17,7 @@
:current.sync="search.current"
:size.sync="search.size"
@getList="getList">
<el-table-column slot="options" width="220px" fixed="right" label="操作" align="center">
<el-table-column slot="options" width="160px" fixed="right" label="操作" align="center">
<template slot-scope="{ row }">
<div class="table-options">
<el-button type="text" @click="toAdd(row.id)">编辑</el-button>
@@ -95,7 +95,8 @@
colConfigs: [
{ prop: 'moduleName', label: '模块名称', align: 'left', width: '200px' },
{ prop: 'menuName', label: '关联菜单', align: 'center' },
{ prop: 'categoryStr', label: '文章分类', align: 'center' }
{ prop: 'categoryStr', label: '文章分类', align: 'center' },
{ prop: 'needExamine', label: '是否审核', align: 'center', formart: v => v === '0' ? '否' : '是' }
],
cateColConfigs: [
{prop: 'categoryName', label: '分类名称', align: 'center'}