| | |
| | | @expanded-rows-change="onExpandedRChg" |
| | | > |
| | | <template #toolbar> |
| | | <a-button type="primary" @click="handleCreate('BS 菜单')"> 新增菜单 </a-button> |
| | | <a-button type="primary" @click="handleCreate('BS')"> 新增菜单 </a-button> |
| | | </template> |
| | | <template #action="{ record }"> |
| | | <TableAction |
| | | :actions="[ |
| | | { |
| | | icon: 'clarity:note-edit-line', |
| | | onClick: handleEdit.bind(null, record, 'BS 菜单'), |
| | | onClick: handleEdit.bind(null, record, 'BS'), |
| | | name: '', |
| | | }, |
| | | { |
| | |
| | | // const [registerTable, { reload, expandRows }] = useTable({ |
| | | title: '菜单列表', |
| | | api: getMenuList, |
| | | searchInfo: { menuName: 'BS 菜单' }, |
| | | searchInfo: { menuName: 'BS' }, |
| | | columns, |
| | | formConfig: { |
| | | labelWidth: 120, |