|
@@ -169,6 +169,7 @@ export default {
|
|
|
id:child.id,
|
|
id:child.id,
|
|
|
title: item.title,
|
|
title: item.title,
|
|
|
dataDetails: child.dataDetails,
|
|
dataDetails: child.dataDetails,
|
|
|
|
|
+ identification:item.title,
|
|
|
details: child.details,
|
|
details: child.details,
|
|
|
remark: child.remark
|
|
remark: child.remark
|
|
|
});
|
|
});
|
|
@@ -185,7 +186,7 @@ export default {
|
|
|
if (currentItem) {
|
|
if (currentItem) {
|
|
|
result.push(currentItem);
|
|
result.push(currentItem);
|
|
|
}
|
|
}
|
|
|
- currentTitle = row.title;
|
|
|
|
|
|
|
+ currentTitle =row.title;
|
|
|
currentItem = {
|
|
currentItem = {
|
|
|
title: currentTitle,
|
|
title: currentTitle,
|
|
|
itmes: []
|
|
itmes: []
|
|
@@ -195,7 +196,8 @@ export default {
|
|
|
id:row.id,
|
|
id:row.id,
|
|
|
dataDetails: row.dataDetails,
|
|
dataDetails: row.dataDetails,
|
|
|
details: row.details,
|
|
details: row.details,
|
|
|
- remark: row.remark
|
|
|
|
|
|
|
+ remark: row.remark,
|
|
|
|
|
+ identification:row.identification,
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
|
if (currentItem) {
|
|
if (currentItem) {
|
|
@@ -355,7 +357,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
//下载
|
|
//下载
|
|
|
ConferenceProceduresFileDown(){
|
|
ConferenceProceduresFileDown(){
|
|
|
- this.unflattenData();
|
|
|
|
|
|
|
+ // this.unflattenData();
|
|
|
var url = "/api/Groups/ConferenceProceduresFileDown"
|
|
var url = "/api/Groups/ConferenceProceduresFileDown"
|
|
|
var that = this
|
|
var that = this
|
|
|
this.$axios({
|
|
this.$axios({
|
|
@@ -381,32 +383,35 @@ export default {
|
|
|
},
|
|
},
|
|
|
//标题输入
|
|
//标题输入
|
|
|
titleinput(val){
|
|
titleinput(val){
|
|
|
- console.log(this.porojectname);
|
|
|
|
|
- for (let b = 0; b < this.porojectindex.length; b++) {
|
|
|
|
|
- // this.tableDatass.splice( this.porojectindex,1)
|
|
|
|
|
- for (let m = 0; m < this.porojectname.length; m++) {
|
|
|
|
|
- this.porojectname[m].title=val;
|
|
|
|
|
- this.tableDatass.splice(this.porojectindex[b],1,this.porojectname[m])
|
|
|
|
|
|
|
+ for (let b = 0; b < this.tableDatass.length; b++) {
|
|
|
|
|
+ if(this.tableDatass[b].identification==this.porojectindex){
|
|
|
|
|
+ this.tableDatass[b].title=val;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- this.tableDatass=this.porojectname.concat(this.tableDatass)
|
|
|
|
|
|
|
+ this.porojectindex=val;
|
|
|
|
|
+
|
|
|
|
|
+ // for (let b = 0; b < this.porojectindex.length; b++) {
|
|
|
|
|
+ // // this.tableDatass.splice( this.porojectindex,1)
|
|
|
|
|
+ // for (let m = 0; m < this.porojectname.length; m++) {
|
|
|
|
|
+ // this.porojectname[m].title=val;
|
|
|
|
|
+ // this.tableDatass.splice(this.porojectindex[b],1,this.porojectname[m])
|
|
|
|
|
+ // }
|
|
|
|
|
+ // }
|
|
|
|
|
+ // this.tableDatass=this.porojectname.concat(this.tableDatass)
|
|
|
this.unflattenData();
|
|
this.unflattenData();
|
|
|
this.flattenData();
|
|
this.flattenData();
|
|
|
this.getSpanArr();
|
|
this.getSpanArr();
|
|
|
},
|
|
},
|
|
|
//获得焦点
|
|
//获得焦点
|
|
|
huodejiaodian(val){
|
|
huodejiaodian(val){
|
|
|
- console.log(val);
|
|
|
|
|
this.porojectname=[];
|
|
this.porojectname=[];
|
|
|
- this.porojectindex=[];
|
|
|
|
|
|
|
+ this.porojectindex=val;
|
|
|
for (let y = 0; y < this.tableDatass.length; y++) {
|
|
for (let y = 0; y < this.tableDatass.length; y++) {
|
|
|
if (this.tableDatass[y].title==val) {
|
|
if (this.tableDatass[y].title==val) {
|
|
|
this.porojectname.push(this.tableDatass[y])
|
|
this.porojectname.push(this.tableDatass[y])
|
|
|
- this.porojectindex.push(y)
|
|
|
|
|
|
|
+ // this.porojectindex.push(y)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- console.log(this.tableDatass);
|
|
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
mounted(){
|
|
mounted(){
|