diff --git a/src/views/system/receptionRole/addreception.vue b/src/views/system/receptionRole/addreception.vue index 55991eb..7863e83 100644 --- a/src/views/system/receptionRole/addreception.vue +++ b/src/views/system/receptionRole/addreception.vue @@ -148,10 +148,10 @@ export default { } }) }) - // 创客空间处理(此处判断值为4,是后台枚举返回的内容,等级和菜单都会遍历到这个位置) - if (item.enumList[3].value == 4 && res.data.makerSpace == 0) { - item.enumList[3].changed = true; - } + // // 创客空间处理(此处判断值为4,是后台枚举返回的内容,等级和菜单都会遍历到这个位置) + // if (item.enumList[3].value == 4 && res.data.makerSpace == 0) { + // item.enumList[3].changed = true; + // } }) this.typeList[1].enumList.forEach((item) => { res.data.menuValueList.forEach((ctem) => { @@ -195,12 +195,12 @@ export default { obj1.authorityIdList.push(items.value) } }) - // 等级里面的创客空间是否选中传入后台参数 - if (this.typeList[0].enumList[3].changed) { - obj1.makerSpace = 0 - } else { - obj1.makerSpace = 1 - } + // // 等级里面的创客空间是否选中传入后台参数 + // if (this.typeList[0].enumList[3].changed) { + // obj1.makerSpace = 0 + // } else { + // obj1.makerSpace = 1 + // } this.typeList[1].enumList.forEach((item, index) => { if (item.changed) {