Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
saas-lab
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
saas-lab
Commits
f1720c9b
提交
f1720c9b
authored
2月 24, 2025
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: update
上级
5532ea51
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
8 行增加
和
8 行删除
+8
-8
ScoreDialog.vue
src/modules/admin/lab/score/components/ScoreDialog.vue
+4
-4
ScoreViewAutoDialog.vue
...odules/admin/lab/score/components/ScoreViewAutoDialog.vue
+1
-1
Index.vue
src/modules/admin/lab/score/views/Index.vue
+3
-3
没有找到文件。
src/modules/admin/lab/score/components/ScoreDialog.vue
浏览文件 @
f1720c9b
...
@@ -236,21 +236,21 @@ function handleViewAuto(row: any) {
...
@@ -236,21 +236,21 @@ function handleViewAuto(row: any) {
<el-table-column
label=
"操作"
align=
"center"
width=
"180"
>
<el-table-column
label=
"操作"
align=
"center"
width=
"180"
>
<
template
#
default=
"{ row }"
>
<
template
#
default=
"{ row }"
>
<template
v-if=
"row.type === 1"
>
<template
v-if=
"row.type === 1"
>
<el-button
text
type=
"primary"
v-if=
"experiment.report_upload_way === 2"
>
<el-button
link
type=
"primary"
v-if=
"experiment.report_upload_way === 2"
>
<a
:href=
"getOperationUrl(row.type)"
target=
"_blank"
>
批改
</a>
<a
:href=
"getOperationUrl(row.type)"
target=
"_blank"
>
批改
</a>
</el-button>
</el-button>
<template
v-if=
"experiment.report_upload_way === 1"
>
<template
v-if=
"experiment.report_upload_way === 1"
>
<el-button
text
type=
"primary"
v-if=
"file?.url"
>
<el-button
link
type=
"primary"
v-if=
"file?.url"
>
<a
:href=
"file.url"
target=
"_blank"
>
查阅报告
</a>
<a
:href=
"file.url"
target=
"_blank"
>
查阅报告
</a>
</el-button>
</el-button>
<p
style=
"color: red"
v-else
>
未上传
</p>
<p
style=
"color: red"
v-else
>
未上传
</p>
</
template
>
</
template
>
</template>
</template>
<
template
v-if=
"[6, 7, 9, 11, 12].includes(row.type)"
>
<
template
v-if=
"[6, 7, 9, 11, 12].includes(row.type)"
>
<el-button
text
type=
"primary"
@
click=
"handleViewAuto(row)"
>
查看自动评分结果
</el-button>
<el-button
link
type=
"primary"
@
click=
"handleViewAuto(row)"
>
查看自动评分结果
</el-button>
</
template
>
</
template
>
<
template
v-if=
"[6, 7, 8, 9, 10, 11, 12].includes(row.type)"
>
<
template
v-if=
"[6, 7, 8, 9, 10, 11, 12].includes(row.type)"
>
<el-button
text
type=
"primary"
>
<el-button
link
type=
"primary"
>
<a
<a
:href=
"`/admin/lab/score/score?id=$
{props.data.experiment_id}
&
sid=${props.data.student_id}
&
type=${row.type}`"
:href=
"`/admin/lab/score/score?id=$
{props.data.experiment_id}
&
sid=${props.data.student_id}
&
type=${row.type}`"
target="_blank"
target="_blank"
...
...
src/modules/admin/lab/score/components/ScoreViewAutoDialog.vue
浏览文件 @
f1720c9b
...
@@ -119,7 +119,7 @@ function getOperationUrl(row: any) {
...
@@ -119,7 +119,7 @@ function getOperationUrl(row: any) {
<el-dialog
:title=
"title"
>
<el-dialog
:title=
"title"
>
<AppList
v-bind=
"listOptions"
ref=
"appList"
>
<AppList
v-bind=
"listOptions"
ref=
"appList"
>
<template
#
table-x=
"
{ row }">
<template
#
table-x=
"
{ row }">
<el-button
type=
"primary"
text
>
<el-button
type=
"primary"
link
>
<a
:href=
"getOperationUrl(row)"
target=
"_blank"
>
查看
</a>
<a
:href=
"getOperationUrl(row)"
target=
"_blank"
>
查看
</a>
</el-button>
</el-button>
</
template
>
</
template
>
...
...
src/modules/admin/lab/score/views/Index.vue
浏览文件 @
f1720c9b
...
@@ -176,18 +176,18 @@ async function handleReset(row: RecordItem) {
...
@@ -176,18 +176,18 @@ async function handleReset(row: RecordItem) {
</
template
>
</
template
>
<
template
#
table-x=
"{ row }"
>
<
template
#
table-x=
"{ row }"
>
<el-button
<el-button
text
link
type=
"primary"
type=
"primary"
v-if=
"row.status === 1 || row.status === 2"
v-if=
"row.status === 1 || row.status === 2"
@
click=
"handleScore(row)"
@
click=
"handleScore(row)"
v-permission=
"'v1-teacher-record-check'"
v-permission=
"'v1-teacher-record-check'"
>
打分
</el-button
>
打分
</el-button
>
>
<el-button
text
type=
"primary"
v-if=
"row.status === 1 || row.status === 2"
@
click=
"handleReset(row)"
<el-button
link
type=
"primary"
v-if=
"row.status === 1 || row.status === 2"
@
click=
"handleReset(row)"
>
重置
</el-button
>
重置
</el-button
>
>
<el-button
<el-button
text
link
type=
"primary"
type=
"primary"
v-if=
"row.has_score_log"
v-if=
"row.has_score_log"
@
click=
"handleScoreLog(row)"
@
click=
"handleScoreLog(row)"
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论