mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 13:26:45 +08:00
--fix bug
This commit is contained in:
@@ -34,6 +34,7 @@ export const routerStudentRank = (obj) => http.get('/admin/router/studentRank',
|
|||||||
//是否优秀学员
|
//是否优秀学员
|
||||||
export const topStudent = (obj) => http.post('/admin/project/topStudent', obj)
|
export const topStudent = (obj) => http.post('/admin/project/topStudent', obj)
|
||||||
export const updateStudent = (obj) => http.post('/admin/student/updateStudent', obj)
|
export const updateStudent = (obj) => http.post('/admin/student/updateStudent', obj)
|
||||||
|
export const auditStudentStatus = (obj) => http.post('/admin/student/auditStudent', obj)
|
||||||
|
|
||||||
//项目概览
|
//项目概览
|
||||||
export const overview = (obj) => http.get('/admin/project/overview', { params: obj })
|
export const overview = (obj) => http.get('/admin/project/overview', { params: obj })
|
||||||
|
|||||||
@@ -1742,7 +1742,7 @@ import AddHomework from "../../components/drawers/CommonHomework.vue";
|
|||||||
import AddTest from "../../components/drawers/CommonTest.vue";
|
import AddTest from "../../components/drawers/CommonTest.vue";
|
||||||
import TableStudent from "@/components/student/TableStudent";
|
import TableStudent from "@/components/student/TableStudent";
|
||||||
import FJUpload from "@/components/common/FJUpload";
|
import FJUpload from "@/components/common/FJUpload";
|
||||||
import { updateStudent } from "@/api/indexProjStu";
|
import {auditStudentStatus} from "@/api/indexProjStu";
|
||||||
import { useStore } from "vuex";
|
import { useStore } from "vuex";
|
||||||
import DropDown from "@/components/common/DropDown";
|
import DropDown from "@/components/common/DropDown";
|
||||||
import { checkPer, checkOwner } from "@/utils/utils";
|
import { checkPer, checkOwner } from "@/utils/utils";
|
||||||
@@ -4879,7 +4879,7 @@ export default defineComponent({
|
|||||||
};
|
};
|
||||||
|
|
||||||
function auditStudent(record) {
|
function auditStudent(record) {
|
||||||
updateStudent(record);
|
auditStudentStatus(record);
|
||||||
}
|
}
|
||||||
|
|
||||||
//二维码
|
//二维码
|
||||||
|
|||||||
Reference in New Issue
Block a user