Commit a9ca555b by caoyanzhi

Merge branch 'feature/4月-菜单和权限' into dev

parents 89770dbc 73a5fcdd
......@@ -123,8 +123,11 @@ export default {
*/
getChildData(item) {
const that = this;
const userInfos = JSON.parse(sessionStorage.getItem('userInfos') || '{}');
const wxEnterpriseId = userInfos.wxEnterpriseId;
let para = {
enterpriseId: item.enterpriseId || that.brandId,
wxEnterpriseId,
departmentId: item.departmentId, //
type: item.type //
};
......
......@@ -370,9 +370,11 @@ export default {
*/
getGicData() {
const that = this;
const userInfos = JSON.parse(sessionStorage.getItem('userInfos') || '{}');
const wxEnterpriseId = userInfos.wxEnterpriseId;
let para = {
enterpriseId: that.brandId,
wxEnterpriseRelatedId: that.wxEnterpriseRelatedId
wxEnterpriseId
};
getRequest('/haoban-app-customer-web/gic-department-list', para)
.then(async res => {
......
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