Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
saas-lab
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
saas-lab
Commits
328014d8
提交
328014d8
authored
10月 27, 2025
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: 其他系统也支持"是否有理论考试"选项
上级
3a3f9b31
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
5 行增加
和
5 行删除
+5
-5
FormDialog.vue
src/modules/admin/lab/experiment/components/FormDialog.vue
+3
-3
Index.vue
src/modules/student/lab/views/Index.vue
+2
-2
没有找到文件。
src/modules/admin/lab/experiment/components/FormDialog.vue
浏览文件 @
328014d8
...
@@ -8,8 +8,8 @@ import { useGetProjectList } from '@/composables/useGetProjectList'
...
@@ -8,8 +8,8 @@ import { useGetProjectList } from '@/composables/useGetProjectList'
import
{
useGetCourseList
}
from
'../composables/useGetCourseList'
import
{
useGetCourseList
}
from
'../composables/useGetCourseList'
import
{
useGetTeacherList
}
from
'../composables/useGetTeacherList'
import
{
useGetTeacherList
}
from
'../composables/useGetTeacherList'
import
{
useMapStore
}
from
'@/stores/map'
import
{
useMapStore
}
from
'@/stores/map'
import
{
useAppConfig
}
from
'@/composables/useAppConfig'
//
import { useAppConfig } from '@/composables/useAppConfig'
const
appConfig
=
useAppConfig
()
//
const appConfig = useAppConfig()
interface
Props
{
interface
Props
{
data
?:
ExperimentItem
|
null
data
?:
ExperimentItem
|
null
...
@@ -150,7 +150,7 @@ function handleUpdate(params: ExperimentCreateItem) {
...
@@ -150,7 +150,7 @@ function handleUpdate(params: ExperimentCreateItem) {
<el-form-item
label=
"实验总成绩"
prop=
"score"
>
<el-form-item
label=
"实验总成绩"
prop=
"score"
>
<el-input-number
v-model=
"form.score"
:min=
"1"
:max=
"150"
step-strictly
style=
"width: 100%"
/>
<el-input-number
v-model=
"form.score"
:min=
"1"
:max=
"150"
step-strictly
style=
"width: 100%"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"是否有理论考试"
v-if=
"appConfig.system === 'x'"
>
<el-form-item
label=
"是否有理论考试"
>
<el-radio-group
v-model=
"form.exam_status"
>
<el-radio-group
v-model=
"form.exam_status"
>
<el-radio
label=
"0"
>
否
</el-radio>
<el-radio
label=
"0"
>
否
</el-radio>
<el-radio
label=
"1"
>
是
</el-radio>
<el-radio
label=
"1"
>
是
</el-radio>
...
...
src/modules/student/lab/views/Index.vue
浏览文件 @
328014d8
...
@@ -255,7 +255,7 @@ function handleGoToFunction(path: string) {
...
@@ -255,7 +255,7 @@ function handleGoToFunction(path: string) {
</
script
>
</
script
>
<
template
>
<
template
>
<DragPanel
@
resize=
"handleResize"
:isLeftShow=
"
appConfig.system === 'x' &&
experimentInfo?.exam_status === 1"
>
<DragPanel
@
resize=
"handleResize"
:isLeftShow=
"experimentInfo?.exam_status === 1"
>
<template
#
left
>
<template
#
left
>
<div
class=
"lab-left"
>
<div
class=
"lab-left"
>
<el-form
:model=
"form"
label-suffix=
":"
hide-required-asterisk
>
<el-form
:model=
"form"
label-suffix=
":"
hide-required-asterisk
>
...
@@ -322,7 +322,7 @@ function handleGoToFunction(path: string) {
...
@@ -322,7 +322,7 @@ function handleGoToFunction(path: string) {
</
template
>
</
template
>
<
template
#
right
>
<
template
#
right
>
<AppCard>
<AppCard>
<div
class=
"exam-status"
v-if=
"
appConfig.system === 'x' &&
experimentInfo?.exam_status === 1"
>
<div
class=
"exam-status"
v-if=
"experimentInfo?.exam_status === 1"
>
<el-button
type=
"primary"
@
click=
"tabActive = 'exam'"
>
理论试题
</el-button>
<el-button
type=
"primary"
@
click=
"tabActive = 'exam'"
>
理论试题
</el-button>
<el-button
type=
"primary"
@
click=
"tabActive = 'qa'"
>
实操环境
</el-button>
<el-button
type=
"primary"
@
click=
"tabActive = 'qa'"
>
实操环境
</el-button>
</div>
</div>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论