|
@@ -90,7 +90,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <Qute ref="Qute" :projectid="projectid" :wbsid="wbsid"> </Qute>
|
|
|
+ <Qute ref="Qute" :projectid="projectid" :wbsid="wbsid" :onLoad1="onLoad1"> </Qute>
|
|
|
<Relation ref="Relation" :GLExcelFrom="GLExcelFrom" :wbsid="wbsid"></Relation>
|
|
|
<!-- 编辑元素 -->
|
|
|
<!-- 编辑元素 -->
|
|
@@ -426,14 +426,22 @@ export default {
|
|
|
},
|
|
|
onLoad(page){
|
|
|
console.log(page,'page');
|
|
|
+ console.log(this.projectid,'this.projectid');
|
|
|
if(this.treeId){
|
|
|
- this.tabTypeLazyTreeAll(this.treeId, page.currentPage,page.pageSize).then((res)=>{
|
|
|
+ this.tabTypeLazyTree(this.treeId,this.projectid, page.currentPage,page.pageSize).then((res)=>{
|
|
|
+ this.loadData=res.records
|
|
|
+ this.page.total=res.total
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
+ onLoad1(){
|
|
|
+ if(this.treeId){
|
|
|
+ this.tabTypeLazyTree(this.treeId,this.projectid, this.page.current,this.page.size).then((res)=>{
|
|
|
this.loadData=res.records
|
|
|
this.page.total=res.total
|
|
|
})
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
resetChange(item){
|
|
|
console.log(item);
|
|
|
this.tabTypeLazyTree(this.treeId, this.projectid,this.page.current,this.page.size).then((res)=>{
|
|
@@ -477,7 +485,6 @@ export default {
|
|
|
type: "warning"
|
|
|
})
|
|
|
.then(() => {
|
|
|
- console.log(this.ids,'this.ids');
|
|
|
let ids=this.ids.split(',')
|
|
|
ids.forEach((item)=>{
|
|
|
return removeTableByCondition(item,this.projectid,this.wbsid);
|