|  |  |  | 
|---|
|  |  |  | <template> | 
|---|
|  |  |  | <template> | 
|---|
|  |  |  | <div class="table-layout"> | 
|---|
|  |  |  | <!-- 头部 --> | 
|---|
|  |  |  | <div v-if="withBreadcrumb" class="table-header"> | 
|---|
|  |  |  | <!--    <div v-if="withBreadcrumb" class="table-header"> | 
|---|
|  |  |  | <el-breadcrumb separator="/"> | 
|---|
|  |  |  | <el-breadcrumb-item v-for="path in paths" :key="path">{{path}}</el-breadcrumb-item> | 
|---|
|  |  |  | </el-breadcrumb> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div>--> | 
|---|
|  |  |  | <!-- <div style="height:10px;"></div> --> | 
|---|
|  |  |  | <Profile :roles="roles" :permissions="permissions"> | 
|---|
|  |  |  | <!-- 搜索表单部分 --> | 
|---|
|  |  |  | <div class="table-search-form"> | 
|---|
|  |  |  | 
|---|
|  |  |  | height: 100%; | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | flex-direction: column; | 
|---|
|  |  |  | margin-top: 10px; | 
|---|
|  |  |  | .not-allow-wrap { | 
|---|
|  |  |  | padding-top: 0; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .danger-column{ | 
|---|
|  |  |  | color: red; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | // 头部 | 
|---|
|  |  |  | .table-header { | 
|---|
|  |  |  | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | flex-wrap: wrap; | 
|---|
|  |  |  | padding: 0 16px; | 
|---|
|  |  |  | margin-bottom: 10px; | 
|---|
|  |  |  | .form-wrap { | 
|---|
|  |  |  | padding: 16px 16px 0 16px; | 
|---|
|  |  |  | width: 100%; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | // 列表和分页 | 
|---|
|  |  |  | .table-content { | 
|---|
|  |  |  | margin-top: 10px; | 
|---|
|  |  |  | padding: 0 16px; | 
|---|
|  |  |  | .table-wrap { | 
|---|
|  |  |  | padding: 16px 16px 0 16px; | 
|---|
|  |  |  | padding: 16px 16px 60px 16px; | 
|---|
|  |  |  | background: #fff; | 
|---|
|  |  |  | // 工具栏 | 
|---|
|  |  |  | .toolbar { | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | // 分页 | 
|---|
|  |  |  | .table-pagination { | 
|---|
|  |  |  | padding: 16px 0; | 
|---|
|  |  |  | margin-left: -16px; | 
|---|
|  |  |  | padding: 16px 0px 16px 25px; | 
|---|
|  |  |  | text-align: left; | 
|---|
|  |  |  | display: block; | 
|---|
|  |  |  | z-index: 100; | 
|---|
|  |  |  | width: -webkit-fill-available; | 
|---|
|  |  |  | /* width: 80%; */ | 
|---|
|  |  |  | /* position: fixed; | 
|---|
|  |  |  | bottom: 30px; | 
|---|
|  |  |  | background-color: white; | 
|---|
|  |  |  | margin-right: 50px; */ | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|