| | |
| | | <span>筛选条件:</span> |
| | | <el-input placeholder="请输入内容" v-model="context"></el-input> |
| | | <div class="findBtn"> |
| | | <el-button type="primary" @click="search">查询</el-button> |
| | | <el-button class="find-Btn" type="primary" @click="search">查询</el-button> |
| | | </div> |
| | | </div> |
| | | <div class="addUser"> |
| | |
| | | <main> |
| | | <div class="mainContent"> |
| | | <!-- 数据展示 --> |
| | | <el-table ref="multipleTable" |
| | | :header-cell-style="{'font-size':'14px','font-weight':'650','line-height':'45px'}" |
| | | <el-table |
| | | border |
| | | stripe |
| | | ref="multipleTable" |
| | | :header-cell-style="{'font-size':'14px','font-weight':'650','line-height':'45px','background':'#F5F5F5',}" |
| | | :data="tableData" style="width: 100%" :row-class-name="tableRowClassName" |
| | | @selection-change="tableChange"> |
| | | <el-table-column type="selection" min-width="5"> |
| | |
| | | </el-table-column> |
| | | <el-table-column prop="status" label="启用" min-width="5"> |
| | | <template slot-scope="scope"> |
| | | <el-switch class="switchStyle" v-model="scope.row.status" |
| | | <el-switch class="switchStyle" v-model="scope.row.status" |
| | | active-color="#3fef9a" inactive-color="#000212" disabled> |
| | | </el-switch> |
| | | </template> |
| | |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-table> |
| | | <!-- 修改页面 --> |
| | | <el-dialog :visible.sync="dialogUpdate" width="45%" :title="updateFlag ? '权限设置' :'查看角色信息'" |
| | | v-if="dialogUpdate" > |
| | |
| | | :value="item.value" :disabled="item.disabled"> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="pagination"> |
| | | <el-pagination background :current-page="currentPage" layout="prev, pager, next" |
| | |
| | | text-align: left; |
| | | margin: 10px 20px; |
| | | // color: #4b9bb7; |
| | | |
| | | border: 1px solid #ccc; |
| | | header { |
| | | // background-color: #09152f; |
| | | // border: 1pox solid #fff; |
| | |
| | | |
| | | .el-button { |
| | | padding: 12px 25px; |
| | | border-radius: 20px; |
| | | |
| | | } |
| | | } |
| | | |
| | | .addBtn { |
| | | background-color: #eb5d01; |
| | | //background-color: #eb5d01; |
| | | border: none; |
| | | border-radius: 20px; |
| | | //border-radius: 20px; |
| | | padding: 12px 30px; |
| | | } |
| | | } |
| | |
| | | padding: 0 20px; |
| | | .funs-sp{ |
| | | // border: 1px solid #17324c; |
| | | border: 1px solid #DCDFE6; |
| | | } |
| | | .funs { |
| | | display: flex; |
| | |
| | | |
| | | } |
| | | } |
| | | </style> |
| | | </style> |