Merge pull request #688 from dataease/pr@dev@fix_user-form-ui

fix: 创建用户角色列表遮罩组织树
This commit is contained in:
fit2cloud-chenyw 2021-08-23 17:35:48 +08:00 committed by GitHub
commit 5751df76e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,7 @@
</el-form-item>
<el-form-item :label="$t('commons.role')" prop="roleIds">
<el-select
ref="roleSelect"
v-model="form.roleIds"
style="width: 100%"
:disabled="formType !== 'add' && form.isAdmin"
@ -298,6 +299,7 @@ export default {
this.$router.push({ name: 'system-user' })
},
filterData(instanceId) {
this.$refs.roleSelect && this.$refs.roleSelect.blur && this.$refs.roleSelect.blur()
if (!this.depts) {
return
}