Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
educationStu
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
向伟
educationStu
Commits
567277ea
Commit
567277ea
authored
Sep 17, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
79624c66
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
answer.vue
src/components/subject/answer.vue
+1
-1
index.vue
src/pages/index/index.vue
+15
-15
No files found.
src/components/subject/answer.vue
View file @
567277ea
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"submitBox"
v-if=
"ExamStatus ===
1
"
>
<view
class=
"submitBox"
v-if=
"ExamStatus ===
2
"
>
<view
class=
"submit"
@
click=
"savePaper"
>
立即提交
</view>
<view
class=
"submit"
@
click=
"savePaper"
>
立即提交
</view>
</view>
</view>
<van-toast
id=
"van-toast"
/>
<van-toast
id=
"van-toast"
/>
...
...
src/pages/index/index.vue
View file @
567277ea
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
<van-image
width=
"58rpx"
height=
"66rpx"
fit=
"cover"
:src=
"item.img"
/>
<van-image
width=
"58rpx"
height=
"66rpx"
fit=
"cover"
:src=
"item.img"
/>
</view>
</view>
</view>
</view>
<view
class=
"LearningGarden flex flex_wrap"
>
<
!--
<
view
class=
"LearningGarden flex flex_wrap"
>
<view
<view
v-for=
"(item, index) in learnList"
v-for=
"(item, index) in learnList"
:key=
"index"
:key=
"index"
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
<view
class=
"LearningGarden-item-desc"
>
{{
item
.
desc
}}
</view>
<view
class=
"LearningGarden-item-desc"
>
{{
item
.
desc
}}
</view>
<image
:src=
"item.img"
class=
"LearningGarden-item-img"
/>
<image
:src=
"item.img"
class=
"LearningGarden-item-img"
/>
</view>
</view>
</view>
</view>
-->
<view
class=
"timetable"
>
<view
class=
"timetable"
>
<view
class=
"timetable_item flex flex_between_center"
>
<view
class=
"timetable_item flex flex_between_center"
>
<text
class=
"timetable_title"
>
我的课表
</text>
<text
class=
"timetable_title"
>
我的课表
</text>
...
@@ -280,19 +280,19 @@ export default {
...
@@ -280,19 +280,19 @@ export default {
data
.
baseInfo
[
5
].
desc
=
res
.
Data
.
TeacherName
;
data
.
baseInfo
[
5
].
desc
=
res
.
Data
.
TeacherName
;
}
}
},
},
//根据状态跳转
//根据状态跳转
getItemStatus
(
item
)
{
getItemStatus
(
item
)
{
//ExamStatus 1未开始 2已开始 3已考试 4缺考 5已阅卷
//ExamStatus 1未开始 2已开始 3已考试 4缺考 5已阅卷
if
(
item
.
ExamStatus
==
5
)
{
if
(
item
.
ExamStatus
==
5
)
{
this
.
jumpPage
(
this
.
jumpPage
(
`/pages/exam/examScore?GuestId=
${
item
.
GuestId
}
&&PaperId=
${
item
.
PaperId
}
&&Id=
${
item
.
Id
}
&&Exam_Student_Id=
${
item
.
Exam_Student_Id
}
&&ExamStatus=
${
item
.
ExamStatus
}
`
`/pages/exam/examScore?GuestId=
${
item
.
GuestId
}
&&PaperId=
${
item
.
PaperId
}
&&Id=
${
item
.
Id
}
&&Exam_Student_Id=
${
item
.
Exam_Student_Id
}
&&ExamStatus=
${
item
.
ExamStatus
}
`
)
);
}
else
{
}
else
{
this
.
jumpPage
(
this
.
jumpPage
(
`/pages/exam/examPaper?GuestId=
${
item
.
GuestId
}
&&PaperId=
${
item
.
PaperId
}
&&Id=
${
item
.
Id
}
&&Exam_Student_Id=
${
item
.
Exam_Student_Id
}
&&ExamStatus=
${
item
.
ExamStatus
}
`
`/pages/exam/examPaper?GuestId=
${
item
.
GuestId
}
&&PaperId=
${
item
.
PaperId
}
&&Id=
${
item
.
Id
}
&&Exam_Student_Id=
${
item
.
Exam_Student_Id
}
&&ExamStatus=
${
item
.
ExamStatus
}
`
)
);
}
}
}
},
};
};
onMounted
(()
=>
{
onMounted
(()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment