|
@@ -210,7 +210,7 @@ export default {
|
|
|
ids () {
|
|
|
let ids = [];
|
|
|
this.selectionList.forEach(ele => {
|
|
|
- ids.push(ele.id);
|
|
|
+ ids.push(ele.primaryKeyId);
|
|
|
});
|
|
|
return ids.join(",");
|
|
|
}
|
|
@@ -488,7 +488,11 @@ export default {
|
|
|
|
|
|
})
|
|
|
.then(() => {
|
|
|
- this.tabTypeLazyTree(this.treeId, this.projectid,this.page.current,this.page.size)
|
|
|
+ this.tabTypeLazyTree(this.treeId, this.projectid,this.page.current,this.page.size).then((res)=>{
|
|
|
+ console.log(res,'res');
|
|
|
+ this.page.total=res.total;
|
|
|
+ this.loadData=res.records
|
|
|
+ })
|
|
|
|
|
|
this.$message({
|
|
|
type: "success",
|