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
70d4d8fc
Commit
70d4d8fc
authored
May 31, 2022
by
youjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/youjie/thinkapp
parents
8d55b242
13a8b22b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
11 deletions
+9
-11
examList.vue
src/components/index/workSituation/examList.vue
+7
-9
workSituation.vue
src/pages/index/workSituation.vue
+2
-2
No files found.
src/components/index/workSituation/examList.vue
View file @
70d4d8fc
...
@@ -89,6 +89,7 @@
...
@@ -89,6 +89,7 @@
export
default
{
export
default
{
props
:
{
props
:
{
dataList
:[],
dataList
:[],
CourseId
:
0
},
},
emits
:[
'change'
],
emits
:[
'change'
],
components
:
{},
components
:
{},
...
@@ -105,7 +106,7 @@
...
@@ -105,7 +106,7 @@
// Uid:726615,
// Uid:726615,
// CourseId:44977497,
// CourseId:44977497,
Uid
:
0
,
Uid
:
0
,
CourseId
:
44977497
,
CourseId
:
props
.
CourseId
,
ExamName
:
''
ExamName
:
''
},
},
fileList
:[],
fileList
:[],
...
@@ -134,19 +135,15 @@
...
@@ -134,19 +135,15 @@
},
},
// 重新导入
// 重新导入
clickReimport
(
item
){
clickReimport
(
item
){
// data.uploadParm.ExamName = item.ExamName
// data.uploadParm.Uid = data.userData.Id
// data.uploadParm.CourseId = data.Msg.CourseId
// data.uploadParm.ExamName = tem.ExamName
uni
.
showModal
({
uni
.
showModal
({
title
:
'提示'
,
title
:
'提示'
,
content
:
'重新导入将要
删除该
数据,是否继续'
,
content
:
'重新导入将要
清除此考试
数据,是否继续'
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
.
confirm
)
{
if
(
res
.
confirm
)
{
that
.
DelExamInfo
(
item
)
that
.
DelExamInfo
(
item
)
}
else
if
(
res
.
cancel
)
{
}
else
if
(
res
.
cancel
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'已取消
删除
'
,
title
:
'已取消'
,
icon
:
'none'
,
icon
:
'none'
,
duration
:
500
duration
:
500
})
})
...
@@ -166,7 +163,8 @@
...
@@ -166,7 +163,8 @@
icon
:
'none'
,
icon
:
'none'
,
duration
:
500
duration
:
500
})
})
data
.
show
=
true
data
.
show
=
true
;
proxy
.
$parent
.
getExamPageList
();
}
}
})
})
},
},
...
@@ -231,7 +229,7 @@
...
@@ -231,7 +229,7 @@
data
.
userData
=
uni
.
getStorageSync
(
'userInfo'
)
data
.
userData
=
uni
.
getStorageSync
(
'userInfo'
)
data
.
uploadParm
=
{
data
.
uploadParm
=
{
Uid
:
data
.
userData
.
Id
,
Uid
:
data
.
userData
.
Id
,
CourseId
:
data
.
Msg
.
CourseId
,
CourseId
:
data
.
uploadParm
.
CourseId
,
ExamName
:
data
.
uploadParm
.
ExamName
ExamName
:
data
.
uploadParm
.
ExamName
}
}
data
.
loading
=
true
data
.
loading
=
true
...
...
src/pages/index/workSituation.vue
View file @
70d4d8fc
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
>
>
<operation
v-if=
"tabNme=='作业情况'"
:dataList=
"homeWorks"
></operation>
<operation
v-if=
"tabNme=='作业情况'"
:dataList=
"homeWorks"
></operation>
<studentList
@
selected=
"selectStuHandler"
v-if=
"tabNme=='学生列表'"
:dataList=
"students"
></studentList>
<studentList
@
selected=
"selectStuHandler"
v-if=
"tabNme=='学生列表'"
:dataList=
"students"
></studentList>
<examList
v-if=
"tabNme=='考试信息'"
:dataList=
"exams"
></examList>
<examList
v-if=
"tabNme=='考试信息'"
:dataList=
"exams"
:CourseId=
"currentCourseId"
></examList>
</scroll-view>
</scroll-view>
<Loadmore
:state=
"pageState"
/>
<Loadmore
:state=
"pageState"
/>
</view>
</view>
...
@@ -136,7 +136,7 @@
...
@@ -136,7 +136,7 @@
},
},
changeCourseHandler
(
id
){
changeCourseHandler
(
id
){
console
.
log
(
id
,
'........................'
)
console
.
log
(
id
,
'........................'
)
data
.
Msg
.
c
ourseId
=
id
data
.
Msg
.
C
ourseId
=
id
data
.
OperationMsg
.
courseId
=
id
data
.
OperationMsg
.
courseId
=
id
data
.
currentCourseId
=
id
data
.
currentCourseId
=
id
methods
.
getCourseStuList
()
methods
.
getCourseStuList
()
...
...
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