|
@@ -96,7 +96,7 @@
|
|
|
<!-- 项目创建人、管理员、项目现场负责人可编辑-->
|
|
|
<el-button v-if="hasPermission('jy_project:info:edit')&&
|
|
|
(
|
|
|
- isAdmin ||
|
|
|
+
|
|
|
$store.state.user.id === scope.row.createBy ||
|
|
|
$store.state.user.id === scope.row.projectLeader || haveProjectIds.includes(scope.row.id)
|
|
|
)" text type="primary" size="small" @click="edit(scope.row.id)">编辑</el-button>
|