田源
2023-06-15 859a64b36d107b147f44eccd0c0a76471c5e49ea
Source/UBCS-WEB/src/views/MasterData/items.vue
@@ -7,10 +7,10 @@
                       @coderuleoid="coderuleoidList"
                       :pageSize="this.pageSize"
                       :currentPage="this.currentPage"
                       :templateOid="this.templateOid"
                       @tableDataArray="tableDataArrays"
                       @tableHeadDataFateher="tableHeadDatas"
                       @total="totals"
                       @nodeClick="nodeClick"
                        ></master-tree>
        </basic-container>
      </el-aside>
@@ -21,10 +21,11 @@
                 :coderuleoid="this.coderuleoid"
                 @pageSize="pageSizes"
                 @currentPage="currentPages"
                 @templateOid="templateOids"
                 :tableDataArray="tableDataArray"
                 :total="this.total"
                 :tableHeadDataFateher="this.tableHeadDataFateher"
                 :isLoading="isLoading"
                 :templateOid="templateOid"
      ></TableCrud>
      </el-main>
    </el-container>
@@ -49,7 +50,9 @@
      templateOid:"",
      tableDataArray:[],
      tableHeadDataFateher:[],
      total:""
      total:"",
      isLoading: false,
    }
  },
  created() {
@@ -68,9 +71,6 @@
    currentPages(val){
      this.currentPage=val
    },
    templateOids(val){
      this.templateOid=val
    },
    tableDataArrays(val){
      this.tableDataArray=val
    },
@@ -79,7 +79,15 @@
    },
    tableHeadDatas(val){
      this.tableHeadDataFateher=val
    }
    },
    nodeClick(val){
      this.templateOid=val;
      console.log('val',val)
      this.isLoading=true;
      setTimeout(() => {
        this.isLoading = false;
      }, 2000);
}
  }
}
</script>