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
7c1e8464
Commit
7c1e8464
authored
Jul 01, 2020
by
李严凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改任务时删除文件
parent
a4d383a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
ReleaseTask.vue
DAPlatform-front/src/components/ReleaseTask.vue
+6
-2
~$功能组_接口文档.docx
文档/~$功能组_接口文档.docx
+0
-0
No files found.
DAPlatform-front/src/components/ReleaseTask.vue
View file @
7c1e8464
...
...
@@ -380,7 +380,7 @@
alert
(
'无法修改任务'
);
}
else
{
alert
(
res
.
data
.
taskId
);
//
alert(res.data.taskId);
this
.
dynamicValidateForm
.
domains
=
res
.
data
.
domains
;
this
.
dynamicValidateForm
.
pictureDomains
=
res
.
data
.
pictureDomains
;
this
.
dynamicValidateForm
.
layerDomains
=
res
.
data
.
layerDomains
;
...
...
@@ -511,8 +511,11 @@
handleRemoveP
(
file
,
fileList
){
var
flag
=
0
;
for
(
var
i
=
0
;
i
<
this
.
dynamicValidateForm
.
pictureDomains
.
length
&&
flag
==
0
;
i
++
){
// alert("Inin");
for
(
var
j
=
0
;
j
<
this
.
dynamicValidateForm
.
pictureDomains
[
i
].
fileList
.
length
;
j
++
){
if
(
file
.
name
==
this
.
dynamicValidateForm
.
pictureDomains
[
i
].
fileFile
[
j
].
name
){
// alert(file.name);
// alert(this.dynamicValidateForm.pictureDomains[i].fileList[j].name);
if
(
file
.
name
==
this
.
dynamicValidateForm
.
pictureDomains
[
i
].
fileList
[
j
].
name
){
this
.
url
=
this
.
dynamicValidateForm
.
pictureDomains
[
i
].
fileList
[
j
].
url
;
this
.
dynamicValidateForm
.
pictureDomains
[
i
].
fileList
.
splice
(
j
,
1
);
flag
=
1
;
...
...
@@ -520,6 +523,7 @@
}
}
}
alert
(
this
.
url
);
this
.
axios
({
method
:
'post'
,
params
:{
...
...
文档/~$功能组_接口文档.docx
0 → 100644
View file @
7c1e8464
File added
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