提交 c2f07248 authored 作者: lihuihui's avatar lihuihui

修改模拟考试

上级 d3e1b1ed
...@@ -202,7 +202,7 @@ export default { ...@@ -202,7 +202,7 @@ export default {
// 获取考卷 // 获取考卷
getTopic() { getTopic() {
const param = { const param = {
type: 1, type: 2,
is_create: this.$route.query.id || this.$route.query.is_create === undefined ? 0 : this.$route.query.is_create is_create: this.$route.query.id || this.$route.query.is_create === undefined ? 0 : this.$route.query.is_create
} }
api.getExamQuestion(param).then(response => { api.getExamQuestion(param).then(response => {
......
...@@ -77,7 +77,7 @@ export default { ...@@ -77,7 +77,7 @@ export default {
}, },
getExamPapers() { getExamPapers() {
const param = { const param = {
type: 1, type: 2,
is_create: 0 is_create: 0
} }
api api
......
...@@ -24,7 +24,7 @@ export default { ...@@ -24,7 +24,7 @@ export default {
methods: { methods: {
getExamStatus() { getExamStatus() {
api api
.getExamStatus({ type: 1 }) .getExamStatus({ type: 2 })
.then(response => { .then(response => {
if (response.status === 0 || response.status === 3) { if (response.status === 0 || response.status === 3) {
this.open() this.open()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论