重报按钮
This commit is contained in:
parent
5cb3cd8e2e
commit
1a62de4abb
|
@ -92,34 +92,25 @@
|
|||
<el-table-column align="center" label="操作" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<el-link
|
||||
v-if="
|
||||
(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'])
|
||||
"
|
||||
type="primary"
|
||||
size="small"
|
||||
@click="handleRecord({ action: 'up', record: scope.row })"
|
||||
>报送</el-link
|
||||
>
|
||||
<el-link
|
||||
v-if="
|
||||
scope.row.state == '已报送' && checkPermission(['record_confirm'])
|
||||
"
|
||||
type="success"
|
||||
size="small"
|
||||
@click="handleRecord({ action: 'confirm', record: scope.row })"
|
||||
>确认</el-link
|
||||
>
|
||||
v-if="
|
||||
scope.row.state == '待报送' &&
|
||||
checkPermission(['record_up'])
|
||||
"
|
||||
type="primary"
|
||||
size="small"
|
||||
@click="handleRecord({ action: 'up', record: scope.row })"
|
||||
>报送</el-link
|
||||
>
|
||||
<el-link
|
||||
v-if="
|
||||
(scope.row.state == '已报送' || scope.row.state == '待整改') &&
|
||||
checkPermission(['record_up'])
|
||||
"
|
||||
type="primary"
|
||||
size="small"
|
||||
@click="handleRecord({ action: 'up', record: scope.row })"
|
||||
>重报</el-link
|
||||
>
|
||||
<el-link
|
||||
v-if="
|
||||
scope.row.state == '已报送' &&
|
||||
|
@ -137,13 +128,6 @@
|
|||
@click="handleRecord({ action: 'view', record: scope.row })"
|
||||
>查看</el-link
|
||||
>
|
||||
<el-link
|
||||
v-if="checkPermission(['record_delete'])"
|
||||
type="danger"
|
||||
size="small"
|
||||
@click="handleRecord({ action: 'delete', record: scope.row })"
|
||||
>删除</el-link
|
||||
>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
|
Loading…
Reference in New Issue