From 53abbe71cc12744523bc2db27ead4dda4e30e91e Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Thu, 15 May 2025 17:15:55 +0800
Subject: [PATCH] feat:添加空状态
---
src/views/tickets/orderLog.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/tickets/orderLog.vue b/src/views/tickets/orderLog.vue
index 21c2d90..38f11de 100644
--- a/src/views/tickets/orderLog.vue
+++ b/src/views/tickets/orderLog.vue
@@ -176,15 +176,14 @@
>审核</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>
@@ -1249,6 +1248,7 @@
hasRecallPaddingBtnPermission() {
// undefined 或 false 都返回 false,只有 true 返回 true
// console.log('权限检查:', this.permission)
+ // 智飞工单撤回
return this.permission && this.permission.order_log_recall === true;
},
//驳回按钮权限
--
Gitblit v1.9.3