diff --git a/com.actionsoft.apps.coe.pal.cooperation/src/views/manage/ManageList.vue b/com.actionsoft.apps.coe.pal.cooperation/src/views/manage/ManageList.vue index ca0e2e4..15c2de3 100644 --- a/com.actionsoft.apps.coe.pal.cooperation/src/views/manage/ManageList.vue +++ b/com.actionsoft.apps.coe.pal.cooperation/src/views/manage/ManageList.vue @@ -135,10 +135,13 @@ @@ -201,9 +215,10 @@ const footerHeight = '45px'; import awsuiAxios from "../../awsuiAxios"; import MemberAdd from "../member/MemberAdd"; + import PermCopy from "../role/PermCopy"; export default { name: "ManageList", - components: {MemberAdd, RoleManage, RoleUpdate}, + components: {MemberAdd, RoleManage, RoleUpdate,PermCopy}, props: { teamId: { type: String, @@ -251,6 +266,12 @@ visible: false, title: '添加小组成员' }, + memberCopy:{ + visible: false, + title: '权限复制', + userid: '', + teamMembers:[] + }, roleUpdate: { visible: false, userid:'', @@ -403,6 +424,11 @@ this.roleUpdate.userid = userId; this.roleUpdate.visible = true; }, + copyUser(userId){ + this.memberCopy.userid = userId; + this.memberCopy.teamMembers = this.tableData; + this.memberCopy.visible = true; + }, updateUserDone(result) {// 角色修改完成 this.roleUpdate.visible = false; if (result == 'ok') { @@ -448,6 +474,12 @@ this.initData(); } }, + memberCopyDone(result) { + this.memberCopy.visible = false; + if (result == 'ok') { + this.initData(); + } + }, removeUser(userId) { this.removeUserRequest([userId]); }, diff --git a/com.actionsoft.apps.coe.pal.cooperation/src/views/role/PermCopy.vue b/com.actionsoft.apps.coe.pal.cooperation/src/views/role/PermCopy.vue new file mode 100644 index 0000000..68e93db --- /dev/null +++ b/com.actionsoft.apps.coe.pal.cooperation/src/views/role/PermCopy.vue @@ -0,0 +1,172 @@ + + + + + \ No newline at end of file