|
@@ -173,8 +173,9 @@
|
|
|
<vxe-column title="操作" min-width="200px" fixed="right" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<!-- <el-button v-if="hasPermission('cw:workContract:view')" type="text" size="small" @click="view(scope.row.id)">查看</el-button>-->
|
|
|
- <el-button v-if="hasPermission('cw:workContract:edit') && (scope.row.createId === $store.state.user.id || isAdmin) &&
|
|
|
- (scope.row.filedPaperType !== '2' || scope.row.filedPaperType !== '5')" type="text" size="small" @click="edit(scope.row)">修改</el-button>
|
|
|
+ <el-button v-if="hasPermission('cw:workContract:edit') && (scope.row.createId === $store.state.user.id) &&
|
|
|
+ (scope.row.filedPaperType !== '2' && scope.row.filedPaperType !== '5')" type="text" size="small" @click="edit(scope.row)">修改</el-button>
|
|
|
+ <el-button v-else-if="isAdmin" type="text" size="small" @click="edit(scope.row)">修改</el-button>
|
|
|
<!-- <el-button v-if="hasPermission('cw:workContract:edit') && scope.row.status === '5' && isAdmin && (scope.row.filedPaperType === '0' || scope.row.filedPaperType === '1' || scope.row.filedPaperType === '3')" type="text" size="small" @click="editForm(scope.row.id)">修改</el-button>-->
|
|
|
<!--<el-button v-else-if="hasPermission('cw:workContract:edit') && scope.row.status === '5' && scope.row.createId === $store.state.user.id && (scope.row.filedPaperType === '0' || scope.row.filedPaperType === '1' || scope.row.filedPaperType === '3' || commonJS.isEmpty(scope.row.filedPaperType))" type="text" size="small" @click="editForm(scope.row.id)">修改</el-button>-->
|
|
|
<!-- 审核-->
|