|
@@ -227,9 +227,9 @@
|
|
|
<template #default="scope">
|
|
|
<el-button v-if="hasPermission('jy_project:info:edit')&&(scope.row.status === '1' || scope.row.status === '3')&&scope.row.createBy === $store.state.user.id" text type="primary" @click="registeredPush(scope.row)">修改</el-button>
|
|
|
<!--管理员角色登记完成后可修改-->
|
|
|
- <el-button v-if="hasPermission('admin:edit') && isJyAdmin && scope.row.reviewStatus == '5'" text type="primary" @click="adminEdit(scope.row)">修改</el-button>
|
|
|
+ <el-button v-if="hasPermission('admin:edit') && isJyAdmin && scope.row.reviewStatus === '5'" text type="primary" @click="adminEdit(scope.row)">修改</el-button>
|
|
|
<!--项目负责人修改-->
|
|
|
- <el-button v-if="hasPermission('jy_project:info:edit')&&scope.row.status === '5' && (scope.row.projectLeader === $store.state.user.name || (haveProjectIds.includes(scope.row.id) && scope.row.createBy !== $store.state.user.id)) && scope.row.reviewStatus == '5'" text type="primary" @click="adminEdit(scope.row)">修改</el-button>
|
|
|
+ <el-button v-if="hasPermission('jy_project:info:edit')&&scope.row.status === '5' && scope.row.reviewStatus !== '5' && (scope.row.projectLeader === $store.state.user.name || (haveProjectIds.includes(scope.row.id) && scope.row.createBy !== $store.state.user.id)) " text type="primary" @click="adminEdit(scope.row)">修改</el-button>
|
|
|
<el-button v-if="hasPermission('jy_project:info:edit')&&scope.row.status === '2'&&scope.row.createBy === $store.state.user.id" text type="primary" @click="registeredReback(scope.row)">撤回</el-button>
|
|
|
<!--项目登记 审核-->
|
|
|
<el-button v-if="scope.row.status==='2' && checkIsAudit(scope.row)" text type="primary" @click="examine(scope.row)">登记审核</el-button>
|