|
|
@@ -499,8 +499,11 @@ export default {
|
|
|
this.deptList = [{ deptName: '全部销售部', deptId: '' }].concat(res.data.dept);
|
|
|
}
|
|
|
} else {
|
|
|
- // this.companyList = res.data.company;
|
|
|
- this.companyList = [{ deptName: '全部公司', deptId: '' }].concat(res.data.company);
|
|
|
+ if (this.powerGrade == 5) {
|
|
|
+ this.companyList = [{ deptName: '全部公司', deptId: '' }].concat(res.data.company);
|
|
|
+ } else {
|
|
|
+ this.companyList = res.data.company;
|
|
|
+ }
|
|
|
if (this.$route.query.userCode == undefined) {
|
|
|
this.companyName = res.data.company[0].deptName;
|
|
|
this.companyCode = res.data.company[0].deptId;
|