提交 b8320618 authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 2002cc33
......@@ -11,6 +11,8 @@ interface Competition {
start_time: string
end_time: string
student_status: StudentStatus
competition: string
questions: string
}
export function useCompetition() {
......
......@@ -14,7 +14,11 @@ const Case = defineAsyncComponent(() => import('../components/Case.vue'))
const { courseId, experimentId, competition, submit } = useCompetition()
const LAB_URL = computed<string>(() => {
if (competition.value?.competition == '1') {
return `${appConfig.dmlURL || import.meta.env.VITE_DML_URL}/live/test?experiment_id=${experimentId.value}`
} else {
return `${appConfig.dmlURL || import.meta.env.VITE_DML_URL}/operations/plan?experiment_id=${experimentId.value}`
}
})
const isEntry = ref(false)
......
......@@ -113,6 +113,7 @@ export const dmlMenus: DmlMenu[] = [
{ id: 401, name: '创意策划方案', is_checked: false, pid: 40, path: '/operations/plan', children: [] },
{ id: 402, name: '视听运营', is_checked: false, pid: 40, path: '/operations/audiovisual', children: [] },
{ id: 403, name: '流量运营', is_checked: false, pid: 40, path: '/operations/flow', children: [] },
{ id: 404, name: '成绩管理', is_checked: false, pid: 40, path: '/live/score', children: [] },
],
},
]
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论