1
continuous-integration/drone/push Build is passing Details

uat_us^2
wangxiaoshuang 2026-08-13 17:09:45 +08:00
parent 3b69f5de32
commit 31c268450a
1 changed files with 5 additions and 1 deletions

View File

@ -57,7 +57,11 @@ export default {
},
computed: {
isAudit() {
return (this.hasPermi(['role:spm', 'role:cpm', 'role:apm']) && this.activeStatus === 1) || (this.hasPermi(['role:pm']) && this.activeStatus === 2)
if (this.isSPMJoin) {
return (this.hasPermi(['role:spm', 'role:cpm', 'role:apm']) && this.activeStatus === 1) || (this.hasPermi(['role:pm']) && this.activeStatus === 2)
} else {
return this.hasPermi(['role:pm']) && this.activeStatus === 1
}
}
},
mounted() {