Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
studyweb_Prototype
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
yujiejie
studyweb_Prototype
Commits
6f5f0c34
提交
6f5f0c34
authored
8月 20, 2026
作者:
yujiejie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
验收结论
上级
bef3cabc
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
26 行增加
和
4 行删除
+26
-4
pages-mentor.js
pages-mentor.js
+26
-4
没有找到文件。
pages-mentor.js
浏览文件 @
6f5f0c34
...
@@ -1526,7 +1526,8 @@ function buildMentorDeployCompletenessNotice(sub) {
...
@@ -1526,7 +1526,8 @@ function buildMentorDeployCompletenessNotice(sub) {
var
mentorDeployReviewState
=
{
var
mentorDeployReviewState
=
{
params
:
{},
params
:
{},
tests
:
{},
tests
:
{},
scores
:
{}
scores
:
{},
comments
:
{}
};
};
function
getMentorDeployReviewParams
(
studentId
)
{
function
getMentorDeployReviewParams
(
studentId
)
{
...
@@ -2155,10 +2156,31 @@ function buildMentorDeployScoreCard(sid) {
...
@@ -2155,10 +2156,31 @@ function buildMentorDeployScoreCard(sid) {
'</div>'
;
'</div>'
;
}
}
function
buildMentorDeployConclusionPanel
()
{
// ===== 导师部署验收台:导师评语(按学生索引,草稿不改学生原始提交) =====
function
getMentorDeployReviewComment
(
studentId
)
{
var
sid
=
Number
(
studentId
);
var
sub
=
getMentorDeploySubmission
(
sid
);
var
draft
=
mentorDeployReviewState
.
comments
[
sid
];
if
(
draft
!=
null
)
return
draft
;
return
(
sub
&&
sub
.
review
&&
sub
.
review
.
comment
)
||
''
;
}
function
setMentorDeployReviewComment
(
value
)
{
var
sid
=
Number
(
mentorState
.
deployReviewStudentId
);
mentorDeployReviewState
.
comments
[
sid
]
=
value
;
}
function
buildMentorDeployConclusionPanel
(
sid
)
{
var
comment
=
getMentorDeployReviewComment
(
sid
);
return
'<div class="bg-white rounded-lg border border-[#E5E6EB] p-4">'
+
return
'<div class="bg-white rounded-lg border border-[#E5E6EB] p-4">'
+
'<div class="flex items-center justify-between mb-3"><h3 class="font-semibold text-[#1D2129]">验收结论</h3><span class="text-xs px-2 py-1 rounded bg-[#F2F3F5] text-[#86909C]">下一步接入</span></div>'
+
'<div class="flex items-center justify-between mb-3"><h3 class="font-semibold text-[#1D2129]">验收结论</h3><span class="text-xs px-2 py-1 rounded bg-[#F2F3F5] text-[#86909C]">下一步接入</span></div>'
+
'<div class="rounded-lg bg-[#F7F8FA] p-5 text-center text-sm text-[#86909C]">通过 / 驳回 / 要求补充材料、评分与导师评语将在验收台功能确认后接入。</div>'
+
'<div class="mb-4">'
+
'<label class="text-xs font-medium text-[#4E5969] block mb-1">导师评语</label>'
+
'<textarea id="deployReviewComment" class="input-field text-sm min-h-[110px] resize-none" placeholder="请填写验收结论、发现的问题、修改建议、补充材料要求或后续学习建议…" oninput="setMentorDeployReviewComment(this.value)">'
+
mentorDeployReviewEsc
(
comment
)
+
'</textarea>'
+
'<p class="text-xs text-[#86909C] mt-1">通过时建议填写评语;驳回 / 要求补充材料时必填。</p>'
+
'</div>'
+
'<div class="rounded-lg bg-[#F7F8FA] p-4 text-center text-sm text-[#86909C]">「通过 / 驳回 / 要求补充材料」按钮将在下一步接入。</div>'
+
'</div>'
;
'</div>'
;
}
}
...
@@ -2168,7 +2190,7 @@ function buildMentorDeployReviewPanel(student) {
...
@@ -2168,7 +2190,7 @@ function buildMentorDeployReviewPanel(student) {
var
sub
=
getMentorDeploySubmission
(
sid
);
var
sub
=
getMentorDeploySubmission
(
sid
);
var
taskType
=
(
sub
&&
sub
.
taskType
===
'image-gen'
)
?
'image-gen'
:
'text-model'
;
var
taskType
=
(
sub
&&
sub
.
taskType
===
'image-gen'
)
?
'image-gen'
:
'text-model'
;
var
itemsHtml
=
taskType
===
'image-gen'
?
buildMentorDeployImageGenItems
(
sid
)
:
buildMentorDeployTextModelItems
(
sid
);
var
itemsHtml
=
taskType
===
'image-gen'
?
buildMentorDeployImageGenItems
(
sid
)
:
buildMentorDeployTextModelItems
(
sid
);
return
buildMentorDeployParamsPanel
(
sid
)
+
itemsHtml
+
buildMentorDeployScoreCard
(
sid
)
+
buildMentorDeployConclusionPanel
();
return
buildMentorDeployParamsPanel
(
sid
)
+
itemsHtml
+
buildMentorDeployScoreCard
(
sid
)
+
buildMentorDeployConclusionPanel
(
sid
);
}
}
function
reviewDeployArtifact
(
passed
)
{
function
reviewDeployArtifact
(
passed
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论