diff --git a/src/components/roleTree/index.vue b/src/components/roleTree/index.vue index d606c8ce8..7434afef8 100644 --- a/src/components/roleTree/index.vue +++ b/src/components/roleTree/index.vue @@ -124,6 +124,26 @@ this.isVisible2 = false }, saveUserInfo () { + if (this.nodeList.length) { + let ids = '' + this.nodeList.forEach(item => { + if (ids.length > 0) { + ids += ',' + ids += item + } else { + ids = item + } + }) + let oldList = [] + this.$http.get('SarInstitution/institution/getNextById', { + ids: ids + }, { + _this: this + }, res => { + oldList = res + }) + } else { + } this.isVisible2 = false this.$emit('checkedRole', this.roleList) },