|
@@ -274,7 +274,7 @@ export default {
|
|
let roles = users.roles.join(',');
|
|
let roles = users.roles.join(',');
|
|
if (roles.indexOf('admin') > -1) {
|
|
if (roles.indexOf('admin') > -1) {
|
|
} else {
|
|
} else {
|
|
- if (users.nickName == '滨江地块监督') {
|
|
|
|
|
|
+ if (['滨江地块监督', '零磁谷'].includes(users.nickName)) {
|
|
this.query.gddw = '';
|
|
this.query.gddw = '';
|
|
} else {
|
|
} else {
|
|
this.query.gddw = users.nickName;
|
|
this.query.gddw = users.nickName;
|
|
@@ -410,7 +410,7 @@ export default {
|
|
let p = {
|
|
let p = {
|
|
...this.query,
|
|
...this.query,
|
|
};
|
|
};
|
|
- if (this.userInfo && this.userInfo['nickName'] == '滨江地块监督') {
|
|
|
|
|
|
+ if (this.userInfo && ['滨江地块监督', '零磁谷'].includes(this.userInfo['nickName'])) {
|
|
p['gddw'] = ''
|
|
p['gddw'] = ''
|
|
}
|
|
}
|
|
const urlApi = `/api/ybz-bj/manageHZ`;
|
|
const urlApi = `/api/ybz-bj/manageHZ`;
|
|
@@ -428,7 +428,7 @@ export default {
|
|
pageIndex: this.config.page.index,
|
|
pageIndex: this.config.page.index,
|
|
pageSize: this.config.page.count,
|
|
pageSize: this.config.page.count,
|
|
};
|
|
};
|
|
- if (this.userInfo && this.userInfo['nickName'] == '滨江地块监督') {
|
|
|
|
|
|
+ if (this.userInfo && ['滨江地块监督', '零磁谷'].includes(this.userInfo['nickName'])) {
|
|
p['gddw'] = ''
|
|
p['gddw'] = ''
|
|
}
|
|
}
|
|
this.$ajax.get(urlApi, p, this, false).then((result) => {
|
|
this.$ajax.get(urlApi, p, this, false).then((result) => {
|
|
@@ -442,7 +442,7 @@ export default {
|
|
let p = {
|
|
let p = {
|
|
...this.query
|
|
...this.query
|
|
};
|
|
};
|
|
- if (this.userInfo && this.userInfo['nickName'] == '滨江地块监督') {
|
|
|
|
|
|
+ if (this.userInfo && ['滨江地块监督', '零磁谷'].includes(this.userInfo['nickName'])) {
|
|
p['gddw'] = ''
|
|
p['gddw'] = ''
|
|
}
|
|
}
|
|
const result = await this.$ajax.get(urlApi, p, this, false);
|
|
const result = await this.$ajax.get(urlApi, p, this, false);
|