|
@@ -123,7 +123,11 @@
|
|
|
<template slot-scope="scope">
|
|
|
<el-button type="text" @click="toForm(scope.row)" v-if="$checkBtnRole('edit', $route.meta.roles)">编辑</el-button>
|
|
|
<el-button type="text" @click="toDetail(scope.row)">详情</el-button>
|
|
|
- <el-popconfirm style="margin-left: 10px;" title="确定关闭吗?" @onConfirm="handleClose(scope.row.itemId)" v-if="$checkBtnRole('examine', $route.meta.roles)">
|
|
|
+ <el-popconfirm
|
|
|
+ style="margin-left: 10px;"
|
|
|
+ title="确定关闭吗?"
|
|
|
+ @onConfirm="handleClose(scope.row.itemId)"
|
|
|
+ v-if="$checkBtnRole('examine', $route.meta.roles) && scope.row.status === 1">
|
|
|
<el-button slot="reference" type="text">关闭</el-button>
|
|
|
</el-popconfirm>
|
|
|
</template>
|