|
@@ -38,6 +38,7 @@
|
|
|
api: getBaseClassCourseGetAllCoursesAndTextbooks,
|
|
|
useSearchForm: true,
|
|
|
showTableSetting: true,
|
|
|
+ resizeHeightOffset: 200,
|
|
|
rowSelection: {
|
|
|
type: 'checkbox',
|
|
|
onChange: (selectedRowKeys, selectedRows) => {
|
|
@@ -86,7 +87,7 @@
|
|
|
rowKey: 'id',
|
|
|
columns: tableColumns as any,
|
|
|
showTableSetting: true,
|
|
|
- resizeHeightOffset: 400,
|
|
|
+ resizeHeightOffset: 200,
|
|
|
pagination: false,
|
|
|
rowSelection: {
|
|
|
type: 'checkbox',
|
|
@@ -158,16 +159,12 @@
|
|
|
title="课程选择"
|
|
|
>
|
|
|
<div class="flex flex-row">
|
|
|
- <div class="w-[700px] h-[700px]">
|
|
|
- <BasicTable @register="allTable" />
|
|
|
- </div>
|
|
|
- <div class="w-[700px] h-[700px]">
|
|
|
- <BasicTable @register="selectTable">
|
|
|
- <template #toolbar>
|
|
|
- <a-button @loading="isLoading" type="primary" @click="handleClear">批量移出</a-button>
|
|
|
- </template>
|
|
|
- </BasicTable>
|
|
|
- </div>
|
|
|
+ <BasicTable class="w-1/2" @register="allTable" />
|
|
|
+ <BasicTable class="w-1/2" @register="selectTable">
|
|
|
+ <template #toolbar>
|
|
|
+ <a-button @loading="isLoading" type="primary" @click="handleClear">批量移出</a-button>
|
|
|
+ </template>
|
|
|
+ </BasicTable>
|
|
|
</div>
|
|
|
</BasicModal>
|
|
|
</template>
|