Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
transport-show-h5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
transport-show-h5
Commits
71a9d294
提交
71a9d294
authored
9月 03, 2020
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug修改
上级
709042f5
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
4 行增加
和
4 行删除
+4
-4
exam_api.js
src/modules/exam-module/api/exam_api.js
+1
-1
ExamTopic.vue
src/modules/exam-module/src/ExamTopic.vue
+3
-1
index.vue
src/pages/mockExam/index.vue
+0
-2
没有找到文件。
src/modules/exam-module/api/exam_api.js
浏览文件 @
71a9d294
...
...
@@ -4,5 +4,5 @@ export default class Exam extends BaseAPI {
getPower
=
(
obj
,
url
)
=>
this
.
post
(
url
,
obj
,
{
headers
:
{
'Content-Type'
:
'multipart/form-data'
}
})
examSubmit
=
(
obj
,
url
)
=>
this
.
post
(
url
,
obj
,
{
headers
:
{
'Content-Type'
:
'multipart/form-data'
}
})
deleteCollect
=
(
obj
)
=>
this
.
post
(
'/zy/v2/examination/delete-my-question'
,
obj
,
{
headers
:
{
'Content-Type'
:
'multipart/form-data'
}
})
collectQuestion
=
(
obj
)
=>
this
.
post
(
'/zy/v2/examination/
question/add
'
,
obj
,
{
headers
:
{
'Content-Type'
:
'multipart/form-data'
}
})
collectQuestion
=
(
obj
)
=>
this
.
post
(
'/zy/v2/examination/
add-collection
'
,
obj
,
{
headers
:
{
'Content-Type'
:
'multipart/form-data'
}
})
}
src/modules/exam-module/src/ExamTopic.vue
浏览文件 @
71a9d294
...
...
@@ -27,7 +27,7 @@
<div
class=
"type"
v-if=
"item.type == 2"
>
多选题
</div>
<div
class=
"type"
v-if=
"item.type == 5"
>
案例题
</div>
<div
class=
"type"
v-if=
"item.type == 6"
>
判断题
</div>
<div
class=
"count"
>
{{
dItem
.
num
}}
/
{{
questionsData
.
sheet
.
question_count
}}
</div>
<div
class=
"count"
>
{{
$route
.
query
.
id
==
-
1
?
errPageOrder
:
dItem
.
num
}}
/
{{
questionsData
.
sheet
.
question_count
}}
</div>
</div>
<div
class=
"topic-bt"
v-if=
"item.type == '5'"
v-html=
"dItem.common_content"
></div>
<div
class=
"topic"
v-html=
"dItem.question_content"
>
...
...
@@ -210,6 +210,7 @@ export default {
data
()
{
const
_this
=
this
return
{
errPageOrder
:
1
,
countPage
:
{
currentPage
:
1
,
showQuestionNum
:
10
,
...
...
@@ -265,6 +266,7 @@ export default {
dataNum
&&
(
_this
.
currentNum
=
parseInt
(
dataNum
.
nodeValue
))
_this
.
currentNum
===
_this
.
questionsData
.
sheet
.
question_count
?
_this
.
nextBtnShow
=
false
:
_this
.
nextBtnShow
=
true
dataNum
&&
(
_this
.
requestData
.
answerPage
=
parseInt
(
dataNum
.
nodeValue
))
_this
.
errPageOrder
=
this
.
activeIndex
+
1
},
slidePrevTransitionEnd
:
function
()
{
if
(
this
.
activeIndex
===
this
.
slides
.
length
-
2
)
{
...
...
src/pages/mockExam/index.vue
浏览文件 @
71a9d294
...
...
@@ -104,10 +104,8 @@ export default {
}
})
if
(
window
.
localStorage
.
isExamEnd
===
'true'
)
{
if
(
this
.
$store
.
state
.
isVip
)
{
this
.
abilityExam
()
}
}
},
methods
:
{
changeActive
(
e
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论