|
@@ -117,12 +117,12 @@
|
|
|
|
|
|
<vxe-column title="操作" width="200px" fixed="right" align="center">
|
|
|
<template #default="scope">
|
|
|
- <div v-if="hasPermission('register:edit')">
|
|
|
- <el-button v-if="
|
|
|
- scope.row.type === '5' || scope.row.type === '4' || scope.row.type === '3'" text type="primary" @click="edit(scope.row.id)">修改</el-button>
|
|
|
- <el-button v-if="
|
|
|
- scope.row.type === '5' || scope.row.type === '4' || scope.row.type === '3'" text type="primary" @click="del(scope.row.id)">删除</el-button>
|
|
|
- </div>
|
|
|
+<!-- <div v-if="hasPermission('register:edit')">-->
|
|
|
+ <el-button v-if="hasPermission('register:edit') &&(
|
|
|
+ scope.row.type === '5' || scope.row.type === '4' || scope.row.type === '3')" text type="primary" @click="edit(scope.row.id)">修改</el-button>
|
|
|
+ <el-button v-if="hasPermission('register:del') && (
|
|
|
+ scope.row.type === '5' || scope.row.type === '4' || scope.row.type === '3')" text type="primary" @click="del(scope.row.id)">删除</el-button>
|
|
|
+<!-- </div>-->
|
|
|
<!-- <el-button v-if="hasPermission('reimburseRegister:edit') && scope.row.createById === $store.state.user.id && (scope.row.type === '1' || scope.row.type === '3' )" text type="primary" @click="editForm(scope.row)">修改</el-button>-->
|
|
|
<!-- <el-button v-if="hasPermission('reimburseRegister:edit') && scope.row.createById === $store.state.user.id && (scope.row.type === '2')" text type="primary" @click="reback(scope.row)">撤回</el-button>-->
|
|
|
</template>
|