You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
132 lines
2.8 KiB
132 lines
2.8 KiB
export default {
|
|
default: [
|
|
{
|
|
key: 'barKey',
|
|
title: 'Key',
|
|
display: ['formA', 'formU', 'table', 'model'],
|
|
fixed: false,
|
|
block: true,
|
|
width: 80
|
|
},
|
|
{
|
|
key: 'barName',
|
|
title: '导航栏名称',
|
|
display: ['formA', 'formU', 'table', 'model'],
|
|
fixed: false,
|
|
block: true,
|
|
width: 80
|
|
},
|
|
{
|
|
key: 'pageTitle',
|
|
title: '页面标题',
|
|
display: ['formA', 'formU', 'table', 'model'],
|
|
fixed: false,
|
|
block: true,
|
|
width: 120
|
|
},
|
|
{
|
|
key: 'iconPath',
|
|
title: '图标',
|
|
display: ['formA', 'formU', 'table', 'model'],
|
|
fixed: false,
|
|
block: 100,
|
|
width: 120,
|
|
tableType: 'image',
|
|
imgWidth: '50px',
|
|
imgHeight: '50px'
|
|
},
|
|
{
|
|
key: 'selectedIconPath',
|
|
title: '选中图标',
|
|
display: ['formA', 'formU', 'table', 'model'],
|
|
fixed: false,
|
|
block: true,
|
|
width: 100,
|
|
tableType: 'image',
|
|
imgWidth: '50px',
|
|
imgHeight: '50px'
|
|
},
|
|
{
|
|
key: 'display',
|
|
title: '状态',
|
|
display: ['formA', 'formU', 'table', 'model'],
|
|
fixed: false,
|
|
block: true,
|
|
width: 80,
|
|
format: (cellValue, index) => {
|
|
if (cellValue === false) {
|
|
return '隐藏'
|
|
} else if (cellValue === true) {
|
|
return '显示'
|
|
} else {
|
|
return '未知'
|
|
}
|
|
}
|
|
}
|
|
],
|
|
customize: [
|
|
{
|
|
key: 'defaultBarName',
|
|
title: '默认导航栏名称',
|
|
display: ['formA', 'formU', 'table', 'model'],
|
|
fixed: false,
|
|
block: true,
|
|
width: 100
|
|
},
|
|
{
|
|
key: 'barName',
|
|
title: '导航栏名称',
|
|
display: ['formA', 'formU', 'table', 'model'],
|
|
fixed: false,
|
|
block: true,
|
|
width: 80
|
|
},
|
|
{
|
|
key: 'pageTitle',
|
|
title: '页面标题',
|
|
display: ['formA', 'formU', 'table', 'model'],
|
|
fixed: false,
|
|
block: true,
|
|
width: 120
|
|
},
|
|
{
|
|
key: 'iconPath',
|
|
title: '图标',
|
|
display: ['formA', 'formU', 'table', 'model'],
|
|
fixed: false,
|
|
block: 100,
|
|
width: 120,
|
|
tableType: 'image',
|
|
imgWidth: '50px',
|
|
imgHeight: '50px'
|
|
},
|
|
{
|
|
key: 'selectedIconPath',
|
|
title: '选中图标',
|
|
display: ['formA', 'formU', 'table', 'model'],
|
|
fixed: false,
|
|
block: true,
|
|
width: 100,
|
|
tableType: 'image',
|
|
imgWidth: '50px',
|
|
imgHeight: '50px'
|
|
},
|
|
{
|
|
key: 'display',
|
|
title: '状态',
|
|
display: ['formA', 'formU', 'table', 'model'],
|
|
fixed: false,
|
|
block: true,
|
|
width: 80,
|
|
format: (cellValue, index) => {
|
|
if (cellValue === false) {
|
|
return '隐藏'
|
|
} else if (cellValue === true) {
|
|
return '显示'
|
|
} else {
|
|
return '未知'
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
|