|
|
@@ -86,6 +86,7 @@ export default {
|
|
|
dataSource: [],
|
|
|
errorCount: 0,
|
|
|
task: {},
|
|
|
+ type:null,
|
|
|
// 表头
|
|
|
columns: [
|
|
|
{
|
|
|
@@ -206,6 +207,7 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
this.task.id = this.$route.query.id;
|
|
|
+ this.type = this.$route.query.type;
|
|
|
this.queryInfoById(this.task.id);
|
|
|
|
|
|
},
|
|
|
@@ -305,6 +307,9 @@ export default {
|
|
|
this.spinningAdd = true;
|
|
|
let httpUrl = this.url.importData.replaceAll("taskId", this.task.id);
|
|
|
let params = this.dataSource;
|
|
|
+ for (let i in params){
|
|
|
+ params[i].type = this.type
|
|
|
+ }
|
|
|
let method = 'POST';
|
|
|
let that = this;
|
|
|
// 发送请求
|