From fbac2ef72b490297dfb236a01d46fdfa63c46dfb Mon Sep 17 00:00:00 2001 From: xiangbo <975188351@qq.com> Date: Fri, 15 Aug 2025 14:06:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=87=86=E5=A4=87=E5=90=88=E5=B9=B6mai?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/toschoolinfomanage.ts | 23 +++++++++++ src/views/toschoolinfomanage/index.vue | 53 ++++++++++++++++++++------ 2 files changed, 65 insertions(+), 11 deletions(-) create mode 100644 src/api/toschoolinfomanage.ts diff --git a/src/api/toschoolinfomanage.ts b/src/api/toschoolinfomanage.ts new file mode 100644 index 0000000..8d48758 --- /dev/null +++ b/src/api/toschoolinfomanage.ts @@ -0,0 +1,23 @@ +import { http } from "@/utils/http"; +import type { Res } from "@/utils/http/types"; + +/** + * @description 获取学校枚举下拉 + * @param {string} type 枚举类型 type=StatusEnum + * @return {object} + */ +export function getenum(data) { + return http.request>("post", `/back/schools/QueryCombo`, { + data + }); +} +/** + * @description 获取学校枚举下拉 + * @param {string} type 枚举类型 type=StatusEnum + * @return {object} + */ +export function getPageList(data) { + return http.request>("post", `/SchoolBusiness/PageList`, { + data + }); +} diff --git a/src/views/toschoolinfomanage/index.vue b/src/views/toschoolinfomanage/index.vue index 4aea880..a44f29a 100644 --- a/src/views/toschoolinfomanage/index.vue +++ b/src/views/toschoolinfomanage/index.vue @@ -69,7 +69,12 @@ 重置 - + +
+ 新建 + 批量导入 + 导出 +
@@ -126,7 +131,8 @@