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
461405ed
Commit
461405ed
authored
May 30, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
2667e5d0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
examList.vue
src/components/index/workSituation/examList.vue
+8
-5
jobDetails.vue
src/pages/index/jobDetails.vue
+1
-0
workSituation.vue
src/pages/index/workSituation.vue
+1
-1
No files found.
src/components/index/workSituation/examList.vue
View file @
461405ed
...
...
@@ -84,8 +84,9 @@
props
:
{
dataList
:[],
},
emits
:[
'change'
],
components
:
{},
setup
(
props
)
{
setup
(
props
,
ctx
)
{
let
{
proxy
}
=
getCurrentInstance
();
...
...
@@ -224,9 +225,11 @@
data
.
userData
=
uni
.
getStorageSync
(
'userInfo'
)
data
.
uploadParm
=
{
Uid
:
data
.
userData
.
Id
,
CourseId
:
data
.
uploadParm
.
CourseId
,
CourseId
:
data
.
Msg
.
CourseId
,
ExamName
:
data
.
uploadParm
.
ExamName
}
data
.
loading
=
true
uni
.
uploadFile
({
url
:
host
+
'/Upload/UploadStuExamScore'
,
filePath
:
file
[
0
].
url
,
...
...
@@ -236,9 +239,7 @@
params
:
JSON
.
stringify
(
data
.
uploadParm
)
},
success
(
res
)
{
data
.
loading
=
true
if
(
res
.
Code
==
1
){
uni
.
showToast
({
title
:
'导入成功'
,
icon
:
'none'
,
...
...
@@ -251,6 +252,8 @@
ExamName
:
''
}
data
.
loading
=
false
// ctx.emit('change')
}
else
{
uni
.
showToast
({
title
:
'导入失败'
,
...
...
@@ -260,12 +263,12 @@
uni
.
hideLoading
();
data
.
loading
=
false
}
this
.
$parent
.
getExamPageList
();
},
fail
(
err
)
{
console
.
log
(
"uploadErr"
,
err
)
}
});
this
.
$parent
.
getExamPageList
();
}
};
let
that
=
methods
;
...
...
src/pages/index/jobDetails.vue
View file @
461405ed
...
...
@@ -82,6 +82,7 @@
},
//获取作业情况列表
getHomeWorkDetailsList
(){
data
.
pageState
=
"loading"
;
proxy
.
$request
(
"/Teacher/GetHomeWorkDetails"
,
data
.
Msg
).
then
(
res
=>
{
if
(
res
){
data
.
jobDetails
=
res
.
Data
...
...
src/pages/index/workSituation.vue
View file @
461405ed
...
...
@@ -45,7 +45,7 @@
>
<operation
v-if=
"tabNme=='作业情况'"
:dataList=
"dataList"
></operation>
<studentList
v-if=
"tabNme=='学生列表'"
:dataList=
"dataList"
></studentList>
<examList
v-if=
"tabNme=='考试信息'"
:dataList=
"dataList"
></examList>
<examList
v-if=
"tabNme=='考试信息'"
:dataList=
"dataList"
:change=
"getExamPageList"
></examList>
</scroll-view>
<Loadmore
:state=
"pageState"
/>
</view>
...
...
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