| | |
| | | >审核</el-button |
| | | > |
| | | </template> |
| | | |
| | | <template |
| | | <template |
| | | v-if=" |
| | | (userInfo.user_id == row.create_user || hasRecallPaddingBtnPermission()) && |
| | | row.status == 1 |
| | | " |
| | | > |
| | | <!--待审核状态--> |
| | | <el-button type="text" icon="el-icon-warning" @click="orderLogRecall(row.id)" |
| | | <el-button type="text" icon="el-icon-warning" @click="orderLogRecall(row.id)" |
| | | >撤回</el-button |
| | | > |
| | | </template> |
| | |
| | | hasRecallPaddingBtnPermission() { |
| | | // undefined 或 false 都返回 false,只有 true 返回 true |
| | | // console.log('权限检查:', this.permission) |
| | | // 智飞工单撤回 |
| | | return this.permission && this.permission.order_log_recall === true; |
| | | }, |
| | | //驳回按钮权限 |