重报按钮
This commit is contained in:
parent
5cb3cd8e2e
commit
1a62de4abb
|
@ -92,34 +92,25 @@
|
||||||
<el-table-column align="center" label="操作" fixed="right">
|
<el-table-column align="center" label="操作" fixed="right">
|
||||||
<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'])
|
checkPermission(['record_up'])
|
||||||
"
|
"
|
||||||
type="warning"
|
type="primary"
|
||||||
size="small"
|
size="small"
|
||||||
@click="handleRecord({ action: 'update', record: scope.row })"
|
@click="handleRecord({ action: 'up', record: scope.row })"
|
||||||
>编辑</el-link
|
>报送</el-link
|
||||||
>
|
>
|
||||||
<el-link
|
<el-link
|
||||||
v-if="
|
v-if="
|
||||||
(scope.row.state == '待报送' || scope.row.state == '待整改') &&
|
(scope.row.state == '已报送' || scope.row.state == '待整改') &&
|
||||||
checkPermission(['record_up'])
|
checkPermission(['record_up'])
|
||||||
"
|
"
|
||||||
type="primary"
|
type="primary"
|
||||||
size="small"
|
size="small"
|
||||||
@click="handleRecord({ action: 'up', record: scope.row })"
|
@click="handleRecord({ action: 'up', record: scope.row })"
|
||||||
>报送</el-link
|
>重报</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
|
|
||||||
>
|
|
||||||
<el-link
|
<el-link
|
||||||
v-if="
|
v-if="
|
||||||
scope.row.state == '已报送' &&
|
scope.row.state == '已报送' &&
|
||||||
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue