|
@@ -3,7 +3,7 @@
|
|
|
<div v-show="!isShowDetail && !isShowExamine && !isShowForm && !isShowReturnForm">
|
|
|
<!-- 筛选条件 -->
|
|
|
<div class="screen-container">
|
|
|
- <Collapse :screen-form="screenForm">
|
|
|
+ <Collapse :is-collapse="isCollapse" :screen-form="screenForm">
|
|
|
<template #left_btn>
|
|
|
<el-radio-group v-model="screenForm.status" size="mini" @change="getList()">
|
|
|
<el-radio-button label="">全部</el-radio-button>
|
|
@@ -376,13 +376,9 @@
|
|
|
<template slot-scope="scope">
|
|
|
<el-popconfirm
|
|
|
v-if="
|
|
|
- ($checkBtnRole('apply', $route.meta.roles) &&
|
|
|
- !scope.row.automaticStatus &&
|
|
|
- scope.row.examineStatus === 'SAVE') ||
|
|
|
- ($checkBtnRole('apply', $route.meta.roles) &&
|
|
|
- scope.row.automaticStatus &&
|
|
|
- scope.row.examineStatus === 'SAVE' &&
|
|
|
- scope.row.type == 2)
|
|
|
+ $checkBtnRole('apply', $route.meta.roles) &&
|
|
|
+ !scope.row.automaticStatus &&
|
|
|
+ scope.row.examineStatus === 'SAVE'
|
|
|
"
|
|
|
style="margin-right: 10px"
|
|
|
title="确定申请吗?"
|
|
@@ -392,13 +388,9 @@
|
|
|
</el-popconfirm>
|
|
|
<el-popconfirm
|
|
|
v-if="
|
|
|
- ($checkBtnRole('apply', $route.meta.roles) &&
|
|
|
- !scope.row.automaticStatus &&
|
|
|
- scope.row.examineStatus === 'WAIT') ||
|
|
|
- ($checkBtnRole('apply', $route.meta.roles) &&
|
|
|
- scope.row.automaticStatus &&
|
|
|
- scope.row.examineStatus === 'WAIT' &&
|
|
|
- scope.row.type == 2)
|
|
|
+ $checkBtnRole('apply', $route.meta.roles) &&
|
|
|
+ !scope.row.automaticStatus &&
|
|
|
+ scope.row.examineStatus === 'WAIT'
|
|
|
"
|
|
|
style="margin-right: 10px"
|
|
|
title="确定撤回吗?"
|
|
@@ -408,13 +400,9 @@
|
|
|
</el-popconfirm>
|
|
|
<el-popconfirm
|
|
|
v-if="
|
|
|
- ($checkBtnRole('examine', $route.meta.roles) &&
|
|
|
- !scope.row.automaticStatus &&
|
|
|
- scope.row.examineStatus === 'OK') ||
|
|
|
- ($checkBtnRole('examine', $route.meta.roles) &&
|
|
|
- scope.row.automaticStatus &&
|
|
|
- scope.row.examineStatus === 'OK' &&
|
|
|
- scope.row.type == 2)
|
|
|
+ $checkBtnRole('examine', $route.meta.roles) &&
|
|
|
+ !scope.row.automaticStatus &&
|
|
|
+ scope.row.examineStatus === 'OK'
|
|
|
"
|
|
|
style="margin-right: 10px"
|
|
|
title="确定弃审吗?"
|
|
@@ -436,13 +424,10 @@
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
v-if="
|
|
|
- ($checkBtnRole('del', $route.meta.roles) &&
|
|
|
- !scope.row.automaticStatus &&
|
|
|
- scope.row.examineStatus !== 'OK') ||
|
|
|
- ($checkBtnRole('del', $route.meta.roles) &&
|
|
|
- scope.row.examineStatus !== 'OK' &&
|
|
|
- scope.row.automaticStatus &&
|
|
|
- scope.row.type == 2)
|
|
|
+ $checkBtnRole('edit', $route.meta.roles) &&
|
|
|
+ !scope.row.automaticStatus &&
|
|
|
+ (scope.row.examineStatus === 'SAVE' || scope.row.examineStatus === 'FAIL') &&
|
|
|
+ scope.row.type === 2
|
|
|
"
|
|
|
type="text"
|
|
|
@click="toReturnForm(scope.row)"
|
|
@@ -451,13 +436,9 @@
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
v-if="
|
|
|
- ($checkBtnRole('examine', $route.meta.roles) &&
|
|
|
- !scope.row.automaticStatus &&
|
|
|
- scope.row.examineStatus === 'WAIT') ||
|
|
|
- ($checkBtnRole('examine', $route.meta.roles) &&
|
|
|
- scope.row.examineStatus === 'WAIT' &&
|
|
|
- scope.row.automaticStatus &&
|
|
|
- scope.row.type === 2)
|
|
|
+ $checkBtnRole('examine', $route.meta.roles) &&
|
|
|
+ !scope.row.automaticStatus &&
|
|
|
+ scope.row.examineStatus === 'WAIT'
|
|
|
"
|
|
|
type="text"
|
|
|
@click="toExamine(scope.row)"
|
|
@@ -467,14 +448,9 @@
|
|
|
<el-button type="text" @click="toDetail(scope.row)"> 详情 </el-button>
|
|
|
<el-popconfirm
|
|
|
v-if="
|
|
|
- ($checkBtnRole('del', $route.meta.roles) &&
|
|
|
- !scope.row.automaticStatus &&
|
|
|
- scope.row.type == 2 &&
|
|
|
- (scope.row.examineStatus !== 'OK' || scope.row.examineStatus === 'SAVE')) ||
|
|
|
- ($checkBtnRole('del', $route.meta.roles) &&
|
|
|
- scope.row.automaticStatus &&
|
|
|
- scope.row.type == 2 &&
|
|
|
- (scope.row.examineStatus !== 'OK' || scope.row.examineStatus === 'SAVE'))
|
|
|
+ $checkBtnRole('del', $route.meta.roles) &&
|
|
|
+ !scope.row.automaticStatus &&
|
|
|
+ scope.row.examineStatus !== 'OK'
|
|
|
"
|
|
|
style="margin-left: 10px"
|
|
|
title="确定删除吗?"
|