diff --git a/src/views/home.vue b/src/views/home.vue index 2d35632..3ca66e0 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -142,6 +142,11 @@ const selectStatusById = () => { if (hasPermission(permissionMapping.area_finance_collection_pending)) { status.push(0); } + + //地区客服收款 + if (hasPermission(permissionMapping.collection_area_customer_service)) { + status.push(2); + } // 地区负责人收款待审核 // else if (hasPermission(permissionMapping.area_manager_collection_pending)) { // status.push(0); @@ -154,17 +159,21 @@ const selectStatusById = () => { status.push(10); } // 地区负责人退款审核 - else if (hasPermission(permissionMapping.audit_area_manager_refund)) { + if (hasPermission(permissionMapping.audit_area_manager_refund)) { status.push(20); } // 总部财务退款审核 - else if (hasPermission(permissionMapping.audit_headquarters_refund)) { + if (hasPermission(permissionMapping.audit_headquarters_refund)) { status.push(30); } // 执行人待处理 - else if (hasPermission(permissionMapping.view_execution_details)) { + if (hasPermission(permissionMapping.view_execution_details)) { status.push(40); } + //地区客服退款审核驳回 + if (hasPermission(permissionMapping.refund_area_customer_service)) { + status.push(12,22,32); + } // 去重并返回结果(单一角色下实际不会有重复) return [...new Set(status)];