Parcourir la source

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

duy il y a 2 ans
Parent
commit
488158f1b7
1 fichiers modifiés avec 6 ajouts et 2 suppressions
  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",