Commit f9549dd7 by caoyanzhi

接口联调

parent 08cd9682
......@@ -126,7 +126,8 @@ export default {
// this.$set(el.checkedId, item.menuId, []);
// });
// appType 1好办后台2应用后台3好办小程序4小程序应用
prom.push(menuList(Object.assign({}, params, { appType: el.appType })).then(res => {
// roleType 1管理员角色 2门店角色
prom.push(menuList(Object.assign({}, params, { appType: el.appType, roleType: 1 })).then(res => {
el.menuList = res.result || [];
el.menuList.forEach(item => {
this.$set(el.checkedId, item.menuId, []);
......
......@@ -126,7 +126,8 @@ export default {
// this.$set(el.checkedId, item.menuId, []);
// });
// appType 1好办后台2应用后台3好办小程序4小程序应用
prom.push(menuList(Object.assign({}, params, { appType: el.appType })).then(res => {
// roleType 1管理员角色 2门店角色
prom.push(menuList(Object.assign({}, params, { appType: el.appType, roleType: 2 })).then(res => {
el.menuList = this.flatDataToTree(res.result || []);
el.menuList.forEach(item => {
this.$set(el.checkedId, item.menuId, []);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment