From 3408068080deaddcad552fde747da89928566c18 Mon Sep 17 00:00:00 2001
From: Wang Hao <3388656408@qq.com>
Date: Tue, 23 Apr 2024 22:33:40 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=BB=84=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/clazz/clazz.js | 55 +++++++
src/views/clazz/clazz/index.vue | 250 +++++++++++++++++++++++++++++++-
2 files changed, 304 insertions(+), 1 deletion(-)
diff --git a/src/api/clazz/clazz.js b/src/api/clazz/clazz.js
index 74766c4..c9de132 100644
--- a/src/api/clazz/clazz.js
+++ b/src/api/clazz/clazz.js
@@ -42,3 +42,58 @@ export function delClazz(clazzId) {
method: 'delete'
})
}
+
+//无条件查询班级管理
+export function findUnconditional() {
+ return request({
+ url: '/clazz/clazz/findUnconditional',
+ method: 'get'
+ })
+}
+
+
+
+
+// 查询小组列表
+export function listGroup(query) {
+ return request({
+ url: '/group/group/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询小组详细
+export function getGroup(groupId) {
+ return request({
+ url: '/group/group/' + groupId,
+ method: 'get'
+ })
+}
+
+// 新增小组
+export function addGroup(data) {
+ return request({
+ url: '/group/group',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改小组
+export function updateGroup(data) {
+ return request({
+ url: '/group/group/'+data.groupId,
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除小组
+export function delGroup(groupId) {
+ return request({
+ url: '/group/group/' + groupId,
+ method: 'delete'
+ })
+}
+
diff --git a/src/views/clazz/clazz/index.vue b/src/views/clazz/clazz/index.vue
index 6fa41e7..6a66d18 100644
--- a/src/views/clazz/clazz/index.vue
+++ b/src/views/clazz/clazz/index.vue
@@ -70,6 +70,114 @@
+
+
+
+
+
+ 新增
+
+
+
+
+
+ {{ scope.row.groupId }}
+
+
+
+
+
+ {{ scope.row.groupName }}
+
+
+
+
+
+ {{ scope.row.groupPeople }}
+
+
+
+
+
+ {{ scope.row.groupPersonnel }}
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -89,6 +197,19 @@
@click="handleUpdate(scope.row)"
v-hasPermi="['clazz:clazz:edit']"
>修改
+
+
+ 查看小组
+
+
+
+