Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gk-online-teacher
Project
Project
Details
Activity
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
huanglu
gk-online-teacher
Commits
3db23f41
Commit
3db23f41
authored
Dec 23, 2020
by
甘瑞文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
学生
parent
0f8703bb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
index.vue
src/views/answer-screen/cmps/quick-response/index.vue
+1
-1
index.vue
src/views/answer-screen/cmps/select-question/index.vue
+3
-3
index.vue
src/views/answer-screen/index.vue
+4
-4
No files found.
src/views/answer-screen/cmps/quick-response/index.vue
View file @
3db23f41
...
...
@@ -57,7 +57,7 @@ export default {
console
.
log
(
'回执'
,
data
);
});
},
onMsg
(){
onMsg
()
{
},
startCountdown
()
{
...
...
src/views/answer-screen/cmps/select-question/index.vue
View file @
3db23f41
...
...
@@ -46,7 +46,7 @@ export default {
},
data
()
{
return
{
step
:
'unsubmit'
,
//unsubmit submitted stopped
step
:
'unsubmit'
,
//
unsubmit submitted stopped
answer
:
''
,
Options
,
submitting
:
false
,
...
...
@@ -80,9 +80,9 @@ export default {
if
(
!
msg
.
payload
.
eventId
||
!
msg
.
payload
.
type
||
msg
.
payload
.
type
<
0
)
{
return
}
if
(
msg
.
type
===
'question-stop'
&&
msg
.
payload
.
eventId
===
this
.
eventId
)
{
if
(
msg
.
type
===
'question-stop'
&&
msg
.
payload
.
eventId
===
this
.
eventId
)
{
this
.
step
=
'stopped'
return
}
}
},
...
...
src/views/answer-screen/index.vue
View file @
3db23f41
...
...
@@ -62,16 +62,16 @@ export default {
if
(
!
msg
.
payload
.
eventId
||
!
msg
.
payload
.
type
||
msg
.
payload
.
type
<
0
)
{
return
}
if
(
msg
.
type
===
'finish'
)
{
if
(
msg
.
type
===
'finish'
)
{
this
.
currentComponment
=
'locker'
return
}
if
(
msg
.
type
!==
'question'
)
{
if
(
msg
.
type
!==
'question'
)
{
return
}
this
.
eventId
=
msg
.
payload
.
eventId
;
this
.
currentComponment
=
'locker'
;
this
.
$nextTick
(
()
=>
{
this
.
currentComponment
=
'locker'
;
this
.
$nextTick
(()
=>
{
const
{
type
}
=
msg
.
payload
;
if
(
type
===
3
)
{
this
.
currentComponment
=
'select-question'
...
...
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