Преглед изворни кода

独立表单库-删除表单修改

duy пре 2 година
родитељ
комит
488158f1b7
1 измењених фајлова са 6 додато и 2 уклоњено
  1. 6 2
      src/views/manager/projectinfo/independent.vue

+ 6 - 2
src/views/manager/projectinfo/independent.vue

@@ -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",