Browse Source

添加成员 互链角色添加初始值

dev
zhengzhou 4 years ago
parent
commit
497c437657
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/views/manage_company/user/user.vue

+ 3
- 2
src/views/manage_company/user/user.vue View File

@@ -1587,6 +1587,7 @@ export default {
newUser: {
headImgUrl: "",
isDeparture: 0,
linkCompanyRole: 0,
}, // 新增用户对象
newUserDeptArry: [],
multipleSelection: [],
@@ -2220,7 +2221,7 @@ export default {
duration: 2500,
});
var node = this.$refs.tree.getCurrentNode();
this.newUser = { headImgUrl: "", isDeparture: 0 };
this.newUser = { headImgUrl: "", isDeparture: 0, linkCompanyRole: 0 };
// this.listUsers(node.id);
this.getUserList(node || undefined);
if (!ifcontinue) {
@@ -2590,7 +2591,7 @@ export default {
* @return:
*/
cancerSaveUserInfo: function () {
this.newUser = { headImgUrl: "", isDeparture: 0 };
this.newUser = { headImgUrl: "", isDeparture: 0, linkCompanyRole: 0};
this.currentPain = 1;
this.editButtonGroup = 1;
this.eidit = false;


Loading…
Cancel
Save