| | |
| | | <el-form-item class="rightBtn"> |
| | | <el-col> |
| | | <el-button type="primary" @click="searchRole">查询</el-button> |
| | | <el-button type="primary" plain>重置</el-button> |
| | | <el-button type="primary" @click="clear()" plain>重置</el-button> |
| | | </el-col> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | </div> |
| | | <div class="library-table"> |
| | | <div class="table-box"> |
| | | <el-table :max-height="800" :cell-style="{ textAlign: 'center' }" |
| | | :header-cell-style="{ border: '0px', background: '#f5f7fa', color: '#606266', boxShadow: 'inset 0 1px 0 #ebeef5', textAlign: 'center' }" |
| | | <el-table :max-height="800" :cell-style="{ textAlign: 'left' }" |
| | | :header-cell-style="{ border: '0px', background: '#f5f7fa', color: '#606266', boxShadow: 'inset 0 1px 0 #ebeef5', textAlign: 'left' }" |
| | | :data="roleTable" style="width: 100%"> |
| | | <el-table-column type="index" min-width="8%" /> |
| | | <el-table-column prop="roleName" label="角色名称" min-width="20%" /> |
| | |
| | | searchRole() { |
| | | this.start() |
| | | }, |
| | | clear(){ |
| | | this.searchData.roleName='' |
| | | this.start() |
| | | }, |
| | | clearUPAll() { |
| | | this.updateRole = { |
| | | roleId: null, |