|
@@ -89,10 +89,10 @@
|
|
<vxe-column min-width="160" align="center" title="创建时间" field="createDate"></vxe-column>
|
|
<vxe-column min-width="160" align="center" title="创建时间" field="createDate"></vxe-column>
|
|
<vxe-column title="操作" width="150px" fixed="right" align="center">
|
|
<vxe-column title="操作" width="150px" fixed="right" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-button v-if="hasPermission('cwProjectRecords:edit')&&(scope.row.createBy.id === $store.state.user.id||isAdmin||haveProjectIds.includes(scope.row.id))" type="text" size="small" @click="edit(scope.row.id)">修改</el-button>
|
|
|
|
|
|
+ <el-button v-if="hasPermission('cwProjectRecords:edit')&&scope.row.reportReview !== '1'&&(scope.row.createBy.id === $store.state.user.id||isAdmin||haveProjectIds.includes(scope.row.id))" type="text" size="small" @click="edit(scope.row.id)">修改</el-button>
|
|
<!-- <el-button v-else-if="hasPermission('cwProjectRecords:edit')&&isAdmin" type="text" size="small" @click="edit(scope.row.id)">修改</el-button>-->
|
|
<!-- <el-button v-else-if="hasPermission('cwProjectRecords:edit')&&isAdmin" type="text" size="small" @click="edit(scope.row.id)">修改</el-button>-->
|
|
<!-- <el-button v-if="hasPermission('cwProjectRecords:edit')&&scope.row.createBy.id === $store.state.user.id&&scope.row.status==='2'" type="text" size="small" @click="reback(scope.row)">撤回</el-button>-->
|
|
<!-- <el-button v-if="hasPermission('cwProjectRecords:edit')&&scope.row.createBy.id === $store.state.user.id&&scope.row.status==='2'" type="text" size="small" @click="reback(scope.row)">撤回</el-button>-->
|
|
- <el-button v-if="hasPermission('cwProjectRecords:del')&&(scope.row.createBy.id === $store.state.user.id||isAdmin||haveProjectIds.includes(scope.row.id))" type="text" size="small" @click="del(scope.row.id)">删除</el-button>
|
|
|
|
|
|
+ <el-button v-if="hasPermission('cwProjectRecords:del')&&scope.row.reportReview !== '1'&&(scope.row.createBy.id === $store.state.user.id||isAdmin||haveProjectIds.includes(scope.row.id))" type="text" size="small" @click="del(scope.row.id)">删除</el-button>
|
|
<!-- <el-button v-else-if="hasPermission('cwProjectRecords:del')&&isAdmin&&(scope.row.status==='1'||scope.row.status==='3' ||scope.row.status==='5')" type="text" size="small" @click="del(scope.row.id)">删除</el-button>-->
|
|
<!-- <el-button v-else-if="hasPermission('cwProjectRecords:del')&&isAdmin&&(scope.row.status==='1'||scope.row.status==='3' ||scope.row.status==='5')" type="text" size="small" @click="del(scope.row.id)">删除</el-button>-->
|
|
</template>
|
|
</template>
|
|
</vxe-column>
|
|
</vxe-column>
|