| | |
| | | @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> |
| | |
| | | :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> |
| | |
| | | templateOid:"", |
| | | tableDataArray:[], |
| | | tableHeadDataFateher:[], |
| | | total:"" |
| | | total:"", |
| | | isLoading: false, |
| | | |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | currentPages(val){ |
| | | this.currentPage=val |
| | | }, |
| | | templateOids(val){ |
| | | this.templateOid=val |
| | | }, |
| | | tableDataArrays(val){ |
| | | this.tableDataArray=val |
| | | }, |
| | |
| | | }, |
| | | tableHeadDatas(val){ |
| | | this.tableHeadDataFateher=val |
| | | } |
| | | }, |
| | | nodeClick(val){ |
| | | this.templateOid=val; |
| | | console.log('val',val) |
| | | this.isLoading=true; |
| | | setTimeout(() => { |
| | | this.isLoading = false; |
| | | }, 2000); |
| | | } |
| | | } |
| | | } |
| | | </script> |