Appearance
ehr
{
title: '保护状态',
dataIndex: 'is_sea',
enumSchemas: SeaStatus,
referenceKey: 'good'
width: 80,
},
update: (id, values) =>updateLead(id, values)
if ((isFunction(editable) && editable()) || editable) {
rowActions.unshift({
label: '编辑',
click: actions.handleEdit
})
}
改
if ((isFunction(editable)) || editable) {
const actionConfig = {
label: '删除',
confirm: '确定删除吗?',
click: actions.handleDel,
} as IGridTable.RowAction
if (isFunction(editable)) {
actionConfig.isShow = record => editable(record)
}
rowActions.push(actionConfig)
}erp
{
title: '保护状态',
dataIndex: 'is_sea',
enumable: SeaStatus,
referencable: 'good',
width: 80,
},
update: (id, values, record) => (record.status == 0 ? updateLead(id, values) : update(id, values)),
ehr
tableActions
isShow: Fn ,不支持boolean
needSelection: true,
click: (record, reload) => {
改
click: (ids, rows) => {
component: 'Picker',
改
comoment: 'select'
