lyc-dev #86
|
@ -4,6 +4,7 @@ import useUserStore from '@/store/modules/user'
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
const baseConfig = {
|
const baseConfig = {
|
||||||
// Electron 设置cookie
|
// Electron 设置cookie
|
||||||
|
// url: import.meta.env.VITE_APP_BASE_API,
|
||||||
url: 'https://file.ysaix.com:7868',
|
url: 'https://file.ysaix.com:7868',
|
||||||
//cookie 名称 这里为 token
|
//cookie 名称 这里为 token
|
||||||
name: 'Admin-Token',
|
name: 'Admin-Token',
|
||||||
|
@ -14,13 +15,20 @@ const baseConfig = {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 作业
|
// 作业布置
|
||||||
const homeWork = {
|
const homeWork = {
|
||||||
data: { ...baseConfig},
|
data: { ...baseConfig},
|
||||||
// 完整路径
|
// 完整路径
|
||||||
fullPath: `${baseConfig.url}/teaching/classtaskassign?titleName=%E4%BD%9C%E4%B8%9A%E5%B8%83%E7%BD%AE`
|
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 = {
|
const gk = {
|
||||||
data: { ...baseConfig},
|
data: { ...baseConfig},
|
||||||
|
@ -41,6 +49,7 @@ const aiModel = {
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
homeWork,
|
homeWork,
|
||||||
|
feedback,
|
||||||
gk,
|
gk,
|
||||||
standard,
|
standard,
|
||||||
aiModel
|
aiModel
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
</el-popover>
|
</el-popover>
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex">
|
<div style="display: flex">
|
||||||
|
<el-button @click="handleOutLink('feedback')">作业反馈</el-button>
|
||||||
<el-button @click="handleOutLink('homeWork')">布置作业</el-button>
|
<el-button @click="handleOutLink('homeWork')">布置作业</el-button>
|
||||||
<el-button @click="isDialogOpen = true">上传资料</el-button>
|
<el-button @click="isDialogOpen = true">上传资料</el-button>
|
||||||
<el-button type="primary" style="margin-left: 10px" @click="createFile">新建课件</el-button>
|
<el-button type="primary" style="margin-left: 10px" @click="createFile">新建课件</el-button>
|
||||||
|
|
Loading…
Reference in New Issue