Commit 1cb01107 by 胡悦

xiugai

1 parent 0a758ac6
......@@ -350,6 +350,14 @@ export default {
}
})
}
if (functionIdList.length !== 0) {
functionIdList.forEach(i => {
list.push({
id: i.parentId,
menuId: i.superParentId
})
})
}
console.log(menuIdList, functionIdList, functionValueIdLists, list)
if (this.roleType) {
productList.push({
......@@ -379,6 +387,7 @@ export default {
}
}
})
console.log(this.accountTypes)
return this.accountTypes
}
},
......
......@@ -359,6 +359,14 @@ export default {
}
})
}
if (functionIdList.length !== 0) {
functionIdList.forEach(i => {
list.push({
id: i.parentId,
menuId: i.superParentId
})
})
}
console.log(menuIdList, functionIdList, functionValueIdLists, list)
if (this.roleType) {
productList.push({
......@@ -370,8 +378,8 @@ export default {
} else {
products.push({
productId: itm.productId,
functionIds: functionIdList,
functionValue: list,
functionIds: list,
// functionValue: list,
menuIds: menuIdList
})
}
......@@ -388,6 +396,7 @@ export default {
}
}
})
console.log(this.accountTypes, ' =-=-=-=-==')
return this.accountTypes
}
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!