zhuhao_dev #363
|
@ -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 .",
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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('创建课程-成功')
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue