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.
54 lines
922 B
54 lines
922 B
export const tableOption = {
|
|
searchMenuSpan: 6,
|
|
columnBtn: false,
|
|
border: true,
|
|
// selection: true,
|
|
index: false,
|
|
indexLabel: '序号',
|
|
stripe: true,
|
|
menuAlign: 'center',
|
|
menuWidth: 350,
|
|
align: 'center',
|
|
refreshBtn: true,
|
|
searchSize: 'mini',
|
|
addBtn: false,
|
|
editBtn: false,
|
|
delBtn: false,
|
|
viewBtn: false,
|
|
props: {
|
|
label: 'label',
|
|
value: 'value'
|
|
},
|
|
column: [{
|
|
label: '用户昵称',
|
|
prop: 'nickName',
|
|
search: true
|
|
}, {
|
|
label: '用户头像',
|
|
prop: 'pic',
|
|
type: 'upload',
|
|
imgWidth: 150,
|
|
listType: 'picture-img',
|
|
slot: true
|
|
}, {
|
|
label: '状态',
|
|
prop: 'status',
|
|
search: true,
|
|
type: 'select',
|
|
slot: true,
|
|
dicData: [
|
|
{
|
|
label: '禁用',
|
|
value: 0
|
|
}, {
|
|
label: '正常',
|
|
value: 1
|
|
}
|
|
]
|
|
}, {
|
|
label: '注册时间',
|
|
prop: 'userRegtime',
|
|
imgWidth: 150
|
|
}]
|
|
}
|