lyc-dev #86

Merged
lyc merged 3 commits from lyc-dev into main 2024-07-30 17:03:02 +08:00
2 changed files with 11 additions and 1 deletions
Showing only changes of commit b65cd95558 - Show all commits

View File

@ -4,6 +4,7 @@ import useUserStore from '@/store/modules/user'
const userStore = useUserStore()
const baseConfig = {
// Electron 设置cookie
// url: import.meta.env.VITE_APP_BASE_API,
url: 'https://file.ysaix.com:7868',
//cookie 名称 这里为 token
name: 'Admin-Token',
@ -14,13 +15,20 @@ const baseConfig = {
}
// 作业
// 作业布置
const homeWork = {
data: { ...baseConfig},
// 完整路径
fullPath: `${baseConfig.url}/teaching/classtaskassign?titleName=%E4%BD%9C%E4%B8%9A%E5%B8%83%E7%BD%AE`
}
// 作业反馈
const feedback = {
data: { ...baseConfig},
// 完整路径
fullPath: `${baseConfig.url}/teaching/classtaskassign?titleName=作业反馈`
}
// 高考研读
const gk = {
data: { ...baseConfig},
@ -41,6 +49,7 @@ const aiModel = {
export default {
homeWork,
feedback,
gk,
standard,
aiModel

View File

@ -38,6 +38,7 @@
</el-popover>
</div>
<div style="display: flex">
<el-button @click="handleOutLink('feedback')">作业反馈</el-button>
<el-button @click="handleOutLink('homeWork')">布置作业</el-button>
<el-button @click="isDialogOpen = true">上传资料</el-button>
<el-button type="primary" style="margin-left: 10px" @click="createFile">新建课件</el-button>