zhuhao_dev #363

Merged
zhuhao merged 6 commits from zhuhao_dev into main 2024-10-24 17:04:47 +08:00
3 changed files with 6 additions and 6 deletions
Showing only changes of commit 810a734fa5 - Show all commits

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('创建课程-成功')
} }