| | |
| | | <template> |
| | | <basic-container> |
| | | <avue-crud ref="crud" :data="data" :option="option" :page.sync="page" :permission="permissionList" :search.sync="search" |
| | | <avue-crud ref="crud" :data="data" :option="option" :page.sync="page" :permission="permissionList" |
| | | :search.sync="search" |
| | | :table-loading="loading" |
| | | @on-load="getDataList" @row-save="handleSave" @row-del="handleDelete" @row-update="handleEdit" |
| | | @refresh-change="handleRefresh" @size-change="handleSizePage" @current-change="handleCurrentPage" |
| | |
| | | // this.ModifyProperties(this.TreeData, 'text', 'label'); |
| | | // 根据this.TreeData的长度计算延迟时间 |
| | | const delayTime = this.TreeData.length * 1; |
| | | console.log(delayTime) |
| | | setTimeout(() => { |
| | | this.loading = false; |
| | | this.reload = Math.random(); |
| | |
| | | } |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | ::v-deep(.avue-crud .el-select) { |
| | | width: 100px !important; |
| | | } |
| | | ::v-deep{ |
| | | .avue-crud .el-select { |
| | | width: 100px !important; |
| | | } |
| | | } |
| | | </style> |