| | |
| | | <el-form-item label="角色名称"> |
| | | <el-input |
| | | v-model="keyWord" |
| | | placeholder="请输入角色名称" |
| | | placeholder="搜索角色名称" |
| | | clearable |
| | | size="small" |
| | | style="width: 240px" |
| | |
| | | </el-row> |
| | | <!-- 操作区 ↑↑↑↑↑↑↑↑↑↑ --> |
| | | |
| | | <!-- |
| | | table参数设置: |
| | | stripe 是否为斑马纹 |
| | | border 是否带有纵向边框 |
| | | max-height 最大高度 |
| | | --> |
| | | <el-table :data="list" stripe> |
| | | <el-table-column type="index" label="序号" align="center" width="60" /> |
| | | <el-table-column label="角色名称" prop="name" align="center" min-width="120" /> |
| | | <el-table-column label="是否上架" prop="isUp" align="center" min-width="100"> |
| | | <template slot-scope="scope"> |
| | | <!-- 权限判断 :disable="!getAuthValueFN('xxx_edit')" --> |
| | | <!-- 权限判断 :disabled="!getAuthValueFN('xxx_edit')" --> |
| | | <el-switch |
| | | v-model="scope.row.isUp" |
| | | :active-value="1" |