维修审核

This commit is contained in:
mashuai 2025-02-28 14:58:33 +08:00
parent c585e3aa0c
commit fdafabe322
1 changed files with 2 additions and 1 deletions

View File

@ -63,7 +63,8 @@
<template slot-scope="scope">
<el-button size="mini" plain icon="el-icon-zoom-in" @click="handleSee(scope.row)" >查看</el-button>
<el-button size="mini" type="primary" plain icon="el-icon-edit" v-if="scope.row.repairStatusCode=='0' ||scope.row.repairStatusCode=='3'" @click="handleUpdate(scope.row)">维修</el-button>
<el-button size="mini" type="danger" icon="el-icon-delete" v-if="scope.row.repairStatusCode=='0'||scope.row.repairStatusCode=='12'" @click="handleReject(scope.row)">驳回</el-button>
<!-- 针对于驳回按钮做特殊校验维修拆分数据不可驳回 -->
<el-button size="mini" type="danger" icon="el-icon-delete" v-if="(scope.row.repairStatusCode =='0' && scope.row.level =='1')||scope.row.repairStatusCode=='12'" @click="handleReject(scope.row)">驳回</el-button>
<el-button size="mini" type="success" @click="handlePrint(scope.row)">维修单</el-button>
</template>
</el-table-column>