Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-learn
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-learn
Commits
506dee41
提交
506dee41
authored
12月 09, 2021
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
3bd7568f
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
5 行增加
和
4 行删除
+5
-4
TitleData.vue
src/modules/teacher/data/exam/components/TitleData.vue
+2
-1
QuestionListItem.vue
.../teacher/data/exam/components/detail/QuestionListItem.vue
+1
-2
ClassDetail.vue
src/modules/teacher/data/exam/views/ClassDetail.vue
+1
-0
TopicData.vue
src/modules/teacher/data/exam/views/TopicData.vue
+1
-1
没有找到文件。
src/modules/teacher/data/exam/components/TitleData.vue
浏览文件 @
506dee41
...
...
@@ -206,7 +206,8 @@ export default {
examination_id: this.examination_id,
chapter_id: this.chapter_id,
question_id: row.id,
type: this.type
type: this.type,
class_id: this.classValue
}
})
},
...
...
src/modules/teacher/data/exam/components/detail/QuestionListItem.vue
浏览文件 @
506dee41
...
...
@@ -81,7 +81,7 @@ export default {
computed
:
{
questionType
()
{
// (1:单选题,2:多选题,3:问答题,5:案例题,6:判断题,7:实操题,8:情景题)
const
questionType
=
parseInt
(
this
.
question
.
question_type
)
const
questionType
=
parseInt
(
this
.
data
.
question_type
)
const
{
answer_count
:
answerCount
=
0
}
=
this
.
data
if
([
5
,
7
,
8
].
includes
(
questionType
))
{
if
(
answerCount
>=
2
)
{
...
...
@@ -143,7 +143,6 @@ export default {
}
},
mounted
()
{
console
.
log
(
this
.
data
,
'=12data'
)
}
}
</
script
>
...
...
src/modules/teacher/data/exam/views/ClassDetail.vue
浏览文件 @
506dee41
...
...
@@ -64,6 +64,7 @@ export default {
if
(
this
.
data
.
answers
[
qParentId
])
{
userAnswerData
=
this
.
data
.
answers
[
qParentId
][
cItem
.
id
]
||
{}
}
cItem
.
question_type
=
cur
.
question_type
return
{
...
cItem
,
userScoreData
,
userAnswerData
}
})
})
...
...
src/modules/teacher/data/exam/views/TopicData.vue
浏览文件 @
506dee41
...
...
@@ -71,7 +71,7 @@ export default {
},
getTopic
()
{
const
query
=
this
.
$route
.
query
const
params
=
{
type
:
query
.
type
,
course_id
:
query
.
course_id
,
examination_id
:
query
.
examination_id
,
chapter_id
:
query
.
chapter_id
,
question_id
:
query
.
question_id
}
const
params
=
{
class_id
:
query
.
class_id
,
type
:
query
.
type
,
course_id
:
query
.
course_id
,
examination_id
:
query
.
examination_id
,
chapter_id
:
query
.
chapter_id
,
question_id
:
query
.
question_id
}
api
.
getQuestionsDetails
(
params
).
then
(
response
=>
{
const
data
=
response
.
data
data
.
options
.
map
((
item
,
index
)
=>
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论