Commit 01189ec9 by 刘泽奇

123

parent 287e3384
......@@ -347,19 +347,9 @@
this.$message.warning('code参数错误');
return;
}
var company = this.$root.currentCompany;
var scrollTop = document.documentElement.scrollTop || window.pageYOffset;
this.toTop();
if (company && company.companyType == "self") {
this.company = company;
} else {
/*
this.$root.getReq("/web/companyCtl/findById", { cid: 1 }).then(function (d) {
if (d && d.status == 0 && d.data) {
that.company = d.data
}
});
*/
}
},
watch: {
......
......@@ -352,13 +352,7 @@
if (company && company.companyType == "self") {
this.company = company;
} else {
/*
this.$root.getReq("/web/companyCtl/findById", { cid: 1 }).then(function (d) {
if (d && d.status == 0 && d.data) {
that.company = d.data
}
});
*/
}
},
......
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