Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
studyweb_Prototype
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
yujiejie
studyweb_Prototype
Commits
7a5bd910
提交
7a5bd910
authored
8月 20, 2026
作者:
yujiejie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
学生提交页面优化2.0
上级
c3447af9
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
7 行增加
和
7 行删除
+7
-7
pages-student.js
pages-student.js
+7
-7
没有找到文件。
pages-student.js
浏览文件 @
7a5bd910
...
...
@@ -3288,23 +3288,23 @@ function buildDeployArtifactPanel() {
<div class="grid grid-cols-2 gap-4">
<div>
<label class="text-sm font-medium text-[#4E5969] block mb-2">API 地址</label>
<input class="input-field font-mono" placeholder="https://xxx.autodl.com/v1/chat/completions" value="`
+
escapeAutodlHtml
(
a
.
apiUrl
||
''
)
+
`" oninput="setDeployArtifact('apiUrl', this.value)" `
+
(
locked
?
'disabled'
:
''
)
+
`>
<input class="input-field font-mono
`
+
(
locked
?
'bg-[#F2F3F5] cursor-not-allowed'
:
''
)
+
`
" placeholder="https://xxx.autodl.com/v1/chat/completions" value="`
+
escapeAutodlHtml
(
a
.
apiUrl
||
''
)
+
`" oninput="setDeployArtifact('apiUrl', this.value)" `
+
(
locked
?
'disabled'
:
''
)
+
`>
</div>
<div>
<label class="text-sm font-medium text-[#4E5969] block mb-2">API Key</label>
<input class="input-field font-mono" placeholder="sk-..." value="`
+
escapeAutodlHtml
(
a
.
apiKey
||
''
)
+
`" oninput="setDeployArtifact('apiKey', this.value)" `
+
(
locked
?
'disabled'
:
''
)
+
`>
<input class="input-field font-mono
`
+
(
locked
?
'bg-[#F2F3F5] cursor-not-allowed'
:
''
)
+
`
" placeholder="sk-..." value="`
+
escapeAutodlHtml
(
a
.
apiKey
||
''
)
+
`" oninput="setDeployArtifact('apiKey', this.value)" `
+
(
locked
?
'disabled'
:
''
)
+
`>
</div>
<div>
<label class="text-sm font-medium text-[#4E5969] block mb-2">模型名称 <span class="text-rose-500">*</span></label>
<input class="input-field font-mono" placeholder="qwen3.5-4b" value="`
+
escapeAutodlHtml
(
a
.
modelName
||
''
)
+
`" oninput="setDeployArtifact('modelName', this.value)" `
+
(
locked
?
'disabled'
:
''
)
+
`>
<input class="input-field font-mono
`
+
(
locked
?
'bg-[#F2F3F5] cursor-not-allowed'
:
''
)
+
`
" placeholder="qwen3.5-4b" value="`
+
escapeAutodlHtml
(
a
.
modelName
||
''
)
+
`" oninput="setDeployArtifact('modelName', this.value)" `
+
(
locked
?
'disabled'
:
''
)
+
`>
</div>
<div>
<label class="text-sm font-medium text-[#4E5969] block mb-2">请求路径</label>
<input class="input-field font-mono" placeholder="/v1/chat/completions" value="`
+
escapeAutodlHtml
(
a
.
apiPath
||
''
)
+
`" oninput="setDeployArtifact('apiPath', this.value)" `
+
(
locked
?
'disabled'
:
''
)
+
`>
<input class="input-field font-mono
`
+
(
locked
?
'bg-[#F2F3F5] cursor-not-allowed'
:
''
)
+
`
" placeholder="/v1/chat/completions" value="`
+
escapeAutodlHtml
(
a
.
apiPath
||
''
)
+
`" oninput="setDeployArtifact('apiPath', this.value)" `
+
(
locked
?
'disabled'
:
''
)
+
`>
</div>
<div>
<label class="text-sm font-medium text-[#4E5969] block mb-2">端口 <span class="text-rose-500">*</span></label>
<input class="input-field font-mono" placeholder="8000" value="`
+
escapeAutodlHtml
(
a
.
port
||
''
)
+
`" oninput="setDeployArtifact('port', this.value)" `
+
(
locked
?
'disabled'
:
''
)
+
`>
<input class="input-field font-mono
`
+
(
locked
?
'bg-[#F2F3F5] cursor-not-allowed'
:
''
)
+
`
" placeholder="8000" value="`
+
escapeAutodlHtml
(
a
.
port
||
''
)
+
`" oninput="setDeployArtifact('port', this.value)" `
+
(
locked
?
'disabled'
:
''
)
+
`>
</div>
</div>
<div class="flex gap-3">
...
...
@@ -3331,11 +3331,11 @@ function buildDeployReportPanel() {
<p class="text-sm text-[#86909C] leading-relaxed">部署产物提交时可以同步提交实操报告,也可以先保存报告、后保存产物。</p>
<div>
<label class="text-sm font-medium text-[#4E5969] block mb-2">本次任务目标 <span class="text-rose-500">*</span></label>
<input class="input-field" placeholder="例如:完成 Qwen3.5-4B OpenAI 兼容 API 部署验收" value="`
+
escapeAutodlHtml
(
r
.
taskName
||
''
)
+
`" oninput="setDeployReportField('taskName', this.value)" `
+
(
locked
?
'disabled'
:
''
)
+
`>
<input class="input-field
`
+
(
locked
?
'bg-[#F2F3F5] cursor-not-allowed'
:
''
)
+
`
" placeholder="例如:完成 Qwen3.5-4B OpenAI 兼容 API 部署验收" value="`
+
escapeAutodlHtml
(
r
.
taskName
||
''
)
+
`" oninput="setDeployReportField('taskName', this.value)" `
+
(
locked
?
'disabled'
:
''
)
+
`>
</div>
<div>
<label class="text-sm font-medium text-[#4E5969] block mb-2">部署过程 <span class="text-rose-500">*</span></label>
<textarea class="input-field min-h-[110px] resize-none" placeholder="描述环境检查、启动过程、遇到的问题和关键操作" oninput="setDeployReportField('process', this.value)" `
+
(
locked
?
'disabled'
:
''
)
+
`>`
+
escapeAutodlHtml
(
r
.
process
||
''
)
+
`</textarea>
<textarea class="input-field min-h-[110px] resize-none
`
+
(
locked
?
'bg-[#F2F3F5] cursor-not-allowed'
:
''
)
+
`
" placeholder="描述环境检查、启动过程、遇到的问题和关键操作" oninput="setDeployReportField('process', this.value)" `
+
(
locked
?
'disabled'
:
''
)
+
`>`
+
escapeAutodlHtml
(
r
.
process
||
''
)
+
`</textarea>
</div>
<div>
<label class="text-sm font-medium text-[#4E5969] block mb-2">问题与解决</label>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论