Commit 1cb01107 by 胡悦

xiugai

1 parent 0a758ac6
...@@ -350,6 +350,14 @@ export default { ...@@ -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) console.log(menuIdList, functionIdList, functionValueIdLists, list)
if (this.roleType) { if (this.roleType) {
productList.push({ productList.push({
...@@ -379,6 +387,7 @@ export default { ...@@ -379,6 +387,7 @@ export default {
} }
} }
}) })
console.log(this.accountTypes)
return this.accountTypes return this.accountTypes
} }
}, },
......
...@@ -359,6 +359,14 @@ export default { ...@@ -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) console.log(menuIdList, functionIdList, functionValueIdLists, list)
if (this.roleType) { if (this.roleType) {
productList.push({ productList.push({
...@@ -370,8 +378,8 @@ export default { ...@@ -370,8 +378,8 @@ export default {
} else { } else {
products.push({ products.push({
productId: itm.productId, productId: itm.productId,
functionIds: functionIdList, functionIds: list,
functionValue: list, // functionValue: list,
menuIds: menuIdList menuIds: menuIdList
}) })
} }
...@@ -388,6 +396,7 @@ export default { ...@@ -388,6 +396,7 @@ export default {
} }
} }
}) })
console.log(this.accountTypes, ' =-=-=-=-==')
return 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!