Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
85ed244e
Commit
85ed244e
authored
Sep 06, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
e6da0cef
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
55 additions
and
18 deletions
+55
-18
v-multiple.vue
src/components/questiontype/v-multiple.vue
+3
-0
examineeManager.vue
src/pages/exam/examineeManager.vue
+10
-2
examtest.vue
src/pages/exam/examtest.vue
+17
-6
examtestreview.vue
src/pages/exam/examtestreview.vue
+20
-8
test.vue
src/pages/test.vue
+5
-2
No files found.
src/components/questiontype/v-multiple.vue
View file @
85ed244e
...
...
@@ -31,6 +31,9 @@
<tr>
<td
colspan=
"2"
>
正确答案:{{data.Answer}}
</td>
</tr>
<tr
v-if=
"data.StundetAnswer"
>
<td
colspan=
"2"
>
考生答案:{{data.StundetAnswer}}
</td>
</tr>
<tr>
<td
colspan=
"2"
>
解析:
<span
v-html=
"data.AnswerParse"
></span></td>
</tr>
...
...
src/pages/exam/examineeManager.vue
View file @
85ed244e
...
...
@@ -139,11 +139,19 @@
},
//跳转到考试详情
gotoExamTest
(
item
)
{
var
qMsg
=
{};
var
qMsg
=
{
Id
:
item
.
Id
,
GuestId
:
item
.
GuestId
,
PaperId
:
item
.
PaperId
,
};
this
.
OpenNewUrl
(
'/exam/examtest'
,
qMsg
);
},
gotoExamTestReview
(
item
)
{
var
qMsg
=
{};
var
qMsg
=
{
Id
:
item
.
Id
,
GuestId
:
item
.
GuestId
,
PaperId
:
item
.
PaperId
,
};
this
.
OpenNewUrl
(
'/exam/examtestreview'
,
qMsg
);
}
},
...
...
src/pages/exam/examtest.vue
View file @
85ed244e
...
...
@@ -352,7 +352,7 @@
vSharingchoose
},
meta
:
{
title
:
"
试卷详情
"
title
:
"
学员考试
"
},
watch
:
{
...
...
@@ -360,9 +360,9 @@
data
()
{
return
{
msg
:
{
Id
:
1
,
GuestId
:
6
0
,
PaperId
:
5
Id
:
0
,
GuestId
:
0
,
PaperId
:
0
},
//试卷对象
DataObj
:
{
...
...
@@ -380,7 +380,17 @@
}
},
created
()
{
if
(
this
.
$route
.
query
)
{
if
(
this
.
$route
.
query
.
Id
&&
this
.
$route
.
query
.
Id
>
0
)
{
this
.
msg
.
Id
=
this
.
$route
.
query
.
Id
;
}
if
(
this
.
$route
.
query
.
GuestId
&&
this
.
$route
.
query
.
GuestId
>
0
)
{
this
.
msg
.
GuestId
=
this
.
$route
.
query
.
GuestId
;
}
if
(
this
.
$route
.
query
.
PaperId
&&
this
.
$route
.
query
.
PaperId
>
0
)
{
this
.
msg
.
PaperId
=
this
.
$route
.
query
.
PaperId
;
}
}
},
mounted
()
{
this
.
GetPaperInfo
()
...
...
@@ -472,4 +482,5 @@
}
}
}
</
script
>
\ No newline at end of file
</
script
>
src/pages/exam/examtestreview.vue
View file @
85ed244e
...
...
@@ -353,7 +353,7 @@
vSharingchoose
},
meta
:
{
title
:
"
试卷详情
"
title
:
"
阅卷
"
},
watch
:
{
...
...
@@ -361,9 +361,10 @@
data
()
{
return
{
msg
:
{
Id
:
1
,
GuestId
:
60
,
PaperId
:
5
Id
:
0
,
GuestId
:
0
,
PaperId
:
0
,
isShowAnswer
:
true
,
},
//试卷对象
DataObj
:
{
...
...
@@ -374,14 +375,24 @@
GroupList
:
[],
//试卷答题分类
},
PaperConfig
:
{},
//试卷配置
isShowAnswer
:
fals
e
,
//是否显示答案
isOperate
:
tru
e
,
//是否可操作
isShowAnswer
:
tru
e
,
//是否显示答案
isOperate
:
fals
e
,
//是否可操作
examScore
:
0
,
//总分,
examNum
:
0
,
//总题量
}
},
created
()
{
if
(
this
.
$route
.
query
)
{
if
(
this
.
$route
.
query
.
Id
&&
this
.
$route
.
query
.
Id
>
0
)
{
this
.
msg
.
Id
=
this
.
$route
.
query
.
Id
;
}
if
(
this
.
$route
.
query
.
GuestId
&&
this
.
$route
.
query
.
GuestId
>
0
)
{
this
.
msg
.
GuestId
=
this
.
$route
.
query
.
GuestId
;
}
if
(
this
.
$route
.
query
.
PaperId
&&
this
.
$route
.
query
.
PaperId
>
0
)
{
this
.
msg
.
PaperId
=
this
.
$route
.
query
.
PaperId
;
}
}
},
mounted
()
{
this
.
GetPaperInfo
()
...
...
@@ -473,4 +484,5 @@
}
}
}
</
script
>
\ No newline at end of file
</
script
>
src/pages/test.vue
View file @
85ed244e
...
...
@@ -97,7 +97,7 @@
},
data
()
{
return
{
ActionStr
:
"/
Class/InitData
"
,
ActionStr
:
"/
AppletLogin/Login
"
,
parameterList
:
[{
Name
:
""
,
Value
:
""
...
...
@@ -156,7 +156,10 @@
tempStr
=
"{"
+
tempStr
.
substring
(
1
,
tempStr
.
length
)
+
"}"
;
data
=
JSON
.
parse
(
tempStr
);
}
data
=
{
Account
:
"13551126755"
,
Password
:
"123456"
};
var
tempMsg
=
{
Msg
:
data
};
...
...
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