[update] 用户管理 部门分配

This commit is contained in:
zhaomeijing
2022-05-25 15:08:47 +08:00
parent 119d8ea093
commit 24bff736da
2 changed files with 145 additions and 40 deletions
+6 -2
View File
@@ -129,8 +129,8 @@
<role-assignment v-if='rolevisible' :selectedRowKeysArray='selectedRowKeys' @rolevisible='rolevisibleMethods'></role-assignment>
</a-modal>
<!-- 部门配置 -->
<a-modal v-model="departmentvisible" :title="$t('RoleAssignment')" width='650px' :footer="null">
<department-allocation v-if='departmentvisible' :selectedRowKeysArray='selectedRowKeys'></department-allocation>
<a-modal v-model="departmentvisible" :title="$t('DepartmentAllocation')" width='650px' :footer="null">
<department-allocation v-if='departmentvisible' :selectedRowKeysArray='selectedRowKeys' @departmentvisible='departmentvisibleMethods'></department-allocation>
</a-modal>
</a-card>
</template>
@@ -286,6 +286,10 @@
this.rolevisible = val
this.selectedRowKeys = []
},
departmentvisibleMethods(val) {
this.departmentvisible = val
this.selectedRowKeys = []
},
getAvatarView: function(avatar) {
return getFileAccessHttpUrl(avatar)
},