Browse Source

fix:[系统管理] [角色管理] 修正权限验证

fix:[系统管理] [部门管理] 修正权限验证
luojie
memorylkf 3 weeks ago
parent
commit
200db8de8e
2 changed files with 2 additions and 3 deletions
  1. +1
    -2
      src/views/system/dept/index.vue
  2. +1
    -1
      src/views/system/role/index.vue

+ 1
- 2
src/views/system/dept/index.vue View File

@ -99,7 +99,6 @@
size="mini" size="mini"
type="text" type="text"
@click="handleUpdate(scope.row,true)" @click="handleUpdate(scope.row,true)"
v-hasPermi="['system:dept:edit']"
>{{$t('page.system.dept.detail')}}</el-button> >{{$t('page.system.dept.detail')}}</el-button>
</template> </template>
</el-table-column> </el-table-column>
@ -107,7 +106,7 @@
<!-- 添加或修改部门对话框 --> <!-- 添加或修改部门对话框 -->
<el-dialog :title="title" :visible.sync="open" width="600px" append-to-body> <el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-row> <el-row>
<el-col :span="24" v-if="form.parentId !== 0"> <el-col :span="24" v-if="form.parentId !== 0">
<el-form-item :label="$t('page.system.dept.parent')+':'" prop="parentId"> <el-form-item :label="$t('page.system.dept.parent')+':'" prop="parentId">

+ 1
- 1
src/views/system/role/index.vue View File

@ -150,7 +150,7 @@
size="mini" size="mini"
type="text" type="text"
@click="transfer(scope.row)" @click="transfer(scope.row)"
v-hasPermi="['system:role:edit']"
v-hasPermi="['system:role:allocate']"
>{{$t('page.system.role.allocate')}}</el-button> >{{$t('page.system.role.allocate')}}</el-button>
<el-button <el-button

Loading…
Cancel
Save