|
@@ -150,7 +150,7 @@
|
|
|
<!--归档暂存修改-->
|
|
|
<el-button v-if="hasPermission('jy_work_contract:info:edit') && scope.row.createId === $store.state.user.id && (scope.row.filedType === '0' || scope.row.filedType === '1' ||scope.row.filedType === '3')" text type="primary" @click="updateFiled(scope.row)">修改</el-button>
|
|
|
<!--管理员修改-->
|
|
|
- <el-button v-if="hasPermission('admin:edit') && isJyAdmin" text type="primary" @click="editForm(scope.row)">修改</el-button>
|
|
|
+ <el-button v-if="hasPermission('admin:edit') || isJyAdmin" text type="primary" @click="editForm(scope.row)">修改</el-button>
|
|
|
<!--归档撤回-->
|
|
|
<el-button v-if="hasPermission('jy_work_contract:info:back') && scope.row.filedType === '2' && scope.row.createId === $store.state.user.id" text type="primary" @click="rebackFiled(scope.row)">撤回</el-button>
|
|
|
<!-- 合同归档 审核-->
|
|
@@ -160,7 +160,7 @@
|
|
|
<!-- 删除-->
|
|
|
<el-button v-if="hasPermission('jy_work_contract:info:del')&&(scope.row.filedType === '0' || scope.row.filedType === '1' || scope.row.filedType === '3') &&scope.row.createId === $store.state.user.id" text type="primary" @click="deleteById(scope.row.id)">删除</el-button>
|
|
|
<!-- 管理员删除-->
|
|
|
- <el-button v-if="hasPermission('admin:del') && isJyAdmin" text type="primary" @click="deleteById(scope.row.id)">删除</el-button>
|
|
|
+ <el-button v-if="hasPermission('admin:del') || isJyAdmin" text type="primary" @click="deleteById(scope.row.id)">删除</el-button>
|
|
|
</div>
|
|
|
</template>
|
|
|
</vxe-column>
|