|
@@ -406,9 +406,12 @@
|
|
|
<template slot-scope="scope">
|
|
|
<el-popconfirm
|
|
|
v-if="
|
|
|
- !scope.row.automaticStatus &&
|
|
|
- $checkBtnRole('apply', $route.meta.roles) &&
|
|
|
- scope.row.examineStatus === 'SAVE'
|
|
|
+ $checkBtnRole('apply', $route.meta.roles) &&
|
|
|
+ (!scope.row.automaticStatus &&
|
|
|
+ scope.row.examineStatus === 'SAVE' )||
|
|
|
+ (scope.row.automaticStatus &&
|
|
|
+ scope.row.examineStatus === 'SAVE' &&
|
|
|
+ scope.row.type == 2)
|
|
|
"
|
|
|
style="margin-right: 10px"
|
|
|
title="确定申请吗?"
|
|
@@ -418,9 +421,12 @@
|
|
|
</el-popconfirm>
|
|
|
<el-popconfirm
|
|
|
v-if="
|
|
|
- !scope.row.automaticStatus &&
|
|
|
- $checkBtnRole('apply', $route.meta.roles) &&
|
|
|
- scope.row.examineStatus === 'WAIT'
|
|
|
+ $checkBtnRole('apply', $route.meta.roles) &&
|
|
|
+ (!scope.row.automaticStatus &&
|
|
|
+ scope.row.examineStatus === 'WAIT') ||
|
|
|
+ (scope.row.automaticStatus &&
|
|
|
+ scope.row.examineStatus === 'OK' &&
|
|
|
+ scope.row.type == 2)
|
|
|
"
|
|
|
style="margin-right: 10px"
|
|
|
title="确定撤回吗?"
|
|
@@ -430,9 +436,12 @@
|
|
|
</el-popconfirm>
|
|
|
<el-popconfirm
|
|
|
v-if="
|
|
|
- !scope.row.automaticStatus &&
|
|
|
$checkBtnRole('examine', $route.meta.roles) &&
|
|
|
- scope.row.examineStatus === 'OK'
|
|
|
+ (!scope.row.automaticStatus &&
|
|
|
+ scope.row.examineStatus === 'OK') ||
|
|
|
+ (scope.row.automaticStatus &&
|
|
|
+ scope.row.examineStatus === 'OK' &&
|
|
|
+ scope.row.type == 2)
|
|
|
"
|
|
|
style="margin-right: 10px"
|
|
|
title="确定弃审吗?"
|
|
@@ -454,12 +463,11 @@
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
v-if="
|
|
|
- (!scope.row.automaticStatus &&
|
|
|
$checkBtnRole('edit', $route.meta.roles) &&
|
|
|
+ (!scope.row.automaticStatus &&
|
|
|
(scope.row.examineStatus === 'SAVE' || scope.row.examineStatus === 'FAIL') &&
|
|
|
scope.row.type === 2) ||
|
|
|
- ($checkBtnRole('edit', $route.meta.roles) &&
|
|
|
- scope.row.automaticStatus &&
|
|
|
+ (scope.row.automaticStatus &&
|
|
|
scope.row.examineStatus === 'SAVE' &&
|
|
|
scope.row.type == 2)
|
|
|
"
|
|
@@ -470,9 +478,12 @@
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
v-if="
|
|
|
- !scope.row.automaticStatus &&
|
|
|
- $checkBtnRole('examine', $route.meta.roles) &&
|
|
|
- scope.row.examineStatus === 'WAIT'
|
|
|
+ $checkBtnRole('examine', $route.meta.roles) &&
|
|
|
+ (!scope.row.automaticStatus &&
|
|
|
+ scope.row.examineStatus === 'WAIT') ||
|
|
|
+ (scope.row.automaticStatus &&
|
|
|
+ scope.row.examineStatus === 'WAIT' &&
|
|
|
+ scope.row.type == 2)
|
|
|
"
|
|
|
type="text"
|
|
|
@click="toExamine(scope.row)"
|