|
@@ -36,29 +36,29 @@ export default {
|
|
|
return {
|
|
|
columns: [
|
|
|
{
|
|
|
- key: 'name',
|
|
|
- name: '标题',
|
|
|
- width: '160'
|
|
|
- },
|
|
|
- {
|
|
|
key: 'helpGroupName',
|
|
|
name: '分类名称',
|
|
|
width: '180'
|
|
|
},
|
|
|
{
|
|
|
+ key: 'name',
|
|
|
+ name: '标题',
|
|
|
+ minWidth: '160'
|
|
|
+ },
|
|
|
+ {
|
|
|
key: 'sort',
|
|
|
name: '排序',
|
|
|
- minWidth: '120'
|
|
|
+ width: '80'
|
|
|
},
|
|
|
{
|
|
|
key: 'createAt',
|
|
|
name: '创建时间',
|
|
|
- width: '180'
|
|
|
+ width: '140'
|
|
|
},
|
|
|
{
|
|
|
key: 'isShow',
|
|
|
name: '状态',
|
|
|
- width: '180',
|
|
|
+ width: '80',
|
|
|
type: 'tag',
|
|
|
fetchTagType: val => (val ? 'success' : 'info'),
|
|
|
tagName: row => (row.isShow ? '显示' : '隐藏')
|
|
@@ -66,7 +66,7 @@ export default {
|
|
|
{
|
|
|
key: 'action',
|
|
|
name: '操作',
|
|
|
- width: '180',
|
|
|
+ width: '120',
|
|
|
render: (h, { row }) => {
|
|
|
const action = [];
|
|
|
action.push(
|