Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
aad7cc0a
Commit
aad7cc0a
authored
Aug 11, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文件压缩上传
parent
9d8f23eb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
upload.vue
pages/teamLeader/components/upload.vue
+19
-19
No files found.
pages/teamLeader/components/upload.vue
View file @
aad7cc0a
...
...
@@ -36,7 +36,10 @@ export default {
uni
.
showLoading
({
title
:
"上传中"
,
});
that
.
upFile
(
res
.
tempFilePaths
[
0
],
(
uploadRes
)
=>
{
uni
.
getImageInfo
({
src
:
res
.
tempFilePaths
[
0
],
success
:
function
(
image
)
{
that
.
upFile
(
image
.
path
,
(
uploadRes
)
=>
{
let
BusinessLicense
=
JSON
.
parse
(
uploadRes
.
data
);
...
...
@@ -44,19 +47,16 @@ export default {
url
:
''
,
name
:
''
}
// console.log('图片名称:',BusinessLicense);
const
tempFilePath
=
BusinessLicense
.
FileName
;
infor
.
name
=
tempFilePath
;
infor
.
url
=
that
.
hostErpFile
+
BusinessLicense
.
FilePath
that
.
$emit
(
'onSuccess'
,
infor
);
// console.log("infor", infor);
},
err
=>
{
uni
.
hideLoading
()
});
console
.
log
(
"res.tempFilePaths[0]"
,
res
.
tempFilePaths
[
0
]);
}
});
},
});
},
...
...
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