已办流程 操作显示情况

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