Commit fc9280ff by 陈羽

Merge branch 'feature/销售线索4' of http://git.gicdev.com/office/haoban-3 into dev

parents 16f0a36b bbbb4e92
......@@ -168,7 +168,7 @@ export default {
that.brandListData.forEach(ele => {
if (ele.enterpriseId == val) {
that.activeBrand = ele.enterpriseId;
sessionStorage.setItem('activeBrand', val);
sessionStorage.setItem('userInfoBrandId', val);
}
});
that.getLoginData();
......@@ -186,7 +186,7 @@ export default {
if (resData.errorCode == 1) {
if (!!resData.result && !!resData.result.length) {
that.brandListData = resData.result;
that.activeBrand = sessionStorage.getItem('activeBrand') ? sessionStorage.getItem('activeBrand') : !!that.$route.query.brandId ? that.$route.query.brandId : that.brandListData[0].enterpriseId;
that.activeBrand = sessionStorage.getItem('userInfoBrandId') ? sessionStorage.getItem('activeBrand') : !!that.$route.query.brandId ? that.$route.query.brandId : that.brandListData[0].enterpriseId;
that.getLoginData();
that.getTendData();
that.getAreaLoginData();
......
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