重报按钮

This commit is contained in:
caoqianming 2021-04-21 21:36:37 +08:00
parent 5cb3cd8e2e
commit 1a62de4abb
1 changed files with 19 additions and 35 deletions

View File

@ -93,17 +93,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-link <el-link
v-if=" v-if="
(scope.row.state == '待报送' || scope.row.state == '待发布') && scope.row.state == '待报送' &&
checkPermission(['record_update'])
"
type="warning"
size="small"
@click="handleRecord({ action: 'update', record: scope.row })"
>编辑</el-link
>
<el-link
v-if="
(scope.row.state == '待报送' || scope.row.state == '待整改') &&
checkPermission(['record_up']) checkPermission(['record_up'])
" "
type="primary" type="primary"
@ -113,12 +103,13 @@
> >
<el-link <el-link
v-if=" v-if="
scope.row.state == '已报送' && checkPermission(['record_confirm']) (scope.row.state == '已报送' || scope.row.state == '待整改') &&
checkPermission(['record_up'])
" "
type="success" type="primary"
size="small" size="small"
@click="handleRecord({ action: 'confirm', record: scope.row })" @click="handleRecord({ action: 'up', record: scope.row })"
>确认</el-link >重报</el-link
> >
<el-link <el-link
v-if=" v-if="
@ -137,13 +128,6 @@
@click="handleRecord({ action: 'view', record: scope.row })" @click="handleRecord({ action: 'view', record: scope.row })"
>查看</el-link >查看</el-link
> >
<el-link
v-if="checkPermission(['record_delete'])"
type="danger"
size="small"
@click="handleRecord({ action: 'delete', record: scope.row })"
>删除</el-link
>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>