Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-qa
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-qa
Commits
c881d369
提交
c881d369
authored
3月 03, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
代码优化
上级
7140b359
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
25 行增加
和
22 行删除
+25
-22
ExamSetting.vue
src/modules/exam/components/ExamSetting.vue
+10
-21
PersonalInfo.vue
src/modules/exam/components/PersonalInfo.vue
+15
-1
没有找到文件。
src/modules/exam/components/ExamSetting.vue
浏览文件 @
c881d369
...
@@ -26,31 +26,20 @@
...
@@ -26,31 +26,20 @@
<el-row>
<el-row>
考试中:
<el-checkbox
v-model=
"config.enabled_lock"
style=
"margin-left: 20px"
>
锁定考试
</el-checkbox>
考试中:
<el-checkbox
v-model=
"config.enabled_lock"
style=
"margin-left: 20px"
>
锁定考试
</el-checkbox>
<div
style=
"margin-left: 120px"
>
<div
style=
"margin-left: 120px"
>
记录考生登录考试次数,只允许登录
<el-input
<div>
style=
"width: 100px"
记录考生登录考试次数,只允许登录
<el-input
style=
"width: 100px"
v-model=
"config.max_login_times"
:disabled=
"config.enabled_lock === false"
></el-input>
次
v-model=
"config.max_login_times"
</div>
:disabled=
"config.enabled_lock === false"
></el-input
>
次
<div>
当登录考试次数超过限定次数,系统会阻止考生登录考试
</div>
<div>
当登录考试次数超过限定次数,系统会阻止考生登录考试
</div>
<el-checkbox
v-model=
"config.enabled_web_login"
:disabled=
"config.enabled_lock === false"
<el-checkbox
v-model=
"config.enabled_web_login"
:disabled=
"config.enabled_lock === false"
>
网页考试
</el-checkbox
>
>
网页考试
</el-checkbox
<br
/>
>
<span>
记录考生离开考试页面次数,每超过
</span>
记录考生离开考试页面次数,每超过
<el-input
<el-input
v-model=
"config.leave_interval"
style=
"width: 100px"
:disabled=
"config.enabled_lock === false"
></el-input>
v-model=
"config.leave_interval"
<span>
秒计为离开1次,只允许离开
</span>
style=
"width: 100px"
<el-input
style=
"width: 100px"
v-model=
"config.max_leave_times"
:disabled=
"config.enabled_lock === false"
></el-input>
次
:disabled=
"config.enabled_web_login === false"
></el-input
>
秒计为离开1次,只允许离开
<el-input
style=
"width: 100px"
v-model=
"config.max_leave_times"
:disabled=
"config.enabled_web_login === false"
></el-input
>
次
<div>
当登录考试次数超过限定次数,系统会阻止考生登录考试
</div>
<div>
当登录考试次数超过限定次数,系统会阻止考生登录考试
</div>
</div>
</div>
</el-row>
</el-row>
<el-row
style=
"margin
-left:
73px"
>
<el-row
style=
"margin
:10px 0 0
73px"
>
<el-checkbox
v-model=
"config.enabled_watermark"
>
答题水印
</el-checkbox>
<el-checkbox
v-model=
"config.enabled_watermark"
>
答题水印
</el-checkbox>
<div
style=
"margin-left: 50px"
>
<div
style=
"margin-left: 50px"
>
考生作答页面,使用场次唯一编号和考生准考证号作为背景水印。
<br
/>
考生作答过程中截屏或者偷录考试内容,可凭此水印追溯到录屏信息。
考生作答页面,使用场次唯一编号和考生准考证号作为背景水印。
<br
/>
考生作答过程中截屏或者偷录考试内容,可凭此水印追溯到录屏信息。
...
...
src/modules/exam/components/PersonalInfo.vue
浏览文件 @
c881d369
...
@@ -14,7 +14,13 @@
...
@@ -14,7 +14,13 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"required"
label=
"必填"
>
<el-table-column
prop=
"required"
label=
"必填"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-switch
v-model=
"scope.row.required"
active-color=
"#13ce66"
inactive-color=
"#ff4949"
>
</el-switch>
<el-switch
v-model=
"scope.row.required"
active-color=
"#13ce66"
inactive-color=
"#ff4949"
@
change=
"requiredChange(scope)"
>
</el-switch>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"sort"
label=
"权重"
>
<el-table-column
prop=
"sort"
label=
"权重"
>
...
@@ -116,6 +122,14 @@ export default {
...
@@ -116,6 +122,14 @@ export default {
},
},
methods
:
{
methods
:
{
// 必填时,允许编辑,考生可见
requiredChange
(
scope
)
{
if
(
scope
.
row
.
required
===
true
)
{
scope
.
row
.
enabled_edit
=
true
scope
.
row
.
enabled_visible
=
true
}
},
// 下一步
nextStep
()
{
nextStep
()
{
const
info
=
{}
const
info
=
{}
info
.
name
=
this
.
tableData
[
0
]
info
.
name
=
this
.
tableData
[
0
]
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论