|
@@ -2661,7 +2661,11 @@ a {
|
|
|
if(this.user.userNameNeedTranslate == 1) {
|
|
|
this.getDepartment()
|
|
|
}
|
|
|
- this.chosenListBackup = this.$refs.chooseMembTree.getCheckedNodes();
|
|
|
+ let that = this
|
|
|
+ setTimeout(()=>{
|
|
|
+ that.chosenListBackup = that.$refs.chooseMembTree.getCheckedNodes();
|
|
|
+ }, 500)
|
|
|
+ console.log(this.chosenListBackup, '备份的数据')
|
|
|
},
|
|
|
onTreeItemChange() {
|
|
|
var chosenList = this.$refs.chooseMembTree.getCheckedNodes();
|
|
@@ -2699,8 +2703,6 @@ a {
|
|
|
chooseParticip() {
|
|
|
this.chooseParticipVisible = false;
|
|
|
var chosenList = this.$refs.chooseMembTree.getCheckedNodes();
|
|
|
- // console.log(chosenList, '数据')
|
|
|
- // return
|
|
|
if(this.searchPersonnelFlg) {
|
|
|
chosenList = [...chosenList, ...this.chosenListBackup]
|
|
|
}
|
|
@@ -2720,6 +2722,10 @@ a {
|
|
|
this.addForm.userNames = this.addForm.userNames.substring(0, this.addForm.userNames.length-1);
|
|
|
// this.addFormUserNames = this.addFormUserNames.substring(0, this.addFormUserNames.length-1);
|
|
|
}
|
|
|
+
|
|
|
+ console.log(this.addForm.userId)
|
|
|
+ console.log(this.addForm.userNames)
|
|
|
+ console.log(this.addFormUserNames)
|
|
|
},
|
|
|
|
|
|
//选中相关领导
|