|
@@ -446,6 +446,7 @@ import { postAction } from '../../../../api/manage'
|
|
for (let i = 0; i < this.tpmTreeData.length; i++) {
|
|
for (let i = 0; i < this.tpmTreeData.length; i++) {
|
|
const element = this.tpmTreeData[i];
|
|
const element = this.tpmTreeData[i];
|
|
element.manage = true
|
|
element.manage = true
|
|
|
|
+ element.view = false
|
|
element.indeterminateManage = false
|
|
element.indeterminateManage = false
|
|
element.indeterminateView = false
|
|
element.indeterminateView = false
|
|
if(element.children && element.children.length > 0){
|
|
if(element.children && element.children.length > 0){
|
|
@@ -456,7 +457,6 @@ import { postAction } from '../../../../api/manage'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- // 当前为管理员
|
|
|
|
this.manageHeader = false
|
|
this.manageHeader = false
|
|
for (let i = 0; i < this.tpmTreeData.length; i++) {
|
|
for (let i = 0; i < this.tpmTreeData.length; i++) {
|
|
const element = this.tpmTreeData[i];
|
|
const element = this.tpmTreeData[i];
|