|
@@ -26,7 +26,7 @@
|
|
|
</a-button>
|
|
|
</template>
|
|
|
<template #action="{ record }">
|
|
|
- <div style="display: flex; justify-content: center;">
|
|
|
+ <div style="display: flex; justify-content: center">
|
|
|
<TableAction
|
|
|
:actions="[
|
|
|
{
|
|
@@ -65,7 +65,7 @@
|
|
|
const searchInfo = reactive<Recordable>({});
|
|
|
const { hasPermission } = usePermission();
|
|
|
onMounted(async () => {
|
|
|
- treeData.value = ((await getStudentmanagerTree({})) as unknown) as TreeItem[];
|
|
|
+ treeData.value = (await getStudentmanagerTree({})) as unknown as TreeItem[];
|
|
|
});
|
|
|
const index = ref(0);
|
|
|
const [registerModal, { openModal }] = useModal();
|
|
@@ -91,6 +91,13 @@
|
|
|
// slots: { customRender: 'action' },
|
|
|
// fixed: 'right',
|
|
|
// },
|
|
|
+ customRow: () => {
|
|
|
+ return {
|
|
|
+ onClick: () => {
|
|
|
+ return false;
|
|
|
+ },
|
|
|
+ };
|
|
|
+ },
|
|
|
rowSelection: {
|
|
|
type: 'checkbox',
|
|
|
onSelectAll: (selected: any, selectedRows: any, changeRows: any) => {
|