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
5d2331fa
Commit
5d2331fa
authored
May 27, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
24b90cb5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
20 deletions
+33
-20
examDetailsComponents.vue
src/components/index/scoreDetails/examDetailsComponents.vue
+11
-13
examDetails.vue
src/pages/index/examDetails.vue
+22
-7
No files found.
src/components/index/scoreDetails/examDetailsComponents.vue
View file @
5d2331fa
...
...
@@ -40,11 +40,11 @@
</view>
</view>
</view>
<view
class=
"examDetailsComponents activeOne flex"
>
<view
class=
"examDetailsComponents activeOne flex"
v-for=
"(item,index) in ExamStu"
:key=
"index"
>
<view
class=
"examDetailsComponents-time-box flex"
>
<view
class=
"examDetailsComponents-time flex"
>
<view>
周
</view>
<text>
潇潇
</text>
<view>
{{
item
.
StuName
.
substring
(
0
,
1
)
}}
</view>
<text>
{{
item
.
StuName
.
substring
(
1
,
item
.
StuName
.
length
)
}}
</text>
</view>
<view
class=
"examDetailsComponents-line"
>
<view
class=
"examDetailsComponents-point"
></view>
...
...
@@ -52,22 +52,20 @@
</view>
<view
class=
"examDetailsComponents-center-box"
>
<view
class=
"examDetailsComponents-center flex"
>
<view
class=
"examDetailsComponents-left flex"
>
<view
class=
"operation-state flex"
>
<view
class=
"operation-state-img"
></view>
<view
class=
"operation-state-text"
>
批阅
</view>
</view>
<view
class=
"operation-name"
>
2022-05-22
</view>
</view>
<view
class=
"examDetailsComponents-right flex"
>
<view
class=
"homework-score flex"
>
<view
class=
"homework-score-title"
>
得分
<text>
86
</text>
分
得分
<text>
{{
item
.
TScore
}}
</text>
分
</view>
</view>
<view
class=
"homework-score flex"
>
<view
class=
"homework-score-title"
>
排名
<text>
{{
item
.
Rank
}}
</text>
名
</view>
</view>
<view
class=
"homework-score flex"
>
<view
class=
"homework-score-title"
>
得分率
<text>
86
</text>
分
排名率
<text>
{{
item
.
RankRate
*
100
}}
</text>
%
</view>
</view>
</view>
...
...
@@ -87,7 +85,7 @@
export
default
{
props
:
{
ExamStu
:[]
},
components
:
{},
setup
()
{
...
...
src/pages/index/examDetails.vue
View file @
5d2331fa
...
...
@@ -24,7 +24,7 @@
</view>
</view>
<view
class=
"index-student-information"
>
<examDetailsComponents></examDetailsComponents>
<examDetailsComponents
:ExamStu=
"ExamStu"
></examDetailsComponents>
</view>
</view>
</view>
...
...
@@ -47,16 +47,24 @@
examDetailsComponents
},
setup
()
{
let
{
proxy
}
=
getCurrentInstance
();
let
data
=
reactive
({
obj
:
{
Name
:
''
,
Photo
:
''
,
Msg
:
{
ExamId
:
0
,
StuName
:
""
},
showPhone
:
false
,
showLogin
:
true
,
//多次点击
ExamStu
:[]
});
let
methods
=
{
//获取考试学生列表
getExamStuList
(){
proxy
.
$request
(
"/Exam/GetExamStuList"
,
data
.
Msg
).
then
(
res
=>
{
console
.
log
(
res
.
data
);
data
.
ExamStu
=
res
.
Data
;
})
},
back
(){
uni
.
reLaunch
({
url
:
'/pages/index/workSituation?tabNme='
+
'考试信息'
...
...
@@ -67,6 +75,13 @@
...
toRefs
(
data
),
...
methods
};
},
onLoad
(
options
){
this
.
Msg
.
ExamId
=
options
.
examId
;
},
onShow
()
{
this
.
userData
=
uni
.
getStorageSync
(
'userInfo'
);
this
.
getExamStuList
();
}
};
</
script
>
...
...
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