文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit ef7afb77 by 李严凡

删除文件前端接口调整

parent 058b230e
...@@ -372,7 +372,7 @@ ...@@ -372,7 +372,7 @@
this.taskId = this.$route.params.taskId, this.taskId = this.$route.params.taskId,
this.axios({ this.axios({
method:'post', method:'post',
params:{ data:{
taskId: this.$route.params.taskId, taskId: this.$route.params.taskId,
}, },
url:'task/getTaskDetail' url:'task/getTaskDetail'
...@@ -388,7 +388,7 @@ ...@@ -388,7 +388,7 @@
this.dynamicValidateForm.layerDomains = res.data.layerDomains; this.dynamicValidateForm.layerDomains = res.data.layerDomains;
this.taskName = res.data.taskName; this.taskName = res.data.taskName;
this.taskId = res.data.taskId; this.taskId = res.data.taskId;
console.log(res.data.domains[0].piecesOptions); // console.log(res.data.domains[0].piecesOptions);
} }
}) })
} }
...@@ -419,7 +419,7 @@ ...@@ -419,7 +419,7 @@
else{ else{
this.url = res.data; this.url = res.data;
this.dynamicValidateForm.domains[this.Index ].fileList.push({name:file[0].name,url:this.url,size:file[0].size}); this.dynamicValidateForm.domains[this.Index ].fileList.push({name:file[0].name,url:this.url,size:file[0].size});
console.log(this.dynamicValidateForm.domains); // console.log(this.dynamicValidateForm.domains);
} }
}) })
}, },
...@@ -526,10 +526,10 @@ ...@@ -526,10 +526,10 @@
} }
} }
} }
alert(this.url); // alert(this.url);
this.axios({ this.axios({
method:'post', method:'post',
params:{ data:{
url : this.url, url : this.url,
}, },
url:'/files/delFile', url:'/files/delFile',
...@@ -553,7 +553,7 @@ ...@@ -553,7 +553,7 @@
} }
this.axios({ this.axios({
method:'post', method:'post',
params:{ data:{
url : this.url, url : this.url,
}, },
url:'/files/delFile', url:'/files/delFile',
...@@ -564,8 +564,6 @@ ...@@ -564,8 +564,6 @@
}) })
}, },
submitForm(formName) { submitForm(formName) {
// console.log(this.dynamicValidateForm.domains[0]);
// alert(this.dynamicValidateForm.domains[0].piecesOptions);
this.axios({ this.axios({
method:'post', method:'post',
url:"/task/createTask", url:"/task/createTask",
......
参加过一次软院心理讲座,但是未录入
有博雅记录的一共4次
总共5次博雅
\ No newline at end of file
参加过一次软院心理讲座,但是未录入
有博雅记录的一共4次
总共5次博雅
\ No newline at end of file
参加过一次软院心理讲座,但是未录入
有博雅记录的一共4次
总共5次博雅
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment