Explorar o código

feat:修改新生

DESKTOP-USV654P\pc hai 4 meses
pai
achega
ec5b0cd93d
Modificáronse 1 ficheiros con 21 adicións e 21 borrados
  1. 21 21
      src/views/educational/basicInformation/index.vue

+ 21 - 21
src/views/educational/basicInformation/index.vue

@@ -40,28 +40,28 @@
 
 <template>
   <PageWrapper dense contentFullHeight fixedHeight contentClass="flex">
-    <BasicTree title="年级列表" search class="min-w-[200px]" />
-    <div class="ml-[12px] w-full overflow-x-auto">
-      <BasicTable @register="registerTable">
-        <template #toolbar>
-          <a-button type="primary" @click="handleEdit({}, false)">手动分班</a-button>
-          <a-button type="primary" @click="openImportModal(true, {})">成绩导入</a-button>
-          <a-button>导出</a-button>
-        </template>
-        <template #action="{ record }">
-          <div style="display: flex; justify-content: center">
-            <TableAction
-              :actions="[
-                {
-                  label: '编辑',
-                  onClick: handleEdit.bind(null, record, true),
-                },
-              ]"
-            />
-          </div>
-        </template>
-      </BasicTable>
+    <div class="mr-2 overflow-hidden bg-white h-full w-1/4">
+      <BasicTree title="年级列表" search />
     </div>
+    <BasicTable class="w-3/4" @register="registerTable">
+      <template #toolbar>
+        <a-button type="primary" @click="handleEdit({}, false)">手动分班</a-button>
+        <a-button type="primary" @click="openImportModal(true, {})">成绩导入</a-button>
+        <a-button>导出</a-button>
+      </template>
+      <template #action="{ record }">
+        <div style="display: flex; justify-content: center">
+          <TableAction
+            :actions="[
+              {
+                label: '编辑',
+                onClick: handleEdit.bind(null, record, true),
+              },
+            ]"
+          />
+        </div>
+      </template>
+    </BasicTable>
     <formEdit @register="formReg" @success="reload" />
     <achievementImport @register="importReg" />
   </PageWrapper>