fix 80609
This commit is contained in:
@@ -255,7 +255,7 @@ export default {
|
||||
has: 'inconformityItem:edit',
|
||||
// 创建人可以维护自己创建的数据,管理员可以维护所有数据
|
||||
show: (record) => {
|
||||
return this.isAdmin || record.engineerId === this.userInfo.id
|
||||
return (this.isAdmin || record.engineerId === this.userInfo.id) && record.state !== InconformityItemState.done.value && record.state !== InconformityItemState.closed.value
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user