Commit 73a5fcdd by caoyanzhi

update: 调整请求参数

parent 74ea55c7
......@@ -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