Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thinkApp
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
游洁
thinkApp
Commits
6052739c
Commit
6052739c
authored
May 30, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
24e770a9
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
8 deletions
+9
-8
line.vue
src/components/charts/line.vue
+1
-1
penta.vue
src/components/charts/penta.vue
+2
-2
triangle.vue
src/components/charts/triangle.vue
+1
-1
scoreDetails.vue
src/pages/index/scoreDetails.vue
+5
-4
No files found.
src/components/charts/line.vue
View file @
6052739c
...
...
@@ -75,7 +75,7 @@
let
cate
=
[];
let
serNum
=
[];
let
serScore
=
[];
props
.
DifficultyList
.
forEach
(
item
=>
{
props
.
DifficultyList
&&
props
.
DifficultyList
.
forEach
(
item
=>
{
cate
.
push
(
item
.
Difficulty
);
serNum
.
push
(
item
.
Count
);
serScore
.
push
(
item
.
Score
);
...
...
src/components/charts/penta.vue
View file @
6052739c
...
...
@@ -18,7 +18,7 @@
onMounted
,
}
from
"vue"
;
export
default
{
props
:
[
"ModuleList"
]
,
props
:
{
ModuleList
:[]}
,
setup
(
props
)
{
let
data
=
reactive
({
chartData
:
{},
...
...
@@ -55,7 +55,7 @@
let
cate
=
[];
//模块名称
let
grRate
=
[];
//个人得分率
let
avgRate
=
[];
//平均得分率
props
.
ModuleList
.
forEach
(
item
=>
{
props
.
ModuleList
&&
props
.
ModuleList
.
forEach
(
item
=>
{
cate
.
push
(
item
.
Module
);
grRate
.
push
((
item
.
ScoreRate
*
100
).
toFixed
(
0
));
avgRate
.
push
((
item
.
AvgScoreRate
*
100
).
toFixed
(
0
));
...
...
src/components/charts/triangle.vue
View file @
6052739c
...
...
@@ -57,7 +57,7 @@
let
cate
=
[];
let
grScore
=
[];
let
avgScore
=
[];
props
.
DifficultyRateList
.
forEach
(
item
=>
{
props
.
DifficultyRateList
&&
props
.
DifficultyRateList
.
forEach
(
item
=>
{
cate
.
push
(
item
.
Difficulty
);
grScore
.
push
((
item
.
ScoreRate
*
100
).
toFixed
(
0
));
avgScore
.
push
((
item
.
AvgScoreRate
*
100
).
toFixed
(
0
));
...
...
src/pages/index/scoreDetails.vue
View file @
6052739c
...
...
@@ -59,21 +59,21 @@
<text>
各板块掌握情况
</text>
</view>
<view
class=
"index-student-information"
>
<penta
:ModuleList=
"ExamScore.ModuleList"
></penta>
<penta
:ModuleList=
"ExamScore.ModuleList"
v-if=
"!Loading"
></penta>
<allGraspTheSituation
:ModuleList=
"ExamScore.ModuleList"
></allGraspTheSituation>
</view>
<view
class=
"scoreDetails-title flex"
>
<text>
试卷难度分析
</text>
</view>
<view
class=
"index-student-information"
>
<line
:DifficultyList=
"ExamScore.DifficultyList"
></line>
<line
:DifficultyList=
"ExamScore.DifficultyList"
v-if=
"!Loading"
></line>
<dfficultyAnalysis
:DifficultyList=
"ExamScore.DifficultyList"
></dfficultyAnalysis>
</view>
<view
class=
"scoreDetails-title flex"
>
<text>
难度掌握情况
</text>
</view>
<view
class=
"index-student-information"
>
<triangle
:DifficultyRateList=
"ExamScore.DifficultyRateList"
></triangle>
<triangle
:DifficultyRateList=
"ExamScore.DifficultyRateList"
v-if=
"!Loading"
></triangle>
<graspTheSituation
:DifficultyRateList=
"ExamScore.DifficultyRateList"
></graspTheSituation>
</view>
</view>
...
...
@@ -131,7 +131,7 @@
StuUId
:
0
},
ExamScore
:{},
Loading
:
true
});
let
methods
=
{
...
...
@@ -139,6 +139,7 @@
getExamStuScore
(){
proxy
.
$request
(
"/Exam/GetExamStuScoreInfo"
,
data
.
Msg
).
then
(
res
=>
{
data
.
ExamScore
=
res
.
Data
;
data
.
Loading
=
false
;
})
},
back
()
{
...
...
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