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
c864abe9
Commit
c864abe9
authored
May 30, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/youjie/thinkapp
parents
b37e7ed0
dde660a2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
10 deletions
+24
-10
examDetailsComponents.vue
src/components/index/scoreDetails/examDetailsComponents.vue
+7
-3
examList.vue
src/components/index/workSituation/examList.vue
+2
-2
examDetails.vue
src/pages/index/examDetails.vue
+12
-4
scoreDetails.vue
src/pages/index/scoreDetails.vue
+3
-1
No files found.
src/components/index/scoreDetails/examDetailsComponents.vue
View file @
c864abe9
<
template
>
<view
class=
"examDetailsComponents-box"
>
<view
class=
"examDetailsComponents activeOne flex"
v-for=
"(item,index) in ExamStu"
:key=
"index"
:class=
"item.StuId ==0?'mismatchActive':''"
>
<view
class=
"examDetailsComponents-time-box flex"
>
<view
class=
"examDetailsComponents-time-box flex"
@
click=
"goStuScoreDetail(item)"
>
<view
class=
"examDetailsComponents-time flex"
>
<view>
{{
item
.
StuName
.
substring
(
0
,
1
)
}}
</view>
<text>
{{
item
.
StuName
.
substring
(
1
,
item
.
StuName
.
length
)
}}
</text>
...
...
@@ -10,7 +10,7 @@
<view
class=
"examDetailsComponents-point"
></view>
</view>
</view>
<view
class=
"examDetailsComponents-center-box"
>
<view
class=
"examDetailsComponents-center-box"
@
click=
"goStuScoreDetail(item)"
>
<view
class=
"Mismatch-box"
v-if=
"item.StuId ===0"
>
<view
class=
"Mismatch-title flex"
>
<van-icon
name=
"warning"
/>
...
...
@@ -72,7 +72,11 @@
showLogin
:
true
,
//多次点击
});
let
methods
=
{
goStuScoreDetail
(
item
){
uni
.
reLaunch
({
url
:
'/pages/index/scoreDetails?examId='
+
item
.
ExamId
+
"&stuId="
+
item
.
StuId
});
}
}
return
{
...
toRefs
(
data
),
...
...
src/components/index/workSituation/examList.vue
View file @
c864abe9
...
...
@@ -5,7 +5,7 @@
<text>
导入考试信息
</text>
</view>
<view
class=
"examList activeOne"
v-for=
"(item,index) in dataList"
:key=
"index"
>
<view
class=
"examList-center-box"
@
click=
"examDetails(item
.ExamId
)"
>
<view
class=
"examList-center-box"
@
click=
"examDetails(item)"
>
<view
class=
"examList-center-line"
></view>
<view
class=
"examList-center flex"
>
<view
class=
"examList-left"
>
...
...
@@ -111,7 +111,7 @@
let
methods
=
{
examDetails
(
item
){
uni
.
reLaunch
({
url
:
'/pages/index/examDetails?examId='
+
item
url
:
'/pages/index/examDetails?examId='
+
item
.
ExamId
+
'&createTime='
+
item
.
CreateTime
+
'&examName='
+
item
.
ExamName
+
'&examNum='
+
item
.
StuNum
+
'&avgScore='
+
item
.
AvgScore
});
},
closepopup
(){
...
...
src/pages/index/examDetails.vue
View file @
c864abe9
...
...
@@ -10,17 +10,17 @@
<view
class=
"jobDetails-content"
>
<view
class=
"jobDetails-content-header"
>
<view
class=
"jobDetails-conten-title flex"
>
<text>
2022年5月28日
</text>
<view>
化学第一次测试
</view>
<text>
{{
CreateTime
}}
</text>
<view>
{{
ExamName
}}
</view>
</view>
<view
class=
"jobDetails-num-box flex"
>
<view
class=
"jobDetails-num flex"
>
<text>
人数
</text>
<view>
15
</view>
<view>
{{
ExamNum
}}
</view>
</view>
<view
class=
"jobDetails-num flex"
>
<text>
平均得分
</text>
<view>
12
</view>
<view>
{{
AvgScore
}}
</view>
</view>
</view>
</view>
...
...
@@ -56,6 +56,10 @@
ExamId
:
0
,
StuName
:
""
},
CreateTime
:
"2022-05-30"
,
ExamName
:
"测试需要绑"
,
ExamNum
:
0
,
AvgScore
:
0
,
ExamStu
:[]
});
let
methods
=
{
...
...
@@ -79,6 +83,10 @@
},
onLoad
(
options
){
this
.
Msg
.
ExamId
=
options
.
examId
;
this
.
CreateTime
=
options
.
createTime
;
this
.
ExamName
=
options
.
examName
;
this
.
ExamNum
=
options
.
examNum
;
this
.
AvgScore
=
options
.
avgScore
;
},
onShow
()
{
this
.
userData
=
uni
.
getStorageSync
(
'userInfo'
);
...
...
src/pages/index/scoreDetails.vue
View file @
c864abe9
...
...
@@ -128,7 +128,8 @@
userData
:
{},
Msg
:{
ExamId
:
0
,
StuUId
:
0
StuUId
:
0
,
StuId
:
0
},
ExamScore
:{},
Loading
:
true
...
...
@@ -160,6 +161,7 @@
onLoad
(
options
){
this
.
Msg
.
ExamId
=
options
.
examId
;
this
.
Msg
.
StuUId
=
options
.
stuUId
;
this
.
Msg
.
StuId
=
options
.
stuId
;
},
onShow
()
{
this
.
userData
=
uni
.
getStorageSync
(
'userInfo'
);
...
...
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