Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DA-Platform
Overview
Overview
Details
Activity
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
文档服务地址:
http://47.92.0.57:3000/
周报索引地址:
http://47.92.0.57:3000/s/NruNXRYmV
Open sidebar
Berlin
DA-Platform
Commits
b0310f55
Commit
b0310f55
authored
Jun 24, 2020
by
李严凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
传建任务接口修改
parent
2cf0440c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
ReleaseTask.vue
DAPlatform-front/src/components/ReleaseTask.vue
+3
-6
No files found.
DAPlatform-front/src/components/ReleaseTask.vue
View file @
b0310f55
...
@@ -357,12 +357,9 @@
...
@@ -357,12 +357,9 @@
},
},
methods
:
{
methods
:
{
uploadFile
(
fileObj
){
uploadFile
(
fileObj
){
let
formData
=
new
FormData
();
let
formData
=
new
window
.
FormData
();
formData
.
set
(
"file"
,
fileObj
.
file
);
formData
.
set
(
"file"
,
fileObj
.
file
);
this
.
axios
({
this
.
axios
(
"/files/upload"
,
formData
,{
method
:
'post'
,
url
:
'http:://localhost:9100/api/files/upload'
,
params
:
formData
,
headers
:{
headers
:{
"Content-type"
:
"multipart/form-data"
"Content-type"
:
"multipart/form-data"
}
}
...
@@ -396,7 +393,7 @@
...
@@ -396,7 +393,7 @@
uploadSuccessL
(
response
,
file
,
fileList
){
uploadSuccessL
(
response
,
file
,
fileList
){
this
.
fName
=
file
.
name
;
this
.
fName
=
file
.
name
;
this
.
url
=
file
.
url
;
this
.
url
=
file
.
url
;
this
.
dynamicValidateForm
.
layerDo
am
ins
[
this
.
Index
].
fileName
.
push
({
name
:
this
.
fName
,
url
:
this
.
url
});
this
.
dynamicValidateForm
.
layerDo
ma
ins
[
this
.
Index
].
fileName
.
push
({
name
:
this
.
fName
,
url
:
this
.
url
});
// console.log(this.fName);
// console.log(this.fName);
// console.log(this.dynamicValidateForm.layerDoamins[this.Index].fileName);
// console.log(this.dynamicValidateForm.layerDoamins[this.Index].fileName);
},
},
...
...
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