| | |
| | | pagerCount: 5 |
| | | }, |
| | | option: { |
| | | defaultSort:{ |
| | | prop:'id', |
| | | order:'descending' |
| | | }, |
| | | height: 400, |
| | | selection: true, |
| | | columnBtn: false, |
| | |
| | | this.loading = true |
| | | this.getData() |
| | | this.getParamType() |
| | | this.rowSort() |
| | | // this.rowSort() |
| | | this.rowCalc() |
| | | }, |
| | | beforeUpdate() { |
| | | this.rowSort() |
| | | // this.rowSort() |
| | | this.rowCalc() |
| | | }, |
| | | watch:{ |
| | |
| | | ele.span = this.rowSpan(ele.prop, parent) |
| | | }) |
| | | }, |
| | | rowSort(list) { |
| | | rowSort() { |
| | | let propList = this.spanArr.map(ele => ele.prop) |
| | | this.spanArr.forEach((ele, index) => { |
| | | let key = ele.prop |
| | |
| | | } |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | .el-tag--small{ |
| | | <style> |
| | | .avue-crud__tip{ |
| | | display: none; |
| | | } |
| | | .basic-template-table .el-table__body .el-table__row td:first-child .cell { |