Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
saas-lab
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
saas-lab
Commits
4b5350bd
提交
4b5350bd
authored
10月 27, 2023
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: 域名提取到环境变量
上级
0ad12710
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
12 行增加
和
8 行删除
+12
-8
.env
.env
+4
-0
useAppConfig.ts
src/composables/useAppConfig.ts
+1
-1
ScoreDialog.vue
src/modules/admin/contest/check/components/ScoreDialog.vue
+1
-1
ViewExam.vue
src/modules/admin/contest/items/components/ViewExam.vue
+1
-1
StudentHome.vue
src/modules/home/components/StudentHome.vue
+1
-1
Game.vue
src/modules/home/views/Game.vue
+2
-2
Exam.vue
src/modules/student/contest/components/Exam.vue
+1
-1
menu.ts
src/stores/menu.ts
+1
-1
没有找到文件。
.env
浏览文件 @
4b5350bd
...
@@ -2,3 +2,7 @@ VITE_LOGIN_URL=https://login.ezijing.com/auth/login/index
...
@@ -2,3 +2,7 @@ VITE_LOGIN_URL=https://login.ezijing.com/auth/login/index
VITE_LAB_URL=https://bi.ezijing.com/bi/viewer?proc=0&action=index
VITE_LAB_URL=https://bi.ezijing.com/bi/viewer?proc=0&action=index
VITE_DML_URL=https://saas-dml.ezijing.com
VITE_DML_URL=https://saas-dml.ezijing.com
VITE_DML_PRO_URL=https://saas-dml-pro.ezijing.com
VITE_DML_PRO_URL=https://saas-dml-pro.ezijing.com
VITE_SAAS_LEARN_URL=https://saas-learn.ezijing.com
VITE_QA_CENTER_URL=https://qa-center.ezijing.com
VITE_X_LEARNING_URL=https://x-learning.ezijing.com
VITE_EXAM_SHOW_URL=https://exam-show.ezijing.com
src/composables/useAppConfig.ts
浏览文件 @
4b5350bd
...
@@ -12,7 +12,7 @@ const appConfigList = [
...
@@ -12,7 +12,7 @@ const appConfigList = [
studentMenus
:
[
studentMenus
:
[
{
name
:
'首页'
,
path
:
'/'
},
{
name
:
'首页'
,
path
:
'/'
},
{
name
:
'我的实验'
,
path
:
'/student/lab'
},
{
name
:
'我的实验'
,
path
:
'/student/lab'
},
{
name
:
'理论学习'
,
path
:
'https://saas-learn.ezijing.com'
}
{
name
:
'理论学习'
,
path
:
import
.
meta
.
env
.
VITE_SAAS_LEARN_URL
}
],
],
adminMenus
:
[
adminMenus
:
[
{
name
:
'首页'
,
path
:
'/'
},
{
name
:
'首页'
,
path
:
'/'
},
...
...
src/modules/admin/contest/check/components/ScoreDialog.vue
浏览文件 @
4b5350bd
...
@@ -88,7 +88,7 @@ function handleSubmit() {
...
@@ -88,7 +88,7 @@ function handleSubmit() {
<el-table-column
label=
"操作"
align=
"center"
>
<el-table-column
label=
"操作"
align=
"center"
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<el-button
text
type=
"primary"
v-if=
"row.type === '2'"
>
<el-button
text
type=
"primary"
v-if=
"row.type === '2'"
>
<a
:href=
"`
https://qa-center.ezijing.com
/exam/markingPaper?exam_id=$
{row.exam_id}
&
id_number=${detail.id_number}`" target="_blank">查看
</a>
<a
:href=
"`
$
{import.meta.env.VITE_QA_CENTER_URL}
/exam/markingPaper?exam_id=${row.exam_id}
&
id_number=${detail.id_number}`" target="_blank">查看
</a>
</el-button>
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
src/modules/admin/contest/items/components/ViewExam.vue
浏览文件 @
4b5350bd
...
@@ -63,7 +63,7 @@ function handleUpdate(row: any) {
...
@@ -63,7 +63,7 @@ function handleUpdate(row: any) {
function
handleView
(
row
:
any
)
{
function
handleView
(
row
:
any
)
{
const
[
paper
]
=
row
.
exam_info
.
paper_list
const
[
paper
]
=
row
.
exam_info
.
paper_list
if
(
!
paper
)
return
if
(
!
paper
)
return
const
qaURL
=
`
https://qa-center.ezijing.com
/paper/detail/
${
paper
.
paper_id
}
`
const
qaURL
=
`
${
import
.
meta
.
env
.
VITE_QA_CENTER_URL
}
/paper/detail/
${
paper
.
paper_id
}
`
window
.
open
(
qaURL
)
window
.
open
(
qaURL
)
}
}
// 删除
// 删除
...
...
src/modules/home/components/StudentHome.vue
浏览文件 @
4b5350bd
...
@@ -34,7 +34,7 @@ function handleContestChange(data: ContestType) {
...
@@ -34,7 +34,7 @@ function handleContestChange(data: ContestType) {
<router-link
to=
"/student/lab"
class=
"link1"
></router-link>
<router-link
to=
"/student/lab"
class=
"link1"
></router-link>
<router-link
to=
"/student/contest/score"
class=
"link2"
></router-link>
<router-link
to=
"/student/contest/score"
class=
"link2"
></router-link>
<router-link
to=
"/student/contest"
class=
"link3"
></router-link>
<router-link
to=
"/student/contest"
class=
"link3"
></router-link>
<a
href=
"https://saas-learn.ezijing.com
"
target=
"_blank"
class=
"link4"
></a>
<a
:href=
"import.meta.env.VITE_SAAS_LEARN_URL
"
target=
"_blank"
class=
"link4"
></a>
</div>
</div>
<div
class=
"select-group"
>
<div
class=
"select-group"
>
<el-select
size=
"large"
placeholder=
"我的实验课程"
@
change=
"handleChange($event, 1)"
>
<el-select
size=
"large"
placeholder=
"我的实验课程"
@
change=
"handleChange($event, 1)"
>
...
...
src/modules/home/views/Game.vue
浏览文件 @
4b5350bd
...
@@ -9,12 +9,12 @@ const studentMenus = [
...
@@ -9,12 +9,12 @@ const studentMenus = [
},
},
{
{
title
:
'理论知识学习'
,
title
:
'理论知识学习'
,
href
:
'https://saas-learn.ezijing.com'
,
href
:
import
.
meta
.
env
.
VITE_SAAS_LEARN_URL
,
icon
:
'/images/game_student_home_icon_2.png'
icon
:
'/images/game_student_home_icon_2.png'
},
},
{
{
title
:
'1+X考试训练'
,
title
:
'1+X考试训练'
,
href
:
'https://x-learning.ezijing.com/exam/exam'
,
href
:
`
${
import
.
meta
.
env
.
VITE_X_LEARNING_URL
}
/exam/exam`
,
icon
:
'/images/game_student_home_icon_3.png'
icon
:
'/images/game_student_home_icon_3.png'
},
},
{
{
...
...
src/modules/student/contest/components/Exam.vue
浏览文件 @
4b5350bd
...
@@ -20,7 +20,7 @@ const currentExam = computed(() => {
...
@@ -20,7 +20,7 @@ const currentExam = computed(() => {
// 考试平台 URL
// 考试平台 URL
const
examURL
=
computed
(()
=>
{
const
examURL
=
computed
(()
=>
{
return
`
https://exam-show.ezijing.com
/exam/
${
currentExam
.
value
?.
exam_id
}?
has_time
=
0
&
has_submit
=
0
&
has_save
=
1
`
return
`
${
import
.
meta
.
env
.
VITE_EXAM_SHOW_URL
}
/exam/
${
currentExam
.
value
?.
exam_id
}?
has_time
=
0
&
has_submit
=
0
&
has_save
=
1
`
// return `
https
:
//dev.ezijing.com:5173/exam/7003551966412406784?has_time=0&has_submit=0&has_save=1`
// return `
https
:
//dev.ezijing.com:5173/exam/7003551966412406784?has_time=0&has_submit=0&has_save=1`
})
})
...
...
src/stores/menu.ts
浏览文件 @
4b5350bd
...
@@ -12,7 +12,7 @@ interface State {
...
@@ -12,7 +12,7 @@ interface State {
const
studentMenus
:
IMenuItem
[]
=
[
const
studentMenus
:
IMenuItem
[]
=
[
{
name
:
'首页'
,
path
:
'/'
},
{
name
:
'首页'
,
path
:
'/'
},
{
name
:
'我的实验'
,
path
:
'/student/lab'
},
{
name
:
'我的实验'
,
path
:
'/student/lab'
},
{
name
:
'理论学习'
,
path
:
'https://saas-learn.ezijing.com'
},
{
name
:
'理论学习'
,
path
:
import
.
meta
.
env
.
VITE_SAAS_LEARN_URL
},
{
name
:
'我的大赛'
,
path
:
'/student/contest'
},
{
name
:
'我的大赛'
,
path
:
'/student/contest'
},
{
name
:
'大赛成绩查询'
,
path
:
'/student/contest/score'
}
{
name
:
'大赛成绩查询'
,
path
:
'/student/contest/score'
}
]
]
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论