注释角色管理的搜索;更改管理员管理,账号类型的显示判断
| | |
| | | <el-table-column label="账号" prop="account" align="center" min-width="120" /> |
| | | <el-table-column label="账号类型" prop="account" align="center" min-width="120"> |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.type">{{ accountTypeOptions[scope.row.type].name }}</span> |
| | | <span v-if="accountTypeOptions[scope.row.type]">{{ accountTypeOptions[scope.row.type].name }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="角色" prop="roleName" align="center" min-width="120" /> |
| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <!-- 搜索区 ↓↓↓↓↓↓↓↓↓↓ --> |
| | | <el-form v-show="showSearch" ref="searchForm" :inline="true"> |
| | | <!-- <el-form v-show="showSearch" ref="searchForm" :inline="true"> |
| | | <el-form-item label="角色名称"> |
| | | <el-input |
| | | v-model="keyWord" |
| | |
| | | <el-button type="cyan" icon="el-icon-search" size="mini" @click="reGetList">搜索</el-button> |
| | | <el-button icon="el-icon-refresh" size="mini" @click="resetHandle">重置</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-form> --> |
| | | <!-- 搜索区 ↑↑↑↑↑↑↑↑↑↑ --> |
| | | |
| | | <!-- 操作区 ↓↓↓↓↓↓↓↓↓↓ --> |