岗位相关的从前端页面隐藏掉

This commit is contained in:
xiaofajia 2024-12-04 11:08:07 +08:00
parent 9b668e8310
commit 0b1acbe7b1
2 changed files with 16 additions and 16 deletions

View File

@ -146,18 +146,18 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <!-- <el-col :span="12">-->
<el-form-item label="岗位"> <!-- <el-form-item label="岗位">-->
<el-select v-model="form.postIds" multiple placeholder="请选择"> <!-- <el-select v-model="form.postIds" multiple placeholder="请选择">-->
<el-option <!-- <el-option-->
v-for="item in postOptions" <!-- v-for="item in postOptions"-->
:key="item.id" <!-- :key="item.id"-->
:label="item.name" <!-- :label="item.name"-->
:value="item.id" <!-- :value="item.id"-->
></el-option> <!-- ></el-option>-->
</el-select> <!-- </el-select>-->
</el-form-item> <!-- </el-form-item>-->
</el-col> <!-- </el-col>-->
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">

View File

@ -27,10 +27,10 @@
<svg-icon icon-class="tree" />所属部门 <svg-icon icon-class="tree" />所属部门
<div class="pull-right" v-if="user.dept">{{ user.dept.name }}</div> <div class="pull-right" v-if="user.dept">{{ user.dept.name }}</div>
</li> </li>
<li class="list-group-item"> <!-- <li class="list-group-item">-->
<svg-icon icon-class="tree" />所属岗位 <!-- <svg-icon icon-class="tree" />所属岗位-->
<div class="pull-right" v-if="user.posts">{{ user.posts.map(post => post.name).join(',') }}</div> <!-- <div class="pull-right" v-if="user.posts">{{ user.posts.map(post => post.name).join(',') }}</div>-->
</li> <!-- </li>-->
<li class="list-group-item"> <li class="list-group-item">
<svg-icon icon-class="peoples" />所属角色 <svg-icon icon-class="peoples" />所属角色
<div class="pull-right" v-if="user.roles">{{ user.roles.map(role => role.name).join(',') }}</div> <div class="pull-right" v-if="user.roles">{{ user.roles.map(role => role.name).join(',') }}</div>