| | |
| | | <template> |
| | | <main> |
| | | <div class="mainContent"> |
| | | <div class="aside"> |
| | | <department-aside /> |
| | | </div> |
| | | <div class="grid-content"> |
| | | <!-- 数据展示 --> |
| | | <el-table ref="multipleTable" |
| | | :header-cell-style="{background:'#06122c','font-size':'12px',color:'#4b9bb7','font-weight':'650','line-height':'45px'}" |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="operation" label="操作" min-width="20"> |
| | | <!-- <template slot-scope="scope"> |
| | | <div class="operation"> |
| | | <span @click="handleChangeRole(scope.row,'role')">修改角色</span> |
| | | <span class="line">|</span> |
| | | <span @click="handleFind(scope.row)">查看</span> |
| | | <span class="line">|</span> |
| | | <span @click="handleChangeRole(scope.row,'password')">修改密码</span> |
| | | <span class="line">|</span> |
| | | <span @click="handleDelete(scope.row)">删除</span> |
| | | <span class="line">|</span> |
| | | <span @click="handleChangeRole(scope.row,'depart')">修改部门</span> |
| | | </div> |
| | | </template> --> |
| | | </el-table-column> |
| | | </el-table> |
| | | <!-- 查看页面 --> |
| | |
| | | <!-- tools --> |
| | | <div class="tools"> |
| | | <div class="funs"> |
| | | <div class="funsItem funs-sp"> |
| | | <el-checkbox v-model="all" @change="selectAll()">全选</el-checkbox> |
| | | </div> |
| | | <div class="funsItem funs-sp"> |
| | | <el-checkbox v-model="unsame" @change="disSame(tableData)">反选</el-checkbox> |
| | | </div> |
| | | <div class="funsItem"> |
| | | <el-select v-model="myIdx" placeholder="批量操作" @change="selectChange"> |
| | | <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" |
| | | :disabled="item.disabled"> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | </div> |
| | | <div class="pagination"> |
| | | <el-pagination background :current-page="currentPage" layout="prev, pager, next" :total="totalNum" |
| | | <el-pagination class="pagination" background :current-page="currentPage" layout="prev, pager, next" :total="totalNum" |
| | | :page-size="pageSize" @current-change="changeCurrentPage" @prev-click="handlePrev" |
| | | @next-click="handleNext"> |
| | | </el-pagination> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </main> |
| | | </template> |
| | | <script> |
| | | import helper from '@/utils/mydate' |
| | | import departmentAside from "@/views/operate/fivepack/threepack/components/aside"; |
| | | export default { |
| | | components: { |
| | | |
| | | }, |
| | | components: { departmentAside }, |
| | | data() { |
| | | return { |
| | | tableData: [], |
| | |
| | | } |
| | | </script> |
| | | <style lang="scss" scoped> |
| | | main { |
| | | background-color: #09152f; |
| | | margin-top: 20px; |
| | | padding-bottom: 50px; |
| | | border: 1pox solid #fff; |
| | | .mainContent { |
| | | display: flex; |
| | | justify-content: start; |
| | | flex-wrap: nowrap; |
| | | |
| | | .mainTitle { |
| | | line-height:60px; |
| | | } |
| | | |
| | | .grid-content { |
| | | margin-left: 10px; |
| | | flex: 1; |
| | | .tools { |
| | | display : flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | padding: 0 20px; |
| | | |
| | | .funs { |
| | | display: flex; |
| | | .funs-sp{ |
| | | border: 1px solid #17324c; |
| | | } |
| | | .funsItem { |
| | | line-height: 28px; |
| | | display: flex; |
| | | align-items: center; |
| | | border-radius: 4px; |
| | | font-size: 12px; |
| | | margin-left: 10px; |
| | | |
| | | .el-checkbox { |
| | | width: 80px; |
| | | padding: 0 10px; |
| | | } |
| | | |
| | | .el-select { |
| | | width: 120px; |
| | | } |
| | | |
| | | &::v-deep .el-input__inner { |
| | | border: none; |
| | | background-color: #09152f; |
| | | } |
| | | |
| | | &:hover { |
| | | border: 1px solid #4b9bb7; |
| | | } |
| | | |
| | | &:hover .el-checkbox { |
| | | color: #4b9bb7; |
| | | } |
| | | } |
| | | |
| | | } |
| | | flex-wrap: nowrap; |
| | | |
| | | .pagination { |
| | | margin-top: 50px; |
| | | display: flex; |
| | | line-height: 50px; |
| | | justify-content: center; |
| | | margin-top: 55px; |
| | | } |
| | | |
| | | .el-pagination { |
| | | |
| | | &::v-deep li, |
| | | &::v-deep .btn-prev, |
| | | &::v-deep .btn-next { |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | .el-table { |
| | | color: #4b9bb7; |
| | | font-size: 10px; |
| | | .operation { |
| | | display: flex; |
| | | font-size: 10px; |
| | | .line { |
| | | padding: 0 1px; |
| | | } |
| | | |
| | | span:hover { |
| | | cursor: pointer; |
| | | } |
| | | } |
| | | } |
| | | // &::v-deep .switchStyle .el-switch__label { |
| | | // position: absolute; |
| | | // display: none; |
| | | // color: #fff; |
| | | // } |
| | | |
| | | // &::v-deep .el-switch__core { |
| | | // background-color: rgba(166, 166, 166, 1); |
| | | // } |
| | | |
| | | // &::v-deep .switchStyle .el-switch__label--left { |
| | | // z-index: 9; |
| | | // left: 20px; |
| | | // } |
| | | |
| | | // &::v-deep .switchStyle .el-switch__label--right { |
| | | // z-index: 9; |
| | | // left: 4px; |
| | | // } |
| | | |
| | | // &::v-deep .switchStyle .el-switch__label.is-active { |
| | | // display: block; |
| | | // } |
| | | |
| | | // &::v-deep .switchStyle.el-switch .el-switch__core, |
| | | // &::v-deep .el-switch .el-switch__label { |
| | | // width: 56px !important; |
| | | // } |
| | | } |
| | | </style> |