From 13ee1142623014cd519c64c42b5f2d3b475428e2 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Mon, 13 Oct 2025 17:29:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B04=E4=B8=AA=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E7=9A=84=E6=A0=BC=E5=BC=8F=E5=8C=96=E7=BB=93=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/AgencyCenterView.vue | 16 ++++++++-------- src/views/HistorySalaryView.vue | 5 +++-- src/views/HostCenterView.vue | 8 ++++---- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/src/views/AgencyCenterView.vue b/src/views/AgencyCenterView.vue index 8d2bcdf..4ab3fbc 100644 --- a/src/views/AgencyCenterView.vue +++ b/src/views/AgencyCenterView.vue @@ -388,10 +388,10 @@ const fetchMemberWorkData = async () => { // 格式化状态 const formatStatus = (status) => { const statusMap = { - SETTLED: 'Settled', - UNPAID: 'Pending', - HANG_UP: 'Pending', - PAID: 'Completed', + SETTLED: 'Completed', + UNPAID: 'In Progress', + HANG_UP: 'Out of Account', + PAY_OUT: 'Completed', } return statusMap[status] || status } @@ -529,10 +529,10 @@ const fetchTeamBillData = async () => { // 格式化状态 const formatStatus = (status) => { const statusMap = { - SETTLED: 'Settled', - UNPAID: 'Pending', - HANG_UP: 'Pending', - PAID: 'Completed', + SETTLED: 'Completed', + UNPAID: 'In Progress', + HANG_UP: 'Out of Account', + PAY_OUT: 'Completed', } return statusMap[status] || status } diff --git a/src/views/HistorySalaryView.vue b/src/views/HistorySalaryView.vue index 3490ac0..8ebede0 100644 --- a/src/views/HistorySalaryView.vue +++ b/src/views/HistorySalaryView.vue @@ -417,9 +417,10 @@ const formatSalaryValue = (value) => { // 格式化状态文本(与 TeamBillView 保持一致) const getStatusText = (status) => { const statusMap = { + SETTLED: 'Completed', UNPAID: 'In Progress', - HANG_UP: 'Pending', - PAID: 'Completed', + HANG_UP: 'Out of Account', + PAY_OUT: 'Completed', } return statusMap[status] || status } diff --git a/src/views/HostCenterView.vue b/src/views/HostCenterView.vue index ecb6a0a..6813d2c 100644 --- a/src/views/HostCenterView.vue +++ b/src/views/HostCenterView.vue @@ -240,10 +240,10 @@ const fetchMemberWorkData = async () => { // 格式化状态 const formatStatus = (status) => { const statusMap = { - SETTLED: 'Settled', - UNPAID: 'Pending', - HANG_UP: 'Pending', - PAID: 'Completed', + SETTLED: 'Completed', + UNPAID: 'In Progress', + HANG_UP: 'Out of Account', + PAY_OUT: 'Completed', } return statusMap[status] || status }