export const defaultProps = { children: 'children', label: 'label' } export const columns = (_this) => [ { prop: 'aircaftCatalogCode', label: '飞机编号' }, { prop: 'aircaftModelName', label: '所属机型' }, { prop: 'aircaftTypeName', label: '所属机种' }, { prop: 'mechanician', label: '机械师' }, { button: true, label: '操作', width: '240px', group: [ { name: '选择', type: 'text', round: false, plain: false, onClick: (row, index, scope) => { _this.select(row) } } ] } ] export const options = { stripe: true, // 斑马纹 mutiSelect: false, // 多选框 index: false, // 显示序号, 多选则 mutiSelect loading: false, // 表格动画 initTable: true, // 是否一挂载就加载数据 border: true, height: 'calc(100vh - 380px)' }