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