| | |
| | | v-for="(custom, idx) in myTable.tools.custom" |
| | | :key="idx" |
| | | site="tools" |
| | | :type="custom.myType" |
| | | :check-permission="custom.checkPermission" |
| | | :name="custom.name" |
| | | @click="custom.click" |
| | |
| | | :sortable="column.sortable" |
| | | :label="column.title" |
| | | :type="column.type" |
| | | :width="column.width" |
| | | :min-width="column.minWidth" |
| | | :min-width="column.width" |
| | | :align="column.align" |
| | | :header-align="column.align" |
| | | > |
| | |
| | | v-if="myTable.operation.show" |
| | | label="操作" |
| | | align="center" |
| | | :width="myTable.operation.width" |
| | | :min-width="myTable.operation.width" |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="scope"> |
| | |
| | | }) |
| | | ) |
| | | this.myTable.loading = false |
| | | // this.$refs[this.myTable.ref].doLayout() |
| | | }).catch(() => { |
| | | this.myTable.loading = false |
| | | }) |
| | |
| | | </script> |
| | | |
| | | <style scoped> |
| | | >>> .el-table__fixed-right { |
| | | height: 100% !important; |
| | | >>> .el-table__header { |
| | | width: 100% !important; |
| | | } |
| | | >>> .el-table__body { |
| | | width: 100% !important; |
| | | } |
| | | |
| | | /*详情表单*/ |
| | |
| | | text-align: center; |
| | | margin: 0 auto; |
| | | } |
| | | |
| | | .table-tool-bar{ |
| | | margin-bottom: 20px; |
| | | } |
| | | </style> |