Commit 76527e82 by 周海峰

no message

parent 4dcb9915
......@@ -242,6 +242,7 @@ export default {
closeEditModal(){//关闭弹层,清空树
this.editModal=false
this.orgList = []
this.selectStaff = []
},
search() {
this.request({
......@@ -255,21 +256,24 @@ export default {
filter: this.roleUser.filter
});
},
async modifyRoleUser() {//保存用户角色信息
let userIds = this.selectStaff.map(item=>item.key).join(",")
let res = await editUserRoleList({
roleId: this.roleId,
userIds: userIds
});
console.log(res)
async modifyRoleUser() {
//保存用户角色信息,并刷新角色用户列表
let userIds = this.selectStaff.map(item=>item.key).join(",")
let res = await editUserRoleList({
roleId: this.roleId,
userIds: userIds
});
this.closeEditModal()
this.$q.notify({
type: "positive",
message: this.$t("Added successfully"),
position: "bottom-right"
});
this.request({
pagination: this.serverPagination,
filter: this.filter
});
}
},
mounted() {
......
......@@ -420,7 +420,7 @@ export default {
pageSize: 1000,
title: "",
});
this.allApplications = response.data.data.list || [];
this.allApplications = response.data.data.list.filter(item => item.wechatUrl !== null && item.wechatUrl !== '') || [];
} catch (error) {
console.error("Failed to load applications:", error);
this.$q.notify({
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论