上课APT错误修复,去除课程预约

This commit is contained in:
朱浩 2024-10-21 17:21:12 +08:00
parent b43422f389
commit 810a734fa5
3 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,9 @@
{ {
"name": "aix-win", "name": "aix-win",
"version": "2.1.15", "version": "2.1.16",
"description": "", "description": "",
"main": "./out/main/index.js", "main": "./out/main/index.js",
"author": "example.com", "author": "上海交大重庆人工智能研究院",
"homepage": "https://electron-vite.org", "homepage": "https://electron-vite.org",
"scripts": { "scripts": {
"format": "prettier --write .", "format": "prettier --write .",

View File

@ -33,7 +33,7 @@
<template #dropdown> <template #dropdown>
<el-dropdown-menu> <el-dropdown-menu>
<el-dropdown-item @click="changePage('/profile')">个人中心</el-dropdown-item> <el-dropdown-item @click="changePage('/profile')">个人中心</el-dropdown-item>
<el-dropdown-item @click="changePage('/classReserv')">课程预约</el-dropdown-item> <!-- <el-dropdown-item @click="changePage('/classReserv')">课程预约</el-dropdown-item>-->
<el-dropdown-item @click="changePage('/class')">班级中心</el-dropdown-item> <el-dropdown-item @click="changePage('/class')">班级中心</el-dropdown-item>
<el-dropdown-item divided command="logout"> <el-dropdown-item divided command="logout">
<span>退出登录</span> <span>退出登录</span>

View File

@ -226,7 +226,7 @@ const getClasscourseList = async type => {
const {classid} = classForm.form const {classid} = classForm.form
const {entpcourseid} = myClassActive.value const {entpcourseid} = myClassActive.value
if (!classid || !entpcourseid) return if (!classid || !entpcourseid) return
const params = {classid, entpcourseid, entpcoursefileid: 0} const params = {classid, entpcourseid, entpcoursefileid: 0, pageSize: 1000}
const res = await Http_Classcourse.listClasscourse(params) const res = await Http_Classcourse.listClasscourse(params)
if (res.code == 200) { if (res.code == 200) {
// zdg: id() // zdg: id()
@ -255,9 +255,9 @@ const createClasscourse = async () => {
entpcourseid, evalid, coursetitle, entpcourseid, evalid, coursetitle,
plandate: curDate, opendate: curDate plandate: curDate, opendate: curDate
} }
await Http_Classcourse.addClasscourseReturnId(params) teacherForm.form.classcourseid = await Http_Classcourse.addClasscourseReturnId(params)
dt.loading = false dt.loading = false
getClasscourseList('update') // // getClasscourseList('update') //
ElMessage.success('创建课程-成功') ElMessage.success('创建课程-成功')
} }