| | |
| | | import { ProTableOperationBtn } from '@bole-core/components'; |
| | | import { Message } from '@/utils'; |
| | | import { ElMessageBox } from 'element-plus'; |
| | | import { DrawerTableDataItem } from '../types'; |
| | | |
| | | defineOptions({ |
| | | name: 'SubModuleEditDrawer', |
| | |
| | | modelValue: boolean; |
| | | title: string; |
| | | type: SubModuleType; |
| | | data: ValueOf<API.AllSubModule>; |
| | | data: DrawerTableDataItem[]; |
| | | }; |
| | | |
| | | const props = withDefaults(defineProps<Props>(), { |
| | |
| | | //批量添加 |
| | | (e: 'onBatchAddColumn', keys: string[]): void; |
| | | (e: 'onAddFastBtn', fastBtn: FastBtn): void; |
| | | (e: 'onSaveSubModule', subModule: API.ModuleButtonDto | API.ModuleColumnDto): void; |
| | | (e: 'onSaveSubModule', subModule: DrawerTableDataItem): void; |
| | | (e: 'onBatchSaveColumn'): void; |
| | | (e: 'onDeleteSubModule', subModule: API.ModuleButtonDto | API.ModuleColumnDto): void; |
| | | (e: 'onDeleteSubModule', subModule: DrawerTableDataItem): void; |
| | | }>(); |
| | | |
| | | const innerVisible = computed({ |