| | |
| | | { |
| | | icon: 'clarity:note-edit-line', |
| | | onClick: handleEdit.bind(null, record, 'BS 菜单'), |
| | | name: '', |
| | | }, |
| | | { |
| | | icon: 'ant-design:delete-outlined', |
| | |
| | | placement: 'left', |
| | | confirm: handleDelete.bind(null, record), |
| | | }, |
| | | name: '', |
| | | }, |
| | | ]" |
| | | /> |
| | |
| | | { |
| | | icon: 'clarity:note-edit-line', |
| | | onClick: handleEdit.bind(null, record, 'PDA'), |
| | | name: '', |
| | | }, |
| | | { |
| | | icon: 'ant-design:delete-outlined', |
| | |
| | | placement: 'left', |
| | | confirm: handleDelete.bind(null, record), |
| | | }, |
| | | name: '', |
| | | }, |
| | | ]" |
| | | /> |
| | |
| | | rowKey: 'id', |
| | | }); |
| | | |
| | | const [registerTableSecond, { reload:reloadSecond, expandAll:expandAllSecond, expandRows:expandRowsSecond }] = useTable({ |
| | | const [ |
| | | registerTableSecond, |
| | | { reload: reloadSecond, expandAll: expandAllSecond, expandRows: expandRowsSecond }, |
| | | ] = useTable({ |
| | | // const [registerTable, { reload, expandRows }] = useTable({ |
| | | title: '菜单列表', |
| | | api: getMenuList, |
| | |
| | | const apiAction = DeleteMenu(record); |
| | | apiAction.then((onfulfilled) => { |
| | | if (onfulfilled.IsSuccessed) { |
| | | reloadSecond(); |
| | | reload(); |
| | | } |
| | | }); |