|
@@ -283,7 +283,7 @@
|
|
|
<el-table-column align="center" label="操作" width="180" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
<el-popconfirm
|
|
|
- v-if=" $checkBtnRole('apply', $route.meta.roles) && scope.row.examineStatus === 'SAVE'"
|
|
|
+ v-if=" !scope.row.automaticStatus &&$checkBtnRole('apply', $route.meta.roles) && scope.row.examineStatus === 'SAVE'"
|
|
|
style="margin-right: 10px;"
|
|
|
title="确定申请吗?"
|
|
|
@onConfirm="handleSubmit(scope.row.id, 'WAIT')"
|
|
@@ -291,7 +291,7 @@
|
|
|
<el-button slot="reference" type="text">申请</el-button>
|
|
|
</el-popconfirm>
|
|
|
<el-popconfirm
|
|
|
- v-if="$checkBtnRole('apply', $route.meta.roles) && scope.row.examineStatus === 'WAIT'"
|
|
|
+ v-if=" !scope.row.automaticStatus &&$checkBtnRole('apply', $route.meta.roles) && scope.row.examineStatus === 'WAIT'"
|
|
|
style="margin-right: 10px;"
|
|
|
title="确定撤回吗?"
|
|
|
@onConfirm="handleSubmit(scope.row.id, 'SAVE')"
|
|
@@ -299,7 +299,7 @@
|
|
|
<el-button slot="reference" type="text">撤回</el-button>
|
|
|
</el-popconfirm>
|
|
|
<el-popconfirm
|
|
|
- v-if="$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus === 'OK'"
|
|
|
+ v-if=" !scope.row.automaticStatus &&$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus === 'OK'"
|
|
|
style="margin-right: 10px;"
|
|
|
title="确定弃审吗?"
|
|
|
@onConfirm="handleAbandon(scope.row.id)"
|
|
@@ -307,21 +307,21 @@
|
|
|
<el-button slot="reference" type="text">弃审</el-button>
|
|
|
</el-popconfirm>
|
|
|
<el-button
|
|
|
- v-if="$checkBtnRole('edit', $route.meta.roles) && (scope.row.examineStatus === 'SAVE' || scope.row.examineStatus === 'FAIL') && scope.row.type === 1"
|
|
|
+ v-if=" !scope.row.automaticStatus &&$checkBtnRole('edit', $route.meta.roles) && (scope.row.examineStatus === 'SAVE' || scope.row.examineStatus === 'FAIL') && scope.row.type === 1"
|
|
|
type="text"
|
|
|
@click="toForm(scope.row)"
|
|
|
>
|
|
|
编辑
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
- v-if="$checkBtnRole('edit', $route.meta.roles) && (scope.row.examineStatus === 'SAVE' || scope.row.examineStatus === 'FAIL') && scope.row.type === 2"
|
|
|
+ v-if=" !scope.row.automaticStatus &&$checkBtnRole('edit', $route.meta.roles) && (scope.row.examineStatus === 'SAVE' || scope.row.examineStatus === 'FAIL') && scope.row.type === 2"
|
|
|
type="text"
|
|
|
@click="toReturnForm(scope.row)"
|
|
|
>
|
|
|
编辑
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
- v-if="$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus === 'WAIT'"
|
|
|
+ v-if=" !scope.row.automaticStatus &&$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus === 'WAIT'"
|
|
|
type="text"
|
|
|
@click="toExamine(scope.row)"
|
|
|
>
|
|
@@ -335,7 +335,7 @@
|
|
|
</el-button>
|
|
|
<!-- !scope.row.automaticStatus && -->
|
|
|
<el-popconfirm
|
|
|
- v-if="scope.row.examineStatus !== 'OK'"
|
|
|
+ v-if=" !scope.row.automaticStatus &&scope.row.examineStatus !== 'OK'"
|
|
|
style="margin-left: 10px;"
|
|
|
title="确定删除吗?"
|
|
|
@onConfirm="handleDelete(scope.row.id)"
|