|
@@ -340,6 +340,7 @@ import UserForm from './UserForm.vue'
|
|
|
import StudentImportForm from '@/views/system/workroomCollege/user/studentImportForm.vue'
|
|
|
import UserAssignRoleForm from './UserAssignRoleForm.vue'
|
|
|
import { useRouter } from 'vue-router'
|
|
|
+import {getStudentForTeacher} from "@/api/system/user";
|
|
|
|
|
|
|
|
|
defineOptions({ name: 'SystemUser' })
|
|
@@ -373,7 +374,7 @@ const queryFormRef = ref() // 搜索的表单
|
|
|
const getList = async () => {
|
|
|
loading.value = true
|
|
|
try {
|
|
|
- const data = await UserApi.getUserPageForTeacher(queryParams)
|
|
|
+ const data = await UserApi.getStudentForTeacher(queryParams)
|
|
|
console.log(data)
|
|
|
list.value = data.list
|
|
|
total.value = data.total
|