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
b7c63260
Commit
b7c63260
authored
May 30, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8a808686
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
16 deletions
+9
-16
examList.vue
src/components/index/workSituation/examList.vue
+9
-16
No files found.
src/components/index/workSituation/examList.vue
View file @
b7c63260
...
...
@@ -94,10 +94,10 @@
showPhone
:
false
,
showLogin
:
false
,
//多次点击
show
:
false
,
params
:
{
Uid
:
''
,
CourseId
:
''
,
ExamName
:
''
uploadParm
:
{
Uid
:
726615
,
CourseId
:
44977497
,
ExamName
:
'
考试测试530
'
},
fileList
:[],
Msg
:{
...
...
@@ -144,26 +144,19 @@
})
return
}
let
params
=
{
// Uid: data.params.Uid,
// CourseId: data.params.CourseId,
// ExamName: data.params.ExamName,
Uid
:
1
,
CourseId
:
1
,
ExamName
:
''
,
}
uni
.
uploadFile
({
url
:
host
+
'/Upload/UploadStuExamScore'
,
filePath
:
file
[
0
].
url
,
name
:
'file'
,
formData
:
{
'myfile'
:
file
[
0
],
'params'
:
JSON
.
stringify
(
params
)
},
myfile
:
file
[
0
],
params
:
JSON
.
stringify
(
data
.
uploadParm
)
},
success
(
res
)
{
uni
.
hideLoading
();
uni
.
showToast
({
title
:
res
.
Message
,
title
:
res
.
Code
==
1
?
'导入成功'
:
'导入失败'
,
icon
:
'none'
,
duration
:
500
})
...
...
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