已办流程 撤回过滤

master
Harry Yang 2023-01-05 21:38:17 +08:00
parent 544652f16d
commit ce33e67267
1 changed files with 9 additions and 1 deletions

View File

@ -142,7 +142,15 @@
type="text" @click="editProcess(scope.row, scope)">编辑
</el-button>
</#if>
<el-button v-if="scope.row.status==='to_be_audit'" type="text" @click="revokeProcess(scope.row, scope)">撤回</el-button>
<#if isAdmin>
<#--判断是不是管理员本人的-->
<el-button v-if="scope.row.status==='to_be_audit'" type="text" @click="revokeProcess(scope.row, scope)">撤回</el-button>
<#else>
<el-button v-if="scope.row.status==='to_be_audit' && scope.row.applyPersonId===${adminId}"
type="text" @click="revokeProcess(scope.row, scope)">撤回
</el-button>
</#if>
<#if isAdmin>
<#--判断是不是管理员本人的-->