已办流程 操作显示情况

master
Harry Yang 2023-01-05 21:49:59 +08:00
parent ce33e67267
commit ecaf84ea78
1 changed files with 7 additions and 19 deletions

View File

@ -131,17 +131,10 @@
v-if="scope.row.status==='audit_passed' || scope.row.status==='audit_not_passed' || scope.row.status==='to_be_audit'"
type="text" @click="showAuditDetail(scope.row, scope)">查看审核流程
</el-button>
<#if isAdmin>
<#--判断是不是管理员本人的-->
<el-button
v-if="(scope.row.status==='draft' || scope.row.status==='audit_not_passed') && scope.row.applyPersonId===${adminId}"
type="text" @click="editProcess(scope.row, scope)">编辑
</el-button>
<#else>
<el-button v-if="scope.row.status==='draft' || scope.row.status==='audit_not_passed'"
type="text" @click="editProcess(scope.row, scope)">编辑
</el-button>
</#if>
<el-button
v-if="(scope.row.status==='draft' || scope.row.status==='audit_not_passed') && scope.row.applyPersonId===${adminId}"
type="text" @click="editProcess(scope.row, scope)">编辑
</el-button>
<#if isAdmin>
<#--判断是不是管理员本人的-->
@ -152,14 +145,9 @@
</el-button>
</#if>
<#if isAdmin>
<#--判断是不是管理员本人的-->
<el-button v-if="scope.row.status==='draft' && scope.row.applyPersonId===${adminId}" type="text"
@click="deleteProcess(scope.row, scope)">删除
</el-button>
<#else>
<el-button v-if="scope.row.status==='draft'" type="text" @click="deleteProcess(scope.row, scope)">删除</el-button>
</#if>
<el-button v-if="scope.row.status==='draft' && scope.row.applyPersonId===${adminId}" type="text"
@click="deleteProcess(scope.row, scope)">删除
</el-button>
</template>
</el-table-column>